/* =======================================
   ECHO — index.css
   Homepage only styles
   ======================================= */

/* =======================================
   V4 — "Living Chamber" tokens
   (must precede any rule that consumes them)
   ======================================= */
:root {
  /* dark ground */
  --chamber: #14101f;
  --chamber-2: #1b1530;

  /* display type scale — V4 goes bigger */
  --display-xl: clamp(3.5rem, 9vw, 8rem);
  --display-lg: clamp(2.5rem, 5.5vw, 4.5rem);
  --display-md: clamp(1.75rem, 3.4vw, 2.75rem);

  /* motion tokens — no magic durations anywhere in V4 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.35s;
  --dur-med: 0.7s;
  --dur-slow: 1.1s;
  --stagger: 90ms;

  /* per-service accents (legible on light ground) */
  --svc-paid: #4820c0;
  --svc-strategy: #3d1fa8;
  --svc-analytics: #2148c0;
  --svc-creative: #7a1fd0;
  --svc-web: #0d6e8a;
}

/* =======================================
   V4 — reveal grammar (variant classes)
   Trigger contract reuses .visible (added by
   motion.js observer). Elements opt into a
   variant; siblings stagger via --i.
   ======================================= */
.reveal-fade { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.reveal-fade.visible { opacity: 1; transform: none; }

.reveal-scale { opacity: 0; transform: scale(0.96); transform-origin: center bottom; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.reveal-scale.visible { opacity: 1; transform: none; }

/* masked line rise — motion.js wraps each line as
   <span class="line"><span>…</span></span> */
.reveal-line .line { display: block; overflow: hidden; }
.reveal-line .line > span { display: block; transform: translateY(110%); transition: transform var(--dur-med) var(--ease-out); transition-delay: calc(var(--line-i, 0) * var(--stagger)); }
.reveal-line.visible .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-fade, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-line .line > span { transform: none !important; transition: none !important; }
}

/* =======================================
   V4 — global ambient ripple layer
   (spawned by motion.js on background clicks;
   never over form/links/buttons)
   ======================================= */
.mo-ripples { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.mo-ripple { position: absolute; width: 0; height: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: 0.35; transform: translate(-50%, -50%); will-change: transform, opacity; }
.mo-ripple--1 { animation: moRipple 0.9s var(--ease-out) forwards; }
.mo-ripple--2 { animation: moRipple 1.3s var(--ease-out) forwards; }
@keyframes moRipple {
  0%   { width: 0; height: 0; opacity: 0.35; }
  100% { width: 180px; height: 180px; opacity: 0; }
}


/* -- Hero -- */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 7rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 50%, #d8c8f8 0%, transparent 65%);
  overflow: hidden;
}
.hero-echo-bg {
  position: absolute;
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
}


@keyframes hero-echo-pulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.82); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 4rem;
}

@media (prefers-reduced-motion: reduce) {
  #hero-signal-field { display: none; }
}

/* ═══════════════════════════════════════
   ECHO CHAMBER HERO
   Dark stage; canvas wavefield (effects.js
   initEchoChamber) reacts to words + pointer.
   ═══════════════════════════════════════ */
.hero--chamber {
  background:
    radial-gradient(ellipse 90% 70% at 50% 95%, rgba(91,43,224,0.26) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 50% 38%, rgba(70,32,160,0.32) 0%, transparent 68%),
    #0b0716;
  border-bottom: 1px solid rgba(155,109,255,0.14);
}
#echo-chamber {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero__nebula {
  position: absolute; top: 36%; left: 50%;
  width: min(72vw, 920px); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(124,58,237,0.16) 0%, rgba(91,43,224,0.05) 45%, transparent 70%);
  filter: blur(32px);
  animation: nebulaBreathe 7s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes nebulaBreathe {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.09); }
}

.hero--chamber .hero__inner { align-items: center; text-align: center; z-index: 2; }
.hero--chamber .hero__tag { color: rgba(198,180,255,0.62); letter-spacing: 0.16em; }
/* the tag line sits inside the H1 (topic for search); keep it styled as a small label */
.hero__headline .hero__tag { display: block; font-family: var(--font-body); font-weight: 400; line-height: 1.4; text-shadow: none; }

