/* =========================================================
   Next Stage Funds - stylesheet
   Theme: "stage light" cinema - plum ink, saffron light, coral flare, mint glint
   Z-index bands: 0-9 world/photos, 10-19 tint and framing, 20-29 copy,
   30-39 header/controls, 40+ overlays (menu, sweep transition)
   ========================================================= */
:root {
  --ink: #120d18;
  --ink-2: #1d1526;
  --ink-3: #2a1f37;
  --ink-4: #3a2b4b;
  --saffron: #ffb02e;
  --saffron-d: #d98a12;
  --coral: #ff6b57;
  --coral-d: #d94a39;
  --mint: #b8f0dc;
  --mint-d: #3f9c7e;
  --paper: #f8f3ec;
  --paper-2: #efe6da;
  --text: #241a2c;
  --muted: #6b5e74;
  --on-dark: #e9e1ee;
  --on-dark-muted: #b4a6bf;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(36, 26, 44, .14);
  --flare: linear-gradient(90deg, var(--coral), var(--saffron));
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(18, 13, 24, .45);
  --f-display: "Bellefair", "Cormorant", Georgia, serif;
  --f-body: "Kulim Park", "Segoe UI", Arial, sans-serif;
  --f-mono: "Syne Mono", "Courier New", monospace;
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.7;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.container { position: relative; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--saffron); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- utilities ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--coral-d); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.light { color: var(--saffron); }
.lead { font-size: 1.15rem; color: var(--muted); }
.dark .lead { color: var(--on-dark-muted); }
.accent { color: var(--coral); font-style: italic; }
.dark .accent { color: var(--saffron); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(60px, 7vw, 90px) 0; position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark.alt { background: var(--ink-2); }
.cream { background: var(--paper-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* light leaks: slow drifting colored light in dark sections */
.leak { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.leak::before, .leak::after {
  content: ""; position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  filter: blur(80px); opacity: .22; animation: leak 22s ease-in-out infinite alternate;
}
.leak::before { background: var(--coral); left: -14vmax; top: -18vmax; }
.leak::after { background: var(--saffron); right: -16vmax; bottom: -22vmax; animation-delay: -9s; opacity: .16; }
@keyframes leak { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(8vmax, 6vmax) scale(1.18); } }
.dark > .container, .section > .container { z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--saffron); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--f-body); font-weight: 700; font-size: .98rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--bg); color: var(--fg); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(255, 140, 40, .7);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--flare);
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost::before { background: rgba(255, 176, 46, .16); }
.btn.dark-btn { --bg: var(--ink); --fg: var(--paper); box-shadow: none; }
.btn.dark-btn::before { background: var(--ink-4); }
.btn.sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 700; color: var(--coral-d); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.dark .text-link { color: var(--saffron); }
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- page transition: light sweep ---------- */
.sweep { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: flex; }
.sweep i { flex: 1; background: var(--ink); transform-origin: right; transition: transform .7s var(--ease); }
.sweep i:nth-child(2) { transition-delay: .06s; }
.sweep i:nth-child(3) { transition-delay: .12s; }
.sweep i:nth-child(4) { transition-delay: .18s; }
.sweep b {
  position: absolute; top: 0; bottom: 0; width: 22vw; left: -24vw;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 46, .85), rgba(255, 107, 87, .7), transparent);
  filter: blur(18px); opacity: 0;
}
.sweep img { position: absolute; left: 50%; top: 50%; width: min(420px, 70vw); transform: translate(-50%, -50%); transition: opacity .4s; }
body.is-ready .sweep i { transform: scaleX(0); }
body.is-ready .sweep img { opacity: 0; }
body.is-ready .sweep b { animation: sweepLight 1.1s var(--ease) .05s; }
@keyframes sweepLight { 0% { left: -24vw; opacity: 1; } 100% { left: 110vw; opacity: 0; } }
body.is-leaving .sweep i { transform: scaleX(1); transform-origin: left; }
body.is-leaving .sweep b { animation: sweepLight .7s var(--ease); }
.no-js .sweep { display: none; }

