/* ============================================================
   tevyy® — marketing that optimizes every hour, not every week
   paper & ink editorial / emerald + marigold
   ============================================================ */

:root {
  --paper: #f4f1e8;
  --paper-dim: #eae4d3;
  --ink: #171611;
  --ink-soft: #5b5547;
  --accent: #0c8050;   /* emerald */
  --accent2: #f2a116;  /* marigold */
  --butter: #f0e2b6;
  --moss: #ccd9bd;
  --line: rgba(23, 22, 17, 0.14);
  --serif: "Fraunces", serif;
  --grotesk: "Space Grotesk", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--grotesk);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 480; letter-spacing: -0.01em; }
.grotesk { font-family: var(--grotesk); font-weight: 700; letter-spacing: -0.02em; }

/* ============ Grain ============ */
.grain {
  position: fixed; inset: -50%; z-index: 500; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader__word {
  display: flex; align-items: baseline; overflow: hidden;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(4rem, 14vw, 11rem); color: var(--paper); line-height: 1.1;
}
.preloader__word span { display: inline-block; transform: translateY(120%); }
.preloader__word b {
  font-family: var(--grotesk); font-weight: 400; font-style: normal;
  font-size: 0.25em; color: var(--accent2);
  transform: translateY(-2.2em); opacity: 0;
}

/* ============ Cursor ============ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 900;
  width: 14px; height: 14px; border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  mix-blend-mode: exclusion;
  background: #e9e9e9;
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}
.cursor.is-big { width: 78px; height: 78px; }
.cursor__label {
  font-family: var(--grotesk); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; color: #111; opacity: 0;
  transition: opacity 0.2s; white-space: nowrap;
}
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ Scroll progress ============ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 160;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem var(--pad);
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled {
  background: rgba(244, 241, 232, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-family: var(--serif); font-style: italic; font-weight: 560;
  font-size: 1.55rem; letter-spacing: -0.02em;
}
.nav__logo b { font-family: var(--grotesk); font-style: normal; font-weight: 400; font-size: 0.55em; color: var(--accent2); vertical-align: super; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__link {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; position: relative; color: var(--ink-soft);
  transition: color 0.3s;
}
.nav__link:hover { color: var(--ink); }
@media (max-width: 760px) { .nav__links { display: none; } }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem; border-radius: 100px;
  background: var(--ink); color: var(--paper);
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.35s, color 0.35s;
}
.pill i { font-style: normal; transition: transform 0.35s var(--ease); }
.pill:hover { background: var(--accent); }
.pill:hover i { transform: translate(3px, -3px); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--grotesk); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.9rem; border-radius: 100px;
  /* no transform transition — GSAP owns transforms (magnetic) */
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--go { background: var(--accent); color: var(--paper); box-shadow: 0 18px 40px -18px rgba(12,128,80,0.65); }
.btn--go:hover { background: var(--ink); }
.btn--line { border: 1px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--accent2); color: var(--ink); }
.btn--big { font-size: 1rem; padding: 1.25rem 2.4rem; }
.btn--hero { font-size: clamp(1rem, 1.4vw, 1.15rem); padding: 1.35rem 2.6rem; gap: 0.7rem; }
.btn i { font-style: normal; transition: transform 0.35s var(--ease); }
.btn:hover i { transform: translateX(5px); }

/* ============ Hero — split editorial + live feed ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
#growthChart {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 74%;
  display: block; pointer-events: none;
  /* soften the chart where the headline lives */
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 8.5rem var(--pad) 4rem;
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 7.5rem; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 2.2rem;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 128, 80, 0.45); }
  50% { box-shadow: 0 0 0 9px rgba(12, 128, 80, 0); }
}

