@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* PracticeCOO — layout concept: an operator's chart on clean white. Aqua (318 C) leads in bands and the hero,
   deep teal (320 C) carries links and controls, greens and peaches color-code the seven assessment areas,
   and raspberry (214 C) is reserved for the one call to action. Slate ink replaces black. */
:root {
  /* Brand palette (Pantone, sRGB approximations) */
  --p365: #D4EB8E; --p366: #C4E17F; --p367: #A4D65E;
  --p317: #B1E4E3; --p318: #88DBDF; --p319: #2DCCD3; --p320: #009CA6;
  --p148: #FFD69B; --p149: #FFC27B; --p150: #FFB25B;
  --p214: #CE0058;

  /* Roles */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #F1FAFA;            /* 317 C at low strength: alternate bands */
  --hero: #E4F6F6;            /* 317 C wash behind the hero */
  --ink: #1F2A30;             /* slate ink */
  --ink-2: #45545B;
  --muted: #5F6F76;
  --line: #D8E4E6;
  --grid: rgba(0, 156, 166, .08);
  --action: #00737A;          /* 320 C darkened for AA text and solid controls */
  --on-action: #FFFFFF;
  --highlight: #00737A;       /* eyebrows, emphasis */
  --warm: #FFB25B;            /* 150 C markers */
  --cta: #CE0058;             /* 214 C, primary call to action only */
  --cta-hover: #A80048;
  --on-cta: #FFFFFF;
  --band-cta: #88DBDF;        /* 318 C */
  --on-band-cta: #1F2A30;
  --ok: #A4D65E;   --ok-text: #3E6E12;     /* 367 C */
  --watch: #FFB25B; --watch-text: #9A5200; /* 150 C */
  --flag: #CE0058; --flag-text: #CE0058;   /* 214 C */
  --area-1: var(--p318); --area-2: var(--p319); --area-3: var(--p320); --area-4: var(--p367);
  --area-5: var(--p366); --area-6: var(--p149); --area-7: var(--p150);
  --mark-bg: #1F2A30; --mark-line: #2DCCD3;
  --f-display: "Spectral", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --wrap: 72rem;
  --radius: 6px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--highlight); }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: var(--s-3) var(--s-4); z-index: 100; }
.skip:focus { left: var(--s-4); top: var(--s-4); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 46rem; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; color: var(--ink); text-wrap: balance; margin: 0; letter-spacing: -.012em; }
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.55rem); line-height: 1.12; }
h3 { font-size: 1.32rem; line-height: 1.25; font-weight: 600; }
p { margin: 0; max-width: 65ch; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); }
.label { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label.brass { color: var(--highlight); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-5); }
em.mark { font-style: italic; color: var(--highlight); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: auto; height: 52px; flex: none; }
.brand-name { font: 600 1.18rem/1 var(--f-display); letter-spacing: -.01em; }
.brand-name b { font-weight: 600; color: var(--highlight); }
.brand-sub { display: block; font: 500 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav-links { display: flex; align-items: center; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--p319); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); padding: .45rem .7rem; font: 500 .8rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-block: var(--s-2) var(--s-4); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding-block: .8rem; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border: 0; margin-top: var(--s-3); text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: var(--radius); font: 600 .98rem/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--cta); color: var(--on-cta); }
.btn-primary:hover { background: var(--cta-hover); color: var(--on-cta); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.nav-links .btn { color: var(--on-cta); padding: .65rem 1rem; font-size: .9rem; }
.nav-links .btn:hover { color: var(--on-cta); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Sections */
.section { padding-block: var(--s-9); }
.section-tight { padding-block: var(--s-8); }
.band { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 48rem; }

/* Hero */
.hero { background-color: var(--hero); position: relative; padding-block: var(--s-8) var(--s-9); overflow: hidden;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); min-width: 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); font-size: .92rem; }
.hero-proof span::before { content: "— "; color: var(--warm); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

/* Scorecard (signature element) */
.scorecard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: var(--s-5); box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(18, 48, 43, .35); min-width: 0; }
.scorecard-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); margin-bottom: var(--s-2); }
.scorecard-title { font: 600 1.05rem var(--f-display); }
.sc-row { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) minmax(3rem, 5.5rem) 5rem; align-items: center; gap: var(--s-3); padding-block: .62rem; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.sc-row:last-of-type { border-bottom: 0; }
.sc-n { font: 500 .72rem var(--f-mono); color: var(--muted); }
.sc-bar { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.sc-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ok); }
.sc-bar i.watch { background: var(--watch); } .sc-bar i.flag { background: var(--flag); }
.sc-pill { white-space: nowrap; font: 600 .66rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: .32rem .3rem; border-radius: 99px; border: 1px solid currentColor; }
.sc-pill.ok { color: var(--ok-text); } .sc-pill.watch { color: var(--watch-text); } .sc-pill.flag { color: var(--flag-text); }
.scorecard-foot { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font: .74rem/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 420px) { .sc-row { grid-template-columns: 1.2rem minmax(0, 1fr) 5rem; } .sc-bar { display: none; } }

