/* ============================================================
   CAMPORA — light editorial direction
   Cream canvas · forest-green ink · scarce teal/gold/rose
   ============================================================ */

:root {
  /* canvas (warm cream — never pure white) */
  --cream:    #FAF9F4;
  --cream-2:  #F1EFE7;          /* banding */
  --panel:    #FFFFFF;          /* depicted product surfaces only */
  /* section background progression — warms & deepens toward the dark finale */
  --bg-1: #FAF9F4; --bg-2: #F2EFE6; --bg-3: #ECE8DB; --bg-4: #E5E0D1; --bg-night: #0E2017;
  --line:     #E4E0D4;
  --line-soft:#EDEADF;

  /* forest = ink + accent */
  --ink:      #16201B;
  --ink-2:    #4A524C;
  --faint:    #8A9089;
  --forest:   #1C3D30;
  --forest-500:#2F6B4F;
  --forest-300:#6FBF94;

  /* punctuation (scarce) */
  --teal:     #0E9C8E;
  --teal-bright:#1FBDAB;
  --gold:     #C79A45;
  --gold-bright:#E0B567;
  --rose:     #C24A41;
  --good:     #1D764A;
  --amber:    #B8860B;

  /* type */
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;  /* app serif display */
  --f-edit:    "Outfit", ui-sans-serif, system-ui, sans-serif;   /* app body — clean, not cursive */
  --f-ui:      "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* scale */
  --eyebrow:  clamp(0.66rem, 0.62rem + 0.18vw, 0.74rem);
  --lede:     clamp(1.04rem, 0.96rem + 0.5vw, 1.3rem);
  --h2:       clamp(2.1rem, 1.2rem + 3.7vw, 4.1rem);
  --h1:       clamp(2.7rem, 1.3rem + 6.1vw, 5.9rem);

  --gutter:   clamp(1.25rem, 5vw, 6rem);
  --section:  clamp(5rem, 10vw, 10.5rem);
  --nav-h:    80px;                                        /* fixed nav height when scrolled (compact) */
  --pin-top:  calc(var(--nav-h) + clamp(1.2rem, 3vh, 2.4rem));  /* clearance so pinned section eyebrows clear the nav */

  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(28,61,48,0.05), 0 22px 48px -30px rgba(28,61,48,0.28);
  --shadow-soft: 0 1px 2px rgba(28,61,48,0.04), 0 14px 30px -24px rgba(28,61,48,0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-ui); font-size: 16px; line-height: 1.6;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1,h2,h3,p,ul,ol,dl,figure,blockquote,dd,dt { margin: 0; }
ul,ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; }
em { font-style: italic; }
b { font-weight: 600; }
::selection { background: var(--gold-bright); color: #2a1e07; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* atmosphere — barely-there paper grain */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--teal)); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--cream) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: var(--line);
  padding-top: clamp(0.7rem,1.3vw,0.95rem); padding-bottom: clamp(0.7rem,1.3vw,0.95rem);
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--forest);
  font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.nav__mark { color: var(--teal); display: inline-flex; }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; font-size: 0.84rem; color: var(--ink-2); }
.nav__links a { position: relative; padding: 0.2rem 0; transition: color 0.3s; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-2px; height:1.5px; width:0; background: var(--gold); transition: width 0.35s var(--ease); }
.nav__links a:hover { color: var(--forest); } .nav__links a:hover::after { width: 100%; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--f-ui);
  font-weight: 500; font-size: 0.9rem; padding: 0.8em 1.5em; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.btn--solid { background: var(--forest); color: #F4F1E8; box-shadow: 0 12px 28px -16px rgba(28,61,48,0.6); }
.btn--solid:hover { transform: translateY(-2px); background: var(--forest-500); box-shadow: 0 18px 36px -16px rgba(28,61,48,0.6); }
.btn--line { border-color: rgba(28,61,48,0.28); color: var(--forest); }
.btn--line:hover { border-color: var(--forest); background: rgba(111,191,148,0.1); }
.btn--linelight { border-color: rgba(244,241,232,0.35); color: #F4F1E8; }
.btn--linelight:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn--lg { font-size: 1.02rem; padding: 0.95em 2em; }
.btn__down { transition: transform 0.4s var(--ease); }
.btn--line:hover .btn__down { transform: translateY(3px); }

/* ---------- SHARED TYPE ---------- */
.eyebrow { font-family: var(--f-ui); font-size: var(--eyebrow); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest-500);
  display: inline-flex; align-items: center; gap: 0.7em; margin-bottom: 1.4rem; }
.eyebrow--light { color: rgba(244,241,232,0.7); }
.eyebrow .idx { color: var(--gold); font-variant-numeric: tabular-nums; }
.eyebrow::before { content:""; width: 24px; height: 1.5px; background: var(--gold); opacity: 0.7; }
.display { font-family: var(--f-display); font-weight: 500; font-size: var(--h2); line-height: 1.0;
  letter-spacing: -0.018em; color: var(--forest); max-width: 18ch; }
.display em { font-style: italic; color: var(--teal); }
.lede { font-family: var(--f-edit); font-size: var(--lede); line-height: 1.52; color: var(--ink-2); max-width: 46ch; margin-top: 1.5rem; }
.lede--wide { max-width: 60ch; }
.aside { margin-top: 1.4rem; font-family: var(--f-edit); font-style: italic; color: var(--faint); font-size: 1.02rem; }
.pull { margin-top: 1.6rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem,2.4vw,2rem);
  line-height: 1.2; color: var(--forest); max-width: 18ch; }