.hero__title {
  line-height: 0.98;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  font-weight: 400;
}
.hero__row { display: block; overflow: hidden; padding: 0.05em 0; }
.hero__row--mid { display: flex; align-items: baseline; white-space: nowrap; }
.hero__word { display: inline-block; will-change: transform; }
.hero__word.serif-italic { color: var(--accent); font-size: 1.04em; }
.hero__asterisk {
  display: inline-block; font-size: 0.3em; color: var(--accent2);
  align-self: center; margin-left: 0.4em;
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* rotating accent word */
.rotator {
  position: relative; display: inline-block;
  text-align: left; overflow: hidden; vertical-align: bottom;
}
.rotator__word { display: inline-block; white-space: nowrap; }
.rotator__word:not(:first-child) {
  position: absolute; left: 0; top: 0; visibility: hidden;
}

/* strike-through "WEEK" */
.strike { position: relative; text-decoration: none; display: inline-block; }
.strike i {
  position: absolute; left: -2%; top: 52%; height: 0.07em; width: 104%;
  background: var(--accent2);
  /* initial scaleX(0) is set from JS — a singular CSS matrix breaks GSAP's decomposition */
  transform-origin: left center;
}

.hero__blurb {
  color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65;
  max-width: 46ch; margin-top: 2.2rem;
}
.hero__ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
/* --- live optimization feed --- */
.hero__side { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.feed {
  width: 100%;
  background: #fdfbf4;
  border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 70px -38px rgba(23, 22, 17, 0.45),
    0 12px 30px -18px rgba(23, 22, 17, 0.18);
}
.feed__head {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.feed__live {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--accent);
}
.feed__live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
.feed__title {
  flex: 1; min-width: 0;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed__clock {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
/* cycle progress — refills before each new event */
.feed__bar {
  display: block; height: 2px;
  background: var(--accent); opacity: 0.5;
  transform: scaleX(0); transform-origin: left;
}
.feed__list { padding: 0.6rem 0; min-height: 17rem; }
.feed__list li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.62rem 1.4rem;
  overflow: hidden;
}
.feed__list time {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.feed__tag {
  font-style: normal; flex-shrink: 0;
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 99px;
  transform: translateY(-1px);
}
.feed__tag--search { background: rgba(12, 128, 80, 0.13);  color: var(--accent); }
.feed__tag--social { background: rgba(242, 161, 22, 0.18); color: #9c6a08; }
.feed__tag--cro    { background: rgba(23, 22, 17, 0.08);   color: var(--ink); }
.feed__tag--seo    { background: rgba(95, 122, 74, 0.16);  color: #4f6a3d; }
.feed__tag--email  { background: rgba(240, 226, 182, 0.6); color: #8a6d1f; }
.feed__list span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; }
.feed__list li:first-child span { color: var(--ink); }
.feed__list span b { color: var(--accent); font-weight: 600; }
/* in-progress entries — italic with marching ellipsis */
.feed__list li.is-doing span { font-style: italic; color: var(--ink-soft); }
.feed__list li.is-doing span::after {
  content: ""; display: inline-block; width: 1.2em; text-align: left;
  animation: dots 1.2s steps(1) infinite;
}
@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}
.feed__foot {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-soft);
}
.feed__foot b {
  font-family: var(--serif); font-style: italic; font-weight: 560;
  font-size: 1.25rem; color: var(--accent);
}

.hero__cta {
  position: relative; width: 104px; height: 104px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero__cta-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.hero__cta-ring text {
  font-family: var(--grotesk); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; fill: var(--ink);
}
.hero__cta-arrow { font-size: 1.5rem; transition: transform 0.4s var(--ease); }
.hero__cta:hover .hero__cta-arrow { transform: translateY(6px); }
@media (max-width: 920px) { .hero__cta { display: none; } }

/* ============ Big section labels ============ */
.big-label {
  font-family: var(--grotesk); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 6rem);
  letter-spacing: -0.03em; line-height: 1;
  text-transform: uppercase;
}
.big-label em {
  font-family: var(--serif); font-style: italic; font-weight: 420;
  text-transform: none; letter-spacing: -0.01em;
  font-size: 0.62em; vertical-align: 0.12em; margin-right: 0.18em;
  color: var(--accent2);
}
.big-label--center { text-align: center; }

/* ============ Manifesto ============ */
.manifesto {
  padding: clamp(8rem, 18vh, 14rem) var(--pad);
  max-width: 1100px; margin: 0 auto;
}
.manifesto__kicker {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 2.5rem;
}
.manifesto__text {
  font-family: var(--serif); font-weight: 460;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.35; letter-spacing: -0.01em;
}
.manifesto__text .word { color: rgba(23, 22, 17, 0.16); transition: color 0.3s linear; }
.manifesto__text .word.is-lit { color: var(--ink); }
.manifesto__text .word.is-hl.is-lit { color: var(--accent); font-style: italic; }

/* ============ Credentials — the receipts ============ */
.seals { padding: 0 var(--pad) clamp(7rem, 14vh, 11rem); }
.seals__kicker {
  text-align: center; margin-bottom: 2.6rem;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}
.printbay { display: flex; flex-direction: column; align-items: center; }

/* the printer */
.printer {
  position: relative; z-index: 3;
  width: min(380px, 88vw); height: 52px;
  background: linear-gradient(180deg, #23211a, #14130d 80%);
  border-radius: 14px 14px 8px 8px;
  box-shadow: 0 22px 40px -20px rgba(23,22,17,0.6), inset 0 1px 0 rgba(244,241,232,0.12);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.1rem;
}
.printer__brand {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244,241,232,0.55);
}
.printer__led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px rgba(12,165,102,0.9);
}
.printer__led.is-printing { animation: ledblink 0.22s steps(2) infinite; }
@keyframes ledblink { 50% { opacity: 0.15; } }
.printer__slot {
  position: absolute; left: 18px; right: 18px; bottom: 7px; height: 5px;
  border-radius: 4px; background: #060604;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.9);
}

/* paper feed */
.rfeed {
  position: relative; z-index: 2;
  width: min(300px, 78vw);
  margin-top: -6px;
  /* space is reserved from load — printing reveals via clip-path,
     so the page never reflows and pinned sections below stay put */
}
.receipt { clip-path: inset(0 0 100% 0); }
@media (prefers-reduced-motion: reduce) { .receipt { clip-path: none; } }
.receipt {
  position: relative;
  background: #fdfbf4;
  padding: 1.9rem 1.4rem 1.2rem;
  box-shadow: 0 30px 55px -28px rgba(23,22,17,0.5);
  font-size: 0.72rem; letter-spacing: 0.04em;
  /* torn perforated bottom edge: solid body + scalloped bottom strip */
  -webkit-mask:
    linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat,
    radial-gradient(circle at 6px 10px, transparent 4.6px, #000 5px) 0 100% / 12px 10px repeat-x;
  mask:
    linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat,
    radial-gradient(circle at 6px 10px, transparent 4.6px, #000 5px) 0 100% / 12px 10px repeat-x;
  /* faint thermal-paper sheen */
  background-image: linear-gradient(100deg, transparent 30%, rgba(23,22,17,0.02) 50%, transparent 70%);
}
.receipt__head { text-align: center; border-bottom: 1px dashed rgba(23,22,17,0.3); padding-bottom: 0.7rem; margin-bottom: 0.65rem; }
.receipt__head b { font-family: var(--serif); font-style: italic; font-weight: 560; font-size: 1.3rem; display: block; }
.receipt__head span { display: block; font-size: 0.58rem; color: var(--ink-soft); letter-spacing: 0.22em; margin-top: 0.25rem; }
.receipt__meta em { font-style: normal; color: var(--ink); font-weight: 600; }

.receipt__items { list-style: none; }
.receipt__items li {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.34rem 0;
  text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.07em;
}
.receipt__items li svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--ink-soft); }
.receipt__items li svg [stroke] { stroke: currentColor; }
.receipt__items li svg [fill]:not([fill="none"]) { fill: currentColor; }
.receipt__dots { flex: 1; border-bottom: 2px dotted rgba(23,22,17,0.3); transform: translateY(-2px); }
.receipt__items li b { color: var(--accent); font-weight: 700; font-size: 0.72rem; }

.receipt__total {
  display: flex; align-items: baseline; gap: 0.5rem;
  border-top: 1px dashed rgba(23,22,17,0.3);
  margin-top: 0.55rem; padding-top: 0.6rem;
  font-weight: 700; font-size: 0.66rem; letter-spacing: 0.08em;
}
.receipt__total em { font-family: var(--serif); font-style: italic; font-weight: 560; color: var(--accent); font-size: 1rem; }

.receipt__barcode {
  margin-top: 0.8rem; height: 34px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px,
    var(--ink) 9px 12px, transparent 12px 14px, var(--ink) 14px 15px, transparent 15px 18px);
}
.receipt__foot { text-align: center; font-size: 0.54rem; color: var(--ink-soft); margin-top: 0.35rem; letter-spacing: 0.22em; }
.receipt__thanks {
  text-align: center; font-family: var(--serif); font-style: italic;
  font-size: 0.72rem; color: var(--ink-soft); margin: 0.7rem 0 0.6rem;
}

/* ============ The Clock ============ */
.clock { background: var(--paper-dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clock__stage {
  padding: clamp(4rem, 8vh, 6rem) var(--pad);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.clock__head { margin-bottom: 3rem; }
.clock__sub { color: var(--ink-soft); margin-top: 1.2rem; max-width: 32rem; line-height: 1.65; }
.clock__compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 3rem);
}
@media (max-width: 820px) { .clock__compare { grid-template-columns: 1fr; } }
.clock__side {
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--paper);
}
.clock__side--us { border-color: rgba(12, 128, 80, 0.5); }
.clock__side-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.6rem; gap: 1rem; flex-wrap: wrap;
}
.clock__who {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.clock__who--accent { color: var(--accent); }
.clock__big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock__big i {
  font-style: normal; font-family: var(--grotesk); font-size: 0.26em; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  margin-left: 0.5em;
}
.clock__big--accent { color: var(--accent); }
.ticks {
  display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px;
  margin-bottom: 1.6rem;
}
.ticks span {
  display: block; height: 22px; border-radius: 3px;
  background: rgba(23, 22, 17, 0.07);
}
.ticks span.lit { background: var(--ink-soft); }
.ticks--accent span.lit { background: var(--accent); }
.clock__caption { color: var(--ink-soft); font-size: 0.92rem; max-width: 30rem; line-height: 1.6; }

/* ============ Engine — what we run for you ============ */
.engine {
  position: relative;
  background: #0c0b07;
  color: var(--paper);
}
#engineGL {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0;
}
.engine__pin {
  position: relative; z-index: 1;
  height: 100vh; overflow: hidden;
}

/* HUD */
.engine__hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.5rem; padding: clamp(1.5rem, 4vh, 2.6rem) var(--pad) 0;
  pointer-events: none;
}
.engine__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244,241,232,0.7);
}
.engine__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.engine__index {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: center;
  max-width: 640px;
}
.engine__index li {
  font-size: 0.74rem; letter-spacing: 0.04em;
  color: rgba(244,241,232,0.35);
  transition: color 0.4s; white-space: nowrap;
}
.engine__index li span { font-variant-numeric: tabular-nums; color: rgba(244,241,232,0.25); margin-right: 0.25rem; }
.engine__index li.is-active { color: var(--paper); }
.engine__index li.is-active span { color: var(--accent); }
.engine__counter {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  font-variant-numeric: tabular-nums; line-height: 1; color: var(--paper);
}
.engine__counter i { font-style: normal; font-family: var(--grotesk); font-size: 0.55em; color: rgba(244,241,232,0.45); }
@media (max-width: 920px) { .engine__index { display: none; } }

