/* ==========================================================================
   CORAL ACTIVE 2026 — design system
   deep-ocean navy · coral #FF6F5F · magenta #D73968
   display: Clash Display · body: Switzer · data: Fragment Mono
   ========================================================================== */

:root {
  --bg-0: #05060f;
  --bg-1: #090d1f;
  --bg-2: #0e1430;
  --navy: #2e355a;
  --coral: #ff6f5f;
  --magenta: #d73968;
  --cream: #f5f1ea;
  --muted: rgba(245, 241, 234, 0.56);
  --faint: rgba(245, 241, 234, 0.32);
  --hairline: rgba(245, 241, 234, 0.1);
  --grad: linear-gradient(98deg, var(--coral) 8%, var(--magenta) 92%);

  --font-display: "Clash Display", "Switzer", sans-serif;
  --font-quote: "Satoshi", "Switzer", sans-serif;
  --font-body: "Switzer", sans-serif;
  --font-mono: "Fragment Mono", monospace;

  --space: clamp(4.5rem, 10vw, 10rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

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

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

body {
  background: var(--bg-0);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--magenta); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- film grain ------------------------------------------------------- */
.grain {
  position: fixed; inset: -100px; z-index: 60; pointer-events: none;
  background-image: url("../assets/grain.svg");
  opacity: 0.05;
  animation: grain-shift 0.9s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
  100% { transform: translate(-30px, 40px); }
}

/* ---- custom cursor ----------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 70; pointer-events: none; }
  .cursor-dot {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--coral); transform: translate(-50%, -50%);
  }
  .cursor-glow {
    position: absolute; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255, 111, 95, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  }
  body.cursor-hover .cursor-glow {
    width: 64px; height: 64px; border-color: rgba(215, 57, 104, 0.9);
  }
}

/* ---- preloader ---------------------------------------------------------- */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-0);
  display: grid; place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { overflow: visible; }
.pre-left  { transform: translateX(-50px); opacity: 0; animation: pre-in 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.pre-right { transform: translateX(50px);  opacity: 0; animation: pre-in 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.pre-diamond {
  transform-origin: 62% 50%;
  transform: scale(0); opacity: 0;
  animation: pre-pop 0.5s 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes pre-in  { to { transform: translateX(0); opacity: 1; } }
@keyframes pre-pop { to { transform: scale(1); opacity: 1; } }

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s ease; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.9rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 40px rgba(215, 57, 104, 0.35); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(98deg, var(--magenta), var(--coral));
  opacity: 0; transition: opacity 0.35s ease;
}
.btn-primary:hover { box-shadow: 0 12px 56px rgba(255, 111, 95, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  color: var(--cream); border: 1px solid rgba(245, 241, 234, 0.25);
  background: rgba(245, 241, 234, 0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--coral); }
.btn-lg { padding: 1.15rem 2.7rem; font-size: 1.05rem; }
.nav-cta { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

/* ---- shared section bits ---------------------------------------------------- */
.section { position: relative; padding: var(--space) var(--gutter); }
.section-head { max-width: 980px; position: relative; }
.index {
  position: absolute; top: 0.4rem; left: -0.2rem;
  color: var(--faint); font-size: 0.8rem;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 1.4rem; padding-left: 3rem;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); letter-spacing: -0.015em; max-width: 18ch; }
.lede {
  margin-top: 1.6rem; max-width: 56ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 300; color: var(--muted);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* line-reveal helper (split by JS) */
.reveal-lines .rl-line { display: block; overflow: hidden; }
.reveal-lines .rl-inner { display: block; transform: translateY(110%); }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 5.5rem;
  overflow: clip;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 15, 0.55) 0%, transparent 52%),
    radial-gradient(120% 90% at 30% 45%, transparent 40%, rgba(5, 6, 15, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 6, 15, 0.45) 0%, transparent 22%, transparent 70%, var(--bg-0) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-title {
  font-size: clamp(2.9rem, 8.2vw, 7.2rem);
  letter-spacing: -0.02em; font-weight: 600;
  margin: 0.4rem 0 1.8rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(112%); }
.hero-sub { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; color: var(--muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero .eyebrow { padding-left: 0; }
.hero-reveal { opacity: 0; transform: translateY(26px); }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: clamp(1.5rem, 5vw, 4.5rem); flex-wrap: wrap;
  margin-top: clamp(2.5rem, 6vh, 5rem);
  padding-top: 1.6rem; border-top: 1px solid var(--hairline);
}
.hstat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.01em;
}
.hstat span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; z-index: 2;
  width: 1px; height: 56px; background: var(--hairline); overflow: hidden;
}
.scroll-hint span {
  position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--grad);
  animation: hint-drop 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes hint-drop { to { top: 110%; } }

/* ================= TRUST MARQUEE ================= */
.trust { padding: 3.2rem 0 3.6rem; border-bottom: 1px solid var(--hairline); }
.trust-label {
  text-align: center; font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 2.2rem;
}
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(3rem, 7vw, 6.5rem);
  width: max-content; padding-right: clamp(3rem, 7vw, 6.5rem);
  animation: marquee-x var(--marquee-dur, 38s) linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.eco-rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-x { to { transform: translate3d(-50%, 0, 0); } }
.marquee img {
  box-sizing: content-box;
  height: clamp(22px, 3vw, 34px); width: auto;
  padding: 0.45rem 0.8rem; border-radius: 12px;
  filter: brightness(0) invert(1); opacity: 0.45;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease, background-color 0.35s ease;
}
/* fade to true brand colours on a light chip, so dark marks stay visible */
.marquee img:hover {
  filter: none; opacity: 1; transform: scale(1.1);
  background-color: rgba(245, 241, 234, 0.94);
}

/* ================= 01 PLATFORM ================= */
.platform { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.platform-grid {
  display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5.5rem); align-items: start;
}
@media (max-width: 960px) { .platform-grid { grid-template-columns: 1fr; } }

.platform-points { list-style: none; display: flex; flex-direction: column; }
.platform-points li {
  position: relative; padding: 1.8rem 0 1.8rem 3.4rem;
  border-top: 1px solid var(--hairline);
}
.platform-points li:last-child { border-bottom: 1px solid var(--hairline); }
.pt-num {
  position: absolute; left: 0; top: 2rem;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid rgba(255, 111, 95, 0.4); border-radius: 50%;
  color: var(--coral); font-size: 0.7rem;
}
.platform-points h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.platform-points p { font-size: 0.95rem; font-weight: 300; color: var(--muted); }

/* live workspace mock */
.ws {
  border: 1px solid var(--hairline); border-radius: 18px;
  background: linear-gradient(160deg, rgba(46, 53, 90, 0.35), rgba(9, 13, 31, 0.9));
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 80px rgba(215, 57, 104, 0.08) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ws:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.ws-chrome {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--hairline);
}
.ws-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245, 241, 234, 0.15); }
.ws-chrome i:first-child { background: var(--coral); }
.ws-chrome span { margin-left: 0.7rem; color: var(--faint); font-size: 0.62rem; }
.ws-live { margin-left: auto; font-style: normal; color: var(--coral); font-size: 0.62rem; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.ws-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1px; background: var(--hairline); }
@media (max-width: 560px) { .ws-body { grid-template-columns: 1fr; } }
.ws-col { background: rgba(5, 6, 15, 0.6); padding: 1.1rem; min-height: 320px; }
.ws-coltitle { color: var(--faint); margin-bottom: 1rem; font-size: 0.62rem; }

.ws-msg { margin-bottom: 0.9rem; font-size: 0.8rem; opacity: 0; transform: translateY(10px); }
.ws.in-view .ws-msg { animation: ws-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ws.in-view .ws-msg:nth-child(2) { animation-delay: 0.15s; }
.ws.in-view .ws-msg:nth-child(3) { animation-delay: 0.65s; }
.ws.in-view .ws-msg:nth-child(4) { animation-delay: 1.2s; }
@keyframes ws-rise { to { opacity: 1; transform: translateY(0); } }
.ws-msg b { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.2rem; }
.ws-msg.agent b { color: var(--coral); }
.ws-msg span { color: rgba(245, 241, 234, 0.82); font-weight: 300; line-height: 1.5; }

.ws-typing { display: flex; gap: 4px; opacity: 0; }
.ws.in-view .ws-typing { animation: ws-rise 0.4s 1.7s forwards; }
.ws-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.1s ease-in-out infinite; }
.ws-typing i:nth-child(2) { animation-delay: 0.15s; }
.ws-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: 1; } }

