:root {
  --bg: #050507;
  --bg2: #0b0b10;
  --card: #0f0f15;
  --line: rgba(242, 200, 121, .14);
  --line2: rgba(255, 255, 255, .07);
  --text: #ece6da;
  --muted: #8f897c;
  --amber: #f2c879;
  --amber2: #e09a3e;
  --red: #ff4b3a;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Big Shoulders Display', Impact, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--amber); color: #000; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-content: center; gap: 22px; justify-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__word {
  font: 900 clamp(40px, 9vw, 96px)/1 var(--display); letter-spacing: .18em; color: var(--amber);
  text-shadow: 0 0 30px rgba(242, 200, 121, .5);
  animation: flicker 2.2s steps(1) infinite;
}
.loader__bar { width: 160px; height: 1px; background: #222; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .4s var(--ease); }

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .2; }
}

/* ---------- overlays ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--amber); pointer-events: none; mix-blend-mode: screen;
  box-shadow: 0 0 18px 4px rgba(242, 200, 121, .5);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(242, 200, 121, .15); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 80; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .5s, backdrop-filter .5s, padding .5s var(--ease), transform .6s var(--ease);
}
.nav.scrolled { background: rgba(5, 5, 7, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line2); }
.nav.hide { transform: translateY(-100%); }
.nav__logo, .footer__logo { font: 900 22px/1 var(--display); letter-spacing: .14em; }
.nav__logo span, .footer__logo span { color: var(--amber); margin-left: .25em; }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; gap: 10px; }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 480px) { .nav__cta .btn--ghost { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --pad: 14px 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--amber); color: #120d05; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 0 0 0 rgba(242, 200, 121, .5), 0 10px 40px -10px rgba(242, 200, 121, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { box-shadow: 0 0 0 6px rgba(242, 200, 121, .12), 0 16px 50px -10px rgba(242, 200, 121, .7); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: blur(6px); }
.btn--ghost::before { background: linear-gradient(110deg, transparent 30%, rgba(242, 200, 121, .18) 50%, transparent 70%); }
.btn--ghost:hover { border-color: rgba(242, 200, 121, .5); box-shadow: 0 0 30px -6px rgba(242, 200, 121, .35); }
.btn--sm { --pad: 9px 18px; font-size: 13px; }
.btn--lg { --pad: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; padding: 0; }

/* ---------- type ---------- */
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.h2 { font: 800 clamp(40px, 6.4vw, 92px)/.92 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.h3 { font: 800 40px/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  position: absolute; right: -4%; bottom: -12%; height: 112%; width: auto; max-width: none;
  object-fit: cover; filter: brightness(1.6) contrast(1.1) saturate(.85);
  transform: translate3d(0, var(--py, 0), 0) scale(-1.05, 1.05);
}
.hero__dark {
  --x: 70%; --y: 40%; --r: 260px;
  position: absolute; inset: 0;
  background: radial-gradient(circle var(--r) at var(--x) var(--y), rgba(5, 5, 7, 0) 0%, rgba(5, 5, 7, .55) 45%, rgba(5, 5, 7, .97) 80%, #050507 100%);
}
.hero__fog {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, var(--bg) 10%, transparent);
}
.hero__content { position: relative; z-index: 2; padding: 0 clamp(16px, 6vw, 96px); max-width: 900px; }
.title { margin: 0 0 22px; font: 900 clamp(84px, 17vw, 240px)/.8 var(--display); letter-spacing: .02em; }
.title__line { display: block; }
.title__line--glow { color: var(--amber); text-shadow: 0 0 40px rgba(242, 200, 121, .45), 0 0 120px rgba(224, 154, 62, .35); animation: titleflicker 7s steps(1) infinite 3s; }
@keyframes titleflicker { 0%, 90%, 92%, 95%, 100% { opacity: 1; } 91% { opacity: .25; } 93%, 94% { opacity: .55; } }
.hero__tag { font-size: clamp(16px, 1.6vw, 19px); color: #c8c1b2; max-width: 520px; margin: 0 0 34px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__in { opacity: 0; transform: translateY(40px); filter: blur(8px); }
.ready .hero__in { opacity: 1; transform: none; filter: none; transition: opacity 1.4s var(--ease) var(--d), transform 1.4s var(--ease) var(--d), filter 1.4s var(--ease) var(--d); }
.hero__hint { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--mono); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__hintline { width: 1px; height: 40px; background: linear-gradient(var(--amber), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) {
  .hero__bg img { right: -45%; height: 100%; opacity: .85; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line2); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font: 800 clamp(22px, 3vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: #3a362f; white-space: nowrap; }
.marquee__track i { color: var(--amber); font-style: normal; font-size: .6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 180px) clamp(16px, 6vw, 96px); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 900px; }
[data-reveal] { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- trailer ---------- */
.player {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid var(--line2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -50px rgba(242, 200, 121, .35);
}
.player__stage { position: absolute; inset: 0; overflow: hidden; }
.player__stage video { width: 100%; height: 100%; object-fit: cover; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.scene.on { opacity: 1; }
.scene img, .scene video { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.scene.on img, .scene.on video { animation: kenburns var(--dur, 4s) linear forwards; }
@keyframes kenburns { from { transform: scale(var(--z0, 1.05)) translate(var(--tx0, 0), 0); } to { transform: scale(var(--z1, 1.2)) translate(var(--tx1, 0), 0); } }
.scene__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .85) 100%); }
.scene__text {
  position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; padding: 0 8%;
  font: 500 clamp(14px, 2.2vw, 26px)/1.35 var(--body); color: #f3eee4; letter-spacing: .02em;
  text-shadow: 0 2px 20px #000; opacity: 0; transform: translateY(12px); transition: all 1.2s var(--ease) .3s;
}
.scene.on .scene__text { opacity: 1; transform: none; }
.scene--card { display: grid; place-items: center; background: #000; }
.scene--card .scene__text { position: static; font: 800 clamp(26px, 5.4vw, 72px)/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.scene--mono .scene__text { font: 400 clamp(12px, 1.8vw, 20px)/1.4 var(--mono); color: var(--amber); letter-spacing: .2em; }
.scene--title .scene__text { font-size: clamp(54px, 12vw, 170px); color: var(--amber); text-shadow: 0 0 50px rgba(242, 200, 121, .55); }
.scene--title small { display: block; margin-top: 18px; font: 500 clamp(12px, 1.5vw, 18px)/1 var(--mono); letter-spacing: .3em; color: var(--muted); text-shadow: none; }
.scene--flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { filter: brightness(3) contrast(1.4); } 100% { filter: none; } }
.scene--shake img { animation: kenburns var(--dur, 1s) linear forwards, shake .35s linear 2; }
@keyframes shake { 0%, 100% { translate: 0 0; } 25% { translate: -6px 3px; } 50% { translate: 5px -4px; } 75% { translate: -3px -2px; } }
.player__bars { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 7vw 0 -6.4vw #000, inset 0 -7vw 0 -6.4vw #000; transition: box-shadow 1s var(--ease); }
.player.idle .player__bars { box-shadow: none; }
.player__play {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%; display: grid; place-items: center; color: #120d05; background: var(--amber);
  box-shadow: 0 0 60px rgba(242, 200, 121, .6); transition: transform .6s var(--ease), opacity .5s;
}
.player__play svg { margin-left: 5px; }
.player__play:hover { transform: scale(1.1); }
.player__ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(242, 200, 121, .5); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.player.playing .player__play { opacity: 0; transform: scale(.6); pointer-events: none; }
.player__ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; align-items: center; gap: 16px; opacity: 0; transition: opacity .4s; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.player.playing:hover .player__ui, .player.ended .player__ui { opacity: 1; }
.player__sound, .player__time { font: 600 11px/1 var(--mono); letter-spacing: .15em; color: var(--text); }
.player__track { flex: 1; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.player__track span { display: block; height: 100%; width: 0; background: var(--amber); }
.player__poster { position: absolute; inset: 0; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); transform: scale(1.04); }
.player__poster::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, #000 100%); }
.player__note { text-align: center; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; margin-top: 22px; }

/* ---------- flashlight hover (used on images) ---------- */
.flashlit { position: relative; overflow: hidden; --mx: 50%; --my: 50%; }
.flashlit img { transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.55) saturate(.7); }
.flashlit::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; transition: opacity .6s;
  background: radial-gradient(circle 240px at var(--mx) var(--my), transparent 0, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .8) 100%);
}
.flashlit:hover img { filter: brightness(1.15) saturate(1); transform: scale(1.04); }

/* ---------- story ---------- */
.chapters { display: grid; gap: clamp(70px, 10vw, 140px); }
.chapter { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.chapter--flip .chapter__img { order: 2; }
.chapter__img { border-radius: 16px; aspect-ratio: 16 / 10; border: 1px solid var(--line2); }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; }
.chapter__num { font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.chapter h3 { font: 800 clamp(44px, 5.5vw, 76px)/.95 var(--display); text-transform: uppercase; margin: 14px 0 18px; }
.chapter p { color: #b9b2a3; margin: 0; max-width: 480px; font-size: 17px; }
.chapter em { color: var(--amber); font-style: normal; font-family: var(--mono); font-size: .9em; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter--flip .chapter__img { order: 0; }
}

/* ---------- monsters ---------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.mcard { position: relative; aspect-ratio: 3 / 4.2; border-radius: 16px; background: #000; border: 1px solid var(--line2); transform-style: preserve-3d; transition: transform .8s var(--ease), border-color .5s, opacity 1.2s var(--ease); }
.mcard img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.25) saturate(.5); }
.mcard:hover { border-color: rgba(242, 200, 121, .35); }
.mcard:hover img { filter: brightness(1) saturate(1); transform: scale(1.08); }
.mcard__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .92) 45%); transform: translateZ(40px); }
.mcard h3 { font: 800 30px/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.mcard p { margin: 0 0 14px; font-size: 14px; color: #b9b2a3; }
.tag { display: inline-block; font: 600 10px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px; }
.tag--red { color: var(--red); border-color: rgba(255, 75, 58, .3); }
@media (max-width: 1000px) { .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mgrid { grid-template-columns: 1fr; } .mcard { aspect-ratio: 4 / 4.4; } .mcard img { filter: brightness(.7); } }

/* ---------- features ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); border-left: 1px solid var(--line2); }
.feat { position: relative; padding: clamp(28px, 3.5vw, 48px); border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); overflow: hidden; }
.feat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(242, 200, 121, .1), transparent 70%); opacity: 0; transition: opacity .5s; }
.feat:hover::before { opacity: 1; }
.feat__n { font: 600 12px/1 var(--mono); color: var(--amber); letter-spacing: .2em; }
.feat h3 { position: relative; font: 800 30px/1 var(--display); text-transform: uppercase; margin: 22px 0 12px; }
.feat p { position: relative; color: #a49d8f; margin: 0; font-size: 15px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- buy ---------- */
.buy { overflow: hidden; }
.buy__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; background: radial-gradient(circle, rgba(242, 200, 121, .14), transparent 60%); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.buy__card {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px);
  max-width: 1120px; margin: 0 auto; padding: clamp(28px, 5vw, 64px);
  border-radius: 24px; background: linear-gradient(160deg, rgba(25, 22, 17, .9), rgba(10, 10, 14, .95));
  border: 1px solid var(--line); box-shadow: 0 50px 120px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .05);
}
.buy__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; color: #c3bcad; }
.buy__list li { display: flex; gap: 12px; align-items: baseline; }
.buy__list li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); translate: 0 -1px; }
.price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.price__num { font: 900 clamp(64px, 8vw, 96px)/1 var(--display); color: var(--amber); }
.price__once { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field span { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; color: var(--muted); }
.field input {
  width: 100%; padding: 16px 18px; border-radius: 12px; font: 500 16px var(--body); color: var(--text);
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242, 200, 121, .12); }
.field input.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.form__msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: var(--red); }
.form__msg.ok { color: #8fd18f; }
.buy__secure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.testmode { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font: 500 12px/1.5 var(--mono); color: var(--amber); background: rgba(242, 200, 121, .08); border: 1px dashed var(--line); }
.testmode a { text-decoration: underline; }
@media (max-width: 860px) { .buy__card { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 40px clamp(16px, 6vw, 96px); border-top: 1px solid var(--line2); color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
.footer__links { display: flex; gap: 22px; }
.footer__links .link { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer__links a:hover, .footer__links .link:hover { color: var(--text); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .5s var(--ease); }
.modal__box {
  position: relative; width: 100%; max-width: 480px; padding: clamp(26px, 5vw, 42px); border-radius: 22px;
  background: linear-gradient(160deg, #17140f, #0b0b0f); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -20px #000, 0 0 80px -30px rgba(242, 200, 121, .35);
  animation: pop .7s var(--ease);
}
.modal.closing .modal__back { animation: fade .35s reverse forwards; }
.modal.closing .modal__box { animation: pop .35s reverse forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal__x { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); transition: background .3s, color .3s, transform .5s var(--ease); }
.modal__x:hover { background: rgba(255, 255, 255, .06); color: var(--text); transform: rotate(90deg); }
.modal__sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.unlocked { text-align: center; animation: pop .7s var(--ease); }
.unlocked__icon { width: 64px; height: 64px; margin: 6px auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #120d05; background: var(--amber); box-shadow: 0 0 40px rgba(242, 200, 121, .6); }
.unlocked h3 { font: 800 34px/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.unlocked p { color: var(--muted); margin: 0 0 22px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .hero__in { opacity: 1; transform: none; filter: none; }
}
.scene--clip video { filter: contrast(1.08) saturate(.9); }
.scene--shake video { animation: kenburns var(--dur, 1s) linear forwards, shake .35s linear 2; }

/* ---------- gallery ---------- */
.gallery { padding: 0 0 clamp(90px, 12vw, 160px); overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 clamp(16px, 6vw, 96px); margin-bottom: 40px; }
.gallery__nav { display: flex; align-items: center; gap: 12px; }
.gallery__count { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .1em; margin-right: 8px; }
.gallery__count b { color: var(--amber); font-weight: 600; }
.gallery__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); font-size: 20px; transition: border-color .3s, background .3s, transform .5s var(--ease); }
.gallery__btn:hover { border-color: var(--amber); background: rgba(242, 200, 121, .08); transform: scale(1.06); }
.gallery__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px clamp(16px, 6vw, 96px) 24px; scroll-padding: 0 clamp(16px, 6vw, 96px);
  scrollbar-width: none; cursor: grab; outline: none; overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__track.drag .shot { pointer-events: none; }
.shot { flex: 0 0 min(72vw, 860px); margin: 0; scroll-snap-align: start; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #000; aspect-ratio: 16 / 9; transition: transform .8s var(--ease), border-color .4s; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter .6s; filter: brightness(1.25) contrast(1.05); user-select: none; -webkit-user-drag: none; }
.shot:hover { border-color: rgba(242, 200, 121, .35); }
.shot:hover img { transform: scale(1.07); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; font: 500 15px/1.3 var(--body); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; gap: 14px; align-items: baseline; }
.shot figcaption span { font: 600 11px/1 var(--mono); color: var(--amber); letter-spacing: .15em; }
.gallery__bar { margin: 6px clamp(16px, 6vw, 96px) 0; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.gallery__bar span { display: block; height: 100%; width: 10%; background: var(--amber); transition: width .3s var(--ease); }
@media (max-width: 600px) { .shot { flex-basis: 86vw; } .gallery__btn { width: 44px; height: 44px; } }

.lightbox { position: fixed; inset: 0; z-index: 88; background: rgba(0, 0, 0, .92); backdrop-filter: blur(8px); display: grid; place-items: center; align-content: center; gap: 16px; padding: 16px; animation: fade .4s var(--ease); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 82vh; border-radius: 12px; animation: pop .6s var(--ease); filter: brightness(1.2); }
.lightbox p { margin: 0; color: var(--muted); font: 500 13px/1 var(--mono); letter-spacing: .12em; text-align: center; }
.lightbox__x { position: absolute; top: 16px; right: 20px; font-size: 32px; color: var(--text); width: 44px; height: 44px; }
.scene--clip .scene__text { bottom: auto; top: 12%; }
.scene--hit video { animation: kenburns var(--dur, 1s) linear forwards, shake .3s linear 3; }
.scene--hit::after { content: ''; position: absolute; inset: 0; background: #fff; mix-blend-mode: overlay; animation: hitflash .45s ease-out forwards; pointer-events: none; }
@keyframes hitflash { from { opacity: .9; } to { opacity: 0; } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.about .section__head { margin-bottom: 0; position: sticky; top: 120px; }
.about__text p { color: #b9b2a3; font-size: 18px; margin: 0 0 22px; max-width: 560px; }
.about__text .about__lead { font: 600 clamp(22px, 2.4vw, 30px)/1.3 var(--body); color: var(--text); margin-bottom: 30px; }
.facts { list-style: none; margin: clamp(56px, 8vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line2); }
.facts li { padding: 26px 20px 0 0; font: 500 16px/1.4 var(--body); color: var(--text); }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line2); }
.facts span { display: block; margin-bottom: 10px; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about .section__head { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line2); }
}
.chapter__img img { filter: brightness(.95) saturate(.85); }
.chapter__img.flashlit:hover img { filter: brightness(1.25) saturate(1); }
.chapter__img.flashlit::after { opacity: .55; }

/* ---------- payment badges / lost key ---------- */
.paylist { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; padding: 0; }
.paylist li { font: 600 11px/1 var(--body); letter-spacing: .02em; color: #d8d1c3; padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.modal__lost { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.facts small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.footer__links { flex-wrap: wrap; }

/* ---------- legal pages / 404 ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 16px 100px; }
.legal h1 { font: 800 clamp(44px, 7vw, 80px)/.95 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.legal .updated { font: 500 12px/1 var(--mono); letter-spacing: .15em; color: var(--muted); text-transform: uppercase; margin: 0 0 48px; }
.legal h2 { font: 800 26px/1.1 var(--display); text-transform: uppercase; margin: 44px 0 12px; color: var(--amber); }
.legal p, .legal li { color: #c3bcad; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal__back { position: fixed; top: 18px; left: clamp(16px, 4vw, 48px); z-index: 10; font: 900 22px/1 var(--display); letter-spacing: .14em; text-decoration: none !important; color: var(--text) !important; }
.legal__back span { color: var(--amber); margin-left: .25em; }
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px 16px; }
.notfound h1 { font: 900 clamp(110px, 24vw, 260px)/.85 var(--display); color: var(--amber); margin: 0; text-shadow: 0 0 60px rgba(242, 200, 121, .4); animation: flicker 3s steps(1) infinite; }
.notfound p { color: var(--muted); margin: 18px 0 30px; font-size: 18px; }
.buy__secure { display: block; line-height: 1.6; }
.buy__secure svg { display: inline-block; vertical-align: -1px; margin-right: 6px; }

/* ---------- link back to the studio ---------- */
.nav__brand { display: flex; align-items: baseline; gap: 14px; }
.nav__studio { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__studio:hover { color: var(--amber); }
.footer__studio { display: block; margin-top: 8px; font: 500 12px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.footer__studio:hover { color: var(--amber); }
@media (max-width: 480px) { .nav__studio { display: none; } }

/* hero: the main menu scene, revealed by the flashlight */
.hero__bg img.hero__scene {
  inset: 0; right: auto; bottom: auto; width: 100%; height: 115%; max-width: none;
  object-fit: cover; object-position: 60% 50%;
  filter: brightness(2.3) contrast(1.08) saturate(1.1);
  transform: translate3d(0, var(--py, 0), 0) scale(1.04);
}
@media (max-width: 700px) {
  .hero__bg img.hero__scene { right: auto; height: 100%; opacity: 1; object-position: 72% 50%; }
}