/* horizontal track */
.engine__track {
  position: absolute; top: 0; left: 0; height: 100%;
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 8vw; will-change: transform;
}

/* slab — frosted ink glass */
.slab {
  position: relative; flex: 0 0 auto;
  width: min(660px, 82vw); height: 66vh; max-height: 580px;
  border: 1px solid rgba(244,241,232,0.12); border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 3rem);
  background: linear-gradient(155deg, rgba(20,19,14,0.72), rgba(10,10,7,0.55));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9);
}
.slab__num {
  position: absolute; top: -0.18em; right: 0.4rem;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(9rem, 20vw, 16rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12,165,102,0.22);
  pointer-events: none; user-select: none;
}
.slab__viz { width: clamp(96px, 12vw, 130px); aspect-ratio: 1; margin-bottom: auto; }
.slab__content { position: relative; z-index: 2; }
.slab__cadence {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); background: rgba(12,165,102,0.14);
  border: 1px solid rgba(12,165,102,0.35); border-radius: 100px;
  padding: 0.42rem 0.95rem; margin-bottom: 1.1rem;
}
.slab__name {
  font-family: var(--grotesk); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 0.98;
  letter-spacing: -0.03em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.slab__name em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -0.01em; color: var(--accent);
  margin-right: 0.12em;
}
.slab__desc { color: rgba(244,241,232,0.75); font-size: clamp(0.95rem, 1.3vw, 1.08rem); line-height: 1.6; max-width: 46ch; margin-bottom: 1.1rem; }
.slab__adv {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5;
  color: var(--paper); border-left: 2px solid var(--accent2);
  padding-left: 1rem; margin-bottom: 1.4rem; max-width: 44ch;
}
.slab__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slab__tags li {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244,241,232,0.6);
  border: 1px solid rgba(244,241,232,0.16); border-radius: 100px;
  padding: 0.42rem 0.85rem;
}

