/* RAAF brand polish layer */
:root {
  --brand-black: #050505;
  --brand-ink: #111111;
  --brand-pink: #fd024b;
  --brand-white: #ffffff;
  --brand-soft: #f5f3f1;
}

body {
  background:
    radial-gradient(circle at 80% 10%, rgba(253, 2, 75, .12), transparent 28rem),
    linear-gradient(180deg, #050505, #101010 42%, #070707);
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(#000, transparent 86%);
}

header {
  position: fixed;
  background: rgba(5, 5, 5, .66);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.brand {
  width: auto;
  min-width: 172px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0;
  line-height: 1;
}

.brand-raven {
  width: 44px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(253, 2, 75, .45));
}

.brand span.brand-lockup {
  display: grid;
  gap: 2px;
  margin: 0;
  letter-spacing: 0;
}

.brand-lockup strong {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 34px;
  line-height: .8;
  letter-spacing: .8px;
}

.brand-lockup small {
  font-size: 8px;
  letter-spacing: 3.2px;
  color: var(--brand-pink);
}

.hero {
  min-height: 760px;
  background: var(--brand-black);
}

.hero-companion {
  display: none;
}

.hero-art {
  object-position: 72% center;
  filter: contrast(1.12) saturate(1.08) brightness(.92);
}

.hero-shade {
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, .95) 28%, rgba(5, 5, 5, .35) 67%, rgba(5, 5, 5, .2) 100%),
    linear-gradient(0deg, #050505 0%, transparent 44%),
    radial-gradient(circle at 74% 34%, rgba(253, 2, 75, .1), transparent 34rem);
}

h1 {
  max-width: 760px;
  text-transform: uppercase;
}

h1 > span,
.accent-text,
.create .section-heading h2 span,
.players h2 span,
.coming h2 span,
.contact-title span,
.contact-title i {
  color: var(--brand-pink);
}

.primary {
  background: var(--brand-pink);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 16px 34px rgba(253, 2, 75, .22);
}

.primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 22px 40px rgba(253, 2, 75, .32);
}

.ticker,
.careers {
  background: var(--brand-pink);
  color: #ffffff;
}

.ticker {
  box-shadow: 0 -18px 45px rgba(253, 2, 75, .18), 0 18px 45px rgba(253, 2, 75, .12);
}

.statement,
.about,
.process,
.coming,
.game-card {
  background-color: #080808;
}

.game-card,
.news-card > div,
.process > img,
.about-art img,
.creation-scene {
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
}

.game-card {
  border-color: rgba(253, 2, 75, .2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)),
    #080808;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

.game-card:hover {
  border-color: rgba(253, 2, 75, .75);
  box-shadow: 0 26px 70px rgba(253, 2, 75, .12), 0 26px 80px rgba(0, 0, 0, .38);
}

.game-art:before,
.news-card > div:before,
.creation-art:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(253, 2, 75, .22), transparent 44%);
  mix-blend-mode: screen;
}

.pill {
  border-color: rgba(253, 2, 75, .5);
  background: rgba(5, 5, 5, .62);
  color: #fff;
}

.game-number,
.round-arrow,
.news-card > p span,
.about-copy .text-button,
.values sup,
.values button:hover > span,
.values button[aria-expanded=true] > span {
  color: var(--brand-pink);
}

.create {
  background:
    linear-gradient(135deg, rgba(253, 2, 75, .07), transparent 30%),
    #f4f2ef;
}

.service {
  background: #ffffff;
  color: #101010;
}

.service:hover {
  background: #111111;
  color: #ffffff;
}

.service-icon,
.creation-title span {
  color: var(--brand-pink);
}

.contact {
  background:
    linear-gradient(135deg, rgba(253, 2, 75, .18), transparent 36%),
    #050505;
}

.statement,
.players,
.news,
.philosophy {
  background:
    radial-gradient(circle at 90% 0%, rgba(253, 2, 75, .08), transparent 26rem),
    #050505;
}

.about-art img,
.process > img,
.coming > img,
.news-card > div {
  border: 1px solid rgba(253, 2, 75, .18);
}

.floating-label {
  box-shadow: 0 12px 34px rgba(253, 2, 75, .2);
}

html[data-theme=light] body {
  background:
    radial-gradient(circle at 78% 8%, rgba(253, 2, 75, .10), transparent 24rem),
    linear-gradient(180deg, #ffffff, #f5f3f1 44%, #ffffff);
  color: #111111;
}

html[data-theme=light] header {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(17, 17, 17, .1);
}

html[data-theme=light] .brand-lockup small,
html[data-theme=light] .theme-icon,
html[data-theme=light] .nav-contact span {
  color: var(--brand-pink);
}

html[data-theme=light] .hero {
  background: #ffffff;
}

html[data-theme=light] .hero-art {
  opacity: .72;
  filter: contrast(1.02) saturate(.98);
}

html[data-theme=light] .hero-shade {
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, .92) 36%, rgba(255, 255, 255, .18) 76%),
    linear-gradient(0deg, #ffffff 0%, transparent 34%);
}