.hero--chamber .hero__headline {
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
  color: #f5f1ff;
  text-shadow: 0 0 70px rgba(124,58,237,0.35);
}
.hero--chamber .hero__headline em {
  background: linear-gradient(110deg, #9b6dff 0%, #7c3aed 38%, #cdb6ff 55%, #7c3aed 72%, #9b6dff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero--chamber .hero__headline .logo-o {
  color: #cdb6ff;
  -webkit-text-fill-color: #cdb6ff;
  text-shadow: 0 0 26px rgba(155,109,255,0.85);
}
.hero--chamber .hero__headline .logo-o::before,
.hero--chamber .hero__headline .logo-o::after {
  border-color: rgba(190,160,255,0.75);
}
.hero--chamber .hero__sub { color: rgba(222,214,246,0.66); }

.hero--chamber .btn--ghost { color: rgba(232,225,255,0.85); }
.hero--chamber .btn--ghost:hover { color: #fff; }

.hero__hint {
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  margin-top: 2.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.34);
  opacity: 0; animation: wordFadeUp 0.8s ease 2.8s forwards;
}
.hero__hint::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(155,109,255,0.9);
  animation: hintPulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes hintPulse {
  0%        { box-shadow: 0 0 0 0 rgba(155,109,255,0.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(155,109,255,0); }
}

/* mantra bar joins the chamber */
.hero--chamber .hero__mantra-bar {
  background: rgba(12,8,24,0.72);
  border-top: 1px solid rgba(155,109,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero--chamber .hero__mantra { color: rgba(216,206,246,0.55); }


/* nav ink over the dark hero (index.css loads on the homepage only;
   .scrolled restores the standard light-surface header) */
.site-header:not(.scrolled) .nav__logo,
.site-header:not(.scrolled) .nav__link-item,
.site-header:not(.scrolled) .nav__mega-btn { color: #f2edff; }
.site-header:not(.scrolled) .nav__toggle span { background: #f2edff; }
.site-header:not(.scrolled) .nav__social-link { color: rgba(230,222,255,0.8); }
.site-header:not(.scrolled) .nav__cta {
  border-color: rgba(198,180,255,0.5);
  color: #efe9ff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__nebula { animation: none; }
  .hero__hint::before { animation: none; }
}
@media (max-width: 768px) {
  .hero--chamber .hero__cta { align-items: center; }
  .hero--chamber .hero__headline { max-width: 100%; }
  .hero__hint { margin-top: 1.8rem; }
}

.hero__tag {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.5rem;
  opacity: 0; animation: wordFadeUp 0.6s ease 0.05s forwards;
}

/* BUG FIX 1 — font-size reduced from clamp(3.5rem, 9vw, 8rem) to prevent
   4-line stack on the new longer headline */
.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 1.75rem; max-width: 18ch;
  color: var(--text); position: relative;
}

/* BUG FIX 2 — ::before and ::after had the old font-size hardcoded,
   so the echo ghost was oversized vs the headline. Now matches. */
.hero__headline::before,
.hero__headline::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
  max-width: 18ch; white-space: pre-wrap;
  pointer-events: none; color: var(--accent); z-index: -1;
}
.hero__headline::before { opacity: 0.04; transform: translate(3px, 3px); animation: echoGhost1 6s ease-in-out infinite; }
.hero__headline::after  { opacity: 0.02; transform: translate(6px, 5px); animation: echoGhost2 6s ease-in-out infinite; }
@keyframes echoGhost1 {
  0%, 100% { transform: translate(3px, 3px); opacity: 0.04; }
  50%       { transform: translate(4px, 4px); opacity: 0.06; }
}
@keyframes echoGhost2 {
  0%, 100% { transform: translate(6px, 5px);  opacity: 0.02; }
  50%       { transform: translate(7px, 6px);  opacity: 0.03; }
}
.hero__headline em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(110deg, #6d3ae8 0%, #5b2be0 35%, #8657f2 55%, #5b2be0 75%, #6d3ae8 100%);
  background-size: 170% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: emShimmer 8s ease-in-out infinite 2.2s;
}
@keyframes emShimmer {
  0%, 100% { background-position: 0% 0; }
  50%       { background-position: 100% 0; }
}

/* -- The O of échO is a live echo source --
   NOTE: positioning this span removes it from the em's
   background-clip:text paint, so it needs its own fill color */
.hero__headline .logo-o {
  position: relative;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.hero__headline .logo-o::before,
.hero__headline .logo-o::after {
  content: '';
  position: absolute;
  top: 55%; left: 50%;
  width: 0.72em; height: 0.72em;
  border-radius: 50%;
  border: 2px solid rgba(91,43,224,0.55);
  transform: translate(-50%,-50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  animation: logoOEcho 4.2s ease-out infinite 2.4s;
}
.hero__headline .logo-o::after {
  border-width: 1px;
  animation-delay: 3.8s;
}
@keyframes logoOEcho {
  0%   { transform: translate(-50%,-50%) scale(0.6); opacity: 0; }
  8%   { opacity: 0.8; }
  55%  { transform: translate(-50%,-50%) scale(2.6); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__headline em { animation: none; }
  .hero__headline .logo-o::before,
  .hero__headline .logo-o::after { animation: none; opacity: 0; }
}
.hero__headline .word {
  display: inline-block; opacity: 0; transform: translateY(20px);
  animation: wordFadeUp 0.6s ease forwards;
}

/* BUG FIX 3 — only 6 delays were defined but the headline now has 9 words
   (Your / brand, / Your / story / — / resonates / with / échO / .)
   Missing delays meant words 7–9 all fired immediately with no stagger */
.hero__headline .word:nth-child(1) { animation-delay: 0.10s; }
.hero__headline .word:nth-child(2) { animation-delay: 0.22s; }
.hero__headline .word:nth-child(3) { animation-delay: 0.34s; }
.hero__headline .word:nth-child(4) { animation-delay: 0.46s; }
.hero__headline .word:nth-child(5) { animation-delay: 0.58s; }
.hero__headline .word:nth-child(6) { animation-delay: 0.70s; }
.hero__headline .word:nth-child(7) { animation-delay: 0.82s; }
.hero__headline .word:nth-child(8) { animation-delay: 0.94s; }
.hero__headline .word:nth-child(9) { animation-delay: 1.06s; }

@keyframes wordFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero__sub {
  max-width: 52ch; color: var(--text-muted); font-size: 1.05rem;
  margin-bottom: 2.5rem; opacity: 0; animation: wordFadeUp 0.6s ease 1.2s forwards;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: wordFadeUp 0.6s ease 1.35s forwards; }


/* -- Blob -- */

.blob {
  position: absolute; top: 50%; right: -5%;
  transform: translateY(-50%);
  width: clamp(400px, 55vw, 750px); aspect-ratio: 1;
  background: radial-gradient(ellipse at 40% 40%, rgba(180,130,255,.45) 0%, rgba(120,60,240,.2) 40%, transparent 70%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobFloat 8s ease-in-out infinite, blobMorph 12s ease-in-out infinite;
  filter: blur(40px);
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-53%) translateX(-2%); }
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  25%       { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
  50%       { border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
  75%       { border-radius: 70% 30% 60% 40% / 50% 50% 60% 40%; }
}


/* -- Mantra Bar -- */
.hero__mantra-bar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  background: rgba(245,243,250,.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__mantra-inner { display: flex; justify-content: center; }
.hero__mantra {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.01em;
  margin: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero__mantra.is-fading {
  opacity: 0;
  transform: translateY(6px);
}
.hero__mantra em { font-style: italic; }


/* -- Services -- */
.services { background: var(--surface); }


/* -- About (homepage section) -- */
.about { background: var(--surface); }

.about__text p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.about__stats { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 0.5rem; }


/* -- Contact -- */
.contact { border-top: 1px solid var(--border); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(3rem,6vw,7rem); align-items: start; }
.contact__left p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.contact__info { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--text-muted); }
.contact__info a:hover { color: var(--accent); }
.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group    { display: flex; flex-direction: column; gap: 0.45rem; }
/* name + email side by side; one optional tap for the topic */
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  background: #ffffff; border: 1.5px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--font-body); font-size: 0.92rem;
  padding: 0.8rem 1rem; transition: border-color var(--transition); outline: none; resize: vertical;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-success { display: none; color: var(--accent); font-size: 1rem; text-align: center; padding-top: 0.5rem; }
.form-consent {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  margin-top: -0.25rem;
}
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--accent); }


/* -- Homepage Responsive -- */
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; }
  .blob { width: clamp(300px,70vw,500px); filter: blur(50px); }
}
@media (max-width: 480px) {
  .hero__cta        { flex-direction: column; align-items: flex-start; }
  .blob             { display: none; }
  
}


/* =======================================
   HOMEPAGE UPGRADES
   ======================================= */

/* -- Services: equal 2×2 grid -- */

/* -- Services CTA break: "Signal 06 · Yours" — a dark chamber panel that
      closes the services chapter. Echo rings radiate from behind the
      headline; a soft glow follows the pointer (motion.js initCtaChamber). -- */
.svc-cta {
  position: relative;
  isolation: isolate;
  overflow-x: clip;              /* rings may leave the chamber vertically, never widen the page */
  color: #f5f1ff;
  text-align: center;
  padding: clamp(5.5rem, 10vw, 8.5rem) 0;
}
/* the chamber: full width, lens-shaped (gently curved top and bottom) */
.svc-cta__bg {
  position: absolute; inset: 0;
  z-index: -2;
  /* straight sides; top and bottom bow outward in a shallow parabola */
  --arc: clamp(22px, 4.5vw, 72px);
  clip-path: polygon(0.00% calc(var(--arc) * 1.0000), 6.25% calc(var(--arc) * 0.7656), 12.50% calc(var(--arc) * 0.5625), 18.75% calc(var(--arc) * 0.3906), 25.00% calc(var(--arc) * 0.2500), 31.25% calc(var(--arc) * 0.1406), 37.50% calc(var(--arc) * 0.0625), 43.75% calc(var(--arc) * 0.0156), 50.00% calc(var(--arc) * 0.0000), 56.25% calc(var(--arc) * 0.0156), 62.50% calc(var(--arc) * 0.0625), 68.75% calc(var(--arc) * 0.1406), 75.00% calc(var(--arc) * 0.2500), 81.25% calc(var(--arc) * 0.3906), 87.50% calc(var(--arc) * 0.5625), 93.75% calc(var(--arc) * 0.7656), 100.00% calc(var(--arc) * 1.0000), 100.00% calc(100% - var(--arc) * 1.0000), 93.75% calc(100% - var(--arc) * 0.7656), 87.50% calc(100% - var(--arc) * 0.5625), 81.25% calc(100% - var(--arc) * 0.3906), 75.00% calc(100% - var(--arc) * 0.2500), 68.75% calc(100% - var(--arc) * 0.1406), 62.50% calc(100% - var(--arc) * 0.0625), 56.25% calc(100% - var(--arc) * 0.0156), 50.00% calc(100% - var(--arc) * 0.0000), 43.75% calc(100% - var(--arc) * 0.0156), 37.50% calc(100% - var(--arc) * 0.0625), 31.25% calc(100% - var(--arc) * 0.1406), 25.00% calc(100% - var(--arc) * 0.2500), 18.75% calc(100% - var(--arc) * 0.3906), 12.50% calc(100% - var(--arc) * 0.5625), 6.25% calc(100% - var(--arc) * 0.7656), 0.00% calc(100% - var(--arc) * 1.0000));
  background:
    radial-gradient(ellipse 55% 75% at 50% 115%, rgba(91,43,224,0.38) 0%, transparent 62%),
    radial-gradient(ellipse 45% 60% at 50% 30%, rgba(70,32,160,0.30) 0%, transparent 72%),
    #0b0716;
}
/* pointer glow (CSS vars from JS; centred by default) */
.svc-cta__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 45%), rgba(155,109,255,0.22), transparent 60%);
  opacity: var(--glow, 0.6);
  transition: opacity 0.6s var(--ease-out);
}
/* echo rings sit above the chamber and carry on past its edges, fading out
   on the light page: the signal leaves the room */
.svc-cta__rings { position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none; }
.svc-cta__rings i {
  position: absolute;
  left: 0; top: 0;
  width: 900px; height: 900px;
  margin: -450px 0 0 -450px;
  border-radius: 50%;
  border: 1px solid rgba(155,109,255,0.6);   /* mid-violet: reads on dark and on light */
  opacity: 0;
  transform: scale(0.12);
}
.svc-cta.is-in .svc-cta__rings i { animation: svcCtaEcho 8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite; }
.svc-cta__rings i:nth-child(2) { animation-delay: 2s !important; }
.svc-cta__rings i:nth-child(3) { animation-delay: 4s !important; }
.svc-cta__rings i:nth-child(4) { animation-delay: 6s !important; }
@keyframes svcCtaEcho {
  0%   { transform: scale(0.12); opacity: 0; }
  12%  { opacity: 0.55; }
  100% { transform: scale(1);    opacity: 0; }
}
.svc-cta.is-paused .svc-cta__rings i { animation-play-state: paused; }

.svc-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.svc-cta__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(198,180,255,0.7);
  margin-bottom: 1.4rem;
}
.svc-cta__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9b6dff;
  box-shadow: 0 0 0 0 rgba(155,109,255,0.6);
  animation: svcCtaDot 2.4s ease-out infinite;
}
@keyframes svcCtaDot { 70%, 100% { box-shadow: 0 0 0 8px rgba(155,109,255,0); } }
.svc-cta__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #f5f1ff;
  text-shadow: 0 0 60px rgba(124,58,237,0.35);
  margin: 0 0 2.2rem;
  text-wrap: balance;
}
.svc-cta__title em {
  font-style: italic;
  background: linear-gradient(110deg, #9b6dff 0%, #cdb6ff 50%, #9b6dff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-cta__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.svc-cta .btn--primary { box-shadow: 0 10px 34px -10px rgba(124,58,237,0.85); }
.svc-cta__ghost {
  color: rgba(232,225,255,0.9);
  border: 1px solid rgba(190,160,255,0.28);
  background: rgba(255,255,255,0.03);
}
.svc-cta__ghost:hover { color: #fff; border-color: rgba(205,182,255,0.6); background: rgba(255,255,255,0.06); }
.svc-cta__note {
  margin-top: 1.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(222,214,246,0.5);
}
.svc-cta__note span { margin: 0 0.5rem; color: rgba(155,109,255,0.7); }

/* entrance: content rises in once the panel is on screen (JS adds .is-in) */
html.motion-ok .svc-cta__inner > * { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.motion-ok .svc-cta.is-in .svc-cta__inner > * { opacity: 1; transform: none; }
html.motion-ok .svc-cta.is-in .svc-cta__inner > :nth-child(2) { transition-delay: 0.1s; }
html.motion-ok .svc-cta.is-in .svc-cta__inner > :nth-child(3) { transition-delay: 0.22s; }
html.motion-ok .svc-cta.is-in .svc-cta__inner > :nth-child(4) { transition-delay: 0.34s; }

@media (max-width: 600px) {
  .svc-cta__inner { padding-inline: 1.5rem; }
  .svc-cta__rings i { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
  .svc-cta__actions { flex-direction: column; width: 100%; }
  .svc-cta__actions .btn { width: 100%; justify-content: center; text-align: center; }
  .svc-cta__note span { display: block; height: 0.35rem; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-cta__rings i, .svc-cta__dot { animation: none !important; }
  .svc-cta__rings i:nth-child(1) { opacity: 0.25; transform: scale(0.4); }
  .svc-cta__rings i:nth-child(2) { opacity: 0.15; transform: scale(0.65); }
}


/* -- Work: dark case tiles -- */


.case-result__num {
  display: block;
  font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; font-style: italic;
  color: #fff; line-height: 1;
  margin-bottom: 0.2rem;
}


/* Echo rings inside dark cards */


@keyframes aboutEcho {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* -- Contact: trust list -- */
.contact__trust {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}


/* -- Responsive for upgrades -- */


/* =======================================
   VISUAL DEPTH UPGRADES
   ======================================= */

/* -- 2. Section clip-path transitions (layered sections) -- */
.services.section {
  position: relative;
  /* top edge extends upward so the hero hand-off arc is not clipped */
  clip-path: polygon(0 -20vh, 100% -20vh, 100% calc(100% - 40px), 0 100%);
  margin-bottom: -40px;
  z-index: 2;
}
.work.section {
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(5rem, 10vw, 9rem) + 40px);
  z-index: 1;
}

/* -- 3. Multi-layer card shadow system -- */


/* (pillar hover removed — replaced by signal-line) */

/* -- 4. Drifting mesh orbs on sections -- */


@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.05); }
  66%      { transform: translate(-20px,40px) scale(0.97); }
}
/* Make sure section content sits above orbs */
.services .section-header,
.services .svc-rows,
.services .services__cta-wrap,
.work .section-header { position: relative; z-index: 1; }

/* Section label depth — subtle text-shadow */
.section-label {
  text-shadow: 0 1px 8px rgba(91,43,224,0.15);
}

/* Hero headline ghost depth enhancement */
.hero__headline::before { opacity: 0.08; }
.hero__headline::after  { opacity: 0.04; }


/* -- Paid Media: performance bars -- */
.bperf { display: flex; flex-direction: column; gap: 0.55rem; }
.bperf__row { display: grid; grid-template-columns: 32px 1fr 36px; gap: 0.6rem; align-items: center; }
.bperf__label { font-size: 0.6rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.06em; }
.bperf__bar-wrap { background: rgba(255,255,255,0.06); border-radius: 100px; height: 5px; overflow: hidden; }
.bperf__bar {
  height: 100%; border-radius: 100px; width: 0;
  background: linear-gradient(90deg, #9b6dff, #5b2be0);
  animation: bpBarGrow 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.bperf__bar--down { background: linear-gradient(90deg, #22c55e, #16a34a); }
@keyframes bpBarGrow { to { width: var(--w); } }
.bperf__val { font-size: 0.65rem; color: rgba(155,109,255,0.85); text-align: right; font-weight: 500; }

/* -- Strategy: funnel stages -- */
.bfunnel { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.bfunnel__stage {
  height: 28px; width: var(--w); border-radius: 4px;
  background: rgba(165,148,249, var(--op));
  display: flex; align-items: center; justify-content: center;
  transition: width 0.3s ease;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 100%, 0 100%);
}
.bfunnel__stage span { font-size: 0.58rem; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }

/* -- Analytics: event stream -- */
.bsignal { display: flex; flex-direction: column; gap: 0.5rem; }
.bsignal__event {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; color: rgba(255,255,255,0.3);
  font-family: 'DM Mono', 'Courier New', monospace;
}
.bsignal__event--highlight { color: rgba(123,164,255,0.9); }
.bsignal__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15); flex-shrink: 0;
}
.bsignal__dot--on {
  background: #7ba4ff;
  box-shadow: 0 0 8px rgba(123,164,255,0.6);
  animation: signalPulse 2s ease-in-out infinite;
}
@keyframes signalPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.bsignal__name { flex: 1; }
.bsignal__time { font-size: 0.58rem; color: rgba(255,255,255,0.2); }

/* -- Creative: typographic display -- */
.btype {
  display: flex; flex-direction: column; gap: 0.1rem;
  overflow: hidden;
}
.btype__word {
  font-family: var(--font-head);
  font-style: italic; font-weight: 600;
  line-height: 1.1; display: block;
  background: linear-gradient(135deg, rgba(192,132,252,0.9), rgba(139,43,224,0.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btype__word--1 { font-size: clamp(1.4rem, 3vw, 2rem); animation: typeSlide 0.8s ease 0.1s both; }
.btype__word--2 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); opacity: 0.65; animation: typeSlide 0.8s ease 0.25s both; }
.btype__word--3 { font-size: clamp(0.9rem, 2vw, 1.2rem); opacity: 0.4; animation: typeSlide 0.8s ease 0.4s both; }
@keyframes typeSlide { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.btype__word--2 { animation-fill-mode: both; }
.btype__word--3 { animation-fill-mode: both; }


/* =======================================
   SERVICE ROWS LAYOUT
   ======================================= */

.svc-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
  background: var(--text);
}

/* -- Individual row -- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 260px 32px;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  text-decoration: none;
  transition: background 0.3s ease, padding 0.4s ease;
  overflow: hidden;
}
.svc-row:last-child { border-bottom: none; }

/* Left accent line */
.svc-row::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.svc-row:hover::before { opacity: 1; }
.svc-row:hover { background: rgba(255,255,255,0.03); }

/* Per-row accent colours */
.svc-row--paid     { --rc: #5b2be0; --rc-bright: #9b6dff; }
.svc-row--strategy { --rc: #3d1fa8; --rc-bright: #a594f9; }
.svc-row--analytics{ --rc: #2b5be0; --rc-bright: #7ba4ff; }
.svc-row--creative { --rc: #8b2be0; --rc-bright: #c084fc; }
.svc-row--web      { --rc: #0d8aa8; --rc-bright: #6fd3e8; }

.svc-row::before { background: var(--rc-bright); }

/* -- Left section -- */
.svc-row__left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.svc-row__num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-bright);
  flex-shrink: 0;
  padding-top: 0.35rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.svc-row:hover .svc-row__num { opacity: 1; }

.svc-row__info { display: flex; flex-direction: column; gap: 0.4rem; }
.svc-row__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  transition: color 0.2s ease;
}
.svc-row:hover .svc-row__title { color: var(--rc-bright); }

.svc-row__desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
  max-width: 44ch;
}
.svc-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.svc-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.66);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.svc-row:hover .svc-tag {
  border-color: rgba(var(--rc), 0.3);
  color: var(--rc-bright);
  background: rgba(255,255,255,0.05);
}

/* -- Visual panel (right side) -- */
.svc-row__visual {
  width: 260px;
  flex-shrink: 0;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.svc-row:hover .svc-row__visual {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

/* -- Arrow -- */
.svc-row__arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.svc-row:hover .svc-row__arrow {
  color: var(--rc-bright);
  transform: translate(2px, -2px);
}

/* -- Responsive -- */
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr 32px; gap: 1.25rem; }
  /* visual drops below the text, full-width */
  .svc-row__visual { grid-column: 1 / -1; width: 100%; max-width: 340px; }
}
@media (max-width: 540px) {
  .svc-row { grid-template-columns: 1fr; padding: 1.5rem; gap: 0.75rem; }
  .svc-row__arrow { position: absolute; top: 1.5rem; right: 1.5rem; }
  .svc-row__left { flex-direction: column; gap: 0.5rem; }
}


/* =======================================
   SERVICE ROW ANIMATIONS
   ======================================= */

/* -- 1. Scroll reveal — staggered slide up -- */
.svc-row--reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease calc(var(--row-i, 0) * 0.12s),
    transform 0.65s ease calc(var(--row-i, 0) * 0.12s),
    background 0.3s ease;
}
.svc-row--reveal.visible {
  opacity: 1;
  transform: none;
}

/* -- 2. Accent line draws downward on hover -- */
.svc-row::before {
  transform-origin: top;
  transform: scaleY(0);
  transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

/* -- 3. Visual panels: muted until the row scrolls into view,
       then they animate to life; hover replays/holds full state -- */

/* Perf bars — grow from a sliver to full width on scroll-enter */
.svc-row__visual .bperf__bar {
  width: calc(var(--w) * 0.12);
  animation: none;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1) calc(0.35s + var(--bar-i, 0) * 0.12s);
}
.svc-row__visual .bperf__row:nth-child(1) .bperf__bar { --bar-i: 0; }
.svc-row__visual .bperf__row:nth-child(2) .bperf__bar { --bar-i: 1; }
.svc-row__visual .bperf__row:nth-child(3) .bperf__bar { --bar-i: 2; }
.svc-row__visual .bperf__row:nth-child(4) .bperf__bar { --bar-i: 3; }
.svc-row--reveal.visible .bperf__bar,
.svc-row:hover .bperf__bar { width: var(--w); }

/* Funnel — stages scale in one after another */
.svc-row__visual .bfunnel__stage {
  transform: scaleX(0.72);
  opacity: calc(var(--op) * 0.35);
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) calc(0.35s + var(--stage-i, 0) * 0.09s),
    opacity   0.45s ease                          calc(0.35s + var(--stage-i, 0) * 0.09s);
}
.svc-row__visual .bfunnel__stage:nth-child(1) { --stage-i: 0; }
.svc-row__visual .bfunnel__stage:nth-child(2) { --stage-i: 1; }
.svc-row__visual .bfunnel__stage:nth-child(3) { --stage-i: 2; }
.svc-row__visual .bfunnel__stage:nth-child(4) { --stage-i: 3; }
.svc-row--reveal.visible .svc-row__visual .bfunnel__stage,
.svc-row:hover .svc-row__visual .bfunnel__stage {
  transform: scaleX(1);
  opacity: var(--op, 1);
}

/* Signal events — light up in sequence like a live stream */
.svc-row__visual .bsignal__event {
  opacity: 0.15;
  transform: translateX(-6px);
  transition:
    opacity   0.4s ease calc(0.4s + var(--ev-i, 0) * 0.14s),
    transform 0.4s ease calc(0.4s + var(--ev-i, 0) * 0.14s);
}
.svc-row__visual .bsignal__event:nth-child(1) { --ev-i: 0; }
.svc-row__visual .bsignal__event:nth-child(2) { --ev-i: 1; }
.svc-row__visual .bsignal__event:nth-child(3) { --ev-i: 2; }
.svc-row--reveal.visible .svc-row__visual .bsignal__event,
.svc-row:hover .svc-row__visual .bsignal__event { opacity: 1; transform: none; }

/* Type words — fade up the typographic stack */
.svc-row__visual .btype__word {
  opacity: 0;
  transform: translateX(-10px);
  animation: none;
  transition:
    opacity   0.5s ease calc(0.4s + var(--t-i, 0) * 0.12s),
    transform 0.5s ease calc(0.4s + var(--t-i, 0) * 0.12s);
}
.svc-row__visual .btype__word--1 { --t-i: 0; }
.svc-row__visual .btype__word--2 { --t-i: 1; }
.svc-row__visual .btype__word--3 { --t-i: 2; }
.svc-row--reveal.visible .svc-row__visual .btype__word--1,
.svc-row:hover .svc-row__visual .btype__word--1 { opacity: 1; transform: none; }
.svc-row--reveal.visible .svc-row__visual .btype__word--2,
.svc-row:hover .svc-row__visual .btype__word--2 { opacity: 0.65; transform: none; }
.svc-row--reveal.visible .svc-row__visual .btype__word--3,
.svc-row:hover .svc-row__visual .btype__word--3 { opacity: 0.4; transform: none; }


/* =======================================
   MOBILE FIXES — homepage
   ======================================= */

/* -- Hero -- */
@media (max-width: 768px) {
  .hero { padding-top: 5rem; min-height: 100svh; }
  .hero__inner { padding-bottom: 2rem; }
  .hero__tag { font-size: 0.7rem; margin-bottom: 1rem; }
  .hero__headline { font-size: clamp(2rem, 8vw, 3.5rem); max-width: 100%; }
  .hero__headline::before, .hero__headline::after { display: none; }
  .hero__sub { font-size: 0.92rem; max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero__cta .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__mantra { font-size: 0.85rem; }
  .blob { display: none; }
  
}

/* -- Service rows -- */
@media (max-width: 768px) {
  .svc-rows { border-radius: 12px; }
  .svc-row {
    grid-template-columns: 1fr 28px;
    gap: 1rem;
    padding: 1.5rem;
  }
  .svc-row__visual { grid-column: 1 / -1; width: 100%; max-width: 340px; margin-top: 0.25rem; }
  .svc-row__left { gap: 0.75rem; }
  .svc-row__title { font-size: 1.3rem; }
  .svc-row__desc { font-size: 0.8rem; max-width: 100%; }
  /* decorative orbs: heavy blur + off-canvas geometry — skip on mobile */
  
}
@media (max-width: 480px) {
  .svc-row { grid-template-columns: 1fr; padding: 1.25rem; }
  .svc-row__arrow { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 0.9rem; }
  .svc-row__left { flex-direction: column; gap: 0.4rem; }
  .svc-row__num { padding-top: 0; }
  .svc-tag { font-size: 0.72rem; padding: 0.2rem 0.55rem; }
}

/* -- Work section -- */
@media (max-width: 768px) {
  
  
  
  
  .case-result__num { font-size: 1.4rem; }
}

/* -- About section -- */


/* -- Contact section -- */
@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__form { gap: 1rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevent iOS zoom */ padding: 0.75rem 0.9rem; }
}

/* -- Section headers -- */
@media (max-width: 480px) {
  .section-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .section { padding: clamp(3rem, 8vw, 5rem) 0; }
}

/* -- Mantra bar -- */
@media (max-width: 480px) {
  .hero__mantra-bar { padding: 1rem 0; }
  .hero__mantra { font-size: 0.8rem; padding: 0 0.5rem; text-align: center; }
}

/* -- Dark case card rings — hide on mobile -- */


/* =======================================
   HOMEPAGE V2 — conversion sections
   ======================================= */

/* -- Section lead paragraph -- */
.section-lead {
  max-width: 56ch;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: -1.25rem;
  margin-bottom: 0.5rem;
}

/* -- Service row outcome chip -- */
.svc-row__outcome {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--rc-bright);
  transition: opacity 0.2s ease;
}
.svc-row__outcome::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rc-bright);
  box-shadow: 0 0 8px var(--rc-bright);
}
.svc-row:hover .svc-row__outcome { opacity: 1; }

/* -- Case card "how we did it" link -- */


/* -- Testimonial strip -- */
.testimonial {
  max-width: 780px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: center;
  position: relative;
  padding-top: 2.5rem;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}


/* -- Contact: what happens next -- */
.contact__next-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.contact__next {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}
.contact__next li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact__next-num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* -- Form extras -- */
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.label-opt { font-weight: 400; opacity: 0.6; text-transform: none; letter-spacing: 0; }


/* =======================================
   ABOUT — manifesto + "what we do instead" list
   Each row: the agency habit (muted) gets struck through as it scrolls in,
   then échO's promise rises beneath in the display serif (motion.js
   initAboutPromises adds .is-in). No-JS / reduced motion: final state.
   ======================================= */
.abx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.abx-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.abx-eyebrow .logo-o { font-style: normal; }
.abx-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.5rem + 2.9vw, 3.9rem);   /* 'We don't run ads.' holds one line beside the list */
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 1rem 0 1.75rem;
  text-wrap: balance;
}
.abx-title em { font-weight: 300; font-style: italic; color: var(--accent); }
.abx-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2rem;
}
.abx-cta span { display: inline-block; transition: transform 0.25s var(--ease-out); }
.abx-cta:hover span { transform: translateX(4px); }
.abx-meta {
  display: block;
  margin-top: 1.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6794;
}

