/* TOP APP GAMES - Premium Mono (Direction B) */
:root {
  --bg: #0C0C0F;
  --ink: #F2F1ED;
  --muted: #9A978F;
  --faint: #8A8780;
  --accent: #C68A1F;
  --accent-text: #E5AC3F;
  --card: rgba(255,255,255,.035);
  --border: rgba(255,255,255,.08);
  --display: 'Space Grotesk', sans-serif;
  --body: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* backdrop variants */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
html[data-bg="grid"] body::before {
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
}
html[data-bg="pixels"] body::before {
  background-image: url('../assets/bg-pixels.png');
  background-size: 288px 288px;
  image-rendering: pixelated;
}
/* drifting pixel dust - two layers, opposite slow drift + twinkle */
html[data-bg="pixels-drift"] body::before {
  inset: -288px;
  background-image: url('../assets/bg-pixels.png');
  background-size: 288px 288px;
  image-rendering: pixelated;
  will-change: transform;
  animation: bg-drift-a 140s linear infinite;
}
html[data-bg="pixels-drift"] body::after {
  content: ''; position: fixed; inset: -384px; z-index: 0; pointer-events: none;
  background-image: url('../assets/bg-pixels.png');
  background-size: 384px 384px;
  image-rendering: pixelated;
  will-change: transform, opacity;
  animation: bg-drift-b 100s linear infinite;
}
@keyframes bg-drift-a { to { transform: translate3d(288px, 288px, 0); } }
@keyframes bg-drift-b {
  0% { transform: translate3d(0, 0, 0); opacity: .35; }
  50% { opacity: .75; }
  100% { transform: translate3d(-384px, -384px, 0); opacity: .35; }
}
/* aurora - two layers of dim color fields, counter-drifting & breathing */
html[data-bg="aurora"] body::before {
  inset: -25%;
  background:
    radial-gradient(50% 40% at 24% 28%, rgba(229,172,63,.13), transparent 70%),
    radial-gradient(55% 45% at 78% 72%, rgba(96,114,160,.11), transparent 70%);
  will-change: transform;
  animation: bg-aurora-a 16s ease-in-out infinite alternate;
}
html[data-bg="aurora"] body::after {
  content: ''; position: fixed; inset: -25%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 36% at 72% 22%, rgba(229,172,63,.09), transparent 70%),
    radial-gradient(48% 40% at 22% 78%, rgba(242,241,237,.05), transparent 70%);
  will-change: transform, opacity;
  animation: bg-aurora-b 23s ease-in-out infinite alternate;
}
@keyframes bg-aurora-a {
  from { transform: translate3d(-4%, -3%, 0) scale(1); }
  to { transform: translate3d(5%, 4%, 0) scale(1.22); }
}
@keyframes bg-aurora-b {
  from { transform: translate3d(4%, 3%, 0) scale(1.18); opacity: .55; }
  to { transform: translate3d(-5%, -4%, 0) scale(1); opacity: 1; }
}
html[data-bg="dots"] body::before {
  background-image: radial-gradient(rgba(242,241,237,.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
html[data-bg="scanlines"] body::before {
  background-image: repeating-linear-gradient(180deg, rgba(242,241,237,.025) 0 1px, transparent 1px 4px);
}
html[data-bg="off"] body::before { display: none; }

a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

section { scroll-margin-top: 84px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(calc(100% - 24px), 720px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(17,18,23,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 36px rgba(0,0,0,.45);
  transition: width .35s ease, box-shadow .35s ease;
}
.nav-logo img { height: 42px; transition: height .3s ease; }
.nav.scrolled .nav-logo img { height: 36px; }
.nav-links { display: none; }
.nav-burger {
  display: flex; flex-direction: column; gap: 4.5px; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--accent); transition: transform .25s ease, background .25s ease;
}
.nav-burger span { width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.nav-burger:active { transform: scale(.92); }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav { width: min(calc(100% - 48px), 860px); padding: 8px 10px 8px 20px; }
  .nav-links { display: flex; align-items: center; gap: 6px; }
  .nav-links a {
    font-size: 15px; font-weight: 500; color: var(--muted);
    padding: 10px 14px; border-radius: 999px;
    transition: color .25s ease, background .25s ease;
  }
  .nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
  .nav-links a.active { color: var(--accent-text); }
  .nav-links a.nav-cta {
    color: #fff; background: var(--accent); font-family: var(--display); font-weight: 600;
    transition: filter .25s ease, transform .25s ease;
  }
  .nav-links a.nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }
  .nav-burger { display: none; }
}

/* mobile overlay menu */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(10,10,13,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 28px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.01em;
  padding: 14px 0; color: var(--ink); display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.menu a small { font-family: var(--display); font-size: 12px; letter-spacing: .3em; color: var(--faint); font-weight: 500; }
.menu a.active { color: var(--accent-text); }
body.menu-open .menu a { opacity: 1; transform: none; }
body.menu-open .menu a:nth-child(1) { transition-delay: .06s; }
body.menu-open .menu a:nth-child(2) { transition-delay: .11s; }
body.menu-open .menu a:nth-child(3) { transition-delay: .16s; }
body.menu-open .menu a:nth-child(4) { transition-delay: .21s; }
body.menu-open .menu a:nth-child(5) { transition-delay: .26s; }
body.menu-open .menu a:nth-child(6) { transition-delay: .31s; }
.menu-foot { position: absolute; bottom: 34px; left: 28px; font-size: 13px; color: var(--faint); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; padding: 120px 0 56px; }
.plx-layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.glow-a { width: 420px; height: 420px; top: -90px; right: -140px; background: radial-gradient(circle, rgba(229,172,63,.14), transparent 70%); animation: drift 26s ease-in-out infinite alternate; }
.glow-b { width: 360px; height: 360px; bottom: -60px; left: -150px; background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%); animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(40px, 50px, 0); } }

.kicker { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(40px, 10.5vw, 76px); line-height: 1.08; margin: 16px 0;
}
.hero h1 .ac { color: var(--accent-text); }
.hw-clip { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.hw { display: inline-block; transform: translateY(110%); animation: hw-up .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 70ms); }
.hw.hw-done { transform: none !important; }
@keyframes hw-up { to { transform: translateY(0); } }
.hero-sub { font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 36ch; margin: 0 0 26px; text-wrap: pretty; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 13px; border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(198,138,31,.22);
  transition: filter .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(198,138,31,.3); }
.btn:active { transform: scale(.97); }
.btn-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid rgba(255,255,255,.16);
}
.btn-ghost:hover { filter: none; background: rgba(255,255,255,.05); }

.hero-stats { display: flex; gap: 28px; margin-top: 40px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; }
.hero-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.hero-art { position: relative; display: flex; gap: 16px; margin-top: 112px; justify-content: center; }
.hero-tile {
  z-index: 1;
  width: min(42vw, 220px); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: #15151B;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); will-change: transform;
  position: relative;
  --tilt: 0deg; --ty: 0px;
  animation: tile-float 6s ease-in-out infinite;
}
.hero-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 47%, rgba(255,255,255,.04) 53%, transparent 62%);
  transform: translateX(-130%);
  animation: tile-shine 7s ease-in-out infinite;
}
.hero-tile:last-child::after { animation-delay: 3.5s; }
@keyframes tile-float {
  0%, 100% { transform: rotate(var(--tilt)) translateY(var(--ty)); }
  50% { transform: rotate(var(--tilt)) translateY(calc(var(--ty) - 8px)); }
}
@keyframes tile-shine {
  0%, 55% { transform: translateX(-130%); }
  75%, 100% { transform: translateX(130%); }
}
.hero-tile .ht-cover { height: 150px; position: relative; }
.hero-tile .ht-label { padding: 10px 14px; font-family: var(--display); font-weight: 600; font-size: 14px; }
.hero-tile .ht-label small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); font-family: var(--body); font-weight: 600; margin-top: 2px; }
.hero-tile:first-child { --tilt: -2.5deg; --ty: 8px; }
.hero-tile:last-child { --tilt: 2deg; animation-delay: -3s; }

