*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
body{font-family:var(--body);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overflow-x:hidden;}
a{color:inherit;text-decoration:none;}
.nav-hamburger{display:none;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px;margin-left:auto;cursor:pointer;background:none;border:none;gap:5px;}
.nav-hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:transform .3s,opacity .2s;}
nav.menu-open .nav-hamburger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
nav.menu-open .nav-hamburger span:nth-child(2){opacity:0;}
nav.menu-open .nav-hamburger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.nav-drawer{position:fixed;top:68px;left:0;right:0;z-index:99;background:color-mix(in srgb, var(--bg) 97%, transparent);backdrop-filter:blur(22px);border-bottom:1px solid var(--border);padding:12px 0 20px;display:flex;flex-direction:column;align-items:center;gap:4px;max-height:0;overflow:hidden;opacity:0;pointer-events:none;transition:max-height .38s,opacity .28s;}
.nav-drawer.open{max-height:calc(100vh - 68px);overflow-y:auto;opacity:1;pointer-events:auto;}
.nav-drawer a{font-size:15px;font-weight:500;color:var(--text);padding:10px 0;width:100%;text-align:center;}
.wrap{max-width:780px;margin:0 auto;padding:112px 24px 72px;}
.crumbs{font-size:13px;color:var(--text-faint);margin-bottom:22px;}
.crumbs a{color:var(--text-muted);} .crumbs a:hover{color:var(--text);}
.link{color:var(--accent);font-weight:600;} .link:hover{color:var(--accent-hi);}
.hero{display:flex;gap:22px;align-items:center;}
html.dl-text-huge .hero{flex-wrap:wrap;}
.hs{flex:none;width:92px;height:92px;border-radius:50%;overflow:hidden;background:var(--surface-sunken);display:grid;place-items:center;color:var(--text-muted);font-weight:650;font-size:30px;position:relative;}
.hs img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;}
.hs .ini{position:absolute;inset:0;display:none;place-items:center;}
.hs.noimg .ini,html.dl-off-headshots .hs .ini{display:grid;}
.eyebrow{font-size:14px;color:var(--text-muted);margin-bottom:6px;}
h1{font-size:clamp(36px,5vw,56px);font-weight:680;line-height:1;letter-spacing:-.04em;color:var(--ink-display);text-wrap:balance;}
.dek{font-size:18px;line-height:1.55;color:var(--text-muted);max-width:660px;margin:20px 0 30px;text-wrap:pretty;}
.keys{display:grid;grid-template-columns:repeat(var(--k,4),1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.key{padding:18px 0 16px;}
.key + .key{padding-left:20px;border-left:1px solid var(--border);}
.key-v{font-size:30px;font-weight:650;letter-spacing:-.03em;color:var(--ink-display);line-height:1;}
.key-l{font-size:13px;color:var(--text-muted);margin-top:8px;}
.week{margin:28px 0 0;padding:18px 20px;border-radius:var(--radius-md);background:var(--moonlit);border:1px solid var(--moonlit-edge);}
.wk-t{font-weight:650;font-size:16px;color:var(--ink-display);}
.wk-s{font-size:14px;color:var(--text-muted);margin-top:4px;line-height:1.6;}
.wk-pro{font-size:13.5px;color:var(--text-muted);margin-top:10px;padding-top:10px;border-top:1px solid var(--border);line-height:1.6;}
h2{font-size:clamp(22px,2.6vw,28px);font-weight:660;letter-spacing:-.03em;color:var(--ink-display);margin:56px 0 6px;text-wrap:balance;}
.h2-s{font-size:14px;color:var(--text-muted);margin-bottom:22px;line-height:1.6;}
.sz{position:relative;margin-left:38px;}
.sz-grid{position:relative;height:220px;}
.sz-line{position:absolute;left:0;right:0;border-top:1px dashed var(--border);}
.sz-line span{position:absolute;left:-40px;top:-8px;width:32px;text-align:right;font-size:11px;color:var(--text-faint);}
.sz-line.cut{border-top-style:solid;border-color:var(--border-strong);}
.sz-dot{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--bg);border:2px solid var(--accent);}
.sz-dot.win{background:var(--accent);width:16px;height:16px;margin:-8px 0 0 -8px;}
.sz-dot.mc{border-color:var(--text-faint);border-style:dashed;}
.sz-ax{display:flex;justify-content:space-between;font-size:12px;color:var(--text-faint);margin-top:12px;}
.sz-wins{font-size:13.5px;color:var(--text-muted);margin-top:14px;line-height:1.6;}
.sz-wins b{color:var(--ink-display);font-weight:650;}
.cb-row{display:grid;grid-template-columns:150px 1fr 64px 52px;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--border);}
.cb-lab{font-size:15px;color:var(--text);}
.cb-track{position:relative;height:10px;border-radius:5px;background:var(--track);overflow:hidden;}
.cb-bar{position:absolute;top:0;bottom:0;border-radius:3px;}
.cb-bar.up{background:var(--accent);border-radius:0 5px 5px 0;} .cb-bar.dn{background:var(--text-faint);border-radius:5px 0 0 5px;}
.cb-v{font-size:16px;font-weight:650;text-align:right;color:var(--ink-display);}
.cb-v.neg{color:var(--text-muted);}
.cb-r{font-size:13px;color:var(--text-muted);text-align:right;}
.cb-tot{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 0;font-size:14px;color:var(--text-muted);}
.cb-tot b{font-size:16px;color:var(--ink-display);font-weight:650;}
.stats{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:10px;margin-top:22px;}
.st{padding:14px 14px 12px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);}
.st-v{font-size:20px;font-weight:650;color:var(--ink-display);letter-spacing:-.02em;}
.st-l{font-size:12.5px;color:var(--text-muted);margin-top:4px;}
.st-r{font-size:12px;color:var(--text-faint);margin-top:2px;}
.thin{font-size:15px;line-height:1.65;color:var(--text-muted);padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.notes{list-style:none;}
.notes li{padding:16px 0;border-bottom:1px solid var(--border);font-size:15.5px;line-height:1.65;color:var(--text-muted);}
.notes li:first-child{border-top:1px solid var(--border);}
.notes b{color:var(--ink-display);font-weight:650;}
.form-wrap{padding:18px 18px 12px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);}
.form-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:13px;color:var(--text-muted);}
.form-head b{font-size:20px;color:var(--ink-display);font-weight:650;margin-right:6px;}
.form-svg{display:block;}
.form-ev{display:flex;gap:2px;margin-top:8px;font-size:11px;color:var(--text-faint);}
.form-ev span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-top:1px solid var(--border);padding-top:5px;min-width:0;}
.two{display:grid;grid-template-columns:1fr 1fr;gap:36px;}
.two > *{min-width:0;}
.res{list-style:none;}
.res li{display:grid;grid-template-columns:54px 1fr auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);font-size:14px;align-items:baseline;}
.r-d{color:var(--text-faint);font-size:12.5px;} .r-e{color:var(--text);min-width:0;}
.r-f{font-weight:650;color:var(--text-muted);text-align:right;}
.res li.win .r-f{color:var(--accent);} .res li.t10 .r-f{color:var(--text);} .res li.mc .r-f{color:var(--text-faint);font-weight:500;}
details.more summary{list-style:none;cursor:pointer;font-size:13.5px;color:var(--accent);font-weight:600;padding:12px 0 0;}
details.more summary::-webkit-details-marker{display:none;}
details.more[open] summary{display:none;}
.crs{list-style:none;}
.crs li{display:grid;grid-template-columns:1fr auto 60px;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px;align-items:baseline;}
.c-n{min-width:0;}
.c-n a{color:var(--text);border-bottom:1px solid var(--border-strong);} .c-n a:hover{border-color:var(--text);}
.c-s{font-size:12.5px;color:var(--text-faint);white-space:nowrap;} .c-v{text-align:right;font-weight:650;color:var(--ink-display);} .c-v.neg{color:var(--text-muted);}
.sub-h{font-size:13px;color:var(--text-muted);margin:24px 0 6px;font-weight:600;}
.sub-h:first-of-type{margin-top:0;}
.yr{padding:18px 18px 12px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);}
.yr-ax{display:flex;justify-content:space-between;font-size:calc(11.5px * var(--dl-cap, 1));color:var(--text-faint);margin-top:6px;}
.pro{margin-top:48px;padding:20px;border-radius:var(--radius-md);border:1px solid var(--border);display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;}
.pro p{font-size:14.5px;color:var(--text-muted);line-height:1.6;max-width:520px;}
.pro p b{color:var(--ink-display);font-weight:650;}
.pro a.btn{flex:none;background:var(--text);color:var(--bg);font-weight:650;font-size:14px;padding:10px 18px;border-radius:999px;}
.method{font-size:12.5px;line-height:1.7;color:var(--text-faint);margin-top:40px;padding-top:18px;border-top:1px solid var(--border);}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px;}
@media(max-width:700px){
 nav{padding:0 20px;}.nav-links{display:none;}.nav-hamburger{display:flex;}
 .wrap{padding:92px 16px 56px;}
 .hero{gap:16px;} .hs{width:76px;height:76px;font-size:24px;}
 .dek{font-size:16px;margin:16px 0 24px;}
 .keys{grid-template-columns:1fr 1fr;}
 .key:nth-child(odd){padding-left:0;border-left:0;}
 .key:nth-child(n+3){border-top:1px solid var(--border);}
 .key-v{font-size:26px;}
 .sz{margin-left:34px;} .sz-grid{height:180px;} .sz-line span{left:-36px;width:28px;}
 .cb-row{grid-template-columns:1fr auto auto;grid-template-areas:'lab v r' 'trk trk trk';row-gap:8px;}
 .cb-lab{grid-area:lab;} .cb-track{grid-area:trk;} .cb-v{grid-area:v;} .cb-r{grid-area:r;min-width:40px;}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));}
 .two{grid-template-columns:1fr;gap:0;}
 .pro{flex-direction:column;align-items:flex-start;}
}
/* ==== SYNCED NAV — scripts/sync-chrome.js, do not edit inline ==== */
/* The bar condenses from full-width and transparent into a floating capsule across the first
   120px of scroll. --p is written by assets/js/nav.js; every property below is interpolated
   from it rather than switched at a threshold, which is what makes the motion feel like it
   belongs to the visitor. See docs/design-language.md section 10.

   Without nav.js, --p stays 0 and this renders the resting state: full width, no ground,
   a single hairline. That is a finished design, not a half-condensed one. */
