/* =============================================================
   Work Pulse Engine — craft layer
   Loaded last. Refines rhythm, typography, surfaces and motion.
   Uses the site's own palette tokens (--bk --gn --cr --sd --ln),
   so the dark and light themes keep working untouched.
   No third-party dependencies: the strict CSP stays intact.
   ============================================================= */

/* ---------- 1. Tokens ---------------------------------------- */
:root{
  /* accent already used by the brand glow */
  --ac:#3FE08A;
  --ac-rgb:63,224,138;
  --gn-rgb:33,76,49;

  /* raised surfaces, derived so both themes follow */
  --surface:rgba(var(--cr-rgb),0.04);
  --surface-2:rgba(var(--cr-rgb),0.07);
  --hair:rgba(var(--cr-rgb),0.16);
  --hair-strong:rgba(var(--cr-rgb),0.3);
  --mut:rgba(var(--cr-rgb),0.68);

  /* typography */
  --step--1:clamp(.84rem,.80rem + .18vw,.94rem);
  --step-0:clamp(1rem,.96rem + .22vw,1.12rem);
  --step-1:clamp(1.14rem,1.06rem + .38vw,1.35rem);
  --step-2:clamp(1.3rem,1.14rem + .72vw,1.75rem);
  --step-3:clamp(1.55rem,1.24rem + 1.42vw,2.45rem);
  --step-4:clamp(1.95rem,1.38rem + 2.6vw,3.6rem);
  --step-5:clamp(2.3rem,1.42rem + 4vw,4.6rem);

  /* spacing scale */
  --sp-1:.5rem; --sp-2:.875rem; --sp-3:1.25rem; --sp-4:2rem;
  --sp-5:clamp(2.5rem,5vw,4rem);
  --sp-6:clamp(3.5rem,8vw,7rem);
  --sp-7:clamp(5rem,11vw,10rem);

  /* motion */
  --e-out:cubic-bezier(.22,1,.36,1);
  --e-soft:cubic-bezier(.4,0,.2,1);
  --e-spring:cubic-bezier(.34,1.42,.5,1);
  --t-fast:.18s; --t-mid:.38s; --t-slow:.72s;

  --r-sm:8px; --r-md:14px; --r-lg:22px; --r-xl:30px;
  --shadow-1:0 1px 2px rgba(0,0,0,.28), 0 6px 18px rgba(0,0,0,.22);
  --shadow-2:0 2px 4px rgba(0,0,0,.3), 0 18px 48px rgba(0,0,0,.34);
  --maxw:74rem;
}

/* ---------- 2. Global polish --------------------------------- */
html{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body{
  font-size:var(--step-0);
  line-height:1.62;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  letter-spacing:-.003em;
}
::selection{ background:var(--ac); color:#07140C; }
h1,h2,h3,h4{ text-wrap:balance; }
p,li{ text-wrap:pretty; }
h1{ font-size:var(--step-5); line-height:1.03; letter-spacing:-.028em; }
h2{ font-size:var(--step-4); line-height:1.06; letter-spacing:-.022em; }
h3{ font-size:var(--step-1); line-height:1.25; letter-spacing:-.012em; }
.lead{ font-size:var(--step-1); line-height:1.5; color:var(--mut); }
small,.note{ font-size:var(--step--1); line-height:1.55; }
b,strong{ font-weight:600; }
:where(table,.price,.fn,.tn,time,[data-num]){ font-variant-numeric:tabular-nums; }

/* focus: visible, on-brand, never clipped */
:focus-visible{
  outline:2px solid var(--ac);
  outline-offset:3px;
  border-radius:4px;
}
.on-cr :focus-visible,.s.cr :focus-visible{ outline-color:var(--gn); }

/* a quieter scrollbar that matches the paper */
@supports (scrollbar-color: auto){
  html{ scrollbar-color:var(--hair-strong) transparent; scrollbar-width:thin; }
}

.wrap{ max-width:var(--maxw); }

/* ---------- 3. Section rhythm -------------------------------- */
/* The old rule forced every home section to a full viewport, which
   left big empty bands. Sections now breathe to their content. */
body.home main>section,
body.home main>section.hero{ min-height:0; display:block; }
section.s{ padding:var(--sp-6) 0; }
body.home main>section{ padding:var(--sp-6) 0; }
body.home main>section.hero{ padding:0; display:flex; align-items:center; min-height:100svh; }
section.s+section.s{ border-top:1px solid transparent; }
.doc{ padding:var(--sp-5) 0 var(--sp-6); }

/* colour-band seams: a hairline + the dot veil, now calmer */
.s::before{ height:5rem; opacity:.5; }
html.js .s.in::before{ opacity:.5; }

/* vertical ratio inside sections */
.center-h,.split-h{ margin-bottom:var(--sp-4); }
.center-h{ max-width:46rem; margin-inline:auto; text-align:center; }
.center-h p{ margin-inline:auto; color:var(--mut); }
.split{ display:grid; gap:clamp(2rem,5vw,4.5rem); grid-template-columns:1fr; align-items:start; }
@media(min-width:920px){
  .split{ grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:clamp(3rem,6vw,6rem); }
  .split-h{ position:sticky; top:calc(var(--hdr-h,72px) + 2.5rem); margin-bottom:0; }
}

/* ---------- 4. Header ---------------------------------------- */
header.site{
  --hdr-h:72px;
  position:sticky; top:0; z-index:60;
  background:rgba(var(--bk-rgb),0.78);
  backdrop-filter:saturate(1.4) blur(14px);
  -webkit-backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid transparent;
  transition:background var(--t-mid) var(--e-soft), border-color var(--t-mid) var(--e-soft);
}
body.home header.site{ position:fixed; left:0; right:0; background:transparent; }
html.hdr-stuck header.site,
body.home.hdr-stuck header.site{
  background:rgba(var(--bk-rgb),0.86);
  border-bottom-color:var(--hair);
}
header.site .wrap{ padding-top:.75rem; padding-bottom:.75rem; gap:.5rem 1.5rem; }
.brand{ gap:.55rem; transition:opacity var(--t-fast) var(--e-soft); }
.brand:hover{ opacity:.82; }

/* inline brand mark (replaces the logo iframe) */
.brand .mark{ display:block; width:clamp(72px,7vw,86px); height:auto; overflow:visible; }
.brand .mark .pulse-line{
  fill:none; stroke:var(--cr); stroke-width:26;
  stroke-linejoin:round; stroke-linecap:round;
  stroke-dasharray:1; stroke-dashoffset:1;
}
.brand .mark .pulse-fill{ fill:var(--cr); opacity:0; }
html.js .brand .mark .pulse-line{ animation:markTrace 1.5s var(--e-out) .15s forwards; }
html.js .brand .mark .pulse-fill{ animation:markFill .6s var(--e-soft) 1.15s forwards; }
html.seen .brand .mark .pulse-line{ animation-duration:.9s; animation-delay:0s; }
html.seen .brand .mark .pulse-fill{ animation-delay:.55s; }
@keyframes markTrace{ to{ stroke-dashoffset:0; } }
@keyframes markFill{ from{opacity:0} to{ opacity:1; } }
.brand:hover .mark .pulse-fill{ animation:markBeat 1.1s var(--e-soft); }
@keyframes markBeat{ 0%,100%{opacity:1} 45%{opacity:.45} }

/* nav: a line that grows from the centre */
nav a{ position:relative; border-bottom:0!important; padding:.45rem .1rem; font-size:var(--step--1); letter-spacing:.005em; }
nav a:not(.nav-apply)::after{
  content:""; position:absolute; left:0; right:0; bottom:.15rem; height:1.5px;
  background:currentColor; transform:scaleX(0); transform-origin:50% 50%;
  transition:transform var(--t-mid) var(--e-out);
}
nav a:not(.nav-apply):hover::after,
nav a:not(.nav-apply):focus-visible::after,
nav a[aria-current=page]:not(.nav-apply)::after{ transform:scaleX(1); }
nav a[aria-current=page]{ color:var(--cr); }
nav a.nav-apply{
  border:1px solid var(--hair-strong); border-radius:99px; padding:.5rem 1.05rem;
  background:transparent;
  transition:background var(--t-mid) var(--e-soft), color var(--t-mid) var(--e-soft),
             border-color var(--t-mid) var(--e-soft), transform var(--t-fast) var(--e-out);
}
nav a.nav-apply:hover{ background:var(--sd); color:var(--on-sd); border-color:var(--sd); transform:none; box-shadow:none; }

/* mobile nav as a sheet */
@media(max-width:860px){
  header.site nav[data-collapsed=false]{
    position:fixed; inset:var(--hdr-h) 0 auto 0;
    background:rgba(var(--bk-rgb),0.97);
    backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid var(--hair);
    padding:1rem max(1.25rem,env(safe-area-inset-left,0px)) 1.6rem;
    animation:sheetIn .34s var(--e-out);
    max-height:calc(100svh - var(--hdr-h)); overflow:auto;
  }
  header.site nav[data-collapsed=false] ul{ flex-direction:column; align-items:stretch; gap:0; }
  header.site nav[data-collapsed=false] li{ border-bottom:1px solid var(--hair); }
  header.site nav[data-collapsed=false] li:last-child{ border:0; }
  header.site nav[data-collapsed=false] a{
    display:block; padding:.95rem .25rem; font-size:var(--step-1); font-family:var(--serif);
    opacity:0; transform:translateY(10px);
    animation:navItem .5s var(--e-out) forwards; animation-delay:calc(var(--n,0)*42ms + 60ms);
  }
  header.site nav[data-collapsed=false] a.nav-apply{ margin-top:.9rem; text-align:center; }
  @keyframes sheetIn{ from{ opacity:0; transform:translateY(-10px); } }
  @keyframes navItem{ to{ opacity:1; transform:none; } }
  .nav-toggle{ border-radius:99px!important; }
}

/* ---------- 5. Hero ------------------------------------------ */
.hero{
  background:
    radial-gradient(ellipse 62% 52% at 50% 108%, rgba(var(--gn-rgb),0.92) 0%, transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(var(--cr-rgb),0.05) 0%, transparent 60%),
    var(--bk);
}
.hero .wrap{ padding-top:clamp(7rem,14vh,10rem); padding-bottom:clamp(4rem,10vh,7rem); }
.hero h1{
  font-size:clamp(2.15rem,1.2rem + 4.3vw,4.15rem);
  line-height:1.02; max-width:17ch; letter-spacing:-.03em;
  text-shadow:0 2px 40px rgba(var(--bk-rgb),0.85);
}
.hero p.lead{
  font-size:clamp(1.02rem,.95rem + .5vw,1.3rem);
  max-width:46ch; color:rgba(var(--cr-rgb),0.86);
  text-shadow:0 1px 26px var(--bk), 0 0 50px var(--bk);
}
/* keep the halftone art from fighting the words */
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(ellipse 54% 44% at 50% 42%, rgba(var(--bk-rgb),0.72) 0%, transparent 70%);
}
#dotCanvas{ opacity:.55; mask-image:radial-gradient(ellipse 85% 80% at 50% 55%, #000 35%, transparent 86%);
  -webkit-mask-image:radial-gradient(ellipse 85% 80% at 50% 55%, #000 35%, transparent 86%); }
.status{
  border-color:var(--hair-strong);
  background:rgba(var(--bk-rgb),0.55);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  font-size:var(--step--1); letter-spacing:.02em;
  padding:.4rem .95rem;
}
.hero .status::before{
  content:""; display:inline-block; width:.45rem; height:.45rem; border-radius:50%;
  background:var(--ac); margin-right:.55rem; vertical-align:middle;
  box-shadow:0 0 0 0 rgba(var(--ac-rgb),.6);
  animation:beacon 2.4s var(--e-soft) infinite;
}
@keyframes beacon{
  0%{ box-shadow:0 0 0 0 rgba(var(--ac-rgb),.55); }
  70%{ box-shadow:0 0 0 9px rgba(var(--ac-rgb),0); }
  100%{ box-shadow:0 0 0 0 rgba(var(--ac-rgb),0); }
}
.hero .cta{ margin-top:2rem; gap:.7rem; }

/* scroll cue */
.scroll-cue{
  position:absolute; left:50%; bottom:clamp(1.2rem,4vh,2.4rem); translate:-50% 0;
  z-index:3; display:grid; place-items:center; gap:.5rem;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(var(--cr-rgb),0.55);
  text-decoration:none;
}
.scroll-cue i{ display:block; width:1px; height:2.2rem; background:linear-gradient(var(--cr),transparent); opacity:.7; }
.scroll-cue i::after{
  content:""; display:block; width:1px; height:.8rem; background:var(--ac);
  animation:cueRun 2.2s var(--e-soft) infinite;
}
@keyframes cueRun{ 0%{transform:translateY(-.8rem);opacity:0} 30%{opacity:1} 100%{transform:translateY(2.2rem);opacity:0} }

/* ---------- 6. Buttons --------------------------------------- */
.btn{
  border-radius:99px; padding:.82rem 1.5rem; min-height:48px;
  font-size:var(--step--1); font-weight:600; letter-spacing:.005em;
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  border-width:1px;
  will-change:transform;
  transition:transform var(--t-fast) var(--e-out), box-shadow var(--t-mid) var(--e-soft),
             background-color var(--t-mid) var(--e-soft), color var(--t-mid) var(--e-soft),
             border-color var(--t-mid) var(--e-soft);
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 10px 30px rgba(var(--ac-rgb),.22); }
.btn:active{ transform:translateY(0) scale(.985); }
.btn.alt{ border-color:var(--hair-strong); }
.btn.alt:hover{ border-color:var(--sd); }
.btn.btn-sm{ padding:.6rem 1.1rem; min-height:42px; }
/* the sheen travels once, quietly */
.btn::before{
  background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,0.42) 50%,transparent 70%);
  transition:transform .85s var(--e-soft);
}
.magnet{ transform:translate3d(var(--mx,0),var(--my,0),0); }
.magnet:hover{ transform:translate3d(var(--mx,0),calc(var(--my,0) - 2px),0); }

