/* ============================================================================
   תות — Landing page styles · Atelier (champagne-cream + gold)
   Built on the In Your Face design tokens (tokens.css).
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* accent is tweakable: gold (default) | blush | plum */
  --accent:       var(--gold-deep);
  --accent-ink:   var(--gold-ink);
  --accent-soft:  var(--gold-soft);
  --accent-line:  var(--gold-line);
  --accent-grad:  linear-gradient(168deg, var(--espresso), var(--espresso-2));
  --display-font: var(--font-disp);   /* Secular One */
  --aurora: 1;
  --maxw: 1180px;
}

[data-accent="blush"] {
  --accent:      oklch(0.620 0.140 0);
  --accent-ink:  oklch(0.520 0.130 2);
  --accent-soft: oklch(0.700 0.140 2 / 0.16);
  --accent-line: oklch(0.620 0.140 0 / 0.40);
}
[data-accent="plum"] {
  --accent:      var(--plum);
  --accent-ink:  var(--plum);
  --accent-soft: var(--plum-soft);
  --accent-line: oklch(0.380 0.092 352 / 0.40);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  direction: rtl;
}

/* One continuous champagne aurora behind the whole page — soft, gold/peach/plum
   weighted to the top, settling to cream. This is the "smooth flow" base; almost
   no hard separators between sections. */
.page-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 26% at 50% 0%,  oklch(0.93 0.07 86 / calc(0.55 * var(--aurora))) 0%, transparent 60%),
    radial-gradient(52% 30% at 88% 6%,  oklch(0.90 0.07 30 / calc(0.40 * var(--aurora))) 0%, transparent 58%),
    radial-gradient(52% 30% at 6% 12%,  oklch(0.92 0.05 60 / calc(0.34 * var(--aurora))) 0%, transparent 60%),
    radial-gradient(64% 44% at 50% 80%, oklch(0.93 0.05 84 / calc(0.32 * var(--aurora))) 0%, transparent 72%),
    var(--cream);
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .page-aurora { background: var(--cream); }
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

/* ---- type helpers ---- */
.eyebrow {
  font-size: clamp(11px, 1.2vw, 13px); font-weight: 700; letter-spacing: .08em;
  text-transform: none; color: var(--accent-ink);
  font-family: var(--font-body);
}
/* wide tracking + uppercase is a Latin habit — apply it only to Latin tokens */
.eyebrow .ltr { letter-spacing: .18em; text-transform: uppercase; }
.display {
  font-family: var(--display-font);
  font-weight: 700; line-height: 1.08; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
/* big headings use the Secular One display face with comfortable leading */
.hero .display,
.section-head .display,
.problems-head .display {
  font-weight: 400; letter-spacing: 0; line-height: 1.18;
}
.lead { font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
.ltr { unicode-bidi: isolate; direction: ltr; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: clamp(18px, 3vw, 26px);
}
.wordmark {
  font-family: var(--display-font);
  font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); color: var(--ink);
  display: flex; align-items: center; gap: 9px; letter-spacing: -.01em;
}
.wordmark .mk-berry { width: 30px; height: 33px; display: block; }
.nav-cta {
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  color: var(--ink); text-decoration: none; padding: 9px 18px;
  border: 1px solid var(--accent-line); border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.5); backdrop-filter: blur(8px);
  transition: background var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}
.nav-cta:hover { background: oklch(1 0 0 / 0.85); transform: translateY(-1px); }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; text-align: center; padding-top: clamp(28px, 6vw, 70px); padding-bottom: clamp(40px, 7vw, 90px); }
.hero-video-frame {
  position: relative; margin: 0 auto clamp(28px, 4vw, 48px);
  width: 100%; max-width: 560px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background: var(--oat, #efe7d8);
  box-shadow: var(--elev-card, 0 18px 40px -22px oklch(0.34 0.05 45 / 0.5));
}
.hero-video-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.5);
}
.hero-video { display: block; width: 100%; height: auto; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 {
  margin: 0 auto;
  font-size: clamp(38px, 7.4vw, 86px);
  max-width: 16ch;
}
.hero h1 .accent-word { color: var(--accent-ink); }
.hero .lead { margin: clamp(20px, 3vw, 30px) auto 0; max-width: 40ch; }

.hero-berry-wrap {
  position: relative; margin: clamp(20px, 4vw, 44px) auto 0;
  width: clamp(190px, 30vw, 320px);
}
.hero-berry-glow {
  position: absolute; inset: -18% -12% -8%;
  background: radial-gradient(50% 50% at 50% 46%, var(--accent-soft) 0%, transparent 70%);
  filter: blur(6px); z-index: 0;
}
.hero-berry { position: relative; z-index: 1; width: 100%; display: block; animation: berryFloat 6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes berryFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-12px) rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-berry { animation: none; } }

/* split layout (tweak) */
[data-hero="split"] .hero { text-align: start; }
[data-hero="split"] .hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(24px, 5vw, 60px);
}
[data-hero="split"] .hero h1, [data-hero="split"] .hero .lead { margin-inline: 0; }
[data-hero="split"] .hero-berry-wrap { margin: 0 auto; width: clamp(220px, 26vw, 340px); }
@media (max-width: 760px) {
  [data-hero="split"] .hero-inner { grid-template-columns: 1fr; text-align: center; }
  [data-hero="split"] .hero { text-align: center; }
  [data-hero="split"] .hero h1, [data-hero="split"] .hero .lead { margin-inline: auto; }
}

/* ============================================================================
   SECTION shells
   ============================================================================ */
.section { position: relative; padding-block: clamp(48px, 8vw, 100px); }
.section-head { text-align: center; max-width: 44ch; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 4.6vw, 50px); margin: 0; }
.section-head p { margin: 18px auto 0; }

/* ============================================================================
   PROBLEM CARDS — horizontal scroller (RTL)
   ============================================================================ */
.problems { padding-top: clamp(20px, 3vw, 40px); }
.problems-head { text-align: center; max-width: min(820px, 94vw); margin: 0 auto clamp(26px, 3vw, 40px); }
.problems-head h2 { font-size: clamp(23px, 3.4vw, 40px); margin: 0; }
.problems-head p { margin-top: 16px; }

