/* GatorsBytes — site styles
   Palette "Sunset on Ocean Drive": a GTA-style sunset dusk for the hero, teaser and footer,
   Ocean Drive daylight pastels with sticker outlines for the sections, Chefs Arena on a black stage,
   a painted-sky band, pink pill buttons, and one gator-green trace for "out now". */

@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/fonts/dela-gothic-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/fonts/dela-gothic-one-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik Variable";
  src: url("/assets/fonts/rubik-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik Variable";
  src: url("/assets/fonts/rubik-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik Variable";
  src: url("/assets/fonts/rubik-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  /* Palette "Sunset on Ocean Drive" */
  --dusk: #16123a;
  --stage: #1a1423;
  --ink: #1a1423;
  --ink-2: #4a3b57;
  --pearl: #fff6f2;
  --haze: #e6cfe2;
  --pink: #ff4f9a;
  --pink-deep: #c2186b;
  --aqua: #6fe3ea;
  --sunset: #ffb07a;
  --lily: #b8f040;
  --line-light: rgb(26 20 35 / 0.16);
  /* Context colors: dark by default, flipped to ink by .is-light */
  --fg: var(--pearl);
  --fg-2: var(--haze);
  --line: rgb(255 246 242 / 0.16);
  --link: var(--aqua);

  --font-display: "Dela Gothic One", "Arial Black", "Helvetica Neue", sans-serif;
  --font-text: "Rubik Variable", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --band-pad: clamp(76px, 9vw, 136px);
  --radius: 14px;
  --radius-l: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--dusk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.3rem + 2.7vw, 3.5rem); max-width: 18ch; }
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.is-light :focus-visible { outline-color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--aqua); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Bands (section backgrounds) ---------- */
.band { position: relative; padding-block: var(--band-pad); }
.band--black {
  background:
    radial-gradient(80% 60% at 85% 100%, rgb(255 79 154 / 0.2), transparent 65%),
    radial-gradient(60% 45% at 8% 100%, rgb(255 176 122 / 0.14), transparent 70%),
    var(--stage);
  color: var(--fg);
}
/* Daylight bands flip the context colors to ink */
.is-light { --fg: var(--ink); --fg-2: var(--ink-2); --line: var(--line-light); --link: var(--pink-deep); color: var(--ink); }
.band--pink { --band-top: #ffe3d6; --band-mid: #ffdcde; background: linear-gradient(180deg, #ffe3d6 0%, #ffd6e6 100%); }
.band--aqua { --band-top: #d3f3f1; --band-mid: #d1ecf6; background: linear-gradient(180deg, #d3f3f1 0%, #cfe6fb 100%); }
.band--yellow { --band-top: #fff3cc; --band-mid: #ffebce; background: linear-gradient(180deg, #fff3cc 0%, #ffe4cf 100%); }
.band--sky { --band-top: #a48cdb; --band-mid: #ffa9bc; background: linear-gradient(180deg, #a48cdb 0%, #e59ac9 40%, #ffa9bc 68%, #ffc795 100%); }

/* The gator's back, and Ocean Drive's waves: a scalloped edge on top of each daylight band */
.band--pink::before, .band--aqua::before, .band--yellow::before, .band--sky::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
  pointer-events: none; background: var(--band-top);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7C5 2 15 2 20 7S35 12 40 7V14H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7C5 2 15 2 20 7S35 12 40 7V14H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px;
}

.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; max-width: 52ch; }
.lede { color: var(--fg-2); }
h2 + .lede { margin-top: 1.1rem; }

.link {
  color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
.link:hover { text-decoration-thickness: 3px; }
.band a:not([class]) { color: var(--link); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn--primary { background: var(--pink); color: var(--ink); }
.btn--primary:hover { background: #ff74b0; }
.btn--ghost { border-color: color-mix(in srgb, var(--fg) 42%, transparent); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); }
.is-light .btn--primary { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.is-light .btn--primary:hover { background: #ff74b0; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.is-light .btn--primary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ink { background: var(--ink); color: #fff6f2; }
.btn--ink:hover { background: #322743; }
.btn--ink-ghost { border-color: rgb(26 20 35 / 0.45); color: var(--ink); }
.btn--ink-ghost:hover { border-color: var(--ink); background: rgb(26 20 35 / 0.07); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--fg);
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header[data-state="scrolled"], .site-header[data-menu="open"] {
  background: rgb(26 20 35 / 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand__logo { height: 48px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 26px; }
.site-nav__list a {
  font-weight: 500; text-decoration: none; padding-block: 6px;
  text-decoration-line: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 8px;
  transition: text-decoration-color 0.2s;
}
.site-nav__list a:hover { text-decoration-color: var(--pink); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .site-header__cta { margin-left: auto; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none;
    background: none; border: 2px solid rgb(255 246 242 / 0.35); border-radius: 10px; color: var(--fg); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--dusk); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .site-header[data-menu="open"] .site-nav { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
}
@media (max-width: 479px) {
  .site-header__cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__logo { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  background: var(--dusk); color: var(--fg);
  overflow: hidden;
}
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 30%; }
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 85% 18%, rgb(255 170 120 / 0.28), rgb(255 120 170 / 0.12) 45%, transparent 70%),
    linear-gradient(to top, var(--dusk) 0%, rgb(22 18 58 / 0.86) 24%, rgb(110 60 140 / 0.42) 50%, rgb(255 120 160 / 0.18) 74%, rgb(255 170 140 / 0.06) 92%),
    linear-gradient(100deg, rgb(22 18 58 / 0.9) 0%, rgb(22 18 58 / 0.58) 36%, rgb(22 18 58 / 0.12) 58%, rgb(22 18 58 / 0) 68%),
    linear-gradient(to bottom, rgb(22 18 58 / 0.5) 0%, rgb(22 18 58 / 0) 20%);
}
.hero__content { padding-bottom: clamp(28px, 4vw, 44px); }
/* Sized to the viewport so the headline always ends before the key art's logo (around 60% across) */
.hero__title { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; max-width: 12em; }
.hero__lede {
  margin-top: 1.2rem; max-width: 54ch;
  font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.28rem); line-height: 1.5;
  color: rgb(255 246 242 / 0.9);
}

/* The shelf: our friends' games and our own games, lined up like a console library */
.shelf {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5.2fr);
  column-gap: clamp(18px, 2.4vw, 32px); align-items: end;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.shelf__group { display: grid; gap: 12px; min-width: 0; }
.shelf__label { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 600; color: var(--fg); }
.shelf__label::after { content: ""; flex: 1; height: 1px; background: rgb(255 246 242 / 0.28); }
.shelf__list { display: grid; gap: clamp(10px, 1.3vw, 18px); align-items: start; }
.shelf__group--own .shelf__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { display: grid; gap: 4px; color: var(--fg); text-decoration: none; border-radius: 12px; }
.tile__art {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px; margin-bottom: 8px;
  box-shadow: 0 0 0 2px var(--fg), 5px 5px 0 var(--pink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.tile:hover .tile__art, .tile:focus-visible .tile__art {
  transform: translate(-2px, -4px);
  box-shadow: 0 0 0 2px var(--fg), 8px 9px 0 var(--pink);
}
.tile:focus-visible { outline: none; }
.tile__name { font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.tile__status { font-size: 0.84rem; color: var(--fg-2); line-height: 1.3; }
.shelf__item--featured .tile__name { font-size: 1.15rem; }
.tile__status--live, .status--live { color: var(--lily); }
.tile__status--live::before, .status--live::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.5em;
  border-radius: 50%; background: var(--lily); box-shadow: 0 0 0 3px rgb(184 240 64 / 0.22);
  vertical-align: 0.06em;
}

@media (max-width: 999px) {
  .shelf {
    display: flex; gap: 22px; width: 100%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 6px var(--gutter) clamp(28px, 4vw, 48px); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf__group { flex: none; }
  .shelf__list, .shelf__group--own .shelf__list { display: flex; gap: 12px; align-items: flex-start; }
  .shelf__item { flex: none; width: clamp(200px, 38vw, 300px); scroll-snap-align: start; }
}
@media (max-width: 599px) {
  .shelf__item { width: 66vw; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lede, .hero__content .actions, .shelf__item, .shelf__label {
    animation: rise 0.7s var(--ease) both;
  }
  .shelf__label { animation-delay: 0.26s; }
  .hero__lede { animation-delay: 0.08s; }
  .hero__content .actions { animation-delay: 0.16s; }
  .shelf__item { animation-duration: 0.6s; animation-delay: calc(0.3s + var(--i, 0) * 0.07s); }
  .shelf__group--own .shelf__item:nth-child(1) { --i: 1; }
  .shelf__group--own .shelf__item:nth-child(2) { --i: 2; }
  .shelf__group--own .shelf__item:nth-child(3) { --i: 3; }
  .shelf__group--own .shelf__item:nth-child(4) { --i: 4; }
  .shelf__group--own .shelf__item:nth-child(5) { --i: 5; }
}
/* Phones: art sits above the headline instead of behind it, so the key art's logo never collides with the text */
@media (max-width: 699px) {
  .hero { display: block; min-height: 0; padding-top: 0; }
  .hero__art { position: relative; inset: auto; z-index: 0; height: 50svh; min-height: 300px; max-height: 460px; }
  .hero__art img { object-position: 76% 28%; }
  .hero__art::after {
    background:
      radial-gradient(80% 70% at 80% 10%, rgb(255 170 120 / 0.25), transparent 70%),
      linear-gradient(to top, var(--dusk) 0%, rgb(22 18 58 / 0.6) 22%, rgb(22 18 58 / 0) 50%),
      linear-gradient(to bottom, rgb(22 18 58 / 0.75) 0%, rgb(22 18 58 / 0) 28%);
  }
  .hero__content { position: relative; margin-top: -44px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Game sections ---------- */
.game__intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.game__intro--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.status { display: flex; align-items: center; font-weight: 600; font-size: 0.95rem; margin-bottom: 1.1rem; }
.is-light .status { color: var(--pink-deep); }
.game__logo img { width: min(100%, 400px); }
.game__title { display: flex; align-items: center; gap: 18px; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
.game__icon { width: clamp(56px, 6vw, 76px); height: auto; border-radius: 22%; box-shadow: 0 10px 24px -12px rgb(26 20 35 / 0.6); flex: none; }
.game__tagline {
  font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.22; margin-block: 1.3rem 1.2rem; max-width: 24ch;
}
.game__meta { font-weight: 600; margin-bottom: 0.9rem; }
.game__copy > p:not([class]) { max-width: 52ch; }
.game__more { margin-top: 1.1rem; font-weight: 500; }
.game__copy > p:not([class]) + p:not([class]) { margin-top: 0.9rem; }
.game__credit { margin-top: 1.1rem; font-weight: 500; }
.game__copy > p:not([class]) { color: var(--fg-2); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 1.2rem; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before {
  content: ""; width: 14px; height: 8px; flex: none;
  border-left: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink);
  transform: rotate(-45deg) translate(1px, -2px);
}

.trailer { position: relative; }
.trailer__link, .trailer iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-l); overflow: hidden; background: #000;
  box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.85), 0 0 0 1px var(--line);
}
.trailer__link { position: relative; color: var(--fg); text-decoration: none; }
.trailer__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.trailer__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink); color: var(--ink);
  box-shadow: 0 0 0 10px rgb(255 79 154 / 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.trailer__play svg { translate: 2px 0; }
.trailer__label {
  position: absolute; left: 16px; bottom: 16px; padding: 0.35em 0.75em; border-radius: 8px;
  background: rgb(22 18 58 / 0.82); font-weight: 600; font-size: 0.92rem;
}
.trailer__link:hover img { transform: scale(1.03); }
.trailer__link:hover .trailer__play, .trailer__link:focus-visible .trailer__play { transform: scale(1.07); box-shadow: 0 0 0 14px rgb(255 79 154 / 0.3); }

.features, .steps, .work__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.features, .steps { margin-top: clamp(64px, 8vw, 112px); }
.feature__img, .step__img, .project__art {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.1rem;
}
.step__img { aspect-ratio: 4 / 3; }
.feature h3, .step h3, .project h3 { margin-bottom: 0.4rem; }
.feature p, .project p { color: var(--fg-2); }
.step p { color: var(--ink-2); }

.steps { counter-reset: step; }
.step { counter-increment: step; }
.step h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.step h3::before {
  content: counter(step); font-family: var(--font-display); font-weight: 400;
  color: var(--pink-deep); font-size: 1.35rem; line-height: 1;
}

.specs { margin-top: clamp(48px, 6vw, 80px); max-width: 56rem; border-bottom: 1px solid var(--line); }
.specs > div {
  display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 4px 24px;
  padding-block: 14px; border-top: 1px solid var(--line);
}
.specs dt { color: var(--fg-2); }
.specs dd { font-weight: 500; }
.specs--light { border-bottom-color: var(--line-light); margin-top: 0; }
.specs--light > div { border-top-color: var(--line-light); }
.specs--light dt { color: var(--ink-2); }

.game__footer {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(48px, 6vw, 80px);
}
.note {
  padding: 22px 24px; border-radius: var(--radius); font-size: 0.98rem;
  background: rgb(255 255 255 / 0.55); color: var(--ink-2); box-shadow: 0 0 0 2px var(--ink);
}
.game__shot img { width: 100%; border-radius: var(--radius-l); box-shadow: 0 30px 60px -36px rgb(26 20 35 / 0.55); }

/* ---------- LegendSmith teaser ---------- */
.teaser { position: relative; isolation: isolate; overflow: hidden; background: var(--dusk); color: var(--fg); }
.teaser__art { position: absolute; inset: 0; z-index: -1; }
.teaser__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.teaser__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(22 18 58 / 0.9) 0%, rgb(22 18 58 / 0.55) 42%, rgb(22 18 58 / 0.1) 100%);
}
.teaser__inner { min-height: clamp(340px, 40vw, 520px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(64px, 8vw, 104px); }
.teaser .status { color: var(--aqua); }
.teaser h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.6rem); max-width: 12ch; }
.teaser__text { margin-top: 1.1rem; max-width: 38ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--fg-2); }

/* Sticker frames: ink on daylight bands, pink on the black stage */
.is-light :is(.step__img, .project__art, .about__art, .contact__art), .is-light .game__shot img {
  box-shadow: 0 0 0 2px var(--ink), 7px 7px 0 var(--ink);
}
.band--black .feature__img { box-shadow: 0 0 0 2px var(--pink), 7px 7px 0 var(--pink); }
.band--black .trailer__link { box-shadow: 0 0 0 2px var(--pink), 9px 9px 0 var(--pink); }

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.about__copy > p:not(.lede) { color: var(--fg-2); margin-top: 1rem; max-width: 60ch; }
.loves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 2.25rem; }
.love { padding-top: 18px; border-top: 3px solid var(--pink-deep); }
.love h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.5rem; }
.love p { color: var(--fg-2); }
.capabilities { margin-top: 2rem; border-bottom: 1px solid var(--line); }
.capabilities li { padding-block: 13px; border-top: 1px solid var(--line); color: var(--fg-2); }
.capabilities strong { color: var(--fg); }
.about__art { width: 100%; border-radius: var(--radius-l); }
.stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(8px, 2vw, 24px);
}
.stat { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 3px solid var(--fg); }
.stat__figure { order: -1; font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.stat dt { font-weight: 600; }
.stat__note { color: var(--fg-2); font-size: 0.98rem; }

/* ---------- Publishing ---------- */
.publishing__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px); align-items: start;
}
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.offer { padding-block: 20px 8px; border-top: 3px solid var(--ink); }
.offer h3 { margin-bottom: 0.35rem; }
.offer p { color: var(--ink-2); }
.callout {
  grid-column: 1 / -1; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--ink); color: #e6cfe2; box-shadow: 4px 4px 0 var(--pink);
}
.callout strong { color: var(--lily); }
.callout strong::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.55em; border-radius: 50%;
  background: var(--lily); box-shadow: 0 0 0 3px rgb(184 240 64 / 0.22); vertical-align: 0.08em;
}

/* ---------- Partners ---------- */
.audiences {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px);
}
.audience { padding-top: 22px; border-top: 1px solid var(--line); }
.audience h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 0.6rem; }
.audience p { color: var(--fg-2); }
.audience ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 6px; }
.audience li { display: flex; gap: 10px; align-items: baseline; }
.audience li::before { content: ""; width: 10px; height: 2px; background: var(--pink-deep); flex: none; transform: translateY(-0.3em); }