/* ---------- film-free grain substitute: soft lens vignette on dark heroes ---------- */
.stage-meter { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 35; display: flex; flex-direction: column; gap: 8px; pointer-events: none; mix-blend-mode: difference; }
.stage-meter i { display: block; width: 3px; height: 26px; border-radius: 3px; background: rgba(255, 255, 255, .28); position: relative; overflow: hidden; }
.stage-meter i span { position: absolute; inset: 0; background: #fff; transform: scaleY(var(--f, 0)); transform-origin: top; }
@media (max-width: 991.98px) { .stage-meter { display: none; } }

/* ---------- topbar + header ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .86rem; position: relative; z-index: 31; }
.topbar .container { display: flex; justify-content: space-between; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.tb-group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--saffron); }
.topbar span, .topbar a { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; fill: var(--saffron); }
.site-header { position: sticky; top: 0; z-index: 32; background: rgba(18, 13, 24, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); transition: background .4s; }
.home .site-header { position: fixed; left: 0; right: 0; top: var(--tb-h, 40px); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.scrolled, .home .site-header.scrolled { background: rgba(18, 13, 24, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); top: 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 20px; }
.brand img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 10px 14px; border-radius: 999px; position: relative; }
.nav-menu > li > a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--flare); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-menu > li > a:not(.btn):hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--saffron); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { color: var(--ink); padding: 11px 20px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--paper); transition: transform .3s, opacity .3s; }
@media (max-width: 1199.98px) {
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; position: relative; z-index: 45; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 44; background: var(--ink-2);
    flex-direction: column; align-items: stretch; padding: 100px 26px 30px; gap: 4px;
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
    box-shadow: -30px 0 60px rgba(0, 0, 0, .4);
  }
  .nav-menu a { font-size: 1.15rem; padding: 14px 10px; display: block; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-menu > li > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { width: 100%; border-bottom: 0; border-radius: 999px; }
  .menu-open .nav-menu { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 575.98px) { .hide-sm { display: none !important; } .brand img { height: 34px; } :root { --head-h: 72px; } }

/* ---------- reveal system: rack focus + rise ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="focus"] { transform: scale(1.04); filter: blur(12px); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="focus"].in { filter: blur(0); transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }
/* title sequence: words rise through a mask while tracking tightens */
.tseq .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.tseq .w > span { display: inline-block; }
.js .tseq .w > span { transform: translateY(105%); opacity: 0; letter-spacing: .25em; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), letter-spacing 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s)); }
.js .tseq.in .w > span { transform: none; opacity: 1; letter-spacing: inherit; }

/* ---------- photo frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-3); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 10; }
.frame.flare-edge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 176, 46, .28) 50%, transparent 60%); background-size: 260% 100%; background-position: 120% 0; transition: background-position 1.4s var(--ease); pointer-events: none; }
.frame.flare-edge:hover::after, .frame.flare-edge.in::after { background-position: -40% 0; }
.parallax-img { will-change: transform; transform: translateY(var(--py, 0)) scale(1.12); }

/* =========================================================
   HOME: the dolly (pinned 2.5D camera move)
   ========================================================= */