.scroller-shell { position: relative; }
.scroller {
  display: flex; gap: clamp(14px, 2vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px clamp(20px, 5vw, 56px) 26px;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.scroller::-webkit-scrollbar { display: none; }

.p-card {
  scroll-snap-align: center; flex: 0 0 auto;
  width: min(82vw, 360px);
  background: var(--surface-fill);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-2xl);
  box-shadow: var(--elev-card);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.p-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--surface-hairline); border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.p-top { display: flex; align-items: center; gap: 14px; }
.fruit {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: var(--r-pill);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.7), 0 6px 16px -8px oklch(0.4 0.06 40 / 0.4);
}
.fruit svg { width: 34px; height: 34px; display: block; }
.p-name { font-family: var(--display-font); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--ink); }
.p-type {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
  background: oklch(1 0 0 / 0.6); border: 1px solid var(--hairline);
  padding: 3px 10px; border-radius: var(--r-pill);
}
.p-quote { font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); margin: 0; text-wrap: pretty; quotes: "\201D" "\201C" "\2019" "\2018"; }
.p-quote::before { content: open-quote; color: var(--accent-ink); font-family: var(--display-font); font-size: 26px; line-height: 0; vertical-align: -8px; margin-inline-end: 2px; }

.scroll-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-line); background: oklch(1 0 0 / 0.82);
  backdrop-filter: blur(8px); cursor: pointer; color: var(--ink);
  display: grid; place-items: center; transition: transform var(--motion-fast) var(--ease-out), background var(--motion-fast);
  box-shadow: var(--elev-card);
}
.scroll-btn.side-prev { right: 8px; }   /* far right edge — sits in the reserved gutter */
.scroll-btn.side-next { left: 8px; }    /* far left edge */
/* arrows only show on pointer devices — reserve a gutter there so cards never
   sit beneath them, and fade the card rails into that gutter. */
@media (hover: hover) {
  .scroller { padding-inline: 72px; }
  .scroller {
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
            mask: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  }
}
.scroll-btn:hover { background: oklch(1 0 0 / 0.98); transform: translateY(-50%) scale(1.05); }
.scroll-btn:active { transform: translateY(-50%) scale(.95); }
.scroll-btn svg { width: 20px; height: 20px; }

/* ============================================================================
   STEPS
   ============================================================================ */
/* Featured step 1 — text + phone demo */
.step-feature {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(34px, 5vw, 56px);
}
.step-feature.reverse { grid-template-columns: auto 1fr; }
.step-feature.reverse .step-feature-text { order: 2; }
.step-feature.reverse .step-phone-wrap { order: 1; }
.step-feature-text { max-width: 42ch; }
.step-feature-text .step-num { margin-bottom: 20px; }
.step-feature-title {
  font-family: var(--display-font); font-weight: 700; line-height: 1.12;
  font-size: clamp(24px, 3.4vw, 38px); margin: 0 0 14px; color: var(--ink);
}
.step-feature-text p { margin: 0; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; color: var(--ink-soft); }