/* text links with a drawn underline */
.lk{
  position:relative; display:inline-flex; align-items:center; gap:.45rem;
  text-decoration:none; font-weight:600; font-size:var(--step--1);
  padding:.55rem 1.05rem; border:1px solid var(--hair-strong); border-radius:99px;
  transition:border-color var(--t-mid) var(--e-soft), background-color var(--t-mid) var(--e-soft),
             color var(--t-mid) var(--e-soft), gap var(--t-mid) var(--e-out);
}
.lk::after{ content:"→"; transition:transform var(--t-mid) var(--e-out); }
.lk:hover{ border-color:var(--sd); background:rgba(var(--cr-rgb),0.08); }
.lk:hover::after{ transform:translateX(3px); }
.linkrow.center{ justify-content:center; }

/* ---------- 7. Surfaces: cards, panels, lists ---------------- */
.card,.panel,.ba>div,.plan,.trio>div,.person,.legend>div{
  border-radius:var(--r-md);
  border-color:var(--hair);
  background:var(--surface);
  transition:transform var(--t-mid) var(--e-out), border-color var(--t-mid) var(--e-soft),
             box-shadow var(--t-mid) var(--e-soft), background-color var(--t-mid) var(--e-soft);
}
.card:hover,.ba>div:hover,.trio>div:hover,.legend>div:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--ac-rgb),0.45);
  box-shadow:var(--shadow-1);
}
.s.cr .card,.s.cr .panel,.s.cr .ba>div,.s.cr .trio>div{ background:rgba(var(--bk-rgb),0.05); }
.s.gn .card,.s.gn .panel,.s.gn .trio>div{ background:rgba(var(--cr-rgb),0.05); }

.panel{ padding:clamp(1.3rem,3vw,1.9rem); border:1px solid var(--hair); }
.panel h3{ margin-bottom:.9rem; }

/* icon tiles */
.ico{
  border-radius:12px; border-color:var(--hair);
  background:rgba(var(--cr-rgb),0.05);
  transition:transform var(--t-mid) var(--e-spring), border-color var(--t-mid) var(--e-soft),
             background-color var(--t-mid) var(--e-soft), color var(--t-mid) var(--e-soft);
}
li:hover>.ico,.card:hover .ico,.rows li:hover .ico{
  transform:translateY(-2px) rotate(-3deg);
  border-color:rgba(var(--ac-rgb),0.55);
  color:var(--ac);
}