.simulation {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center;
  background: #fffaf6; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: 0 0 0 2px var(--ink), 7px 7px 0 var(--ink);
}
.simulation__art { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.simulation__copy { padding: clamp(28px, 4vw, 56px); }
.simulation__copy h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.1; margin-bottom: 0.9rem; }
.simulation__copy p { color: var(--fg-2); }
.simulation__copy p + p { margin-top: 1rem; }

/* ---------- Work ---------- */
.work__head { margin-bottom: clamp(40px, 5vw, 64px); }
.project { display: flex; flex-direction: column; }
.project p + p { margin-top: 0.6rem; }
.tags { font-size: 0.9rem; }
.island {
  margin-top: auto !important; padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.92rem;
}
.island__code { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.copy {
  border: 0; border-radius: 8px; padding: 0.35em 0.8em; cursor: pointer;
  background: var(--ink); color: #fff6f2; font-weight: 600; font-size: 0.85rem;
  transition: background-color 0.2s, color 0.2s;
}
.copy:hover { background: #2e2440; }
.copy[data-copied] { background: var(--pink); color: var(--ink); }

/* ---------- Launch CTA ---------- */
.launch__inner {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px); align-items: end;
}
.launch h2 { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.8rem); line-height: 1; max-width: 11ch; }
.launch__body p { font-size: 1.12rem; max-width: 46ch; }

