@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #0f2140;
  --night-deep: #0a1830;
  --fjord: #1c3a5e;
  --dusk: #2c5179;
  --snow: #eef3f7;
  --frost: #c6d5e2;
  --frost-dim: #8fa6bd;
  --ink: #0f2140;
  --ink-soft: #3d5574;
  --lantern: #ffb547;
  --lantern-deep: #e8912a;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 82rem;
  --radius-s: 6px;
  --radius-m: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--lantern); color: var(--night); }

.sr-only {
  position: absolute; 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: 1rem; top: -4rem; z-index: 50;
  background: var(--lantern); color: var(--night); padding: .6rem 1rem;
  border-radius: var(--radius-s); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type scale (1.25 minor third-ish, display steps larger) ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.1; }
p { margin: 0 0 1em; max-width: 36em; text-wrap: pretty; }
.lede { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); max-width: 32em; }

/* ---------- Buttons ---------- */
.btn {
  background: none; color: inherit;
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 3.25rem; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1.05rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lantern { background: var(--lantern); color: var(--night); }
.btn-lantern:hover { background: #ffc469; }
.btn-ghost { border-color: rgba(238,243,247,.45); color: var(--snow); }
.btn-ghost:hover { border-color: var(--snow); background: rgba(238,243,247,.08); }
.btn-ink { background: var(--night); color: var(--snow); }
.btn-ink:hover { background: var(--fjord); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* App Store button: two-line lockup */
.store {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .6rem 1.25rem .6rem 1rem; min-height: 3.5rem;
  background: #000; color: #fff; border-radius: 12px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .2s var(--ease-out);
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 1.7rem; height: 1.7rem; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: .72rem; opacity: .85; }
.store strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--snow); font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand img { width: 2.4rem; height: 2.4rem; }
.nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--snow); text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--lantern); }
.is-light .brand, .is-light .nav a { color: var(--ink); }
.site-header nav { margin-left: auto; }
.menu-toggle, .menu-extra { display: none; }