/* the problem list: numbered editorial rows */
.rows{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.rows li{
  display:grid; grid-template-columns:auto 1fr; gap:1rem;
  align-items:start; padding:1.35rem 0;
  border-top:1px solid var(--hair);
  transition:background-color var(--t-mid) var(--e-soft), padding-left var(--t-mid) var(--e-out);
}
.rows li:last-child{ border-bottom:1px solid var(--hair); }
.rows li:hover{ padding-left:.6rem; }
.rows li .ico{ margin:0; width:42px; height:42px; }
.rows h3{ margin:0 0 .3rem; font-size:var(--step-1); }
.rows p{ margin:0; color:var(--mut); font-size:var(--step--1); }

/* the 'big' difference list */
.big{ list-style:none; margin:0; padding:0; display:grid; gap:0; counter-reset:bg; }
.big li{
  counter-increment:bg; padding:1.5rem 0; border-top:1px solid var(--ln);
  display:grid; grid-template-columns:auto 1fr; gap:1.1rem; align-items:baseline;
}
.big li:last-child{ border-bottom:1px solid var(--ln); }
.big li::before{
  content:counter(bg,decimal-leading-zero);
  font:600 var(--step--1)/1 var(--sans); opacity:.5; letter-spacing:.06em;
}
.big h3{ margin:0 0 .25rem; }
.big p{ margin:0; opacity:.82; }

/* chip lists */
.chipl{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.5rem; }
.chipl li{
  display:inline-flex; align-items:center; gap:.45rem;
  border:1px solid var(--hair); border-radius:99px;
  padding:.42rem .9rem; font-size:var(--step--1); margin:0;
  background:rgba(var(--cr-rgb),0.04);
  transition:transform var(--t-fast) var(--e-out), border-color var(--t-mid) var(--e-soft);
}
.chipl li:hover{ transform:translateY(-2px); border-color:var(--hair-strong); }
.chipl li::before{
  content:""; width:.42rem; height:.42rem; border-radius:50%; flex:none;
  background:currentColor; opacity:.55;
}
.chipl li.no::before{ background:#E0634F; opacity:1; }
.chipl li.may::before{ background:var(--sd); opacity:1; }
.chipl li.inf::before{ background:var(--ac); opacity:1; }

/* trio / two / tiles grids */
.trio{ display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.trio>div{ padding:clamp(1.2rem,2.6vw,1.6rem); border:1px solid var(--hair); }
.trio h3{ font-size:var(--step-0); letter-spacing:.04em; text-transform:uppercase;
  font-family:var(--sans); font-weight:600; opacity:.72; margin-bottom:.9rem; }
.two{ display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); }

/* pull quote */
.pull{
  margin:var(--sp-5) 0 0; padding:0 0 0 clamp(1rem,3vw,2rem);
  border-left:2px solid var(--ac);
  font-family:var(--serif); font-size:var(--step-2); line-height:1.3;
  letter-spacing:-.015em; max-width:34ch;
}

/* callouts */
.callout{ border-radius:var(--r-md); border:1px solid var(--hair); padding:clamp(1.2rem,3vw,1.8rem); }
.callout.peak{
  border-color:rgba(var(--ac-rgb),0.5);
  background:
    radial-gradient(ellipse 80% 160% at 50% 0%, rgba(var(--ac-rgb),.1), transparent 70%),
    rgba(var(--cr-rgb),0.03);
}

/* ---------- 8. Tables ---------------------------------------- */
.table-scroll{ border:1px solid var(--hair); border-radius:var(--r-md); overflow:auto; -webkit-overflow-scrolling:touch; }
table.cmp{ border-collapse:collapse; width:100%; min-width:30rem; }
table.cmp th,table.cmp td{ padding:.95rem 1.1rem; text-align:left; vertical-align:top; border:0; border-bottom:1px solid var(--hair); }
table.cmp thead th{
  font:600 var(--step--1)/1.4 var(--sans); letter-spacing:.07em; text-transform:uppercase;
  opacity:.65; background:rgba(var(--cr-rgb),0.05);
  position:sticky; top:0; backdrop-filter:blur(6px);
}
table.cmp tbody tr{ transition:background-color var(--t-fast) var(--e-soft); }
table.cmp tbody tr:hover{ background:rgba(var(--cr-rgb),0.05); }
table.cmp tbody tr:last-child th,table.cmp tbody tr:last-child td{ border-bottom:0; }
table.cmp tbody th[scope=row]{ font-family:var(--serif); font-weight:600; font-size:var(--step-0); }
.qtable tbody td{ color:var(--mut); }

/* ---------- 9. Tabs ------------------------------------------ */
.tabs{ margin-top:var(--sp-4); }
.tablist{
  position:relative; display:flex; flex-wrap:wrap; gap:.4rem;
  border-bottom:1px solid var(--hair); padding-bottom:.65rem; margin-bottom:1.6rem;
}
.tablist::after{
  content:""; position:absolute; left:0; bottom:-1px; height:2px; width:var(--tw,0);
  transform:translateX(var(--tx,0)); background:var(--ac);
  transition:transform var(--t-mid) var(--e-out), width var(--t-mid) var(--e-out);
  opacity:var(--to,0); border-radius:2px;
}
.tablist [role=tab]{
  appearance:none; background:transparent; border:1px solid transparent; color:inherit;
  font:600 var(--step--1) var(--sans); cursor:pointer;
  padding:.6rem 1rem; border-radius:99px; min-height:44px;
  display:inline-flex; align-items:center; gap:.55rem;
  opacity:.62;
  transition:opacity var(--t-mid) var(--e-soft), background-color var(--t-mid) var(--e-soft),
             border-color var(--t-mid) var(--e-soft);
}
.tablist [role=tab]:hover{ opacity:.9; background:rgba(var(--cr-rgb),0.06); }
.tablist [role=tab][aria-selected=true]{ opacity:1; border-color:var(--hair); background:rgba(var(--cr-rgb),0.07); }
.tablist .tn{
  display:grid; place-items:center; width:1.55rem; height:1.55rem; flex:none;
  border:1px solid currentColor; border-radius:50%; font-size:.72rem; opacity:.75;
}
.tablist [role=tab][aria-selected=true] .tn{ background:var(--ac); border-color:var(--ac); color:#07140C; opacity:1; }
.tablist .ico{ width:28px; height:28px; border:0; background:none; margin:0; }
.tablist .ico .ic{ width:18px; height:18px; }
.tpanels{ position:relative; }
.tp{ display:none; }
.tp.on{ display:block; animation:tpIn .42s var(--e-out); }
@keyframes tpIn{ from{ opacity:0; transform:translateY(8px); } }
.tp h3{ margin-bottom:.5rem; }
.tp p{ color:var(--mut); max-width:58ch; }

/* ---------- 10. Accordion ------------------------------------ */
details{ border-top:1px solid var(--hair); padding:0; }
details:last-of-type{ border-bottom:1px solid var(--hair); }
summary{
  padding:1.15rem 2.4rem 1.15rem 0; position:relative; list-style:none;
  font-size:var(--step-1); transition:color var(--t-fast) var(--e-soft);
}
summary::-webkit-details-marker{ display:none; }
summary::after{
  content:""; position:absolute; right:.35rem; top:50%; width:11px; height:11px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  translate:0 -70%; rotate:45deg; opacity:.6;
  transition:rotate var(--t-mid) var(--e-out), opacity var(--t-fast) var(--e-soft);
}
details[open] summary::after{ rotate:-135deg; translate:0 -20%; opacity:1; }
summary:hover{ color:var(--ac); }
details p{ margin:0 0 1.15rem; color:var(--mut); max-width:62ch; }
@supports (interpolate-size: allow-keywords){
  details::details-content{
    block-size:0; overflow:clip;
    transition:block-size var(--t-mid) var(--e-out), content-visibility var(--t-mid) allow-discrete;
  }
  details[open]::details-content{ block-size:auto; }
}

/* ---------- 11. The 'bigger picture' story ------------------- */
.story{ display:grid; gap:clamp(1.8rem,4vw,3.5rem); }
@media(min-width:900px){ .story{ grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:center; } }
.sp{ list-style:none; margin:0; padding:0; position:relative; display:grid; gap:.1rem; }
.sp::before{
  content:""; position:absolute; left:6px; top:1.1rem; bottom:1.1rem; width:1px;
  background:var(--hair);
}
.sp::after{
  content:""; position:absolute; left:6px; top:1.1rem; width:1px;
  height:calc((100% - 2.2rem) * var(--p,0)); background:var(--ac);
  transition:height .6s var(--e-out);
}
.story{ --p:0; }
.sn{
  appearance:none; background:none; border:0; color:inherit; cursor:pointer;
  display:flex; align-items:center; gap:.9rem; padding:.62rem 0; width:100%;
  text-align:left; font:inherit; opacity:.45;
  transition:opacity var(--t-mid) var(--e-soft), transform var(--t-mid) var(--e-out);
}
.sp li.lit .sn{ opacity:.78; }
.sp li.cur .sn{ opacity:1; transform:translateX(4px); }
.sn .dot{
  width:13px; height:13px; border-radius:50%; flex:none; position:relative;
  border:1px solid var(--hair-strong); background:var(--bk);
  transition:background-color var(--t-mid) var(--e-soft), border-color var(--t-mid) var(--e-soft);
}
.sp li.lit .sn .dot{ background:var(--ac); border-color:var(--ac); }
.sp li.cur .sn .dot::after{
  content:""; position:absolute; inset:-5px; border-radius:50%;
  border:1px solid var(--ac); animation:ringOut 1.8s var(--e-soft) infinite;
}
@keyframes ringOut{ 0%{transform:scale(.7);opacity:.9} 100%{transform:scale(1.5);opacity:0} }
.sn b{ font-family:var(--serif); font-weight:600; font-size:var(--step-1); }
.stage{
  position:relative; display:grid; place-items:center; min-height:clamp(16rem,36vh,22rem);
  border:1px solid var(--hair); border-radius:var(--r-lg);
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(var(--cr-rgb),0.05), transparent 70%);
  padding:clamp(1.5rem,4vw,2.5rem); overflow:hidden;
}
.scene{ position:absolute; inset:0; display:grid; place-items:center; gap:1rem; align-content:center;
  opacity:0; visibility:hidden; transform:scale(.97); padding:1.5rem;
  transition:opacity .5s var(--e-soft), transform .6s var(--e-out), visibility .5s; }
.scene.on{ opacity:1; visibility:visible; transform:none; }
.scene .sc{ width:clamp(7rem,16vw,10rem); height:auto; color:var(--cr); }
.scene p{ margin:0; text-align:center; max-width:34ch; color:var(--mut); font-size:var(--step--1); }
.scene p b{ display:block; font-family:var(--serif); font-size:var(--step-1); color:var(--cr); margin-bottom:.2rem; }

/* ---------- 12. Example flow / journey ----------------------- */
.example{
  margin-top:var(--sp-4); padding:clamp(1.3rem,3vw,2rem);
  border:1px solid var(--hair); border-radius:var(--r-md);
  background:rgba(var(--cr-rgb),0.03);
}
.ex-t{ font-family:var(--serif); font-size:var(--step-1); margin-bottom:1rem; }
.ex-flow{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.55rem; counter-reset:ex; }
.ex-flow li{
  counter-increment:ex; position:relative; margin:0;
  display:inline-flex; align-items:center; gap:.5rem;
  border:1px solid var(--hair); border-radius:99px; padding:.5rem 1rem;
  font-size:var(--step--1); background:rgba(var(--cr-rgb),0.04);
}
.ex-flow li::before{ content:counter(ex); font-size:.7rem; opacity:.55; font-weight:600; }
.ex-flow li.flag{
  border-color:rgba(var(--sd-rgb),0.6);
  background:rgba(var(--sd-rgb),0.12);
  flex-direction:column; align-items:flex-start; gap:.1rem; border-radius:var(--r-sm);
}
.ex-flow li.flag small{ opacity:.7; font-size:.78rem; }
.ex-flow.jr li{ background:transparent; }
.ex-flow.jr .fn{
  display:grid; place-items:center; width:1.45rem; height:1.45rem; border-radius:50%;
  background:var(--ac); color:#07140C; font-weight:700; font-size:.72rem;
}
.ex-flow.jr li::before{ content:none; }
.rule-line{ margin-top:1.6rem; font-size:var(--step--1); color:var(--mut); }
.rule-line b{ color:var(--cr); }
.s.cr .rule-line b{ color:var(--on-sd); }

/* ---------- 13. Dashboard preview ---------------------------- */
.dashboard-preview-frame{
  border-radius:var(--r-lg); border:1px solid var(--hair); overflow:hidden;
  box-shadow:var(--shadow-2);
  transform:perspective(1800px) rotateX(var(--rx,0deg));
  transition:transform .8s var(--e-out), box-shadow var(--t-slow) var(--e-soft);
}
.dashboard-preview-frame .chrome{
  display:flex; align-items:center; gap:.4rem; padding:.6rem .9rem;
  border-bottom:1px solid var(--hair); background:rgba(var(--cr-rgb),0.06);
  font-size:.78rem; letter-spacing:.04em; opacity:.8;
}
.dashboard-preview-frame .chrome i{ width:9px; height:9px; border-radius:50%; background:var(--hair-strong); }
.dashboard-preview-frame .chrome span{ margin-left:.5rem; }
.dash-actions{ display:flex; justify-content:center; margin:0 0 1.2rem; }
.dashboard-preview-note{ text-align:center; margin-top:1rem; }

/* ---------- 14. Footer --------------------------------------- */
footer{ border-top:1px solid var(--hair); padding:var(--sp-5) 0 var(--sp-5); }
footer h2{ font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; opacity:.55; margin-bottom:.7rem; }
footer a{ color:var(--mut); transition:color var(--t-fast) var(--e-soft); }
footer a:hover{ color:var(--cr); }
footer .cols{ gap:2rem; }
.foot-logo{ opacity:.9; }
.foot-copy{ color:var(--mut); font-size:var(--step--1); }

/* ---------- 15. Cookie bar + mobile CTA ---------------------- */
#cc{
  border-radius:var(--r-md); box-shadow:var(--shadow-2);
  animation:ccIn .5s var(--e-out) .9s both;
  font-size:var(--step--1);
}
@keyframes ccIn{ from{ opacity:0; transform:translateY(14px); } }
.m-cta{ border-radius:99px!important; box-shadow:0 10px 30px rgba(0,0,0,.4)!important; }

/* ---------- 16. Page headers --------------------------------- */
.phead{
  padding:calc(var(--sp-6) + 1rem) 0 var(--sp-5);
  background:
    radial-gradient(ellipse 55% 120% at 88% -10%, rgba(var(--gn-rgb),0.85) 0%, transparent 66%),
    var(--bk);
  position:relative; overflow:hidden;
}
.phead h1{ max-width:18ch; }
.phead .lead{ max-width:54ch; }
.crumbs{
  display:flex; flex-wrap:wrap; gap:.35rem .6rem; list-style:none; margin:0 0 1.2rem; padding:0;
  font-size:var(--step--1); color:var(--mut);
}
.crumbs li{ display:flex; align-items:center; gap:.6rem; margin:0; }
.crumbs li+li::before{ content:"/"; opacity:.4; }
.crumbs a{ text-decoration:none; }
.crumbs a:hover{ color:var(--cr); text-decoration:underline; text-underline-offset:3px; }
.crumbs [aria-current=page]{ color:var(--cr); }

/* ---------- 17. Reveal motion -------------------------------- */
/* Nothing is hidden unless JS confirms it can reveal it again. */
html.craft [data-rv]{
  opacity:0; transform:translateY(var(--rv-y,22px)) scale(var(--rv-s,1));
  transition:opacity .72s var(--e-soft), transform .9s var(--e-out);
  transition-delay:var(--rv-d,0ms);
}
html.craft [data-rv].rv-in{ opacity:1; transform:none; }
html.craft [data-rv=fade]{ --rv-y:0px; }
html.craft [data-rv=rise]{ --rv-y:28px; }
html.craft [data-rv=zoom]{ --rv-y:14px; --rv-s:.975; }

/* word-by-word headline reveal */
.rv-w{ display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.08em; margin-bottom:-.08em; }
.rv-w>i{
  display:inline-block; font-style:inherit;
  transform:translateY(105%) rotate(2deg); opacity:0;
  transition:transform .95s var(--e-out), opacity .6s var(--e-soft);
  transition-delay:calc(var(--w,0) * 42ms + var(--rv-d,0ms));
}
.rv-in .rv-w>i,.rv-text.rv-in .rv-w>i{ transform:none; opacity:1; }

/* hairline that draws itself when a section arrives */
.rule-draw{ position:relative; }
.rule-draw::before{
  content:""; position:absolute; left:0; top:0; height:1px; width:100%;
  background:var(--hair); transform:scaleX(0); transform-origin:0 50%;
  transition:transform 1s var(--e-out);
}
.rv-in.rule-draw::before{ transform:scaleX(1); }

/* stagger groups keep working, now resilient */
html.craft [data-stagger]>*{ opacity:0; transform:translateY(18px);
  transition:opacity .6s var(--e-soft), transform .7s var(--e-out);
  transition-delay:calc(var(--i,0) * 70ms); }
html.craft [data-stagger].in>*,
html.craft [data-stagger].rv-in>*{ opacity:1; transform:none; }

/* section eyebrow numbering on the home page */
body.home main>section[data-idx] .wrap{ position:relative; }
body.home main>section[data-idx] .center-h::before,
body.home main>section[data-idx] .split-h::before{
  content:attr(data-n); display:block; margin-bottom:1rem;
  font:600 .72rem/1 var(--sans); letter-spacing:.18em; opacity:.45;
}
body.home main>section[data-idx] .center-h::before{ text-align:center; }

/* ---------- 18. Scroll-driven flourishes --------------------- */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    /* the dashboard mock tilts upright as it enters */
    .dashboard-preview-frame{
      animation:deckTilt linear both;
      animation-timeline:view();
      animation-range:entry 5% cover 42%;
    }
    @keyframes deckTilt{
      from{ transform:perspective(1800px) rotateX(8deg) scale(.965); opacity:.75; }
      to{ transform:perspective(1800px) rotateX(0) scale(1); opacity:1; }
    }
    /* pull quotes drift a touch */
    .pull{ animation:driftUp linear both; animation-timeline:view(); animation-range:entry 0% cover 40%; }
    @keyframes driftUp{ from{ transform:translateY(22px); } to{ transform:none; } }
  }
}