/* Figures strip */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.figure { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--line); display: grid; gap: var(--s-2); align-content: start; }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure strong { font: 500 clamp(2rem, 1.4rem + 1.8vw, 2.8rem)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.figure span { color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
@media (max-width: 820px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figure:nth-child(3) { border-left: 0; padding-left: 0; } .figure:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .figures { grid-template-columns: 1fr; } .figure { border-left: 0; padding-left: 0; } .figure + .figure { border-top: 1px solid var(--line); } }

/* Two column split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--s-8); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Problem list */
.symptoms { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.symptoms li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s-3); }
.symptoms li::before { content: "▸"; color: var(--warm); font-size: .9rem; padding-top: .15rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.band .card { background: var(--surface); }
.card p { color: var(--ink-2); font-size: .98rem; }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .96rem; display: grid; gap: .35rem; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* Seven areas */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area { background: var(--surface); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.band .area { background: var(--surface); }
.area p { font-size: .95rem; color: var(--ink-2); }
.area .label { color: var(--highlight); }

/* Timeline (90-day) */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.phase { padding: var(--s-5) var(--s-5) var(--s-5) 0; display: grid; gap: var(--s-3); align-content: start; position: relative; }
.phase + .phase { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.phase::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--warm); }
.phase + .phase::before { left: var(--s-5); }
.phase .days { font: 500 .78rem var(--f-mono); letter-spacing: .1em; color: var(--highlight); text-transform: uppercase; }
.phase ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .96rem; display: grid; gap: .35rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .phase, .phase + .phase { padding: 0 0 var(--s-6) var(--s-5); border-left: 0; }
  .phase::before, .phase + .phase::before { top: .35rem; left: -7px; } }

/* Quote / statement */
.statement { font: 400 clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem)/1.3 var(--f-display); color: var(--ink); max-width: 30ch; text-wrap: balance; }
.statement em { color: var(--highlight); }

/* Case study */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-7); padding-block: var(--s-7); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case > * { min-width: 0; }
.case dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-4); margin: 0; font-size: .93rem; }
.case dt { font: 500 .72rem/1.9 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; gap: var(--s-5); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-5) 2.5rem var(--s-5) 0; position: relative; font: 600 1.12rem/1.4 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--f-mono); color: var(--highlight); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: var(--s-5); color: var(--ink-2); }
.faq .answer > * + * { margin-top: var(--s-3); }

/* Page header (interior) */
.page-head { background-color: var(--hero); padding-block: var(--s-8) var(--s-7); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.page-head .stack-lg { max-width: 50rem; }
.crumbs { font: .8rem var(--f-mono); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* Prose (articles) */
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-size: 1.9rem; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .45rem; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 var(--s-5); border-left: 3px solid var(--p319); font: italic 1.25rem/1.5 var(--f-display); color: var(--ink); }
.byline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font: .82rem var(--f-mono); color: var(--muted); }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.55rem; } .post-item h2 a { color: var(--ink); text-decoration: none; } .post-item h2 a:hover { color: var(--highlight); }
@media (max-width: 640px) { .post-item { grid-template-columns: 1fr; gap: var(--s-2); } }

/* Contact */
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .93rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .85rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--highlight); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 9rem; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--ok); }
.contact-aside { display: grid; gap: var(--s-5); align-content: start; }
.contact-aside .card { gap: var(--s-2); }

/* CTA band */
.cta { background: var(--band-cta); color: var(--on-band-cta); }
.cta h2, .cta p { color: var(--on-band-cta); }
.cta p { opacity: .85; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-6); padding-block: var(--s-8); }


