/* ZS Clean · ceramic coating page · round 3 prototype (Nov 18, 2026) · not live.
   Scoped to .cer inside the site shell (.zs). Shell tokens: --gar, --kelp, --kelp70, --tint, --ease, --font-head, --font-body,
   --gutter, --nav-h. New token: --sb3 (red), used only for the SB3 layer and SB3 mentions.
   Version 1 (.cer--v1): a dark showroom; a live 3D car tells the story as you scroll.
   Version 2 (.cer--v2): white editorial; rendered stills of the same 3D car, standing up on the page. */

.cer{ --sb3:#D3172F; --tint2:#E4EAEA; --r-lg:26px; --sec:110px; letter-spacing:-.02em; }
@media (min-width:992px){ .cer{ --sec:160px; --r-lg:30px; } }
.cer [hidden]{ display:none !important; }
.cer .dot{ color:var(--gar); }
.cer .red{ color:var(--sb3); }
.cer svg.ic{ width:20px; height:20px; flex:none; }
.cer svg.g{ width:18px; height:18px; flex:none; }
.cer-h2{ font:italic 600 clamp(42px, 11.5vw, 104px)/.95 var(--font-head); letter-spacing:-.04em; text-wrap:balance; }
.cer-lead{ margin-top:18px; max-width:40ch; font:400 18px/1.55 var(--font-body); color:var(--kelp70); }
.cer-sec{ padding-top:var(--sec); }

/* buttons */
.cer-btn{ display:inline-flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:0 8px 0 26px; border-radius:999px;
  font:600 17px/1 var(--font-body); letter-spacing:-.01em; white-space:nowrap; transition:transform .35s var(--ease), background-color .25s var(--ease); -webkit-tap-highlight-color:transparent; }
.cer-btn i{ display:grid; place-items:center; width:42px; height:42px; border-radius:50%; }
.cer-btn:active{ transform:scale(.98); }
.cer-btn--quote{ background:var(--gar); color:var(--kelp); }
.cer-btn--quote i{ background:var(--kelp); color:#fff; }
.cer-btn--quote:hover{ background:#EC8636; }
.cer-btn--quote:focus-visible{ outline-color:var(--kelp); }
.cer-btn--ghost{ background:rgba(255,255,255,.12); color:#fff; padding-right:24px; }
.cer-btn--light{ background:var(--tint); color:var(--kelp); }
.cer-btn--light i{ background:#fff; }
.cer-ctas{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.cer-pill{ display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:0 6px 0 18px; border-radius:999px; background:var(--tint);
  font:650 15px/1 var(--font-body); color:var(--kelp); }
.cer-pill i{ display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#fff; }
.cer-proof{ display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 14px 0 12px; border-radius:999px; background:var(--tint);
  font:500 14px/1 var(--font-body); color:var(--kelp); }
.cer-proof b{ font-weight:700; }

/* ========== Version 1 · the showroom ========== */
.cer-stage{ position:relative; height:900vh; background:var(--kelp); color:#fff; }
.cer-pin{ position:sticky; top:var(--nav-h); height:calc(100vh - var(--nav-h)); height:calc(100svh - var(--nav-h)); overflow:hidden; }
.cer-canvas, .cer-poster{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.cer-poster{ object-fit:cover; transition:opacity .9s var(--ease); }
.cer.is-3d .cer-poster{ opacity:0; }
.cer-hero{ position:absolute; z-index:4; left:0; right:0; top:0; padding:22px max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  opacity:var(--hero, 1); transform:translateY(calc((1 - var(--hero, 1)) * -24px)); }
.cer-hero .cer-proof{ background:rgba(255,255,255,.1); color:#fff; }
.cer-h1{ margin-top:18px; font:italic 600 clamp(48px, 13vw, 112px)/.92 var(--font-head); letter-spacing:-.045em; text-wrap:balance; max-width:10ch; }
.cer-sub{ margin-top:16px; font:400 18px/1.5 var(--font-body); color:rgba(255,255,255,.78); max-width:34ch; }
.cer-hero .cer-btn--quote:focus-visible{ outline-color:#fff; }
.cer-caps{ position:absolute; z-index:4; left:0; right:0; bottom:0; height:46%; pointer-events:none; }
.cer-cap{ position:absolute; left:max(var(--gutter), env(safe-area-inset-left, 0px)); right:max(var(--gutter), env(safe-area-inset-right, 0px)); bottom:calc(30px + env(safe-area-inset-bottom, 0px));
  opacity:0; transform:translateY(18px); transition:opacity .55s var(--ease), transform .8s var(--ease); }
.cer-cap.is-on{ opacity:1; transform:none; pointer-events:auto; }
.cer-cap__n{ font:italic 600 18px/1 var(--font-head); color:var(--gar); }
.cer-cap__k{ margin-top:6px; font:italic 600 clamp(44px, 12vw, 96px)/.95 var(--font-head); letter-spacing:-.04em; text-wrap:balance; max-width:13ch; }
.cer-cap__t{ margin-top:12px; max-width:34ch; font:400 17px/1.5 var(--font-body); color:rgba(255,255,255,.82); }
.cer-cap .cer-btn{ margin-top:20px; }
.cer-labels{ position:absolute; inset:0; z-index:3; pointer-events:none; opacity:var(--labels, 0); transition:opacity .4s var(--ease); }
.cer-label{ position:absolute; left:0; top:0; display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:0 14px 0 8px; border-radius:999px;
  background:rgba(255,255,255,.12); color:#fff; font:600 14px/1 var(--font-body); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transform:translate(-50%, calc(-100% - 14px)); transition:background-color .35s var(--ease), color .35s var(--ease); white-space:nowrap; }
.cer-label i{ display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.14); }
.cer-label svg.ic{ width:15px; height:15px; }
.cer-label::after{ content:""; position:absolute; left:50%; top:calc(100% + 8px); width:8px; height:8px; margin-left:-4px; border-radius:50%; background:currentColor; box-shadow:0 0 0 5px rgba(255,255,255,.12); }
.cer-label.is-on{ background:var(--gar); color:var(--kelp); }
.cer-label.is-on i{ background:rgba(18,38,43,.12); }
.cer-label.is-on::after{ background:var(--gar); box-shadow:0 0 0 6px rgba(226,115,24,.28); }
@media (max-width:767px){ .cer-label:not(.is-on){ opacity:0; } }
.cer-sun{ position:absolute; z-index:2; right:-18vmax; top:-22vmax; width:60vmax; height:60vmax; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(255,214,150,.42), rgba(255,214,150,0)); opacity:var(--sun, 0); }
.cer-load{ position:absolute; z-index:4; right:16px; top:16px; display:inline-flex; align-items:center; gap:8px; min-height:30px; padding:0 12px; border-radius:999px;
  background:rgba(255,255,255,.1); font:500 12px/1 var(--font-body); color:rgba(255,255,255,.75); }
.cer.is-3d .cer-load{ display:none; }
@media (min-width:992px){
  .cer-stage{ height:820vh; }
  .cer-hero{ padding-top:40px; }
  .cer-caps{ height:auto; top:0; }
  .cer-cap{ top:auto; bottom:9vh; right:auto; max-width:520px; }
  .cer-cap__t{ font-size:19px; }
}

/* ========== Version 2 · the car stands up ========== */
.cer2-hero{ padding:22px 0 0; }
.cer2-hero .cer-h1{ color:var(--kelp); }
.cer2-hero .cer-sub{ color:var(--kelp70); }
.cer2-hero__car{ display:block; width:calc(100% + 24px); max-width:none; height:auto; margin:22px -12px 0; }
@media (min-width:992px){
  .cer2-hero .zs-wrap{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.25fr); gap:40px; align-items:center; }
  .cer2-hero__car{ width:100%; margin:0; }
}
.cer2-story{ position:relative; height:820vh; background:#fff; }
.cer2-pin{ position:sticky; top:var(--nav-h); height:calc(100vh - var(--nav-h)); height:calc(100svh - var(--nav-h)); overflow:hidden; }
.cer2-car{ --len:min(74vh, 74svh, 660px); position:absolute; left:var(--cx, 50%); top:50%; width:var(--len); aspect-ratio:1886/664;
  transform:translate(-50%, -50%) rotate(calc(var(--rot, 0) * -90deg)); will-change:transform; }
.cer2-car img{ position:absolute; inset:0; width:100%; height:100%; display:block; opacity:0; transition:opacity .8s var(--ease); }
.cer2-car img.is-on{ opacity:1; }
.cer2-car .cer2-sb3{ opacity:1; transition:none; clip-path:inset(0 0 0 calc((1 - var(--pour, 0)) * 100%)); }   /* the nose is on the right of the still */
.cer2-glow{ position:absolute; top:-6%; bottom:-6%; left:calc((1 - var(--pour, 0)) * 100%); width:9%; margin-left:-4.5%; border-radius:999px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(211,23,47,.55), rgba(211,23,47,0)); filter:blur(6px); opacity:var(--glow, 0); }
.cer2-beads{ position:absolute; inset:0; pointer-events:none; }
.cer2-splat{ position:absolute; width:7%; height:auto; opacity:0; transform:scale(.6); transition:opacity .5s var(--ease), transform .6s var(--ease); pointer-events:none; }
.cer2-splat.is-on{ opacity:1; transform:none; }
.cer2-beads i{ position:absolute; width:1.5%; aspect-ratio:1; border-radius:50%; background:rgba(255,255,255,.92); box-shadow:inset -1px -2px 3px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25); opacity:0; }
.cer2.is-beading .cer2-beads i{ animation:cer-bead 2.6s var(--ease) forwards; animation-delay:calc(var(--d) * 90ms); }
@keyframes cer-bead{ 0%{ opacity:0; transform:translateY(-140%) scale(.6); } 18%{ opacity:1; transform:none; } 62%{ opacity:1; transform:none; } 100%{ opacity:0; transform:translateY(420%) scale(.8); } }
.cer2-chaps{ position:absolute; z-index:2; left:max(var(--gutter), env(safe-area-inset-left, 0px)); top:0; bottom:0; width:calc(52% - var(--gutter)); }
.cer2-chap{ position:absolute; left:0; right:0; top:50%; transform:translateY(calc(-50% + 18px)); opacity:0; transition:opacity .55s var(--ease), transform .8s var(--ease); }
.cer2-chap.is-on{ opacity:1; transform:translateY(-50%); }
.cer2-chap__n{ font:italic 600 22px/1 var(--font-head); color:var(--gar); }
.cer2-chap__k{ margin-top:8px; font:italic 600 clamp(36px, 10.4vw, 92px)/.95 var(--font-head); letter-spacing:-.04em; text-wrap:balance; }
.cer2-chap__t{ margin-top:12px; font:400 15.5px/1.5 var(--font-body); color:var(--kelp70); max-width:30ch; }
.cer2-chap .cer-btn{ margin-top:18px; min-height:52px; font-size:16px; }
@media (min-width:992px){
  .cer2-story{ height:720vh; }
  .cer2-car{ --len:min(84vh, 84svh, 820px); }
  .cer2-chaps{ left:max(80px, calc((100vw - 1280px) / 2)); width:min(520px, 42vw); }
  .cer2-chap__t{ font-size:19px; }
}

/* ========== shared: what you get ========== */
.cer-get .cer-h2{ max-width:9ch; }
.cer-picker{ margin-top:30px; }
.cer-picker p{ font:650 13px/1 var(--font-body); letter-spacing:.1em; text-transform:uppercase; color:var(--kelp70); }
.cer-picker__row{ display:flex; gap:8px; margin:12px calc(-1 * var(--gutter)) 0; padding:0 var(--gutter) 4px; overflow-x:auto; scrollbar-width:none; }
.cer-picker__row::-webkit-scrollbar{ display:none; }
.cer-picker button{ flex:none; min-height:46px; padding:0 18px; border-radius:999px; background:var(--tint); font:600 15px/1 var(--font-body); color:var(--kelp);
  transition:background-color .25s var(--ease), color .25s var(--ease); }
.cer-picker button[aria-pressed="true"]{ background:var(--kelp); color:#fff; }
.cer-choices{ display:grid; gap:12px; margin-top:18px; }
.cer-choice{ position:relative; display:flex; flex-direction:column; gap:10px; padding:26px 24px 28px; border-radius:var(--r-lg); background:var(--tint); }
.cer-choice--pick{ background:var(--kelp); color:#fff; }
.cer-choice__tag{ align-self:flex-start; display:inline-flex; align-items:center; min-height:28px; padding:0 12px; border-radius:999px; background:var(--gar); color:var(--kelp); font:700 13px/1 var(--font-body); }
.cer-choice h3{ font:italic 600 34px/1 var(--font-head); letter-spacing:-.03em; }
.cer-choice__d{ font-size:16.5px; line-height:1.5; color:var(--kelp70); }
.cer-choice--pick .cer-choice__d{ color:rgba(255,255,255,.78); }
.cer-price{ display:flex; align-items:baseline; gap:8px; margin-top:6px; }
.cer-price small{ font:500 15px/1 var(--font-body); }
.cer-price b{ font:italic 600 54px/1 var(--font-head); letter-spacing:-.03em; transition:opacity .25s; }
.cer-price span{ font-size:14px; color:var(--kelp70); }
.cer-choice--pick .cer-price span{ color:rgba(255,255,255,.7); }
.cer-years{ display:flex; gap:6px; margin-top:6px; }
.cer-years i{ flex:1; height:10px; border-radius:999px; background:rgba(18,38,43,.1); }
.cer-years i.on{ background:var(--kelp); }
.cer-choice--pick .cer-years i{ background:rgba(255,255,255,.14); }
.cer-choice--pick .cer-years i.on{ background:var(--sb3); }
.cer-steps{ margin-top:var(--sec); }
.cer-steps h3, .cer-extras h3{ font:600 26px/1.15 var(--font-head); letter-spacing:-.02em; }
.cer-steps ol{ display:grid; gap:8px; margin-top:18px; counter-reset:none; }
.cer-steps li{ display:flex; align-items:center; gap:16px; min-height:64px; padding:10px 20px; border-radius:999px; background:var(--tint); font:500 16.5px/1.3 var(--font-body); }
.cer-steps li b{ flex:none; font:italic 600 22px/1 var(--font-head); color:var(--gar); width:30px; }
.cer-steps li.sb3{ background:var(--kelp); color:#fff; }
.cer-steps li.sb3 b{ color:var(--sb3); }
.cer-extras{ display:grid; gap:12px; margin-top:28px; }
.cer-extra{ padding:22px 22px 24px; border-radius:var(--r-lg); background:var(--tint); }
.cer-extra ul{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.cer-extra li{ display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 16px 0 8px; border-radius:999px; background:#fff; font:600 15px/1 var(--font-body); }
.cer-extra li i{ display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--tint); }
.cer-extra li b{ font-weight:700; color:var(--kelp70); }
.cer-extra p{ margin-top:10px; font-size:16px; line-height:1.5; color:var(--kelp70); }
.cer-extra .cer-pill{ margin-top:14px; background:#fff; }
.cer-ba{ margin:var(--sec) 0 0; }
.cer-ba img{ display:block; width:100%; height:auto; aspect-ratio:799/800; border-radius:var(--r-lg); background:var(--tint); }
.cer-ba figcaption{ margin-top:12px; font-size:14px; color:var(--kelp70); }
@media (min-width:992px){
  .cer-choices{ grid-template-columns:1fr 1fr; gap:20px; }
  .cer-choice{ padding:36px; min-height:360px; }
  .cer-choice h3{ font-size:44px; }
  .cer-price b{ font-size:76px; }
  .cer-steps ol{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .cer-extras{ grid-template-columns:1fr 1fr; gap:20px; }
  .cer-ba{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:40px; align-items:end; }
}

/* ========== shared: how we help ========== */
.cer-help__band{ margin-top:var(--sec); padding-block:80px 84px; background:var(--kelp); color:#fff; }
.cer-help__band .cer-h2{ max-width:12ch; }
.cer-help__band .cer-lead{ color:rgba(255,255,255,.8); }
.cer-bring{ display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.cer-bring li{ display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:0 20px 0 8px; border-radius:999px; background:rgba(255,255,255,.1); font:600 16px/1 var(--font-body); }
.cer-bring li i{ display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--gar); color:var(--kelp); }
@media (min-width:992px){ .cer-help__band{ padding-block:150px; } }

/* questions */
.cer-faq{ display:grid; gap:10px; margin-top:30px; }
.cer-q{ border-radius:22px; background:var(--tint); transition:background-color .3s var(--ease), box-shadow .3s var(--ease); }
.cer-q[open]{ background:#fff; box-shadow:0 14px 44px -16px rgba(18,38,43,.28); }
.cer-q summary{ display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:68px; padding:12px 12px 12px 20px; list-style:none;
  font:600 18px/1.3 var(--font-body); cursor:pointer; -webkit-tap-highlight-color:transparent; }
.cer-q summary::-webkit-details-marker{ display:none; }
.cer-q summary:focus-visible{ outline:3px solid var(--kelp); outline-offset:2px; border-radius:22px; }
.cer-q summary i{ flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#fff; }
.cer-q[open] summary i{ background:var(--kelp); color:#fff; }
.cer-q summary .m, .cer-q[open] summary .p{ display:none; }
.cer-q[open] summary .m{ display:block; }
.cer-q__a{ padding:0 20px 22px; font-size:17px; line-height:1.55; }
.cer-q__a .cer-pill{ margin-top:14px; }
.cer-q__a .tbc{ display:inline-flex; align-items:center; min-height:28px; padding:0 12px; border-radius:999px; background:#FFF1E4; font:600 13px/1 var(--font-body); }
@media (min-width:992px){
  .cer-faq-wrap{ display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:72px; align-items:start; }
  .cer-faq{ margin-top:0; }
}
.cer-end{ height:var(--sec); }

/* entrances, once */
.cer.is-live [data-rise]{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .9s var(--ease); transition-delay:calc(var(--d, 0) * 90ms); }
.cer.is-live [data-rise].is-in{ opacity:1; transform:none; }

/* motion off: every chapter shows as a plain stack, the car rests in its finished state */
.cer.is-static .cer-stage, .cer.is-static .cer2-story{ height:auto; }
.cer.is-static .cer-pin, .cer.is-static .cer2-pin{ position:relative; top:0; height:auto; overflow:visible; }
.cer.is-static .cer-canvas, .cer.is-static .cer-labels, .cer.is-static .cer-sun, .cer.is-static .cer-load{ display:none; }
.cer.is-static .cer-poster{ position:relative; height:auto; aspect-ratio:16/9; opacity:1; }
.cer.is-static .cer-hero, .cer.is-static .cer-caps, .cer.is-static .cer-cap, .cer.is-static .cer2-chaps, .cer.is-static .cer2-chap{ position:relative; inset:auto; transform:none; opacity:1; height:auto; width:auto; }
.cer.is-static .cer-cap, .cer.is-static .cer2-chap{ padding:28px 0; }
.cer.is-static .cer2-car{ position:relative; left:auto; top:auto; transform:none; width:100%; margin:20px 0; }
.cer.is-static .cer2-car img{ display:none; }
.cer.is-static .cer2-car .cer2-sb3{ display:block; clip-path:none; }
@media (prefers-reduced-motion:reduce){ .cer.is-live [data-rise]{ opacity:1; transform:none; transition:none; } }

/* ========== round 3b (Nov 18, after Brandon's notes) ========== */
/* the nav stays solid white over the dark stage (no grey wash, no shadow) */
.zs:has(.cer--v1) .zs-nav{ background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
.cer--v1{ --sb3-deep:#8f0d1f; }
.cer--v1 .cer-canvas{ z-index:1; }
/* SB3 floods the stage red, outward from the car */
.cer-red{ position:absolute; inset:0; z-index:0; background:var(--sb3-deep); clip-path:circle(var(--rr, 0vmax) at var(--rx, 60%) var(--ry, 55%)); pointer-events:none; }
/* before the 3D car loads, its picture waits where the car will be */
.cer--v1 .cer-poster{ position:absolute; inset:auto 5% 7% 5%; width:90%; height:auto; object-fit:contain; z-index:1; }
.cer-cap[data-cap="sb3"] .dot, .cer-cap[data-cap="final"] .dot{ color:#fff; }
.cer-cap[data-cap="final"] .cer-btn--quote{ background:#fff; color:var(--kelp); }
.cer-cap[data-cap="final"] .cer-btn--quote i{ background:var(--kelp); color:#fff; }
@media (min-width:900px) and (min-aspect-ratio:6/5){
  /* round 3e: a smaller headline and a bigger car, so the two feel the same size on big screens */
  .cer--v1 .cer-hero{ top:50%; transform:translateY(calc(-50% + (1 - var(--hero, 1)) * -24px)); padding-top:0; max-width:max(38%, 470px); }
  .cer--v1 .cer-h1{ font-size:clamp(52px, 4.9vw, 96px); max-width:none; }
  .cer--v1 .cer-caps{ inset:0; height:auto; }
  .cer--v1 .cer-cap{ top:50%; bottom:auto; right:auto; max-width:min(40vw, 660px); transform:translateY(calc(-50% + 18px)); }
  .cer--v1 .cer-cap.is-on{ transform:translateY(-50%); }
  .cer--v1 .cer-cap__k{ font-size:clamp(44px, 4.5vw, 84px); }
  .cer--v1 .cer-poster{ inset:auto 3% auto 41%; top:50%; width:56%; transform:translateY(-50%); }
}

/* pricing: two options side by side, every size in view, what's included inside */
.cer-vs{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:28px; }
.cer-opt{ position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:20px 18px 22px; border-radius:var(--r-lg); background:var(--tint);
  text-align:left; color:var(--kelp); transition:background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); -webkit-tap-highlight-color:transparent; }
.cer-opt:active{ transform:scale(.98); }
.cer-opt[aria-checked="true"]{ background:var(--kelp); color:#fff; }
.cer-opt:focus-visible{ outline:3px solid var(--kelp); outline-offset:3px; }
.cer-opt__tag{ position:absolute; top:14px; right:14px; display:inline-flex; align-items:center; min-height:26px; padding:0 10px; border-radius:999px; background:var(--gar); color:var(--kelp); font:700 12px/1 var(--font-body); }
.cer-opt__y{ font:italic 600 clamp(84px, 24vw, 168px)/.85 var(--font-head); letter-spacing:-.05em; margin-top:6px; }
.cer-opt__u{ font:600 14px/1.25 var(--font-body); opacity:.8; }
.cer-opt__p{ margin-top:12px; font:500 15px/1.2 var(--font-body); }
.cer-opt__p b{ display:block; font:italic 600 30px/1.05 var(--font-head); letter-spacing:-.02em; }
.cer-table{ width:100%; margin-top:18px; border-collapse:separate; border-spacing:0 6px; font:500 16px/1.2 var(--font-body); }
.cer-table thead th{ padding:4px 14px; font:650 12px/1 var(--font-body); letter-spacing:.1em; text-transform:uppercase; color:var(--kelp70); text-align:left; }
.cer-table tbody th, .cer-table td{ padding:15px 14px; background:var(--tint); text-align:left; }
.cer-table tbody th{ border-radius:999px 0 0 999px; font-weight:600; }
.cer-table td:last-child{ border-radius:0 999px 999px 0; }
.cer-table td{ font-variant-numeric:tabular-nums; transition:background-color .3s var(--ease), color .3s var(--ease); }
.cer-table[data-pick="0"] td[data-col="0"], .cer-table[data-pick="1"] td[data-col="1"]{ background:var(--kelp); color:#fff; font-weight:700; }
.cer-table[data-pick="0"] thead th[data-col="0"], .cer-table[data-pick="1"] thead th[data-col="1"]{ color:var(--kelp); }
.cer-incl{ margin-top:26px; }
.cer-incl p{ font:650 12px/1 var(--font-body); letter-spacing:.1em; text-transform:uppercase; color:var(--kelp70); }
.cer-incl ol{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.cer-incl li{ display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 16px 0 12px; border-radius:999px; background:var(--tint); font:600 14.5px/1 var(--font-body); }
.cer-incl li b{ font:italic 600 16px/1 var(--font-head); color:var(--gar); }
.cer-extra-line{ margin-top:18px; max-width:48ch; font-size:16px; line-height:1.5; color:var(--kelp70); }
.cer-bring-line{ display:flex; align-items:center; gap:14px; margin-top:24px; padding:16px 18px; border-radius:var(--r-lg); background:var(--tint); font-size:15.5px; line-height:1.45; max-width:640px; }
.cer-bring-line i{ flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--gar); color:var(--kelp); }
.cer-bring-line b{ font-weight:700; }
@media (min-width:992px){
  .cer-vs{ max-width:880px; gap:20px; margin-top:48px; }
  .cer-opt{ padding:30px 30px 32px; }
  .cer-table{ max-width:880px; }
}
.cer.is-static .cer-red{ display:none; }
.cer.is-static .cer--v1 .cer-poster, .cer.is-static .cer-poster{ position:relative; inset:auto; transform:none; width:100%; }
.cer-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.cer-incl ol{ padding:0; margin-left:0; list-style:none; }

/* captions: the old one leaves quickly, the new one arrives just after (no overlap) */
.cer-cap{ transition:opacity .18s ease, transform .3s ease; }
.cer-cap.is-on{ transition:opacity .45s var(--ease) .16s, transform .7s var(--ease) .16s; }

/* ========== Nov 19 redesign · the light studio (.cer--light) ==========
   A pale, slightly cool studio instead of the full Kelp stage: Kelp type, the white car grounded by its contact shadow and a
   soft floor pool. Colour comes in only with the hazard it explains (warm sun, grey rain, road haze), then SB3 floods it red,
   exactly as on the live page. The story is longer only where it was rushed: the stage height comes from --run (screens),
   which src/story.js sets from its timeline. */
.cer--light .cer-stage{ height:calc((100vh - var(--nav-h)) * (1 + var(--run, 11.4))); height:calc((100svh - var(--nav-h)) * (1 + var(--run, 11.4)));
  background:#EEF2F2; color:var(--kelp); }
.cer--light .cer-pin{ background:radial-gradient(85% 55% at 62% 100%, #E1E8E8 0%, rgba(225,232,232,0) 72%), linear-gradient(180deg, #F8FAFA 0%, #EFF3F3 56%, #E7EDED 100%); }
.cer-tint, .cer-tint i{ position:absolute; inset:0; pointer-events:none; }
.cer-tint{ z-index:0; }
.cer-tint .t-sun{ opacity:var(--t-sun, 0); background:radial-gradient(60vmax 60vmax at var(--sx, 70%) var(--sy, 15%), rgba(255,190,100,.36), rgba(255,206,140,.14) 42%, rgba(255,214,160,0) 72%),
  linear-gradient(180deg, rgba(252,232,198,.5), rgba(250,228,194,.16)); }
.cer-tint .t-rain{ opacity:var(--t-rain, 0); background:linear-gradient(180deg, rgba(170,189,198,.55), rgba(200,213,219,.34) 60%, rgba(212,222,226,.22)); }
.cer-tint .t-dust{ opacity:var(--t-dust, 0); background:linear-gradient(180deg, rgba(234,224,204,.22), rgba(212,192,158,.44)); }
.cer--light .cer-hero .cer-proof{ background:#fff; color:var(--kelp); }
.cer--light .cer-sub{ color:var(--kelp70); }
.cer--light .cer-btn--ghost{ background:#fff; color:var(--kelp); }
.cer--light .cer-hero .cer-btn--quote:focus-visible{ outline-color:var(--kelp); }
.cer--light .cer-cap__n{ color:var(--kelp70); }
.cer--light .cer-cap__t{ color:var(--kelp70); }
.cer--light .cer-cap[data-cap="sb3"], .cer--light .cer-cap[data-cap="final"]{ color:#fff; }
.cer--light .cer-cap[data-cap="sb3"] .cer-cap__t, .cer--light .cer-cap[data-cap="final"] .cer-cap__t{ color:rgba(255,255,255,.86); }
/* one label at a time, solid Garibaldi with Kelp type, pointing at the result on the paint */
.cer--light .cer-label{ background:var(--gar); color:var(--kelp); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:0 8px 22px rgba(18,38,43,.14);
  transition:opacity .4s var(--ease); }
.cer--light .cer-label:not(.is-on){ opacity:0; }
.cer--light .cer-label i{ background:rgba(18,38,43,.12); }
.cer--light .cer-label::after{ background:var(--gar); box-shadow:0 0 0 6px rgba(226,115,24,.24); }
.cer--light .cer-label[data-label="dust"]{ transform:translate(-50%, 22px); }
.cer--light .cer-label[data-label="dust"]::after{ top:auto; bottom:calc(100% + 8px); }
.cer--light .cer-load{ background:#fff; color:var(--kelp70); }
.cer.is-static .cer-tint{ display:none; }
.cer--light.is-static .cer-stage{ background:#EEF2F2; }

/* Release correction: readable light-studio fallback when motion/WebGL is unavailable.
   Static-only selectors preserve the approved animated red-stage treatment. */
.cer--light.is-static .cer-cap[data-cap="sb3"],
.cer--light.is-static .cer-cap[data-cap="final"]{ color:var(--kelp); }
.cer--light.is-static .cer-cap[data-cap="sb3"] .cer-cap__t,
.cer--light.is-static .cer-cap[data-cap="final"] .cer-cap__t{ color:var(--kelp70); }
.cer--light.is-static .cer-cap[data-cap="sb3"] .dot,
.cer--light.is-static .cer-cap[data-cap="final"] .dot{ color:var(--gar); }
.cer--light.is-static .cer-cap[data-cap="final"] .cer-btn--quote{ background:var(--gar); color:var(--kelp); }
.cer--light.is-static .cer-cap[data-cap="final"] .cer-btn--quote:hover{ background:#EC8636; }
.cer--light.is-static .cer-cap[data-cap="final"] .cer-btn--quote:focus-visible{ outline-color:var(--kelp); }
.cer--light.is-static .cer-caps{ pointer-events:auto; }
