
/* ==========================================================================
   MOH MANAGED
   --brand   Verde Mantis. The workhorse: buttons, links, headings.
   --signal  The logo's own electric lime. Live-state accents ONLY, in small
             doses — it measures 1.33:1 on white and glares at size.
   Severity ramp (--sev-*) is a reserved status palette, never reused for
   anything else. Validated for CVD separation against this surface; every
   severity mark also carries a written label, never colour alone.
   ========================================================================== */
/* Light is the default. Dark applies when the visitor's system asks for it,
   or when they choose it with the header toggle — an explicit choice wins
   over the system setting in both directions. The brand green cannot carry
   text on white (2.20:1), so the light theme uses a darker green for text
   and keeps Verde Mantis for fills and large display type only. */
:root{
  color-scheme: light;
  --ground:#FAFBF8; --surface:#FFFFFF; --surface-2:#F1F4EE;
  --line:#DCE3D6; --line-soft:#E9EEE4;
  --text:#131A0F; --text-2:#4E5A46; --text-3:#6B7763;
  --brand:#456F12; --brand-2:#35570D; --brand-ink:#FFFFFF;
  --brand-wash:rgba(69,111,18,.10);
  --signal:#3D8C00;
  --sev-high:#A8261C; --sev-med:#96700F; --sev-low:#1B5FA8;
  --scrim:rgba(250,251,248,.86); --scrim-2:rgba(255,255,255,.95);
  --bloom-1:rgba(69,111,18,.07); --bloom-1b:rgba(69,111,18,.025);
  --bloom-2:rgba(69,111,18,.055); --bloom-2b:rgba(69,111,18,.02);
  --bloom-3:rgba(69,111,18,.06); --bloom-3b:rgba(69,111,18,.02);
  --lift:rgba(19,26,15,.055); --lift-2:rgba(19,26,15,.018);
  --mark-shadow:rgba(19,26,15,.16);
  --pulse:rgba(61,140,0,.4); --pulse-0:rgba(61,140,0,0);
  --edge-fade:rgba(69,111,18,.12);
  --gutter:clamp(1.25rem,4vw,2.75rem);
  --ease:cubic-bezier(.2,.7,.2,1);
  --measure:66ch;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
  color-scheme: dark;
  --ground:#0A0C09; --surface:#10130E; --surface-2:#141810;
  --line:#232A1F; --line-soft:#191E16;
  --text:#E9EFE4; --text-2:#93A088; --text-3:#72816A;
  --brand:#78BE20; --brand-2:#8FD41A; --brand-ink:#0A0C09;
  --brand-wash:rgba(120,190,32,.13);
  --signal:#5CFF00;
  --sev-high:#FF7B66; --sev-med:#F0C04A; --sev-low:#6FA6E0;
  --scrim:rgba(10,12,9,.74); --scrim-2:rgba(16,19,14,.94);
  --bloom-1:rgba(120,190,32,.13); --bloom-1b:rgba(120,190,32,.04);
  --bloom-2:rgba(143,212,26,.10); --bloom-2b:rgba(143,212,26,.03);
  --bloom-3:rgba(120,190,32,.11); --bloom-3b:rgba(120,190,32,.03);
  --lift:rgba(233,239,228,.055); --lift-2:rgba(233,239,228,.018);
  --mark-shadow:rgba(0,0,0,.6);
  --pulse:rgba(92,255,0,.5); --pulse-0:rgba(92,255,0,0);
  --edge-fade:rgba(120,190,32,.12);
  }
}
:root[data-theme="dark"]{
  color-scheme: dark;
  --ground:#0A0C09; --surface:#10130E; --surface-2:#141810;
  --line:#232A1F; --line-soft:#191E16;
  --text:#E9EFE4; --text-2:#93A088; --text-3:#72816A;
  --brand:#78BE20; --brand-2:#8FD41A; --brand-ink:#0A0C09;
  --brand-wash:rgba(120,190,32,.13);
  --signal:#5CFF00;
  --sev-high:#FF7B66; --sev-med:#F0C04A; --sev-low:#6FA6E0;
  --scrim:rgba(10,12,9,.74); --scrim-2:rgba(16,19,14,.94);
  --bloom-1:rgba(120,190,32,.13); --bloom-1b:rgba(120,190,32,.04);
  --bloom-2:rgba(143,212,26,.10); --bloom-2b:rgba(143,212,26,.03);
  --bloom-3:rgba(120,190,32,.11); --bloom-3b:rgba(120,190,32,.03);
  --lift:rgba(233,239,228,.055); --lift-2:rgba(233,239,228,.018);
  --mark-shadow:rgba(0,0,0,.6);
  --pulse:rgba(92,255,0,.5); --pulse-0:rgba(92,255,0,0);
  --edge-fade:rgba(120,190,32,.12);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--ground);color:var(--text);
  font-family:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.mono{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
      font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}

