/* ═════════════════════ Extra scroll scenes ═════════════════════ */

/* ───────── Progress thread + section dots ───────── */
.progress-thread { position: fixed; z-index: 44; left: 0; top: 0; width: 100%; height: 2px; pointer-events: none; }
.progress-thread span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 calc(4px + var(--beat, 0) * 10px) var(--gold-2); }
.dots { position: fixed; z-index: 44; right: 14px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 12px; opacity: 0; transition: opacity .6s; }
.dots.show { opacity: 1; }
@media (min-width: 900px) { .dots { display: flex; } }
.dots button { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; transition: transform .4s var(--ease), background .4s; }
.dots button.on { background: var(--gold-2); transform: scale(1.5); }
.dots button span { position: absolute; right: 20px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); opacity: 0; transition: .35s var(--ease); pointer-events: none; background: rgba(28, 6, 13, .75); padding: 4px 8px; border-radius: 4px; }
.dots button:hover span { opacity: 1; transform: translate(0, -50%); }

/* ───────── Floating sprigs ───────── */
.float-sprig { position: absolute; width: clamp(70px, 14vw, 150px); height: clamp(70px, 14vw, 150px); color: var(--gold); opacity: .4; pointer-events: none; }

/* ───────── FOREVER mask zoom ───────── */
.fv-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ivory); }
#fvSvg { position: absolute; inset: 0; width: 100%; height: 100%; }
#fvText, #fvOutline { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
#fvOutline { fill: none; stroke: var(--gold); stroke-width: 1; }
.fv-kicker { position: absolute; left: 0; right: 0; top: 27%; text-align: center; color: var(--wine-500); }
.fv-cap { position: absolute; left: 0; right: 0; bottom: 15%; text-align: center; opacity: 0; padding: 0 var(--gutter); }
.fv-cap .script { font-size: clamp(54px, 12vw, 110px); filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .5)); }
.fv-cap .tiny-caps { color: var(--ivory); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }

/* ───────── Kinetic lines + marquee ───────── */
#lines { position: relative; overflow: hidden; padding: clamp(70px, 12vh, 130px) 0 clamp(50px, 8vh, 90px); background: linear-gradient(180deg, var(--paper), var(--blush)); }
.kline { font-family: var(--serif); font-weight: 500; white-space: nowrap; line-height: 1.02; font-size: clamp(64px, 16vw, 220px); color: var(--wine-700); will-change: transform; letter-spacing: -.02em; }
.kline.k2 { font-family: var(--script); font-weight: 400; color: var(--gold); text-align: right; font-size: clamp(70px, 17vw, 240px); line-height: 1.2; }
.kline.k3 { color: transparent; -webkit-text-stroke: 1.2px var(--wine-700); }
.marquee { position: relative; overflow: hidden; padding: 14px 0; margin-top: clamp(40px, 7vh, 80px); transform: rotate(-2.5deg) scale(1.05); }
.marquee.m1 { background: var(--wine-800); color: var(--champagne); }
.marquee.m2 { margin-top: -8px; transform: rotate(2deg) scale(1.05); background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold)); color: var(--wine-900); }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-track span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 4.5vw, 40px); padding: 0 .6em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.2em; }
.mq-track span::after { content: "✦"; font-style: normal; font-size: .6em; color: var(--gold-2); }
.marquee.m2 .mq-track span::after { color: var(--wine-700); }
.mq-track .bnw { font-family: var(--bn); font-style: normal; }

/* ───────── Journey word highlight ───────── */
#journey { background: var(--blush); }
.journey-text { max-width: 980px; margin: 22px auto 0; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 5.4vw, 60px); line-height: 1.22; color: var(--wine-800); }
.journey-text .jw { opacity: .14; }
.journey-text .jw.hl { color: var(--wine-500); font-style: italic; }

/* ───────── Curtain reveal ───────── */
.ct-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--wine-950); }
.ct-photo { position: absolute; inset: 0; }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); filter: brightness(.82); }
.ct-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 6, 13, .1) 40%, rgba(28, 6, 13, .85)); }
.ct-text { position: absolute; left: 0; right: 0; bottom: 11%; text-align: center; padding: 0 var(--gutter); }
.ct-text .bn { font-family: var(--bn); color: var(--gold-2); font-size: 20px; }
.ct-text h2 { font-size: clamp(56px, 13vw, 120px); margin: 2px 0 6px; }
.ct-text .tiny-caps { color: var(--champagne); }
.ct-half {
  position: absolute; top: 0; bottom: 0; width: 51%; z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 20%, rgba(255, 255, 255, .06) 45%, transparent 70%, rgba(0, 0, 0, .3)),
    linear-gradient(180deg, var(--wine-700), var(--wine-800) 60%, var(--wine-900));
  background-size: 18% 100%, 100% 100%;
  box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .4);
}
.ct-half::after { /* gold trim */
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 6px, var(--gold-2) 6px 9px, var(--gold-3) 9px 12px);
  box-shadow: 0 0 12px rgba(0, 0, 0, .5);
}
.ct-half.l { left: 0; transform-origin: left top; }
.ct-half.l::after { right: 0; }
.ct-half.r { right: 0; transform-origin: right top; }
.ct-half.r::after { left: 0; }
.ct-tassel { position: absolute; top: 56%; width: 26px; height: 64px; background: linear-gradient(var(--gold-2), var(--gold-3)); clip-path: polygon(35% 0, 65% 0, 65% 30%, 100% 100%, 0 100%, 35% 30%); }
.ct-half.l .ct-tassel { right: 20px; }
.ct-half.r .ct-tassel { left: 20px; }
.ct-valance {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 64px;
  background:
    radial-gradient(circle at 50% 0, var(--wine-700) 0 34px, transparent 35px) 0 12px / 70px 52px repeat-x,
    linear-gradient(var(--wine-900), var(--wine-700)) 0 0 / 100% 30px no-repeat;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.ct-valance::after { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 3px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3)); }