/* Mobile: the nav becomes a full-screen panel opened from the menu button */
@media (max-width: 760px) {
  .brand, .menu-toggle { position: relative; z-index: 2; }
  .brand { margin-right: auto; }
  .menu-toggle {
    display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; margin-left: .6rem;
    border-radius: 50%; border: 1px solid rgba(238,243,247,.35); background: rgba(10,24,48,.25); color: var(--snow); cursor: pointer;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .menu-bars, .menu-bars::before { display: block; width: 1.05rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
  .menu-bars { position: relative; transform: translateY(-3px); }
  .menu-bars::before { content: ""; position: absolute; left: 0; top: 6px; }
  .menu-open .menu-bars { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-bars::before { top: 0; transform: rotate(-90deg); }

  .site-header nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem;
    padding: 7rem var(--gutter) calc(3rem + env(safe-area-inset-bottom, 0px));
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='rgba(150,120,255,.13)' d='M0 30C240 0 480 80 720 50S1200-10 1440 40V100C1200 60 960 130 720 100S240 60 0 90Z'/%3E%3Cpath fill='rgba(90,200,230,.2)' d='M0 90C240 60 480 140 720 100S1200 60 1440 100V140C1200 105 960 175 720 140S240 105 0 130Z'/%3E%3Cpath fill='rgba(110,240,200,.45)' d='M0 130C240 105 480 175 720 140S1200 105 1440 140V156C1200 124 960 194 720 160S240 125 0 148Z'/%3E%3C/svg%3E") 0 4.5rem / 100% 12rem no-repeat,
      var(--night-deep);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .menu-open nav { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .site-header .nav { flex-direction: column; gap: .2rem; }
  .site-header .nav a {
    display: inline-block; padding: .2rem 0; border: 0;
    font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em;
    transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s ease;
  }
  .menu-open .nav a { transform: none; opacity: 1; }
  .menu-open .nav li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .nav li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .nav li:nth-child(4) a { transition-delay: .12s; }
  .site-header .nav a:hover { color: var(--lantern); }
  .menu-extra { display: block; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(198,213,226,.2); color: var(--frost); font-size: 1.1rem; }
  .menu-extra a { color: var(--frost); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .site-header nav, .site-header .nav a { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(42rem, 100svh);
  background: #030916;
  color: var(--snow);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: -3; }
/* vignette, plus a scrim so the copy reads over the scene */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,6,16,.45) 0%, transparent 16%),
    linear-gradient(20deg, rgba(2,6,16,.7) 0%, rgba(2,6,16,.25) 38%, transparent 60%);
}
.hero .grain {
  position: absolute; inset: -40px; z-index: -1; pointer-events: none; opacity: .09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  20% { transform: translate(-12px, 8px); } 40% { transform: translate(10px, -14px); }
  60% { transform: translate(-6px, 16px); } 80% { transform: translate(14px, 6px); }
}
.hero .curtain { position: absolute; inset: 0; z-index: 5; background: #02060f; pointer-events: none; opacity: 0; }
.js .hero .curtain { animation: curtain .7s ease-out both; }
@keyframes curtain { from { opacity: 1; } to { opacity: 0; } }

.hero-content {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2.5rem;
  padding-block: 9rem clamp(5rem, 12vh, 8rem);
}
.hero h1 {
  font-size: clamp(2.9rem, 6.8vw, 6.6rem); font-weight: 800; line-height: .93; letter-spacing: -.045em;
  max-width: 12em; margin: 0 0 1.6rem; text-wrap: balance;
}
.hero .lede { color: rgba(226,236,245,.86); max-width: 30em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.js .hero-content [style*="--i"] { animation: rise .9s var(--ease-out) both; animation-delay: calc(.3s + var(--i) * .08s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

.release {
  display: flex; align-items: center; gap: 1rem; max-width: 25rem;
  padding: .85rem 1.3rem .85rem .85rem; border-radius: 18px; text-decoration: none; color: var(--snow);
  background: rgba(12,26,52,.42); border: 1px solid rgba(220,235,250,.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: transform .3s var(--ease-out), border-color .3s, background-color .3s;
}
.release:hover { transform: translateY(-3px); border-color: rgba(255,181,71,.6); background: rgba(12,26,52,.6); }
.release img { width: 4rem; height: 4rem; border-radius: 22%; flex: none; }
.release-text { display: grid; gap: .1rem; line-height: 1.25; font-size: .95rem; color: rgba(226,236,245,.8); }
.release-text strong { font-size: 1.2rem; color: var(--snow); letter-spacing: -.01em; }
.release-tag { justify-self: start; font-size: .78rem; font-weight: 700; color: var(--night); background: var(--lantern); border-radius: 999px; padding: .1rem .55rem; margin-bottom: .25rem; }

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding-top: 8rem; }
  .release { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .grain, .js .hero .curtain, .js .hero-content [style*="--i"] { animation: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.snow { background: var(--snow); color: var(--ink); }
.night { background: var(--night); color: var(--snow); }
.night .lede { color: var(--frost); }
.pad { padding-block: clamp(5rem, 11vw, 9rem); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker { font-weight: 600; font-size: 1rem; color: var(--ink-soft); margin: 0; }
.night .kicker { color: var(--frost-dim); }

/* ---------- Featured game ---------- */
.feature { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } }
.game-id { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.game-id img { width: 4.5rem; height: 4.5rem; border-radius: 22%; }
.game-id p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.rating { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: var(--lantern-deep); }
.stars svg { width: 1rem; height: 1rem; }
.feature h2 { margin-bottom: 1.25rem; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--lantern-deep); text-decoration-thickness: 2px; }

.stage { display: grid; gap: .9rem; }
.stage-main { margin: 0; }
.stage-main img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m);
  background: #6b4529; box-shadow: 10px 10px 0 rgba(15,33,64,.12);
}
.stage-main figcaption { margin-top: .8rem; color: var(--ink-soft); font-size: 1rem; min-height: 1.6em; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; list-style: none; margin: 0; padding: 0; }
.thumbs button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; opacity: .55;
  outline-offset: 2px; transition: opacity .2s;
}
.thumbs button:hover { opacity: .85; }
.thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--night); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; }
.facts div { border-top: 2px solid var(--night); padding-top: .8rem; }
.facts dt { font-size: .95rem; color: var(--ink-soft); }
.facts dd { margin: .2rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }

/* ---------- Logbook (timeline) ---------- */
.logbook { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.logbook::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 2px; background: repeating-linear-gradient(90deg, var(--frost-dim) 0 8px, transparent 8px 14px); }
.logbook li { position: relative; padding: 2.75rem 1.5rem 0 0; }
.logbook li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--snow); border: 3px solid var(--night); }
.logbook li.now::before { background: var(--lantern); border-color: var(--lantern); box-shadow: 0 0 0 6px rgba(255,181,71,.3); }
.logbook time { display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; margin-bottom: .6rem; }
.logbook p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.logbook strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .logbook { grid-template-columns: 1fr; gap: 2rem; padding-left: 2.5rem; }
  .logbook::before { left: .5rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--frost-dim) 0 8px, transparent 8px 14px); }
  .logbook li { padding: 0; }
  .logbook li::before { left: -2.5rem; top: .35rem; }
}

/* Snow cornice: soft drift edges where snow sections meet night sections */
.cornice-top::before, .cornice-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 48px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='48' viewBox='0 0 1200 48'%3E%3Cpath fill='%23eef3f7' d='M0 0H1200V22C1130 30 1080 12 1010 22S880 42 800 27 650 9 560 24 400 44 300 28 140 10 0 22Z'/%3E%3C/svg%3E") 0 0 / 1200px 48px repeat-x;
}
.cornice-top::before { top: -1px; }
.cornice-bottom::after { bottom: -1px; transform: scaleY(-1); background-position: 400px 0; }
@media (max-width: 720px) { .cornice-top::before, .cornice-bottom::after { background-size: 700px 30px; height: 30px; } }