.ws-card {
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 0.7rem 0.8rem; margin-bottom: 0.7rem;
  font-size: 0.78rem; font-weight: 300; color: rgba(245, 241, 234, 0.85);
  background: rgba(46, 53, 90, 0.18);
  opacity: 0; transform: translateX(14px);
}
.ws.in-view .ws-card { animation: card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ws.in-view .ws-card.intent    { animation-delay: 0.5s; }
.ws.in-view .ws-card.sentiment { animation-delay: 0.9s; }
.ws.in-view .ws-card.action    { animation-delay: 1.4s; }
.ws.in-view .ws-card.crm       { animation-delay: 1.9s; }
@keyframes card-in { to { opacity: 1; transform: translateX(0); } }
.ws-card .tag {
  display: block; font-family: var(--font-mono); font-size: 0.56rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta);
  margin-bottom: 0.3rem;
}
.ws-card.action { border-color: rgba(255, 111, 95, 0.45); box-shadow: 0 0 24px rgba(255, 111, 95, 0.12); }
.ws-card.action .tag { color: var(--coral); }
.ws-card em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); padding: 0.12rem 0; }
.meter {
  display: inline-block; width: 80px; height: 4px; border-radius: 2px;
  background: rgba(245, 241, 234, 0.12); margin: 0 0.5rem; vertical-align: middle;
  overflow: hidden;
}
.meter i { display: block; height: 100%; width: 0; background: var(--grad); }
.ws.in-view .meter i { animation: meter-fill 1.4s 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes meter-fill { to { width: 62%; } }

/* ================= 02 ORCHESTRATION (pinned three.js) ================= */
.flow { position: relative; background: var(--bg-1); }
.flow-sticky {
  position: relative; height: 100vh; height: 100svh;
  overflow: clip; display: flex; align-items: flex-end;
}
#flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#flow-labels { position: absolute; inset: 0; pointer-events: none; }
.flow-label {
  position: absolute; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  background: rgba(5, 6, 15, 0.55); border: 1px solid var(--hairline);
  padding: 0.22rem 0.55rem; border-radius: 999px;
  white-space: nowrap; backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}
.flow-label.hub {
  color: #fff; border-color: rgba(255, 111, 95, 0.6);
  box-shadow: 0 0 30px rgba(255, 111, 95, 0.25);
}
/* the finale node — one workspace, more power */
.flow-label.workspace {
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 700; letter-spacing: 0.2em;
  padding: 0.55rem 1.3rem;
  color: #fff; border: 1px solid rgba(255, 111, 95, 0.9);
  background: linear-gradient(98deg, rgba(255, 111, 95, 0.25), rgba(215, 57, 104, 0.25));
  box-shadow: 0 0 44px rgba(255, 111, 95, 0.45), 0 0 12px rgba(215, 57, 104, 0.35) inset;
}
.flow-copy {
  position: relative; z-index: 3;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 6rem);
  max-width: 760px;
}
/* landscape: the source nodes fan across the left, so park the copy in the
   empty bottom-right quadrant (mirrors the aspect < 0.9 portrait switch in JS) */