/* ---------- aura ---------- */
.aura{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.bloom{position:absolute;will-change:transform}
.bloom-a{width:78vmax;height:78vmax;left:-26vmax;top:-24vmax;
  background:radial-gradient(circle,var(--bloom-1) 0%,var(--bloom-1b) 36%,transparent 66%)}
.bloom-b{width:62vmax;height:62vmax;right:-24vmax;top:34vh;
  background:radial-gradient(circle,var(--bloom-2) 0%,var(--bloom-2b) 38%,transparent 68%)}
.bloom-c{width:90vmax;height:90vmax;left:8vw;bottom:-52vmax;
  background:radial-gradient(circle,var(--bloom-3) 0%,var(--bloom-3b) 40%,transparent 70%)}

.shell{position:relative;z-index:1}
.wrap{max-width:1200px;margin-inline:auto;padding-inline:var(--gutter)}
.narrow{max-width:82ch}

/* ---------- masthead ---------- */
.masthead{position:sticky;top:0;z-index:30;padding-block:.9rem;
  border-bottom:1px solid transparent;
  transition:background .3s ease,border-color .3s ease}
.masthead.stuck{background:var(--scrim);backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);border-bottom-color:var(--line-soft)}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;flex-wrap:wrap}
.brandlink{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:inherit}
.brandlink img{display:block;width:34px;height:auto}
.wordmark{display:flex;flex-direction:column;line-height:1.12}
.wordmark b{font-weight:800;font-stretch:110%;font-size:1rem;letter-spacing:-.005em}
.wordmark span{color:var(--text-2);font-size:.6rem;letter-spacing:.18em}
.navlinks{display:flex;align-items:center;gap:1.15rem;flex-wrap:wrap}
.navlinks a{color:var(--text-2);text-decoration:none;font-size:.82rem;
  border-bottom:1px solid transparent;padding-bottom:2px;transition:color .15s ease,border-color .15s ease}
.navlinks a:hover,.navlinks a[aria-current="page"]{color:var(--text);border-bottom-color:var(--brand)}
.langswitch{display:inline-flex;border:1px solid var(--line);overflow:hidden}
.langswitch a{padding:.24rem .55rem;font-size:.7rem;letter-spacing:.1em;border:0;color:var(--text-2)}
.langswitch a[aria-current="true"]{background:var(--brand);color:var(--brand-ink);font-weight:700}
.langswitch a:hover{border-bottom-color:transparent;color:var(--text)}
.langswitch a[aria-current="true"]:hover{color:var(--brand-ink)}
.themetoggle{display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:26px;padding:0;cursor:pointer;background:transparent;
  border:1px solid var(--line);color:var(--text-2);
  transition:border-color .15s ease,color .15s ease}
.themetoggle:hover{border-color:var(--brand);color:var(--text)}
.themetoggle svg{width:14px;height:14px;display:block}
.themetoggle .sun{display:none}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .themetoggle .moon{display:none}
  :root:not([data-theme="light"]) .themetoggle .sun{display:block}
}
:root[data-theme="dark"] .themetoggle .moon{display:none}
:root[data-theme="dark"] .themetoggle .sun{display:block}
.progress{position:absolute;left:0;bottom:-1px;height:2px;width:100%;
  background:linear-gradient(90deg,var(--brand),var(--signal));
  transform:scaleX(0);transform-origin:0 50%;opacity:0;transition:opacity .3s ease}
.masthead.stuck .progress{opacity:1}