.dolly { position: relative; background: var(--ink); color: var(--paper); }
.dolly-stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.world, .world > * { position: absolute; inset: 0; }
.world { z-index: 0; overflow: hidden; }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.l-plate { transform: scale(calc(1.12 + var(--push, 0) * .3)) translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -6px), 0); transform-origin: 50% 55%; filter: brightness(calc(.55 + var(--lift, 0) * .3)); }
.l-pano { opacity: var(--pano, 0); transform: scale(calc(1.18 - var(--pano, 0) * .08 + var(--fin, 0) * .05)) translate3d(calc(var(--mx, 0) * -10px), 0, 0); filter: blur(calc(var(--soft, 0) * 7px)) brightness(calc(.62 - var(--soft, 0) * .16)); }
.gate { position: absolute; top: 0; bottom: 0; width: 50.4%; overflow: hidden; z-index: 3; }
.gate img { position: absolute; top: 0; height: 100%; width: 198.4%; max-width: none; object-fit: cover; }
.gate.left { left: 0; transform: translate3d(calc(var(--open, 0) * -104% + var(--mx, 0) * 14px), 0, 0) scale(calc(1 + var(--open, 0) * .12)); transform-origin: left center; }
.gate.right { right: 0; transform: translate3d(calc(var(--open, 0) * 104% + var(--mx, 0) * 14px), 0, 0) scale(calc(1 + var(--open, 0) * .12)); transform-origin: right center; }
.gate.left img { left: 0; }
.gate.right img { right: 0; }
.gate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 13, 24, .75), rgba(18, 13, 24, .35)); }
.gate.right::after { background: linear-gradient(270deg, rgba(18, 13, 24, .75), rgba(18, 13, 24, .35)); }
.seam { z-index: 4; left: 50%; width: 3px; transform: translateX(-50%); background: linear-gradient(transparent, var(--saffron), var(--coral), transparent); opacity: calc(var(--seam, .5)); box-shadow: 0 0 40px 10px rgba(255, 176, 46, .5); inset: 0 auto 0 50% !important; }
.flare-streak { z-index: 6; top: 50% !important; bottom: auto !important; height: 3px; background: linear-gradient(90deg, transparent, rgba(184, 240, 220, .2) 20%, #fff 50%, rgba(255, 176, 46, .5) 75%, transparent); filter: blur(1px); opacity: var(--flash, 0); transform: translateY(calc(var(--my, 0) * 30px)) scaleX(calc(.4 + var(--flash, 0) * .8)); box-shadow: 0 0 30px 6px rgba(255, 176, 46, .35); }
.vignette { z-index: 10; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(18, 13, 24, .78) 100%), linear-gradient(180deg, rgba(18, 13, 24, .55), transparent 30%, transparent 62%, rgba(18, 13, 24, .9)); }
.dolly-copy { position: relative; z-index: 20; }
.dolly-panel { padding: 140px 0 90px; }
.dolly-panel .container { max-width: 1140px; }
.dp-intro h1 { max-width: 13ch; margin-bottom: 22px; }
.dp-intro .lead { color: var(--on-dark); max-width: 560px; font-size: 1.2rem; }
.dp-card { max-width: 520px; background: rgba(18, 13, 24, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.dp-card p { color: var(--on-dark-muted); }
.dp-card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.dp-b .dp-card { margin-left: auto; }
.dp-final { text-align: center; }
.dp-final h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.stage-chips { list-style: none; padding: 0; margin: 26px auto 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.stage-chips a { display: inline-flex; gap: 10px; align-items: center; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(18, 13, 24, .45); text-decoration: none; font-weight: 600; transition: background .3s, border-color .3s, transform .3s; }
.stage-chips a b { font-family: var(--f-mono); font-weight: 400; color: var(--saffron); font-size: .8rem; }
.stage-chips a:hover { background: rgba(255, 176, 46, .18); border-color: var(--saffron); transform: translateY(-3px); }
.dp-final .btn-row { justify-content: center; }
.hud { position: absolute; z-index: 25; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(248, 243, 236, .75); pointer-events: none; }
.hud .container { display: flex; justify-content: space-between; align-items: flex-end; }
.hud-count b { color: var(--saffron); font-weight: 400; font-size: 1.4rem; margin-right: 6px; }
.hud-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; opacity: calc(1 - var(--hintOut, 0)); }
.hud-hint i { width: 1px; height: 46px; background: linear-gradient(var(--saffron), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hud-bar { width: 140px; height: 2px; background: rgba(255, 255, 255, .2); position: relative; margin-top: 10px; }
.hud-bar span { position: absolute; inset: 0; background: var(--flare); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* static mode (no JS / reduced motion): one hero frame, panels in normal flow */
.dolly:not(.live) .world { position: absolute; }
.dolly:not(.live) .l-pano, .dolly:not(.live) .flare-streak { display: none; }
.dolly:not(.live) .dolly-panel { min-height: 0; padding: 60px 0; }
.dolly:not(.live) .dp-intro { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 170px; }
.dolly:not(.live) .dp-a, .dolly:not(.live) .dp-b, .dolly:not(.live) .dp-final { background: rgba(18, 13, 24, .82); }
.dolly:not(.live) .hud { display: none; }
.dolly:not(.live) .dolly-stage { min-height: 0; }
/* live mode: tall scroll track, sticky stage, panels stacked on top of each other */
.dolly.live { height: 460vh; }
.dolly.live .dolly-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.dolly.live .dolly-copy { position: absolute; inset: 0; }
.dolly.live .dolly-panel { position: absolute; inset: 0; display: flex; align-items: center; padding: 120px 0 90px; pointer-events: none; }
.dolly.live .dolly-panel.on { pointer-events: auto; }
.dolly.live .dp-intro { opacity: var(--o0, 1); transform: translate3d(0, calc((1 - var(--o0, 1)) * -40px), 0); filter: blur(calc((1 - var(--o0, 1)) * 6px)); }
.dolly.live .dp-a { opacity: var(--o1, 0); transform: translate3d(0, calc((1 - var(--o1, 0)) * 30px), 0); }
.dolly.live .dp-b { opacity: var(--o2, 0); transform: translate3d(0, calc((1 - var(--o2, 0)) * 30px), 0); }
.dolly.live .dp-final { opacity: var(--o3, 0); transform: translate3d(0, calc((1 - var(--o3, 0)) * 40px), 0); }
@media (max-width: 767.98px) {
  .dolly.live { height: 380vh; }
  .dp-card { padding: 22px; }
  .dolly.live .dolly-panel { padding: 110px 0 80px; }
  .stage-chips a { padding: 9px 14px; font-size: .9rem; }
  .hud-hint { display: none; }
}

/* =========================================================
   Inner page banner
   ========================================================= */
.banner { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; isolation: isolate; background: var(--ink); }
.banner .bg { position: absolute; inset: -6% 0; z-index: -2; }
.banner .bg img { width: 100%; height: 100%; object-fit: cover; animation: dollyIn 18s ease-out forwards; }
@keyframes dollyIn { from { transform: scale(1.18); filter: blur(6px) brightness(.6); } 30% { filter: blur(0) brightness(.6); } to { transform: scale(1.02); filter: brightness(.6); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 13, 24, .55), rgba(18, 13, 24, .25) 45%, rgba(18, 13, 24, .92)); }
.banner::after { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 2px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 176, 46, .7), transparent); filter: blur(1px); animation: streak 6s ease-in-out infinite; }
@keyframes streak { 0%, 100% { opacity: .1; transform: scaleX(.4); } 50% { opacity: .9; transform: scaleX(1); } }
.banner .container { padding-top: 150px; padding-bottom: 70px; }
.banner h1 { max-width: 18ch; }
.banner .lead { color: var(--on-dark); max-width: 640px; }
.crumbs { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 10px; margin-bottom: 18px; color: var(--on-dark-muted); list-style: none; padding: 0; }
.crumbs a { color: var(--saffron); text-decoration: none; }
.post-banner h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 22ch; }

/* =========================================================
   Intro split (home + about)
   ========================================================= */
.duo { position: relative; padding-bottom: 60px; }
.duo .frame.tall { width: 78%; }
.duo .frame.small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--paper); }
.duo .tag { position: absolute; left: 62%; top: 12%; z-index: 2; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 18px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.duo .tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 0 rgba(255, 176, 46, .6); animation: ping 2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(255, 176, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 46, 0); } }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ink); stroke: var(--saffron); fill: none; stroke-width: 2.4; margin-top: 2px; }
.dark .checks svg { background: var(--ink-4); }