@media (min-aspect-ratio: 9/10) {
  .flow-copy { margin-left: auto; max-width: 780px; }
}
/* portrait: ten inward-pointing edge labels need to be compact */
@media (max-aspect-ratio: 9/10) {
  .flow-label { font-size: 0.55rem; padding: 0.16rem 0.42rem; letter-spacing: 0.08em; }
}
.flow-copy h2 {
  text-shadow: 0 4px 40px rgba(5, 6, 15, 0.9);
  max-width: none;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
}
.flow-copy h2 .nw { white-space: nowrap; }
@media (max-width: 560px) { .flow-copy h2 .nw { white-space: normal; } }
.flow-copy .index { position: static; display: block; margin-bottom: 0.6rem; }
.flow-copy .eyebrow { padding-left: 0; }

/* ================= 03 INTELLIGENCE ================= */
.intel { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 60%); }
.intel-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 900px) { .intel-cards { grid-template-columns: 1fr; } }
.icard {
  position: relative; border: 1px solid var(--hairline); border-radius: 18px;
  padding: 2.2rem 1.8rem 2rem;
  background: linear-gradient(170deg, rgba(46, 53, 90, 0.22), rgba(9, 13, 31, 0.6));
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}
.icard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 111, 95, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.4s ease;
}
.icard:hover { transform: translateY(-6px); border-color: rgba(255, 111, 95, 0.35); }
.icard:hover::before { opacity: 1; }
.icard-glyph {
  display: block; font-size: 1.6rem; margin-bottom: 1.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.icard h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.icard p { font-size: 0.95rem; font-weight: 300; color: var(--muted); }

/* transcript → structured morph */
.morph {
  display: grid; grid-template-columns: 1.1fr auto 1fr;
  gap: clamp(1rem, 3vw, 2.5rem); align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--hairline); border-radius: 18px;
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  background: rgba(9, 13, 31, 0.5);
}
@media (max-width: 820px) { .morph { grid-template-columns: 1fr; } .morph-arrow { transform: rotate(90deg); justify-self: center; } }
.morph-title { color: var(--faint); margin-bottom: 1rem; font-size: 0.62rem; }
.raw-line {
  display: block; font-weight: 300; font-style: italic;
  color: rgba(245, 241, 234, 0.5); font-size: 0.92rem;
  padding: 0.35rem 0;
  opacity: 0; transform: translateY(8px);
}
.morph.in-view .raw-line { animation: ws-rise 0.5s forwards; }
.morph.in-view .raw-line:nth-of-type(2) { animation-delay: 0.25s; }
.morph.in-view .raw-line:nth-of-type(3) { animation-delay: 0.5s; }
.morph-arrow { color: var(--coral); font-size: 0.66rem; white-space: nowrap; }
.chip {
  display: inline-flex; gap: 0.5rem; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.7rem;
  border: 1px solid rgba(215, 57, 104, 0.45); border-radius: 999px;
  padding: 0.4rem 0.85rem; margin: 0.25rem 0.3rem 0.25rem 0;
  background: rgba(215, 57, 104, 0.1); color: var(--cream);
  opacity: 0; transform: scale(0.85);
}
.morph.in-view .chip { animation: chip-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.morph.in-view .chip:nth-of-type(2) { animation-delay: 0.7s; }
.morph.in-view .chip:nth-of-type(3) { animation-delay: 0.9s; }
.morph.in-view .chip:nth-of-type(4) { animation-delay: 1.1s; }
.morph.in-view .chip:nth-of-type(1) { animation-delay: 0.5s; }
@keyframes chip-pop { to { opacity: 1; transform: scale(1); } }
.chip b { color: var(--coral); font-weight: 400; }

/* ================= PROOF BAND ================= */
.proof {
  padding: var(--space) var(--gutter);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(215, 57, 104, 0.08), transparent 70%),
    var(--bg-0);
}
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 960px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .proof-grid { grid-template-columns: 1fr; } }
.pstat strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pstat-not {
  display: block; font-style: normal; font-size: 0.9rem; letter-spacing: 0.04em;
  color: var(--faint); -webkit-text-fill-color: var(--faint); font-family: var(--font-mono);
  margin-top: 0.2rem; text-transform: uppercase;
}
.pstat > span {
  display: block; margin-top: 0.8rem;
  font-size: 0.85rem; font-weight: 300; color: var(--muted); max-width: 24ch;
}