nav{--p:0;position:fixed;z-index:100;display:flex;align-items:center;
  top:calc(var(--p) * 12px);
  left:0;right:0;margin-inline:auto;
  /* Pages that have not been rebranded yet do not define --page; 1240 is the same rail. */
  max-width:calc(min(100% - 28px, var(--page,1240px)) - var(--p) * 190px);
  height:calc(70px - var(--p) * 10px);
  padding:0 var(--page-pad,32px);
  border:1px solid color-mix(in srgb, var(--border-strong) calc(var(--p) * 62%), transparent);
  border-radius:calc(var(--p) * 100px);
  background:color-mix(in srgb, var(--nav-bg) calc(var(--p) * 100%), transparent);
  backdrop-filter:blur(calc(var(--p) * 30px)) saturate(calc(100% + var(--p) * 80%));
  -webkit-backdrop-filter:blur(calc(var(--p) * 30px)) saturate(calc(100% + var(--p) * 80%));
  /* The resting hairline fades out as the capsule edge fades in, so there is never both. */
  box-shadow:0 1px 0 color-mix(in srgb, var(--border) calc((1 - var(--p)) * 100%), transparent),
             0 18px 40px -26px rgba(0,0,0,calc(var(--p) * 0.42));}
@media(prefers-reduced-motion:reduce){nav{transition:none;}}
nav .nav-logo,nav .logo{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0;}
nav .nav-logo svg,nav .logo svg{width:26px;height:26px;flex-shrink:0;color:var(--text);}
/* Every wordmark class in use across the site — .nav-wordmark is the common one (90 pages),
   .logo-wordmark and .nav-logo-text appear on the rest. Missing one leaves a dark wordmark on
   a dark nav, which is how the articles logo went invisible. */