/* =========================================================
   HOME services: ascending staircase with moving spotlight
   ========================================================= */
.stairs-wrap { position: relative; padding-top: 120px; }
.spotlight { position: absolute; top: -40px; height: calc(100% + 40px); width: 220px; left: var(--sx, 50%); transform: translateX(-50%); pointer-events: none; z-index: 0; transition: left .8s var(--ease); background: conic-gradient(from 165deg at 50% 0%, transparent 0deg, rgba(255, 196, 92, .32) 10deg, rgba(255, 176, 46, .12) 25deg, transparent 30deg); filter: blur(4px); }
.spotlight::before { content: ""; position: absolute; left: 50%; top: -6px; width: 26px; height: 14px; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: var(--saffron); box-shadow: 0 0 30px 10px rgba(255, 176, 46, .5); }
.stairs { list-style: none; padding: 0; margin: 0; display: flex; align-items: flex-end; gap: 10px; position: relative; z-index: 1; min-height: 440px; }
.stairs li { flex: 1; }
.step {
  --h: calc(210px + var(--n) * 42px);
  width: 100%; height: var(--h); border: 0; cursor: pointer; text-align: left; color: var(--on-dark);
  background: linear-gradient(180deg, var(--ink-4), var(--ink-2) 70%); border-radius: 12px 12px 4px 4px;
  position: relative; padding: 16px 0 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  box-shadow: inset 0 3px 0 rgba(255, 176, 46, .35), 0 20px 40px -20px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s;
  font-family: var(--f-body);
}
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--flare); transform: scaleX(var(--prog, 0)); transform-origin: left; }
.step .num { font-family: var(--f-display); font-size: 1.9rem; color: var(--saffron); line-height: 1; }
.step .nm { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 600; font-size: .98rem; letter-spacing: .04em; white-space: nowrap; }
.step svg { width: 26px; height: 26px; stroke: var(--mint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step:hover { transform: translateY(-6px); }
.step[aria-selected="true"] { transform: translateY(-16px); background: linear-gradient(180deg, #4a3760, var(--ink-3) 70%); box-shadow: inset 0 3px 0 var(--saffron), 0 0 0 1px rgba(255, 176, 46, .5), 0 30px 60px -18px rgba(255, 140, 40, .45); }
.step[aria-selected="true"] .nm { color: #fff; }
.stairs-floor { height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 176, 46, .5), transparent); margin-top: 0; position: relative; z-index: 1; }
.stage-panel { position: relative; }
.stage-panel [role="tabpanel"] { display: grid; gap: 26px; }
.stage-panel [role="tabpanel"][hidden] { display: none; }
.sp-photo { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-panel .shown .sp-photo img { animation: rackFocus 1.1s var(--ease); }
.stage-panel .shown .sp-text > * { animation: riseIn .9s var(--ease) both; }
.stage-panel .shown .sp-text > *:nth-child(2) { animation-delay: .08s; }
.stage-panel .shown .sp-text > *:nth-child(3) { animation-delay: .16s; }
.stage-panel .shown .sp-text > *:nth-child(4) { animation-delay: .24s; }
.stage-panel .shown .sp-text > *:nth-child(5) { animation-delay: .32s; }
@keyframes rackFocus { from { filter: blur(16px) brightness(1.4); transform: scale(1.1); } to { filter: none; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sp-label { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); position: absolute; left: 18px; top: 16px; background: rgba(18, 13, 24, .7); padding: 6px 12px; border-radius: 999px; }
.sp-text h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.sp-text p { color: var(--on-dark-muted); }
.mini-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--on-dark); }
@media (max-width: 991.98px) { .stairs-wrap { padding-top: 60px; margin-bottom: 40px; } .stairs { min-height: 390px; } .step { --h: calc(190px + var(--n) * 36px); } }
@media (max-width: 575.98px) { .stairs { gap: 6px; min-height: 330px; } .step { --h: calc(165px + var(--n) * 28px); padding: 12px 0 10px; } .step .num { font-size: 1.4rem; } .step .nm { font-size: .82rem; } .step svg { width: 20px; height: 20px; } .spotlight { width: 140px; } }

/* =========================================================
   Planner
   ========================================================= */
.planner { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.planner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--flare); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line-light); border-radius: 12px; padding: 13px 15px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241a2c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 87, .15); }
.input.invalid { border-color: var(--coral-d); }
.err { color: var(--coral-d); font-size: .86rem; margin-top: 6px; display: none; }
.field.has-err .err { display: block; }
.field.has-err .input { border-color: var(--coral-d); }
.range-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] { flex: 1; accent-color: var(--coral); }
.range-row output { font-family: var(--f-mono); min-width: 64px; text-align: right; }
.plan-out { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); height: 100%; position: relative; overflow: hidden; }
.plan-out .big { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--saffron); line-height: 1; margin: 6px 0 4px; }
.plan-out .muted { color: var(--on-dark-muted); font-size: .95rem; }
.track { position: relative; height: 10px; border-radius: 10px; background: var(--ink-3); margin: 46px 0 70px; }
.track .fill { position: absolute; inset: 0; border-radius: 10px; background: var(--flare); transform: scaleX(var(--now, 0)); transform-origin: left; transition: transform .8s var(--ease); }
.track .mk { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 2px solid var(--mint); transform: translate(-50%, -50%); }
.track .mk span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: .72rem; white-space: nowrap; color: var(--on-dark-muted); text-align: center; line-height: 1.4; }
.track .mk span b { color: var(--paper); font-weight: 400; display: block; }
.track .mk:last-child span { left: auto; right: -8px; transform: none; text-align: right; }
.split { display: flex; height: 12px; border-radius: 12px; overflow: hidden; margin: 10px 0 8px; background: var(--ink-3); }
.split i { display: block; height: 100%; transition: width .8s var(--ease); }
.split .a { background: var(--mint-d); }
.split .b { background: var(--saffron); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.suggest { border-top: 1px solid var(--line-dark); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.suggest strong { color: var(--paper); font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; display: block; }
.planner-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* =========================================================
   Process: light path
   ========================================================= */
.path { position: relative; }
.path svg.line { position: absolute; left: 0; top: 34px; width: 100%; height: 6px; overflow: visible; }
.path svg.line path { stroke: url(#pathGrad); stroke-width: 3; fill: none; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.path-steps { list-style: none; padding: 0; margin: 0; position: relative; }
.path-node { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line-dark); position: relative; transition: background .6s, box-shadow .6s, border-color .6s; margin-bottom: 24px; }
.path-node svg { width: 28px; height: 28px; stroke: var(--on-dark-muted); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.lit .path-node { background: var(--ink-4); border-color: var(--saffron); box-shadow: 0 0 0 8px rgba(255, 176, 46, .1), 0 0 40px rgba(255, 176, 46, .35); }
.lit .path-node svg { stroke: var(--saffron); }
.path-steps h3 { font-size: 1.7rem; }
.path-steps .k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 8px; }
.path-steps p { color: var(--on-dark-muted); font-size: .97rem; }
@media (max-width: 991.98px) {
  .path svg.line { display: none; }
  .path-steps > li { position: relative; padding-left: 92px; min-height: 90px; margin-bottom: 26px; }
  .path-steps .path-node { position: absolute; left: 0; top: 0; }
  .path-steps > li::before { content: ""; position: absolute; left: 33px; top: 72px; bottom: -26px; width: 2px; background: linear-gradient(var(--saffron), transparent); }
  .path-steps > li:last-child::before { display: none; }
}

/* =========================================================
   Testimonials: subtitles over a slow pan
   ========================================================= */
.subs { position: relative; min-height: 700px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--paper); isolation: isolate; background: var(--ink); }
.subs .bg { position: absolute; inset: 0; z-index: -2; }
.subs .bg img { width: 120%; max-width: none; height: 100%; object-fit: cover; animation: pan 40s linear infinite alternate; filter: brightness(.38) saturate(.8); }
@keyframes pan { from { transform: translateX(0); } to { transform: translateX(-16%); } }
.subs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 13, 24, .9), rgba(18, 13, 24, .2) 40%, rgba(18, 13, 24, .95)); }
.subs > .container { padding-top: 40px; padding-bottom: 80px; }
.subs-head { position: relative; padding-top: clamp(80px, 9vw, 110px); }
.subs-head .container { padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5); }
.subtitle-box { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
.subtitle { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; max-width: 900px; margin: 0 auto 18px; background: rgba(18, 13, 24, .62); padding: 10px 20px; border-radius: 6px; color: #fff6dc; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.subtitle .cur { display: inline-block; width: .55em; height: 1.05em; background: var(--saffron); vertical-align: -0.15em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.speaker { font-family: var(--f-mono); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--saffron); }
.subs-ctrl { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(18, 13, 24, .4); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.round-btn:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; position: relative; overflow: hidden; }
.dots button[aria-current="true"] { background: rgba(255, 176, 46, .35); }
.dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--saffron); transform-origin: left; animation: fillDot var(--dur, 8s) linear forwards; }
.subs.paused .dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes fillDot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =========================================================
   Focus list (principles): lines snap into focus at center
   ========================================================= */