/* ================= TESTIMONIALS ================= */
.quotes { background: var(--bg-0); }
.quote { position: relative; padding-left: clamp(2rem, 5vw, 4rem); }
.quote::before {
  content: "“"; position: absolute; left: 0; top: -0.6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote blockquote {
  font-family: var(--font-quote); font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; letter-spacing: 0.002em;
  word-spacing: -0.08em;
  color: rgba(245, 241, 234, 0.92);
}
.quote-hero { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 1000px; }
.qnum { letter-spacing: 0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-hero blockquote { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
.quote figcaption { margin-top: 1.4rem; color: var(--faint); font-size: 0.66rem; }
.quote-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); margin-top: clamp(3.5rem, 7vw, 6.5rem);
}
@media (max-width: 820px) { .quote-row { grid-template-columns: 1fr; } }

/* ================= ECOSYSTEM ================= */
.eco { padding: var(--space) 0; background: var(--bg-1); }
.eco .section-head { margin: 0 var(--gutter) 3.2rem; }
.eco-row { padding: 1.4rem 0; }
.eco-row + .eco-row { border-top: 1px solid var(--hairline); }

/* ================= FINALE ================= */
.finale {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space) var(--gutter);
  overflow: clip; background: var(--bg-0);
}
.finale-aura {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 46% at 50% 52%, rgba(255, 111, 95, 0.16), transparent 70%),
    radial-gradient(70% 60% at 50% 60%, rgba(215, 57, 104, 0.1), transparent 75%);
  animation: aura-breathe 6s ease-in-out infinite;
}
@keyframes aura-breathe { 50% { opacity: 0.6; transform: scale(1.06); } }
.finale-mark {
  width: clamp(72px, 9vw, 120px); height: auto; margin-bottom: 2.6rem;
  filter: drop-shadow(0 0 36px rgba(255, 111, 95, 0.45));
  animation: mark-float 7s ease-in-out infinite;
}
@keyframes mark-float { 50% { transform: translateY(-12px); } }
.finale-title { font-size: clamp(2.6rem, 6.5vw, 5.6rem); max-width: 16ch; }
.finale .lede { margin: 1.4rem auto 2.6rem; }
.finale-mail { margin-top: 1.8rem; color: var(--faint); }
.finale-mail a { border-bottom: 1px solid var(--hairline); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.finale-mail a:hover { color: var(--coral); border-color: var(--coral); }

/* ================= FOOTER ================= */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
  padding: 2.2rem var(--gutter);
  border-top: 1px solid var(--hairline);
  background: var(--bg-0);
}
.footer-logo { height: 24px; width: auto; opacity: 0.8; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.25s; }
.footer-links a:hover { color: var(--coral); }
.footer .mono { color: var(--faint); font-size: 0.62rem; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-reveal, .hero-title .line > span { opacity: 1 !important; transform: none !important; }
  .reveal-lines .rl-inner { transform: none !important; }
  .marquee-track { animation: none; }
  .grain { animation: none; }
}