@media (min-width: 1024px) {
  .hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 48px; }
  .hero-art { margin-top: 0; gap: 20px; }
  .hero-tile { width: min(24vw, 300px); }
  .hero-tile .ht-cover { height: 240px; }
  .hero-tile .ht-label { padding: 12px 16px; font-size: 16px; }
  .hero-tile .ht-label small { font-size: 11px; }
  .hero-sub { font-size: 18px; }
}

/* ---------- sections ---------- */
.sec { padding: 84px 0 8px; }
.sec-head { margin-bottom: 30px; }
.sec-num { font-family: var(--display); font-size: 11px; letter-spacing: .3em; color: var(--faint); }
.sec h2 { font-family: var(--display); font-size: clamp(28px, 6vw, 42px); font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 6px; }
.sec-sub { font-size: 15.5px; color: var(--muted); line-height: 1.6; max-width: 52ch; margin: 0; text-wrap: pretty; }
.hr { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); margin-top: 76px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- games ---------- */
.game-card {
  display: grid; gap: 22px; padding: 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.game-card + .game-card { margin-top: 22px; }
.cover-frame { position: relative; border-radius: 16px; aspect-ratio: 16 / 10; }
.cover-clip { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: var(--g, #1A1612); }
.cover-frame { box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.cover-frame.glow-purple::before, .cover-frame.glow-gold::before, .cover-frame.glow-silver::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  animation: halo-pulse 4.5s ease-in-out infinite;
}
.cover-frame.glow-purple::before { box-shadow: 0 0 48px rgba(147, 86, 255, .48), 0 0 120px rgba(120, 60, 220, .28); }
.cover-frame.glow-gold::before { box-shadow: 0 0 48px rgba(229, 172, 63, .44), 0 0 120px rgba(198, 138, 31, .26); }
.game-card.rev .cover-frame::before { animation-delay: -2.25s; }
@keyframes halo-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.cover-clip::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.14) 47%, rgba(255,255,255,.04) 53%, transparent 62%);
  transform: translateX(-130%);
  animation: tile-shine 8s ease-in-out infinite;
}
.game-card.rev .cover-clip::after { animation-delay: 4s; }
.cover-frame .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-shapes div { position: absolute; background: rgba(255,255,255,.8); }
.g-tag { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.g-name { font-family: var(--display); font-size: 27px; font-weight: 700; margin: 8px 0 8px; letter-spacing: -0.01em; }
.g-desc { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; max-width: 44ch; text-wrap: pretty; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.g-chip { font-size: 12px; font-weight: 500; color: var(--muted); padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border); }
.g-chip b { color: var(--ink); font-weight: 600; }
.store-row { display: flex; flex-wrap: wrap; gap: 8px; }
.g-coop { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 14px 0 0; letter-spacing: .01em; }
.g-coop b { color: var(--accent-text); font-weight: 700; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 12px; border-radius: 12px;
  background: #101014; border: 1px solid rgba(255,255,255,.15);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.store-btn:hover { transform: translateY(-2px); background: #17171D; border-color: rgba(255,255,255,.26); box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.store-btn:active { transform: scale(.97); }
.store-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.sb-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.05; text-align: left; }
.sb-text small { font-size: 8.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sb-text b { font-family: var(--display); font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.store-pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 18px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16); font-family: var(--display); font-weight: 600; font-size: 13.5px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.store-pill:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }
.store-pill:active { transform: scale(.97); }
.store-pill i { font-style: normal; color: var(--accent-text); }

@media (min-width: 960px) {
  .game-card { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: 24px; }
  .game-card.rev .cover-frame { order: 2; }
  .game-card + .game-card { margin-top: 28px; }
}

/* ---------- team ---------- */
.culture {
  font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 58ch; text-wrap: pretty;
  border-left: 2px solid var(--accent); padding-left: 18px; margin: 26px 0 34px;
}
.culture b { color: var(--ink); font-weight: 600; }
.team-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 30px; }
.t-fact { padding: 14px 8px; text-align: center; border: 1px solid var(--border); border-radius: 14px; }
.t-fact b { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; }
.t-fact span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.team-toggle { width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 18px; min-height: 68px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; cursor: pointer; color: var(--ink); font-family: var(--body); transition: border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.team-toggle:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.055); transform: translateY(-2px); }
.team-toggle:active { transform: scale(.99); }
.tt-avs { display: flex; }
.tt-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid #1A1A20; margin-left: -10px; position: relative; flex-shrink: 0; }
.tt-av:first-child { margin-left: 0; }
.tt-av img { width: 100%; height: 100%; object-fit: cover; }
.tt-text { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.tt-title { font-family: var(--display); font-size: 16px; font-weight: 700; }
.tt-sub { font-size: 12.5px; color: var(--muted); }
.tt-chev { color: var(--muted); font-size: 17px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.team-toggle[aria-expanded="true"] .tt-chev { transform: rotate(180deg); }
.team-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.team-collapse.is-open { grid-template-rows: 1fr; }
.team-collapse-inner { overflow: hidden; min-height: 0; }
.team-collapse-inner .team-grid { padding: 18px 2px 8px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tm {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 22px 12px 18px; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.tm:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.tm-name { font-family: var(--display); font-weight: 600; font-size: 15.5px; }
.tm-role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-top: 4px; }
.tm-bio { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; text-wrap: pretty; }
.tm-li { display: inline-flex; align-items: center; gap: 5px; padding: 14px 12px; margin: -4px -12px -14px; font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--muted); transition: color .25s ease; }
.tm-li:hover { color: var(--accent-text); }
.tm-li i { font-style: normal; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- news ---------- */
.news-grid { display: grid; gap: 14px; }
a.news-card { display: block; }
.news-card {
  padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.n-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #131318; border: 1px solid rgba(255,255,255,.06); }
.n-thumb .n-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.n-thumb .n-img-contain { inset: 18%; width: 64%; height: 64%; object-fit: contain; margin: auto; }
.n-date { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--accent-text); }
.n-title { font-family: var(--display); font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.n-blurb { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.n-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--accent-text); }
.n-more i { font-style: normal; transition: transform .25s ease; }
.news-card:hover .n-more i { transform: translate(2px, -2px); }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } .news-card { padding: 14px; } .n-title { font-size: 15.5px; } .n-blurb { font-size: 12.5px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.form { display: grid; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: var(--ink);
  font-family: var(--body); font-size: 15px; padding: 13px 14px; outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.field input { height: 50px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent-text); background: rgba(255,255,255,.06); }
.field.err input, .field.err textarea { border-color: #C0452C; }
.field .msg { display: none; font-size: 12px; color: #D9694F; margin-top: 5px; }
.field.err .msg { display: block; }
.form-ok { display: none; padding: 28px 8px; text-align: center; }
.form-ok .big { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-ok p { color: var(--muted); font-size: 14.5px; margin: 0; }
.form.sent .form-ok { display: block; }
.form.sent .field, .form.sent .btn { display: none; }

.c-details { display: grid; gap: 18px; align-content: start; }
.c-block { padding: 18px 20px; border: 1px solid var(--border); border-radius: 18px; }
.c-block .lbl { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.c-block .val { font-family: var(--display); font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.c-block .val a { color: var(--accent-text); }
.c-note { font-size: 13.5px; color: var(--faint); line-height: 1.6; padding: 0 4px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; } }

/* ---------- footer ---------- */
footer { padding: 56px 0 42px; }
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-inner img { height: 56px; opacity: .95; }
.foot-inner p { font-size: 12.5px; color: var(--faint); margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.foot-legal a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 0; transition: color .25s ease;
}
.foot-legal a:hover { color: var(--accent-text); }


/* ---------- easter eggs ---------- */
.egg-coin {
  position: fixed; z-index: 95; width: 16px; height: 16px; pointer-events: none;
  background: #E8A33D; border: 2px solid #8F5A12; border-radius: 4px;
  box-shadow: inset -2px -2px 0 #B97718, inset 2px 2px 0 #FFD98A;
}
.egg-credits {
  position: fixed; z-index: 94; top: 78px; left: 50%; transform: translate(-50%, -6px);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(17,18,23,.88); border: 1px solid rgba(229,172,63,.4);
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent-text);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.egg-credits.on { opacity: 1; transform: translate(-50%, 0); }
.egg-coin-ic {
  width: 11px; height: 11px; border-radius: 3px; background: #E8A33D;
  border: 1.5px solid #8F5A12; box-shadow: inset -1px -1px 0 #B97718, inset 1px 1px 0 #FFD98A;
}
.egg-px { position: fixed; z-index: 95; pointer-events: none; }
.egg-toast {
  position: fixed; z-index: 96; left: 50%; bottom: 26px; transform: translate(-50%, 90px);
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; border-radius: 14px;
  background: #16161B; border: 1px solid rgba(229,172,63,.5);
  box-shadow: 0 16px 44px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease;
}
.egg-toast.on { opacity: 1; transform: translate(-50%, 0); }
.egg-star { font-size: 19px; color: var(--accent-text); line-height: 1; }
.egg-toast-tx { display: flex; flex-direction: column; gap: 2px; }
.egg-toast-tx b { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent-text); }
.egg-toast-tx span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tm { position: relative; }
.rpg-card {
  position: absolute; top: 12px; left: 50%; transform: translate(-50%, 8px);
  width: 180px; padding: 12px 14px; text-align: left;
  background: #16161B; border: 1px solid rgba(229,172,63,.45); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; z-index: 6;
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.rpg-card.on { opacity: 1; transform: translate(-50%, 0); }
.rpg-top { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent-text); margin-bottom: 8px; white-space: nowrap; }
.rpg-stat { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 7px; margin-top: 6px; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.rpg-stat i { display: block; height: 6px; background: rgba(255,255,255,.08); overflow: hidden; border-radius: 1px; }
.rpg-stat i b { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--accent-text) 0 5px, rgba(0,0,0,.45) 5px 6px); }
.rpg-stat em { font-style: normal; color: var(--ink); text-align: right; }

/* ---------- arcade eggs ---------- */
.xp-bar {
  position: fixed; top: 0; left: 0; z-index: 97; width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-text));
  box-shadow: 0 0 10px rgba(229,172,63,.4);
}
.xp-chip {
  position: fixed; top: 12px; right: 16px; z-index: 97; pointer-events: none;
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent-text); text-shadow: 0 2px 8px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.xp-chip.on { opacity: 1; transform: translateY(0); }
.egg-loot {
  position: fixed; bottom: 0; left: 50%; z-index: 93; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
}
.egg-loot.on { opacity: 1; }
.egg-beam {
  width: 56px; height: 38vh; margin-bottom: -10px;
  background: linear-gradient(180deg, transparent, rgba(229,172,63,.07) 35%, rgba(229,172,63,.3));
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
  transform-origin: bottom center; transform: scaleY(0);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.egg-loot.on .egg-beam { transform: scaleY(1); }
.egg-chest {
  pointer-events: auto; cursor: pointer; background: none; border: none;
  width: 40px; height: 32px; padding: 0 0 14px; margin-bottom: 8px;
  animation: egg-chest-bob 1.6s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(229,172,63,.45));
}
@keyframes egg-chest-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .egg-chest { animation: none; }
  .egg-beam { transform: scaleY(1); transition: none; }
}

/* ---------- motion prefs ---------- */
html[data-motion="subtle"] .glow-a, html[data-motion="subtle"] .glow-b { animation: none; }
html[data-motion="subtle"] .hero-tile, html[data-motion="subtle"] .hero-tile::after { animation: none; }
html[data-motion="subtle"] .cover-clip::after { animation: none; }
html[data-motion="subtle"] body::before, html[data-motion="subtle"] body::after { animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-tile, .hero-tile::after { animation: none; }
  .cover-clip::after { animation: none; }
  .team-collapse { transition: none; }
  .glow-a, .glow-b { animation: none; }
  body::before, body::after { animation: none; transform: none; }
  .hw { transform: none; animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}


/* third-title teaser */
.hero-tile-back {
  position: absolute; left: 50%; top: -60px; z-index: 0;
  margin-left: calc(min(42vw, 220px) / -2);
  --tilt: 0deg;
  animation: tile-float 6s ease-in-out infinite, back-glow 3.2s ease-in-out infinite;
  animation-delay: -4s, 0s;
}
@keyframes back-glow {
  0%, 100% { box-shadow: 0 0 24px rgba(147, 86, 255, .32), 0 24px 60px rgba(0,0,0,.5); }
  50% { box-shadow: 0 0 58px rgba(147, 86, 255, .8), 0 0 130px rgba(120, 60, 220, .42), 0 24px 60px rgba(0,0,0,.5); }
}
.ht-tease { display: grid; place-items: center; background: linear-gradient(rgba(10,10,18,.2), rgba(10,10,18,.4)), url('../assets/title3-teaser-v2.webp') center / cover no-repeat; }
.ht-tease span {
  font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--accent-text);
  animation: tease-pulse 2.8s ease-in-out infinite;
}
@keyframes tease-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.cover-tease {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px;
}
.cover-tease span {
  font-family: var(--display); font-size: clamp(64px, 9vw, 104px); font-weight: 700; line-height: 1;
  color: var(--accent-text); animation: tease-pulse 2.8s ease-in-out infinite;
}
.cover-tease em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .34em; color: var(--faint); }
.ld { display: grid; gap: 9px; justify-items: center; width: 100%; }
.ld-bar {
  width: clamp(170px, 52%, 300px); height: 16px; padding: 3px;
  border: 1px solid rgba(229,172,63,.55); border-radius: 4px;
  background: rgba(8,8,14,.55); box-shadow: 0 0 18px rgba(229,172,63,.18);
}
.ld-bar b {
  display: block; height: 100%; width: 0%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-text) 0 8px, rgba(8,8,14,.85) 8px 10px);
}
.ld-text { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--muted); }
.ld-text i { font-style: normal; color: var(--accent-text); }