/* the list */
.abp { padding-top: 0.4rem; }
.abp__label {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6794;
  padding-bottom: 1rem;
}
.abp__label span:last-child { color: var(--accent); }
.abp__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.abp-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.abp-row__idx {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 0.25rem;
}
.abp-row__text { display: grid; gap: 0.45rem; min-width: 0; }
.abp-row__old { margin: 0; font-size: 0.95rem; color: #6f6794; line-height: 1.5; }
.abp-row__old s {
  position: relative;
  text-decoration: none;                       /* the strike is drawn below */
  background: linear-gradient(currentColor, currentColor) 0 55% / 100% 1px no-repeat;
}
.abp-row__new {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}
.abp__foot {
  margin-top: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6794;
}
.abp__foot i { font-style: normal; color: var(--accent); margin: 0 0.5rem; }

/* scroll-in: strike draws across, the old line dims, the promise rises */
@media (prefers-reduced-motion: no-preference) {
  html.js .abp-row__old s {
    background-size: 0% 1px;
    transition: background-size 0.7s cubic-bezier(0.65, 0, 0.35, 1), color 0.7s ease;
  }
  html.js .abp-row__new { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
  html.js .abp-row__idx { opacity: 0; transition: opacity 0.6s var(--ease-out); }
  html.js .abp-row.is-in .abp-row__idx { opacity: 1; }
  html.js .abp-row.is-in .abp-row__old s { background-size: 100% 1px; color: #9a93b8; transition-delay: 0.1s; }
  html.js .abp-row.is-in .abp-row__new { opacity: 1; transform: none; transition-delay: 0.55s; }
}

@media (max-width: 900px) {
  .abx-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}
@media (max-width: 640px) {
  .abp__label { font-size: 0.72rem; }
  .abp-row { grid-template-columns: 28px minmax(0, 1fr); gap: 0.85rem; padding: 1.25rem 0; }
  .abx-cta { width: 100%; justify-content: center; }
}


/* =======================================
   V4 — Services "Frequencies" pinned chapter
   ======================================= */
/* show chapter from small-laptop/tablet-landscape width up (≥769px, the same
   cut as the burger nav) + motion-ok; else the editorial fallback */
.svc-chapter { display: none; }
html.motion-ok .svc-chapter { display: block; }
html.motion-ok .services__fallback { display: none; }
@media (max-width: 768px) {
  html.motion-ok .svc-chapter { display: none; }
  html.motion-ok .services__fallback { display: block; }
}
/* clip-path on .services.section breaks position:sticky — neutralize in chapter mode.
   Background merges with the page so the coda doesn't sit on a mismatched band. */
@media (min-width: 769px) {
  html.motion-ok .services.section {
    clip-path: none;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
    background: transparent;   /* same page backdrop as #work below: no seam */
  }
  /* same background on both sides, so no diagonal hand-off: #work starts at
     a normal section gap, marked by its shimmer divider */
  html.motion-ok .work.section {
    clip-path: none;
    padding-top: clamp(4rem, 7vw, 6rem);
  }
  /* open seam: no divider between the services coda and Proof */
  html.motion-ok .work.section::before { display: none; }
  html.motion-ok .services__cta-wrap { margin-top: 0; }
}
.services__cta-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }   /* margin: mobile.css resets .container padding */

.svc-chapter__spacer { position: relative; height: 500vh; }   /* 100vh per service */
.svc-chapter__stage {
  position: sticky; top: 0;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center;
  overflow: hidden;
  transition: background-color var(--dur-slow) var(--ease-inout);
}
/* flex items shrink-to-fit by default, so the .container child needs an
   explicit width to actually reach its max-width via margin:auto */
.svc-chapter__stage > .container { width: 100%; }

/* per-service accent atmosphere behind the signal cluster */
.svc-chapter__atmo {
  position: absolute; right: -12vw; top: 50%;
  width: 58vw; height: 58vw;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--stage-accent, var(--accent)), transparent 72%);
  opacity: 0.08; pointer-events: none; z-index: 0;
}

