/* astro90 — site styles.
   Studio shell ("zenith"): night ink, chalk, one signal colour. The home page is
   one night running from the zenith down to the horizon: a star field, a
   full-screen world per game, and the star setting at the end.
   Motion rules: scroll-linked motion only moves when the visitor scrolls;
   ambient motion (twinkle, bobbing, the lantern) stops with the motion toggle;
   prefers-reduced-motion switches everything to a still, stacked layout. */

/* ------------------------------------------------------------------ fonts */
/* Self-hosted, OFL. Built by scripts/fonts.py; bump ?v= when a file changes. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2?v=2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2?v=1") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2?v=1") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2?v=1") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2?v=2") format("woff2"); font-weight: 600 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel.woff2?v=2") format("woff2"); font-weight: 500 900; font-style: normal; font-display: swap; }

/* ----------------------------------------------------------------- tokens */
:root {
  --night-950: #070A13;
  --night-900: #0B0E1A;     /* page */
  --night-800: #141A2D;
  --night-700: #1F2640;
  --chalk: #F2EDE3;         /* text */
  --chalk-2: #C9C4CF;       /* secondary text */
  --chalk-3: #9A97A8;       /* readouts, captions */
  --line: rgb(242 237 227 / .13);
  --line-2: rgb(242 237 227 / .24);
  --signal: #FF6B3D;        /* the star */
  --signal-2: #FF956C;

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --edge: max(var(--gutter), (100vw - var(--wrap)) / 2);   /* left edge of .wrap, full-bleed layouts */
  --header-h: 64px;
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-rise: cubic-bezier(.3, .05, .16, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
}
@media (min-width: 980px) { :root { --header-h: 72px; } }

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-900);
  color: var(--chalk);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 640; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--signal-2); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
main { padding-top: var(--header-h); }
.page--home main { padding-top: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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 {
  position: absolute; left: 12px; top: -80px; z-index: 40;
  padding: 10px 16px; border-radius: 8px;
  background: var(--chalk); color: var(--night-900); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--night-900); }

/* A value still waiting for real data, e.g. [SUPPORT EMAIL]. Loud on purpose. */
.ph {
  display: inline-block; padding: 0 .35em; border-radius: 4px;
  font: 500 .8em/1.5 var(--font-mono); letter-spacing: 0;
  color: var(--signal-2); background: rgb(255 107 61 / .12);
  outline: 1px dashed rgb(255 107 61 / .7); outline-offset: -1px;
}

/* Instrument readout: small mono caps. */
.readout {
  display: flex; flex-wrap: wrap; gap: .45em .9em; margin: 0;
  font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--chalk-3);
}

/* ----------------------------------------------------------------- header */
/* Fixed, over a soft night fade. Its star is a scroll gauge: it travels down
   the quadrant from the zenith to the horizon as the page scrolls. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; }
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(11 14 26 / .88) 0%, rgb(11 14 26 / .55) 58%, rgb(11 14 26 / 0) 100%);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-header__home { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; padding: 6px 4px 6px 0; }
.site-header__home:hover { color: var(--chalk); }
.site-header__home .a90-symbol { width: 34px; height: 34px; flex: none; overflow: visible; }
.site-header__home .a90-wordmark { height: 22px; width: auto; }
.site-header .a90-star { rotate: calc(var(--page, 0) * 90deg); }
@media (max-width: 519px) { .site-header__home .a90-wordmark { display: none; } }
.site-nav ul { display: flex; gap: clamp(16px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-block; padding: 12px 0; color: var(--chalk-2);
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.site-nav a:hover { color: var(--chalk); }
.site-nav a[aria-current="page"] { color: var(--chalk); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 8px; }
/* Below 360 px the four links don't fit beside the symbol: tighten the gaps
   and the type, so the fixed header never clips "Support". */
@media (max-width: 359px) {
  .site-header__bar { gap: 8px; }
  .site-nav ul { gap: 10px; }
  .site-nav a { font-size: .875rem; }
}

/* The star-field canvas behind the home sky and every page hero. */
.sky__stars { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }

/* ------------------------------------------------- readout and motion bar */
/* Fixed instrument readout (altitude falls from 90° to 0° down the page) and
   the motion toggle. Both need the script, so they only show with it. */
.hud, .motion-toggle { position: fixed; bottom: 18px; z-index: 25; }
.hud {
  left: var(--edge); display: none; gap: .9em; padding: 8px 14px; border-radius: 999px;
  background: rgb(7 10 19 / .62); border: 1px solid var(--line);
  font: 500 .625rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-3);
}
.hud { opacity: 0; translate: 0 8px; transition: opacity .4s var(--ease-out), translate .4s var(--ease-out); }
.hud.is-on { opacity: 1; translate: 0 0; }
.hud__alt { color: var(--signal-2); }
.hud__scene { color: var(--chalk); }
.motion-toggle {
  right: var(--edge); display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: rgb(7 10 19 / .72); border: 1px solid var(--line-2); color: var(--chalk-2);
  font: 700 .8125rem/1 var(--font-body);
}
.motion-toggle:hover { color: var(--chalk); border-color: rgb(242 237 227 / .5); }
.js .motion-toggle { display: inline-flex; }
@media (min-width: 980px) { .js .hud { display: flex; } }
@media (max-width: 979px) {
  .motion-toggle { width: 44px; height: 44px; padding: 0; bottom: 14px; }
  .motion-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .js .motion-toggle { display: none; } }
.page--home .site-footer { padding-bottom: 88px; }   /* room for the fixed bar */