/* ---------- Workbench ---------- */
.workbench { overflow: hidden; background: var(--night); }
.workbench .wrap { position: relative; z-index: 1; }
.wb-mill {
  position: absolute; z-index: 0; pointer-events: none;
  right: max(-6rem, -6vw); bottom: -1.5rem; width: min(40rem, 62vw); height: auto;
  color: var(--snow);
}
.wb-body { opacity: .06; }
.wb-window { fill: var(--lantern); opacity: .85; }
.wb-sails { transform-box: fill-box; transform-origin: center; animation: turn 48s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wb-sails { animation: none; } }
.wb-statement {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em;
  color: var(--frost); max-width: 20em; margin: .5rem 0 0; text-wrap: balance;
}
.wb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); margin: 0; max-width: 64rem; }
.wb-facts div { border-top: 2px solid rgba(198,213,226,.28); padding-top: 1rem; }
.wb-facts dt { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--snow); }
.wb-facts dd { margin: .5rem 0 0; color: var(--frost); font-size: 1.05rem; max-width: 22em; }
.wb-light { width: .6rem; height: .6rem; border-radius: 50%; background: var(--lantern); box-shadow: 0 0 0 4px rgba(255,181,71,.25); animation: ember 2.6s ease-in-out infinite; }
@keyframes ember { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .wb-light { animation: none; } }
@media (max-width: 860px) { .wb-facts { grid-template-columns: 1fr; } .wb-mill { width: 88vw; right: -30vw; } }
.wb-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-grid h2 { margin-bottom: 1.5rem; }
.tenets { display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.tenets li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.tenets svg { width: 2.75rem; height: 2.75rem; color: var(--night); }
.tenets h3 { margin-bottom: .35rem; }
.tenets p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--night); }
.faq details { border-bottom: 1px solid var(--frost); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(var(--night), var(--night)) center / 100% 2px no-repeat, linear-gradient(var(--night), var(--night)) center / 2px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-soft); }
.faq .answer p { margin: 0; max-width: 42em; }

/* ---------- Contact ---------- */
.contact {
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='rgba(150,120,255,.13)' d='M0 30C240 0 480 80 720 50S1200-10 1440 40V100C1200 60 960 130 720 100S240 60 0 90Z'/%3E%3Cpath fill='rgba(90,200,230,.2)' d='M0 90C240 60 480 140 720 100S1200 60 1440 100V140C1200 105 960 175 720 140S240 105 0 130Z'/%3E%3Cpath fill='rgba(110,240,200,.45)' d='M0 130C240 105 480 175 720 140S1200 105 1440 140V156C1200 124 960 194 720 160S240 125 0 148Z'/%3E%3C/svg%3E") 0 3rem / 100% clamp(4rem, 7vw, 6rem) no-repeat,
    var(--night);
}
.contact .wrap { position: relative; z-index: 1; }
.mail {
  display: inline-block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.45rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -.02em;
  color: var(--snow); text-decoration: none; overflow-wrap: anywhere; margin: 1.5rem 0 2rem;
  background: linear-gradient(var(--lantern), var(--lantern)) 0 100% / 0 .08em no-repeat;
  transition: background-size .5s var(--ease-out);
  padding-bottom: .08em;
}
.mail:hover, .mail:focus-visible { background-size: 100% .08em; }
.contact-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.copied { color: var(--lantern); font-weight: 600; min-width: 6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-deep); color: var(--frost-dim); font-size: .95rem; padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer p { margin: 0 0 .3rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--frost); }
.foot-brand { display: flex; gap: .9rem; align-items: flex-start; }
.foot-brand img { width: 2.6rem; height: 2.6rem; }

/* ---------- Game page ---------- */
.subhero { background: var(--night); color: var(--snow); padding-block: clamp(8rem, 16vw, 11rem) clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.subhero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 4rem; background: var(--snow); clip-path: polygon(0 70%, 8% 45%, 17% 62%, 29% 30%, 41% 58%, 52% 40%, 63% 64%, 74% 36%, 86% 55%, 100% 38%, 100% 100%, 0 100%); }
.crumbs { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .95rem; color: var(--frost-dim); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; }
.crumbs a { color: var(--frost); }
.subhero-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 720px) { .subhero-grid { grid-template-columns: 1fr; } }
.subhero-grid > img { width: clamp(7rem, 14vw, 10rem); height: auto; border-radius: 22%; }
.subhero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 900; margin-bottom: 1rem; text-wrap: balance; }
.subhero .meta { color: var(--frost); margin: 0 0 1.5rem; font-size: 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius-m); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: .5rem; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 3.5rem 0 1.25rem; }
.prose ul { padding-left: 1.2rem; max-width: 40em; }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--lantern-deep); }
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.facts.stack { grid-template-columns: 1fr 1fr; margin-top: 3.5rem; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--night); color: var(--snow); padding: 2rem var(--gutter); }
.lost h1 { font-size: clamp(5rem, 22vw, 14rem); font-weight: 900; }
.lost p { margin: 1rem auto 2rem; color: var(--frost); }

@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