.step-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* steps 2 & 3 */
.steps-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); position: relative; }
.steps-grid.two::before {
  content: ""; position: absolute; top: 38px; right: 25%; left: 25%; height: 2px;
  background: repeating-linear-gradient(to left, var(--accent-line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.steps-grid.one { display: grid; grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.step {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.step-num {
  width: 72px; height: 72px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-family: var(--display-font); font-weight: 700; font-size: 28px;
  color: var(--on-dark); background: var(--accent-grad);
  box-shadow: var(--btn-shadow), 0 0 0 6px var(--cream);
}
.step-card {
  background: var(--surface-fill); border: 1px solid var(--accent-line);
  border-radius: var(--r-xl); box-shadow: var(--elev-card);
  padding: 20px 18px; min-height: 110px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.step-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }
.step-card .lead-line { color: var(--ink); font-weight: 700; }

/* ---- phone mockup ---- */
.phone {
  width: clamp(244px, 30vw, 290px); aspect-ratio: 9 / 19.2;
  background: linear-gradient(160deg, #2a2024, #1c1518);
  border-radius: 42px; padding: 9px;
  box-shadow: 0 2px 2px oklch(1 0 0 / 0.25) inset, 0 26px 50px -20px oklch(0.3 0.06 30 / 0.55), 0 8px 20px -10px oklch(0.3 0.06 30 / 0.4);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 34px; background: var(--cream);
}
.ph-track { position: absolute; inset: 0; will-change: transform; }
.ph-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; background: var(--ink); }
.ph-scan, .ph-diag {
  position: relative; width: 100%;
  padding: 12px 16px 16px; box-sizing: border-box;
  background: linear-gradient(165deg, oklch(0.93 0.045 60) 0%, oklch(0.92 0.045 35) 42%, oklch(0.89 0.07 8) 100%);
  display: flex; flex-direction: column;
}
.ph-scan { height: 100%; }
.ph-diag { min-height: 100%; }

.ph-status { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; color: var(--ink); margin-bottom: 6px; }
.ph-time { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.ph-sys { display: inline-flex; align-items: center; gap: 5px; }
.ph-cancel {
  align-self: flex-start; background: none; border: none; cursor: pointer;
  color: var(--accent-ink); font-family: var(--font-body); font-weight: 600; font-size: 13px; padding: 2px 0;
}
.ph-title {
  text-align: center; font-family: var(--display-font); font-weight: 700;
  font-size: 17px; color: var(--ink); margin: 4px 0 0;
}
.ph-hint { text-align: center; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.ph-foot { margin-top: auto; padding-top: 10px; text-align: center; color: var(--accent-ink); font-size: 12px; font-weight: 600; }

/* scan ring */
.scan-ring { position: relative; width: 96%; aspect-ratio: 1; margin: auto; display: grid; place-items: center; }
.scan-dial {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, oklch(0.72 0.16 8) 0deg 1.4deg, transparent 1.4deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 44%, #000 45% 49.5%, transparent 50%);
          mask: radial-gradient(circle, transparent 0 44%, #000 45% 49.5%, transparent 50%);
  opacity: 0.92;
}
/* a brighter arc that sweeps around — reads as an active scan */
.scan-dial.sweep {
  background: conic-gradient(from 0deg, transparent 0deg, oklch(0.78 0.17 8 / 0.95) 34deg, transparent 68deg);
}
@media (prefers-reduced-motion: no-preference) {
  .scan-dial { animation: dialSpin 14s linear infinite; }
  .scan-dial.sweep { animation: dialSweep 2.4s linear infinite; }
}
@keyframes dialSpin { to { transform: rotate(360deg); } }
@keyframes dialSweep { to { transform: rotate(360deg); } }

.scan-face {
  position: relative; width: 90%; aspect-ratio: 1; border-radius: 50%; overflow: visible;
}
.scan-clip { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 16px -8px oklch(0.4 0.06 25 / 0.5); }
.scan-face .scan-img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 38%;
}
/* sweeping scan light across the face */
.scan-line {
  position: absolute; left: -6%; right: -6%; height: 16%; pointer-events: none;
  background: linear-gradient(180deg, transparent, oklch(0.92 0.07 8 / 0.55) 46%, oklch(0.98 0.02 8 / 0.9) 50%, oklch(0.92 0.07 8 / 0.55) 54%, transparent);
  mix-blend-mode: screen; opacity: 0;
}
.scan-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.16;
  background:
    repeating-linear-gradient(0deg, transparent 0 13px, oklch(0.98 0.02 8 / 0.5) 13px 14px),
    repeating-linear-gradient(90deg, transparent 0 13px, oklch(0.98 0.02 8 / 0.5) 13px 14px);
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 74%);
          mask: radial-gradient(circle, #000 58%, transparent 74%);
}
@media (prefers-reduced-motion: no-preference) {
  .scan-line { animation: scanSweep 2.6s var(--ease-out) infinite; }
}
@keyframes scanSweep {
  0%   { top: -16%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.scan-bracket { position: absolute; width: 20px; height: 20px; border: 2.4px solid #fff; }
.scan-bracket.tl { top: 14%; left: 12%; border-right: none; border-bottom: none; border-radius: 5px 0 0 0; }
.scan-bracket.tr { top: 14%; right: 12%; border-left: none; border-bottom: none; border-radius: 0 5px 0 0; }
.scan-bracket.bl { bottom: 14%; left: 12%; border-right: none; border-top: none; border-radius: 0 0 0 5px; }
.scan-bracket.br { bottom: 14%; right: 12%; border-left: none; border-top: none; border-radius: 0 0 5px 0; }

/* diagnosis cards */
.ph-diag .ph-cancel { margin-bottom: 4px; }
.diag-card {
  background: oklch(1 0 0 / 0.55); border-radius: 18px; padding: 14px 15px;
  font-size: 12.5px; line-height: 1.6; color: var(--ink); margin-bottom: 13px;
}
.diag-card:first-of-type { margin-top: 2px; }
.diag-card strong { font-weight: 700; }
.diag-h { font-weight: 800; font-size: 13.5px; text-align: start; margin-bottom: 10px; color: var(--ink); }
.diag-list { margin: 0; padding-inline-start: 16px; display: flex; flex-direction: column; gap: 12px; }
.diag-list li { font-size: 12px; line-height: 1.55; color: var(--ink-soft); }
.diag-list li strong { color: var(--ink); }

.phone-caption {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: oklch(1 0 0 / 0.6); border: 1px solid var(--accent-line);
  border-radius: var(--r-pill); padding: 9px 18px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink);
  backdrop-filter: blur(8px); transition: background var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}
.phone-caption::before { content: "✦"; color: var(--accent-ink); }
.phone-caption:hover { background: oklch(1 0 0 / 0.9); transform: translateY(-1px); }

/* ---- quiz screen (step 2) — refined, considered product UI ---- */
.ph-quiz {
  position: relative; height: 100%; box-sizing: border-box;
  padding: 14px 18px 16px; display: flex; flex-direction: column;
  font-family: 'IBM Plex Sans Hebrew', 'Heebo', sans-serif;
  background: linear-gradient(168deg, oklch(0.955 0.022 60) 0%, oklch(0.945 0.03 38) 46%, oklch(0.925 0.045 12) 100%);
}
.ph-quiz .ph-status { color: var(--ink); }
.ph-back {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px 0; margin-top: 2px;
  color: var(--ink-soft); font-family: inherit; font-weight: 400; font-size: 12px; letter-spacing: .01em;
}
.quiz-q {
  text-align: center; font-family: inherit; font-weight: 300;
  font-size: 18px; line-height: 1.35; letter-spacing: -.01em; color: var(--ink);
  margin: 22px 10px 0;
}
.quiz-sub {
  text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 12px;
}
.quiz-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 8px;
  margin: 26px 4px auto; align-content: flex-start;
}
.chip {
  font-family: inherit; font-size: 12.5px; font-weight: 300; color: var(--ink-soft);
  background: transparent; cursor: pointer;
  border: 1px solid oklch(0.5 0.02 60 / 0.28); border-radius: var(--r-pill);
  padding: 9px 15px; line-height: 1; letter-spacing: .005em;
  transition: border-color .22s var(--ease-out), color .22s var(--ease-out), transform .14s var(--ease-out), background .22s var(--ease-out);
}
.chip.selected {
  border-color: oklch(0.4 0.03 40 / 0.62); color: var(--ink); font-weight: 400;
  background: oklch(1 0 0 / 0.22);
}
.chip.pressing { transform: scale(0.94); }
.quiz-foot { display: flex; justify-content: flex-end; padding-top: 14px; }
.quiz-next {
  font-family: inherit; font-weight: 400; font-size: 12.5px; letter-spacing: .04em; color: var(--ink);
  background: transparent; border: 1px solid oklch(0.4 0.03 40 / 0.5); cursor: pointer;
  padding: 11px 26px; border-radius: var(--r-pill); box-shadow: none;
  transition: background .22s var(--ease-out);
}

/* animated UI cursor */
.ui-cursor {
  position: absolute; top: 0; left: 0; z-index: 5; width: 24px; height: 24px;
  pointer-events: none; will-change: transform;
  filter: drop-shadow(0 2px 3px oklch(0.3 0.06 30 / 0.4));
  transform: translate(40px, 120px);
}
.ui-cursor.click { transform: translate(var(--cx,0), var(--cy,0)) scale(0.82); }

@media (max-width: 860px) {
  .step-feature, .step-feature.reverse { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .step-feature.reverse .step-feature-text, .step-feature.reverse .step-phone-wrap { order: 0; }
  .step-feature-text { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 820px) {
  .steps-grid.two { grid-template-columns: 1fr; gap: 14px; }
  .steps-grid.two::before { display: none; }
  .step { flex-direction: row; text-align: start; gap: 16px; }
  .step-num { width: 58px; height: 58px; font-size: 23px; flex: 0 0 auto; box-shadow: var(--btn-shadow); }
  .step-card { min-height: 0; padding: 16px 18px; }
}

/* ============================================================================
   STEP 3 — natural-wood vitrine cabinet (fluted-glass sliding door)
   cabinet on the LEFT · title + callouts beside it on the RIGHT
   ============================================================================ */
.step3 { display: block; }
.cab-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; }
.cab-title .cab-title-lead { display: block; font-size: 1.18em; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cab-title .cab-title-sub { display: block; font-size: 0.74em; font-weight: 400; color: var(--ink-soft); font-family: var(--font-body); letter-spacing: .005em; }

.cabinet-stage {
  position: relative; width: 100%; max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr clamp(300px, 38%, 372px);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.shelf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; overflow: visible; transition: opacity .3s var(--ease-out); }

/* RIGHT column: title + the two callouts */
.cab-side { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); grid-column: 1; grid-row: 1; }
.cab-side .step-feature-text { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 4px; }
.cab-side .step-num { margin-bottom: 14px; }

/* ---- the vitrine: narrow, tall — refined light-oak, matte ---- */
.vitrine {
  /* warm light-oak, low-chroma matte */
  --oak-1: oklch(0.815 0.035 76);   /* lit face */
  --oak-2: oklch(0.745 0.04 72);    /* mid */
  --oak-3: oklch(0.64 0.042 64);    /* shadow */
  --oak-hi: oklch(0.875 0.028 82);  /* highlight */
  --oak-grain: oklch(0.55 0.04 58 / 0.05);
  --door: 0;
  width: 100%; margin: 0; position: relative; z-index: 2; grid-column: 2; grid-row: 1; justify-self: start;
}
.vitrine::after { /* floor contact shadow */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -24px; height: 30px;
  background: radial-gradient(50% 100% at 50% 0%, oklch(0.34 0.05 45 / 0.4), transparent 74%);
  filter: blur(4px); z-index: -1;
}
/* a reusable matte-oak grain surface */
.wood, .vitrine-crown, .vitrine-window, .vitrine-base {
  background-color: var(--oak-2);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 6px, var(--oak-grain) 6px 7px, transparent 7px 16px),
    repeating-linear-gradient(90deg, transparent 0 47px, oklch(0.5 0.04 56 / 0.07) 47px 49px, transparent 49px 96px),
    linear-gradient(96deg, var(--oak-3) 0%, var(--oak-1) 30%, var(--oak-2) 60%, var(--oak-1) 82%, var(--oak-3) 100%);
}
.vitrine-crown {
  position: relative; z-index: 3; height: 30px; border-radius: 12px 12px 5px 5px;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 6px, var(--oak-grain) 6px 7px, transparent 7px 16px),
    linear-gradient(180deg, var(--oak-hi) 0%, var(--oak-1) 34%, var(--oak-2) 74%, var(--oak-3) 100%);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.4) inset,
    0 -1px 0 oklch(1 0 0 / 0.25) inset,
    0 8px 12px -7px oklch(0.34 0.05 45 / 0.5);
}
.vitrine-crown::after { /* cornice lip */
  content: ""; position: absolute; left: 5px; right: 5px; bottom: -5px; height: 8px; border-radius: 3px;
  background: linear-gradient(180deg, var(--oak-1), var(--oak-3));
  box-shadow: 0 4px 7px -3px oklch(0.3 0.05 45 / 0.5);
}
/* the glazed opening, framed in oak */
.vitrine-window {
  position: relative; padding: 17px;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.28) inset;
}
.vitrine-base {
  position: relative; z-index: 3; height: 44px; border-radius: 5px 5px 13px 13px;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 6px, var(--oak-grain) 6px 7px, transparent 7px 16px),
    linear-gradient(180deg, var(--oak-1) 0%, var(--oak-2) 52%, var(--oak-3) 100%);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.35) inset,
    0 16px 24px -16px oklch(0.34 0.05 45 / 0.5);
}
.vitrine-base::before { /* recessed plinth panel */
  content: ""; position: absolute; inset: 10px 18px auto; top: 10px; height: 20px; border-radius: 6px;
  background: linear-gradient(180deg, var(--oak-3), var(--oak-2));
  box-shadow:
    0 2px 4px oklch(0.3 0.05 45 / 0.35) inset,
    0 1px 0 oklch(1 0 0 / 0.3);
}

/* recessed interior — deep, warm-lit, soft wall→back transitions */
.vitrine-interior {
  position: relative; overflow: hidden; border-radius: 5px;
  background:
    /* warm crown-light wash */
    radial-gradient(130% 46% at 50% 2%, oklch(0.95 0.05 86 / 0.95) 0%, transparent 52%),
    /* left + right inner-wall shading, blending to lit back panel */
    linear-gradient(90deg,
      oklch(0.6 0.05 56 / 0.55) 0%, oklch(0.72 0.045 62 / 0.2) 9%,
      transparent 22%, transparent 78%,
      oklch(0.72 0.045 62 / 0.2) 91%, oklch(0.6 0.05 56 / 0.55) 100%),
    /* back panel vertical falloff */
    linear-gradient(180deg, oklch(0.88 0.04 80) 0%, oklch(0.82 0.05 70) 54%, oklch(0.76 0.055 60) 100%);
  box-shadow:
    0 26px 40px -22px oklch(0.3 0.05 45 / 0.7) inset,   /* deep top recess */
    0 -10px 26px -16px oklch(0.32 0.05 48 / 0.55) inset,/* bottom recess */
    0 0 0 2px oklch(0.42 0.045 54 / 0.4) inset,         /* inner reveal */
    1px 0 0 oklch(1 0 0 / 0.18) inset,
    -1px 0 0 oklch(1 0 0 / 0.18) inset;
}
.v-light { /* warm LED ceiling strip + spill */
  position: absolute; top: 5px; left: 10%; right: 10%; height: 4px; border-radius: 3px; z-index: 1;
  background: linear-gradient(90deg, transparent, oklch(0.99 0.04 92 / 0.95) 16%, oklch(1 0.02 94) 50%, oklch(0.99 0.04 92 / 0.95) 84%, transparent);
  box-shadow: 0 0 22px 6px oklch(0.96 0.07 88 / 0.6), 0 8px 26px 2px oklch(0.95 0.07 86 / 0.3);
}

/* a faint back-wall shelf line for depth behind the bottles */
.v-backshelf {
  position: absolute; left: 4%; right: 4%; top: 33%; height: 2px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.6 0.05 56 / 0.28) 14%, oklch(0.6 0.05 56 / 0.28) 86%, transparent);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.22), 0 222px 0 0 oklch(0.6 0.05 56 / 0.24);
}