.ct-hint { position: absolute; z-index: 4; left: 0; right: 0; bottom: 6%; text-align: center; color: var(--champagne-2); }

/* ───────── Ritual stacking cards ───────── */
#rituals { background: var(--ivory); overflow: visible; }
.stack { max-width: 760px; margin: 0 auto; display: grid; gap: 7vh; padding-bottom: 4vh; }
.ritual {
  position: sticky; top: calc(11vh + var(--i) * 12px);
  min-height: min(60vh, 500px); border-radius: 28px; padding: clamp(26px, 5vw, 48px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  box-shadow: 0 -10px 40px -20px rgba(43, 29, 31, .35), 0 30px 60px -30px rgba(43, 29, 31, .5);
  transform-origin: 50% 0; will-change: transform; overflow: hidden;
}
.ritual::before { content: ""; position: absolute; inset: 12px; border-radius: 18px; border: 1px solid currentColor; opacity: .25; pointer-events: none; }
.ritual .r-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ritual .r-num { font-family: var(--serif); font-size: clamp(64px, 14vw, 120px); line-height: .8; opacity: .22; font-weight: 600; }
.ritual .r-ico { width: 56px; height: 56px; }
.ritual .bn { font-family: var(--bn); font-size: 18px; opacity: .85; }
.ritual h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 8vw, 64px); line-height: 1; margin: 4px 0 0; }
.ritual .r-text { font-size: clamp(18px, 2.6vw, 22px); line-height: 1.5; max-width: 30em; font-style: italic; }
.ritual .r-shade { position: absolute; inset: 0; background: #1c060d; opacity: 0; pointer-events: none; }
.ritual.t-haldi { background: linear-gradient(150deg, #f6d77a, #e2a93b); color: #4a2a06; }
.ritual.t-wine { background: linear-gradient(150deg, var(--wine-700), var(--wine-900)); color: var(--champagne); }
.ritual.t-blush { background: linear-gradient(150deg, #f6dcd8, #e6b2b4); color: var(--wine-800); }
.ritual.t-gold { background: linear-gradient(150deg, #f1dfae, #c9a45c); color: var(--wine-900); }
.ritual.t-deep { background: linear-gradient(150deg, #a3243b, #5b1a2e); color: #ffe9e4; }
.ritual.t-ivory { background: linear-gradient(150deg, #fffaf2, #efe2cf); color: var(--wine-700); }

/* ───────── 3D memory ring ───────── */
#ring { background: radial-gradient(ellipse at 50% 60%, var(--wine-700), var(--wine-950) 70%); color: var(--ivory); }
.ring-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.ring-head { position: absolute; top: 8vh; left: 0; right: 0; text-align: center; z-index: 2; padding: 0 var(--gutter); }
.ring-head .tiny-caps { color: var(--champagne-2); }
.ring-head .title { color: var(--champagne); margin-top: 4px; }
.ring-scene { position: absolute; inset: 0; top: 14vh; perspective: 1400px; display: grid; place-items: center; }
.ring { --cw: clamp(140px, 34vw, 230px); position: relative; width: var(--cw); height: calc(var(--cw) * 1.3); transform-style: preserve-3d; will-change: transform; }
.ring-card { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(233, 207, 143, calc(.4 + var(--beat, 0) * .5)); background: var(--wine-900); cursor: zoom-in; }
.ring-card img { width: 100%; height: 100%; object-fit: cover; }
.ring-card::after { content: ""; position: absolute; inset: 0; background: var(--wine-950); opacity: var(--shade, 0); pointer-events: none; }

/* ───────── Mandala portal ───────── */
#mandala { background: var(--wine-950); }
.md-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, var(--wine-800), var(--wine-950) 65%); }
.md { width: min(92vw, 82vh); height: min(92vw, 82vh); overflow: visible; }
.md .ln { fill: none; stroke: url(#goldGrad); stroke-width: 1.1; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.md .dt { fill: var(--gold-2); opacity: 0; }
.md-pulse { transform-origin: 250px 250px; transform: scale(calc(1 + var(--beat, 0) * .04)); }
.md-center { position: absolute; text-align: center; opacity: 0; padding: 34px 30px; border-radius: 50%; background: radial-gradient(circle, rgba(28,6,13,.95) 30%, rgba(28,6,13,.7) 55%, transparent 72%); }
.md-center .bn { font-family: var(--bn); color: var(--gold-2); font-size: clamp(18px, 3vw, 26px); }
.md-center .script { font-size: clamp(40px, 8vw, 70px); }
.md-portal { position: absolute; inset: 0; background: var(--ivory); clip-path: circle(0% at 50% 50%); }
