:root {
  --bg: #0b0a0c;
  --bg-2: #121014;
  --ink: #efe9df;
  --muted: #a39b8f;
  --gold: #cfb885;
  --gold-2: #e6d3a3;
  --wine: #7c2d3a;
  --line: rgba(207, 184, 133, 0.22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans);
       -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: .005em; }
em { font-family: var(--serif); font-style: italic; color: var(--gold-2); }
.muted { color: var(--muted); }
.kicker { font: 600 .74rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
       font: 600 .92rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid var(--gold);
       transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; }
.btn.gold { background: var(--gold); color: #17130b; box-shadow: 0 8px 30px rgba(207, 184, 133, .18); }
.btn.gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn.ghost { background: rgba(11, 10, 12, .35); color: var(--ink); backdrop-filter: blur(6px); border-color: rgba(239, 233, 223, .35); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn.small { padding: 9px 16px; font-size: .8rem; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* age gate */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
        background: radial-gradient(ellipse at center, rgba(40, 18, 24, .92), rgba(5, 4, 6, .97)); backdrop-filter: blur(14px); }
.gate.hidden { display: none; }
.gate-box { max-width: 440px; text-align: center; }
.gate-box img { margin: 0 auto 18px; width: 200px; height: auto; }
.gate-box h2 { font-size: 1.6rem; margin-bottom: 10px; }
.gate-box p { color: var(--muted); margin: 0 0 24px; }
.gate-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
       padding: 16px clamp(16px, 4vw, 48px); transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 10, 12, .82); backdrop-filter: blur(12px); padding-top: 10px; padding-bottom: 10px; border-color: var(--line); }
.nav-brand { font: 700 1.05rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--gold-2); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--gold);
            transform-origin: 0 50%; transform: scaleX(0); }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); filter: blur(3px) brightness(.6); } to { transform: scale(1); filter: none; } }
.hero-shade { position: absolute; inset: 0;
              background: radial-gradient(ellipse at 50% 45%, rgba(11, 10, 12, .2), rgba(11, 10, 12, .72) 75%),
                          linear-gradient(to bottom, rgba(11, 10, 12, .2), var(--bg) 96%); }
.hero-content { position: relative; text-align: center; padding: 110px 16px 80px; }
.hero-logo { width: min(420px, 72vw); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .7));
             animation: rise 1.4s .3s var(--ease) both; }
.hero-tag { font: italic 500 clamp(1.15rem, 2.4vw, 1.6rem)/1.4 var(--serif); color: var(--gold-2); margin: 18px 0 30px;
            animation: rise 1.4s .6s var(--ease) both; }
