/* First Horizon — Direction A: the in-game title screen (Moonrake Farm at dusk, in-game menu panels, Play-button gold) */
@font-face { font-family: "Lilita One"; src: url("fonts/LilitaOne.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #1a1016; --bg-deep: #120a0f; --band: #22141b;
  --text: #f3e8d6; --muted: #c9b59b; --cream: #fff3d6; --gold: #f4ba48; --gold-hi: #ffd98a; --sel: #e6c84a;
  --rim: #70420c; --cocoa: #4a2808; --paper: #f4ead4; --ink: #3b2a1c; --bark: #8a5a36;
  --panel: rgba(36, 24, 16, 0.72); --panel-2: rgba(48, 32, 20, 0.78); --line: rgba(232, 210, 168, 0.26); --line-hi: rgba(240, 215, 168, 0.6);
  --display: "Lilita One", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lw: clamp(260px, min(86vw, 66svh), 580px);
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
  --hero-h: max(700px, 100svh);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--text); font: 500 1.0625rem/1.65 var(--body); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; padding: .6rem 1rem; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 800; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2.5rem); }
.orn { width: 11px; height: 11px; fill: var(--gold); flex: none; filter: drop-shadow(0 0 4px rgba(255, 170, 60, .8)); }

/* ---------- buttons: the in-game Play button and Options pill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; font-family: var(--display); line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s ease, filter .2s ease, background-color .2s ease, border-color .2s ease; }
.btn-gold { min-height: 54px; padding: 0 1.6rem; font-size: 1.2rem; color: var(--cocoa); border: 3px solid var(--rim);
  background: linear-gradient(180deg, #fffffc 0%, #fffdf0 32%, #ffe6a0 58%, #ecac3c 86%, #c88424 100%);
  box-shadow: 0 0 22px rgba(255, 170, 60, .45), 0 0 5px rgba(255, 170, 60, .55), inset 0 4px 8px rgba(255, 255, 255, .35);
  text-shadow: 0 1px 0 rgba(255, 238, 190, .6); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(255, 176, 70, .75), 0 0 8px rgba(255, 190, 90, .8), inset 0 4px 8px rgba(255, 255, 255, .4); filter: brightness(1.04); }
.btn-gold:active { transform: translateY(1px); filter: brightness(.95); }
.btn-ghost { min-height: 42px; padding: 0 1.1rem; font-size: 1.02rem; color: rgba(246, 232, 200, .96); border: 2px solid rgba(238, 214, 160, .75); background: rgba(14, 10, 6, .47); }
.btn-ghost:hover { border-color: #ffe6a8; background: rgba(40, 26, 14, .7); box-shadow: 0 0 18px rgba(255, 176, 70, .4); }
.btn-sm { min-height: 40px; font-size: .98rem; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; height: 68px;
  padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left)); transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.topbar.solid { background: rgba(22, 13, 18, .84); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 rgba(244, 186, 72, .22), 0 10px 30px rgba(0, 0, 0, .25); }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; color: var(--cream); text-decoration: none; font: 800 .82rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(255, 170, 60, .45)); }
.links { display: flex; gap: 1.6rem; }
.links a { color: rgba(246, 232, 210, .86); text-decoration: none; font-weight: 700; font-size: .95rem; position: relative; padding: .4rem 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.links a:hover { color: var(--cream); }
.links a:hover::after { transform: scaleX(1); }

/* ---------- hero: layered title-screen art ---------- */
.hero { position: relative; min-height: var(--hero-h); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #241521; }
.stage { position: absolute; left: 50%; top: 0; width: max(100%, calc(var(--hero-h) * 1.6)); aspect-ratio: 16 / 10; transform: translateX(-50%); }
.layer { position: absolute; left: 0; width: 100%; will-change: transform; }
.sky { top: 0; height: 100%; object-fit: cover; }
.land { top: 18%; height: 82%; }
.sun { inset: 0; pointer-events: none; }
.sun .glow { position: absolute; left: 50%; top: 37%; width: 70%; height: 46%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 120, .55), rgba(255, 150, 80, .22) 45%, transparent 75%); mix-blend-mode: screen; }
.sun .rays { position: absolute; left: 50%; top: 37%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .11; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 214, 150, .9) 0deg 2.2deg, transparent 2.2deg 13deg);
  -webkit-mask: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .45) 24%, transparent 52%); mask: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .45) 24%, transparent 52%); }