/* viz strokes */
.viz { width: 100%; height: 100%; overflow: visible; }
.viz [class^="viz-"], .viz [class*=" viz-"] { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viz-ring { stroke: rgba(12,165,102,0.3); }
.viz-sweep path { fill: rgba(12,165,102,0.16); stroke: none; }
.viz-core, .viz-blip, .viz-head, .viz-spark, .viz-sat, .viz-drop { fill: var(--accent); stroke: none; }
.viz-spark { fill: var(--accent2); }
.viz-arrow, .viz-arrowhead { stroke: var(--accent2); }
.bar { fill: var(--accent); stroke: none; }
.bar4 { fill: var(--accent2); }
.viz-pulse { stroke: var(--accent); }
.viz-flat { stroke: rgba(244,241,232,0.3); stroke-dasharray: 5 5; }
.viz-kink { fill: var(--accent2); stroke: none; }
.viz-ch { fill: var(--accent); stroke: none; }
.viz-axis { stroke: rgba(244,241,232,0.18); stroke-width: 1.4; }

/* CTA slab */
.slab--cta {
  align-items: center; justify-content: center; text-align: center;
  gap: 2.4rem; background: linear-gradient(155deg, rgba(12,165,102,0.16), rgba(10,10,7,0.5));
  border-color: rgba(12,165,102,0.4);
}
.slab__ctakick {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; max-width: 18ch;
}
.orb {
  position: relative; width: clamp(150px, 16vw, 200px); aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 36% 28%, #16b873, #0a6b44 78%);
  box-shadow: 0 30px 64px -28px rgba(12,165,102,0.8);
}
.orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.orb__ring text { font-family: var(--grotesk); font-size: 7.4px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; fill: rgba(244,241,232,0.85); }
.orb i { font-style: normal; font-size: 1.6rem; color: var(--paper); animation: spin 7s linear infinite reverse; }

/* rail + hint */
.engine__rail {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.4rem, 4vh, 2.4rem); z-index: 4;
  height: 2px; background: rgba(244,241,232,0.14); border-radius: 2px;
}
.engine__rail span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.engine__hint {
  position: absolute; right: var(--pad); bottom: clamp(2.4rem, 6vh, 3.6rem); z-index: 4;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(244,241,232,0.5);
}
.engine__hint i { font-style: normal; display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* mobile / reduced: vertical stack */
@media (max-width: 920px) {
  .engine__pin { height: auto; overflow: visible; padding-bottom: 4rem; }
  .engine__hud { position: relative; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 2.5rem; }
  .engine__track { position: relative; flex-direction: column; height: auto; padding: 0 var(--pad); gap: 1.4rem; }
  .slab { width: 100%; height: auto; min-height: 440px; }
  .engine__rail, .engine__hint { display: none; }
}

/* ============ Numbers — scroll-assembled stat cards ============ */
.numbers {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) var(--pad);
}
.numbers__aurora { position: absolute; inset: -10%; z-index: 0; pointer-events: none; filter: blur(72px); }
.numbers__aurora .blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob-em  { width: 46vw; height: 46vw; left: 8%;  top: 28%; background: radial-gradient(circle, rgba(12,165,102,0.55), transparent 68%); }
.blob-mar { width: 38vw; height: 38vw; right: 10%; top: 14%; background: radial-gradient(circle, rgba(242,161,22,0.42), transparent 68%); }
.blob-em2 { width: 34vw; height: 34vw; left: 42%; bottom: 6%; background: radial-gradient(circle, rgba(12,165,102,0.4), transparent 68%); }

.numbers__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.numbers__head { text-align: center; margin-bottom: clamp(3rem, 6vh, 5rem); }
.numbers__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.6rem;
}
.numbers__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

.numbers__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.5rem);
}
@media (max-width: 900px) { .numbers__row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 520px) { .numbers__row { grid-template-columns: 1fr; } }

/* dark folder card on paper */
.stat {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(280px, 32vh, 340px);
  padding: clamp(1.6rem, 2.2vw, 2.2rem);
  border-radius: 4px 20px 20px 20px;
  background: linear-gradient(158deg, #1a1810, #0e0d08 78%);
  border: 1px solid rgba(244,241,232,0.1);
  color: var(--paper);
  box-shadow: 0 50px 90px -52px rgba(0,0,0,0.7);
  overflow: hidden; will-change: transform;
}
/* folder tab + corner sheen */
.stat__tab {
  position: absolute; top: -1px; left: 26px;
  width: 84px; height: 12px; transform: translateY(-100%);
  background: linear-gradient(158deg, #1a1810, #14120c);
  border: 1px solid rgba(244,241,232,0.1); border-bottom: 0;
  border-radius: 7px 7px 0 0;
}
.stat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 88% 0%, rgba(12,165,102,0.16), transparent 52%);
}
.stat__icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,165,102,0.12); border: 1px solid rgba(12,165,102,0.32);
  margin-bottom: auto;
}
.stat__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.stat__value {
  display: flex; align-items: baseline;
  font-family: var(--grotesk); font-weight: 700;
  font-size: clamp(2.5rem, 4.4vw, 3.9rem); line-height: 1;
  letter-spacing: -0.035em; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-top: 1.6rem;
}
.stat__value .stat__pre { color: rgba(244,241,232,0.4); font-weight: 400; margin-right: 0.04em; }
.stat__label { color: rgba(244,241,232,0.62); font-size: 0.9rem; line-height: 1.5; margin-top: 0.95rem; max-width: 24ch; }