.hero .cta { animation: rise 1.4s .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px;
              border: 1.5px solid rgba(239, 233, 223, .5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
                   background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* intro: words light up */
.intro { max-width: 980px; margin: 0 auto; padding: clamp(90px, 16vh, 180px) 16px; text-align: center; }
.lightup { font: 500 clamp(1.5rem, 3.6vw, 2.7rem)/1.35 var(--serif); margin: 0; }
.lightup .w { opacity: .14; transition: opacity .35s, color .35s; }
.lightup .w.on { opacity: 1; }
.lightup .w.gold { color: var(--gold-2); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* story: sticky stage + steps */
.story { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.frame.active { opacity: 1; }
.frame.active img { transform: scale(1.0); }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
                background: linear-gradient(to right, transparent 60%, var(--bg)), linear-gradient(to top, rgba(11, 10, 12, .5), transparent 30%); }
.stage-count { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 28px; z-index: 2; font: 500 .85rem/1 var(--sans);
               letter-spacing: .2em; color: var(--muted); }
.stage-count span { color: var(--gold); font-size: 1.2rem; }
.steps { padding: 0 clamp(16px, 5vw, 72px); }
.step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 470px;
        opacity: .18; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.step.active { opacity: 1; transform: none; }
.step-label { font: 600 .74rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.step h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 18px; }
.step p { color: #d7cfc2; margin: 0; }

/* section heads */
.section-head { text-align: center; padding: 0 16px; margin-bottom: clamp(36px, 6vh, 64px); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* characters */
.characters { padding-top: clamp(100px, 16vh, 170px); }
.char { position: relative; min-height: 115svh; display: flex; align-items: center; overflow: hidden; }
.char-bg { position: absolute; inset: -4% 0 -8%; will-change: transform; }
.char-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos) 0%; transform: scale(1.06); transform-origin: 50% 0%;
               transition: transform 1.6s var(--ease), filter 1.6s var(--ease); filter: brightness(.55) saturate(.8); }
.char.in .char-bg img { transform: scale(1); filter: none; }
.char::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.char[data-side="right"]::before { background: linear-gradient(to left, rgba(11, 10, 12, .92) 8%, rgba(11, 10, 12, .35) 45%, transparent 70%),
                                               linear-gradient(to bottom, var(--bg), transparent 14%, transparent 86%, var(--bg)); }
.char[data-side="left"]::before { background: linear-gradient(to right, rgba(11, 10, 12, .92) 8%, rgba(11, 10, 12, .35) 45%, transparent 70%),
                                              linear-gradient(to bottom, var(--bg), transparent 14%, transparent 86%, var(--bg)); }
.char-card { position: relative; z-index: 2; max-width: 440px; margin: 0 clamp(16px, 7vw, 110px);
             opacity: 0; transition: opacity 1.1s .15s var(--ease), transform 1.1s .15s var(--ease); }
.char[data-side="right"] .char-card { margin-left: auto; transform: translateX(60px); }
.char[data-side="left"] .char-card { transform: translateX(-60px); }
.char.in .char-card { opacity: 1; transform: none; }
.char-role { font: 600 .74rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.char-card h3 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.char-card p { color: #ddd5c8; margin: 0 0 22px; }
.char-card blockquote { margin: 0; padding-left: 18px; border-left: 2px solid var(--gold);
                        font: italic 500 1.12rem/1.5 var(--serif); color: var(--gold-2); }

/* features */
.features { padding: clamp(100px, 16vh, 170px) clamp(16px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px;
           background: linear-gradient(160deg, rgba(207, 184, 133, .06), rgba(124, 45, 58, .05)); }
.feature:nth-child(3n+2) { transition-delay: .1s; } .feature:nth-child(3n) { transition-delay: .2s; }
.feature-n { font: 500 .8rem/1 var(--sans); color: var(--gold); letter-spacing: .2em; }
.feature h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* gallery: pinned, moves sideways */
.gallery { position: relative; height: 320vh; }
.gallery-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.gallery-track { display: flex; gap: 22px; padding: 0 clamp(16px, 6vw, 80px); will-change: transform; }
.gallery-track img { flex: 0 0 auto; width: min(62vw, 720px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px;
                     border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }

/* studio */
.studio { position: relative; padding: clamp(100px, 16vh, 170px) 16px;
          background: radial-gradient(ellipse at 50% 0%, rgba(124, 45, 58, .25), transparent 60%), var(--bg-2);
          border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.studio h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 26px; }
.studio p { color: #d7cfc2; }
.studio p.reveal:nth-of-type(3) { transition-delay: .1s; } .studio p.reveal:nth-of-type(4) { transition-delay: .2s; }

/* final */
.final { text-align: center; padding: clamp(100px, 18vh, 190px) 16px; }
.final-logo { width: min(320px, 64vw); height: auto; margin: 0 auto 26px; }
.final-line { font: italic 500 clamp(1.3rem, 3vw, 2rem)/1.45 var(--serif); color: var(--gold-2); margin: 0 0 34px; }
.footer { text-align: center; padding: 34px 16px 46px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer p { margin: 4px 0; }

/* phones & tablets */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .story { display: block; }
  .stage { height: 100svh; }
  .stage::after { background: linear-gradient(to top, rgba(11, 10, 12, .95) 18%, rgba(11, 10, 12, .35) 60%, rgba(11, 10, 12, .2)); }
  .stage-count { top: 84px; bottom: auto; }
  .steps { position: relative; margin-top: -100svh; z-index: 2; }
  .step { justify-content: flex-end; padding-bottom: 16vh; max-width: none; opacity: 0; }
  .step.active { opacity: 1; }
  .char { min-height: 100svh; align-items: flex-end; padding-bottom: 8vh; }
  .char-bg { inset: 58px 0 22%; transform: none !important; }
  .char-bg img { object-position: var(--pos) 0%; }
  .char[data-side]::before { background: linear-gradient(to top, rgba(11, 10, 12, .96) 22%, rgba(11, 10, 12, .4) 55%, transparent 75%),
                                         linear-gradient(to bottom, var(--bg), transparent 12%); }
  .char[data-side] .char-card { margin: 0 16px; transform: translateY(40px); }
  .char.in .char-card { transform: none; }
  .gallery { height: 260vh; }
  .gallery-track img { width: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .step, .char-card { opacity: 1 !important; transform: none !important; }
  .frame img, .char-bg img { transform: none !important; }
  .gallery { height: auto; } .gallery-pin { position: static; height: auto; padding: 80px 0; }
  .gallery-track { overflow-x: auto; scroll-snap-type: x mandatory; } .gallery-track img { scroll-snap-align: center; }
}