/* ---------- 19. Responsiveness ------------------------------- */
@media(max-width:860px){
  :root{ --maxw:100%; }
  .split-h{ position:static; }
  .hero .wrap{ padding-top:clamp(6rem,18vh,8rem); }
  .hero h1{ max-width:20ch; }
  .pull{ max-width:none; }
  .tablist{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:.8rem;
    scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
  .tablist::-webkit-scrollbar{ display:none; }
  .tablist [role=tab]{ flex:none; scroll-snap-align:start; }
  .big li{ grid-template-columns:1fr; gap:.3rem; }
  .big li::before{ display:block; }
}
@media(max-width:420px){
  .btn{ width:100%; }
  .hero .cta{ flex-direction:column; align-items:stretch; width:100%; }
  .hero .cta .btn{ width:100%; }
  .rows li{ grid-template-columns:1fr; gap:.65rem; }
  .ex-flow li{ width:100%; }
}
@media(min-width:1600px){
  :root{ --maxw:78rem; }
}
/* landscape phones: don't let the hero eat the screen */
@media(max-height:560px) and (orientation:landscape){
  body.home main>section.hero{ min-height:auto; padding:5.5rem 0 3rem; }
  .scroll-cue{ display:none; }
}

/* ---------- 20. Reduced motion & print ----------------------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important; animation-iteration-count:1!important;
    transition-duration:.001ms!important; scroll-behavior:auto!important;
  }
  html.craft [data-rv]{ opacity:1!important; transform:none!important; }
  html.craft [data-stagger]>*{ opacity:1!important; transform:none!important; }
  .rv-w>i{ transform:none!important; opacity:1!important; }
  .scroll-cue,.hero .status::before{ display:none; }
}
@media print{
  html.craft [data-rv],html.craft [data-stagger]>*{ opacity:1!important; transform:none!important; }
  .scroll-cue,.m-cta{ display:none!important; }
}

/* ---------- 21. Brand mark sizing (overrides the old .brand svg box) --- */
.brand svg.mark,.foot-logo svg.mark{
  background:none!important; padding:0!important; border-radius:0!important;
  height:auto!important; display:block;
}
.brand svg.mark{ width:clamp(76px,7.2vw,92px)!important; }
.foot-logo{ display:inline-block; }
.foot-logo svg.mark{ width:clamp(108px,12vw,142px)!important; opacity:.92; }
.foot-logo .pulse-line{ fill:none; stroke:var(--cr); stroke-width:26; stroke-linejoin:round; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:1; }
.foot-logo .pulse-fill{ fill:var(--cr); opacity:0; }
html.js .foot-logo .pulse-line{ animation:markTrace 1.4s var(--e-out) both; }
html.js .foot-logo .pulse-fill{ animation:markFill .6s var(--e-soft) 1s both; }
html:not(.js) .brand .pulse-line,html:not(.js) .foot-logo .pulse-line{ stroke-dashoffset:0; }
html:not(.js) .brand .pulse-fill,html:not(.js) .foot-logo .pulse-fill{ opacity:1; }
@media(prefers-reduced-motion:reduce){
  .brand .pulse-line,.foot-logo .pulse-line{ stroke-dashoffset:0!important; animation:none!important; }
  .brand .pulse-fill,.foot-logo .pulse-fill{ opacity:1!important; animation:none!important; }
}

/* ---------- 22. Conflict fixes with the older sheets --------- */
/* .tl doubles as a timeline grid and a tab label: neutralise it inside tabs */
.tablist .tl{ display:inline-block!important; margin:0!important; padding:0!important;
  grid-template-columns:none!important; list-style:none; }
.tablist [role=tab]{ line-height:1.2; }

/* the old pull-quote dash fought the new rule, and the measure was too wide */
.pull::before{ display:none!important; }
.pull{ max-width:30ch!important; color:var(--cr); }
.s.cr .pull{ color:var(--on-sd); border-left-color:var(--gn); }

/* .ex-flow already hides numbers after the first; drop ours for consistency */
.ex-flow li::before{ content:none!important; }
.ex-flow.jr .fn{ order:-1; }
.ex-t{ font-family:var(--sans); font-size:.75rem; letter-spacing:.16em; text-transform:uppercase;
  opacity:.6; font-weight:600; margin-bottom:1rem; }

/* .big rows: the counter is positioned, so the copy keeps a full column */
.big li{ display:block!important; position:relative; padding:1.6rem 0 1.6rem 3.2rem; }
.big li::before{
  position:absolute; left:0; top:1.9rem;
  font:600 .78rem/1 var(--sans); letter-spacing:.08em; opacity:.45;
}
.big h3{ font-size:clamp(1.3rem,2.4vw,1.9rem); }
.big p{ max-width:52ch; }
@media(max-width:560px){
  .big li{ padding-left:0; padding-top:2.4rem; }
  .big li::before{ top:.9rem; }
}

/* centred section heads centre their tabs too */
.center-h+.tabs .tablist,.tabs[aria-label] .tablist{ justify-content:center; }
.tabs .tpanels{ text-align:center; }
.tabs .tpanels p{ margin-inline:auto; }
.tabs.mods .tpanels{ text-align:left; }
.tabs.mods .tpanels p{ margin-inline:0; }

/* a slimmer consent bar that does not sit on the hero copy */
#cc{ max-width:30rem; padding:.9rem 1.1rem; display:grid; gap:.7rem; }
#cc p{ margin:0; }
#cc .btn{ padding:.5rem 1rem; min-height:40px; }
@media(min-width:720px){ #cc{ left:auto; right:1.25rem; } }

/* ---------- 23. Hero composition ----------------------------- */
/* The halftone artwork becomes a horizon in the lower band, so the
   words always sit on clean paper. */
#dotCanvas{
  opacity:.9;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0%, transparent 34%, #000 62%, #000 100%),
                     radial-gradient(ellipse 92% 100% at 50% 100%, #000 55%, transparent 92%);
  mask-image:linear-gradient(to bottom, transparent 0%, transparent 34%, #000 62%, #000 100%),
             radial-gradient(ellipse 92% 100% at 50% 100%, #000 55%, transparent 92%);
  -webkit-mask-composite:source-in; mask-composite:intersect;
}
.hero::after{
  background:
    linear-gradient(to bottom, rgba(var(--bk-rgb),0.55) 0%, transparent 46%),
    radial-gradient(ellipse 48% 38% at 50% 34%, rgba(var(--bk-rgb),0.78) 0%, transparent 72%);
}
.hero .wrap{
  padding-top:clamp(6.5rem,16vh,9.5rem);
  padding-bottom:clamp(8rem,22vh,13rem);
  justify-content:flex-start;
}
.hero h1{ margin-bottom:.5em; }
.hero p.lead{ margin-bottom:0; }
@media(max-width:700px){
  #dotCanvas{
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, transparent 42%, #000 70%, #000 100%);
    mask-image:linear-gradient(to bottom, transparent 0%, transparent 42%, #000 70%, #000 100%);
  }
  .hero .wrap{ padding-bottom:clamp(7rem,20vh,10rem); }
}

/* ---------- 23b. Hero: artwork as atmosphere ----------------- */
#dotCanvas{
  opacity:.42;
  -webkit-mask-image:linear-gradient(to bottom, transparent 6%, rgba(0,0,0,.35) 34%, #000 72%);
  mask-image:linear-gradient(to bottom, transparent 6%, rgba(0,0,0,.35) 34%, #000 72%);
  -webkit-mask-composite:source-over; mask-composite:add;
}
.hero:hover #dotCanvas{ opacity:.52; }
#dotCanvas{ transition:opacity .9s var(--e-soft); }
.hero::after{
  background:
    radial-gradient(ellipse 46% 42% at 50% 38%, rgba(var(--bk-rgb),0.86) 0%, transparent 74%),
    linear-gradient(to bottom, rgba(var(--bk-rgb),0.7) 0%, transparent 38%);
}
.hero .wrap{ padding-bottom:clamp(6rem,16vh,10rem); }
.hero p.lead{ text-shadow:0 1px 18px var(--bk); }
.hero::after{
  background:
    radial-gradient(ellipse 50% 46% at 50% 44%, rgba(var(--bk-rgb),0.88) 0%, transparent 76%),
    linear-gradient(to bottom, rgba(var(--bk-rgb),0.72) 0%, transparent 40%);
}

/* ---------- 24. Chip markers: defer to the originals --------- */
.chipl li::before{ content:none; }
.chipl li.no::before,.chipl li.may::before,.chipl li.inf::before{ content:revert; }
.chipl li.no::before{ content:"\00d7"; width:auto; height:auto; background:none; border-radius:0; opacity:1; }
.chipl li.inf::before{ content:"\2713"; width:auto; height:auto; background:none; border-radius:0; opacity:1; }
.chipl li.may::before{ content:""; width:.5rem; height:.5rem; border-radius:0; background:var(--sd); opacity:1; transform:rotate(45deg); }
.chipl li{ padding:.42rem .95rem; }
.chipl li:hover{ transform:translateY(-2px)!important; border-color:var(--hair-strong); }

/* ---------- 25. Story stepper: vertical rail ----------------- */
.story{ max-width:none!important; margin:0!important; }
.sp{ grid-template-columns:1fr!important; gap:.1rem; }
.sp::before{ left:6px!important; top:1.3rem!important; bottom:1.3rem; width:1px!important;
  height:auto!important; background:var(--hair)!important; border-radius:0!important; }
.sp::after{
  left:6px!important; top:1.3rem!important; width:1px!important;
  height:calc((100% - 2.6rem) * var(--p,0))!important;
  background:var(--ac)!important; border-radius:0!important;
  transition:height 1s var(--e-out)!important;
}
.sn{ flex-direction:row!important; text-align:left!important; justify-content:flex-start!important;
  width:100%; padding:.62rem 0!important; gap:.9rem!important; }
.sp li.cur .dot{ transform:none; box-shadow:0 0 0 6px rgba(var(--ac-rgb),.16); }
.stage{ margin-top:0!important; text-align:center; }
.scene{ grid-area:1/1; }
@media(max-width:899px){
  .sp{ gap:0; }
  .stage{ min-height:clamp(14rem,48vw,18rem); }
}

/* ---------- 26. Accordion: one calm pattern ------------------ */
details,details:last-of-type{
  border:1px solid var(--hair); border-radius:var(--r-md);
  padding:0 clamp(1rem,2.4vw,1.4rem); margin-bottom:.6rem;
  background:rgba(var(--cr-rgb),0.03);
  transition:border-color var(--t-mid) var(--e-soft), background-color var(--t-mid) var(--e-soft);
}
details:hover{ border-color:var(--hair-strong); box-shadow:none; }
details[open]{ border-color:rgba(var(--ac-rgb),0.42); background:rgba(var(--cr-rgb),0.05); }
.s.gn details[open]{ background:rgba(var(--bk-rgb),0.22); }
summary{
  font-size:var(--step-1)!important; line-height:1.35;
  padding:1.1rem 0; gap:1rem; justify-content:space-between;
  transition:color var(--t-fast) var(--e-soft);
}
details[open]>summary{ font-size:var(--step-1)!important; }
/* a chevron that follows the text colour, so it works on cream too */
summary::after{
  content:""!important; flex:none; position:static;
  width:1.5rem!important; height:1.5rem!important;
  border:0!important; border-radius:0!important; background:none!important;
  box-shadow:none!important; translate:0 0!important; rotate:0deg!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/100% no-repeat;
  background-color:currentColor!important; opacity:.6;
  transition:rotate var(--t-mid) var(--e-out), opacity var(--t-fast) var(--e-soft);
}
details:hover>summary::after{ box-shadow:none!important; opacity:1; }
details[open]>summary::after{ rotate:180deg!important; opacity:1; }
details>p{ padding-bottom:1.15rem; animation:none; }
.faqs details:first-child{ margin-top:0; }

/* ---------- 27. Selected tab: keep the text readable --------- */
.tablist [role=tab][aria-selected=true],
.tablist button[aria-selected=true]{
  background:rgba(var(--cr-rgb),0.1)!important;
  color:var(--cr)!important;
  border-color:var(--hair-strong)!important;
}
.s.cr .tablist [role=tab][aria-selected=true],
.s.cr .tablist button[aria-selected=true]{ color:var(--on-sd)!important; }
.tablist [role=tab][aria-selected=true] .tl{ color:inherit; }

/* ---------- 28. Kill the full-viewport section pattern ------- */
/* Every band being exactly one screen tall is the tell of a template.
   Sections now take the height their content needs. */
main>section.s:not(#_),
main>section.phead:not(#_),
body.home main>section:not(#_){
  min-height:0; display:block;
  padding-block:var(--sp-6);
}
main>section.phead:not(#_){ padding-block:calc(var(--sp-6) + 1rem) var(--sp-5); }
body.home main>section.hero:not(#_){
  min-height:100svh; display:flex; align-items:center; padding-block:0;
}
main>section.s:not(#_)>.wrap,
main>section.phead:not(#_)>.wrap{ width:100%; }
@media(max-height:560px) and (orientation:landscape){
  body.home main>section.hero:not(#_){ min-height:auto; padding:5.5rem 0 3rem; }
}

/* ---------- 29. Section seam: a whisper, not a stripe -------- */
.s::before{
  height:7rem; opacity:.22;
  background-size:.75rem 1.5rem;
  -webkit-mask-image:linear-gradient(var(--bk) 0%, transparent 85%);
  mask-image:linear-gradient(var(--bk) 0%, transparent 85%);
}
html.js .s.in::before{ opacity:.22; }
.s.gn::before{ opacity:.16; }

/* ---------- 30. Cross-document view transitions -------------- */
/* Chrome and friends fade between pages instead of flashing white.
   Browsers without it simply navigate as before. */
@view-transition{ navigation:auto; }
::view-transition-old(root){ animation:vtOut .22s var(--e-soft) both; }
::view-transition-new(root){ animation:vtIn .36s var(--e-out) both; }
@keyframes vtOut{ to{ opacity:0; transform:translateY(-6px); } }
@keyframes vtIn{ from{ opacity:0; transform:translateY(10px); } }
header.site,footer{ view-transition-name:none; }
@media(prefers-reduced-motion:reduce){
  ::view-transition-old(root),::view-transition-new(root){ animation:none; }
}

/* ---------- 31. Inverted bands keep their hairlines ---------- */
/* .s.cr paints cream paper with dark ink but leaves --cr-rgb cream,
   so the craft tokens are restated here against the right ground. */
.s.cr,.on-cr{
  --surface:rgba(var(--bk-rgb),.04);
  --surface-2:rgba(var(--bk-rgb),.07);
  --hair:rgba(var(--bk-rgb),.18);
  --hair-strong:rgba(var(--bk-rgb),.34);
  --mut:rgba(var(--bk-rgb),.72);
}
.s.cr ::selection,.on-cr ::selection{ background:var(--gn); color:var(--cr); }
.s.cr .btn:hover,.on-cr .btn:hover{ box-shadow:0 10px 30px rgba(var(--gn-rgb),.3); }
.s.cr .lk:hover,.on-cr .lk:hover{ background:rgba(var(--bk-rgb),.06); }
.s.cr .card:hover,.s.cr .trio>div:hover,.s.cr .ba>div:hover{
  border-color:rgba(var(--gn-rgb),.6);
}
.s.cr li:hover>.ico,.s.cr .card:hover .ico,.s.cr .rows li:hover .ico{
  color:var(--gn); border-color:rgba(var(--gn-rgb),.5);
}
.s.cr .callout.peak{
  border-color:rgba(var(--gn-rgb),.45);
  background:radial-gradient(ellipse 80% 160% at 50% 0%, rgba(var(--gn-rgb),.1), transparent 70%), rgba(var(--bk-rgb),.03);
}
.s.cr .tablist [role=tab][aria-selected=true]{ background:rgba(var(--bk-rgb),.08)!important; }
.s.cr .sn .dot{ background:var(--sd); }
.s.cr details{ background:rgba(var(--bk-rgb),.03); }
.s.cr details[open]{ border-color:rgba(var(--gn-rgb),.5); background:rgba(var(--bk-rgb),.05); }

/* ---------- 32. Consent bar layout --------------------------- */
#cc{ grid-template-columns:1fr; }
#cc .cc-actions,#cc div{ display:flex; flex-wrap:wrap; gap:.5rem; }
#cc .btn{ flex:1 1 auto; min-width:7rem; width:auto; }
@media(max-width:420px){ #cc .btn{ width:auto; } }

/* a hint that the tab strip scrolls */
@media(max-width:860px){
  .tablist{ -webkit-mask-image:linear-gradient(90deg,#000 0,#000 86%,transparent 100%);
    mask-image:linear-gradient(90deg,#000 0,#000 86%,transparent 100%); }
}

/* ---------- 33. Light theme: softer atmosphere --------------- */
:root[data-theme="light"] .hero{
  background:
    radial-gradient(ellipse 70% 58% at 50% 112%, rgba(var(--gn-rgb),.22) 0%, transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(var(--gn-rgb),.05) 0%, transparent 60%),
    var(--bk);
}
:root[data-theme="light"] .hero::after{
  background:
    radial-gradient(ellipse 50% 46% at 50% 44%, rgba(var(--bk-rgb),.8) 0%, transparent 76%),
    linear-gradient(to bottom, rgba(var(--bk-rgb),.6) 0%, transparent 40%);
}
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero p.lead{ text-shadow:0 1px 16px var(--bk); }
:root[data-theme="light"] #dotCanvas{ opacity:.5; }
:root[data-theme="light"] .phead{
  background:
    radial-gradient(ellipse 55% 120% at 88% -10%, rgba(var(--gn-rgb),.16) 0%, transparent 66%),
    var(--bk);
}
:root[data-theme="light"] header.site{ background:rgba(var(--bk-rgb),.78); }
:root[data-theme="light"] .btn:hover{ box-shadow:0 10px 30px rgba(var(--gn-rgb),.22); }
:root[data-theme="light"] ::selection{ background:var(--gn); color:#F0E8D1; }

/* ---------- 34. Audit fixes: overflow, contrast, targets ----- */
/* Grid and flex children must be allowed to shrink, or a wide table
   pushes the whole document sideways on small screens. */
.split>*,.two>*,.trio>*,.cols>*,.cards>*,.plans>*,.three>*,.story>*{ min-width:0; }
.table-scroll{ min-width:0; max-width:100%; }
.doc table{ max-width:100%; }

/* contrast: every muted tone now clears WCAG AA on its own ground */
:root{ --mut:rgba(var(--cr-rgb),.80); }
.s.cr,.on-cr{ --mut:rgba(var(--bk-rgb),.80); }
table.cmp thead th{ opacity:.82; }
.trio h3{ opacity:.85; }
footer h2{ opacity:.74; }
.ex-t{ opacity:.78; }
.tablist [role=tab]{ opacity:.74; }
.tablist [role=tab]:hover{ opacity:1; }
.sn{ opacity:.6; }
.sp li.lit .sn{ opacity:.85; }
.scroll-cue{ color:rgba(var(--cr-rgb),.7); }
.big li::before,.rows li .num{ opacity:.6; }
body.home main>section[data-idx] .center-h::before,
body.home main>section[data-idx] .split-h::before{ opacity:.6; }

/* target size: every link is at least 24px tall (WCAG 2.2 AA) */
footer a,.crumbs a,.foot-contact a{ padding-block:.35rem; min-height:24px; display:inline-flex; align-items:center; }
footer li{ margin:0; }
.linkrow a,.note a,p a{ padding-block:.1rem; }

/* ---------- 35. Forms ---------------------------------------- */
form.f,.sendbox,.employee-preview{
  border:1px solid var(--hair); border-radius:var(--r-lg);
  padding:clamp(1.3rem,3.5vw,2.2rem);
  background:rgba(var(--cr-rgb),.03);
}
label,legend{ font-size:var(--step--1); font-weight:600; letter-spacing:.01em; margin-bottom:.4rem; }
.hint{ font-size:var(--step--1); margin-bottom:.45rem; }
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],
select,textarea{
  border:1px solid var(--hair-strong); border-radius:10px;
  background:rgba(var(--bk-rgb),.35);
  padding:.8rem .9rem; min-height:48px;
  transition:border-color var(--t-mid) var(--e-soft), box-shadow var(--t-mid) var(--e-soft),
             background-color var(--t-mid) var(--e-soft);
}
input::placeholder,textarea::placeholder{ color:var(--mut); opacity:.65; }
input[type=text]:hover,input[type=email]:hover,input[type=url]:hover,select:hover,textarea:hover{
  border-color:rgba(var(--cr-rgb),.45);
}
input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,select:focus,textarea:focus{
  outline:none; border-color:var(--ac);
  box-shadow:0 0 0 3px rgba(var(--ac-rgb),.18);
  background:rgba(var(--bk-rgb),.55);
}
input:focus-visible,select:focus-visible,textarea:focus-visible{ outline:none; }
textarea{ min-height:7rem; line-height:1.55; }
select{ appearance:none; -webkit-appearance:none; padding-right:2.4rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right .85rem center; background-size:1.05rem;
}
.chk{ gap:.7rem; align-items:flex-start; padding:.35rem 0; }
.chk input{ accent-color:var(--ac); width:1.2rem; height:1.2rem; margin-top:.25rem; }
.chk label{ font-weight:400; font-size:var(--step--1); line-height:1.55; }
.out{ border:1px solid var(--hair); border-radius:var(--r-md); background:rgba(var(--cr-rgb),.03); }
.fld{ margin-bottom:1.2rem; }
.row{ gap:1.1rem; }
.send-actions{ gap:.6rem; }
/* cream bands flip the field ground too */
.s.cr input[type=text],.s.cr input[type=email],.s.cr select,.s.cr textarea,
.on-cr input[type=text],.on-cr input[type=email],.on-cr select,.on-cr textarea{
  background:rgba(var(--cr-rgb),.5); color:var(--on-sd); border-color:rgba(var(--bk-rgb),.3);
}
/* the form's own submit is the primary action, whatever class it carries */
form.f button[type=submit].btn,form button[type=submit].btn.alt{
  background:var(--sd); color:var(--on-sd); border-color:var(--sd);
}
form.f button[type=submit].btn:hover{ background:var(--hv); border-color:var(--hv); }

/* ---------- 36. Portraits and media -------------------------- */
.person img,.team img{ border-radius:12px; display:block; }
.person{ padding:clamp(1.2rem,2.6vw,1.6rem); }
.person blockquote,.person .q{ border-left:2px solid var(--ac); margin:0 0 1rem; padding-left:.9rem; }
.phead-ic{ opacity:.26; }

/* ---------- 37. Mobile sheet: fully opaque ------------------- */
@media(max-width:860px){
  header.site nav[data-collapsed=false]{
    background:var(--bk)!important;
    backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
    box-shadow:0 24px 60px rgba(0,0,0,.5);
  }
  header.site.menu-open{ background:var(--bk)!important; }
  header.site nav[data-collapsed=false] li.theme-li{ border:0; padding-top:1rem; }
  header.site nav[data-collapsed=false] .theme-toggle{ margin:0; }
  .nav-toggle{ min-height:44px; }
}

/* =============================================================
   38. Breathing space
   Sections were technically separated but visually stacked.
   Each band now opens and closes with real air, and neighbours
   that share a background get a hairline so the seam is legible.
   ============================================================= */
:root{
  --band:clamp(4.5rem,10vw,9.5rem);   /* air above and below a band  */
  --band-inner:clamp(2rem,4.5vw,3.6rem); /* heading block to content */
}
main>section.s:not(#_),
body.home main>section:not(#_){ padding-block:var(--band); }
main>section.phead:not(#_){ padding-block:calc(var(--band) + 1rem) var(--band); }
body.home main>section.hero:not(#_){ padding-block:0; }
.doc{ padding-block:var(--band) calc(var(--band) + 1rem); }

/* the heading block and its content are two beats, not one block */
.center-h,.split-h{ margin-bottom:var(--band-inner); }
@media(min-width:920px){ .split-h{ margin-bottom:0; } }
.split{ gap:clamp(2.5rem,6vw,5rem); }
@media(min-width:920px){ .split{ gap:clamp(3.5rem,7vw,7rem); } }

/* a closing rule under each band, so the eye registers an ending */
main>section.s+section.s{ position:relative; }
main>section.s::after{
  content:""; position:absolute; left:0; right:0; top:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(var(--cr-rgb),.14) 18%, rgba(var(--cr-rgb),.14) 82%, transparent);
  pointer-events:none;
}
/* only where the colour does not already draw the line */
main>section.s.gn::after,main>section.s.cr::after{ background:none; }
main>section.s.gn+section.s:not(.gn):not(.cr)::after,
main>section.s.cr+section.s:not(.gn):not(.cr)::after{ background:none; }
.s.cr+.s.cr::after,.s.gn+.s.gn::after{
  background:linear-gradient(90deg, transparent, rgba(var(--bk-rgb),.18) 18%, rgba(var(--bk-rgb),.18) 82%, transparent);
}
main>section.s:first-of-type::after,.hero+section.s::after{ background:none; }

/* the final call to action gets the most room of all */
.finale{ padding-block:clamp(5.5rem,13vw,12rem)!important; }
.finale h2{ margin-bottom:.4em; }
.finale .cta{ margin-top:2rem; justify-content:flex-start; }

/* footers and page heads breathe with the same rhythm */
footer{ padding-block:var(--band-inner) var(--band-inner); }

/* =============================================================
   39. "What it is, and is not"
   Two columns of identical grey rows said nothing. The claim and
   the thing it refuses now read as opposites at a glance.
   ============================================================= */
.sec-isnot .split{ grid-template-columns:1fr!important; gap:var(--band-inner)!important; }
.sec-isnot .split-h{ position:static!important; max-width:none; margin-bottom:0!important; }
.sec-isnot .split-h h2{ max-width:18ch; }
.sec-isnot .table-scroll{ border:0; border-radius:0; overflow:visible; }

table.cmp.isnot{ min-width:0; border-collapse:collapse; width:100%; }
table.cmp.isnot thead th{
  background:none; position:static; backdrop-filter:none;
  padding:0 0 .9rem; border-bottom:1px solid rgba(var(--cr-rgb),.22);
  font:600 .72rem/1 var(--sans); letter-spacing:.18em; text-transform:uppercase; opacity:.75;
}
table.cmp.isnot thead th:first-child{ color:var(--ac); opacity:1; }
table.cmp.isnot tbody tr{ background:none!important; }
table.cmp.isnot td{
  border:0; border-bottom:1px solid rgba(var(--cr-rgb),.12);
  padding:1.15rem 1.6rem 1.15rem 2rem; vertical-align:top;
  font-size:var(--step-0); line-height:1.4; position:relative; width:50%;
}
/* the affirmative column: a check, full strength */
table.cmp.isnot td:first-child::before{
  content:""; position:absolute; left:0; top:1.35rem;
  width:1.05rem; height:1.05rem; background-color:var(--ac);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat;
}
table.cmp.isnot td:first-child{ font-weight:600; }
/* the refusal column: a cross, quieter, struck through */
table.cmp.isnot td:last-child{ opacity:.62; }
table.cmp.isnot td:last-child::before{
  content:""; position:absolute; left:0; top:1.35rem;
  width:1.05rem; height:1.05rem; background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/100% no-repeat;
}
table.cmp.isnot td:last-child{ text-decoration:line-through;
  text-decoration-color:rgba(var(--cr-rgb),.3); text-decoration-thickness:1px; text-underline-offset:2px; }
/* a spine between the claim and the refusal */
table.cmp.isnot tbody td:first-child{ border-right:1px solid rgba(var(--cr-rgb),.12); }
table.cmp.isnot thead th:first-child{ border-right:1px solid rgba(var(--cr-rgb),.22); }
table.cmp.isnot tbody tr:last-child td{ border-bottom:0; }
table.cmp.isnot tbody tr:hover td:first-child{ color:var(--cr); }
table.cmp.isnot thead th:last-child,table.cmp.isnot tbody td:last-child{ padding-left:2.6rem; }
table.cmp.isnot tbody td:last-child::before{ left:.6rem; }

@media(max-width:700px){
  table.cmp.isnot,table.cmp.isnot tbody,table.cmp.isnot tr{ display:block; width:100%; }
  table.cmp.isnot thead{ display:none; }
  table.cmp.isnot tr{ padding:1.1rem 0; border-bottom:1px solid rgba(var(--cr-rgb),.12); }
  table.cmp.isnot tr:last-child{ border-bottom:0; }
  table.cmp.isnot td{ display:block; width:auto; border:0!important; padding:.25rem 0 .25rem 2rem; }
  table.cmp.isnot td::before{ top:.5rem!important; left:0!important; }
  table.cmp.isnot td:last-child{ padding-left:2rem; }
}

/* ---------- 39b. is/is-not refinements ----------------------- */
table.cmp.isnot thead th:first-child{ padding-left:2rem; }
table.cmp.isnot thead th:last-child{ padding-left:2.6rem; }
table.cmp.isnot,table.cmp.isnot thead,table.cmp.isnot tbody,
table.cmp.isnot tr,table.cmp.isnot th,table.cmp.isnot td{
  border-radius:0; box-shadow:none; background-image:none;
}
.sec-isnot .table-scroll{ background:none!important; box-shadow:none!important; border:0!important; }
.sec-isnot .split{ gap:clamp(1.5rem,3vw,2.4rem)!important; }
.sec-isnot .split-h h2{ margin-bottom:0; }
.sec-isnot .note{ margin-top:1.4rem; }
@media(max-width:700px){
  table.cmp.isnot thead th:first-child,table.cmp.isnot thead th:last-child{ padding-left:0; }
}
table.cmp.isnot{ border:0!important; outline:0; }
.sec-isnot .table-scroll{ overflow:visible!important; }

/* ---------- 39c. is/is-not on small screens ------------------ */
/* style.css turns every .cmp row into a bordered card at <=720px
   and tints the last cell green; this table wants neither. */
@media(max-width:720px){
  table.cmp.isnot,table.cmp.isnot tbody,table.cmp.isnot tr,table.cmp.isnot td{
    display:block; width:auto;
  }
  table.cmp.isnot thead{ display:none; }
  table.cmp.isnot tbody tr{
    border:0!important; border-radius:0!important; margin:0!important;
    background:none!important; overflow:visible!important;
    padding:1rem 0!important; border-bottom:1px solid rgba(var(--cr-rgb),.12)!important;
  }
  table.cmp.isnot tbody tr:last-child{ border-bottom:0!important; }
  table.cmp.isnot td,table.cmp.isnot td+td{
    border:0!important; background:none!important;
    padding:.3rem 0 .3rem 1.9rem!important; width:auto;
  }
  table.cmp.isnot td:last-child{ background:none!important; }
  table.cmp.isnot td::before{
    content:""!important; position:absolute; left:0!important; top:.55rem!important;
    display:block; margin:0!important; width:1rem; height:1rem;
  }
  table.cmp.isnot td:first-child::before{ background-color:var(--ac)!important; }
  table.cmp.isnot td:last-child::before{ background-color:var(--cr)!important; opacity:.75; }
  table.cmp.isnot td:last-child{ color:var(--cr); }
}
/* the refusal column stays legible: the strike and the cross carry
   the meaning, not a low opacity that fails contrast */
table.cmp.isnot td:last-child{ opacity:.82; }
table.cmp.isnot td:last-child{ text-decoration-color:rgba(var(--cr-rgb),.45); }
@media(max-width:720px){ table.cmp.isnot td:last-child{ opacity:.82; } }

/* ================================================================
   40. Round 3: one frame per table, header that gets out of the way,
       a real button hierarchy, and the layout fixes
   ================================================================ */

/* header slides away on scroll down, returns on scroll up */
header.site{ transition:transform .5s var(--e-out), background var(--t-mid) var(--e-soft), border-color var(--t-mid) var(--e-soft); }
html.hdr-hide header.site{ transform:translateY(-102%); }
html.hdr-hide header.site:focus-within{ transform:none; }
.logo-frame{ display:block; position:relative; overflow:hidden; flex:none; }
.logo-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; background:transparent; }
.logo-shield{ position:absolute; inset:0; }
.brand .logo-frame{ width:clamp(80px,7.4vw,96px)!important; height:auto!important; aspect-ratio:96/60; }
.foot-logo{ display:block; cursor:default; pointer-events:none; margin-bottom:1.4rem; }
.foot-logo .logo-frame{ width:clamp(120px,12vw,150px)!important; height:auto!important; aspect-ratio:150/94; }
html[data-theme="light"] .logo-frame{ filter:none; }

/* tables: a single frame (style.css drew a second one inside ours) */
table.cmp{ margin:0!important; border:0!important; border-radius:0!important; overflow:visible!important; background:none; }
table.cmp thead th{ padding:1rem 1.1rem; line-height:1.3; }
.table-scroll{ margin-top:0; }
table.cmp.isnot thead th{ padding:0 0 1rem 2rem; line-height:1.4; }
table.cmp.isnot thead th:last-child{ padding-left:2.6rem; }
.sec-isnot .split-h,.sec-isnot .wrap>*:first-child{ margin-bottom:var(--band-inner); }

/* the story stage was shorter than the scene it holds */
.stage{ min-height:clamp(23rem,34vw,27rem)!important; }
.scene .sc{ width:clamp(5.5rem,10vw,7.5rem); }
.scene{ gap:.9rem; padding:1.5rem 1.5rem 2rem; }
@media(max-width:899px){ .stage{ min-height:clamp(20rem,70vw,24rem)!important; } }

/* closing calls to action: buttons sit under the centred text, not left of it */
.finale .cta{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.6rem 1.6rem; }
.finale{ text-align:center; }
.finale .wrap>p{ margin-inline:auto; }

/* accordion: the old square hover/focus fill poked through the rounded frame */
details>summary,details>summary:hover,details[open]>summary{ background:none!important; box-shadow:none!important; }
details>summary:hover{ color:var(--ac); }
.s.cr details>summary:hover{ color:var(--gn); }
details{ overflow:hidden; }

/* centre-aligned page heads keep their own space under the CTA */
main>section.phead:not(#_){ padding-bottom:var(--band); }

/* about: editorial two-column story instead of a half-empty page */
@media(min-width:920px){
  .sec-about>.wrap{ display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); column-gap:clamp(3rem,6vw,6rem); align-items:start; }
  .sec-about>.wrap>h2{ grid-column:1; grid-row:1 / span 8; position:sticky; top:calc(var(--hdr-h,72px) + 2.5rem); margin:0; }
  .sec-about>.wrap>*:not(h2){ grid-column:2; max-width:none; }
}
/* principles: chips line up with their heading */
.sec-principles .chipl.bigc{ justify-content:flex-start; }

/* founders: portrait never collapses, links read as links */
.person{ align-items:start; }
.person img{ opacity:1!important; visibility:visible!important; transform:none!important; }
.person .btnrow,.person .linkrow{ margin-top:1.1rem; }

/* ================= Button hierarchy =================
   1. primary  .btn            solid, one per view (the pilot request)
   2. quiet    .btn.pill.alt   outlined pill, for parallel choices (pricing cards)
   3. link     .btn.alt, .lk   text with an arrow: everything else            */
nav a.nav-apply{
  background:var(--sd); color:var(--on-sd); border:0; padding:.55rem 1.15rem; font-weight:600;
}
nav a.nav-apply::after{ display:none!important; }
nav a.nav-apply:hover{ background:var(--hv); color:var(--on-sd); transform:translateY(-1px); box-shadow:0 8px 22px rgba(var(--ac-rgb),.28); }

.btn.alt:not(.pill):not(#_){
  background:none!important; border:0!important; box-shadow:none!important; transform:none!important;
  color:inherit; padding:.5rem .15rem; min-height:44px; border-radius:0;
  background-image:linear-gradient(currentColor,currentColor)!important;
  background-repeat:no-repeat!important; background-position:0 calc(100% - .45rem)!important;
  background-size:100% 1px!important; transition:background-size .3s var(--e-out), gap .3s var(--e-out), color .2s;
}
.btn.alt:not(.pill):not(#_)::before{ display:none; }
.btn.alt:not(.pill):not(#_)::after{ content:"→"; display:inline-block; transition:transform .3s var(--e-out); }
.btn.alt:not(.pill)[target=_blank]:not(#_)::after{ content:"↗"; }
.btn.alt:not(.pill):not(#_):hover{ background-size:100% 2px!important; color:inherit; }
.btn.alt:not(.pill):not(#_):hover::after{ transform:translateX(4px); }
.s.gn .btn.alt:not(.pill):not(#_):hover,.s.dk .btn.alt:not(.pill):not(#_):hover{ color:var(--ac); }
/* cookie bar and forms keep their familiar, compact buttons */
#cc .btn.alt:not(.pill):not(#_),form .btn.alt:not(.pill):not(#_){
  background:none!important; border:1px solid var(--hair-strong)!important; border-radius:99px;
  padding:.5rem 1rem; background-image:none!important;
}
#cc .btn.alt:not(.pill):not(#_)::after,form .btn.alt:not(.pill):not(#_)::after{ content:none!important; }
.btn.pill.alt{ background:none; box-shadow:none; }
.btn.pill.alt:hover{ background:rgba(var(--cr-rgb),.08); color:inherit; box-shadow:none; }
.btn.pill.alt::before{ display:none; }

/* related-page links: quiet text links, readable on hover */
.lk{
  background:none!important; border:0!important; border-radius:0; box-shadow:none!important; transform:none!important;
  padding:.55rem .1rem; min-height:44px; color:inherit; position:relative;
  background-image:linear-gradient(var(--ac),var(--ac))!important; background-repeat:no-repeat!important;
  background-position:0 calc(100% - .5rem)!important; background-size:0 1px!important;
  transition:background-size .3s var(--e-out), color .2s, gap .3s var(--e-out);
}
.lk::after{ content:""!important; }
.lk:hover,.lk:focus-visible{ color:var(--cr)!important; background-size:100% 1px!important; gap:.9rem; }
.s.cr .lk:hover,.s.cr .lk:focus-visible,.on-cr .lk:hover{ color:var(--bk)!important; }
.linkrow{ gap:.4rem 1.8rem; }
@media(max-width:720px){
  .btn.alt:not(.pill):not(#_){ width:auto; align-self:center; }
  .finale .cta{ flex-direction:column; }
  .finale .cta .btn:not(.alt){ width:100%; max-width:22rem; }
}

/* pricing head had a 1rem bottom padding (!important in style.css) */
.pricing-head:not(#_){ padding-bottom:var(--band)!important; }
/* the halo ring around the primary button read as a double border */
.btn.halo:not(#_){ box-shadow:none; }
.btn.halo:hover{ box-shadow:0 10px 30px rgba(var(--ac-rgb),.22); }
/* plan cards: links hug their text instead of stretching edge to edge */
.plan .btn.alt:not(.pill):not(#_){ align-self:flex-start; }
/* cookie "Decline": visible outline on the cream bar, same weight class as Allow */
#cc .btn.alt:not(.pill):not(#_),form .btn.alt:not(.pill):not(#_){ border:1px solid currentColor!important; }


/* ================================================================
   41. Performance: nothing animates the page's background while you scroll
   ================================================================ */
/* the dotted section backgrounds drifted forever (two background-position
   animations per section, repainting full-width areas every frame) */
.s::before,.forms::before{ animation:none!important; }
.scroll-rail{ display:none!important; }
/* a 14px backdrop blur over moving content is the costliest thing a header can do */
header.site,body.home header.site,html.hdr-stuck header.site,body.home.hdr-stuck header.site{
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
html.hdr-stuck header.site,body.home.hdr-stuck header.site{ background:rgba(var(--bk-rgb),.95); }

/* ================================================================
   42. Light mode: the dotted artwork and icons were sand on near-white
   ================================================================ */
:root[data-theme="light"] #dotCanvas,
:root[data-theme="light"] .hero:hover #dotCanvas{ opacity:.82; }
:root[data-theme="light"] .s:not(.gn):not(.cr):not(.dk)::before{
  --dot-rgb:122,104,52;
  background-image:radial-gradient(circle,rgba(var(--dot-rgb),.7) .12rem,transparent .16rem);
}
:root[data-theme="light"] .phead-ic{ color:var(--gn); opacity:.5; }