.cover-frame.glow-silver::before { box-shadow: 0 0 48px rgba(220, 224, 240, .28), 0 0 120px rgba(200, 205, 230, .14); }
@media (prefers-reduced-motion: reduce) { .ht-tease span, .cover-tease span { animation: none; } }
@media (min-width: 1024px) {
  .hero-tile-back { margin-left: calc(min(24vw, 300px) / -2); top: -74px; }
}

/* Title No.3 animated FX */
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ht-tease > span, .cover-tease > span, .cover-tease .ld { position: relative; z-index: 1; }
.fx-rays {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 72% at 50% 46%, rgba(255,225,150,.20), transparent 62%);
  animation: fx-breathe 4.5s ease-in-out infinite;
}
.fx-swirl {
  position: absolute; left: 50%; top: 46%; width: 150%; aspect-ratio: 1 / 1;
  border-radius: 50%; opacity: .75;
  background: conic-gradient(from 20deg,
    transparent 0 8%, rgba(229,172,63,.32) 14%, transparent 24% 36%,
    rgba(177,135,240,.30) 44%, transparent 52% 64%,
    rgba(229,172,63,.24) 72%, transparent 80% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 24%, #000 38%, #000 52%, transparent 67%);
  mask: radial-gradient(closest-side, transparent 24%, #000 38%, #000 52%, transparent 67%);
  animation: fx-rot 18s linear infinite;
}
.fx-rock {
  position: absolute; background: #0B0B14;
  filter: drop-shadow(0 0 7px rgba(229,172,63,.6));
  clip-path: polygon(30% 0, 80% 12%, 100% 55%, 70% 100%, 18% 88%, 0 40%);
  animation: fx-bob 7s ease-in-out infinite;
}
.fx-rock-a { width: 34px; height: 28px; left: 9%; top: 16%; --rr: -8deg; }
.fx-rock-b { width: 25px; height: 21px; right: 9%; bottom: 18%; --rr: 12deg; animation-delay: -3.2s; }
.fx-sp {
  position: absolute; left: var(--l); top: 58%; width: 5px; height: 5px; border-radius: 1px;
  background: #E5AC3F; box-shadow: 0 0 9px rgba(229,172,63,.9); opacity: 0;
  animation: fx-rise 3.8s ease-in-out infinite; animation-delay: var(--d);
}
.fx-sp:nth-of-type(odd) { background: #B187F0; box-shadow: 0 0 9px rgba(177,135,240,.9); }
@keyframes fx-rot { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes fx-breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes fx-bob { 0%, 100% { transform: translateY(0) rotate(var(--rr, 0deg)); } 50% { transform: translateY(-9px) rotate(var(--rr, 0deg)); } }
@keyframes fx-rise { 0% { transform: translateY(24px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-36px); opacity: 0; } }
html[data-motion="subtle"] .fx-swirl, html[data-motion="subtle"] .fx-rays, html[data-motion="subtle"] .fx-rock, html[data-motion="subtle"] .fx-sp { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .fx-swirl, .fx-rays, .fx-rock, .fx-sp { animation: none; }
  .fx-sp { opacity: .6; }
}

@media (max-width: 560px) {
  .store-row { gap: 6px; flex-wrap: nowrap; }
  .store-row .store-btn { flex: 1 1 0; min-width: 0; justify-content: center; height: 44px; padding: 0 8px; gap: 6px; }
  .store-btn svg { width: 16px; height: 16px; }
  .sb-text small { display: none; }
  .sb-text b { font-size: 12px; white-space: nowrap; }
}

/* ---------- story timeline ---------- */
.timeline { display: grid; }
.tl-item { display: grid; grid-template-columns: 74px 1fr; gap: 20px; }
.tl-year {
  font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1;
  color: var(--accent-text); text-align: right;
}
.tl-body { position: relative; padding: 2px 0 40px 26px; }
.tl-body::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: -8px; width: 2px;
  background: linear-gradient(180deg, rgba(229,172,63,.55), rgba(229,172,63,.12));
}
.tl-item:last-child .tl-body::before { background: linear-gradient(180deg, rgba(229,172,63,.55), transparent 85%); }
.tl-body::after {
  content: ''; position: absolute; left: -4px; top: 8px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-text); box-shadow: 0 0 12px rgba(229,172,63,.8);
}
.tl-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.tl-body p:last-child { margin-bottom: 0; }
.tl-body b { color: var(--ink); font-weight: 600; }
@media (min-width: 880px) {
  .tl-item { grid-template-columns: 120px 1fr; gap: 28px; }
  .tl-year { font-size: 38px; }
  .tl-body { padding-left: 32px; padding-bottom: 48px; }
  .tl-body p { font-size: 16px; }
}

/* story timeline choreography */
.tl-year { opacity: 0; transform: translateX(-18px); transition: opacity .6s ease .1s, transform .6s cubic-bezier(.2,.7,.2,1) .1s; }
.tl-item.in .tl-year { opacity: 1; transform: none; }
.tl-body::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 1.1s cubic-bezier(.4,0,.2,1) .3s; }
.tl-item.in .tl-body::before { transform: scaleY(1); }
.tl-body::after { transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1) .25s; }
.tl-item.in .tl-body::after { transform: scale(1); animation: tl-ping 1s ease-out .4s; }
@keyframes tl-ping {
  0% { box-shadow: 0 0 12px rgba(229,172,63,.8), 0 0 0 0 rgba(229,172,63,.45); }
  100% { box-shadow: 0 0 12px rgba(229,172,63,.8), 0 0 0 18px rgba(229,172,63,0); }
}
.tl-body p { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.tl-body p:nth-child(1) { transition-delay: .4s; }
.tl-body p:nth-child(2) { transition-delay: .58s; }
.tl-item.in .tl-body p { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tl-year, .tl-body p { opacity: 1; transform: none; transition: none; }
  .tl-body::before { transform: scaleY(1); transition: none; }
  .tl-body::after { transform: scale(1); transition: none; animation: none; }
}

.tm-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* "Love." - dark pink with breathing glow */
.hw-love {
  color: #C94A6D;
  animation: hw-up .8s cubic-bezier(.2,.7,.2,1) forwards, love-glow 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms), 1.2s;
}
@keyframes love-glow {
  0%, 100% { text-shadow: 0 0 14px rgba(201, 74, 109, .25); }
  50% { text-shadow: 0 0 26px rgba(225, 90, 130, .75), 0 0 64px rgba(201, 74, 109, .4); }
}
@media (prefers-reduced-motion: reduce) { .hw-love { animation: none; text-shadow: none; } }
.hero-trust { font-size: 13px; color: var(--muted); margin: 14px 0 0; letter-spacing: .02em; }