.focus-list { list-style: none; padding: 0; margin: 0; counter-reset: fl; }
.focus-list li { display: grid; grid-template-columns: 70px 1fr; gap: 6px 26px; padding: 30px 0; border-top: 1px solid var(--line-light); transition: opacity .6s, filter .6s, transform .6s var(--ease); }
.dark .focus-list li { border-color: var(--line-dark); }
.js .focus-list li { opacity: .28; filter: blur(3px); transform: scale(.98); transform-origin: left; }
.js .focus-list li.near { opacity: 1; filter: none; transform: none; }
.focus-list li::before { counter-increment: fl; content: "0" counter(fl); font-family: var(--f-mono); color: var(--coral-d); grid-row: span 2; padding-top: 12px; }
.dark .focus-list li::before { color: var(--saffron); }
.focus-list h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.focus-list p { margin: 0; color: var(--muted); max-width: 640px; }
.dark .focus-list p { color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-light); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; font-family: var(--f-display); font-size: 1.45rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-light); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--text); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s; }
.faq details[open] summary i { background: var(--saffron); border-color: var(--saffron); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--muted); padding-right: 50px; animation: riseIn .5s var(--ease); }

/* ---------- blog list ---------- */
.post-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.post-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; text-decoration: none; color: inherit; }
.post-item .frame { aspect-ratio: 16 / 11; border-radius: var(--radius); }
.post-item .frame img { transition: transform 1.2s var(--ease), filter .8s; }
.post-item:hover .frame img { transform: scale(1.07); filter: saturate(1.2); }
.post-item .k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--coral-d); }
.post-item h3 { font-size: 1.65rem; margin: 8px 0 10px; transition: color .3s; }
.post-item:hover h3 { color: var(--coral-d); }
.post-item p { color: var(--muted); font-size: .98rem; }
.feature-post { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; margin-bottom: 60px; }
.feature-post .frame { border-radius: 0; box-shadow: none; min-height: 420px; }
.feature-post .fp-text { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.feature-post h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.feature-post p { color: var(--on-dark-muted); }
.feature-post .k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); margin-bottom: 14px; }
.feature-post:hover .frame img { transform: scale(1.05); }
.feature-post .frame img { transition: transform 1.2s var(--ease); }
@media (max-width: 991.98px) { .feature-post { grid-template-columns: 1fr; } .feature-post .frame { min-height: 280px; } }