.numbers__seal {
  margin-top: clamp(2.5rem, 5vh, 4rem); text-align: center;
  font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ink-soft);
}

/* ============ Diagonal ribbons — platform logos ============ */
.ribbon { position: relative; padding: clamp(5rem, 9vh, 7.5rem) 0; overflow: hidden; }
.ribbon__row {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: clamp(0.7rem, 1.4vw, 1.1rem) 0;
  transform: rotate(-2.4deg) scaleX(1.08);
  will-change: transform;
}
.ribbon__row--alt {
  background: var(--accent); color: var(--ink);
  transform: rotate(1.8deg) scaleX(1.08);
  margin-top: clamp(-0.6rem, -1vw, -0.4rem);
}
.ribbon__track { display: flex; width: max-content; will-change: transform; }
.chlogo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0 clamp(1.1rem, 2.4vw, 2rem);
  white-space: nowrap; flex-shrink: 0;
  color: inherit;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.chlogo svg { width: clamp(22px, 2.3vw, 30px); height: clamp(22px, 2.3vw, 30px); fill: currentColor; flex-shrink: 0; }
.chlogo span {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.01em;
}
.chlogo i { font-style: normal; opacity: 0.4; font-size: 0.7em; padding-left: clamp(1.1rem, 2.4vw, 2rem); }
.chlogo:hover { color: var(--accent2); transform: translateY(-2px); }
.ribbon__row--alt .chlogo:hover { color: var(--paper); }

/* ============ Results / case studies — premium rail ============ */
.results { padding: clamp(6rem, 12vh, 9rem) 0 clamp(7rem, 14vh, 10rem); }
.results__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 0 var(--pad); margin-bottom: clamp(2.5rem, 5vh, 4rem); flex-wrap: wrap;
}
.results__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.4rem;
}
.results__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.results__nav { display: flex; align-items: center; gap: 1.6rem; }
.results__count {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1;
}
.results__count i { font-style: normal; font-family: var(--grotesk); font-size: 0.5em; color: var(--ink-soft); }
.results__arrows { display: flex; gap: 0.6rem; }
.rarrow {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.35s, color 0.35s, border-color 0.35s, opacity 0.35s;
}
.rarrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rarrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rarrow:disabled { opacity: 0.3; pointer-events: none; }

/* the rail */
.results__rail {
  display: flex; gap: clamp(1rem, 1.6vw, 1.6rem);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.2rem var(--pad) 2rem;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.results__rail::-webkit-scrollbar { display: none; }
.results__rail.is-grabbing { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.results__rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.case {
  position: relative; flex: 0 0 auto;
  width: clamp(320px, 30vw, 412px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 8px 26px 26px 26px;
  background: #faf7ee; overflow: hidden;
  box-shadow: 0 36px 70px -50px rgba(23,22,17,0.5);
  transition: border-color 0.45s, box-shadow 0.45s, transform 0.55s var(--ease);
  will-change: transform;
}
.case:hover { border-color: rgba(12,128,80,0.45); transform: translateY(-8px); box-shadow: 0 56px 90px -46px rgba(23,22,17,0.55); }

/* media */
.case__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.case__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transform: scale(1.03);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.case:hover .case__media img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.08); }
.case__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(190deg, rgba(12,128,80,0.12) 0%, transparent 32%, rgba(14,30,22,0.62) 100%);
  opacity: 0.85; transition: opacity 0.55s;
}
.case:hover .case__media::after { opacity: 0.5; }

.case__index {
  position: absolute; top: 1.1rem; right: 1.2rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--paper);
  font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.case__index i { font-style: normal; font-family: var(--grotesk); font-size: 0.5em; opacity: 0.7; }