/* love echoes: footer heart + selection color */
.heart {
  display: inline-block; color: #C94A6D; font-style: normal;
  animation: heart-glow 3s ease-in-out infinite;
}
@keyframes heart-glow {
  0%, 100% { text-shadow: 0 0 4px rgba(201, 74, 109, .3); }
  50% { text-shadow: 0 0 9px rgba(225, 90, 130, .85), 0 0 18px rgba(201, 74, 109, .45); }
}
::selection { background: rgba(201, 74, 109, .45); color: #F2F1ED; }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } }

.form-fail { font-size: 13.5px; color: #D9694F; line-height: 1.5; margin: 10px 0 0; }
.form-fail a { color: var(--accent-text); text-decoration: underline; }
.form.sending .btn { opacity: .7; cursor: default; }

/* a11y skip link */
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -160%);
  z-index: 100; background: var(--accent); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 10px; transition: transform .25s ease;
}
.skip-link:focus { transform: translate(-50%, 0); outline: 2px solid #fff; outline-offset: 2px; }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(20,20,26,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), visibility .3s, background .25s ease, border-color .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); }
.to-top:active { transform: scale(.92); }
@media (max-width: 600px) { .to-top { right: 14px; bottom: 14px; } }

/* Title No.3 - cartoon pickaxes (mining the masterpiece) */
.cover-tease .fx-pickdefs { position: absolute; width: 0; height: 0; }
.cover-tease .fx-pick {
  position: absolute; top: 15%; width: 62px; height: 98px; z-index: 3;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.45));
  will-change: transform;
}
.cover-tease .fx-pick svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cover-tease .fx-pick-l { left: 23%; animation: pick-l 1.25s cubic-bezier(.3,.05,.32,1) infinite; }
.cover-tease .fx-pick-r { right: 23%; animation: pick-r 1.25s cubic-bezier(.3,.05,.32,1) infinite; animation-delay: .625s; }
@keyframes pick-l {
  0%   { transform: rotate(-24deg); }
  20%  { transform: rotate(-44deg); }
  37%  { transform: rotate(15deg); }
  47%  { transform: rotate(5deg); }
  62%  { transform: rotate(-24deg); }
  100% { transform: rotate(-24deg); }
}
@keyframes pick-r {
  0%   { transform: scaleX(-1) rotate(-24deg); }
  20%  { transform: scaleX(-1) rotate(-44deg); }
  37%  { transform: scaleX(-1) rotate(15deg); }
  47%  { transform: scaleX(-1) rotate(5deg); }
  62%  { transform: scaleX(-1) rotate(-24deg); }
  100% { transform: scaleX(-1) rotate(-24deg); }
}
.cover-tease .fx-strike {
  position: absolute; left: 50%; top: 48%; width: 26px; height: 26px; z-index: 2;
  transform: translate(-50%,-50%) scale(.3); opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,240,200,.95) 0 16%, rgba(255,226,150,.5) 34%, transparent 64%);
  animation: pick-strike 1.25s ease-out infinite;
}
.cover-tease .fx-strike::before {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 6%, rgba(255,234,170,.9) 11%, transparent 18% 31%, rgba(255,234,170,.9) 38%, transparent 45% 56%, rgba(255,234,170,.9) 63%, transparent 70% 81%, rgba(255,234,170,.9) 88%, transparent 95%);
}
@keyframes pick-strike {
  0%, 29% { opacity: 0; transform: translate(-50%,-50%) scale(.3); }
  37%     { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 0; transform: translate(-50%,-50%) scale(1.6); }
  79%     { opacity: 0; transform: translate(-50%,-50%) scale(.3); }
  87%     { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100%    { opacity: 0; transform: translate(-50%,-50%) scale(1.6); }
}
html[data-motion="subtle"] .cover-tease .fx-pick,
html[data-motion="subtle"] .cover-tease .fx-strike { animation: none; }
html[data-motion="subtle"] .cover-tease .fx-pick-l { transform: rotate(-24deg); }
html[data-motion="subtle"] .cover-tease .fx-pick-r { transform: scaleX(-1) rotate(-24deg); }
html[data-motion="subtle"] .cover-tease .fx-strike { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .cover-tease .fx-pick, .cover-tease .fx-strike { animation: none; }
  .cover-tease .fx-pick-l { transform: rotate(-22deg); }
  .cover-tease .fx-pick-r { transform: scaleX(-1) rotate(-22deg); }
  .cover-tease .fx-strike { opacity: 0; }
}

/* ===== Legal / Terms page ===== */
.legal-page { background: var(--bg); }
.legal-page::before { display: none; }
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: rgba(12,12,15,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--muted);
  padding: 8px 4px; transition: color .25s ease;
}
.legal-back:hover { color: var(--accent-text); }
.legal-back i { font-style: normal; font-size: 17px; }
.legal-logo img { height: 30px; display: block; }
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 48px 22px 80px; }
.legal-head { margin-bottom: 38px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(34px, 8vw, 52px); margin: 10px 0 14px; }
.legal-dates { font-size: 14px; color: var(--muted); margin: 0; }
.legal-body { font-size: 15.5px; line-height: 1.72; color: var(--muted); }
.legal-body h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(21px, 4.4vw, 27px); color: var(--ink);
  margin: 48px 0 16px; padding-top: 8px; scroll-margin-top: 80px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 16px; text-wrap: pretty; }