/* ---------- article ---------- */
.article { font-size: 1.08rem; }
.article h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.4em; }
.article .lede { font-size: 1.28rem; font-family: var(--f-display); line-height: 1.5; color: var(--text); }
.article .frame { margin: 10px 0 36px; aspect-ratio: 16 / 9; }
.article blockquote { margin: 34px 0; padding: 22px 28px; border-left: 3px solid var(--coral); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--f-display); font-size: 1.4rem; line-height: 1.45; }
.article ul { margin: 0 0 1.2em; }
.article li { margin-bottom: 8px; }
.side { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 22px; }
.side-box { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 16px 40px -28px rgba(18, 13, 24, .5); }
.side-box.dark { background: var(--ink); }
.side-box h4 { margin-bottom: 14px; font-size: 1.45rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-bottom: 1px solid var(--line-light); }
.side-links a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-links a:hover { color: var(--coral-d); }
.side-links a span { color: var(--coral); }
.side-post { display: grid; grid-template-columns: 76px 1fr; gap: 14px; text-decoration: none; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.side-post img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; }
.side-post span { font-weight: 600; font-size: .92rem; line-height: 1.4; }
.side-post:hover span { color: var(--coral-d); }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line-light); padding-top: 18px; margin-top: 30px; }

/* =========================================================
   SERVICES page: stacking scenes
   ========================================================= */