.case__kind {
  position: absolute; top: 1.3rem; left: 1.2rem; z-index: 2;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: var(--accent2);
  border-radius: 100px; padding: 0.4rem 0.85rem;
}
.case__tags {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.case__tag {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(250,247,238,0.16); color: var(--paper);
  border: 1px solid rgba(250,247,238,0.3);
  border-radius: 100px; padding: 0.4rem 0.85rem; backdrop-filter: blur(8px);
  white-space: nowrap;
}
.case__tag--geo { color: #d8ffe9; }

/* body */
.case__body { padding: clamp(1.5rem, 2vw, 2.1rem); display: flex; flex-direction: column; flex: 1; }
.case__date {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.1rem;
}
.case__title {
  font-family: var(--grotesk); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; margin-bottom: 0.55rem;
}
.case__sub { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.55; margin-bottom: 1.6rem; }

.case__stats { margin-top: auto; }
.case__stat {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--line); padding: 0.72rem 0;
}
.case__stat dt { font-size: 0.78rem; color: var(--ink-soft); }
.case__stat dd { font-family: var(--grotesk); font-weight: 600; font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.case__stat--hero { border-top: 1px solid rgba(12,128,80,0.3); padding-top: 0.95rem; align-items: center; }
.case__stat--hero dt { color: var(--ink); font-weight: 600; }
.case__stat--hero dd {
  font-family: var(--serif); font-style: italic; font-weight: 560;
  font-size: clamp(2rem, 3.2vw, 2.7rem); color: var(--accent); line-height: 1;
}

.case__cta {
  margin-top: 1.6rem;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: var(--ink); color: var(--paper);
  border-radius: 100px; padding: 0.9rem 1.4rem;
  font-size: 0.82rem; font-weight: 600;
  transition: background 0.35s, color 0.35s;
}
.case__cta i { font-style: normal; transition: transform 0.35s var(--ease); }
.case:hover .case__cta { background: var(--accent); }
.case:hover .case__cta i { transform: translateX(5px); }

/* progress bar */
.results__bar {
  margin: 0 var(--pad); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
  max-width: 360px;
}
.results__bar span { display: block; height: 100%; width: 30%; background: var(--accent); border-radius: 2px; transform: translateX(0); transition: transform 0.2s linear, width 0.2s; }
@media (max-width: 620px) { .results__bar { max-width: none; } }

/* ============ Method — rotating-wheel cards ============ */
.method { position: relative; background: #0c0b07; color: var(--paper); }
.method__pin { position: relative; height: 100vh; overflow: hidden; }
.method__glow {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 60vw; height: 60vw; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(12,165,102,0.16), transparent 62%);
  filter: blur(40px);
}
.method__hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center;
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--pad) 0; pointer-events: none;
}
.method__title {
  font-family: var(--grotesk); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.04em; line-height: 1;
  text-transform: uppercase; text-align: center; color: var(--paper);
}
.method__title em {
  font-family: var(--serif); font-style: italic; font-weight: 420;
  text-transform: none; letter-spacing: -0.01em; color: var(--accent2);
  font-size: 0.62em; vertical-align: 0.1em; margin-right: 0.14em;
}
.method__count {
  position: absolute; top: clamp(2rem, 4.5vh, 3rem); right: var(--pad); z-index: 6;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  font-variant-numeric: tabular-nums; color: var(--paper); pointer-events: none;
}
.method__count i { font-style: normal; font-family: var(--grotesk); font-size: 0.5em; color: rgba(244,241,232,0.45); }

.mstep {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem var(--pad);
}
.mstep__inner {
  width: 100%; max-width: 940px;
  will-change: transform, opacity, filter;
  transform-origin: center center;
  opacity: 0; /* JS places them on the arc */
}

/* premium card */
.mcard {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 2.6vw, 2.6rem);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(244,241,232,0.07), rgba(244,241,232,0.02));
  border: 1px solid rgba(244,241,232,0.13);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,0.85);
}
@media (max-width: 760px) { .mcard { grid-template-columns: 1fr; } .mcard__viz { order: -1; } }

.mcard__main { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 1rem; }
.mcard__top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mcard__phase {
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent2); font-weight: 600;
}
.mcard__name {
  font-family: var(--grotesk); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95;
}
.mcard__desc { color: rgba(244,241,232,0.66); font-size: 0.98rem; line-height: 1.6; max-width: 42ch; }
.mcard__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mcard__chips li {
  font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(244,241,232,0.82);
  border: 1px solid rgba(244,241,232,0.18); border-radius: 100px; padding: 0.4rem 0.85rem;
}
.mcard__cta {
  margin-top: 0.5rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem; border-radius: 100px;
  background: var(--accent); color: var(--paper);
  font-size: 0.84rem; font-weight: 600;
  transition: background 0.35s, color 0.35s;
}
.mcard__cta i { font-style: normal; transition: transform 0.35s var(--ease); }
.mcard__cta:hover { background: var(--paper); color: var(--ink); }
.mcard__cta:hover i { transform: translateX(5px); }

/* viz column — analytics panel with detailed chart */
.mcard__viz { display: flex; }
.mcard__panel {
  flex: 1; border-radius: 16px; padding: 1.1rem 1.2rem 1rem;
  background: rgba(8,8,5,0.6); border: 1px solid rgba(244,241,232,0.12);
  display: flex; flex-direction: column;
}
.mpanel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.mpanel__ttl { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--paper); }
.mpanel__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 100px;
}
.mpanel__tag i { width: 6px; height: 6px; border-radius: 50%; }
.mpanel__tag--warn { color: var(--accent2); background: rgba(242,161,22,0.14); }
.mpanel__tag--warn i { background: var(--accent2); }
.mpanel__tag--live { color: var(--accent); background: rgba(12,165,102,0.16); }
.mpanel__tag--live i { background: var(--accent); animation: pulse 2s infinite; }