/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-7) var(--s-6); font-size: .92rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); }
.foot-grid h3 { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { color: var(--ink-2); text-decoration: none; } .foot-grid a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d2 { animation-delay: .08s; } .reveal.d3 { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(10px); opacity: .001; } to { transform: none; opacity: 1; } }
.figures.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures.three .figure:nth-child(3) { border-left: 1px solid var(--line); padding-left: var(--s-5); border-top: 0; }
@media (max-width: 600px) { .figures.three { grid-template-columns: 1fr; } .figures.three .figure, .figures.three .figure:nth-child(3) { border-left: 0; padding-left: 0; } .figures.three .figure + .figure { border-top: 1px solid var(--line); } }
.area-cta { background: var(--ink) !important; color: var(--bg); border-top-color: var(--cta) !important; text-decoration: none; align-content: center; }
.area-cta h3, .area-cta p { color: var(--bg); } .area-cta .label { color: var(--p318) !important; }
.area-cta:hover { background: var(--cta) !important; } .area-cta:hover h3, .area-cta:hover p { color: var(--bg); }

/* Seven-area color coding (greens, aquas, peaches) */
.area { border-top: 5px solid transparent; }
.area:nth-child(1) { border-top-color: var(--area-1); } .area:nth-child(2) { border-top-color: var(--area-2); }
.area:nth-child(3) { border-top-color: var(--area-3); } .area:nth-child(4) { border-top-color: var(--area-4); }
.area:nth-child(5) { border-top-color: var(--area-5); } .area:nth-child(6) { border-top-color: var(--area-6); }
.area:nth-child(7) { border-top-color: var(--area-7); }
.area .label { color: var(--muted); }
.sc-n { display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; color: #1F2A30 !important; font-size: .66rem; }
.sc-row:nth-child(2) .sc-n { background: var(--area-1); } .sc-row:nth-child(3) .sc-n { background: var(--area-2); }
.sc-row:nth-child(4) .sc-n { background: var(--area-3); } .sc-row:nth-child(5) .sc-n { background: var(--area-4); }
.sc-row:nth-child(6) .sc-n { background: var(--area-5); } .sc-row:nth-child(7) .sc-n { background: var(--area-6); }
.sc-row:nth-child(8) .sc-n { background: var(--area-7); }
.figure strong { border-bottom: 3px solid var(--p318); padding-bottom: .35rem; justify-self: start; }
.figure:nth-child(2) strong { border-color: var(--p367); } .figure:nth-child(3) strong { border-color: var(--p149); } .figure:nth-child(4) strong { border-color: var(--p320); }
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.site-footer .brand-mark { height: 36px; }
.about-figures { padding-bottom: 0; }
.epigraph { font: italic 400 clamp(1.15rem, .95rem + .9vw, 1.6rem)/1.35 var(--f-display); color: var(--ink-2); max-width: none; margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); text-wrap: balance; }