.scene-index { position: sticky; top: var(--head-h); z-index: 20; background: rgba(248, 243, 236, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-light); }
.scene-index ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.scene-index ul::-webkit-scrollbar { display: none; }
.scene-index a { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; text-decoration: none; padding: 16px 14px; font-weight: 600; font-size: .93rem; position: relative; color: var(--muted); }
.scene-index a b { font-family: var(--f-mono); font-weight: 400; color: var(--coral-d); font-size: .8rem; }
.scene-index a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--flare); transform: scaleX(0); transition: transform .4s var(--ease); }
.scene-index a.active { color: var(--text); }
.scene-index a.active::after { transform: scaleX(1); }
.scenes { position: relative; background: var(--ink); }
.scene { position: relative; color: var(--on-dark); background: var(--ink); overflow: hidden; scroll-margin-top: calc(var(--head-h) + 56px); }
.scene:nth-child(even) { background: var(--ink-2); }
.scene-inner { padding: clamp(70px, 9vw, 110px) 0; transform-origin: 50% 0; }
.scene .s-num { font-family: var(--f-display); font-size: clamp(5rem, 12vw, 10rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 176, 46, .55); display: block; margin-bottom: 10px; }
.scene h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.scene p { color: var(--on-dark-muted); }
.scene .frame { aspect-ratio: 4 / 4.2; border-radius: var(--radius-lg); }
.scene .frame img { transform: translateY(var(--py, 0)) scale(1.14); }
.scene .s-cap { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); }
.scene .s-cap span { background: rgba(18, 13, 24, .7); padding: 6px 12px; border-radius: 999px; }
.fit-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.fit-list li { display: flex; gap: 10px; align-items: baseline; font-size: .97rem; }
.fit-list li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 10px var(--saffron); transform: translateY(-1px); }
.scene .shade { position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; z-index: 5; }
@media (min-width: 992px) and (min-height: 700px) {
  .scene-inner { padding: 40px 0; }
  .scene .s-num { font-size: clamp(3.4rem, 6vw, 5.4rem); margin-bottom: 4px; }
  .scene h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: .3em; }
  .scene .lead { font-size: 1.05rem; margin-bottom: .7em; }
  .scene p { font-size: .97rem; line-height: 1.65; }
  .scene .fit-list { margin: 14px 0 22px; gap: 6px 20px; }
  .scene .frame { aspect-ratio: auto; height: min(560px, calc(100vh - var(--head-h) - 140px)); }
}
@media (min-width: 1200px) and (min-height: 780px) {
  .js .scene { position: sticky; top: calc(var(--head-h) + 54px); min-height: calc(100vh - var(--head-h) - 54px); display: flex; align-items: center; }
  .js .scene-inner { width: 100%; transform: scale(calc(1 - var(--shade, 0) * .12)); }
  .scene { box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .6); border-radius: 30px 30px 0 0; }
  .scene:first-child { border-radius: 0; box-shadow: none; }
}
@media (max-width: 575.98px) { .fit-list { grid-template-columns: 1fr; } }

/* goal finder */
.finder { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.goal-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.goal-opts button { font: inherit; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--line-light); background: var(--paper); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.goal-opts button[aria-pressed="true"], .goal-opts button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.goal-result { border-radius: var(--radius); background: var(--ink); color: var(--on-dark); padding: 24px; display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.goal-result strong { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--saffron); display: block; }
.goal-result p { margin: 0; color: var(--on-dark-muted); max-width: 520px; }

/* ---------- life stages list (about) ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.stage-grid > div { padding: 34px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); position: relative; overflow: hidden; transition: background .5s; }
.stage-grid > div::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--flare); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stage-grid > div:hover { background: rgba(255, 255, 255, .03); }
.stage-grid > div:hover::before { transform: scaleX(1); }
.stage-grid .k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .2em; color: var(--mint); text-transform: uppercase; }
.stage-grid h3 { margin: 10px 0; font-size: 1.7rem; }
.stage-grid p { color: var(--on-dark-muted); margin: 0; font-size: .97rem; }
@media (max-width: 991.98px) { .stage-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .stage-grid { grid-template-columns: 1fr; } }

/* ---------- mission split ---------- */
.mv { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.mv .bar { width: 2px; align-self: stretch; background: linear-gradient(transparent, var(--saffron), var(--coral), transparent); box-shadow: 0 0 24px rgba(255, 176, 46, .6); }
.mv h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
@media (max-width: 767.98px) { .mv { grid-template-columns: 1fr; } .mv .bar { width: 100%; height: 2px; } }

/* ---------- newsletter band ---------- */
.news-band { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--coral-d), var(--coral) 35%, var(--saffron)); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 60px); isolation: isolate; }
.news-band::after { content: ""; position: absolute; top: -50%; bottom: -50%; width: 30%; left: -40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: rotate(18deg); animation: glint 6s ease-in-out infinite; }
@keyframes glint { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.news-band h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 10px; }
.news-band p { margin: 0; max-width: 520px; }
.news-band .eyebrow { color: var(--ink); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 220px; margin: 0; }
.news-band .input { background: rgba(255, 255, 255, .9); border-color: transparent; }
.news-band .btn { --bg: var(--ink); --fg: var(--paper); box-shadow: none; }
.news-band .btn::before { background: var(--ink-4); }
.form-ok { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(18, 13, 24, .9); color: var(--paper); font-weight: 600; }
.form-ok.show { display: block; animation: riseIn .5s var(--ease); }
.form-ok.light { background: #e6f7ef; color: #1d5a46; border: 1px solid #b6e3cf; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: var(--paper); text-align: center; isolation: isolate; background: var(--ink); }
.cta .bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(18, 13, 24, .2), rgba(18, 13, 24, .9) 75%); }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; margin: 0 auto 18px; }
.cta p { color: var(--on-dark); max-width: 600px; margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; }
.cta .ring { position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 176, 46, .25); transform: translate(-50%, -50%); z-index: -1; animation: breathe 7s ease-in-out infinite; }
.cta .ring.r2 { width: min(520px, 90vw); animation-delay: -3s; border-color: rgba(184, 240, 220, .2); }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .5; } }