/* floors + shelves */
.v-floor {
  position: relative; z-index: 2; direction: ltr;
  display: flex; align-items: flex-end; justify-content: space-around;
  gap: 6px; padding: 16px 16px 0; min-height: 118px;
}
.v-floor.one { justify-content: center; }
.v-floor:first-of-type { padding-top: 20px; }
/* a physical wooden shelf: thickness + rounded lit front edge + warm under-glow */
.v-shelf {
  position: relative; z-index: 3; height: 14px; margin: 9px 4px 0; border-radius: 3px 3px 4px 4px;
  background:
    linear-gradient(180deg, var(--oak-hi) 0%, var(--oak-1) 22%, var(--oak-2) 60%, var(--oak-3) 100%);
  box-shadow:
    0 1.5px 0 oklch(1 0 0 / 0.55) inset,                 /* bright front-edge highlight */
    0 -1px 0 oklch(0.4 0.04 50 / 0.3) inset,
    0 12px 16px -7px oklch(0.3 0.05 45 / 0.55),          /* drop shadow under shelf */
    0 2px 5px -1px oklch(0.3 0.05 45 / 0.3);
}
.v-shelf::before { /* warm LED glow riding the shelf top, lighting the floor below */
  content: ""; position: absolute; left: 8%; right: 8%; top: -2px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, oklch(0.98 0.05 90 / 0.8) 22%, oklch(1 0.03 92 / 0.95) 50%, oklch(0.98 0.05 90 / 0.8) 78%, transparent);
  box-shadow: 0 7px 18px 2px oklch(0.96 0.07 88 / 0.4);
  opacity: .75; /* dim so the pulsing recommendation halo stays the brightest object */
}
.v-shelf::after { /* contact shadow the shelf casts upward onto the bay above */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  background: linear-gradient(180deg, transparent, oklch(0.3 0.05 45 / 0.18));
  pointer-events: none;
}