/* ---------- type ---------- */
h1{margin:0;font-size:clamp(2.2rem,5.8vw,4rem);line-height:1.03;font-weight:800;
   font-stretch:112%;letter-spacing:-.028em;text-wrap:balance}
h1 .line{display:block;overflow:hidden;padding-bottom:.09em;margin-bottom:-.09em}
h1 .line > span{display:block;transform:translateY(106%)}
html.js h1 .line > span{animation:line-up .95s var(--ease) both}
h1 .line:nth-child(1)>span{animation-delay:.06s}
h1 .line:nth-child(2)>span{animation-delay:.17s}
h1 .line:nth-child(3)>span{animation-delay:.28s}
@keyframes line-up{to{transform:none}}
h1 .em{color:var(--brand)}
h2{margin:0;font-size:clamp(1.5rem,3.4vw,2.3rem);line-height:1.12;font-weight:700;
   font-stretch:106%;letter-spacing:-.02em;text-wrap:balance}
h3{margin:0;font-size:1.06rem;font-weight:700;letter-spacing:-.008em}
p{margin:0 0 1rem;max-width:var(--measure)}
a{color:var(--brand)}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;color:var(--brand);align-self:flex-start}
.eyebrow::before{content:"";width:1.75rem;height:1px;background:currentColor;opacity:.6}
.section{padding-block:clamp(3.25rem,9vh,6.5rem)}
.section-head{display:flex;flex-direction:column;gap:.9rem;margin-bottom:clamp(2rem,4vh,3rem);max-width:34ch}

/* ---------- the aperture ----------
   The opening screen is framed rather than filled: a hairline viewfinder inset
   from the edges, reticle ticks at its corners, and the aura light bleeding in
   from outside it. Almost nothing sits inside. Scrolling opens the aperture —
   the frame widens and fades as the site begins.                              */
.aperture{position:fixed;inset:0;z-index:2;pointer-events:none;
  padding:clamp(.7rem,1.8vw,1.4rem);will-change:opacity,padding}
.aperture-inner{position:absolute;inset:clamp(.7rem,1.8vw,1.4rem);border:1px solid var(--line)}
.tick{position:absolute;width:14px;height:14px}
.tick::before,.tick::after{content:"";position:absolute;background:var(--brand)}
.tick::before{width:100%;height:1px} .tick::after{width:1px;height:100%}
.tick.tl{top:-1px;left:-1px} .tick.tr{top:-1px;right:-1px}
.tick.bl{bottom:-1px;left:-1px} .tick.br{bottom:-1px;right:-1px}
.tick.tr::before{right:0} .tick.tr::after{right:0}
.tick.bl::before{bottom:0} .tick.bl::after{bottom:0}
.tick.br::before{right:0;bottom:0} .tick.br::after{right:0;bottom:0}

.opening{min-height:calc(100svh - var(--mh, 4.4rem));display:grid;grid-template-rows:1fr auto;
  align-items:center;padding-block:clamp(3.5rem,9vh,6rem) clamp(2.75rem,7vh,4.25rem)}
.opening-core{display:flex;flex-direction:column;align-items:center;gap:clamp(1.75rem,4vh,2.75rem);
  text-align:center}
.opening .mark{max-width:clamp(112px,15vw,168px)}
.opening h1{max-width:16ch}
.opening-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;
  color:var(--text-2)}
.scrollcue{display:inline-flex;flex-direction:column;align-items:flex-end;gap:.5rem;color:var(--text-3)}
.scrollcue i{display:block;width:1px;height:26px;background:linear-gradient(var(--brand),transparent);
  animation:cue 2.4s ease-in-out infinite;transform-origin:top}
@keyframes cue{0%,100%{transform:scaleY(.35);opacity:.5}50%{transform:scaleY(1);opacity:1}}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;
  gap:clamp(2rem,5vw,4rem);min-height:min(72svh,720px);padding-block:clamp(2rem,6vh,4rem)}