/* ---------- contact ---------- */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.svc-hint { display: none; background: var(--paper-2); border-left: 3px solid var(--saffron); padding: 12px 16px; border-radius: 0 10px 10px 0; margin-bottom: 20px; font-size: .95rem; }
.svc-hint.show { display: block; animation: riseIn .5s var(--ease); }
.info-stack { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); height: 100%; position: relative; overflow: hidden; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-item:last-of-type { border: 0; }
.info-item .ic { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); }
.info-item svg { width: 20px; height: 20px; fill: var(--saffron); }
.info-item h4 { font-size: 1.2rem; margin: 0 0 2px; }
.info-item a, .info-item p { color: var(--on-dark-muted); text-decoration: none; margin: 0; }
.info-item a:hover { color: var(--saffron); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--coral); }

/* ---------- subscribe pages ---------- */
.sub-wrap { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.sub-wrap .frame { border-radius: 0; box-shadow: none; min-height: 100%; }
.sub-wrap .sub-form { padding: clamp(28px, 5vw, 56px); }
.perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; }
.perks li::before { content: "\2726"; color: var(--coral); }
@media (max-width: 991.98px) { .sub-wrap { grid-template-columns: 1fr; } .sub-wrap .frame { min-height: 280px; } }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 60px; }
.toc { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 16px 40px -28px rgba(18, 13, 24, .5); }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.toc li { margin-bottom: 8px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--coral-d); }
.legal-body h2 { font-size: 1.9rem; margin-top: 1.3em; scroll-margin-top: calc(var(--head-h) + 20px); }
.legal-body p, .legal-body li { color: #4a3f52; }
@media (max-width: 991.98px) { .legal { grid-template-columns: 1fr; gap: 30px; } .toc { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 90px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--saffron), var(--coral), transparent); }
.f-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: var(--paper); font-size: 1.35rem; margin-bottom: 18px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.f-links a { text-decoration: none; transition: color .3s, padding .3s; }
.f-links a:hover { color: var(--saffron); padding-left: 4px; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.f-contact li { display: flex; gap: 10px; }
.f-contact svg { flex: 0 0 16px; width: 16px; height: 16px; fill: var(--saffron); margin-top: 5px; }
.f-contact a { text-decoration: none; }
.f-contact a:hover { color: var(--saffron); }
.f-form { display: flex; gap: 8px; margin-top: 14px; }
.f-form .input { background: var(--ink-2); border-color: var(--line-dark); color: var(--paper); padding: 11px 14px; }
.f-form .btn { padding: 11px 16px; }
.site-footer .form-ok { background: var(--ink-3); }
.f-bottom { margin-top: 70px; border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.f-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.f-bottom a { text-decoration: none; }
.f-bottom a:hover { color: var(--saffron); }
.f-word { font-family: var(--f-display); font-size: clamp(3rem, 13vw, 11rem); line-height: .9; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 176, 46, .22); letter-spacing: .06em; white-space: nowrap; margin-top: 50px; user-select: none; overflow: hidden; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 36; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--saffron); color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: 0 14px 30px -12px rgba(255, 140, 40, .8); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- mobile gutters ---------- */
@media (max-width: 767.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
  .row.g-5, .row.gy-5 { --bs-gutter-y: 2.2rem; }
  body { font-size: 16px; }
  .duo .frame.tall { width: 84%; }
  .duo .tag { left: auto; right: 0; top: 4%; }
  .subtitle-box { min-height: 300px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="focus"], .js .tseq .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; letter-spacing: inherit !important; }
  .js .focus-list li { opacity: 1; filter: none; transform: none; }
  .parallax-img, .scene .frame img { transform: none !important; }
  .leak, .sweep { display: none; }
}
@media (min-width: 992px) { .text-lg-end { text-align: right; } }