/* ---------- INSTRUMENTS (light product cards) ---------- */
.instrument { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; }
.instrument__bar { display: flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.2rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft); background: var(--cream); }
.instrument__bar--forest { background: var(--forest); color: #EAF0EB; border-bottom-color: transparent; }
.instrument__bar--ai { color: var(--teal); }
.instrument__bar--ai::before, .instrument__bar--forest::before { content:""; width:7px; height:7px; border-radius:50%; background: currentColor; }
.chip { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; padding: 0.35em 0.8em; border-radius: 999px;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.chip--good { background: #E8F4ED; border-color: #CCE5D6; color: var(--good); }
.chip--solid { background: var(--forest); border-color: var(--forest); color: #EAF0EB; }
.chip--ghost { background: transparent; }
.chip--ai { background: #E2F3F1; border-color: #BFE3DE; color: var(--teal); }
.good { color: var(--good); }

.img-placeholder { border: 1.5px dashed var(--line); border-radius: 12px; padding: 1.4rem; text-align: center;
  background: var(--cream-2); display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
.img-placeholder--sm { padding: 0.9rem; margin-top: 0.8rem; }
.img-placeholder__t { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.img-placeholder__d { font-size: 0.72rem; color: var(--faint); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 96svh; display: flex; align-items: center;
  padding: clamp(8rem,16vh,12rem) var(--gutter) clamp(4rem,8vh,7rem);
  background: radial-gradient(120% 80% at 88% 12%, rgba(31,189,171,0.08), transparent 52%),
    radial-gradient(80% 60% at 0% 100%, rgba(224,181,103,0.10), transparent 60%), var(--cream); }
.hero__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero__title { font-family: var(--f-display); font-weight: 500; font-size: var(--h1); line-height: 0.96;
  letter-spacing: -0.025em; color: var(--forest); margin: 0.3rem 0 0; max-width: 17ch; }
.hero__title span { display: block; }
.hero__title em { color: var(--teal); font-style: italic; }
.hero__lede { font-family: var(--f-edit); font-size: clamp(1.1rem,0.96rem+0.7vw,1.42rem); line-height: 1.5;
  color: var(--ink-2); max-width: 50ch; margin-top: 1.8rem; }
.hero__values { list-style: none; margin: 1.9rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.05rem; max-width: 50ch; }
.hero__values li { position: relative; padding-left: 1.65rem; }
.hero__values li::before { content:""; position: absolute; left: 0; top: 0.5rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(14,156,142,0.13); }
.hero__values b { display: block; font-family: var(--f-ui); font-size: 1.06rem; font-weight: 700; color: var(--forest); letter-spacing: -0.005em; }
.hero__values span { display: block; font-family: var(--f-edit); font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; margin-top: 0.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__loopwords { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 3rem; font-size: 0.82rem;
  letter-spacing: 0.04em; color: var(--faint); }
.hero__loopwords span { position: relative; }
.hero__loopwords span + span::before { content:"·"; position: absolute; left: -0.85rem; color: var(--forest-300); }
/* hero product preview — the dip that starts the story */
.hero__preview { position: absolute; right: 5vw; top: 50%; translate: 0 -50%; width: min(38vw, 430px); z-index: 1; }
.hp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.hp-card--main { padding: 1.2rem 1.3rem; transform: rotate(-1.4deg); }
.hp-bar { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--ink-2); }
.hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.hp-kpis { display: flex; gap: 2rem; margin: 1rem 0 0.4rem; }
.hp-kpis span { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.hp-kpis b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; color: var(--forest); }
.hp-down b { color: var(--rose); }
.hp-spark { width: 100%; height: 58px; margin-top: 0.4rem; }
.hp-spark path { stroke: var(--rose); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.hp-pill { margin-top: 0.5rem; font-size: 0.74rem; color: var(--faint); }
.hp-pill b { color: var(--rose); }
.hp-card--insight { position: absolute; bottom: -26px; left: -30px; padding: 0.8rem 1rem; display: flex;
  gap: 0.65rem; align-items: center; transform: rotate(2.2deg); max-width: 250px; }
.hp-ico { width: 30px; height: 30px; border-radius: 8px; flex: none; background: linear-gradient(135deg, #6b4a2e, #4a3120); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.hp-card--insight b { display: block; font-size: 0.86rem; color: var(--forest); }
.hp-card--insight small { display: block; font-size: 0.74rem; color: var(--faint); }
.hp-card--product { position: absolute; top: -66px; right: -14px; width: 192px; padding: 0; overflow: hidden; transform: rotate(3.5deg); z-index: 3; }
.hp-card--product .fc__img { display: block; height: 92px; }
.hp-prod { padding: 0.6rem 0.78rem; }
.hp-prod b { display: block; font-size: 0.8rem; color: var(--forest); line-height: 1.2; }
.hp-prodstats { display: flex; gap: 1rem; margin-top: 0.45rem; }
.hp-prodstats small { display: block; font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); }
.hp-prodstats i { font-family: var(--f-display); font-size: 1rem; font-style: normal; color: var(--forest); }
.hp-prodstats .hot { color: var(--rose); }
.hero__scrollcue { position: absolute; left: var(--gutter); bottom: 2.2rem; display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--faint); }
.hero__scrollcue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scrollcue i::after { content:""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--gold); animation: scrolldrop 2.2s var(--ease) infinite; }
@keyframes scrolldrop { 0% { top: -40%; } 60%, 100% { top: 120%; } }

/* ---------- PLATFORM SPINE ---------- */
.platform { padding: var(--section) var(--gutter); background: var(--cream-2); }
.platform__head { max-width: 1200px; margin: 0 auto 4rem; }
.platform__head .lede { max-width: 58ch; }
.spine { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.8rem, 2vw, 2rem); position: relative; }
.spine::before { content:""; position: absolute; left: 4%; right: 4%; top: 13px; height: 1.5px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--gold) 30%, var(--teal) 65%, var(--good) 100%);
  opacity: 0.5; }
.stage { position: relative; padding-top: 64px; display: flex; flex-direction: column; }
/* the dip→recovery numbers — demoted to a small annotation sitting on the loop thread */
.stage__proof { position: absolute; top: 24px; left: 0; display: flex; flex-direction: row; align-items: baseline; gap: 0.4rem; }
.stage__proof b { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; line-height: 1; color: var(--ink-2); }
.stage__proof small { font-size: 0.66rem; color: var(--faint); letter-spacing: 0.02em; }
.stage__proof--down b { color: var(--rose); }
.stage__proof--up b { color: var(--good); }
.stage__proof--ai b { color: var(--teal); }
.stage__node { position: absolute; top: 7px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream-2); border: 2px solid var(--forest-500); z-index: 2; }
.stage:first-child .stage__node { border-color: var(--rose); }
.stage__node--end { border-color: var(--good); background: var(--good); }
.stage__kicker { font-family: var(--f-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); }
.stage__title { font-family: var(--f-display); font-size: clamp(1.28rem,1.7vw,1.55rem); font-weight: 400;
  color: var(--forest); letter-spacing: -0.01em; margin-top: 0.35rem; line-height: 1.08; }
.stage__promise { font-family: var(--f-edit); font-size: 0.92rem; color: var(--ink-2); margin-top: 0.6rem; line-height: 1.45; }
/* features — the primary content of each stage */
.stage__feats { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.62rem; }
.stage__feats li { font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.1rem); font-weight: 600; color: var(--forest);
  display: flex; align-items: center; gap: 0.6rem; line-height: 1.25; }
.stage__feats li::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--forest-300); flex: none; }
.stage:nth-child(1) .stage__feats li::before { background: var(--rose); }
.stage:nth-child(2) .stage__feats li::before { background: var(--gold); }
.stage:nth-child(3) .stage__feats li::before { background: var(--teal); }
.stage:nth-child(4) .stage__feats li::before { background: var(--forest-300); }
.stage:nth-child(5) .stage__feats li::before { background: var(--good); }
.platform__handoff { max-width: 1200px; margin: 4rem auto 0; text-align: center; font-family: var(--f-edit);
  font-style: italic; font-size: 1.15rem; color: var(--ink-2); }
.platform__handoff a { color: var(--teal); font-style: normal; border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }

/* ---------- PLATFORM — all-in-one showcase (simplified) ---------- */
.plat__featured { max-width: 1200px; margin: clamp(2.5rem,5vw,4rem) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem,2vw,1.6rem); }
/* light frosted-glass cards — blur+saturate, translucent base, crisp white rim, soft accent glow */
.platf { position: relative; padding: clamp(1.6rem,2.6vw,2.3rem); border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(78% 64% at 100% -8%, color-mix(in oklab, var(--accent, var(--teal)) 40%, transparent) 0%, transparent 56%),
    linear-gradient(160deg, hsl(0deg 0% 100% / 0.64) 0%, hsl(38deg 34% 96% / 0.40) 62%);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(0deg 0% 100% / 0.65);
  box-shadow: 0 18px 46px -20px rgba(28,61,48,0.22), inset 0 1px 0 hsl(0deg 0% 100% / 0.9);
  transition: transform 0.24s var(--ease), box-shadow 0.24s; }
.platf:hover { transform: translateY(-4px); box-shadow: 0 28px 62px -22px rgba(28,61,48,0.28), inset 0 1px 0 hsl(0deg 0% 100% / 0.95); }
.platf--teal { --accent: var(--teal); } .platf--forest { --accent: var(--good); } .platf--rose { --accent: var(--rose); } .platf--amber { --accent: var(--amber); } .platf--gold { --accent: var(--gold); }
.platf__eyebrow { font-family: var(--f-ui); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--accent, var(--teal)) 76%, var(--forest)); }
.platf__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem,1.1rem+1vw,1.95rem); color: var(--forest);
  letter-spacing: -0.02em; margin: 0.5rem 0 0.7rem; line-height: 1.1; }
.platf__desc { font-family: var(--f-edit); font-size: 1rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 1.2rem; }
.platf__sub { display: flex; flex-wrap: wrap; gap: 0.45rem 0.5rem; margin: 0; }
.platf__sub a { font-family: var(--f-ui); font-size: 0.8rem; font-weight: 600; color: var(--forest); text-decoration: none;
  padding: 0.34rem 0.8rem; border-radius: 999px; background: hsl(0deg 0% 100% / 0.5);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, hsl(0deg 0% 100% / 0.5));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.2s, border-color 0.2s; }