.legal-body ul { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: li; }
.legal-body li {
  position: relative; margin: 0 0 13px; padding-left: 26px; text-wrap: pretty;
}
.legal-body li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.legal-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal-body a:hover { color: var(--ink); }
.legal-foot { padding: 40px 0; border-top: 1px solid var(--border); }
@media (min-width: 720px) { .legal-wrap { padding: 64px 22px 100px; } }

/* Legal: numbered clauses + tables */
.legal-body .clause { position: relative; padding-left: 34px; margin: 0 0 15px; }
.legal-body .cl-num { position: absolute; left: 0; top: 0; font-family: var(--display); font-weight: 700; color: var(--accent-text); font-size: 14.5px; }
.legal-body .sub-list { margin: 0 0 16px; padding: 0 0 0 34px; list-style: none; }
.legal-body .sub-list li { position: relative; margin: 0 0 10px; padding-left: 20px; }
.legal-body .sub-list li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 540px; }
.legal-table th { text-align: left; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); padding: 13px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.legal-table td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table .td-data b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.legal-table .td-data span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal-table .cell-list { margin: 0; padding: 0; list-style: none; }
.legal-table .cell-list li { position: relative; padding-left: 15px; margin-bottom: 6px; }
.legal-table .cell-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@media (min-width: 720px) { .legal-table { font-size: 14.5px; } }