html[data-theme=light] .hero-description,
html[data-theme=light] .section-heading p:not(.eyebrow),
html[data-theme=light] .statement p:not(.eyebrow),
html[data-theme=light] .about-copy p:not(.eyebrow),
html[data-theme=light] .game-info p,
html[data-theme=light] #step-description,
html[data-theme=light] .players > div {
  color: #555555;
}

html[data-theme=light] .statement,
html[data-theme=light] .about,
html[data-theme=light] .process,
html[data-theme=light] .coming {
  background: #f6f4f1;
}

html[data-theme=light] .game-card,
html[data-theme=light] .news-card > div {
  background: #ffffff;
  border-color: rgba(17, 17, 17, .12);
  box-shadow: 0 18px 45px rgba(17, 17, 17, .08);
}

html[data-theme=light] .create,
html[data-theme=light] .contact {
  background: #ffffff;
}

html[data-theme=light] .ticker,
html[data-theme=light] .careers {
  background: #111111;
  color: #ffffff;
}

@media (max-width: 650px) {
  .brand {
    min-width: 132px;
    gap: 8px;
  }

  .brand-raven {
    width: 34px;
    height: 42px;
  }

  .brand-lockup strong {
    font-size: 27px;
  }

  .brand-lockup small {
    font-size: 6px;
    letter-spacing: 2.3px;
  }

  .hero-art {
    left: -55%;
    width: 170%;
    object-position: 78% center;
  }

html[data-theme=light] nav {
    background: rgba(255, 255, 255, .96);
  }
}

/* Final production polish */
::selection {
  background: #fd024b;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: none;
}