/* a product (bottle) + its ellipse marker */
.product { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 38%; }
/* soft contact shadow so the bottle "sits" on the wooden shelf */
.product::after {
  content: ""; position: absolute; z-index: 1; left: 50%; bottom: -3px; transform: translateX(-50%);
  width: 78%; height: 11px; border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 50%, oklch(0.28 0.05 45 / 0.5), oklch(0.28 0.05 45 / 0.22) 56%, transparent 78%);
  filter: blur(1.5px);
}
/* middle shelf, right side (AHA peeling) — no contact shadow */
#prodBad::after { display: none; }
.product-img {
  position: relative; z-index: 2; display: block;
  width: auto; height: 96px; max-width: 98%; object-fit: contain;
  filter: none; image-rendering: auto; opacity: 1;
}
.product-img.tall { height: 106px; }

/* ellipse markers — uniform, smaller than the bottle, sitting BEHIND it (z-index 0)
   so each bottle gets a luxurious glowing halo around its silhouette */
.ell {
  position: absolute; z-index: 0; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 54px; height: 80px; border-radius: 50%; pointer-events: none;
  border: 2px solid currentColor;
}
.ell-green {
  color: oklch(0.62 0.13 150);
  background: radial-gradient(50% 50% at 50% 50%, oklch(0.66 0.13 150 / 0.45) 0%, oklch(0.66 0.13 150 / 0.14) 48%, transparent 72%);
  box-shadow: 0 0 24px 7px oklch(0.62 0.13 150 / 0.52), 0 0 9px oklch(0.62 0.13 150 / 0.35) inset;
}
.ell-red {
  color: oklch(0.58 0.18 25);
  background: radial-gradient(50% 50% at 50% 50%, oklch(0.62 0.18 25 / 0.45) 0%, oklch(0.62 0.18 25 / 0.14) 48%, transparent 72%);
  box-shadow: 0 0 24px 7px oklch(0.58 0.18 25 / 0.52), 0 0 9px oklch(0.58 0.18 25 / 0.35) inset;
}
/* the standout recommendation: a clear glowing, pulsing aura */
.ell-white {
  color: oklch(0.99 0.012 95);
  background: radial-gradient(50% 50% at 50% 50%, oklch(0.98 0.04 92 / 0.55) 0%, oklch(0.97 0.04 92 / 0.18) 48%, transparent 72%);
  box-shadow: 0 0 28px 9px oklch(1 0 0 / 0.72), 0 0 16px oklch(0.97 0.04 90 / 0.55) inset;
}
.ell-glow {
  position: absolute; z-index: 0; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 74px; height: 100px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, oklch(0.95 0.05 92 / 0.7) 0%, oklch(0.92 0.06 92 / 0.34) 40%, oklch(0.9 0.06 92 / 0.12) 62%, transparent 78%);
}
@media (prefers-reduced-motion: no-preference) {
  .ell-white { animation: ellPulse 2.4s var(--ease-out) infinite; }
  .ell-glow  { animation: ellGlow 2.4s var(--ease-out) infinite; }
}
@keyframes ellPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}
@keyframes ellGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(0.86); opacity: 0.55; }
  50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* ---- single fluted-glass sliding door (scroll-driven) ---- */