/* ---------- team photos: group banner + studio life ---------- */
.team-hero {
  margin: 0 0 26px; border-radius: 22px; position: relative;
  border: 1px solid var(--border); background: var(--card);
  --hero-rim: 0 0 0 1px rgba(229,172,63,0);
  box-shadow: var(--hero-rim);
}
.team-hero .th-frame { border-radius: 22px; overflow: hidden; position: relative; display: block; }
.team-hero img {
  width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 24%;
  transform: scale(1.0); transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
/* diagonal light sweep */
.team-hero .th-frame::after {
  content: ''; position: absolute; top: -60%; bottom: -60%; left: -40%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,240,210,.35), transparent);
  transform: translateX(-180%) rotate(8deg); pointer-events: none; opacity: 0; z-index: 2;
}
/* cinematic reveal when section scrolls in */
.team-hero.in img { animation: hero-kenburns 7.5s cubic-bezier(.16,.6,.2,1) forwards; }
.team-hero.in { animation: hero-rim 2.6s ease-out .25s forwards; }
.team-hero.in .th-frame::after { animation: hero-sweep 1.5s ease-out .35s forwards; }

@keyframes hero-kenburns { from { transform: scale(1.14); } to { transform: scale(1.0); } }
@keyframes hero-zoom { from { transform: scale(1.0); } to { transform: scale(1.07); } }
@keyframes hero-sweep {
  0% { opacity: 0; transform: translateX(-180%) rotate(8deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateX(420%) rotate(8deg); }
}
@keyframes hero-rim {
  0% { box-shadow: 0 0 0 1px rgba(229,172,63,0), 0 0 0 rgba(229,172,63,0); }
  45% { box-shadow: 0 0 0 1px rgba(229,172,63,.55), 0 14px 50px rgba(229,172,63,.28); }
  100% { box-shadow: 0 0 0 1px rgba(229,172,63,.28), 0 10px 36px rgba(0,0,0,.45); }
}
.team-hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: linear-gradient(to top, rgba(8,8,11,.82), transparent);
  letter-spacing: .01em;
}