.platf__sub a:hover { background: hsl(0deg 0% 100% / 0.82); border-color: color-mix(in oklab, var(--accent) 45%, transparent); }
@media (prefers-reduced-transparency: reduce) {
  .platf { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line); }
}
.plat__rest { max-width: 1200px; margin: clamp(2rem,4vw,3rem) auto 0; }
.plat__rest-k { font-family: var(--f-ui); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 1.1rem; }
.plat__more { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(0.9rem,1.6vw,1.3rem); }
.platf--sm { padding: clamp(1.2rem,1.8vw,1.5rem); }
.platf--sm .platf__title { font-size: clamp(1.1rem,1rem+0.4vw,1.35rem); margin: 0.4rem 0 0.5rem; }
.platf--sm .platf__desc { font-size: 0.9rem; margin-bottom: 0.9rem; }
@media (max-width: 900px) { .plat__featured { grid-template-columns: 1fr; } .plat__more { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .plat__more { grid-template-columns: 1fr; } }

/* ---------- ACT SHELL ---------- */
.act { padding: var(--section) var(--gutter); }
.act[data-theme="lightband"] { background: var(--cream-2); }
.act__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.08fr);
  gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.act__grid--rev .act__copy { order: 2; }
.act__head { max-width: 1200px; margin: 0 auto clamp(2.6rem,5vw,4rem); }
.act__head--wide .lede { max-width: 64ch; }

/* Act 1 — chart */
.chartcard__body { padding: 1.4rem; }
.legend { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.68rem; color: var(--faint); }
.legend i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; margin-left: 0.5rem; }
.legend__ty { background: var(--rose); } .legend__ly { background: var(--faint); } .legend__bg { background: var(--forest-300); }
.kpis { display: flex; gap: 1.6rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.kpi { display: flex; flex-direction: column; }
.kpi span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.kpi b { font-family: var(--f-display); font-size: clamp(1.6rem,2.4vw,2.1rem); font-weight: 600; color: var(--forest); line-height: 1.1; }
.kpi--down b { color: var(--rose); }
.kpi__hint { font-size: 0.7rem; color: var(--rose); }
.linechart { height: 180px; }
.linechart svg { width: 100%; height: 100%; }
.lc__grid line { stroke: var(--line-soft); stroke-width: 1; }
.lc__budget { stroke: var(--forest-300); stroke-width: 1.5; stroke-dasharray: 3 4; }
.lc__ly { stroke: var(--faint); stroke-width: 1.5; opacity: 0.7; }
.lc__ty { stroke: var(--rose); stroke-width: 2.5; stroke-linecap: round; }
.lc__dot { fill: var(--rose); }
.storerow { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.storerow__name { font-weight: 600; color: var(--forest); }
.storerow__pill { font-size: 0.8rem; color: var(--faint); display: inline-flex; align-items: center; gap: 0.5rem; }
.storerow__pill b { color: var(--rose); }
.storerow__pill i { color: var(--faint); }

/* Act 2 — briefing */
.briefing__body { padding: 1.4rem; }
.briefing__eyebrow { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 0.5rem; }
.briefing__eyebrow + .briefing__eyebrow, .callouts + .briefing__eyebrow { margin-top: 1.3rem; }
.briefing__summary { font-family: var(--f-edit); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.briefing__summary b { color: var(--forest); }
.callouts { display: flex; flex-direction: column; gap: 0.7rem; }
.callouts li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }
.callouts__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--forest-300); margin-top: 0.42rem; flex: none; }
.callouts__dot--rose { background: var(--rose); } .callouts__dot--amber { background: var(--amber); }
.askbox { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--faint); font-size: 0.86rem; }
.askbox__ai { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(31,189,171,0.5); }

/* Act 3 — EOD phone */
.eod { background: transparent; border: none; box-shadow: none; display: flex; justify-content: center; }
.phone { width: min(360px, 100%); border: 1px solid var(--line); border-radius: 28px; background: var(--panel);
  box-shadow: var(--shadow); padding: 1.2rem; }
.phone__q { padding: 0.4rem 0.2rem 1rem; }
.phone__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.phone__typed { margin-top: 0.7rem; font-family: var(--f-edit); font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.phone__missed { border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.phone__kicker { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); }
.missed__product { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.8rem; }
.missed__swatch { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #6b4a2e, #4a3120); flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.missed__product b { color: var(--forest); } .missed__product small { display: block; color: var(--faint); font-size: 0.76rem; }
.sizes { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.sizes span { width: 36px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  background: var(--cream-2); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }

/* Act 4 — store visit */
.visit__body { padding: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
.visit__score { position: relative; width: 116px; height: 116px; flex: none; }
.visit__score svg { transform: rotate(-90deg); }
.g__track { fill: none; stroke: var(--line); stroke-width: 8; }
.g__fill { fill: none; stroke: var(--forest-500); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.4s var(--ease); }
.g__fill--amber { stroke: var(--amber); }
.visit__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.visit__num b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--forest); }
.visit__num small { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.visit__eyebrow { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.visit__q { font-family: var(--f-edit); font-style: italic; font-size: 1.05rem; color: var(--forest); margin-top: 0.4rem; }
.visit__note { font-size: 0.88rem; color: var(--ink-2); margin-top: 0.5rem; line-height: 1.45; }

/* Act 5 — proof */
.act--proof { }
.proof { max-width: 1200px; margin: 0 auto; }
.moneycards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mc { background: var(--panel); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.mc span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.mc b { font-family: var(--f-display); font-size: clamp(1.7rem,2.6vw,2.3rem); font-weight: 600; color: var(--forest); line-height: 1; }
.mc--rose b { color: var(--rose); } .mc--amber b { color: var(--amber); }
.proof__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2vw,1.6rem); margin-top: 1.6rem; align-items: start; }
.verdictcard__body { padding: 1.4rem; }
.vrow { display: flex; align-items: flex-start; gap: 0.8rem; }
.vrow__chip { font-size: 0.72rem; font-weight: 700; padding: 0.3em 0.7em; border-radius: 999px; flex: none; }
.vrow__chip--chase { background: #E8F4ED; color: var(--good); border: 1px solid #CCE5D6; }
.vrow__name b { color: var(--forest); } .vrow__name small { display: block; color: var(--faint); font-size: 0.82rem; margin-top: 0.2rem; line-height: 1.4; }
.sizecurve { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.sizecurve__label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.sizecurve__bars { display: flex; align-items: flex-end; gap: 0.6rem; height: 90px; margin-top: 0.8rem; }
.sizecurve__bars i { flex: 1; height: var(--h); background: var(--forest-300); border-radius: 4px 4px 0 0; position: relative; opacity: 0.85; }
.sizecurve__bars i.oos { background: repeating-linear-gradient(45deg, var(--rose) 0 4px, #d98079 4px 8px); }
.sizecurve__bars i span { position: absolute; bottom: -1.3rem; left: 50%; translate: -50% 0; font-size: 0.68rem; color: var(--faint); }
.sizecurve__tag { margin-top: 1.8rem; font-size: 0.82rem; color: var(--ink-2); }
.sizecurve__tag b { color: var(--rose); }
.fancard__body { padding: 1.4rem; }
.fan { position: relative; height: 200px; }
.fan svg { width: 100%; height: 100%; }
.fan__band { fill: rgba(14,156,142,0.14); opacity: 0; transition: opacity 1s var(--ease); }
.is-inview .fan__band { opacity: 1; }
.fan__sold { stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; }
.fan__p50 { stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 6; }
.fan__div { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.fan__tag { position: absolute; bottom: 0; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fan__tag--l { left: 0; color: var(--faint); } .fan__tag--r { right: 0; color: var(--teal); }
.fancard__note { margin-top: 0.8rem; font-size: 0.84rem; color: var(--ink-2); }
.fancard__note b { color: var(--forest); }
.fancard__chip { margin-left: auto; font-size: 0.68rem; color: var(--teal); }

/* Act 6 — buy */
.buycard__body { padding: 1.5rem; }
.buycard__top { display: flex; align-items: center; justify-content: space-between; }
.buycard__num b { font-family: var(--f-display); font-size: clamp(2.2rem,4vw,3rem); font-weight: 600; color: var(--forest); line-height: 1; }
.buycard__num small { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-top: 0.3rem; }
.buysplit { margin: 1.6rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.buysplit div { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 1rem; }
.buysplit span { font-size: 0.78rem; color: var(--faint); }
.buysplit i { height: 9px; border-radius: 999px; background: var(--forest-300); width: 0; transition: width 1.1s var(--ease); }
.is-inview .buysplit i { width: var(--w); }
.buysplit b { font-family: var(--f-display); font-size: 1.15rem; color: var(--forest); }
.otb { margin-top: 0.4rem; }
.otb__label { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--ink-2); margin-bottom: 0.4rem; }
.otb__label span { color: var(--good); font-weight: 600; }
.otb__bar { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; border: 1px solid var(--line); }
.otb__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--forest-500), var(--forest-300)); transition: width 1.2s var(--ease); }
.is-inview .otb__bar i { width: var(--w); }
.buycard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.ctrls { display: flex; gap: 0.5rem; }
.note { font-family: var(--f-edit); font-style: italic; color: var(--faint); font-size: 0.9rem; }
.buycard__range { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--ink-2); }
.buycard__range b { color: var(--forest); }

/* Act 7 — network/map */
.network { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,0.9fr);
  gap: clamp(1.6rem,4vw,3.5rem); align-items: center; }
.map { position: relative; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__state { fill: rgba(111,191,148,0.10); stroke: #cdd6cd; stroke-width: 1.2; transition: fill 0.6s; }
.map__state.is-hot { fill: rgba(199,154,69,0.16); }
.map__node { fill: var(--forest-500); } .map__node--don { fill: var(--rose); } .map__node--rec { fill: var(--gold); }
.map__node-glow { fill: none; stroke-width: 1.5; opacity: 0.45; }
.map__label { font-family: var(--f-ui); font-size: 14px; fill: var(--ink-2); }
.map__arc-path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 1px 3px rgba(199,154,69,0.5)); }
.map__cap { margin-top: 0.8rem; text-align: center; font-size: 0.86rem; color: var(--ink-2); }
.map__cap b { color: var(--gold); font-family: var(--f-display); font-size: 1.1rem; }
.network__side { display: flex; flex-direction: column; gap: 1.4rem; }
.consign__body { padding: 1.4rem; }
.consign__route { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 0.6rem; }
.consign__route i { color: var(--gold); }
.consign__nums { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.8rem 1.4rem; margin: 1.2rem 0; }
.consign__nums dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.consign__nums dd { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--forest); margin-top: 0.1rem; }
.consign__reason { font-size: 0.84rem; color: var(--ink-2); line-height: 1.45; padding: 0.9rem 0; border-top: 1px solid var(--line-soft); }
.flip { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-soft); padding: 1.4rem; }
.flip__kicker { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 1rem; }
.flip__rows { display: flex; flex-direction: column; gap: 0.7rem; }
.flip__was, .flip__now { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0.9rem; border-radius: 12px; }
.flip__was { background: rgba(194,74,65,0.07); } .flip__now { background: rgba(199,154,69,0.12); }
.flip__was span, .flip__now span { font-size: 0.84rem; color: var(--ink-2); }
.flip__was b { font-family: var(--f-display); font-size: 1.6rem; color: var(--faint); }
.flip__now b { font-family: var(--f-display); font-size: 1.9rem; color: var(--gold); }
.flip__foot { margin-top: 1rem; font-size: 0.84rem; color: var(--ink-2); line-height: 1.45; }
.flip__foot b { color: var(--forest); }

/* Act 8 — floor */
.floorgrid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.2rem,2.5vw,2rem); align-items: start; }
.tasks__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-soft); }
.tcol { background: var(--panel); padding: 1rem 0.9rem; min-height: 200px; }
.tcol__h { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 0.8rem; }
.tcard { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.8rem; font-size: 0.82rem;
  color: var(--ink); margin-bottom: 0.6rem; line-height: 1.3; }