/* Graphics */
.icon { display: inline-flex; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--hero); color: var(--action); align-items: center; justify-content: center; margin-bottom: var(--s-1); }
.icon svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 1.35rem; height: 2px; background: var(--line); }
.flow li { position: relative; text-align: center; }
.flow a { display: grid; justify-items: center; gap: .25rem; text-decoration: none; color: var(--ink); padding-inline: var(--s-2); }
.flow a:hover b { color: var(--action); }
.flow-dot { width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center; font: 600 .95rem var(--f-mono); color: var(--ink); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.flow-dot.f1 { background: var(--p318); } .flow-dot.f2 { background: var(--p367); } .flow-dot.f3 { background: var(--p149); }
.flow b { font: 600 1.02rem var(--f-body); margin-top: .35rem; }
.flow small { font: .8rem var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.flow-wrap { margin-bottom: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; gap: var(--s-4); } .flow::before { display: none; } .flow a { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: var(--s-4); } .flow-dot { grid-row: span 2; } .flow b { margin-top: 0; } }
.wheel-split { align-items: center; margin-bottom: var(--s-7); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.wheel { width: min(100%, 260px); justify-self: center; }
.wheel text { font: 600 11px var(--f-mono); fill: var(--ink); }
.wheel .wheel-n { font: 500 34px var(--f-display); fill: var(--ink); } .wheel .wheel-l { font: 500 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.wheel path { transition: opacity .15s; } .wheel:hover path { opacity: .55; } .wheel path:hover { opacity: 1; }
.symptoms.numbered { counter-reset: sym; }
.symptoms.numbered li::before { counter-increment: sym; content: counter(sym, decimal-leading-zero); font: 600 .72rem/1.6 var(--f-mono); color: var(--ink); background: var(--p318); border-radius: 50%; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; }
.symptoms.numbered li { grid-template-columns: 2.2rem minmax(0, 1fr); }
.symptoms.numbered li:nth-child(2)::before { background: var(--p319); } .symptoms.numbered li:nth-child(3)::before { background: var(--p367); } .symptoms.numbered li:nth-child(4)::before { background: var(--p366); } .symptoms.numbered li:nth-child(5)::before { background: var(--p149); } .symptoms.numbered li:nth-child(6)::before { background: var(--p150); }
@media (max-width: 900px) { .wheel-split { grid-template-columns: 1fr; } .wheel { justify-self: start; width: min(100%, 220px); } }
.figures.three { grid-template-columns: 1.8fr 1fr 1fr; }
.figures.three .figure strong { white-space: nowrap; font-size: clamp(1.5rem, .9rem + 1.5vw, 2.4rem); }
@media (max-width: 600px) { .figures.three .figure strong { white-space: normal; } .figures.three .figure { min-width: 0; } }

/* Case studies */
.cs-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-bottom: var(--s-8); }
.cs-card { display: grid; gap: .35rem; align-content: start; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); border-top: 5px solid var(--p318); transition: transform .15s, box-shadow .15s; }
.cs-card:nth-child(2) { border-top-color: var(--p367); } .cs-card:nth-child(3) { border-top-color: var(--p149); } .cs-card:nth-child(4) { border-top-color: var(--p320); }
.cs-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(31,42,48,.4); }
.cs-card b { font: 600 1.08rem/1.3 var(--f-display); }
.cs-card small { font: .78rem var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cs-num { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--p318); font: 600 1rem var(--f-mono); color: var(--ink); flex: none; }
.cs-num.sm { width: 2.2rem; height: 2.2rem; font-size: .8rem; }
.cs-card:nth-child(2) .cs-num, .cs:nth-of-type(2) .cs-head .cs-num { background: var(--p367); }
.cs-card:nth-child(3) .cs-num, .cs:nth-of-type(3) .cs-head .cs-num { background: var(--p149); }
.cs-card:nth-child(4) .cs-num, .cs:nth-of-type(4) .cs-head .cs-num { background: var(--p320); color: #fff; }
.cs { padding-block: var(--s-8); border-top: 1px solid var(--line); display: grid; gap: var(--s-6); scroll-margin-top: 5rem; }
.cs-head { display: flex; gap: var(--s-5); align-items: center; }
.cs-stats { max-width: 56rem; }
.cs-body { max-width: 46rem; }
.cs-body h3 { margin-top: 1.6em; }
.cs-body .symptoms { padding-left: 0; display: grid; gap: 0; }
.case-sub { font: italic 1.2rem var(--f-display); color: var(--ink-2); }
.case-result { background: var(--hero); border-left: 4px solid var(--p319); padding: var(--s-4) var(--s-5); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.case-box { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; background: var(--surface); }
.mini-steps { list-style: none; counter-reset: ms; padding: 0 !important; margin: 0; display: grid; gap: .55rem !important; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .97rem; }
.mini-steps li::before { content: counter(ms); width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--hero); color: var(--action); font: 600 .75rem/1.5rem var(--f-mono); text-align: center; }
.muted { color: var(--muted); }
@media (max-width: 900px) { .cs-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cs-index, .case-grid { grid-template-columns: 1fr; } .cs-head { align-items: flex-start; } }

/* Health check quiz */
.hc { max-width: 60rem; }
.hc-quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: var(--s-4); box-shadow: 0 24px 48px -32px rgba(31,42,48,.35); }
.hc-top { display: flex; align-items: center; gap: var(--s-4); }
.hc-progress { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hc-seg { height: 8px; border-radius: 4px; background: var(--line); transition: background .2s, transform .2s; }
.hc-seg.now { transform: scaleY(1.5); }
.hc-seg.done.a1, .hc-area.a1::before { background: var(--area-1); } .hc-seg.done.a2, .hc-area.a2::before { background: var(--area-2); }
.hc-seg.done.a3, .hc-area.a3::before { background: var(--area-3); } .hc-seg.done.a4, .hc-area.a4::before { background: var(--area-4); }
.hc-seg.done.a5, .hc-area.a5::before { background: var(--area-5); } .hc-seg.done.a6, .hc-area.a6::before { background: var(--area-6); }
.hc-seg.done.a7, .hc-area.a7::before { background: var(--area-7); }
.hc-count { white-space: nowrap; }
.hc-area { display: flex; align-items: center; gap: .6rem; color: var(--ink-2); margin-top: var(--s-3); }
.hc-area::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; }
.hc-q { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.25; max-width: 32ch; outline: none; }
.hc-hint { color: var(--muted); font-size: .95rem; }
.hc-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-2); }
.hc-opt { display: grid; justify-items: center; gap: .45rem; padding: var(--s-4) var(--s-2); border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .15s, background .15s, transform .1s; }
.hc-opt:hover { border-color: var(--p319); background: var(--hero); }
.hc-opt:active { transform: scale(.97); }
.hc-opt[aria-pressed="true"] { border-color: var(--action); background: var(--hero); }
.hc-n { font: 500 1.7rem/1 var(--f-display); }
.hc-l { font-size: .8rem; color: var(--ink-2); text-align: center; line-height: 1.25; }
.hc-opt:nth-child(1) .hc-n { color: var(--flag-text); } .hc-opt:nth-child(2) .hc-n { color: var(--watch-text); } .hc-opt:nth-child(3) .hc-n { color: var(--ink-2); } .hc-opt:nth-child(4) .hc-n, .hc-opt:nth-child(5) .hc-n { color: var(--ok-text); }
.hc-back { justify-self: start; padding: .55rem 1rem; font-size: .9rem; }
@media (max-width: 600px) { .hc-scale { grid-template-columns: 1fr; gap: var(--s-2); } .hc-opt { grid-template-columns: 2.2rem 1fr; justify-items: start; align-items: center; padding: .75rem var(--s-4); } .hc-l { text-align: left; font-size: .95rem; } }
.hc-result-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; }
.hc-overall { display: grid; justify-items: center; text-align: center; gap: var(--s-3); position: relative; }
.hc-ring { width: 210px; height: 210px; }
.hc-ring-bg { fill: none; stroke: var(--line); stroke-width: 12; }
.hc-ring-val { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1); }
.hc-ring-val.ok { stroke: var(--p367); } .hc-ring-val.watch { stroke: var(--p150); } .hc-ring-val.flag { stroke: var(--p214); }
.hc-ring-text { position: absolute; top: 0; height: 210px; display: grid; place-content: center; text-align: center; }
.hc-ring-text strong { font: 500 3.6rem/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.hc-ring-text span { font: .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hc-overall h2 { font-size: 1.5rem; outline: none; }
.hc-verdict { padding: .4rem .9rem; font-size: .75rem; }
.hc-summary { color: var(--ink-2); max-width: 34ch; }
.hc-card .scorecard-foot a { color: inherit; }
.hc-next { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-7); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.hc-tips li { align-items: start; }
.hc-tips li b { display: block; font-family: var(--f-display); font-size: 1.1rem; }
.hc-tips li > :last-child { color: var(--ink-2); }
.hc-tips li { grid-template-columns: 2.2rem minmax(0, 1fr); }
.hc-tips li span { display: block; }
.hc-cta { background: var(--hero); border-radius: 10px; padding: var(--s-6); align-self: start; }
@media (max-width: 860px) { .hc-result-grid, .hc-next { grid-template-columns: 1fr; gap: var(--s-6); } }
.scorecard-foot a { color: var(--action); font-weight: 500; }
[hidden] { display: none !important; }
.hc-rows .sc-row:nth-child(1) .sc-n { background: var(--area-1); } .hc-rows .sc-row:nth-child(2) .sc-n { background: var(--area-2); }
.hc-rows .sc-row:nth-child(3) .sc-n { background: var(--area-3); } .hc-rows .sc-row:nth-child(4) .sc-n { background: var(--area-4); }
.hc-rows .sc-row:nth-child(5) .sc-n { background: var(--area-5); } .hc-rows .sc-row:nth-child(6) .sc-n { background: var(--area-6); }
.hc-rows .sc-row:nth-child(7) .sc-n { background: var(--area-7); }
.hc-rows .sc-row:last-child { border-bottom: 0; }
.scorecard-foot.sc-cta { display: grid; gap: var(--s-3); font: 500 1.02rem/1.45 var(--f-body); color: var(--ink-2); }
.scorecard-foot.sc-cta .btn { justify-self: stretch; justify-content: center; color: var(--on-cta); font-size: 1rem; }
.scorecard-foot.sc-cta .btn:hover { color: var(--on-cta); }
.ph-row { display: flex; align-items: center; gap: var(--s-6); }
.ph-photo { width: clamp(96px, 14vw, 150px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--p318), 0 14px 30px -18px rgba(31,42,48,.45); }
@media (max-width: 480px) { .ph-row { gap: var(--s-4); } }