.studio-life { margin: 8px 0 30px; }
.sl-head { margin-bottom: 16px; }
.sl-head h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 4px; letter-spacing: -0.01em; }
.sl-head p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0; max-width: 56ch; text-wrap: pretty; }
/* studio carousel */
.sl-carousel { position: relative; }
.sl-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 2px;
}
.sl-track::-webkit-scrollbar { display: none; }
.sl-card {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  flex: 0 0 86%; scroll-snap-align: center;
}
.sl-card img {
  width: 100%; height: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.sl-card:hover img { transform: scale(1.04); }
.sl-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 13px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: linear-gradient(to top, rgba(8,8,11,.82), transparent);
  letter-spacing: .01em;
}
.sl-nav {
  position: absolute; top: calc(50% - 16px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(20,20,26,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; z-index: 3;
  transition: background .25s ease, border-color .25s ease, opacity .25s ease, transform .2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.sl-nav:hover { background: var(--accent); border-color: var(--accent); }
.sl-nav:active { transform: translateY(-50%) scale(.92); }
.sl-prev { left: 8px; }
.sl-next { right: 8px; }
.sl-nav[disabled] { opacity: 0; pointer-events: none; }
.sl-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.sl-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.22); transition: background .25s ease, width .25s ease;
}
.sl-dot.active { background: var(--accent-text); width: 20px; border-radius: 4px; }
@media (min-width: 760px) {
  .team-hero figcaption { font-size: 14px; padding: 40px 22px 18px; }
  .sl-head h3 { font-size: 24px; }
  .sl-card { flex-basis: calc((100% - 24px) / 3); }
  .sl-card figcaption { padding: 34px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .sl-track { scroll-behavior: auto; } }

@media (prefers-reduced-motion: reduce) {
  .team-hero img, .team-hero.in img { animation: none; transform: scale(1.0); }
  .team-hero.in { animation: none; }
  .team-hero.in .th-frame::after { animation: none; }
}

/* ---------- ObelixPro wordmark logo ---------- */
@font-face {
  font-family: 'ObelixPro';
  src: url('../assets/obelixpro.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
.wordmark {
  font-family: 'ObelixPro', 'Space Grotesk', sans-serif;
  color: var(--ink); line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: baseline; letter-spacing: .005em;
}
.wordmark .wm-g { color: var(--accent-text); margin-left: .28em; }
.nav-logo-wm.wordmark { font-size: 19px; transition: font-size .3s ease; }
.nav.scrolled .nav-logo-wm.wordmark { font-size: 17px; }
/* mobile: show wordmark, hide image */
.nav-logo-img { display: none; }
.nav-logo-wm { display: inline-flex; }
@media (min-width: 880px) {
  .nav-logo-img { display: block; }
  .nav-logo-wm { display: none; }
}