/* Body face, not the display serif. The wordmark has always been DM Sans at 14/600 with wide
   tracking; forcing Cormorant here changed the logo on every page. */
nav .nav-wordmark,nav .logo-wordmark,nav .nav-logo-text,nav .logo-text{
  font-family:var(--body,'DM Sans','Helvetica Neue',sans-serif);
  font-size:14px;font-weight:600;letter-spacing:.1em;color:var(--text);white-space:nowrap;}
nav .nav-wordmark span,nav .logo-wordmark span,nav .nav-logo-text span,nav .logo-text span{
  font-weight:300;opacity:.55;color:inherit;}
nav .nav-links{margin-left:auto;display:flex;align-items:center;gap:clamp(20px,2.1vw,30px);}
/* Hold the account slot open at the size it is about to be, so injecting the chip moves
   nothing. data-acct is stamped synchronously in THEME_INIT, before first paint. min-width,
   not width, so a longer label grows the slot instead of spilling out of it. */
nav .nav-acct{min-height:36px;display:flex;align-items:center;justify-content:flex-end;}
html[data-acct="in"] nav .nav-acct{min-width:36px;}
html[data-acct="out"] nav .nav-acct{min-width:79px;}
/* Roughly thirty pages still carry their own copy of the old green pill, several with
   !important on the colour. Resetting those properties here is exactly what this block is for:
   it exists so a page cannot drift back to an old CTA, and it is appended last. The overrides
   come out of the pages themselves as each is rebranded; until then this is what governs. */