/* ---------- Process ---------- */
.timeline {
  counter-reset: t; position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px);
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px;
  background: repeating-linear-gradient(to right, var(--ink) 0 8px, transparent 8px 14px); opacity: 0.35;
}
.timeline__step { counter-increment: t; position: relative; padding-top: 70px; }
.timeline__step::before {
  content: counter(t); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff6f2; font-family: var(--font-display); font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--band-mid, #ffdcde);
}
.timeline__step:last-child::before { background: var(--pink-deep); color: #fff; }
.timeline__step h3 { margin-bottom: 0.45rem; }
.timeline__step p { color: var(--ink-2); }

/* ---------- Why ---------- */
.why__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.why__head > p:not(.lede) { margin-top: 1rem; color: var(--fg-2); }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.reason__icon {
  width: 44px; height: 44px; margin-bottom: 14px;
  fill: none; stroke: var(--pink-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.reason h3 { margin-bottom: 0.35rem; }
.reason p { color: var(--fg-2); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.contact__copy > p:not(.lede):not(.fineprint) { color: var(--fg-2); margin-top: 1.5rem; max-width: 58ch; }
.contact__details { margin-top: 2.25rem; border-bottom: 1px solid var(--line); max-width: 40rem; }
.contact__details > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 20px;
  padding-block: 12px; border-top: 1px solid var(--line);
}
.contact__details dt { color: var(--fg-2); }
.contact__details dd { font-weight: 500; overflow-wrap: anywhere; }
.fineprint { margin-top: 1rem; font-size: 0.88rem; color: var(--fg-2); }
.contact__art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-l); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--stage); color: var(--fg-2); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pink), var(--sunset)); }
.site-footer__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding-block: 44px 36px;
}
.site-footer__brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { text-decoration: none; color: var(--fg); }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { grid-column: 1 / -1; font-size: 0.88rem; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Legal pages ---------- */
.page { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: var(--band-pad); }
@media (min-width: 1000px) and (max-height: 820px) {
  .hero__title { font-size: clamp(2.6rem, 4.2vw, 4rem); }
  .hero__lede { margin-top: 0.9rem; }
  .hero__content .actions { margin-top: 1.3rem; }
}

.page h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem); margin-bottom: 1.5rem; }
.page .prose { max-width: 62ch; color: var(--fg-2); }
.page .prose > * + * { margin-top: 1rem; }
.page .prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.page .prose strong, .page .prose a { color: var(--fg); }
.page .back { margin-top: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  .game__intro, .game__intro--flip, .about__grid, .publishing__grid, .work__head,
  .launch__inner, .why__grid, .contact__grid, .game__footer, .simulation {
    grid-template-columns: minmax(0, 1fr);
  }
  .game__intro--flip .game__shot { order: -1; }
  .about__side { max-width: 420px; }
  .contact__art { max-width: 380px; }
  .features, .steps, .work__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
  .simulation__art { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 639px) {
  .features, .steps, .work__list, .offers, .audiences, .reasons, .stats, .timeline, .loves {
    grid-template-columns: minmax(0, 1fr);
  }
  .specs > div, .contact__details > div { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: max(600px, 100svh); }
  .actions .btn { flex: 1 1 auto; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