/* ghost numeral: stroked outline bleeding off the viewport edge */
.svc-chapter__ghost {
  position: absolute; right: -3vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head); font-style: italic; font-weight: 500;
  font-size: 27vw; line-height: 1;
  height: 1em; overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--stage-accent, var(--accent));
  opacity: 0.16;
  pointer-events: none; user-select: none; z-index: 0;
}

/* rotated marginalia on the stage's left edge */
.svc-chapter__side {
  position: absolute; left: clamp(0.75rem, 2vw, 2rem); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.6;
  pointer-events: none; z-index: 1;
}
.svc-chapter__ghost-roll {
  display: block;
  transition: transform var(--dur-slow) var(--ease-inout);
  will-change: transform;
}
.svc-chapter__ghost-roll i { display: block; height: 1em; line-height: 1; font-style: italic; }

/* meta row as a masthead: label left, count + cells right, hairline under */
.svc-chapter__meta {
  display: flex; align-items: center; gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}
.svc-chapter__count { font-family: 'DM Mono', monospace; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.04em; margin-left: auto; }
.svc-chapter__count b { color: var(--accent); font-weight: 500; }
/* four discrete cells that fill in sequence — one per service */
.svc-chapter__progress { flex: 0 1 220px; display: flex; gap: 5px; height: 3px; }
.svc-chapter__progress i { flex: 1; position: relative; background: var(--border); border-radius: 2px; overflow: hidden; }
.svc-chapter__progress i::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(var(--fill, 0)); transform-origin: left;
}