nav .nav-cta{background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;transform:none!important;}
nav .nav-links a,nav .nav-cta{color:var(--text-muted)!important;text-decoration:none;
  font-size:14.5px;font-weight:500;transition:color .18s;white-space:nowrap;
  position:relative;padding:4px 0;letter-spacing:0;}
nav .nav-links a:hover,nav .nav-cta:hover{color:var(--text)!important;}
/* One quiet indicator instead of a coloured pill. */
nav .nav-links a::after,nav .nav-cta::after{content:'';position:absolute;left:0;right:0;
  bottom:-2px;height:1.5px;background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform .22s cubic-bezier(.2,0,0,1);}
nav .nav-links a:hover::after,nav .nav-cta:hover::after,
nav .nav-cta[aria-current]::after{transform:scaleX(1);}
nav .nav-acct a::after{display:none;}
/* In the mobile drawer there is no bar to compete with, so the Lab link is the one action. */
/* Not the full width of the sheet. A button that spans edge to edge reads as a section
   header rather than as one action among the links above it. */
.nav-drawer .nav-cta{display:inline-flex;justify-content:center;margin-top:14px;padding:11px 40px;
  width:auto;align-self:center;
  font-size:15px;font-weight:600;color:var(--accent-ink);background:var(--accent);
  border-radius:999px;text-decoration:none;}
.nav-drawer .nav-cta::after{display:none;}
/* ---- theme toggle (markup lives in the synced footer) ---- */
.footer-bottom .footer-end{display:flex;align-items:center;gap:22px;}
.theme-toggle{display:inline-flex;align-items:center;gap:9px;background:none;border:0;padding:0;
  cursor:pointer;font:inherit;font-size:12.5px;color:var(--text-muted);
  transition:color .18s;-webkit-tap-highlight-color:transparent;}
.theme-toggle:hover{color:var(--text-muted);}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px;}
.theme-toggle .tt-track{position:relative;width:34px;height:19px;border-radius:99px;
  background:var(--track,var(--border));border:1px solid var(--border-strong);
  transition:background .22s;flex-shrink:0;}
.theme-toggle .tt-knob{position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;
  background:var(--text-muted);
  /* Composited: the knob slides, the track only changes colour. */
  transition:transform .28s cubic-bezier(.2,.8,.2,1),background .22s;}
[data-theme="light"] .theme-toggle .tt-knob{transform:translateX(15px);background:var(--accent);}
.theme-toggle .tt-label{min-width:34px;text-align:left;}
@media(max-width:600px){.footer-bottom .footer-end{gap:16px;}}

/* The bars are INK on the nav, so they take the ink token. Nineteen pages painted them with
   --surface, a GROUND token: near-black bars on a near-black bar in dark mode, white on white
   in light. Invisible in both, and invisible is the one failure a hamburger cannot have --
   it is the only nav control below 600px. Same class as the --text-as-a-ground and the
   border-token-as-ink bugs already logged; a token's NAME is not the check, its JOB is.
   Declared here because this block is appended last and therefore governs. */
nav .nav-hamburger span{background:var(--text);}

/* Hamburger is the only nav control below 600px, so it must survive any page's own rules. */
@media(max-width:600px){
  nav .nav-links{display:none;}
  nav .nav-hamburger{display:flex;}
  /* A floating capsule on a 390px screen is a cramped bar with nowhere to float to. */
  nav{max-width:none;top:0;border-radius:0;padding:0 var(--page-pad,20px);height:64px;}
}

/* ==== /SYNCED NAV ==== */