.motes { inset: 0; pointer-events: none; }
.motes::before { content: ""; position: absolute; inset: -4% 0; background: url("img/motes.webp") center / cover no-repeat; opacity: .85; }
.sparkles { inset: 0; pointer-events: none; }
.sparkles i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #ffd890;
  box-shadow: 0 0 6px 2px rgba(255, 190, 100, .75), 0 0 16px 4px rgba(255, 170, 60, .3); opacity: .0; }
.hero .shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 30% at 50% 37%, rgba(16, 9, 12, .42), transparent 72%),
    linear-gradient(180deg, rgba(14, 8, 12, .55) 0, transparent 16%),
    linear-gradient(0deg, var(--bg) 0, rgba(26, 16, 22, .85) 9%, transparent 34%); }

@media (prefers-reduced-motion: no-preference) {
  .sun .glow { animation: drift 18s ease-in-out infinite alternate; }
  .sun .rays { animation: sway 40s ease-in-out infinite alternate; }
  .motes::before { animation: rise 38s ease-in-out infinite alternate; }
  .sparkles i { animation: twinkle var(--d) ease-in-out var(--t) infinite; }
  .scroll-cue span { animation: cue 2.2s ease-in-out infinite; }
  .logo-hero img { animation: logo-in 1.2s var(--ease) both; }
  .hero .arc { animation: fade-in .9s ease .45s both; }
  .hero .eyebrow, .hero .positioning, .hero-cta { animation: up-in .9s var(--ease) both; }
  .hero .positioning { animation-delay: .25s; } .hero-cta { animation-delay: .4s; }
}
@keyframes drift { from { transform: translate(-53%, -50%) scale(1); opacity: .85; } to { transform: translate(-47%, -51%) scale(1.08); opacity: 1; } }
@keyframes sway { from { transform: translate(-50%, -50%) rotate(-5deg); } to { transform: translate(-50%, -50%) rotate(5deg); } }
@keyframes rise { from { transform: translateY(1.5%); } to { transform: translateY(-2.5%); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 45% { opacity: .95; transform: translateY(-14px) scale(1); } 70% { opacity: .5; } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(7px); opacity: .4; } }
@keyframes logo-in { from { opacity: 0; transform: scale(.94); filter: brightness(1.4); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes up-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) { .hero .eyebrow { animation-delay: .1s; } }

.hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 84px 1.25rem 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; color: var(--gold-hi); font: 800 .8rem/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.logo { position: relative; width: var(--lw); line-height: 0; }
.logo img { width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 48%, #000 36%, rgba(0, 0, 0, .85) 50%, transparent 72%);
  mask-image: radial-gradient(ellipse 68% 60% at 50% 48%, #000 36%, rgba(0, 0, 0, .85) 50%, transparent 72%); }
.logo .tm { position: absolute; left: 88%; top: 53.7%; font-family: var(--display); font-size: calc(var(--w, var(--lw)) * .036); line-height: 1; color: #e8eaee;
  text-shadow: 0 1px 0 rgba(30, 22, 14, .85), 0 0 3px rgba(20, 14, 8, .7); pointer-events: none; }
.logo-hero { margin-top: .4rem; }
.hero .arc { width: calc(var(--lw) * .8); height: auto; overflow: visible; margin-top: calc(var(--lw) * -.085);
  filter: drop-shadow(0 0 3px rgba(255, 170, 60, .95)) drop-shadow(0 0 10px rgba(255, 170, 60, .55)); }
.positioning { margin-top: 1.1rem; font-family: var(--display); font-size: clamp(1.5rem, 1.05rem + 1.55vw, 2.35rem); line-height: 1.16; color: var(--cream);
  text-shadow: 0 0 22px rgba(255, 170, 60, .35), 0 2px 0 rgba(50, 24, 6, .65), 0 2px 14px rgba(0, 0, 0, .55); }
.foot-brand p span { display: inline-block; }
.nowrap { white-space: nowrap; }
.positioning { text-wrap: balance; max-width: 30ch; margin-inline: auto; }
.hero-cta { margin-top: 1.7rem; display: flex; flex-direction: column; align-items: center; gap: .95rem; width: min(560px, 100%); }
.notify { display: flex; align-items: center; gap: .4rem; width: 100%; padding: 6px; border-radius: 999px; background: rgba(18, 11, 8, .62); border: 2px solid rgba(238, 214, 160, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: border-color .2s ease, box-shadow .2s ease; }
.notify:focus-within { border-color: #ffe6a8; box-shadow: 0 0 0 4px rgba(244, 186, 72, .18), 0 10px 30px rgba(0, 0, 0, .35); }
.field { flex: 1; min-width: 0; height: 48px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--cream); font: 600 1rem var(--body); }
.field::placeholder { color: rgba(240, 225, 200, .62); }
.field:focus { outline: none; }
.notify .btn-gold { min-height: 50px; font-size: 1.1rem; padding: 0 1.35rem; }
.cta-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .7rem; color: rgba(240, 226, 204, .86); font-weight: 700; font-size: .95rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.watch { display: inline-flex; align-items: center; gap: .45rem; color: var(--cream); text-decoration: none; }
.watch svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.watch svg path { fill: var(--gold); stroke: none; }
.watch:hover { color: #fff; } .watch:hover svg { filter: drop-shadow(0 0 6px rgba(255, 170, 60, .9)); }
.sep { color: var(--gold); opacity: .7; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid rgba(238, 214, 160, .55); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(3.5rem, 2.4rem + 3.6vw, 5.75rem) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.25rem, 1.5rem + 2vw, 3.25rem); }
.kicker { display: inline-flex; align-items: center; gap: .75rem; color: var(--gold); font: 800 .78rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { transform: scaleX(-1); }
.sec-head h2, .studio-copy h2 { margin-top: .85rem; font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.3rem); line-height: 1.06; color: var(--cream); text-shadow: 0 0 24px rgba(255, 170, 60, .28), 0 2px 0 rgba(50, 24, 6, .5); text-wrap: balance; }
.sec-head h2::after, .studio-copy h2::after { content: ""; display: block; width: 148px; height: 14px; margin: .95rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 14'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f4ba48' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23f4ba48'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%23f4ba48' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23f4ba48'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='6.3' width='60' height='1.4' fill='url(%23l)'/%3E%3Crect x='88' y='6.3' width='60' height='1.4' fill='url(%23r)'/%3E%3Cpath d='M74 0l1.7 5.3L81 7l-5.3 1.7L74 14l-1.7-5.3L67 7l5.3-1.7z' fill='%23ffd98a'/%3E%3Ccircle cx='63.5' cy='7' r='1.6' fill='%23f4ba48'/%3E%3Ccircle cx='84.5' cy='7' r='1.6' fill='%23f4ba48'/%3E%3C/svg%3E") center / contain no-repeat; }
.studio-copy h2::after { margin-left: 0; }
.lede { margin-top: 1.2rem; font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); color: var(--gold-hi); }
.intro { margin: .8rem auto 0; max-width: 38em; color: var(--muted); font-size: 1.125rem; }

/* cards = in-game slot panels */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 1.9rem 1.6rem 1.7rem; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 2px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .08), 0 18px 40px rgba(0, 0, 0, .28); transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease); }
.card:hover { border-color: var(--line-hi); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .12), 0 0 0 4px rgba(230, 200, 74, .08), 0 22px 46px rgba(0, 0, 0, .34); transform: translateY(-2px); }
.card .ico { width: 58px; height: 58px; padding: 11px; margin-bottom: 1.1rem; border-radius: 50%; fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  background: radial-gradient(circle at 50% 35%, rgba(255, 196, 110, .22), rgba(80, 48, 20, .35)); box-shadow: inset 0 0 0 2px rgba(244, 186, 72, .5), 0 0 18px rgba(255, 170, 60, .18); }
.card .ico .f { fill: var(--gold-hi); stroke: none; }
.card h3 { font-size: 1.45rem; color: var(--cream); line-height: 1.15; }
.card p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }

/* trailer */
.trailer { background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(150, 80, 40, .16), transparent 70%); }
.video-frame { margin: 0 auto; max-width: 980px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; padding: 0;
  box-shadow: 0 0 0 2px rgba(238, 214, 160, .5), 0 0 0 8px rgba(36, 24, 16, .9), 0 0 0 10px rgba(232, 210, 168, .22), 0 30px 70px rgba(0, 0, 0, .55), 0 0 90px rgba(255, 160, 70, .14); }
.screen video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.badge { position: absolute; top: 14px; right: 14px; padding: .35rem .7rem; border-radius: 999px; background: rgba(10, 6, 4, .66); border: 1px solid rgba(238, 214, 160, .4); color: rgba(246, 232, 206, .92); font: 800 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
figcaption, .note { margin-top: 1.1rem; text-align: center; color: var(--muted); font-size: .9rem; }
.video-frame figcaption { margin-top: 1.4rem; }

/* skills */
.skills { background: linear-gradient(180deg, transparent, rgba(34, 20, 27, .9) 18%, rgba(34, 20, 27, .9) 82%, transparent); }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.skill-grid li { display: flex; align-items: center; gap: .7rem; min-height: 58px; padding: .8rem 1.05rem; border-radius: 12px; background: rgba(32, 22, 14, .68); border: 2px solid rgba(232, 210, 168, .22);
  color: var(--cream); font-weight: 800; font-size: 1.02rem; line-height: 1.25; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.skill-grid li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--gold); filter: drop-shadow(0 0 4px rgba(255, 170, 60, .7));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.2 8.8L23 12l-8.8 2.2L12 23l-2.2-8.8L1 12l8.8-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.2 8.8L23 12l-8.8 2.2L12 23l-2.2-8.8L1 12l8.8-2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.skill-grid li:hover { border-color: var(--sel); background: rgba(58, 38, 18, .82); box-shadow: 0 0 0 2px rgba(230, 200, 74, .3); }

/* the big in-game menu panel around the skills */
.menu-panel { position: relative; padding: clamp(1rem, .6rem + 1.4vw, 1.75rem); border-radius: 24px; background: linear-gradient(180deg, rgba(44, 28, 18, .75), rgba(26, 17, 12, .8));
  border: 2px solid rgba(238, 214, 160, .38); box-shadow: inset 0 0 0 6px rgba(20, 12, 8, .35), inset 0 0 0 7px rgba(232, 210, 168, .14), 0 26px 60px rgba(0, 0, 0, .35); }
.menu-panel .cn { position: absolute; width: 22px; height: 22px; background: var(--gold); filter: drop-shadow(0 0 5px rgba(255, 170, 60, .8));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.2 8.8L23 12l-8.8 2.2L12 23l-2.2-8.8L1 12l8.8-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.2 8.8L23 12l-8.8 2.2L12 23l-2.2-8.8L1 12l8.8-2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.cn.tl { left: -11px; top: -11px; } .cn.tr { right: -11px; top: -11px; } .cn.bl { left: -11px; bottom: -11px; } .cn.br { right: -11px; bottom: -11px; }

/* parents = the in-game paper dialog */
.parents { background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(160, 90, 40, .14), transparent 70%); }
.parent-cards .card { background: linear-gradient(180deg, #fbf3e1, var(--paper)); color: var(--ink); border: 4px solid var(--sel); border-radius: 16px;
  box-shadow: 0 8px 0 var(--bark), 0 16px 30px rgba(0, 0, 0, .38); padding: 1.7rem 1.4rem 1.5rem; }
.parent-cards .card:hover { transform: translateY(-3px); box-shadow: 0 11px 0 var(--bark), 0 20px 34px rgba(0, 0, 0, .42); border-color: #f0d35a; }
.parent-cards .card .ico { stroke: var(--bark); background: radial-gradient(circle at 50% 35%, #fff8e6, #f0dfb8); box-shadow: inset 0 0 0 2px rgba(138, 90, 54, .45); }
.parent-cards .card .ico .f { fill: var(--bark); }
.parent-cards .card h3 { color: var(--ink); font-size: 1.35rem; }
.parent-cards .card p { color: #5a4532; font-weight: 600; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.shot { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px var(--line), 0 18px 40px rgba(0, 0, 0, .4); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption { position: absolute; inset: auto 0 0 0; margin: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 2.4rem 1.1rem .9rem; text-align: left;
  background: linear-gradient(0deg, rgba(10, 6, 4, .82), transparent); }
.shot figcaption span { font-family: var(--display); font-size: 1.25rem; color: var(--cream); line-height: 1; }
.shot figcaption em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(240, 226, 204, .8); }

/* studio */
.studio-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.studio-art { margin: 0; }
.studio-art img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 0 0 2px rgba(238, 214, 160, .45), 0 0 0 8px rgba(36, 24, 16, .9), 0 0 0 10px rgba(232, 210, 168, .2), 0 26px 60px rgba(0, 0, 0, .5); }
.studio-art figcaption { margin-top: 1.4rem; }
.studio-copy p { margin-top: 1.1rem; color: var(--muted); font-size: 1.15rem; }
.studio-copy .sig { margin-top: 1.5rem; color: var(--gold); font-weight: 800; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }

/* FAQ = in-game slot rows */
.faq-list { display: grid; gap: .75rem; }
.faq-list details { border-radius: 14px; background: rgba(32, 22, 14, .68); border: 2px solid rgba(232, 210, 168, .22); transition: border-color .2s ease, background-color .2s ease; }
.faq-list details:hover { border-color: var(--line-hi); }
.faq-list details[open] { border-color: var(--sel); background: rgba(48, 32, 18, .82); box-shadow: 0 0 0 2px rgba(230, 200, 74, .2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; color: var(--cream); font-weight: 800; font-size: 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(244, 186, 72, .6); transition: transform .3s var(--ease), background-color .2s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--gold); }
.faq-list summary i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary i { background: rgba(244, 186, 72, .15); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.ans { padding: 0 1.3rem 1.25rem; color: var(--muted); font-size: 1.05rem; }

/* closing bookend: back to the title-screen sky */
.closing { padding: clamp(5rem, 3rem + 6vw, 8rem) 0; overflow: hidden; isolation: isolate; text-align: center; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, var(--bg) 0, rgba(26, 16, 22, .25) 26%, rgba(26, 16, 22, .35) 70%, var(--bg-deep) 100%),
  radial-gradient(ellipse 45% 50% at 50% 45%, rgba(255, 170, 90, .28), transparent 70%),
  url("img/title-art-1600.webp") center 42% / cover no-repeat; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.logo-sm { --w: min(340px, 78vw); width: var(--w); }
.closing-title { text-wrap: balance; margin-top: .5rem; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); color: var(--cream); text-shadow: 0 0 24px rgba(255, 170, 60, .35), 0 2px 0 rgba(50, 24, 6, .55); }
.closing-sub { margin-top: .6rem; color: var(--text); font-size: 1.1rem; opacity: .9; }
.closing .notify { margin-top: 1.6rem; max-width: 560px; }

/* footer */
.footer { background: var(--bg-deep); border-top: 1px solid rgba(244, 186, 72, .2); padding: 3.5rem 0 max(1.75rem, env(safe-area-inset-bottom)); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.logo-xs { --w: 170px; width: var(--w); margin-left: -12px; }
.foot-brand p { margin-top: .5rem; color: var(--muted); max-width: 22em; }
.foot-h { color: var(--gold); font: 800 .75rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-links li + li, .foot-contact li + li { margin-top: .55rem; }
.foot-links a { color: var(--text); text-decoration: none; } .foot-links a:hover { color: var(--gold-hi); }
.foot-contact li { display: flex; flex-direction: column; }
.foot-contact span { color: var(--muted); font-size: .82rem; }
.foot-contact a { color: var(--cream); font-weight: 700; text-decoration: none; } .foot-contact a:hover { color: var(--gold-hi); text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid rgba(232, 210, 168, .12); color: rgba(201, 181, 155, .85); font-size: .85rem; }

/* fade-up on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .shots .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .shots .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .shots .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .skill-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .links { display: none; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-copy { text-align: center; } .studio-copy h2::after { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar { height: 60px; }
  .brand { font-size: .74rem; letter-spacing: .14em; }
  .hero-content { padding: 96px 1.1rem 76px; }
  .eyebrow { font-size: .7rem; letter-spacing: .16em; gap: .5rem; }
  .notify { flex-direction: column; padding: 0; gap: 10px; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .notify:focus-within { box-shadow: none; }
  .field { width: 100%; height: 54px; text-align: center; background: rgba(18, 11, 8, .62); border: 2px solid rgba(238, 214, 160, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .field:focus { border-color: #ffe6a8; box-shadow: 0 0 0 4px rgba(244, 186, 72, .18); }
  .notify .btn-gold { min-height: 54px; }
  .field { flex: none; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem;
    margin-inline: -1.25rem; padding: .25rem 1.25rem 1rem; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: start; }
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: 1.2rem 1.15rem 1.25rem; }
  .card .ico, .parent-cards .card .ico { grid-row: span 2; width: 50px; height: 50px; padding: 10px; margin: 0; }
  .card h3, .parent-cards .card h3 { font-size: 1.22rem; margin-top: .15rem; }
  .card p { margin-top: .2rem; font-size: .96rem; }
  .parent-cards { gap: 1.1rem; }
  .cta-note { flex-direction: column; gap: .5rem; } .cta-note .sep { display: none; }
  .notify .btn-gold { width: 100%; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .skill-grid li { font-size: .92rem; padding: .7rem .8rem; min-height: 54px; gap: .55rem; }
  .scroll-cue { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-legal { flex-direction: column; }
}

/* ===================== v3: simpler page ===================== */
/* A kid's first RPG: 2x2, icon beside text */
.cards-2x2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-inline: auto; gap: 1.25rem; }
.cards-2x2 .card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.3rem; align-items: center; padding: 1.6rem 1.7rem; }
.cards-2x2 .card .ico { grid-row: span 2; margin: 0; align-self: center; }
.cards-2x2 .card h3 { align-self: end; }
.cards-2x2 .card p { align-self: start; margin-top: .3rem; }

/* Peace of mind: smaller, title-only paper squares */
.parent-cards { max-width: 900px; margin-inline: auto; gap: 1.1rem; }
.parent-cards .card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 1.75rem 1rem 1.4rem; aspect-ratio: 1 / .82; }
.parent-cards .card .ico { width: 54px; height: 54px; padding: 10px; margin: 0 0 .8rem; }
.parent-cards .card h3 { font-size: 1.22rem; line-height: 1.12; text-wrap: balance; }

/* Every adventure starts small: one framed still */
.feature-still { position: relative; margin: 0 auto; max-width: 980px; }
.feature-still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(238, 214, 160, .5), 0 0 0 8px rgba(36, 24, 16, .9), 0 0 0 10px rgba(232, 210, 168, .22), 0 30px 70px rgba(0, 0, 0, .55), 0 0 90px rgba(255, 160, 70, .12); }
.feature-still .pic-note { position: absolute; right: 18px; bottom: 16px; margin: 0; padding: .45rem .85rem; border-radius: 999px; background: rgba(10, 6, 4, .7); border: 1px solid rgba(238, 214, 160, .4); color: rgba(246, 232, 206, .94); font: 800 .8rem/1 var(--body); letter-spacing: .02em; pointer-events: none; }

/* studio: text only */
.studio-solo { text-align: center; }
.studio-solo h2::after { margin-left: auto; margin-right: auto; }
.studio-solo p { max-width: 620px; margin-inline: auto; }

/* trailer slot (for later): three ads in a row under the main video */
.ad-row { list-style: none; margin: 1.5rem auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ad-row .screen { border-radius: 14px; }

@media (max-width: 760px) {
  .cards-2x2 { grid-template-columns: 1fr; }
  .ad-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards-2x2 .card { padding: 1.2rem 1.15rem 1.25rem; column-gap: 1rem; align-items: start; }
  .cards-2x2 .card .ico { align-self: start; }
  .parent-cards { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .parent-cards .card { display: flex; aspect-ratio: auto; min-height: 138px; padding: 1.1rem .8rem; }
  .parent-cards .card .ico { width: 46px; height: 46px; padding: 9px; margin: 0 0 .65rem; }
  .parent-cards .card h3 { font-size: 1.08rem; margin: 0; }
  .feature-still .pic-note { right: 10px; bottom: 9px; font-size: .68rem; padding: .38rem .65rem; }
}

/* studio sits in a menu panel so the text-only block keeps its weight */
.studio { padding-block: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); }
.studio-solo.menu-panel { max-width: 760px; margin-inline: auto; padding: clamp(2rem, 1.2rem + 2.4vw, 3rem) clamp(1.4rem, .6rem + 3vw, 3.5rem); }
.studio-solo h2 { margin-top: .85rem; }
@media (max-width: 640px) { .studio-copy .sig { font-size: .72rem; letter-spacing: .1em; } }

/* example chips inside a card (Jobs and quests) */
.card .eg { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.card .eg li { padding: .22rem .7rem; border-radius: 999px; font-size: .86rem; font-weight: 700; line-height: 1.3; color: var(--cream); background: rgba(230, 200, 74, .10); border: 1.5px solid var(--line-hi); }
.cards-2x2 .card:has(.eg) .ico { grid-row: span 3; }
.cards-2x2 .card .eg { grid-column: 2; }
@media (max-width: 640px) { .card .eg { margin-top: .55rem; gap: .35rem; } .card .eg li { font-size: .8rem; padding: .2rem .6rem; } }

.positioning-sub{margin:.35em auto 0;max-width:40ch;text-align:center;color:#f4ba48;font-size:clamp(.95rem,1.6vw,1.15rem);font-weight:600;letter-spacing:.02em;opacity:.92}
.positioning-sub--above{margin:0 auto .35em}

.foot-brand p.foot-tag{margin-top:.2rem;color:#f4ba48;font-weight:600;letter-spacing:.02em;opacity:.92}
.foot-brand p.foot-tag--first{margin-top:.75rem}