.glass-door {
  position: absolute; inset: 0; z-index: 4; overflow: hidden;
  transform: translateX(0);
  box-shadow:
    0 0 0 1px oklch(0.42 0.045 54 / 0.35),
    -10px 0 22px -12px oklch(0.3 0.05 45 / 0.55) inset,
    0 1px 0 oklch(1 0 0 / 0.3) inset;
  will-change: transform;
}
.glass-flutes {
  position: absolute; inset: 0;
  /* Painted frosted glass (no backdrop sampling) — the door is translateX-animated
     on scroll, so a live backdrop-filter would re-raster the blurred backdrop every
     frame. High-alpha white flutes read as frosted at a fraction of the cost. */
  background:
    repeating-linear-gradient(90deg,
      oklch(1 0 0 / 0.05) 0px,
      oklch(1 0 0 / 0.18) 2px,
      oklch(1 0 0 / 0.46) 5px,
      oklch(1 0 0 / 0.18) 8px,
      oklch(1 0 0 / 0.05) 11px),
    linear-gradient(118deg, oklch(0.9 0.025 80 / 0.72), oklch(0.83 0.04 68 / 0.66));
}
.glass-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(116deg, oklch(1 0 0 / 0.4) 0%, oklch(1 0 0 / 0.06) 26%, transparent 50%, oklch(1 0 0 / 0.05) 72%, oklch(1 0 0 / 0.22) 100%);
}
/* slim 3D brushed-gold handle */
.door-handle {
  position: absolute; top: 50%; right: 9px; transform: translateY(-50%); z-index: 5;
  filter: drop-shadow(0 2px 4px oklch(0.3 0.06 40 / 0.5));
}
@media (prefers-reduced-motion: reduce) {
  .glass-door { transform: translateX(-100%); }
}

/* callouts — stacked in the right column beside the cabinet, kept narrow */
.callout {
  position: relative; z-index: 7; width: 100%; max-width: 248px; align-self: flex-end;
  background: var(--surface-fill); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); box-shadow: var(--elev-card); padding: 13px 16px;
  opacity: 0; transform: translateX(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.callout p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }
.callout .callout-lead { font-weight: 700; color: var(--ink); }

@media (max-width: 880px) {
  .cabinet-stage { grid-template-columns: 1fr; gap: 18px; max-width: 460px; }
  .vitrine { justify-self: center; max-width: 360px; }
  .shelf-lines { display: none; }
  .cab-side { align-items: stretch; }
  .cab-side .step-feature-text { align-items: center; text-align: center; }
  .callout { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   TIMELINE
   ============================================================================ */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; right: 50%; transform: translateX(50%);
  width: 2px; background: linear-gradient(180deg, transparent 0, var(--accent-line) 6%, var(--accent-line) 94%, transparent 100%);
}
.tl-node {
  position: relative; display: grid; grid-template-columns: 1fr 86px 1fr;
  align-items: center; margin-block: clamp(18px, 3vw, 30px);
}
.tl-dot {
  grid-column: 2; justify-self: center; position: relative; z-index: 2;
  width: 86px; height: 86px; border-radius: var(--r-pill);
  background: var(--cream); border: 2px solid var(--accent-line);
  box-shadow: 0 0 0 6px var(--cream), 0 8px 18px -10px oklch(0.4 0.06 42 / 0.45);
  display: grid; place-items: center; overflow: hidden;
}
.tl-week {
  position: absolute; z-index: 3; top: -10px; right: 50%; transform: translateX(50%);
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  color: var(--espresso-2); background: var(--accent); padding: 3px 11px; border-radius: var(--r-pill);
  box-shadow: 0 4px 10px -4px oklch(0.4 0.06 42 / 0.5); white-space: nowrap;
}
.tl-card {
  background: var(--surface-fill); border: 1px solid var(--accent-line);
  border-radius: var(--r-xl); box-shadow: var(--elev-card);
  padding: 18px 20px;
}
.tl-card h3 { margin: 0 0 6px; font-family: var(--display-font); font-weight: 700; font-size: 18px; color: var(--ink); }
.tl-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
/* zig-zag: each node alternates side. odd node → right column (col 1),
   even node → left column (col 3) — applied to whichever content the node
   holds (a card or a compliment bubble), so they truly alternate down the rail. */
.tl-node:nth-child(odd) > .tl-card,
.tl-node:nth-child(odd) > .tl-compliment { grid-column: 1; justify-self: end; margin-inline-end: clamp(14px, 2.2vw, 26px); }
.tl-node:nth-child(even) > .tl-card,
.tl-node:nth-child(even) > .tl-compliment { grid-column: 3; justify-self: start; margin-inline-start: clamp(14px, 2.2vw, 26px); }
/* cards hug the spine like the bubbles and share a width cap, so the two rails
   stay balanced instead of the card side sprawling to fill the column. */
.tl-card { text-align: start; width: 100%; max-width: 360px; }

/* Tut compliment bubble attached to a node */
.tl-compliment {
  align-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--plum); color: var(--on-dark);
  padding: 12px 16px; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  box-shadow: var(--elev-float); max-width: 280px;
}
/* the bubble hugs the central rail; its sharp corner (tail) points at the dot */
.tl-node:nth-child(odd) > .tl-compliment { justify-self: end; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; }
.tl-node:nth-child(even) > .tl-compliment { justify-self: start; border-radius: var(--r-lg) var(--r-lg) 6px var(--r-lg); }
.tl-compliment .mini-berry { width: 26px; height: 28px; flex: 0 0 auto; }

/* the medallion inside each timeline dot — a soft gold orb with a tiny berry */
.tl-medallion {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(60% 60% at 38% 30%, oklch(0.97 0.03 88 / 0.95), transparent 70%),
    radial-gradient(120% 120% at 50% 120%, var(--accent-soft), transparent 72%),
    var(--cream);
  box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 1px 0 oklch(1 0 0 / 0.7);
}
.tl-medallion img { width: 46px; height: 50px; display: block; filter: drop-shadow(0 4px 7px oklch(0.4 0.08 40 / 0.28)); }

@media (max-width: 720px) {
  .timeline::before { right: 43px; transform: none; }
  .tl-node { grid-template-columns: 86px 1fr; gap: 14px; margin-block: 18px; }
  .tl-dot { grid-column: 1; }
  .tl-week { right: 43px; transform: translateX(50%); }
  .tl-node .tl-card, .tl-node:nth-child(odd) .tl-card, .tl-node:nth-child(even) .tl-card {
    grid-column: 2; margin-inline: 0; text-align: start;
  }
  .tl-node .tl-compliment, .tl-node:nth-child(even) .tl-compliment {
    grid-column: 2; justify-self: start; margin-inline: 0; margin-top: 0;
  }
}