.hero-copy{display:flex;flex-direction:column;gap:1.3rem;max-width:34rem}
.lede{margin:0;max-width:46ch;font-size:clamp(1rem,1.8vw,1.13rem);color:var(--text-2)}
.shield{position:relative;display:flex;align-items:center;justify-content:center;padding:1.5rem}
.shield::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 50% 46%,var(--lift) 0%,var(--lift-2) 46%,transparent 72%)}
.mark{position:relative;width:100%;max-width:250px;will-change:transform}
.mark img{display:block;width:100%;height:auto;filter:drop-shadow(0 14px 26px var(--mark-shadow))}
.mark .sweep{position:absolute;inset:0;pointer-events:none;
  -webkit-mask-image:url(logo.png);mask-image:url(logo.png);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-mode:alpha;
  background:linear-gradient(104deg,transparent 40%,rgba(233,239,228,.28) 47%,rgba(143,212,26,.30) 51%,transparent 58%);
  background-size:280% 100%;background-repeat:no-repeat;
  animation:sweep 6s cubic-bezier(.45,0,.35,1) infinite}
@keyframes sweep{0%,62%{background-position:-90% 0}100%{background-position:190% 0}}
.trace{width:100%;height:72px;display:block;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}

/* ---------- bento services ---------- */
.capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft)}
.cap{background:var(--ground);padding:1.25rem 1.2rem 1.4rem;display:flex;flex-direction:column;gap:.45rem}
.cap:first-child,.cap:last-child{grid-column:span 2}
.cap dt{color:var(--brand);font-weight:600}
.cap dd{margin:0;color:var(--text-2);font-size:.9rem;line-height:1.55}

/* ---------- sectors ---------- */
.who{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.who .section-head{position:sticky;top:6.5rem;margin-bottom:0}
.sectors{display:flex;flex-direction:column;gap:clamp(2.25rem,6vh,4rem);list-style:none;margin:0;padding:0}
.sector{display:flex;flex-direction:column;gap:.65rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.sector p{margin:0;color:var(--text-2);font-size:.95rem;max-width:38ch}

/* ---------- proof: stat tiles ---------- */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);margin-bottom:2.5rem}
.stat{background:var(--ground);padding:1.3rem 1.2rem;display:flex;flex-direction:column;gap:.3rem}
.stat b{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1;font-weight:800;font-stretch:108%;
  letter-spacing:-.03em;color:var(--brand);font-variant-numeric:tabular-nums}
.stat .label{color:var(--text);font-size:.88rem;font-weight:600}
.stat .note{color:var(--text-3);font-size:.79rem;line-height:1.45}

/* ---------- track record: one engagement, told properly ---------- */
.engagement{position:relative;border:1px solid var(--line);background:var(--surface);
  padding:clamp(1.4rem,3.5vw,2.2rem);margin-bottom:2.25rem}
/* the record's edge draws downward as the block is read */
.engagement::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:2px;
  background:linear-gradient(var(--brand),var(--edge-fade));
  transform:scaleY(0);transform-origin:50% 0}
.eng-head{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1.1rem;
  padding-bottom:1.1rem;border-bottom:1px solid var(--line-soft)}
.eng-head h3{font-size:clamp(1.1rem,2.4vw,1.4rem);font-stretch:106%;letter-spacing:-.015em}
.eng-head .who{color:var(--brand);font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}
.engagement > p{color:var(--text-2);max-width:62ch}
.eng-list{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.eng-list li{position:relative;padding-left:1.4rem;
  color:var(--text-2);font-size:.93rem;line-height:1.6;max-width:66ch}
.eng-list li::before{content:"";position:absolute;left:0;top:.58rem;
  width:6px;height:6px;background:var(--brand)}
.eng-list b{color:var(--text);font-weight:600}
.eng-pull{margin:1.6rem 0 0;padding-top:1.25rem;border-top:1px solid var(--line-soft);
  font-size:clamp(1.05rem,2.4vw,1.35rem);font-weight:700;font-stretch:106%;
  letter-spacing:-.015em;color:var(--text);max-width:none}
.eng-pull em{font-style:normal;color:var(--brand)}

/* founder background — employers named as career history, never as clients */
.founders{border-left:2px solid var(--line);padding:.2rem 0 .2rem 1.15rem}
.founders p{margin:0;color:var(--text-2);max-width:64ch}
.founders strong{color:var(--text)}
.founders .note{display:block;margin-top:.5rem;color:var(--text-3);font-size:.85rem}

/* ---------- buttons & CTA ---------- */
.btn{display:inline-block;font:inherit;font-weight:700;font-size:.95rem;
  color:var(--brand-ink);background:var(--brand);border:1px solid var(--brand);
  padding:.75rem 1.4rem;cursor:pointer;text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .12s ease}
.btn:hover{background:var(--brand-2);border-color:var(--brand-2)}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--brand);color:var(--brand)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{
  outline:2px solid var(--signal);outline-offset:2px}