html[data-theme=light] ::selection {
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.statement {
  grid-template-columns: .8fr 1.45fr minmax(220px, .78fr) .25fr;
  align-items: center;
  overflow: hidden;
}

.statement-orbit {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.statement-orbit:before,
.statement-orbit:after,
.statement-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(253, 2, 75, .32);
}

.statement-orbit:before {
  inset: 5%;
  animation: orbit-spin 22s linear infinite;
}

.statement-orbit:after {
  inset: 20%;
  border-color: rgba(255, 255, 255, .16);
}

.statement-orbit span:nth-of-type(1) {
  width: 116%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, #fd024b, transparent);
}

.statement-orbit span:nth-of-type(2) {
  width: 1px;
  height: 116%;
  border: 0;
  background: linear-gradient(transparent, #fd024b, transparent);
}

.statement-orbit img {
  width: min(64%, 230px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(253, 2, 75, .5));
  animation: float-raven 4.4s ease-in-out infinite;
}

.statement-orbit i {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fd024b;
  color: #fff;
  font: normal 900 10px/1.15 'DM Sans', Arial, sans-serif;
  letter-spacing: 1px;
  text-align: center;
  transform: rotate(10deg);
  box-shadow: 0 18px 40px rgba(253, 2, 75, .3);
}

.what-radar img {
  border-radius: 50%;
  object-fit: cover;
}

.motion-toggle {
  display: none !important;
}

html[data-theme=light] .statement,
html[data-theme=light] .players,
html[data-theme=light] .news,
html[data-theme=light] .philosophy,
html[data-theme=light] .process,
html[data-theme=light] .coming,
html[data-theme=light] .character-world {
  background:
    radial-gradient(circle at 90% 0%, rgba(253, 2, 75, .08), transparent 26rem),
    #111 !important;
  color: #fff;
}

html[data-theme=light] .statement p:not(.eyebrow),
html[data-theme=light] .values p,
html[data-theme=light] #step-description,
html[data-theme=light] .players > div,
html[data-theme=light] .coming p:not(.eyebrow),
html[data-theme=light] .character-copy > p,
html[data-theme=light] .character-spec > p:last-child,
html[data-theme=light] .character-footer {
  color: #cfcfcf !important;
}

html[data-theme=light] .statement h2 span,
html[data-theme=light] .about-copy h2 span {
  color: #fd024b;
}

html[data-theme=light] .steps,
html[data-theme=light] .steps button:nth-child(n+4),
html[data-theme=light] .values button {
  border-color: rgba(255, 255, 255, .18);
}

html[data-theme=light] .coming:after {
  background: linear-gradient(90deg,#111 5%,rgba(17,17,17,.86) 35%,rgba(17,17,17,.18) 85%) !important;
}

html[data-theme=light] .coming > img {
  opacity: .72;
}

html[data-theme=light] .game-art,
html[data-theme=light] .pill,
html[data-theme=light] .news-card .pill {
  color: #fff;
}

@keyframes orbit-spin {
  to { rotate: 360deg; }
}

@keyframes float-raven {
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@media (max-width: 1000px) {
  .statement {
    grid-template-columns: 1fr 2fr;
  }

  .statement-orbit {
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

@media (max-width: 650px) {
  .statement {
    display: block;
  }

  .statement-orbit {
    margin-top: 34px;
  }
}

/* Responsive polish pass: studio / what-we-do / mobile hero */
.hero:after {
  content: "";
  position: absolute;
  inset: auto 4% 74px auto;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(253, 2, 75, .28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(253,2,75,.42) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(253,2,75,.42) 50%, transparent 51%);
  opacity: .75;
  animation: orbit-spin 26s linear infinite;
  pointer-events: none;
}

.studio-strip {
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 14px 5.3%;
  border-block: 1px solid rgba(253, 2, 75, .22);
  background: #fd024b;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  white-space: nowrap;
}

.studio-strip span {
  flex: 1 0 auto;
  text-align: center;
}

.studio-player-card,
.what-mini-console {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(5, 5, 5, .74);
  border: 1px solid rgba(253, 2, 75, .46);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 30px rgba(253,2,75,.16);
  backdrop-filter: blur(12px);
}

.studio-player-card {
  right: 22px;
  top: 22px;
  min-width: 150px;
  transform: rotate(3deg);
}

.studio-player-card b,
.what-mini-console b {
  color: #fd024b;
  font: 900 30px/.85 'Barlow Condensed', Impact, sans-serif;
}

.studio-player-card small,
.what-mini-console span,
.what-mini-console i {
  color: #d7d7d7;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.studio-player-card strong {
  font-size: 10px;
  letter-spacing: 1.4px;
}

.what-mini-console {
  position: relative;
  width: fit-content;
  margin-top: 22px;
  grid-template-columns: auto auto;
  align-items: end;
  transform: rotate(-1.5deg);
}

.what-mini-console i {
  grid-column: 1 / -1;
  color: #fd024b;
  letter-spacing: 6px;
}

.what-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 70px 5.3%;
  background: #050505;
}

.what-showcase article {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(circle at 86% 10%, rgba(253,2,75,.2), transparent 9rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(253, 2, 75, .24);
  transition: transform .24s, border-color .24s;
}

.what-showcase article:after {
  content: "↗";
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: #fd024b;
  font-size: 34px;
}

.what-showcase article:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(253, 2, 75, .72);
}

.what-showcase span {
  color: #fd024b;
  font-size: 12px;
  font-weight: 900;
}

.what-showcase h3 {
  margin: 58px 0 14px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .9;
}

.what-showcase p {
  max-width: 300px;
  color: #bfbfbf;
  font-size: 12px;
  line-height: 1.75;
}

html[data-theme=light] .studio-strip {
  background: #111;
}

html[data-theme=light] .studio-player-card,
html[data-theme=light] .what-mini-console {
  background: rgba(255,255,255,.88);
  color: #111;
  border-color: rgba(253,2,75,.32);
}

html[data-theme=light] .studio-player-card small,
html[data-theme=light] .what-mini-console span {
  color: #555;
}

html[data-theme=light] .what-showcase {
  background: #111;
  color: #fff;
}

@media (max-width: 900px) {
  .hero:after { width: 340px; right: -90px; bottom: 70px; opacity: .46; }
  .what-showcase { grid-template-columns: 1fr; }
  .studio-strip { overflow-x: auto; scrollbar-width: none; }
}

@media (max-width: 650px) {
  .hero {
    height: auto;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 112px;
  }

  .hero-content {
    padding-top: 104px;
    padding-inline: 6%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(54px, 17vw, 70px);
    max-width: 360px;
  }

  .hero-description {
    max-width: 275px;
    color: #f0f0f0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-buttons .button {
    width: min(100%, 250px);
  }

  .hero-art {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56%;
    object-position: 64% center;
    opacity: .72;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, #050505 0%, rgba(5,5,5,.92) 38%, rgba(5,5,5,.2) 70%, #050505 100%),
      linear-gradient(90deg, rgba(5,5,5,.92), rgba(5,5,5,.08));
  }

  .floating-label {
    right: 6%;
    bottom: 88px;
  }

  .hero-bottom {
    left: 6%;
    right: 6%;
    bottom: 24px;
  }

  .hero:after {
    width: 260px;
    right: -95px;
    bottom: 120px;
  }

  html[data-theme=light] .hero-shade {
    background:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,.94) 40%, rgba(255,255,255,.25) 72%, #fff 100%),
      linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.12));
  }

  html[data-theme=light] .hero-description {
    color: #333;
  }

  .studio-hero h1,
  .what-hero h1 {
    font-size: clamp(58px, 20vw, 86px);
    line-height: .82;
  }

  .studio-hero p,
  .what-hero p {
    font-size: 13px;
    line-height: 1.75;
  }

  .studio-visual,
  .what-radar {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .studio-visual {
    aspect-ratio: .9;
  }

  .studio-player-card {
    right: 14px;
    top: 14px;
    min-width: 126px;
    padding: 11px 12px;
  }

  .studio-player-card b,
  .what-mini-console b {
    font-size: 24px;
  }

  .studio-strip {
    padding-block: 12px;
    font-size: 8px;
  }

  .what-mini-console {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .what-showcase {
    padding: 56px 6%;
  }

  .what-showcase article {
    min-height: 220px;
  }
}