.tcard small { display: block; color: var(--faint); font-size: 0.7rem; margin-top: 0.3rem; }
.tcard--hot { border-color: var(--gold); background: rgba(199,154,69,0.08); }
.tcard--done { color: var(--faint); display: flex; align-items: center; gap: 0.5rem; }
.tcard__src { display: inline-block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700;
  padding: 0.2em 0.5em; border-radius: 5px; background: rgba(199,154,69,0.16); color: var(--gold); margin-bottom: 0.35rem; }
.tcard__src--vm { background: rgba(31,189,171,0.14); color: var(--teal); }
.tcard__src--req { background: rgba(111,191,148,0.16); color: var(--forest-500); }
.tcard__check { width: 16px; height: 16px; border-radius: 50%; background: var(--good); position: relative; flex: none; display: inline-block; }
.tcard__check::after { content:""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.vmstrip { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: 1.4rem; }
.vmstrip__lead { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--forest); margin-bottom: 1.2rem; }
.vmflow { display: flex; flex-direction: column; gap: 1rem; }
.vmflow li { display: flex; gap: 0.8rem; align-items: flex-start; }
.vmflow__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--f-display); font-weight: 600; font-size: 0.9rem; color: var(--teal); background: #E2F3F1; border: 1px solid #BFE3DE; }
.vmflow b { color: var(--forest); font-size: 0.92rem; } .vmflow small { display: block; color: var(--ink-2); font-size: 0.8rem; margin-top: 0.15rem; line-height: 1.4; }
.rank { font-style: normal; font-weight: 700; color: var(--rose); } .rank--top { color: var(--good); }
.vmstrip__statuses { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.vmstrip__statuses i { height: 1px; width: 20px; background: var(--line); }
.vmstrip__statuses .good { font-weight: 700; }

/* Act 9 — result */
.result { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem,2.5vw,1.8rem); align-items: start; }
.result__done { padding: 1.3rem 1.4rem; }
.result__row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.7rem; }
.result__comment { margin-top: 0.8rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); font-family: var(--f-edit); font-style: italic; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.result__comment small { font-style: normal; color: var(--faint); font-size: 0.76rem; }
.mgr__body { padding: 1.4rem; display: flex; gap: 0.9rem; align-items: flex-start; }
.mgr__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(244,241,232,0.18); color: #EAF0EB; font-size: 0.8rem; font-weight: 600; }
.result__mgr .instrument__bar { } /* uses forest header */
.mgr__note { font-family: var(--f-edit); font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.mgr__by { font-size: 0.78rem; color: var(--faint); margin-top: 0.5rem; }
.result__metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 0.4rem; }
.rm { background: var(--panel); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.rm span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.rm b { font-family: var(--f-display); font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 600; color: var(--forest); line-height: 1; }
.rm small { font-size: 0.76rem; color: var(--ink-2); }
.result__loop { max-width: 1200px; margin: clamp(2.4rem,4vw,3.4rem) auto 0; text-align: center; font-family: var(--f-edit);
  font-style: italic; font-size: clamp(1.15rem,1.8vw,1.5rem); color: var(--forest); }

/* ---------- FOOTER (the one dark moment) ---------- */
.foot { background: var(--forest); color: #DCE5DE; padding: clamp(5rem,10vw,8rem) var(--gutter) 2.5rem;
  background-image: radial-gradient(70% 70% at 50% 0%, rgba(31,189,171,0.10), transparent 60%); }
.foot__cta { max-width: 1000px; margin: 0 auto; text-align: center; }
.foot__title { font-family: var(--f-display); font-weight: 500; font-size: var(--h1); line-height: 0.96; letter-spacing: -0.025em; color: #F4F1E8; }
.foot__sub { font-family: var(--f-edit); font-size: clamp(1.05rem,1.5vw,1.3rem); color: rgba(244,241,232,0.75); margin-top: 1.4rem; }
.foot__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.4rem; }
.foot .btn--solid { background: var(--gold-bright); color: #2a1e07; }
.foot .btn--solid:hover { background: #ecc279; }
.foot__base { max-width: 1200px; margin: clamp(4rem,7vw,6rem) auto 0; padding-top: 1.8rem; border-top: 1px solid rgba(244,241,232,0.14);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2rem; justify-content: space-between; font-size: 0.78rem; color: rgba(244,241,232,0.6); }
.foot__brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: #F4F1E8; }
.foot__brand .nav__mark { color: var(--teal-bright); }

/* ---------- ACT 2 — THE WHY (pinned slider) ---------- */
.slider { overflow: hidden; padding: var(--section) var(--gutter); }
.slider__eyebrow { max-width: 1200px; margin: 0 auto clamp(1.6rem,3vw,2.4rem); font-family: var(--f-ui);
  font-size: var(--eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest-500); display: flex; align-items: center; gap: 0.7em; }
.slider__eyebrow::before { content:""; width: 24px; height: 1.5px; background: var(--gold); opacity: 0.7; }
.slider__eyebrow .idx { color: var(--gold); }
.slider__stage { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(200px,250px) minmax(0,1fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.slider__rail-title { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 700; margin-bottom: 1.3rem; }
.slider__dots { position: relative; }
.slider__dots::before { content:""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1.5px;
  background: linear-gradient(180deg, var(--gold), var(--teal), var(--forest-500)); opacity: 0.4; }
.slider__dots li { display: flex; gap: 0.9rem; align-items: center; padding: 0.85rem 0; cursor: pointer;
  position: relative; opacity: 0.4; transition: opacity 0.4s var(--ease); }
.slider__dots li.is-active { opacity: 1; }
.slider__dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); background: var(--cream-2);
  flex: none; position: relative; z-index: 1; transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.slider__dots li.is-active .slider__dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 4px rgba(14,156,142,0.14); }
.slider__dot-txt b { display: block; font-size: 0.95rem; color: var(--forest); font-weight: 600; line-height: 1.2; transition: color 0.3s; }
.slider__dots li:not(.is-active) .slider__dot-txt b { color: var(--ink-2); font-weight: 500; }
.slider__more { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 1.5rem; font-family: var(--f-ui);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--forest); text-decoration: none;
  padding: 0.5em 0.95em; border: 1px solid rgba(28,61,48,0.2); border-radius: 999px; background: rgba(255,255,255,0.45);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.slider__more::after { content: "→"; transition: transform 0.3s var(--ease); }
.slider__more:hover { border-color: var(--forest); background: rgba(111,191,148,0.12); transform: translateY(-1px); }
.slider__more:hover::after { transform: translateX(3px); }

/* feature stage — big title + scattered example cards */
.feat-stage { position: relative; min-width: 0; }
.feat__copy { text-align: center; max-width: 40ch; margin: 0 auto; }
.feat__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 1.1rem + 4.8vw, 5.4rem);
  line-height: 1.0; letter-spacing: -0.025em; color: var(--forest); max-width: 15ch; margin: 0 auto; }
.feat__desc { font-family: var(--f-ui); font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.32rem); color: var(--ink-2);
  margin: 1.2rem auto 0; max-width: 34ch; line-height: 1.5; }