.svc-chapter__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
/* vertical rule in the column gap */
.svc-chapter__grid::before {
  content: ''; position: absolute;
  left: 58.5%; top: -4%; bottom: -4%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 22%, var(--border) 78%, transparent);
  pointer-events: none;
}

.svc-chapter__titles { position: relative; min-height: 54vh; }
.svc-chapter__block {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  pointer-events: none;
}
.svc-chapter__block.is-active { opacity: 1; pointer-events: auto; }
.svc-chapter__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: var(--display-xl); line-height: 0.98; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 1.25rem;
  transition: color var(--dur-med) var(--ease-out);
}
.svc-chapter__block.is-active .svc-chapter__title { color: var(--svc); }
/* character cascade — JS splits titles into .ch spans at init */
.svc-chapter__title .ch {
  display: inline-block;
  opacity: 0; transform: translateY(0.4em);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.svc-chapter__block.is-active .svc-chapter__title .ch {
  opacity: 1; transform: none;
  transition-delay: calc(var(--ch-i, 0) * 26ms);
}
/* service-specific eyebrow anchoring the title */
.svc-chapter__eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--svc); margin-bottom: 1.1rem;
}
.svc-chapter__eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--svc); flex-shrink: 0; }
/* content arrives in sequence after the title */
.svc-chapter__eyebrow, .svc-chapter__desc, .svc-chapter__tags, .svc-chapter__outcome, .svc-chapter__go {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.svc-chapter__block.is-active .svc-chapter__eyebrow,
.svc-chapter__block.is-active .svc-chapter__desc,
.svc-chapter__block.is-active .svc-chapter__tags,
.svc-chapter__block.is-active .svc-chapter__outcome,
.svc-chapter__block.is-active .svc-chapter__go { opacity: 1; transform: none; }
.svc-chapter__block.is-active .svc-chapter__desc    { transition-delay: 180ms; }
.svc-chapter__block.is-active .svc-chapter__tags    { transition-delay: 260ms; }
.svc-chapter__block.is-active .svc-chapter__outcome { transition-delay: 340ms; }
.svc-chapter__block.is-active .svc-chapter__go      { transition-delay: 420ms; }
.svc-chapter__desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; max-width: 42ch; margin-bottom: 1.25rem; }
.svc-chapter__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.svc-chapter__tags span { font-size: 0.72rem; font-weight: 500; padding: 0.3rem 0.85rem; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); background: var(--surface); }
.svc-chapter__outcome { display: block; font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--svc); margin-bottom: 1.25rem; border-left: 2px solid var(--svc); padding-left: 0.9rem; }
.svc-chapter__go { font-size: 0.85rem; font-weight: 500; color: var(--svc); }
.svc-chapter__block:hover .svc-chapter__go { text-decoration: underline; text-underline-offset: 3px; }

.svc-chapter__visuals { position: relative; min-height: 300px; }
.svc-chapter__visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.96);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.svc-chapter__visual.is-active { opacity: 1; transform: none; }
/* the inner card floats and tilts with scroll within each segment (--seg from JS) */
.svc-chapter__visual > div {
  transform: translateY(calc((0.5 - var(--seg, 0.5)) * 20px)) rotate(calc((var(--seg, 0.5) - 0.5) * 1.5deg));
  will-change: transform;
}