.ctaband{border:1px solid var(--line);background:var(--surface);
  padding:clamp(1.5rem,4vw,2.4rem);display:flex;gap:1.5rem;
  align-items:center;justify-content:space-between;flex-wrap:wrap}
.ctaband h2{max-width:22ch}
.ctaband p{margin:.6rem 0 0;color:var(--text-2);max-width:44ch;font-size:.95rem}

/* ---------- contact ---------- */
.bigcontact{margin:0 0 .5rem}
.bigcontact a{color:var(--text);text-decoration:none;font-size:clamp(1.05rem,2.4vw,1.3rem);
  font-weight:700;font-stretch:106%;letter-spacing:-.015em;
  border-bottom:1px solid var(--brand);padding-bottom:2px}
.bigcontact a:hover{color:var(--brand)}
.hours{margin:1rem 0 0;color:var(--text-2);font-size:.9rem;max-width:32ch}

.contact{display:flex;flex-direction:column;gap:.9rem;max-width:34rem}
.notify{display:flex;gap:.5rem;flex-wrap:wrap}
.notify input{flex:1 1 15rem;min-width:0;font:inherit;font-size:.95rem;color:var(--text);
  background:var(--surface);border:1px solid var(--line);padding:.74rem .85rem;
  transition:border-color .15s ease,box-shadow .15s ease}
.notify input::placeholder{color:var(--text-2);opacity:.7}
.notify input:hover{border-color:var(--brand)}
.notify input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-wash);outline:none}
.form-note{margin:0;color:var(--text-2);font-size:.83rem;min-height:1.35em}
.form-note[data-state="ok"]{color:var(--brand)}
.form-note[data-state="err"]{color:var(--sev-high)}
.direct{color:var(--text-2);font-size:.92rem;margin:0}
.direct a{color:var(--text);text-decoration:none;border-bottom:1px solid var(--brand);padding-bottom:1px}

/* ---------- self-check ---------- */
.checkwrap{max-width:52rem}
.pickers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);margin-bottom:2rem}
.pick{background:var(--ground);border:0;padding:1rem .9rem;cursor:pointer;text-align:left;
  font:inherit;color:var(--text-2);transition:background .15s ease,color .15s ease}
.pick:hover{background:var(--surface-2);color:var(--text)}
.pick[aria-pressed="true"]{background:var(--brand);color:var(--brand-ink);font-weight:700}
.pick b{display:block;font-size:.93rem;margin-bottom:.15rem}
.pick span{display:block;font-size:.78rem;opacity:.8}
.qgroup{border:1px solid var(--line);border-bottom:0}
.qgroup:last-of-type{border-bottom:1px solid var(--line)}
.qhead{background:var(--surface-2);padding:.6rem .95rem;color:var(--text-2);border-bottom:1px solid var(--line)}
.q{padding:1rem .95rem;border-bottom:1px solid var(--line-soft);display:flex;
   gap:1rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.q:last-child{border-bottom:0}
.q .qt{max-width:46ch}
.q .qt b{display:block;font-size:.94rem;font-weight:600;margin-bottom:.25rem}
.q .qt span{display:block;color:var(--text-3);font-size:.82rem;line-height:1.5}
.answers{display:flex;gap:.3rem;flex:none}
.answers button{font:inherit;font-size:.78rem;padding:.34rem .7rem;cursor:pointer;
  background:transparent;color:var(--text-2);border:1px solid var(--line);transition:all .15s ease}
.answers button:hover{border-color:var(--brand);color:var(--text)}
.answers button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:700}
.answers button[data-v="no"][aria-pressed="true"]{background:var(--sev-high);border-color:var(--sev-high)}
.answers button[data-v="unsure"][aria-pressed="true"]{background:var(--sev-med);border-color:var(--sev-med)}
.result{border:1px solid var(--line);background:var(--surface);padding:1.5rem;margin-top:2rem}
.result[hidden]{display:none}
.scorebig{font-size:clamp(2.2rem,6vw,3.4rem);font-weight:800;font-stretch:108%;
  letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.meter{height:8px;background:var(--surface-2);margin:1rem 0 1.25rem;overflow:hidden}
.meter i{display:block;height:100%;background:var(--brand);width:0;transition:width .8s var(--ease)}
.gaps{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft)}
.gaps li{background:var(--ground);padding:.75rem .9rem;font-size:.89rem;display:flex;gap:.7rem;align-items:baseline}
.gaps li::before{content:attr(data-sev);flex:none;font-family:"IBM Plex Mono",monospace;
  font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;padding:.1rem .4rem;color:var(--brand-ink)}