.feat__card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); padding: 0.85rem 1rem; width: 196px; }
.fc__k { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.fc__v { display: block; font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; color: var(--forest); line-height: 1.05; margin-top: 0.15rem; }
.fc__v--sm { font-size: 1.05rem; }
.fc__s { display: block; font-size: 0.72rem; color: var(--faint); margin-top: 0.1rem; }
.fc__note { font-size: 0.84rem; color: var(--ink); line-height: 1.35; display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; }
.fc__note b { color: var(--forest); }
.fc__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--forest-300); flex: none; margin-top: 0.4rem; }
.fc--rosedot { background: var(--rose); } .fc--amberdot { background: var(--amber); } .fc--gooddot { background: var(--good); } .fc--golddot { background: var(--gold); }
.fc__check { width: 16px; height: 16px; border-radius: 50%; background: var(--good); flex: none; position: relative; margin-top: 0.1rem; }
.fc__check::after { content:""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.fc__pic { display: block; height: 188px; border-radius: 10px; background: linear-gradient(135deg, #6b4a2e, #4a3120); margin-bottom: 0.55rem; }
.fc__avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--forest-500); color: #eaf0eb; font-size: 0.7rem; font-weight: 600; margin-bottom: 0.5rem; }
.fc--rose { box-shadow: var(--shadow-soft), inset 3px 0 0 var(--rose); }
.fc--amber { box-shadow: var(--shadow-soft), inset 3px 0 0 var(--amber); }
.fc--gold { box-shadow: var(--shadow-soft), inset 3px 0 0 var(--gold); }
.fc--teal { box-shadow: var(--shadow-soft), inset 3px 0 0 var(--teal); }
.fc--good { box-shadow: var(--shadow-soft), inset 3px 0 0 var(--good); }
.fc--rose .fc__v { color: var(--rose); } .fc--amber .fc__v { color: var(--amber); } .fc--good .fc__v { color: var(--good); } .fc--teal .fc__v { color: var(--teal-deep); }
.fc--forest { background: var(--forest); border-color: transparent; }
.fc--forest .fc__note { color: #e6efe8; }
.fc--photo { width: 300px; text-align: center; }
.fc--quote { width: 268px; padding: 1.1rem 1.25rem; }
.fc__quote { font-family: var(--f-display); font-size: 1.04rem; line-height: 1.4; color: var(--ink); margin: 0; }
.fc__store { font-family: var(--f-ui); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--forest-500); margin-top: 0.7rem; }

/* fallback (no pin): features stack, cards wrap */
.feat { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.feat__cards { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }

/* pinned mode (desktop, JS) — features stack absolutely, cards scatter then gather */
.slider--pinned { height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--pin-top); padding-bottom: 1.5rem; }
.slider--pinned .slider__eyebrow { margin-bottom: 0; }
.slider--pinned .slider__stage { position: relative; flex: 1; min-height: 0; width: 100%; max-width: none; margin: 0; display: block; }
.slider--pinned .slider__rail { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; max-width: 210px; margin: 0; z-index: 6; }
.slider--pinned .feat-stage { position: absolute; inset: 0; overflow: hidden; }
.slider--pinned .feat { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; will-change: transform; }
.slider--pinned .feat__copy { position: relative; z-index: 1; max-width: 22ch; }
.slider--pinned .feat__cards { position: absolute; inset: 0; z-index: 2; margin: 0; display: block; pointer-events: none; }
.slider--pinned .feat__card { position: absolute; left: 50%; top: 50%; will-change: transform; }

/* ---------- FINALE — one solution / sunrise reveal ---------- */
.finale { position: relative; overflow: hidden; }

/* ---- scroll-driven sunrise backdrop: night → dawn → day → white bloom ---- */
.sky { position: absolute; inset: 0; z-index: 0; }
.sky__layer { position: absolute; inset: 0; }
.sky__night { background: linear-gradient(180deg, #08130E 0%, #0E2017 48%, #1B3528 100%); }
.sky__dawn { background: linear-gradient(180deg, #34506F 0%, #6B5C7C 30%, #B07C6C 62%, #E6AB7E 100%); }
.sky__day { background: linear-gradient(180deg, #CFE2D8 0%, #E7DECC 56%, #F7F0E1 100%); }
.sky__glow { position: absolute; inset: 0;
  background: radial-gradient(132% 80% at 50% 116%, rgba(255,228,186,0.92) 0%, rgba(255,205,158,0.5) 22%, rgba(255,188,150,0.18) 40%, rgba(255,180,150,0) 62%); }
.sky__core { position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(56% 34% at 50% 107%, rgba(255,248,232,0.96) 0%, rgba(255,240,214,0.42) 42%, rgba(255,236,206,0) 72%); }
.sky__grain { pointer-events: none; position: absolute; inset: -60%; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: skyGrain 0.5s steps(4) infinite; }
.sky__vignette { pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(125% 100% at 50% 42%, transparent 56%, rgba(10,24,16,0.30) 100%); }
.sky__bloom { position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 72%, #FFFFFF 0%, #FFFDF8 50%, #FBF6EC 100%); }
@keyframes skyGrain { 0%{transform:translate(0,0)} 25%{transform:translate(-1.2%,0.8%)} 50%{transform:translate(0.8%,-1%)} 75%{transform:translate(-0.6%,-0.6%)} 100%{transform:translate(1%,1%)} }

/* ---- rain layer: the features fall on the night ---- */
.fin-rain { position: relative; z-index: 2; text-align: center; }
.fin-rain__eyebrow { font-family: var(--f-ui); font-size: 0.74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.66); margin-bottom: 0.9rem; }
.fin-rain__eyebrow .idx { color: var(--gold-bright); margin-right: 0.5rem; }
.fin-rain__head { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 1rem + 3.4vw, 4rem);
  line-height: 1.02; letter-spacing: -0.025em; color: #F4F1EA; margin: 0 auto 1.8rem; text-shadow: 0 2px 34px rgba(8,16,12,0.5); }
.fin-rain__head em { font-style: italic; color: var(--teal-bright); }
.fin-rain__chips { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; justify-content: center; max-width: 920px; margin: 0 auto; }
.ecochip { padding: 0.5rem 0.9rem; border-radius: 11px; font-family: var(--f-ui); font-size: 0.86rem; font-weight: 600;
  color: var(--forest); background: rgba(255,255,255,0.94); border-left: 3px solid var(--line);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,0.7); white-space: nowrap; }
.ecochip--sense { border-left-color: var(--rose); }
.ecochip--understand { border-left-color: var(--teal); }
.ecochip--decide { border-left-color: var(--gold); }
.ecochip--act { border-left-color: var(--forest-300); }
.ecochip--run { border-left-color: var(--amber); }

/* ---- reveal layer: the morning after — every feature, with its detail ---- */
.fin-reveal { position: relative; z-index: 4; }
.fin-reveal__head { text-align: center; max-width: 760px; margin: 0 auto 2.2rem; }
.fin-reveal__eyebrow { font-family: var(--f-ui); font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--teal); margin-bottom: 0.7rem; }
.fin-reveal__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 1rem + 3vw, 3.4rem);
  line-height: 1.04; letter-spacing: -0.025em; color: var(--forest); margin: 0 0 0.7rem; }
.fin-reveal__title em { font-style: italic; color: var(--teal); }
.fin-reveal__sub { font-family: var(--f-edit); font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--ink-2); line-height: 1.5; margin: 0; }
.fin-reveal__grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.8rem); max-width: 1200px; margin: 0 auto; width: 100%; }
.fcol h3 { font-family: var(--f-ui); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--forest); padding-bottom: 0.6rem; margin: 0 0 0.85rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.5rem; }
.fcol h3::before { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.fcol--sense h3::before { background: var(--rose); }
.fcol--understand h3::before { background: var(--teal); }
.fcol--decide h3::before { background: var(--gold); }
.fcol--act h3::before { background: var(--forest-300); }
.fcol--run h3::before { background: var(--amber); }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.fcol li b { display: block; font-family: var(--f-ui); font-size: 0.92rem; font-weight: 600; color: var(--forest); margin-bottom: 0.12rem; }
.fcol li span { display: block; font-family: var(--f-edit); font-size: 0.83rem; color: var(--ink-2); line-height: 1.38; }
.fin-reveal__cta { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.fin-reveal__loop { font-family: var(--f-ui); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); }

/* ---- pinned layout (desktop): sky + rain + reveal stacked in one viewport ---- */
.finale--pinned { height: 100svh; padding: 0; }
.finale--pinned .fin-rain,
.finale--pinned .fin-reveal { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(5rem, 9vh, 6.5rem) var(--gutter) clamp(2rem, 5vh, 3rem); }
.finale--pinned .fin-reveal { background: linear-gradient(180deg, #FFFDF8 0%, #FAF7EF 100%); }
.finale--pinned .ecochip, .finale--pinned .fcol { will-change: transform, opacity; }

/* ---- fallback (mobile / reduced motion): just the substance — the detail grid on a light morning ---- */
/* #ecosystem (id) overrides the dark base, so the fallback selector must match its specificity */
#ecosystem:not(.finale--pinned) { background: linear-gradient(180deg, #FFFDF8, var(--bg-1)); padding: var(--section) var(--gutter); }
.finale:not(.finale--pinned) .sky,
.finale:not(.finale--pinned) .fin-rain { display: none; }
.finale:not(.finale--pinned) .fin-reveal { position: static; opacity: 1; }
.finale:not(.finale--pinned) .fin-reveal__grid { text-align: left; }
@media (max-width: 1080px) { .fin-reveal__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem 1.8rem; } }
@media (max-width: 560px) { .fin-reveal__grid { grid-template-columns: 1fr; } }

/* ---------- SECTION BACKGROUND PROGRESSION ---------- */
#platform { background:
  radial-gradient(48% 42% at 12% 6%, color-mix(in oklab, var(--teal) 11%, transparent), transparent 72%),
  radial-gradient(50% 40% at 93% 36%, color-mix(in oklab, var(--gold) 11%, transparent), transparent 72%),
  radial-gradient(45% 45% at 70% 100%, color-mix(in oklab, var(--rose) 7%, transparent), transparent 72%),
  var(--bg-2); }
.slider#why { background: var(--bg-2); }
.slider#act { background: var(--bg-3); }
.slider#feedback { background: var(--bg-4); }
#ecosystem { background: var(--bg-night); }
#feedback.slider--pinned .feat__copy { transform: translateX(-90px); }
#why.slider--pinned .feat__copy { transform: translateY(-54px); }   /* lift copy so the big bottom-centre photo card clears it */

/* shoelace thread (connective line down the page) */
.lace { position: fixed; top: 0; left: clamp(8px, 1.5vw, 22px); width: 2px; height: 100vh; z-index: 35; pointer-events: none; }
.lace__base { position: absolute; inset: 0; background: rgba(28,61,48,0.10); }
.lace__lit { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(180deg, var(--gold), var(--teal) 58%, var(--forest-500)); }
.lace__bead { position: absolute; top: 0; left: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--gold) 45%, var(--teal)); box-shadow: 0 0 10px rgba(31,189,171,0.55); }
@media (max-width: 760px) { .lace { display: none; } }

