/* Auravia opening film: a short, skippable intro that asks one question and carries the answer into the site. */
html.intro-pending body { overflow: hidden; }
html.intro-pending::before { content: ""; position: fixed; inset: 0; z-index: 200; background: #04302A; }
html.intro-open body { overflow: hidden; }

.intro { position: fixed; inset: 0; z-index: 210; color: var(--cream); display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(335deg, #0E5A4E 0%, #0A4A41 30%, #063C35 58%, #04302A 100%); transition: background-color .8s var(--ease), opacity .7s var(--ease); }
.intro[data-theme="cream"] { background: linear-gradient(172deg, #fffdf7 0%, #fefaf1 52%, #f1ecd9 100%); color: var(--forest); }
.intro.is-leaving { opacity: 0; pointer-events: none; }

.intro-skip { position: absolute; z-index: 5; top: 18px; right: 18px; font: 600 .78rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.intro-skip:hover { background: rgba(168,124,44,.14); }
.intro-skip:focus-visible, .intro button:focus-visible, .intro a:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.intro-brand { position: absolute; z-index: 5; top: 16px; left: 20px; width: 150px; opacity: .95; }
.intro-brand img { display: block; width: 100%; height: auto; }
.intro-brand .on-cream { display: none; }
.intro[data-theme="cream"] .intro-brand .on-cream { display: block; }
.intro[data-theme="cream"] .intro-brand .on-forest { display: none; }
.intro-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(168,124,44,.18); }
.intro-progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left center; transform: scaleX(0); transition: transform .7s var(--ease); }

.scene { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 1rem;
  padding: clamp(84px, 12vh, 120px) clamp(22px, 7vw, 120px) clamp(48px, 9vh, 90px); max-width: 1200px; margin: 0 auto; opacity: 0; pointer-events: none; }
.scene.is-on { opacity: 1; pointer-events: auto; }
.scene.is-out { opacity: 0; transition: opacity .45s var(--ease); }
.scene .kicker { font: 600 .7rem/1.3 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
.intro[data-theme="cream"] .scene .kicker { color: var(--gold-ink); }
.scene h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.55rem, 1rem + 2.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; max-width: 20ch; color: inherit; }
.scene h2 em { font-style: normal; background-image: var(--g-gold, linear-gradient(110deg,#A87C2C,#D4B063 50%,#A87C2C)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scene p { margin: 0; max-width: 40ch; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); color: inherit; opacity: .86; }

/* entrance: every direct child rises in turn */
.scene.is-on > * { animation: introRise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * .16s + .1s); }
@keyframes introRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* 1 hook */
.clock { font: 700 clamp(3.2rem, 2rem + 8vw, 7.5rem)/1 var(--font-head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--forest); }
.clock small { font-size: .32em; letter-spacing: .08em; margin-left: .35em; color: var(--gold-ink); }

/* 2 pain: notifications pile up */
.pile { --step: clamp(34px, 5.4vh, 46px); position: relative; width: min(520px, 100%); height: calc(var(--step) * 4 + 76px); margin-top: .5rem; }
.note { position: absolute; left: 0; right: 0; padding: 14px 18px; border-radius: 12px; background: var(--cream); color: var(--forest); font: 500 .92rem/1.3 var(--font-body, Poppins, sans-serif);
  box-shadow: 0 14px 34px rgba(0,0,0,.25); border: 1px solid rgba(168,124,44,.4); opacity: 0; transform: translateY(40px) rotate(0deg); }
.note b { color: var(--gold-ink); font-family: var(--font-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.scene.is-on .note { animation: noteIn .7s var(--ease) both; animation-delay: calc(var(--n) * .55s + .2s); }
@keyframes noteIn { from { opacity: 0; transform: translateY(46px) rotate(0); } to { opacity: 1; transform: translateY(calc(var(--n) * var(--step))) rotate(var(--r)); } }
.badge-count { font: 700 clamp(2rem, 1.4rem + 3vw, 3.6rem)/1 var(--font-head); color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.badge-count span { font: 600 .8rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; margin-left: .6rem; color: var(--cream); opacity: .8; }

/* 3 question */
.choices { display: grid; gap: 12px; width: min(560px, 100%); margin-top: .6rem; }
.choice { text-align: left; font: 500 1rem/1.35 var(--font-body, Poppins, sans-serif); color: var(--forest); background: #fff; border: 1px solid var(--stone); border-radius: 14px; padding: 16px 20px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); position: relative; }
.choice::after { content: "\2192"; position: absolute; right: 18px; top: 50%; transform: translate(-6px, -50%); opacity: 0; transition: .25s var(--ease); color: var(--gold-ink); }
.choice:hover, .choice:focus-visible { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(6,60,53,.14); background: #fffdf7; }
.choice:hover::after, .choice:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

/* 5 reveal */
.reveal-logo { width: min(340px, 70vw); }
.reveal-logo img { display: block; width: 100%; height: auto; }
.gold-rule { height: 2px; width: 0; background: var(--gold-soft); }
.scene.is-on .gold-rule { animation: ruleGrow 1.2s var(--ease) .5s forwards; }
@keyframes ruleGrow { to { width: min(340px, 70vw); } }

/* 6 proof */
.proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 5vw, 56px); align-items: center; width: 100%; }
.quote { background: #fff; border: 1px solid var(--stone); border-radius: 16px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 18px 44px rgba(6,60,53,.12); }
.quote p { opacity: 1; font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem); line-height: 1.5; color: var(--forest); max-width: none; }
.quote cite { display: block; margin-top: 14px; font: 600 .72rem/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-style: normal; }
.video-card { position: relative; justify-self: start; width: min(210px, 42vw); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--stone); background: #04302A; box-shadow: 0 18px 44px rgba(6,60,53,.18); }
.video-card img, .video-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: auto 12px 12px 12px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: var(--cream); color: var(--forest); font: 600 .8rem/1 var(--font-head); padding: 10px 14px; cursor: pointer; }
.play i { width: 0; height: 0; border-left: 10px solid var(--gold-ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.scene .proof-note { font-size: .78rem; opacity: .7; }

/* 7 life */
.checks { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; font: 500 clamp(1rem, .9rem + .5vw, 1.25rem)/1.35 var(--font-body, Poppins, sans-serif); }
.checks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold-soft);
  background: radial-gradient(circle, var(--gold-soft) 0 4px, transparent 5px); transform: scale(0); }
.scene.is-on .checks li::before { animation: tick .5s var(--ease) both; animation-delay: calc(var(--i) * .5s + .6s); }
@keyframes tick { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.scene .close-line { font: 700 clamp(1.1rem, .9rem + 1vw, 1.6rem)/1.2 var(--font-head); color: var(--gold-soft); margin-top: .6rem; opacity: 1; }

/* 8 call to action */
.intro-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: .8rem; }
.intro .btn-ghost { background: none; border: 0; color: inherit; font: 500 .95rem var(--font-body, Poppins, sans-serif); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 10px 6px; }
.next-btn { position: absolute; z-index: 5; right: 18px; bottom: 22px; }

@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; }
  .video-card { width: 150px; }
  .intro-brand { width: 120px; }
  .scene { align-content: start; padding-top: 96px; }
}
/* still version: reduced motion or Calm motion. Same content, no movement, you press Next. */
.intro--still .scene, .intro--still .scene * { animation: none !important; transition: none !important; }
.intro--still .note { opacity: 1; transform: translateY(calc(var(--n) * var(--step))) rotate(var(--r)); }
.intro--still .gold-rule { width: min(340px, 70vw); }
.intro--still .checks li::before { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .intro, .intro-progress i { transition: none; } }

/* 3D stage behind the story */
.intro-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0; transition: opacity 1s var(--ease); }
.intro--3d .intro-gl { opacity: 1; }
.scene { z-index: 2; }
.intro--3d .pile { display: none; }
.intro--3d .scene .kicker, .intro--3d .scene h2, .intro--3d .scene p { max-width: min(26ch, 46vw); }
.intro--3d .scene--proof h2, .intro--3d .scene--proof .proof, .intro--3d .scene--cta p { max-width: none; }
@media (max-width: 760px) { .intro--3d .scene { align-content: start; padding-top: 88px; } .intro--3d .scene h2 { max-width: 20ch; } .intro--3d .scene p, .intro--3d .scene .kicker { max-width: 30ch; } }

/* premium backdrop: deep forest with fine linen grain, crisp gold rings and a quiet vignette (no blobs, no particles) */
.intro::before, .intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.intro::before {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(4,48,42,.0) 40%, rgba(4,30,26,.55) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .78  0 0 0 0 .65  0 0 0 0 .36  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .5; mix-blend-mode: soft-light;
}
.intro::after {
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(201,165,92,.07) 58% 58.2%, transparent 58.2%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' fill='none' stroke='%23C9A55C'><circle cx='500' cy='500' r='180' stroke-opacity='.35'/><circle cx='500' cy='500' r='290' stroke-opacity='.22'/><circle cx='500' cy='500' r='410' stroke-opacity='.14'/><circle cx='500' cy='500' r='540' stroke-opacity='.09'/></svg>") no-repeat 72% 50% / min(120vh, 980px);
}
.intro[data-theme="cream"]::after {
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(6,60,53,.05) 58% 58.2%, transparent 58.2%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' fill='none' stroke='%23A87C2C'><circle cx='500' cy='500' r='180' stroke-opacity='.4'/><circle cx='500' cy='500' r='290' stroke-opacity='.26'/><circle cx='500' cy='500' r='410' stroke-opacity='.16'/><circle cx='500' cy='500' r='540' stroke-opacity='.1'/></svg>") no-repeat 72% 50% / min(120vh, 980px);
}
.intro[data-theme="cream"]::before { mix-blend-mode: multiply; opacity: .16; }
@media (max-width: 760px) { .intro::after { background-position: 50% 78%, 50% 78%; } }
@media (prefers-reduced-motion: reduce) { .intro::after { opacity: .8; } }

.intro-sound { position: absolute; z-index: 5; top: 18px; right: 152px; font: 600 .78rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.intro-sound[aria-pressed="true"] { background: rgba(168,124,44,.2); }
.intro-sound:hover { background: rgba(168,124,44,.14); }
.still-note { position: absolute; z-index: 5; left: 20px; bottom: 26px; max-width: min(460px, 70vw); font-size: .82rem; opacity: .9; }
.still-note button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0 2px; }
@media (max-width: 760px) { .intro-sound { top: 64px; right: 18px; } .still-note { bottom: 80px; } }

.intro-voice { position: absolute; z-index: 5; top: 18px; right: 290px; font: 600 .78rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.intro-voice[aria-pressed="true"] { background: rgba(168,124,44,.2); }
.intro-voice:hover { background: rgba(168,124,44,.14); }
.intro--gsap .scene.is-on > * { animation: none; }
@media (max-width: 760px) { .intro-voice { top: 108px; right: 18px; } }

/* merged story copy */
.choice { display: grid; gap: 2px; }
.choice b { font: 600 1rem/1.3 var(--font-head); color: var(--forest); }
.choice span { font-size: .85rem; opacity: .75; }
.founder-chip { display: flex; align-items: center; gap: 12px; margin-top: .4rem; font-size: .8rem; }
.founder-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-soft); }
.founder-chip b { display: block; font: 600 .85rem/1.2 var(--font-head); }
.intro-ctl { position: absolute; z-index: 5; right: 18px; bottom: 22px; display: flex; gap: 10px; }
.intro-ctl button { font: 600 .74rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.intro-ctl button:hover { background: rgba(168,124,44,.14); }
.scene .choices .choice { max-width: none; }
.scene--reframe h2 em, .scene--life h2 em { font-style: normal; }

.intro--3d .scene--reveal h2 { max-width: 15ch; }

.intro-skip, .intro-sound, .intro-voice, .intro-ctl button { transition: background-color .25s var(--ease), transform .25s var(--ease); }

/* start pop-up: one click so the voice can play on its own */
.intro-gate { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 24px;
  background: rgba(4,48,42,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .45s var(--ease); }
.intro-gate.is-gone { opacity: 0; pointer-events: none; }
.gate-card { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 26rem; width: 100%;
  background: var(--cream); color: var(--forest); border: 1px solid var(--gold); border-radius: 18px; padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: gatePop .55s var(--ease) both; }
@keyframes gatePop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.gate-card img { width: min(210px, 56vw); height: auto; }
.gate-card h2 { font: 700 clamp(1.15rem, 1rem + .9vw, 1.5rem)/1.25 var(--font-head); color: var(--forest); margin: .3rem 0 0; }
.gate-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.gate-actions { display: grid; gap: 6px; justify-items: center; margin-top: .5rem; width: 100%; }
.gate-actions .btn { width: 100%; justify-content: center; }
.gate-actions .btn-ghost { color: var(--forest); }
@media (prefers-reduced-motion: reduce) { .gate-card { animation: none; } }

.gate-note { font-size: .82rem !important; color: var(--gold-ink) !important; }
.intro-gate { z-index: 215; position: fixed; }