.mchart { width: 100%; height: clamp(150px, 22vh, 210px); display: block; overflow: visible; }
.mchart .cgrid line { stroke: rgba(244,241,232,0.08); stroke-width: 1; }
.mchart .cax text, .mchart .cxlbl text { fill: rgba(244,241,232,0.4); font-family: var(--grotesk); font-size: 9px; }
.mchart .cax text { text-anchor: end; }
.mchart .cxlbl text { text-anchor: middle; }
.mchart .clegend text { fill: rgba(244,241,232,0.6); font-family: var(--grotesk); font-size: 9px; }
.mchart .clegend .lg-a { fill: var(--accent); }
.mchart .clegend .lg-b { fill: var(--accent2); }
.mchart .clegend .lg-flat { fill: rgba(244,241,232,0.4); }
.mchart .ctarget { stroke: rgba(244,241,232,0.35); stroke-width: 1; stroke-dasharray: 4 4; }
.mchart .ctargetlbl { fill: rgba(244,241,232,0.45); font-family: var(--grotesk); font-size: 8px; text-anchor: end; }
.mchart .cbar { fill: rgba(244,241,232,0.26); }
.mchart .cbar.leak { fill: var(--accent2); }
.mchart .cscan { stroke: var(--accent2); stroke-width: 1.5; opacity: 0.8; }
.mchart .cline { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mchart .cline2 { fill: none; stroke: var(--accent2); stroke-width: 1.8; stroke-dasharray: 5 4; stroke-linecap: round; opacity: 0.85; }
.mchart .cline-flat { fill: none; stroke: rgba(244,241,232,0.3); stroke-width: 1.6; stroke-dasharray: 4 4; }
.mchart .carea { fill: url(#cgrad); }
.mchart .cdots circle { fill: var(--accent); }
.mchart .chead { fill: var(--accent); }
.mchart .ccallout rect { fill: rgba(242,161,22,0.16); stroke: rgba(242,161,22,0.5); stroke-width: 1; }
.mchart .ccallout text { fill: var(--accent2); font-family: var(--grotesk); font-size: 9px; font-weight: 600; }

.mcard__readout {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px solid rgba(244,241,232,0.1);
}
.mcard__rk { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,241,232,0.55); }
.mcard__rv { font-family: var(--serif); font-style: italic; font-weight: 560; font-size: 1.5rem; color: var(--accent); }
.mcard__rv i { font-style: normal; font-family: var(--grotesk); font-size: 0.5em; font-weight: 500; color: rgba(244,241,232,0.5); }

/* floating widget pill */
.mw {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1rem 0.6rem 0.7rem;
  border-radius: 100px;
  background: rgba(244,241,232,0.05);
  border: 1px solid rgba(244,241,232,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.8);
  margin-bottom: 0.6rem;
  will-change: transform;
}
.mw__label { font-size: 0.85rem; font-weight: 500; color: var(--paper); letter-spacing: -0.01em; white-space: nowrap; }
.mw__label b { font-weight: 700; color: var(--accent); }

/* viz chip */
.mw__viz {
  width: 40px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,241,232,0.06);
}
.mw__viz svg { width: 30px; height: 20px; overflow: visible; }
.mw__viz .b { fill: rgba(244,241,232,0.35); }
.mw__scan .b { fill: rgba(12,165,102,0.55); }
.mw__scan .scan { stroke: var(--accent); stroke-width: 1.5; }
.mw__viz .spark { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mw__viz .sparkhead { fill: var(--accent); }

/* dots after "Auditing your funnel" */
.mw__dots::after { content: ""; }

/* launch toggles */
.mw__toggles { display: inline-flex; gap: 5px; padding-left: 0.2rem; }
.mw__toggles i {
  width: 22px; height: 13px; border-radius: 100px; position: relative;
  background: rgba(244,241,232,0.16); transition: background 0.3s;
}
.mw__toggles i::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); transition: transform 0.35s var(--ease);
}
.mw__toggles i.on { background: var(--accent); }
.mw__toggles i.on::after { transform: translateX(9px); }
.mw__live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 0.1rem; vertical-align: middle; }

.mstep__phase {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent2); font-weight: 600;
}
.mstep__name {
  font-family: var(--grotesk); font-weight: 700;
  font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.95; letter-spacing: -0.04em;
}
.mstep__desc {
  color: rgba(244,241,232,0.62); font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65; max-width: 46ch;
}
.mstep__cta {
  margin-top: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 100px;
  border: 1px solid rgba(244,241,232,0.2); color: var(--paper);
  font-size: 0.88rem; font-weight: 600;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.mstep__cta i { font-style: normal; transition: transform 0.35s var(--ease); }
.mstep__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.mstep__cta:hover i { transform: translateX(5px); }

/* ============ Reviews + contact ============ */
.reviews { padding: clamp(6rem, 12vh, 9rem) var(--pad) clamp(7rem, 14vh, 10rem); }
.reviews__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start; max-width: 1280px; margin: 0 auto;
}
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; gap: 3.5rem; } }

/* left — form */
.reviews__left { display: flex; flex-direction: column; }
.reviews__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.4rem;
}
.reviews__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.reviews__title {
  font-family: var(--grotesk); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.04em; line-height: 0.98;
}
.reviews__title em {
  font-family: var(--serif); font-style: italic; font-weight: 420; text-transform: none;
  letter-spacing: -0.01em; color: var(--accent2); font-size: 0.62em; vertical-align: 0.1em; margin-right: 0.14em;
}
.reviews__sub { color: var(--ink-soft); line-height: 1.65; max-width: 44ch; margin-top: 1.4rem; }

.rform { margin-top: clamp(2rem, 4vh, 3rem); display: flex; flex-direction: column; gap: 1.8rem; position: relative; }
.rform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
@media (max-width: 480px) { .rform__grid { grid-template-columns: 1fr; } }
.rfield { display: flex; flex-direction: column; gap: 0.5rem; }
.rfield span { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.rfield input {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 0.5rem 0; transition: border-color 0.3s;
}
.rfield input::placeholder { color: rgba(91,85,71,0.5); }
.rfield input:focus { outline: none; border-color: var(--accent); }
.rform__foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.rform__send {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: var(--paper);
  border-radius: 100px; padding: 1rem 1.8rem;
  font-family: var(--grotesk); font-size: 0.9rem; font-weight: 600;
  transition: background 0.35s, color 0.35s;
}
.rform__send i { font-style: normal; transition: transform 0.35s var(--ease); }
.rform__send:hover { background: var(--accent); }
.rform__send:hover i { transform: translateX(5px); }
.rform__note { font-size: 0.85rem; color: var(--ink-soft); }
.rform__note a { color: var(--accent); border-bottom: 1px solid currentColor; }
.rform__done {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent);
}