/* ------------------------------------------------------ shared components */
/* Phone frame. Corner radii are elliptical so they stay round at this ratio. */
.phone {
  padding: 2.3%;
  border-radius: 14% / 6.4%;
  background: linear-gradient(160deg, #2B2E38, #0C0D11 42%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 28px 60px rgb(0 0 0 / .5);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 12% / 5.5%; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font: 700 1rem/1 var(--font-body); text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { transition: translate .2s var(--ease-out); }
.btn:hover .btn__arrow { translate: 3px 0; }
.btn--inkube {
  color: #fff; background: linear-gradient(180deg, #CF3589, #AE2474);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 12px 30px rgb(236 64 150 / .35);
}
.btn--inkube:hover { color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 16px 36px rgb(236 64 150 / .45); }
.btn--lighthouse {
  color: #F8E7C3; background: linear-gradient(180deg, #17575B, #0E4145);
  border: 2px solid #D5AF67;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 12px 28px rgb(0 0 0 / .4);
}
.btn--lighthouse:hover { color: #FFF1D6; }

.store { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.store__soon { display: inline-flex; align-items: center; gap: .6em; margin: 0; font-size: .92rem; font-weight: 700; }
.store__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(255 255 255 / .12); }
.store__badge { display: inline-block; line-height: 0; }
.store__badge img { height: 40px; width: auto; }
.store__badge--play img { height: 60px; margin: -10px; }  /* the official PNG carries its own padding */

/* The Lighthouse title sits on a driftwood sign, like the game's own signage. */
.plank {
  display: inline-block; padding: 13px 26px 12px; border-radius: 10px; color: #F8E7C3;
  background:
    radial-gradient(circle at 11px 50%, #2A1A0D 0 2.4px, #B08855 2.8px 3.8px, transparent 4.2px),
    radial-gradient(circle at calc(100% - 11px) 50%, #2A1A0D 0 2.4px, #B08855 2.8px 3.8px, transparent 4.2px),
    repeating-linear-gradient(177deg, rgb(0 0 0 / .1) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #7C5836 0%, #5E3F24 55%, #4A311C 100%);
  border: 2px solid #2B1B0E;
  box-shadow: inset 0 0 0 1.5px rgb(236 200 125 / .35), inset 0 2px 0 rgb(255 226 180 / .22), 0 14px 30px rgb(0 0 0 / .45);
}
.plank:hover { color: #FFF1D6; }
.lighthouse-title { display: block; height: clamp(26px, 3.4vw, 36px); width: auto; }

/* ------------------------------------------------------------ page parts */
.text-link {
  display: inline-flex; align-items: center; gap: .3em; font-weight: 700; color: var(--chalk);
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.text-link:hover { color: var(--signal-2); }
.muted { color: var(--chalk-3); }
.btn--quiet { color: var(--chalk); background: rgb(255 255 255 / .05); border: 1px solid var(--line-2); }
.btn--quiet:hover { color: var(--chalk); border-color: rgb(242 237 227 / .5); }
.section-lede { max-width: 40em; margin: 0; color: var(--chalk-2); font-size: 1.08rem; }
.card { padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--night-800); border: 1px solid var(--line); }
.card h2, .card h3 { margin: 0 0 10px; font: 640 1.3rem/1.2 var(--font-display); }
.card p { margin: 0 0 10px; color: var(--chalk-2); }
.card p:last-child { margin-bottom: 0; }
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tile { display: flex; flex-direction: column; }
.tile .text-link, .tile .btn { margin-top: auto; align-self: flex-start; }
.tile > p:last-of-type { margin-bottom: 18px; }
.tile__email { font: 640 1.25rem/1.3 var(--font-display); color: var(--chalk); overflow-wrap: anywhere; }
.details { display: grid; margin: 0; }
.details > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.details > div:first-child { border-top: 0; padding-top: 0; }
.details dt { font: 500 .6875rem/1.9 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-3); }
.details dd { margin: 0; color: var(--chalk); overflow-wrap: anywhere; }
@media (max-width: 640px) { .details > div { grid-template-columns: 1fr; } }

/* Studio pages: a strip of night sky with the title on the horizon, and the
   star half set on the horizon line at the right. */
.page-hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--header-h) + clamp(48px, 11vh, 120px)) 0 clamp(40px, 7vh, 72px);
  border-bottom: 1px solid rgb(242 237 227 / .24);
  background:
    radial-gradient(60% 90% at 85% 120%, rgb(255 107 61 / .12), transparent 70%),
    radial-gradient(90% 90% at 12% -20%, rgb(56 72 140 / .32), transparent 70%),
    linear-gradient(180deg, #070A15, var(--night-900));
}
.page-hero .sky__stars { z-index: -1; }
.page-hero__title { margin: 12px 0 0; max-width: 18ch; font: 640 clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.02em; }
.page-hero__lede { margin: 16px 0 0; max-width: 40em; color: var(--chalk-2); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
.page-hero__lede a { color: var(--chalk); }
.page-hero__star {
  position: absolute; right: calc(var(--edge) + 24px); bottom: -12px; width: 24px; height: 24px;
  border-radius: 50%; border: 5px solid var(--signal); background: var(--night-900);
  box-shadow: 0 0 24px rgb(255 107 61 / .5);
}
.page-body { display: grid; gap: clamp(32px, 5vh, 56px); padding: clamp(40px, 7vh, 80px) 0 clamp(64px, 10vh, 120px); }
.page-body > .wrap, .page-body > section.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
/* Grid items keep min-width: auto by default, so one wide child (the press
   screenshot strip) would stretch the column past the screen. */
.page-body > * { min-width: 0; }
.prose { max-width: 68ch; }
.prose h2 { margin: 2.1em 0 .5em; font: 640 clamp(1.35rem, 1.15rem + .8vw, 1.85rem)/1.15 var(--font-display); }
.prose h3 { margin: 1.6em 0 .4em; font: 700 1.1rem/1.3 var(--font-body); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--chalk-2); }
.prose a, .prose strong { color: var(--chalk); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* About */
.page--about .page-body > section h2 { margin: 0 0 12px; font: 640 clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem)/1.1 var(--font-display); }
.about-name { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-name__art {
  margin: 0; padding: clamp(26px, 4vw, 44px) clamp(20px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 80% 10%, rgb(255 107 61 / .12), transparent 60%), linear-gradient(180deg, #080B17, var(--night-800));
}
.about-name__art img { display: block; width: 100%; height: auto; }
.about-name__text p { max-width: 36em; color: var(--chalk-2); }
@media (min-width: 900px) { .about-name { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.about-games__grid { display: grid; gap: 18px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.game-card {
  display: flex; gap: 20px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: 24px;
  color: inherit; text-decoration: none; transition: transform .2s var(--ease-out);
}
.game-card:hover { transform: translateY(-2px); color: inherit; }
.game-card--inkube { background: linear-gradient(150deg, #2B1152, #1A0C30); border: 1px solid rgb(255 255 255 / .1); }
.game-card--lighthouse { background: linear-gradient(150deg, #0F3C42, #0A2027); border: 1px solid rgb(243 207 134 / .28); }
.game-card__icon { flex: none; }
.game-card__icon img { display: block; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 26px rgb(0 0 0 / .4); }
.game-card__body { display: grid; gap: 4px; }
.game-card__name { font-size: 1.5rem; line-height: 1.1; }
.game-card--inkube .game-card__name { font-family: "Nunito", var(--font-body); font-weight: 900; }
.game-card--lighthouse .game-card__name { font-family: "Cinzel", var(--font-display); font-weight: 700; color: #F8E7C3; }
.game-card__tag { font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-3); }
.game-card__text { margin-top: 6px; color: var(--chalk-2); }
.game-card__more { margin-top: 10px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: .3em; }
.ways { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: way; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ways li { counter-increment: way; padding: 22px; border-radius: 20px; background: var(--night-800); border: 1px solid var(--line); }
.ways li::before { content: counter(way, decimal-leading-zero); display: block; margin-bottom: 10px; font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; color: var(--signal-2); }
.ways h3 { margin: 0 0 8px; font: 640 1.2rem/1.2 var(--font-display); }
.ways p { margin: 0; color: var(--chalk-2); }
.about-company p { max-width: 40em; color: var(--chalk-2); }
.about-company__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }

/* Support */
.support__write { max-width: 760px; }
.support__email { font: 640 1.35rem/1.3 var(--font-display); color: var(--chalk); overflow-wrap: anywhere; }
.support__jump { display: flex; flex-wrap: wrap; gap: 10px; }
.support__jump a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; text-decoration: none; }
.support__jump a:hover { border-color: rgb(242 237 227 / .5); color: var(--chalk); }
.support-games { display: grid; gap: clamp(32px, 5vh, 56px) 40px; align-items: start; }
@media (min-width: 1100px) { .support-games { grid-template-columns: 1fr 1fr; } }
.support-game { scroll-margin-top: calc(var(--header-h) + 16px); max-width: 860px; }
.support-game h2 { margin: 0 0 16px; font: 640 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--font-display); }
.support-game--inkube h2 { font-family: "Nunito", var(--font-body); font-weight: 900; }
.support-game--lighthouse h2 { font-family: "Cinzel", var(--font-display); font-weight: 700; color: #F8E7C3; }
.support-game__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; }
.support-data { max-width: 760px; }
.support-data h2 { margin: 0 0 10px; font: 640 1.5rem/1.2 var(--font-display); }
.support-data p { color: var(--chalk-2); }

/* Policies */
.policy__summary { max-width: 68ch; }
.policy__summary ul { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; color: var(--chalk-2); }
.policy__date { font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-3); }
.service { margin: 16px 0; padding: 18px 20px; border-radius: 18px; background: var(--night-800); border: 1px solid var(--line); }
.prose .service h3 { margin: 0 0 10px; color: var(--chalk); }
.service dl { display: grid; gap: 10px; margin: 0; }
.service dl > div { display: grid; gap: 2px; }
.service dt { font: 500 .6875rem/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-3); }
.service dd { margin: 0; color: var(--chalk-2); }
@media (min-width: 720px) { .service dl > div { grid-template-columns: 11em minmax(0, 1fr); gap: 16px; } }
.policy__more { margin-top: 2em; }

/* Press */
.press h2 { margin: 0 0 14px; font: 640 clamp(1.5rem, 1.25rem + 1vw, 2.1rem)/1.15 var(--font-display); }
.press__about { max-width: 68ch; }
.press__blurb { margin: 0 0 18px; }
.press__blurb p { margin: 0; color: var(--chalk-2); }
.press__blurb .readout { margin-bottom: 6px; }
.press-game { padding: clamp(22px, 3vw, 36px); border-radius: 26px; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.press-game--inkube { background: linear-gradient(160deg, #22103A, #150A28); }
.press-game--lighthouse { background: linear-gradient(160deg, #0D2E35, #081A20); }
.press-game__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 22px; }
.press-game__head h2 { margin: 0 0 6px; }
.press-game__head p { margin: 0; max-width: 46em; color: var(--chalk-2); }
.press-game__icon { flex: none; }
.press-game__icon img { display: block; width: 88px; height: 88px; border-radius: 22px; }
.press-game__shots { display: flex; gap: 14px; margin: 26px 0 0; padding: 0 0 6px; list-style: none; overflow-x: auto; }
.press-game__shots li { flex: 0 0 auto; width: min(38vw, 160px); }
.marks { display: grid; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.mark { display: grid; gap: 10px; }
.mark__art { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 22px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.mark__art--dark { background: var(--night-900); }
.mark__art--light { background: var(--chalk); }
.mark__art--icon { background: var(--night-800); }
.mark__art img { display: block; width: 100%; height: auto; max-height: 100%; }
.mark__art--square img { width: 38%; height: auto; }
.mark a { font-weight: 700; font-size: .95rem; }

/* 404 */
.lost {
  position: relative; isolation: isolate; overflow: clip; min-height: 100vh; min-height: 100svh;
  display: grid; align-content: center; padding: calc(var(--header-h) + 40px) 0 22vh;
  background: radial-gradient(90% 70% at 18% -12%, rgb(56 72 140 / .32), transparent 70%), linear-gradient(180deg, #070A15, var(--night-900));
}
.lost .sky__stars { z-index: -1; }
.lost__title { max-width: 16ch; margin: 14px 0 0; font: 640 clamp(2.4rem, 1.5rem + 4.2vw, 5rem)/1.02 var(--font-display); letter-spacing: -.02em; }
.lost__lede { max-width: 34em; color: var(--chalk-2); font-size: 1.15rem; }
.lost__links { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; }
.lost__horizon { position: absolute; left: 0; right: 0; bottom: 16vh; height: 60px; overflow: hidden; border-top: 1px solid rgb(242 237 227 / .3); }
.lost__star {
  position: absolute; right: 22%; top: 8px; width: 34px; height: 34px; border-radius: 50%;
  border: 7px solid var(--signal); box-shadow: 0 0 30px rgb(255 107 61 / .45); opacity: .55;
}

/* Questions: native disclosure widgets (game pages and support). */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 16px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .12); }
.faq__item summary { position: relative; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 1.05rem; line-height: 1.35; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -52%; font: 400 1.6rem/1 var(--font-body); transition: rotate .2s var(--ease-out); }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__a { padding: 0 20px 18px; }
.faq__a p { margin: 0; opacity: .92; }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: clamp(40px, 6vw, 64px) 0 32px; background: var(--night-950); border-top: 1px solid var(--line); color: var(--chalk-2); font-size: .95rem; }
.site-footer__top { display: grid; gap: 36px; }
@media (min-width: 820px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) auto; } }
.site-footer__home { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.site-footer__home:hover { color: var(--chalk); }
.site-footer__home .a90-symbol { width: 30px; height: 30px; }
.site-footer__home .a90-wordmark { height: 20px; width: auto; }
.site-footer__line { margin: 16px 0 10px; font: italic 500 1.1rem/1.3 var(--font-display); color: var(--chalk); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 28px clamp(28px, 5vw, 64px); }
.site-footer__nav h2 { margin: 0 0 12px; font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--chalk-3); }
.site-footer__nav ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-block; padding: 3px 0; color: var(--chalk-2); text-decoration: none; }
.site-footer__nav a:hover { color: var(--chalk); text-decoration: underline; }
@media (max-width: 560px) { .site-footer__nav { grid-template-columns: 1fr 1fr; } }
.legal-line { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--chalk-3); font-size: .875rem; }
.legal-line > span:not(:last-child)::after { content: "·"; margin: 0 .65em; }
.legal-line a { color: var(--chalk-2); }
.site-footer__copy { margin: 10px 0 0; color: var(--chalk-3); font-size: .875rem; }

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