/* ============================================================================
   CTA / email
   ============================================================================ */
.cta { text-align: center; padding-bottom: clamp(60px, 9vw, 120px); }
.cta-card {
  position: relative; max-width: 680px; margin-inline: auto;
  background: linear-gradient(170deg, var(--plum), var(--plum-deep));
  color: var(--on-dark); border-radius: var(--r-2xl);
  padding: clamp(34px, 5vw, 56px) clamp(24px, 5vw, 56px);
  box-shadow: var(--elev-float); overflow: hidden;
}
.cta-card .eyebrow { color: oklch(0.88 0.04 18); }
.cta-card h2 { font-family: var(--display-font); font-weight: 700; font-size: clamp(26px, 4vw, 42px); margin: 14px 0 0; color: var(--on-dark); }
.cta-card p { margin: 14px auto 0; max-width: 36ch; color: oklch(0.92 0.02 60); font-size: 16px; line-height: 1.55; }
.cta-berry { position: absolute; z-index: 0; width: 120px; opacity: 1; bottom: -22px; left: -14px; transform: rotate(-12deg); pointer-events: none; filter: drop-shadow(-6px 10px 14px oklch(0.18 0.06 350 / 0.45)); }
@media (max-width: 540px) { .cta-berry { width: 92px; } }
.cta-form { display: flex; gap: 10px; margin: clamp(22px, 3vw, 30px) auto 0; max-width: 460px; }
.cta-form input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px;
  padding: 15px 18px; border-radius: var(--r-pill); border: none;
  background: oklch(1 0 0 / 0.96); color: var(--ink); direction: rtl;
}
.cta-form input::placeholder { color: var(--ink-mute); }
.cta-form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-gold {
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  color: oklch(0.30 0.05 70); cursor: pointer; white-space: nowrap;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1px solid var(--gold-deep);
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.45), var(--btn-shadow);
  transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-fast) var(--ease-out);
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-gold:active { transform: translateY(1px) scale(.99); }
.btn-gold:disabled { opacity: .7; cursor: progress; transform: none; }
.cta-note { margin-top: 14px; font-size: 13px; color: oklch(0.88 0.02 60); }
.cta-error { margin-top: 14px; font-size: 14px; font-weight: 600; color: oklch(0.9 0.06 25); min-height: 1em; }
.cta-done { font-size: 18px; font-weight: 700; line-height: 1.5; }
@media (max-width: 540px) { .cta-form { flex-direction: column; } }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { border-top: 1px solid var(--hairline); margin-top: clamp(20px, 4vw, 40px); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: clamp(20px, 4vw, 48px); padding-block: clamp(40px, 6vw, 72px);
}
.footer-brand { max-width: 42ch; }
.footer-brand .wordmark { margin-bottom: 12px; }
.footer-manifesto { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-link {
  font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--accent-line); padding-bottom: 2px;
  transition: border-color var(--motion-fast) var(--ease-out);
}
.footer-link:hover { border-color: var(--accent-ink); }
.footer-copy { font-size: 13px; color: var(--ink-mute); }
@media (max-width: 560px) { .footer-meta { align-items: flex-start; } }

/* ============================================================================
   ROAMING TUT STICKER
   ============================================================================ */
.tut-sticker {
  position: fixed; z-index: 40; top: 0; left: 0;
  width: 78px; height: 86px; cursor: grab; will-change: transform;
  touch-action: none;
}
.tut-sticker:active { cursor: grabbing; }
.tut-sticker .ts-berry {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 10px 18px oklch(0.4 0.08 40 / 0.32));
  animation: stickerWobble 2.4s ease-in-out infinite;
  transition: transform var(--motion-fast) var(--ease-spring);
}
.tut-sticker:hover .ts-berry { transform: scale(1.08); }
.tut-sticker.pop .ts-berry { animation: stickerPop 0.5s var(--ease-spring); }
@keyframes stickerWobble { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes stickerPop { 0% { transform: scale(1); } 40% { transform: scale(1.28) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .tut-sticker .ts-berry { animation: none; } }

.ts-bubble {
  position: absolute; bottom: 78%; right: 50%;
  width: max-content; max-width: 250px;
  background: oklch(1 0 0 / 0.96); color: var(--ink);
  border: 1px solid var(--accent-line); border-radius: 16px 16px 16px 5px;
  padding: 11px 14px; font-size: 14px; line-height: 1.45; font-weight: 500;
  box-shadow: var(--elev-float); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: bottom right;
  transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-spring);
  pointer-events: none;
}
.ts-bubble.show { opacity: 1; transform: translateY(0) scale(1); }
.ts-bubble.flip-left { right: auto; left: 50%; border-radius: 16px 16px 5px 16px; transform-origin: bottom left; }
.ts-bubble.flip-down { bottom: auto; top: 78%; border-radius: 5px 16px 16px 16px; transform-origin: top right; }
.ts-bubble.flip-left.flip-down { border-radius: 16px 5px 16px 16px; transform-origin: top left; }
.ts-bubble::after {
  content: ""; position: absolute; bottom: -6px; right: 14px;
  width: 12px; height: 12px; background: oklch(1 0 0 / 0.96);
  border-right: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line);
  transform: rotate(45deg);
}
.ts-bubble.flip-left::after { right: auto; left: 14px; }
.ts-bubble.flip-down::after { bottom: auto; top: -6px; border: none; border-left: 1px solid var(--accent-line); border-top: 1px solid var(--accent-line); }

/* ============================================================================
   Reveal — entrance handled by app.js (IntersectionObserver). The hidden
   initial state is gated by `.js-reveal` on <html>, set inline in <head> only
   when IO is supported AND motion is allowed — so content is never stuck
   invisible (no JS / no IO / reduced-motion all fall through to visible).
   ============================================================================ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* hero stagger — the statement/deck/lead/form cascade in on load */