/* ── cv: the service instruments (chapter-only, always-looping) ── */
.cv {
  background: var(--chamber);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.15rem 1.35rem 1.15rem;
  width: 100%; max-width: 390px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(124,92,255,0.16), transparent 60%),
    var(--chamber);
  box-shadow: 0 30px 70px -20px rgba(30,16,64,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.cv__head, .cv__foot {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.cv__head { padding-bottom: 0.7rem; margin-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cv__foot { padding-top: 0.75rem; margin-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.07); gap: 1rem; }
.cv__head b, .cv__foot b { margin-left: auto; font-weight: 400; color: rgba(255,255,255,0.55); }
.cv__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7bd88f; flex-shrink: 0;
  animation: cvBlink 1.8s ease-in-out infinite;
}
@keyframes cvBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ── Paid media: three channels with live mini charts; the budget split
   shifts towards whichever channel is winning ── */
.cv-paid__ch {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 76px 54px;
  align-items: center; gap: 0.7rem;
  padding: 0.5rem 0.55rem;
  margin: 0 -0.55rem 0.15rem;
  border-radius: 8px;
  animation: cvWinRow 9s ease-in-out infinite;
  animation-delay: calc(var(--c) * 3s);
}
.cv-paid__ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'DM Mono', monospace; font-size: 0.66rem; font-weight: 500;
  color: #fff; background: rgba(124,92,255,0.28); border: 1px solid rgba(179,155,255,0.3);
}
.cv-paid__name { font-size: 0.74rem; color: rgba(255,255,255,0.82); line-height: 1.2; display: grid; }
.cv-paid__name small { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.cv-paid__spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.cv-paid__spark i {
  flex: 1; height: calc(var(--h) * 100%);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #b39bff, rgba(124,92,255,0.35));
  transform-origin: bottom;
  animation: cvSpark 2.4s ease-in-out infinite;
}
.cv-paid__spark i:nth-child(2n) { animation-delay: -0.6s; } .cv-paid__spark i:nth-child(3n) { animation-delay: -1.2s; }
.cv-paid__win {
  justify-self: end;
  font-family: 'DM Mono', monospace; font-style: normal; font-size: 0.54rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
  color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.12);
  animation: cvWinTag 9s ease-in-out infinite;
  animation-delay: calc(var(--c) * 3s);
}
.cv-paid__split { margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.cv-paid__split > span { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.cv-paid__mix { display: flex; gap: 3px; height: 8px; }
.cv-paid__mix i { border-radius: 3px; background: #7c5cff; animation: cvMix 9s ease-in-out infinite; }
.cv-paid__mix i:nth-child(1) { --a: 50%; --b: 30%; --c2: 30%; background: #8f73ff; }
.cv-paid__mix i:nth-child(2) { --a: 30%; --b: 48%; --c2: 30%; background: #6b4fe0; }
.cv-paid__mix i:nth-child(3) { --a: 20%; --b: 22%; --c2: 40%; background: #4a3699; }
@keyframes cvMix { 0%, 28%, 100% { width: var(--a); } 36%, 61% { width: var(--b); } 69%, 94% { width: var(--c2); } }
@keyframes cvSpark { 50% { transform: scaleY(0.72); } }
@keyframes cvWinRow { 0%, 30%, 100% { background: transparent; } 4%, 26% { background: rgba(124,92,255,0.14); } }
@keyframes cvWinTag { 0%, 30%, 100% { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.12); background: transparent; } 4%, 26% { color: #fff; border-color: #b39bff; background: rgba(124,92,255,0.35); } }

/* ── Strategy: signal drops fall through a funnel; each stage's message
   lights as the signal reaches it ── */
.cv-strategy__map { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.cv-strategy__funnel { width: 116px; height: 150px; overflow: visible; }
.cv-strategy__shape { fill: rgba(124,92,255,0.14); stroke: rgba(179,155,255,0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cv-strategy__cut { fill: none; stroke: rgba(179,155,255,0.25); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cv-strategy__drop {
  position: absolute; top: 0;
  left: calc(116px * var(--xn, 0.5));
  width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #cbb6ff; box-shadow: 0 0 8px rgba(203,182,255,0.9);
  opacity: 0;
  animation: cvDrop 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: var(--d);
}
.cv-strategy__drop:nth-of-type(1) { --xn: 0.40; } .cv-strategy__drop:nth-of-type(2) { --xn: 0.58; } .cv-strategy__drop:nth-of-type(3) { --xn: 0.5; }
.cv-strategy__drop:nth-of-type(4) { --xn: 0.34; } .cv-strategy__drop:nth-of-type(5) { --xn: 0.64; }
@keyframes cvDrop {
  0% { top: 2px; opacity: 0; transform: translateX(0); }
  8% { opacity: 1; }
  85% { top: 138px; opacity: 1; transform: translateX(calc((0.5 - var(--xn)) * 116px)); }
  100% { top: 146px; opacity: 0; transform: translateX(calc((0.5 - var(--xn)) * 116px)); }
}
.cv-strategy__msgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, 1fr); }
.cv-strategy__msgs li {
  display: grid; align-content: center;
  font-size: 0.7rem; line-height: 1.3; color: rgba(255,255,255,0.4);
  border-left: 2px solid rgba(124,92,255,0.25); padding-left: 0.6rem;
  animation: cvMsg 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.85s);
}
.cv-strategy__msgs b { font-family: 'DM Mono', monospace; font-size: 0.54rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(179,155,255,0.7); }
@keyframes cvMsg { 0%, 30%, 100% { color: rgba(255,255,255,0.4); border-color: rgba(124,92,255,0.25); } 8%, 22% { color: #fff; border-color: #b39bff; } }

/* ── Analytics: area chart with a scanning cursor, a scrolling event log,
   and three setup checks ── */
.cv-analytics__chart { position: relative; height: 70px; margin-bottom: 0.75rem; }
.cv-analytics__chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cv-analytics__grid { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cv-analytics__area { fill: url(#cvAnFill); animation: cvArea 6s ease-in-out infinite; }
.cv-analytics__line { fill: none; stroke: #8b9bff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; animation: cvDraw 6s ease-in-out infinite; }
@keyframes cvDraw { 0% { stroke-dashoffset: 400; } 55%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cvArea { 0%, 20% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }
.cv-analytics__cursor { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(139,155,255,0.7), transparent); animation: cvScan 6s ease-in-out infinite; }
@keyframes cvScan { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 55% { left: 100%; opacity: 1; } 62%, 100% { left: 100%; opacity: 0; } }
.cv-analytics__log { height: 66px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,0.03); padding: 0 0.6rem; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.cv-analytics__feed { animation: cvFeed 6s steps(3, end) infinite; }
.cv-analytics__ev { display: flex; align-items: center; gap: 0.55rem; height: 22px; font-family: 'DM Mono', monospace; font-size: 0.64rem; color: rgba(255,255,255,0.55); }
.cv-analytics__ev i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cv-analytics__ev em { margin-left: auto; font-style: normal; font-size: 0.58rem; color: rgba(255,255,255,0.3); }
.cv-analytics__ev--hi { color: #8b9bff; }
@keyframes cvFeed { from { transform: translateY(0); } to { transform: translateY(-66px); } }
.cv-analytics__checks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.cv-analytics__checks span { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.08em; text-transform: uppercase; color: #a8f0bb; padding: 3px 8px 3px 20px; border-radius: 999px; background: rgba(123,216,143,0.1); position: relative; }
.cv-analytics__checks span::before { content: ''; position: absolute; left: 8px; top: 50%; width: 5px; height: 3px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(-45deg); }

/* ── Creative: one ad, three angles; the copy and the winning tab cycle ── */
.cv-creative__ad { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.85rem; row-gap: 0.55rem; padding: 0.6rem; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.cv-creative__img { grid-row: span 2; position: relative; height: 88px; border-radius: 7px; overflow: hidden; background: radial-gradient(circle at 30% 30%, #b39bff, transparent 55%), linear-gradient(135deg, #5b2be0, #241552); animation: cvImg 9s ease-in-out infinite; }
.cv-creative__img i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); left: 50%; top: 55%; width: 44px; height: 44px; margin: -22px; }
.cv-creative__img i + i { width: 70px; height: 70px; margin: -35px; opacity: 0.5; }
@keyframes cvImg { 0%, 30% { filter: hue-rotate(0deg); } 36%, 63% { filter: hue-rotate(-25deg); } 69%, 96% { filter: hue-rotate(20deg); } 100% { filter: hue-rotate(0deg); } }
.cv-creative__copy { position: relative; height: 2.6em; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.15; color: #fff; }
.cv-creative__line { position: absolute; inset: 0; opacity: 0; animation: cvLine 9s ease-in-out infinite; animation-delay: calc(var(--i) * 3s); }
.cv-creative__line em { font-style: italic; color: #cbb6ff; }
@keyframes cvLine { 0% { opacity: 0; transform: translateY(6px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-6px); } }
.cv-creative__cta { align-self: end; justify-self: start; font-size: 0.62rem; font-weight: 500; color: #fff; background: #7c5cff; padding: 4px 10px; border-radius: 999px; }
.cv-creative__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-top: 0.7rem; }
.cv-creative__tabs span { position: relative; display: grid; gap: 0.35rem; padding: 0.45rem 0.5rem; border-radius: 7px; border: 1px solid rgba(255,255,255,0.08); font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); animation: cvTab 9s ease-in-out infinite; animation-delay: calc(var(--i) * 3s); }
.cv-creative__tabs b { font-size: 0.7rem; color: #cbb6ff; font-weight: 500; }
.cv-creative__tabs i { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.cv-creative__tabs i::after { content: ''; position: absolute; inset: 0; background: #b39bff; transform-origin: left; transform: scaleX(0.3); animation: cvTabBar 9s ease-in-out infinite; animation-delay: inherit; }
@keyframes cvTab { 0%, 32%, 100% { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); background: transparent; } 4%, 28% { border-color: #b39bff; color: #fff; background: rgba(124,92,255,0.18); } }
@keyframes cvTabBar { 0%, 2% { transform: scaleX(0.3); } 28% { transform: scaleX(1); } 33%, 100% { transform: scaleX(0.3); } }

/* ── Web: one 12s loop, two stories. First half BUILD (wireframe → design
   → headline types → click → event); second half REDESIGN (cluttered old
   site, slow → a scan sweeps across revealing the new site → fast, URLs
   kept). The Build / Redesign tabs follow along. ── */
.cvw-tabs { display: inline-flex; gap: 2px; padding: 2px; margin-left: 0.4rem; border-radius: 999px; background: rgba(255,255,255,0.06); }
.cvw-tab { padding: 2px 7px; border-radius: 999px; font-size: 0.52rem; color: rgba(255,255,255,0.4); animation: cvwTabB 12s step-end infinite; }
.cvw-tab--r { animation-name: cvwTabR; }
@keyframes cvwTabB { 0% { background: rgba(111,211,232,0.25); color: #fff; } 50% { background: transparent; color: rgba(255,255,255,0.4); } }
@keyframes cvwTabR { 0% { background: transparent; color: rgba(255,255,255,0.4); } 50% { background: rgba(124,92,255,0.4); color: #fff; } }

.cvw-frame { border-radius: 9px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); overflow: hidden; }
.cvw-bar { display: flex; align-items: center; gap: 4px; padding: 0.45rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cvw-bar > i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.cvw-url { margin-left: 0.4rem; flex: 1; min-width: 0; font-family: 'DM Mono', monospace; font-size: 0.54rem; color: rgba(255,255,255,0.45); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.cvw-speed { position: relative; width: 38px; height: 15px; }
.cvw-speed em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; opacity: 0; }
.cvw-speed--slow { color: #ffb4a8; background: rgba(255,120,100,0.14); animation: cvwSlow 12s step-end infinite; }
.cvw-speed--fast { color: #a8f0bb; background: rgba(123,216,143,0.14); animation: cvwFast 12s ease infinite; }
@keyframes cvwSlow { 0% { opacity: 0; } 52% { opacity: 1; } 70% { opacity: 0; } }
@keyframes cvwFast { 0%, 34% { opacity: 0; } 37%, 48% { opacity: 1; } 50%, 72% { opacity: 0; } 75%, 97% { opacity: 1; } 100% { opacity: 0; } }

.cvw-stage { position: relative; height: 150px; }
.cvw-layer { position: absolute; inset: 0; padding: 0.6rem; }
.cvw-build { animation: cvwShowB 12s step-end infinite; }
.cvw-redo  { animation: cvwShowR 12s step-end infinite; }
@keyframes cvwShowB { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes cvwShowR { 0% { opacity: 0; } 50% { opacity: 1; } }

/* the new site (shared by both stories) */
.cvw-site { display: grid; gap: 0.45rem; }
.cvw-nav { display: flex; gap: 6px; height: 6px; align-items: center; }
.cvw-nav i { height: 4px; width: 16px; border-radius: 2px; background: rgba(255,255,255,0.22); }
.cvw-nav i:first-child { width: 28px; background: #6fd3e8; margin-right: auto; }
.cvw-hero { display: grid; gap: 0.3rem; padding: 0.6rem 0.65rem; border-radius: 6px; background: linear-gradient(135deg, rgba(111,211,232,0.24), rgba(124,92,255,0.22)); }
.cvw-h { font-family: var(--font-head); font-size: 1.05rem; line-height: 1; color: #fff; height: 1.05rem; }
.cvw-h span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: top; }
.cvw-p { display: block; height: 4px; width: 68%; border-radius: 2px; background: rgba(255,255,255,0.28); }
.cvw-btn { justify-self: start; font-size: 0.56rem; font-weight: 500; color: #0b1a20; background: #6fd3e8; padding: 3px 9px; border-radius: 999px; margin-top: 0.1rem; }
.cvw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.cvw-cols span { height: 24px; border-radius: 5px; background: rgba(255,255,255,0.1); }

/* BUILD: everything starts as a dashed wireframe, then fills in */
.cvw-build .cvw-nav i, .cvw-build .cvw-hero, .cvw-build .cvw-cols span, .cvw-build .cvw-btn, .cvw-build .cvw-p {
  outline: 1px dashed rgba(255,255,255,0.35); outline-offset: -1px;
  animation: cvwFill 12s ease infinite;
}
.cvw-build .cvw-hero { position: relative; isolation: isolate; background: transparent; }
.cvw-build .cvw-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(111,211,232,0.24), rgba(124,92,255,0.22)); animation: cvwGrad 12s ease infinite; }
@keyframes cvwGrad { 0%, 10% { opacity: 0; } 16%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
.cvw-build .cvw-cols span:nth-child(2) { animation-delay: 0.15s; } .cvw-build .cvw-cols span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cvwFill {
  0%   { opacity: 0; transform: translateY(5px); background-color: transparent; color: transparent; outline-color: rgba(255,255,255,0.35); }
  4%   { opacity: 1; transform: none; }
  10%  { background-color: transparent; color: transparent; outline-color: rgba(255,255,255,0.35); }
  16%, 48% { opacity: 1; transform: none; outline-color: transparent; }
  50%, 100% { opacity: 0; }
}
.cvw-build .cvw-h span { width: 0; animation: cvwType 12s steps(12, end) infinite; }
@keyframes cvwType { 0%, 14% { width: 0; } 24%, 48% { width: 100%; } 50%, 100% { width: 0; } }
.cvw-cursor { position: absolute; left: 70%; top: 92%; width: 0; height: 0; border-left: 8px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; transform: rotate(-35deg); filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); opacity: 0; animation: cvwCursor 12s ease-in-out infinite; }
@keyframes cvwCursor { 0%, 24% { opacity: 0; left: 70%; top: 92%; } 27% { opacity: 1; } 33% { left: 15%; top: 57%; } 35% { transform: rotate(-35deg) scale(0.75); } 37% { transform: rotate(-35deg) scale(1); } 46% { opacity: 1; left: 15%; top: 57%; } 49%, 100% { opacity: 0; left: 15%; top: 57%; } }
.cvw-build .cvw-btn { box-shadow: 0 0 0 0 rgba(111,211,232,0); }
.cvw-event { position: absolute; right: 0.6rem; top: 0.6rem; display: inline-flex; align-items: center; gap: 0.35rem; font-family: 'DM Mono', monospace; font-size: 0.54rem; color: #a8f0bb; background: rgba(11,7,22,0.9); border: 1px solid rgba(123,216,143,0.45); padding: 3px 8px; border-radius: 999px; opacity: 0; animation: cvwEvt 12s ease infinite; }
.cvw-event i { width: 5px; height: 5px; border-radius: 50%; background: #7bd88f; }
@keyframes cvwEvt { 0%, 35% { opacity: 0; transform: translateY(4px); } 38%, 47% { opacity: 1; transform: none; } 49%, 100% { opacity: 0; } }
.cvw-event--redo { animation-name: cvwEvtR; top: auto; bottom: 0.6rem; }
@keyframes cvwEvtR { 0%, 80% { opacity: 0; transform: translateY(4px); } 83%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }

/* REDESIGN: cluttered old site; the scan sweeps right, revealing the new */
.cvw-old { position: absolute; inset: 0.6rem; display: grid; gap: 0.35rem; align-content: start; filter: saturate(0.4); }
.cvw-old__nav { display: flex; flex-wrap: wrap; gap: 3px; }
.cvw-old__nav i { height: 6px; width: 22px; background: rgba(255,255,255,0.18); }
.cvw-old__nav i:nth-child(odd) { width: 14px; background: rgba(255,200,120,0.35); }
.cvw-old__banner { font-family: 'DM Mono', monospace; font-size: 0.55rem; font-weight: 500; color: #ffd27a; background: rgba(255,120,80,0.22); padding: 6px; text-align: center; letter-spacing: 0.06em; transform: rotate(-1.2deg); }
.cvw-old__body { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 3px; }
.cvw-old__body i { height: 18px; background: rgba(255,255,255,0.1); }
.cvw-old__body i:nth-child(2) { height: 34px; background: rgba(255,255,255,0.16); }
.cvw-old__body i:nth-child(4) { grid-column: span 2; height: 10px; }
.cvw-new { position: absolute; inset: 0; padding: 0.6rem; align-content: start; background: #16112a; clip-path: inset(0 100% 0 0); animation: cvwReveal 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cvwReveal { 0%, 60% { clip-path: inset(0 100% 0 0); } 76%, 100% { clip-path: inset(0 0 0 0); } }
.cvw-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #b39bff; box-shadow: 0 0 14px 3px rgba(179,155,255,0.75); opacity: 0; animation: cvwScan 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cvwScan { 0%, 58% { left: 0.6rem; opacity: 0; } 60% { left: 0.6rem; opacity: 1; } 76% { left: calc(100% - 0.6rem); opacity: 1; } 79%, 100% { left: calc(100% - 0.6rem); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cv *, .cv *::before, .cv *::after { animation: none !important; }
  .cv-creative__line:first-child { opacity: 1; transform: none; }
  .cvw-redo, .cvw-cursor, .cvw-event { display: none; }
  .cvw-build .cvw-h span { width: auto; }
}
/* static orbit rings — anchor the cluster, counter-drift with scroll */
.svc-chapter__orbit {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid var(--stage-accent, var(--accent));
  transition: border-color var(--dur-slow) var(--ease-inout);
  pointer-events: none;
}
.svc-chapter__orbit--1 {
  width: 430px; height: 430px; opacity: 0.22;
  transform: translate(-50%, calc(-50% + (var(--seg, 0.5) - 0.5) * -16px));
}
.svc-chapter__orbit--2 {
  width: 580px; height: 580px; opacity: 0.1;
  transform: translate(-50%, calc(-50% + (var(--seg, 0.5) - 0.5) * 24px));
}

/* echo ring pulse behind the chip on each service change */
.svc-chapter__ping {
  position: absolute; left: 50%; top: 50%;
  width: 340px; height: 340px; margin: -170px 0 0 -170px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0; pointer-events: none;
}
.svc-chapter__ping.is-live { animation: svcPing 1.1s var(--ease-out); }
@keyframes svcPing {
  0%   { transform: scale(0.55); opacity: 0.5; }
  100% { transform: scale(1.3);  opacity: 0; }
}
/* small laptops / scaled displays (769–1100px): keep the instruments, just
   rebalance the columns and step the type down so both halves fit */
@media (max-width: 1100px) {
  .svc-chapter__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .svc-chapter__title { font-size: clamp(2.8rem, 6.4vw, 4.6rem); }
  .svc-chapter__desc { font-size: 0.98rem; }
  .svc-chapter__visuals { min-height: 280px; }
  .cv { max-width: 330px; padding: 1rem 1.1rem 1.05rem; }
}

/* =======================================
   V4 — Work: count-up stats + ring parallax
   ======================================= */
.case-result__num { font-variant-numeric: tabular-nums; }


/* =======================================
   V4 — Quote scroll-scrubbed ink-fill
   Dim/author states only apply once JS has confirmed motion is on,
   so a no-JS or reduced-motion visitor always sees the full quote.
   ======================================= */


/* ═══ CLIENT MARQUEE (work section) ═══
   Full-bleed band. Two identical lists in one track slide by -50% for a
   seamless loop. A sonar pulses at the centre: motion.js sets --f (0→1)
   on each item by its distance from the centre, so logos brighten and
   grow as they pass through it. Logos render as ink silhouettes via CSS
   mask; clients without a logo file use wordmarks. Static, wrapped row
   under reduced motion. */
.clients {
  position: relative;
  z-index: 1;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.clients__label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}
.clients__marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 22% 90% at 50% 50%, rgba(91, 43, 224, 0.1), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

/* sonar at the centre of the band */
.clients__sonar { position: absolute; inset: 0; pointer-events: none; }
.clients__sonar i {
  position: absolute;
  left: 50%; top: 50%;
  width: 19rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(91, 43, 224, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  animation: clientsSonar 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.clients__sonar i:nth-child(2) { animation-delay: 1.2s; }
.clients__sonar i:nth-child(3) { animation-delay: 2.4s; }
@keyframes clientsSonar {
  0%   { transform: translate(-50%, -50%) scale(0.25); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1.6);  opacity: 0; }
}

.clients__track {
  position: relative;
  display: flex;
  width: max-content;
  animation: clientsScroll 55s linear infinite;
}
.clients__marquee:hover .clients__track,
.clients__marquee:focus-within .clients__track { animation-play-state: paused; }
.clients__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.clients__item {
  --f: 0;
  position: relative;
  display: flex;
  align-items: center;
  height: 9rem;
  padding: 0 clamp(2.5rem, 4.5vw, 4.25rem);
  white-space: nowrap;
}
/* echo-ring separator between names */
.clients__item::after {
  content: '';
  position: absolute;
  right: -4px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}
/* hover: the logo sends out its own ring */
.clients__item::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(91, 43, 224, 0.5);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  pointer-events: none;
}
.clients__item:hover::before { animation: clientsPing 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes clientsPing {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(0.3); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.3); }
}

.clients__wordmark,
.clients__logo {
  opacity: calc(0.42 + 0.58 * var(--f));
  transform: scale(calc(0.94 + 0.16 * var(--f)));
}
.clients__wordmark {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  color: color-mix(in srgb, var(--text) calc(var(--f) * 100%), var(--text-muted));
}
/* logo: the file's shape, filled with the site ink (sizes balanced per logo) */
.clients__logo {
  display: block;
  height: calc(var(--h, 2rem) * var(--logo-scale, 1.35));
  aspect-ratio: var(--ar, 4);
  background-color: var(--text-muted);
  background-color: color-mix(in srgb, var(--text) calc(var(--f) * 100%), var(--text-muted));
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
}
.clients__item:hover .clients__wordmark,
.clients__item:hover .clients__logo { opacity: 1; }

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .clients { --logo-scale: 1.05; }
  .clients__item { height: 6.5rem; padding: 0 1.75rem; }
  .clients__wordmark { font-size: 1.35rem; }
  .clients__sonar i { width: 10rem; }
  .clients__track { animation-duration: 38s; }
}

@media (prefers-reduced-motion: reduce) {
  .clients__marquee { -webkit-mask-image: none; mask-image: none; }
  .clients__sonar { display: none; }
  .clients__track { animation: none; width: auto; justify-content: center; }
  .clients__list { flex-wrap: wrap; justify-content: center; }
  .clients__list[aria-hidden="true"] { display: none; }
  .clients__item { --f: 0.7; height: 5rem; padding: 0 1.5rem; }
  .clients__item::after, .clients__item::before { display: none; }
  .clients__wordmark, .clients__logo { transform: none; }
}

/* ═══ HERO → SERVICES HAND-OFF (motion.js initHeroHandoff) ═══
   A soft arc on the services section's leading edge (height driven by
   --edge-h, colour by --edge-bg) plus two echo rings from its apex. */
.hero { will-change: transform; }
.handoff-edge {
  position: absolute;
  left: 0; right: 0;
  top: calc(-1 * var(--edge-h, 0vh));
  height: var(--edge-h, 0vh);
  background: var(--edge-bg, var(--bg));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
  z-index: 3;
  overflow-x: clip;          /* scaled rings must never widen the page */
}
.handoff-ring {
  position: absolute;
  left: 50%; top: 0;
  width: min(70vw, 760px);
  aspect-ratio: 2.4;
  border: 1px solid rgba(155, 109, 255, 0.55);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
}
.handoff-ring + .handoff-ring { border-color: rgba(155, 109, 255, 0.35); }
@media (max-width: 900px) {
  .handoff-ring { width: 120vw; }
}


/* ═══ SECTION HAND-OFFS (motion.js initSectionHandoffs) ═══
   Edge elements live inside the incoming section. Shapes extend above
   it (bulges) or hang inside it (dip); rings never widen the page. */
.footer { position: relative; }
.sec-edge {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
  z-index: 3;
  overflow-x: clip;
}
.sec-edge i {
  position: absolute;
  left: 50%; top: 0;
  border-radius: 50%;
  opacity: 0;
}

/* dip: results → about (previous colour hangs down as a concave top) */
.sec-edge--dip {
  top: 0;
  height: var(--edge-h, 0vh);
  background: var(--edge-bg, var(--bg));
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* ripple: about → process (half rings spreading down) */
.sec-edge--ripple { top: 0; height: 60vh; overflow: hidden; }
.sec-edge--ripple i { width: min(90vw, 900px); aspect-ratio: 1.8; border: 1px solid rgba(91, 43, 224, 0.35); }
.sec-edge--ripple i:nth-child(2) { border-color: rgba(91, 43, 224, 0.25); }
.sec-edge--ripple i:nth-child(3) { border-color: rgba(91, 43, 224, 0.16); }

/* dome: about → how it works. Same background on both sides, so the edge
   is light, not colour: an arched horizon with a soft violet glow rises
   above the section and flattens into the boundary as it settles. */
.sec-edge--dome {
  top: calc(-1 * var(--edge-max, 14vh));
  height: var(--edge-max, 14vh);
}
.sec-edge--dome b,
.sec-edge--crest b {
  position: absolute;
  left: -15%; right: -15%; top: 0; bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform-origin: 50% 100%;
  transform: scaleY(var(--edge-s, 0));      /* transform, not height: no layout shift */
}
.sec-edge--dome b {
  border-top: 1px solid rgba(91, 43, 224, 0.32);
  background: linear-gradient(180deg, rgba(91, 43, 224, 0.08), rgba(91, 43, 224, 0) 85%);
  box-shadow: 0 -18px 40px -26px rgba(91, 43, 224, 0.45);
}
/* crest: how it works → contact. Contact's tone rises as a symmetric arch
   (covering its straight top border while it is up), then settles flat. */
.sec-edge--crest {
  top: calc(-1 * var(--edge-max, 10vh));
  height: calc(var(--edge-max, 10vh) + 1px);
}
.sec-edge--crest b {
  background: var(--edge-bg, var(--bg));
  border-top: 1px solid var(--border);
}

/* sweep: process → contact (lopsided crest, apex travels to centre) */
.sec-edge--sweep {
  top: calc(-1 * var(--edge-h, 0vh));
  height: var(--edge-h, 0vh);
  background: var(--edge-bg, var(--bg));
  clip-path: ellipse(65% 100% at var(--apex, 50%) 100%);
  overflow: visible;
}

/* settle: contact → footer (damped bounce + one last echo) */
.sec-edge--settle {
  top: calc(-1 * var(--edge-h, 0vh));
  height: var(--edge-h, 0vh);
  background: var(--edge-bg, var(--surface));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.sec-edge--settle i { width: min(60vw, 640px); aspect-ratio: 3; border: 1px solid rgba(91, 43, 224, 0.4); }


/* ═══ WEB (5th service): chapter visual + fallback row visual ═══ */
.svc-visual--web .bweb {
  display: grid;
  gap: 6px;
  width: 120px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.6);
}
.bweb > span { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--rc) 25%, transparent); }
.bweb .bweb__bar { height: 4px; width: 40%; }
.bweb .bweb__hero { height: 26px; background: color-mix(in srgb, var(--rc) 18%, transparent); }
.bweb .bweb__line--short { width: 60%; }