/* ---------- IMAGE / PRODUCT / CHART CARD VARIANTS (with labelled placeholders) ---------- */
.fc__img { display: block; position: relative; overflow: hidden; background:
  linear-gradient(135deg, #efe9df, #e4ddcf); }
.fc__img::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.6rem; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9384; text-align: center; padding: 0.5rem; }
.fc__img--suit { background: linear-gradient(135deg, #6b4a2e, #4a3120); }
.fc__img--suit::after { color: rgba(255,255,255,0.55); }

/* ---- wired photography (designer assets) — .is-photo swaps the placeholder for a real image ---- */
.fc__img.is-photo, .fc__pic.is-photo, .bigcard__img.is-photo { background-size: cover; background-repeat: no-repeat; }
.fc__img.is-photo::after { display: none; }
.is-photo.img-hero { background-image: url("assets/hero-suit-detail.jpg"); background-position: center 40%; }
.is-photo.img-eod { background-image: url("assets/eod-empty-rail.jpg"); background-position: center 60%; }
.is-photo.img-visit { background-image: url("assets/visit-before.jpg"); background-position: center 46%; }
.is-photo.img-after { background-image: url("assets/after-window.jpg"); background-position: center 46%; }
.fc--product { width: 214px; padding: 0; overflow: hidden; }
.fc--product .fc__img { height: 118px; }
.fc__pbody { padding: 0.7rem 0.9rem; }
.fc__pname { font-size: 0.86rem; font-weight: 700; color: var(--forest); line-height: 1.2; }
.fc__pstats { display: flex; gap: 1.1rem; margin-top: 0.5rem; }
.fc__pstats > span { display: block; }
.fc__pstats small { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.fc__pstats b { font-family: var(--f-display); font-size: 1.1rem; color: var(--forest); }
.fc__pstats .hot { color: var(--rose); }
.fc--img { width: 320px; padding: 0; overflow: hidden; }
.fc--img .fc__img { height: 205px; }
.fc__cap { padding: 0.55rem 0.75rem; font-size: 0.73rem; color: var(--ink-2); line-height: 1.35; }
.fc--chart { width: 212px; }
.fc__chart { height: 54px; margin: 0.5rem 0 0.2rem; }
.fc__chart svg { width: 100%; height: 100%; overflow: visible; }
.fc__chart .ln { fill: none; stroke: var(--good); stroke-width: 2.5; stroke-linecap: round; }
.fc__chart .bar { fill: var(--forest-300); } .fc__chart .bar--hot { fill: var(--gold); }
.fc__chart .area { fill: rgba(29,118,74,0.12); }

/* ---------- WHAT TO DO — horizontal big-card gallery ---------- */
.gallery { overflow: hidden; padding: var(--section) var(--gutter); }
.gallery__stage { position: relative; max-width: 1280px; margin: 0 auto; }
.gallery__viewport { overflow: visible; width: 100%; }
.gallery__track { display: flex; will-change: transform; }
.gallery__slot { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.bigcard { flex: 0 0 auto; width: clamp(330px, 34vw, 460px); background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); padding: 1.6rem 1.7rem; display: flex; flex-direction: column; }
.bc--understand { box-shadow: var(--shadow), inset 0 4px 0 var(--teal); }
.bc--decide { box-shadow: var(--shadow), inset 0 4px 0 var(--gold); }
.bc--act { box-shadow: var(--shadow), inset 0 4px 0 var(--forest-300); }
.bigcard__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.bigcard__kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); font-weight: 700; }
.bigcard__img { height: 152px; border-radius: 13px; margin: 1.2rem 0; }
/* generated-card image variant (Product Intelligence) — wider, landscape image is the card content */
.bigcard--shot { width: clamp(460px, 58vw, 800px); }
.bigcard--shot .bigcard__shot { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 1.1rem; box-shadow: 0 16px 38px -22px rgba(28,61,48,0.4); }
.bigcard__title { font-family: var(--f-display); font-size: 1.85rem; font-weight: 600; color: var(--forest); line-height: 1.05; margin-top: 0.4rem; }
.bigcard__route i { color: var(--gold); font-style: normal; padding: 0 0.15em; }
.bigcard__sub { font-size: 0.92rem; color: var(--ink-2); margin-top: 0.55rem; line-height: 1.45; }
.bigcard__big { display: flex; align-items: baseline; gap: 0.7rem; margin: 1.3rem 0 0.2rem; }
.bigcard__big b { font-family: var(--f-display); font-size: clamp(2.8rem, 4vw, 3.6rem); font-weight: 600; color: var(--forest); line-height: 0.9; }
.bigcard__big span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); line-height: 1.2; }
.pi__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pi__stats > div { background: var(--panel); padding: 0.75rem 0.8rem; }
.pi__stats span { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.pi__stats b { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--forest); margin-top: 0.15rem; line-height: 1.05; }
.pi__stats .mc--rose b { color: var(--rose); }
.pi__stats .mc--amber b { color: var(--amber); }
.bigcard .pi__stats { margin: 1.2rem 0; }
.bigcard__foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--ink-2); }
.bigcard__bar { margin: 1.2rem 0 0.2rem; }
.bigcard__barlbl { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-2); margin-bottom: 0.4rem; }
.bigcard__barlbl span { color: var(--good); font-weight: 600; }
.bigcard__bartrack { height: 9px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); overflow: hidden; }
.bigcard__bartrack i { display: block; height: 100%; background: linear-gradient(90deg, var(--forest-500), var(--forest-300)); }
.bigcard__flip { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.7rem; margin-top: 1.3rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--cream-2); }
.bigcard__fwas span, .bigcard__fnow span { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); }
.bigcard__fwas b { font-family: var(--f-display); font-size: 1.7rem; color: var(--faint); }
.bigcard__fnow b { font-family: var(--f-display); font-size: 2.1rem; color: var(--gold); }
.bigcard__arrow { color: var(--forest-300); font-size: 1.2rem; }
.bigcard__tasks { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.2rem 0; }
.bigcard__tasks li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink); padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-soft); }
.bigcard__tasks li:last-child { border-bottom: none; }
.bigcard__tasks b { margin-left: auto; font-size: 0.72rem; color: var(--faint); font-weight: 600; }
.bc__src { flex: none; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; padding: 0.25em 0.55em; border-radius: 6px; background: rgba(199,154,69,0.16); color: var(--gold); }
.bc__src--vm { background: rgba(31,189,171,0.14); color: var(--teal); }
.bc__src--req { background: rgba(111,191,148,0.16); color: var(--forest-500); }
.bigcard__flow { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.bigcard__flow i { height: 1px; width: 16px; background: var(--line); }
.bigcard__flow .good { color: var(--forest-500); font-weight: 700; }

/* pinned gallery (desktop) */
.gallery--pinned { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--pin-top); padding-bottom: 1.5rem; }
.gallery--pinned .slider__eyebrow { margin-bottom: 0.8rem; }
.gallery--pinned .gallery__stage { position: relative; flex: 1; min-height: 0; width: 100%; max-width: none; display: flex; align-items: center; }
.gallery--pinned .gallery__rail { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 6; max-width: 200px; margin: 0; }
.gallery--pinned .gallery__viewport { align-self: stretch; display: flex; align-items: center; overflow: hidden; }
.gallery--pinned .gallery__track { padding: 18px 0; gap: 0; }
.gallery--pinned .bigcard { min-height: min(62vh, 540px); }