.js-reveal .reveal.d1 { transition-delay: .07s; }
.js-reveal .reveal.d2 { transition-delay: .14s; }
.js-reveal .reveal.d3 { transition-delay: .21s; }
/* within-group stagger so a row of timeline nodes cascades, not pops in lockstep */
.js-reveal .tl-node.reveal:nth-child(2) { transition-delay: .06s; }
.js-reveal .tl-node.reveal:nth-child(3) { transition-delay: .12s; }
.js-reveal .tl-node.reveal:nth-child(4) { transition-delay: .18s; }
.js-reveal .tl-node.reveal:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================================
   UPLIFT — a11y floor, sticky nav/CTA, scanning-protagonist hero, footer band
   ============================================================================ */

/* ---- accessibility floor ---- */
:where(a, button, input, [tabindex], [role="button"]):focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 8px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* honeypot — clipped to nothing (never seen/tabbed by humans). Must NOT use a
   large negative offset: in this RTL document left:-9999px blows the page
   scroll-width out to ~10000px and breaks centering. Clip in place instead. */
.hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  border: 0; opacity: 0; pointer-events: none;
}
.skip-link {
  position: fixed; top: 10px; right: 10px; z-index: 60; transform: translateY(-160%);
  background: var(--ink); color: var(--on-dark); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none;
  box-shadow: var(--elev-float); transition: transform var(--motion-base) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---- sticky nav with fade-in hairline ---- */
.nav-shell { position: sticky; top: 0; z-index: 20; transition: background var(--motion-base) var(--ease-out); }
.nav-shell::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--hairline); opacity: 0; transition: opacity var(--motion-base) var(--ease-out);
}
.nav-shell.is-stuck { background: oklch(1 0 0 / 0.62); backdrop-filter: blur(12px) saturate(1.1); }
.nav-shell.is-stuck::after { opacity: 1; }
@media (max-width: 600px) { .nav-cta { padding: 11px 18px; } }

/* ---- HERO: scanning protagonist (split layout) ---- */
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero-statement {
  font-family: var(--display-font); font-weight: 400;
  font-size: clamp(40px, 8vw, 88px); line-height: 1.12; letter-spacing: 0;
  text-wrap: balance; color: var(--ink); margin: 14px 0 0;
}
.hero-statement em { font-style: normal; color: var(--accent-ink); }
.hero .hero-deck {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px); line-height: 1.3; letter-spacing: 0;
  color: var(--ink-soft); max-width: 28ch; margin: 16px 0 0;
}
.hero .hero-deck .accent-word { color: var(--accent-ink); font-weight: 500; }
.hero .lead { text-wrap: pretty; }

.hero-capture { display: flex; gap: 10px; width: 100%; max-width: 440px; margin: clamp(22px, 3vw, 30px) 0 0; }
.hero-capture input[type="email"] {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px;
  padding: 15px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-line); background: oklch(1 0 0 / 0.9); color: var(--ink); direction: rtl;
}
.hero-capture input::placeholder { color: var(--ink-mute); }
.hero-proof { margin: 14px 0 0; max-width: 440px; font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.hero-proof strong { color: var(--ink-soft); font-weight: 700; }
.form-err { margin-top: 8px; min-height: 1em; font-size: 13.5px; font-weight: 600; color: oklch(0.52 0.16 25); }
@media (max-width: 480px) { .hero-capture { flex-direction: column; } }

/* the scan reticle + verdict — pulls the Step-1 magic above the fold */
.hero-reticle { position: absolute; inset: 2% 4% 6%; z-index: 2; pointer-events: none; }
.hero-bracket { position: absolute; width: 26px; height: 26px; border: 2.4px solid var(--gold-ink); opacity: .5; }
.hero-bracket.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 7px 0 0 0; }
.hero-bracket.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 7px 0 0; }
.hero-bracket.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 7px; }
.hero-bracket.br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 7px 0; }
.hero-scanline {
  position: absolute; left: 4%; right: 4%; height: 14%; top: -14%;
  background: linear-gradient(180deg, transparent, oklch(0.86 0.10 84 / 0.45) 46%, oklch(0.98 0.03 90 / 0.85) 50%, oklch(0.86 0.10 84 / 0.45) 54%, transparent);
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: no-preference) { .hero-scanline { animation: heroScan 3.6s var(--ease-out) infinite; } }
@keyframes heroScan { 0% { top: -14%; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.hero-verdict {
  position: absolute; z-index: 3; bottom: 0; inset-inline-start: -4%;
  display: inline-flex; align-items: center; gap: 8px;
  background: oklch(1 0 0 / 0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line); border-radius: var(--r-pill);
  padding: 8px 14px; box-shadow: var(--elev-float);
  font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink);
}
.hv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hero-verdict { animation: verdictIn .6s var(--ease-out) .9s both; }
}
@keyframes verdictIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* grounded contact shadow under the floating berry (counter-animates the float) */
.hero-berry-wrap::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -4%; height: 18px; border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 50%, oklch(0.34 0.05 42 / 0.34), transparent 72%);
  filter: blur(3px); animation: berryShadow 6s ease-in-out infinite; z-index: 0;
}
@keyframes berryShadow { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(.8); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hero-berry-wrap::after { animation: none; } }

/* dynamic-island detail on the phone mockups */
.phone-island {
  position: absolute; z-index: 4; top: 8px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 16px; background: #0c0a0b; border-radius: 0 0 var(--r-pill) var(--r-pill);
}

/* keep the plum CTA content above the decorative berry */
.cta-card > *:not(.cta-berry) { position: relative; z-index: 1; }

/* ---- mobile sticky CTA bar ---- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(16px, 4vw, 24px); padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: oklch(1 0 0 / 0.86); backdrop-filter: blur(12px) saturate(1.1);
  border-top: 1px solid var(--accent-line);
  transform: translateY(120%); transition: transform var(--motion-base) var(--ease-out);
}
.sticky-cta.show { transform: none; }
.sticky-cta span { font-weight: 600; font-size: 14px; color: var(--ink); }
.sticky-cta .btn-gold { padding: 11px 20px; font-size: 15px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* success-state share button */
.btn-share {
  display: inline-block; margin-top: 16px; padding: 12px 22px; border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.96); color: var(--plum); font-weight: 700; text-decoration: none;
  transition: transform var(--motion-fast) var(--ease-spring);
}
.btn-share:hover { transform: translateY(-1px); }

/* ---- mobile: dock the mascot, drop touch-only chrome ---- */
@media (max-width: 700px) { .tut-sticker { display: none; } }
@media (hover: none) { .scroll-btn { display: none; } }