.gaps li[data-sev-key="high"]::before{background:var(--sev-high)}
.gaps li[data-sev-key="med"]::before{background:var(--sev-med)}
.gaps li[data-sev-key="low"]::before{background:var(--sev-low)}

.takeaway{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.5rem}
/* The 'not sure counts as a gap' line appears the first time a visitor picks
   'Not sure'. It is a one-shot reveal, so it needs to catch the eye once and
   then settle into the page rather than keep flashing. */
#unsureNote{border-left:2px solid var(--sev-med);padding-left:.7rem}
#unsureNote.justsaid{animation:said .5s var(--ease)}
@keyframes said{from{opacity:0;transform:translateY(-.3rem)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){#unsureNote.justsaid{animation:none}}

/* ---------- print ----------
   The result is theirs to keep. Printing (or Save as PDF) produces a clean
   branded page with the site chrome stripped — no library, no data, no upload. */
@media print{
  @page{margin:16mm}
  html,body{background:#fff !important;color:#111 !important}
  .aura,.aperture,.masthead,.langbar,.trace,footer,.takeaway,
  .pickers,#status,#scoreBtn,.notice{display:none !important}
  .wrap,.checkwrap{max-width:none;padding:0}
  .section{padding-block:0}
  .result{border:1px solid #bbb;background:#fff;padding:0;margin:0}
  .result h2,.scorebig{color:#111 !important}
  .meter{border:1px solid #bbb}
  .meter i{background:#456F12 !important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .gaps{border-color:#ccc;background:#fff}
  .gaps li{background:#fff;border-bottom:1px solid #eee;color:#222}
  .gaps li::before{color:#fff !important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .gaps li[data-sev-key="high"]::before{background:#A8261C !important}
  .gaps li[data-sev-key="med"]::before{background:#96700F !important}
  .gaps li[data-sev-key="low"]::before{background:#1B5FA8 !important}
  .printhead{display:block !important}
  a[href^="mailto"]::after{content:" (" attr(href) ")";font-size:.85em;color:#555}
}
.printhead{display:none}

/* ---------- legal/doc pages ---------- */
.doc h2{margin:2.6rem 0 .8rem;font-size:clamp(1.25rem,2.6vw,1.6rem)}
.doc h3{margin:1.8rem 0 .5rem}
.doc p,.doc li{color:var(--text-2)}
.doc ul{padding-left:1.1rem;max-width:var(--measure)}
.doc li{margin-bottom:.4rem}
.doc strong{color:var(--text)}
.doc code{font-family:"IBM Plex Mono",monospace;font-size:.86em;color:var(--text);
  background:var(--surface-2);border:1px solid var(--line-soft);padding:.08em .38em}
.notice{border:1px solid var(--line);border-left:2px solid var(--sev-med);
  background:var(--surface);padding:1.1rem 1.25rem;margin:1.75rem 0}
.notice p{margin:0 0 .55rem;font-size:.9rem}
.notice p:last-child{margin-bottom:0}
.notice .label{font-family:"IBM Plex Mono",monospace;font-size:.64rem;letter-spacing:.15em;
  text-transform:uppercase;color:var(--sev-med);display:block;margin-bottom:.5rem}
.updated{color:var(--text-3);font-size:.83rem}

/* ---------- language suggestion bar ----------
   Offers the other language, never forces it. Both languages stay directly
   reachable and crawlable, and a dismissal or an explicit choice is remembered
   so it never asks twice.                                                     */
.langbar{position:fixed;left:0;right:0;bottom:0;z-index:40;
  background:var(--scrim-2);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-top:1px solid var(--line);padding:.75rem var(--gutter);
  display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;
  transform:translateY(100%);transition:transform .4s var(--ease)}
.langbar.show{transform:none}
.langbar p{margin:0;color:var(--text-2);font-size:.88rem;max-width:none}
.langbar a{color:var(--brand);font-weight:600;font-size:.88rem;text-decoration:none;
  border-bottom:1px solid var(--brand);padding-bottom:1px}
.langbar button{background:transparent;border:1px solid var(--line);color:var(--text-2);
  font:inherit;font-size:.78rem;padding:.28rem .6rem;cursor:pointer}
.langbar button:hover{border-color:var(--brand);color:var(--text)}
@media (prefers-reduced-motion: reduce){.langbar{transition:none}}

/* ---------- footer ---------- */
footer{padding-block:clamp(1.5rem,3vh,2rem);border-top:1px solid var(--line-soft);margin-top:3rem}
footer .wrap{display:flex;align-items:flex-start;justify-content:space-between;gap:1.2rem 2rem;flex-wrap:wrap}
footer .flinks{display:flex;gap:1.1rem;flex-wrap:wrap}
footer a{color:var(--text-2);text-decoration:none;font-size:.83rem}
footer a:hover{color:var(--brand)}
.status{display:inline-flex;align-items:center;gap:.6rem;color:var(--text-2)}
.dot{width:7px;height:7px;border-radius:50%;background:var(--signal);animation:pulse 2.8s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 var(--pulse)}70%{box-shadow:0 0 0 7px var(--pulse-0)}100%{box-shadow:0 0 0 0 var(--pulse-0)}}
.fmeta{color:var(--text-3);font-size:.79rem}

/* ---------- reveals ---------- */
html.js .reveal{opacity:0}
html.js .reveal.in{opacity:1}
html.js .r-rise{transform:translateY(22px)}
html.js .r-rise.in{transform:none;transition:opacity .75s var(--ease),transform .75s var(--ease);
  transition-delay:calc(var(--d,0)*80ms)}
html.js .r-wipe{clip-path:inset(0 100% 0 0)}
html.js .r-wipe.in{clip-path:inset(0 0 0 0);transition:opacity .45s var(--ease),clip-path .9s var(--ease);
  transition-delay:calc(var(--d,0)*90ms)}
html.js .r-focus{transform:translateY(16px);filter:blur(9px)}
html.js .r-focus.in{transform:none;filter:blur(0);
  transition:opacity .8s var(--ease),transform .8s var(--ease),filter .8s var(--ease);
  transition-delay:calc(var(--d,0)*90ms)}
/* trace — a record being read: the edge draws down, findings resolve in turn */
html.js .r-trace .eng-list li{opacity:0;transform:translateX(-10px)}
html.js .r-trace.in::before{transform:scaleY(1);transition:transform 1.15s var(--ease) .1s}
html.js .r-trace.in .eng-list li{opacity:1;transform:none;
  transition:opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay:calc(.3s + var(--i,0) * 130ms)}
html.js .r-trace .eng-pull{opacity:0;transform:translateY(8px)}
html.js .r-trace.in .eng-pull{opacity:1;transform:none;
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay:calc(.45s + var(--n,3) * 130ms)}

html.js .r-settle{transform:scale(.965)}
html.js .r-settle.in{transform:none;transition:opacity .8s var(--ease),transform .8s var(--ease)}

@media (max-width:900px){
  .capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}

  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .hero{grid-template-columns:1fr;gap:2.25rem;min-height:0}
  .shield{order:-1;justify-content:flex-start;padding:.5rem 0}
  .shield::before{background:radial-gradient(ellipse at 24% 50%,var(--lift) 0%,var(--lift-2) 48%,transparent 74%)}
  .mark{max-width:132px}
  .who{grid-template-columns:1fr;gap:2rem}
  .who .section-head{position:static}
}
@media (max-width:900px){
  .pickers{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:560px){
  .capabilities,.stats{grid-template-columns:1fr}

  .pickers{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cap:first-child,.cap:last-child{grid-column:auto}
  .q{flex-direction:column}
  .navlinks{gap:.8rem}
}
@media (max-width:560px){
  .opening-foot .where{display:none}
  .opening-foot{justify-content:flex-end}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation:none !important;transition:none !important}
  .mark .sweep{display:none}
  html.js .reveal{opacity:1;transform:none;filter:none;clip-path:none}
  .engagement::before{transform:scaleY(1)}
  html.js .r-trace .eng-list li,
  html.js .r-trace .eng-pull{opacity:1;transform:none}
  h1 .line > span{transform:none}
}

/* ---------- certificate verification page ---------- */
.cert{max-width:56rem;margin-inline:auto;padding-inline:var(--gutter);padding-block:clamp(2rem,6vh,4rem)}
.cert .badgewrap{margin:0 0 clamp(1.75rem,4vh,2.5rem)}
.cert .badgewrap img{display:block;width:100%;max-width:420px;height:auto}
.cert h1{font-size:clamp(1.6rem,3.6vw,2.5rem);margin:.6rem 0 1.1rem;max-width:20ch}
.pill{display:inline-flex;align-items:center;gap:.5rem;font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:.74rem;letter-spacing:.08em;padding:.3rem .7rem;border:1px solid var(--brand);
  color:var(--brand);background:var(--brand-wash)}
.pill::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--brand)}
.pill-due{border-color:var(--sev-med);color:var(--sev-med);background:transparent}
.pill-due::before{background:var(--sev-med)}
.pill-void{border-color:var(--sev-high);color:var(--sev-high);background:transparent}
.pill-void::before{background:var(--sev-high)}
.certclient{margin:clamp(1.75rem,4vh,2.5rem) 0;padding:1.25rem 1.4rem;border:1px solid var(--line);
  border-left:2px solid var(--brand);background:var(--surface)}
.certclient b{display:block;font-size:1.3rem;font-weight:800;font-stretch:106%;letter-spacing:-.01em;color:var(--text)}
.certclient span{color:var(--text-2);font-size:.92rem}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr));gap:1.1rem 1.5rem;
  margin:0 0 clamp(2rem,5vh,3rem);padding:0;list-style:none}
.fields dt{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:.64rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-3);margin-bottom:.25rem}
.fields dd{margin:0;color:var(--text);font-weight:600}
.cert h2{font-size:1.15rem;margin:clamp(2rem,4vh,2.75rem) 0 .9rem}
.checks{list-style:none;padding:0;margin:0;display:grid;
  grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:.5rem 1.5rem}
.checks li{position:relative;padding-left:1.7rem;color:var(--text-2);margin:0}
.checks li::before{content:"";position:absolute;left:0;top:.52em;width:.72rem;height:.38rem;
  border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(-45deg)}
.cert .block{margin:1.5rem 0}
.cert .block b{color:var(--text)}
.cert .block p{color:var(--text-2);margin:.2rem 0 0}
.fineprint{margin-top:clamp(2rem,5vh,3rem);padding-top:1.25rem;border-top:1px solid var(--line);
  color:var(--text-3);font-size:.84rem;max-width:74ch}
.certfoot{margin-top:2rem;color:var(--text-2);font-size:.9rem}
.certnotice{border:1px solid var(--sev-med);border-left-width:2px;background:var(--surface);
  padding:1rem 1.2rem;margin:0 0 1.75rem;color:var(--text-2);font-size:.92rem}
.certnotice[hidden]{display:none}
.certmast{border-bottom:1px solid var(--line-soft);padding-block:.9rem}
.certmast .wrap{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.certmast .certbrand{display:flex;align-items:center;gap:.7rem}
.certmast img{display:block;width:30px;height:auto}
.certmast b{font-weight:800;font-stretch:110%;font-size:.95rem}
.certmast span{display:block;color:var(--text-2);font-size:.58rem;letter-spacing:.18em;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;text-transform:uppercase}
.certmast .certcontrols{display:flex;align-items:center;gap:.45rem}
@media print{
  .certmast,.dlbtn{display:none !important}
  .cert{max-width:none;padding:0}
  .certclient,.certnotice{border-color:#999}
  .checks li::before{border-color:#333}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:.85em;color:#555}
}