/* gallery fallback (mobile / reduced) — cards stack */
.gallery:not(.gallery--pinned) .gallery__stage { display: block; }
.gallery:not(.gallery--pinned) .gallery__rail { position: static; transform: none; max-width: none; margin-bottom: 1.4rem; }
.gallery:not(.gallery--pinned) .gallery__track { flex-direction: column; gap: 1.2rem; }
.gallery:not(.gallery--pinned) .gallery__slot { width: 100%; }
.gallery:not(.gallery--pinned) .bigcard { width: 100%; }

/* ---------- REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .spine { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .spine::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto;
    background: linear-gradient(180deg, var(--rose), var(--gold) 30%, var(--teal) 65%, var(--good)); }
  .stage { padding-top: 1.4rem; padding-bottom: 2rem; padding-left: 1.4rem; }
  .stage__proof { position: static; height: auto; flex-direction: row; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
  .stage__node { top: 0.3rem; left: -28px; }
  .act__grid, .proof__row, .network, .floorgrid, .result, .visit__body, .slider__stage,
  .twocol, .twocol--floor { grid-template-columns: 1fr; }
  .slider__rail { margin-bottom: 1.4rem; }
  .act__grid--rev .act__copy { order: 0; }
  .result__metrics { grid-column: auto; }
  .nav__links { display: none; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero__preview { position: static; translate: none; right: auto; top: auto; width: 100%; max-width: 360px; margin: 3.2rem 0 0; }
  .hp-card--product, .hp-card--insight { position: static; transform: none; left: auto; right: auto; top: auto; bottom: auto; width: 100%; max-width: 320px; margin: 0.8rem 0 0; }
  .hp-card--product .fc__img { height: 120px; }
  .hero__scrollcue { display: none; }
  .slider__panel .map__svg { height: auto; width: 100%; max-height: none; }
}
@media (max-width: 680px) {
  :root { --section: 4.5rem; }
  .kpis { gap: 1.1rem; }
  .moneycards { grid-template-columns: repeat(2,1fr); }
  .tasks__cols { grid-template-columns: 1fr; }
  .result__metrics, .pi__stats, .result__metrics--panel { grid-template-columns: 1fr; }
  .hero__preview { max-width: 320px; }
  .nav__cta { display: none; }
  .consign__nums { grid-template-columns: 1fr 1fr; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .fan__band { opacity: 1 !important; }
}

/* ============================================================
   MEGA-MENU NAV  (Product / Solutions / Resources)
   ============================================================ */
.nav__menu { display: flex; align-items: center; gap: 0.4rem; margin: 0 auto; }
.nav__actions { display: flex; align-items: center; gap: 0.9rem; }
.nav__login { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-ui); font-size: 0.9rem; font-weight: 500;
  color: var(--forest); text-decoration: none; padding: 0.5rem 0.4rem; border-radius: 9px; transition: color 0.2s, background 0.2s; }
.nav__login:hover { color: var(--teal-deep); background: color-mix(in oklab, var(--forest) 6%, transparent); }
.nav__login svg { opacity: 0.8; flex: none; }
.nav__item { display: flex; }
.nav__tab { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.85rem; border-radius: 10px;
  font-family: var(--f-ui); font-size: 0.92rem; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer;
  transition: color 0.2s, background 0.2s; }
.nav__tab:hover, .nav__item.is-open .nav__tab { color: var(--forest); background: color-mix(in oklab, var(--forest) 7%, transparent); }
.nav__caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: 0.65; transition: transform 0.25s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(-135deg) translateY(-1px); }

.mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px); margin-top: 10px;
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 120;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0s linear 0.24s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega__inner { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 1.4rem; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 26px 60px -28px rgba(28,61,48,0.42), 0 2px 8px rgba(28,61,48,0.05); }
.mega--product .mega__inner { width: min(94vw, 1080px); }
.mega--narrow .mega__inner { width: min(94vw, 660px); }
.mega__cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.5rem 1.6rem; }
.mega--product .mega__cols { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mega__cols--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mega__group { display: flex; flex-direction: column; }
.mega__kicker { font-family: var(--f-ui); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); margin: 0.4rem 0 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.mega__kicker::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest-300); }
.mega__group--rose .mega__kicker::before { background: var(--rose); }
.mega__group--teal .mega__kicker::before { background: var(--teal); }
.mega__group--gold .mega__kicker::before { background: var(--gold); }
.mega__group--forest .mega__kicker::before { background: var(--forest-300); }
.mega__group--amber .mega__kicker::before { background: var(--amber); }
.mega__link { display: block; padding: 0.5rem 0.6rem; border-radius: 10px; text-decoration: none; transition: background 0.18s; }
.mega__link:hover { background: color-mix(in oklab, var(--teal) 9%, transparent); }
.mega__link b { display: block; font-family: var(--f-ui); font-size: 0.9rem; font-weight: 600; color: var(--forest); line-height: 1.2; }
.mega__link span { display: block; font-family: var(--f-edit); font-size: 0.78rem; color: var(--ink-2); line-height: 1.32; margin-top: 0.1rem; }
.mega__feature { flex: 0 0 clamp(220px, 22vw, 280px); align-self: stretch; padding: 1.1rem; border-radius: 14px;
  background: linear-gradient(160deg, var(--cream-2), color-mix(in oklab, var(--teal) 7%, var(--cream-2))); display: flex; flex-direction: column; gap: 0.7rem; }
.mega--narrow .mega__feature { flex-basis: clamp(200px, 24vw, 240px); }
.mega__feat-link { display: block; text-decoration: none; }
.mega__feat-link b { display: block; font-family: var(--f-display); font-size: 1.02rem; font-weight: 500; color: var(--forest); line-height: 1.15; }
.mega__feat-link span { display: block; font-family: var(--f-edit); font-size: 0.8rem; color: var(--ink-2); line-height: 1.4; margin-top: 0.2rem; }
.mega__feat-link:hover b { color: var(--teal-deep); }
.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--panel); cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 1.8px; margin: 0 auto; background: var(--forest); transition: transform 0.25s, opacity 0.2s; }

/* mobile: stacked drawer */
@media (max-width: 1080px) {
  .nav__burger { display: flex; }
  .nav__brand { margin-right: auto; }   /* menu becomes a drawer (out of flow) — push Log in + CTA + burger to the right */
  .nav__menu { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 6rem 1.25rem 2rem; background: var(--cream); height: 100svh; overflow-y: auto;
    transform: translateY(-100%); transition: transform 0.3s var(--ease); z-index: 90; }
  .nav.is-mobile-open .nav__menu { transform: translateY(0); }
  .nav.is-mobile-open .nav__burger span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
  .nav.is-mobile-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-mobile-open .nav__burger span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
  .nav__item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav__tab { justify-content: space-between; padding: 1rem 0.5rem; font-size: 1.1rem; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
  .nav__item.is-open .mega { transform: none; max-height: 1400px; }
  .mega__inner { flex-direction: column; width: auto !important; padding: 0 0 1rem; border: 0; box-shadow: none; background: none; gap: 1rem; }
  .mega__cols, .mega--product .mega__cols, .mega__cols--two { grid-template-columns: 1fr; gap: 0.2rem; }
  .mega__feature { background: var(--cream-2); }
}

/* ============================================================
   SUB-PAGES  (product / solution / resource / legal)
   ============================================================ */
body.page { background: var(--cream); }
.page__main { padding-top: clamp(7rem, 12vh, 9rem); }
.pp, .rp { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) clamp(4rem,8vh,7rem); }
.pp__hero { max-width: 760px; }
.pp__eyebrow { font-family: var(--f-ui); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 0.8rem; }
.pp__eyebrow a { color: inherit; text-decoration: none; }
.pp__eyebrow a:hover { color: var(--forest); }
.pp__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1.0; letter-spacing: -0.025em; color: var(--forest); margin: 0; }
.pp__tag { font-family: var(--f-edit); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); color: var(--ink-2); line-height: 1.45; margin: 1rem 0 0; max-width: 44ch; }
.pp__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.pp--rose { --accent: var(--rose); } .pp--teal { --accent: var(--teal); } .pp--gold { --accent: var(--gold); }
.pp--forest { --accent: var(--forest-300); } .pp--amber { --accent: var(--amber); }
.pp__h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem,1.2rem+1vw,2rem); color: var(--forest); letter-spacing: -0.02em; margin: 0 0 1.4rem; }
.pp__kicker { font-family: var(--f-ui); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 1rem; }
/* intro */
.pp__intro { margin-top: clamp(2.2rem,4.5vw,3.4rem); padding-top: clamp(1.8rem,3.5vw,2.6rem); border-top: 1px solid var(--line); }
.pp__intro p { font-family: var(--f-edit); font-size: clamp(1.15rem,1rem+0.6vw,1.42rem); line-height: 1.55; color: var(--ink); max-width: 64ch; margin: 0; }
/* what it does */
.pp__caps { margin-top: clamp(2.6rem,5vw,4rem); }
.pp__capgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem,2vw,1.5rem); }
.pp__cap { padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-soft); border-left: 3px solid var(--accent, var(--teal)); }
.pp__cap b { display: block; font-family: var(--f-ui); font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 0.3rem; }
.pp__cap span { display: block; font-family: var(--f-edit); font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; }
/* how it works + outcome */
.pp__how { margin-top: clamp(2.6rem,5vw,4rem); display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.pp__howcopy p { font-family: var(--f-edit); font-size: 1.08rem; line-height: 1.6; color: var(--ink); margin: 0; max-width: 56ch; }
.pp__outcome { padding: 1.4rem 1.5rem; border-radius: 16px; background: linear-gradient(160deg, var(--cream-2), color-mix(in oklab, var(--accent, var(--teal)) 12%, var(--cream-2))); }
.pp__outcome-k { font-family: var(--f-ui); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--forest-500); margin: 0 0 0.5rem; }
.pp__outcome p + p { font-family: var(--f-edit); font-size: 1rem; line-height: 1.5; color: var(--forest); margin: 0; }
/* works with */
.pp__pairs { margin-top: clamp(2.6rem,5vw,4rem); }
.pp__pairgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.pp__paircard { display: block; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s; border-left: 3px solid var(--accent, var(--teal)); }
.pp__paircard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pp__pairstage { display: block; font-family: var(--f-ui); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 0.25rem; }
.pp__paircard b { display: block; font-family: var(--f-ui); font-size: 1rem; font-weight: 600; color: var(--forest); }
.pp__pairtag { display: block; font-family: var(--f-edit); font-size: 0.85rem; color: var(--ink-2); line-height: 1.35; margin-top: 0.2rem; }
.pp__cta { margin-top: clamp(3rem,6vw,5rem); padding: clamp(2rem,4vw,3rem); border-radius: 20px; text-align: center;
  background: linear-gradient(160deg, var(--cream-2), color-mix(in oklab, var(--teal) 8%, var(--cream-2))); }
.pp__cta h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem,1.2rem+1.4vw,2.2rem); color: var(--forest); margin: 0 0 1.3rem; letter-spacing: -0.02em; }
.rp__body { max-width: 70ch; margin-top: clamp(1.5rem,3vw,2.5rem); font-family: var(--f-edit); font-size: 1.1rem; line-height: 1.7; color: var(--ink); }
.rp__body h2 { font-family: var(--f-ui); font-size: 1.05rem; font-weight: 700; color: var(--forest); margin: 1.8rem 0 0.5rem; }
.rp__body p { margin: 0 0 1.1rem; }
.rp__muted { color: var(--faint); font-size: 0.95rem; }
.rp__cta { margin-top: 1.8rem; }

@media (max-width: 820px) {
  .pp__capgrid { grid-template-columns: 1fr; }
  .pp__how { grid-template-columns: 1fr; }
  .pp__pairgrid { grid-template-columns: 1fr; }
}

/* site footer (multi-column, on sub-pages + reused) */
.foot--site { padding: clamp(3.5rem,7vw,5.5rem) var(--gutter) 2.5rem; }
.foot__top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
.foot__coltitle { font-family: var(--f-ui); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 0.8rem; }
.foot__col a { display: block; font-size: 0.9rem; color: rgba(228,234,226,0.78); text-decoration: none; padding: 0.28rem 0; transition: color 0.2s; }
.foot__col a:hover { color: #fff; }
@media (max-width: 820px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