/* right — auto-scrolling reviews card */
.revcard {
  position: relative; display: flex; flex-direction: column;
  border-radius: 8px 26px 26px 26px;
  background: var(--ink); color: var(--paper);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  overflow: hidden;
  box-shadow: 0 44px 90px -50px rgba(23,22,17,0.6);
}
.revcard__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.3rem; margin-bottom: 0.3rem;
  border-bottom: 1px solid rgba(244,241,232,0.14);
}
.revcard__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.revcard__mark { width: 34px; height: 34px; color: var(--paper); display: inline-flex; }
.revcard__mark svg { width: 100%; height: 100%; fill: currentColor; }
.revcard__h {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem;
}
.revcard__h em { font-style: italic; }
.revcard__rating {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--grotesk); font-weight: 600; font-size: 0.8rem;
  background: rgba(244,241,232,0.08); border: 1px solid rgba(244,241,232,0.16);
  border-radius: 100px; padding: 0.4rem 0.85rem; white-space: nowrap;
}
.revcard__rating i { color: var(--accent2); font-style: normal; }

/* vertical auto-scroll viewport */
.revcard__scroll {
  position: relative; overflow: hidden; flex: 1;
  margin: 0 calc(-1 * clamp(1.6rem, 2.4vw, 2.2rem)); /* bleed to card edges */
  padding: 1.2rem 0 0.3rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.revcard__track {
  display: flex; flex-direction: row; align-items: stretch;
  gap: 1.1rem; padding: 0 clamp(1.6rem, 2.4vw, 2.2rem);
  width: max-content; will-change: transform;
}
.review {
  flex: 0 0 auto; width: clamp(258px, 70vw, 326px);
  display: flex; flex-direction: column;
  border: 1px solid rgba(244,241,232,0.12); border-radius: 16px;
  padding: 1.3rem 1.4rem; background: rgba(244,241,232,0.04);
}
.review blockquote { flex: 1; }
.review__stars { color: var(--accent2); font-size: 0.85rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; }
.review blockquote { font-size: 0.95rem; line-height: 1.6; color: rgba(244,241,232,0.9); }
.review figcaption { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 1rem; }
.review figcaption b { font-weight: 600; font-size: 0.9rem; }
.review figcaption span { font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(244,241,232,0.5); }

/* ============ Outro ============ */
.outro {
  position: relative;
  background: var(--ink); color: var(--paper);
  border-radius: 34px 34px 0 0;
  padding: 9rem var(--pad) 0;
  overflow: hidden;
}
.outro__inner { text-align: center; }
.outro__kicker {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(244, 241, 232, 0.55); margin-bottom: 3rem;
}
.outro__title {
  line-height: 0.92; font-weight: 400;
  font-size: clamp(4.2rem, 15vw, 14rem);
}
.outro__row { display: block; overflow: hidden; padding: 0.04em 0; }
.outro__word { display: inline-block; will-change: transform; }
.outro__word.serif-italic { color: var(--accent2); }
.outro__ctas {
  display: flex; align-items: center; justify-content: center; gap: 2.2rem;
  flex-wrap: wrap; margin-top: 3.5rem;
}
.outro__mail {
  display: inline-block;
  font-family: var(--grotesk); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--accent2);
  transition: color 0.3s;
}
.outro__mail:hover { color: var(--accent2); }

.outro__meta {
  margin-top: 6rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  text-align: left;
  padding-top: 3rem; border-top: 1px solid rgba(244, 241, 232, 0.16);
}
@media (max-width: 680px) { .outro__meta { grid-template-columns: 1fr; } }
.outro__col h5 {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(244, 241, 232, 0.5); margin-bottom: 1.1rem;
}
.outro__col p, .outro__col a { display: block; font-size: 0.95rem; line-height: 1.7; color: var(--paper); margin-bottom: 0.4rem; }
.outro__col a:hover { color: var(--accent2); }
#footClock {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--accent2); font-variant-numeric: tabular-nums;
}
.outro__never {
  font-size: 0.64rem !important; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(244, 241, 232, 0.5) !important;
}

/* footer certifications marquee */
.outro__certs { margin-top: clamp(3.5rem, 7vh, 5.5rem); }
.outro__certs-label {
  text-align: center; margin-bottom: 1.6rem;
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244,241,232,0.4);
}
.certmarquee {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(244,241,232,0.12);
  border-bottom: 1px solid rgba(244,241,232,0.12);
  padding: 1.3rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.certmarquee__track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.cert {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0 clamp(1.4rem, 3vw, 2.6rem);
  color: rgba(244,241,232,0.82);
  transition: color 0.3s;
}
.cert svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--paper); }
.cert__name {
  font-family: var(--grotesk); font-weight: 500; font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: -0.01em;
}
.cert i { font-style: normal; color: var(--accent2); padding-left: clamp(1.4rem, 3vw, 2.6rem); }
.cert:hover { color: var(--accent); }
.cert:hover svg { color: var(--accent); }
.outro__legal {
  text-align: center; padding: 2.2rem 0;
  font-size: 0.75rem; letter-spacing: 0.1em;
  color: rgba(244, 241, 232, 0.4);
}

/* ============ Split helpers ============ */
.word { display: inline-block; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .grain { animation: none; }
}
