/* tokens.css */
/* High Return Group: design tokens. Scroll World 2.0 · Phase 1 (white-first HRG system). ONE source for colour, type,
   space, borders, buttons, focus and motion. Pages use these names; no page defines its own colours.
   V = verified (logo pixels / live site CSS) · D = derived for accessibility from a V value · P = proposal.
   Typeface: Jost is PROVISIONAL (open Futura-lineage face; no Futura PT or Adelle licence is claimed, Q-15). */
@font-face{font-family:"Jost";src:url(/assets/fonts/jost-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Jost";src:url(/assets/fonts/jost-latin-ext-wght-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* ---- brand (V) ---- */
  --white:#FFFFFF;          /* V canvas */
  --grey:#F2F2F2;           /* V live lightAccent: supporting surfaces */
  --charcoal:#282828;       /* V logo charcoal: text */
  --charcoal-2:#2F2F2F;     /* V live darkAccent: statement bands, footer */
  --teal:#0890B0;           /* V logo teal: lines, frames, large accents (3.73:1, never body text) */
  /* ---- accessible derivatives (D) and neutrals (P) ---- */
  --teal-ink:#00687F;       /* D teal for text, links, buttons (6.39:1 on white) */
  --teal-strong:#005567;    /* D hover/pressed */
  --teal-wash:#E9F5F8;      /* D selected and information surfaces */
  --teal-light:#6FD0E6;     /* D teal on charcoal (7.55:1) */
  --ink:var(--charcoal);
  --ink-muted:#5C6166;      /* P secondary text (6.26:1 on white, 5.59:1 on #F2F2F2) */
  --rule:#E1E4E6;           /* P dividers, plate borders (decorative only) */
  --rule-strong:#9AA3A8;    /* P form-field borders, non-text UI (3:1+) */
  --on-dark:#FFFFFF; --on-dark-muted:#C9CED2;  /* P text on charcoal (8.4:1) */
  --edge-dark:#4A4F53;      /* P rules on charcoal */
  --gold-ink:#8E6E26;       /* P the one emphasised word "Aspiring" (provisional, 4.76:1) */
  --gold:#CCA85A;           /* reviewer flags only (review mode) */
  --notice:#00687F; --notice-bg:#E9F5F8;   /* visitor information panels (no warnings styling) */
  /* ---- legacy names: ALIASES of the system above, kept so Phase 1 needs no structural change; removed in later phases ---- */
  --stone-0:var(--white); --stone-1:var(--grey); --stone-2:var(--rule); --stone-3:var(--rule-strong);
  --line:var(--rule); --line-soft:#EEF0F1; --night:var(--charcoal-2); --night-2:#3A3F43;
  /* ---- type ---- */
  --sans:"Jost","Futura PT","Futura",system-ui,sans-serif;
  --display:var(--sans); --serif:var(--display);    /* --serif is a legacy alias: there is no serif in the system */
  --fw-display:500; --fw-text:400; --fw-ui:500; --fw-label:600;
  --fs-display:clamp(40px,4.6vw,68px); --fs-plaque:clamp(38px,4.4vw,64px); --fs-h2:clamp(28px,2.8vw,44px); --fs-h3:clamp(20px,1.7vw,26px);
  --fs-lede:clamp(18px,1.4vw,21px); --fs-body:clamp(16px,.95rem + .2vw,18px); --fs-small:14px; --fs-eyebrow:13px; --fs-min:12px;
  --lh-tight:1.08; --lh-body:1.65; --tracking-label:.12em;
  /* ---- space and layout ---- */
  --margin:clamp(16px,4.4vw,64px); --max:1312px; --header-h:88px; --gap:clamp(16px,2vw,28px);
  --s1:8px; --s2:16px; --s3:24px; --s4:40px; --s5:64px; --s6:96px; --s7:128px;
  --target:44px;            /* minimum touch target */
  /* ---- borders, radii ---- */
  --radius:0; --border:1px solid var(--rule); --frame:2px solid var(--teal);
  /* ---- buttons ---- */
  --btn-bg:var(--teal-ink); --btn-bg-hover:var(--teal-strong); --btn-fg:var(--white); --btn-h:48px;
  /* ---- focus ---- */
  --focus:2px solid var(--teal-ink); --focus-offset:3px; --focus-halo:0 0 0 5px var(--white);
  /* ---- motion: purposeful structure only; text is never hidden by motion ---- */
  --ease-out:cubic-bezier(.22,1,.36,1); --ease-io:cubic-bezier(.65,0,.35,1); --ease-settle:cubic-bezier(.22,1,.36,1);
  --dur-quick:180ms; --dur-base:240ms; --dur-slow:480ms; --dur-morph:560ms; --stagger:0ms;
  /* ---- the existing homepage scene and colonnade (kept in Phase 1, recoloured; --arch-r comes from geometry.js) ---- */
  --pier:12px; --bay-pad:clamp(16px,1.6vw,26px); --bay-line:var(--teal); --bay-fill:rgba(255,255,255,.88); --datum:rgba(8,144,176,.6);
  color-scheme:light;
}
@media (max-width:767px){:root{--header-h:64px}}
/* client/geometry.js → the arch radius of every bay */
:root{--arch-r:clamp(48px, 6.1vw, 88px)}

/* base.css */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--stone-0)}           /* page transitions never show a grey canvas between pages */
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 16px)}
body{margin:0;background:var(--stone-0);color:var(--ink);font:400 var(--fs-body)/1.65 var(--sans);font-optical-sizing:auto;overflow-x:clip}
img,svg{max-width:100%;display:block}
a{color:var(--teal-ink);text-underline-offset:4px;text-decoration-thickness:1px}
a:hover{color:var(--teal-strong)}
:focus-visible{outline:2px solid var(--teal-ink);outline-offset:3px;box-shadow:0 0 0 5px var(--white)}
.band :focus-visible{outline-color:var(--teal-light);box-shadow:0 0 0 5px var(--night)}
main:focus{outline:none}
h1,h2,h3{font-family:var(--display);font-weight:var(--fw-display);letter-spacing:-.01em;margin:0;line-height:var(--lh-tight);text-wrap:balance}
p{margin:0 0 1em}
ul,ol{margin:0}
address{font-style:normal}
button{font:inherit;color:inherit}
input,select,textarea{font:inherit;color:inherit}
.wrap{max-width:calc(var(--max) + 2*var(--margin));margin:0 auto;padding:0 var(--margin)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--charcoal);color:var(--white);padding:12px 16px;text-decoration:none;font:500 15px/1 var(--sans)}
.skip:focus{top:12px;color:var(--white)}
.eyebrow{font:500 var(--fs-eyebrow)/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted)}
.datum-rule{height:1px;background:var(--teal);opacity:.6;transform-origin:left}
.section-title{font-size:var(--fs-h2)}

/* chrome.css */
/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;height:var(--header-h);background:var(--white);border-bottom:var(--border)}
.site-header .bar{height:100%;display:flex;align-items:center;gap:28px}
.site-header .logo{flex:none;display:block}
.site-header .logo img{height:44px;width:auto}
.site-header .datum{display:none}
.primary{margin-left:auto}
.nav-list{display:flex;gap:22px;list-style:none;margin:0;padding:0;font:500 15px/1 var(--sans);align-items:center}
.nav-list a{display:inline-block;color:var(--ink);text-decoration:none;padding:10px 0;border-bottom:1px solid transparent}
.nav-list a:hover{color:var(--teal-ink)}
.nav-list a[aria-current=page]{border-bottom-color:var(--teal)}
.nav-list a[aria-current=true]{border-bottom-color:var(--teal)}   /* the section of a child page (service, profile) */
.nav-list a.nav-cta{color:var(--white);background:var(--charcoal);padding:13px 18px;border:0}
.nav-list a.nav-cta:hover{background:var(--teal-strong);color:var(--white)}
.nav-list a.nav-cta[aria-current=page]{box-shadow:inset 0 -3px 0 var(--teal)}
.utility{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.utility a{display:grid;place-items:center;width:40px;height:40px;color:var(--ink)}
.utility a:hover{color:var(--teal-ink)}
.ico{width:20px;height:20px;flex:none}
.menu-btn{display:none}
@media (max-width:1179px){
  .site-header .bar{gap:12px}
  .primary{order:3;margin-left:0}
  .utility{margin-left:auto}
  .menu-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);background:var(--white);font:500 15px/1 var(--sans);cursor:pointer;gap:10px}
  .menu-btn::before{content:"";width:16px;height:10px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
  .menu-btn[aria-expanded=true]::before{height:2px;border-bottom:0}
  .nav-list{position:fixed;left:0;right:0;top:var(--header-h);bottom:0;flex-direction:column;align-items:stretch;gap:0;padding:12px var(--margin) 40px;background:var(--stone-0);border-top:1px solid var(--teal);overflow:auto;font:var(--fw-display) clamp(26px,6vw,38px)/1.1 var(--display)}
  .js .nav-list{display:none}
  .js .primary.open .nav-list{display:flex}
  .nav-list li{border-bottom:1px solid var(--line-soft)}
  .nav-list a{display:block;padding:18px 0;border:0}
  .nav-list a[aria-current]{color:var(--teal-ink)}
  .nav-list a[aria-current]:not(.nav-cta)::after{content:"";display:inline-block;width:10px;height:10px;margin-left:14px;vertical-align:.18em;background:var(--teal)}
  .nav-list a.nav-cta{margin-top:24px;padding:18px 20px;font:500 17px/1 var(--sans);text-align:center}
  .no-js .nav-list{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 16px;padding:0;border:0;background:none;font:500 14px/1 var(--sans)}
  .no-js .site-header{height:auto;position:relative}.no-js .site-header .bar{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
  .no-js .nav-list li{border:0}.no-js .nav-list a{padding:6px 0}.no-js .nav-list a.nav-cta{margin:0;padding:10px 12px;font-size:14px}
}
@media (max-width:767px){.site-header .logo img{height:32px}.utility a{width:36px}}

/* ---------- footer (Phase 5): "the final layer" (after the GrdX landing footer) ----------
   One light band: teal-tinted canvas with two soft light planes, one hairline with a teal point, then navigation,
   the two offices and the contact column (each beside a hairline), then the signature (logo · rule · copyright). */
.site-footer{--fl-hair:rgba(22,34,42,.12);position:relative;z-index:0;overflow:hidden;margin-top:0;color:var(--ink);
  background:linear-gradient(165deg,#E6F2F5 0%,#F5F9FA 46%,#E9F3F6 100%)}
.fl-bg{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(150deg,transparent 0 38%,rgba(255,255,255,.5) 38% 62%,transparent 62%),linear-gradient(150deg,transparent 0 70%,rgba(255,255,255,.32) 70% 84%,transparent 84%)}
.fl-inner{position:relative;padding-top:clamp(36px,6vw,80px)}
.fl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.fl-rule{grid-column:1/-1;position:relative;height:1px;background:linear-gradient(90deg,var(--fl-hair),var(--fl-hair) 70%,rgba(22,34,42,0));transform-origin:0 50%}
.fl-rule::before{content:"";position:absolute;left:0;top:-3px;width:7px;height:7px;background:var(--teal)}
.fl-col{margin-top:24px;font-size:14.5px}
.fl-nav{grid-column:1/-1}
.fl-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.fl-nav a{display:inline-flex;align-items:center;min-height:36px;color:var(--ink);text-decoration:none;font:500 15px/1.2 var(--sans);border-bottom:1px solid transparent}
.fl-nav a:hover{color:var(--teal-ink);text-decoration:underline;text-underline-offset:4px}
.fl-nav a[aria-current]{border-bottom-color:var(--teal)}
.fl-office{grid-column:1/-1;margin-top:18px}
.f-name{display:flex;align-items:center;gap:8px;margin:0 0 2px;font:var(--fw-display) 17px/1.3 var(--display);color:var(--ink)}
.f-ico{display:inline-flex;color:var(--teal-ink)}
.f-ico .ico{width:16px;height:16px}
.f-addr{margin:0;padding-left:24px;font:400 14px/1.55 var(--sans);color:var(--ink-muted);max-width:40ch}
.fl-contact{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin-top:22px}
.fl-contact .f-cta{min-height:var(--target);margin-right:4px}
.f-cta[aria-current]{box-shadow:inset 0 -3px 0 var(--teal)}
.f-link{display:inline-flex;gap:10px;align-items:center;min-height:var(--target);color:var(--ink);font:500 15px/1.3 var(--sans);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.f-link .ico{color:var(--teal-ink);width:17px;height:17px}
.f-link:hover{color:var(--teal-ink)}
.fl-sign{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:28px;padding:20px 0 24px;border-top:1px solid var(--fl-hair)}
.f-logo{display:block;flex:none}
.f-logo img{height:32px;width:auto;mix-blend-mode:multiply}   /* the logo file has a white canvas: invisible on the tint */
.fl-sign-rule{display:none;flex:1;height:1px;background:linear-gradient(90deg,rgba(22,34,42,0),var(--fl-hair) 30%,var(--fl-hair) 70%,rgba(22,34,42,0))}
.f-legal{margin:0;font:400 13px/1.4 var(--sans);color:var(--ink-muted)}
@media (min-width:600px){
  .fl-nav ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fl-office{grid-column:auto;margin-top:28px;padding-left:20px;border-left:1px solid var(--fl-hair)}
  .fl-contact{margin-top:28px}
  .fl-sign{margin-top:36px}
}
@media (min-width:1024px){
  .fl-grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
  .fl-col{margin-top:34px}
  .fl-nav{grid-column:1/4}
  .fl-nav ul{display:grid;grid-template-columns:1fr;column-gap:0}
  .fl-office{grid-column:span 3;padding-left:28px;margin-top:34px}
  .fl-contact{grid-column:10/13;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:2px;margin-top:34px;padding-left:28px;border-left:1px solid var(--fl-hair)}
  .fl-contact .f-cta{margin:0 0 10px}
  .fl-sign{margin-top:clamp(44px,5vw,64px);padding:24px 0 32px;gap:28px}
  .fl-sign-rule{display:block}
  .f-logo img{height:44px}
  .f-name{font-size:19px}
}
.site-footer :focus-visible{outline:var(--focus);outline-offset:var(--focus-offset)}

/* ---------- preview ribbon (local builds only) ---------- */
/* hidden for every visitor; shown only after an explicit ?review (review mode, local builds) */
.preview-ribbon{display:none}
html.review-on .preview-ribbon{display:flex}
.preview-ribbon{position:fixed;z-index:120;left:12px;bottom:12px;max-width:min(640px,calc(100vw - 24px));gap:10px;align-items:center;flex-wrap:wrap;font:500 var(--fs-min)/1.45 var(--sans);color:var(--white);background:rgba(20,22,23,.94);padding:9px 12px;border-left:3px solid var(--gold)}
.preview-ribbon .txt{flex:1 1 300px}
.preview-ribbon button{font:600 var(--fs-min)/1 var(--sans);color:var(--ink);background:var(--stone-0);border:0;padding:8px 10px;cursor:pointer;min-height:32px}
.preview-ribbon button[aria-pressed=true]{background:var(--gold)}
html.capture .preview-ribbon{display:none}
@media (max-width:767px){.preview-ribbon .txt{font-size:var(--fs-min)}}

/* components.css */
/* ---------- buttons and links ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;background:var(--teal-ink);color:var(--white);text-decoration:none;font:500 16px/1 var(--sans);border:0;cursor:pointer;transition:background var(--dur-quick)}
.btn:hover{background:var(--teal-strong);color:var(--white)}
.btn[disabled]{background:var(--rule);color:var(--ink-muted);cursor:not-allowed}
.btn-quiet{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.btn-quiet:hover{background:var(--ink);color:var(--white)}
.link-arrow{display:inline-flex;align-items:center;min-height:44px;font:500 16px/1.2 var(--sans);color:var(--teal-ink);text-decoration:underline;text-underline-offset:6px}

/* ---------- plaque: the page title on the datum ---------- */
.plaque{padding:clamp(40px,7vw,88px) 0 0}
.plaque h1{font-size:var(--fs-plaque);max-width:18ch}
.plaque .datum-rule{margin-top:clamp(28px,4vw,44px)}
.plaque-lede{font:var(--fw-display) var(--fs-lede)/1.55 var(--display);max-width:60ch;margin:22px 0 0}

/* ---------- breadcrumb ---------- */
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px 10px;list-style:none;margin:0 0 26px;padding:0;font:500 13px/1.3 var(--sans);letter-spacing:.06em}
.crumbs li+li::before{content:"›";margin-right:10px;color:var(--ink-muted)}
.crumbs a{color:var(--ink-muted);display:inline-flex;align-items:center;min-height:var(--target)}
.crumbs [aria-current]{color:var(--ink)}

/* ---------- legend: numbered drawing-legend list ---------- */
.legend{border-top:1px solid var(--teal);padding-top:18px;margin:0 0 44px}
.legend h2,.legend h3{font:var(--fw-display) clamp(22px,1.8vw,26px)/1.1 var(--display);margin-bottom:10px}
.legend .lead{color:var(--ink-muted);margin:0 0 4px}
.legend ol{list-style:none;margin:0;padding:0;counter-reset:x}
.legend li{counter-increment:x;display:grid;grid-template-columns:44px 1fr;padding:12px 0;border-bottom:1px solid var(--line-soft);font:400 16px/1.5 var(--sans)}
.legend li::before{content:counter(x,decimal-leading-zero);font:500 12px/1.9 var(--sans);letter-spacing:.1em;color:var(--teal-ink)}

/* ---------- portrait frame: square corners, 4:5, the portrait as photographed (never recoloured); one teal corner line ---------- */
.arch{position:relative;aspect-ratio:4/5;border-radius:var(--radius);background:var(--grey)}
.arch img{width:100%;height:100%;object-fit:cover;object-position:50% 16%}
.arch::before{content:"";position:absolute;left:-8px;top:-8px;width:28px;height:28px;border-top:var(--frame);border-left:var(--frame);z-index:1;pointer-events:none;transition:width var(--dur-base) var(--ease-out),height var(--dur-base) var(--ease-out)}

/* ---------- person card ---------- */
.card{position:relative;border-bottom:1px solid var(--teal);padding-bottom:18px}
.card-big .arch{aspect-ratio:4/5}
.card .nm{font:var(--fw-display) clamp(20px,1.7vw,28px)/1.1 var(--display);margin:16px 0 4px;transition:color var(--dur-quick)}
.card .rl{font:400 15px/1.4 var(--sans);color:var(--ink-muted);margin:0}
.card .rm{display:inline-block;margin-top:10px;font:500 14px/1 var(--sans);padding:8px 0}
.stretched::after{content:"";position:absolute;inset:0}
.card:hover .arch::before,.card:focus-within .arch::before{width:52px;height:52px}
.card:hover .nm,.card:focus-within .nm{color:var(--teal-ink)}

/* ---------- logos ---------- */
.logo-wall{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.logo-wall li{background:var(--white);display:grid;place-items:center;padding:22px;aspect-ratio:3/2}
.logo-wall img{max-height:64px;width:auto;object-fit:contain}
@media (max-width:599px){.logo-wall{grid-template-columns:repeat(2,1fr)}.logo-wall li{padding:16px}}

/* ---------- exhibit frame (GrdX video), blocked notices ---------- */
.exhibit{margin:0}
.exhibit-frame{display:flex;align-items:center;gap:14px;background:var(--grey);border:var(--border);border-left:var(--frame);padding:22px 24px}
.exhibit-frame .unit{width:18px;height:18px;background:var(--teal)}
.exhibit-link{display:inline-flex;align-items:center;min-height:var(--target);font:var(--fw-ui) 16px/1.3 var(--sans)}
.blocked-note{display:block;margin:14px 0 0;padding:10px 12px;font:500 14px/1.45 var(--sans);color:var(--ink);background:var(--notice-bg);border-left:3px solid var(--teal)}

/* ---------- the three existing forms (unchanged wording; submission blocked) ---------- */
.frozen-form{display:grid;gap:20px}
.form-status{padding:16px 18px;background:var(--notice-bg);border:var(--border);border-left:3px solid var(--teal);font:400 15px/1.5 var(--sans);color:var(--ink)}
.form-status p{margin:0 0 6px}.form-status p:last-child{margin:0}
.form-status .fs-title{font-weight:var(--fw-label);color:var(--ink)}
.form-status .fs-alt,.form-status a{display:inline-flex;align-items:center;gap:8px;min-height:var(--target);font-weight:var(--fw-ui)}
.frozen-form form{display:grid;gap:18px}
.field{display:grid;gap:6px;margin:0;padding:0;border:0;min-width:0}
.field label,.field legend{font:500 15px/1.3 var(--sans);padding:0}
.req{font-weight:400;color:var(--ink-muted);font-size:13px}
.field input,.field select,.field textarea{width:100%;min-height:48px;padding:10px 12px;background:var(--white);border:1px solid var(--rule-strong);border-radius:0}
.field textarea{min-height:120px;resize:vertical}
/* WebKit sets a select's chosen option on one unbreakable line: the long report title on /rsvp1 pushed the page 13 px
   wider on phones. Let it wrap inside the control instead (Chromium and Firefox render it unchanged). */
.field select{white-space:normal}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{border-color:var(--teal-ink)}
.field-radio .opt{display:inline-flex;align-items:center;gap:8px;margin:6px 20px 0 0;min-height:32px;font:400 15px/1.3 var(--sans)}
.field-radio input{width:24px;height:24px;min-height:0;accent-color:var(--teal-ink)}
.form-actions{padding-top:4px}
/* connected lead forms (blocks.mjs leadForm, client/lead-form.js): same fields and frame; only states are added */
.lead-form{--error:#A4262C}   /* 6.9:1 on white */
.js .lead-nojs{display:none}
.field-consent .opt{display:flex;align-items:flex-start;gap:10px;font:400 15px/1.45 var(--sans);cursor:pointer}
.field-consent input{flex:none;width:24px;height:24px;min-height:0;margin:0;accent-color:var(--teal-ink)}
.field-consent .consent-link{margin:2px 0 0 34px}
.field-consent .consent-link a{display:inline-flex;align-items:center;min-height:var(--target);font:var(--fw-ui) 15px/1.3 var(--sans)}
.field [aria-invalid=true]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.field-consent [aria-invalid=true]{outline:2px solid var(--error);outline-offset:2px;box-shadow:none}
.field-err{margin:0;font:500 14px/1.4 var(--sans);color:var(--error)}
.field-consent .field-err{margin-left:34px}
.lead-status[hidden],.lead-alt[hidden]{display:none}
.lead-status:focus{outline:none}.lead-status:focus-visible{outline:var(--focus);outline-offset:var(--focus-offset)}
.lead-form .lead-status[data-kind=error],.lead-form .lead-status[data-kind=invalid]{border-left-color:var(--error)}
.lead-status[data-kind=success] p:first-child{font-weight:var(--fw-label)}
.lead-alt{margin:0}.lead-alt a{display:inline-flex;align-items:center;gap:8px;min-height:var(--target);font-weight:var(--fw-ui)}
.lead-form form[aria-busy=true] .btn{cursor:progress}
.lead-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------- reveal: retired in Phase 1. Content is visible and readable immediately; .reveal stays only as a
   harmless hook in the markup (no opacity, no transform, no stagger). ---------- */

/* ---------- One Building: the arched bay, one object, one radius (doorway → plan bay → pillar → colonnade bay → rail) ---------- */
.bay-frame{position:absolute;left:0;top:0;bottom:0;width:100%;border:1px solid var(--bay-line);border-bottom:0;border-radius:var(--arch-r) var(--arch-r) 0 0;background:var(--bay-fill);pointer-events:none}
.bay-num{display:block;text-align:center;font:var(--fw-display) 34px/1 var(--display);color:var(--teal-ink)}
.ob-bays,.ob-arcade{position:relative}

/* ---------- the route (Phase 5 shared): a gutter line with square stops (as the service pages and homepage chapters) ---------- */
:root{--rg:32px}
@media (min-width:1024px){:root{--rg:56px}}
.route{position:absolute;left:calc(var(--margin) + 6px);top:0;bottom:0;width:2px;background:var(--rule);pointer-events:none}
.route i,.closing-route i{display:block;width:100%;height:100%;background:var(--teal);transform-origin:50% 0}
.route-stop{position:absolute;left:calc(-1 * var(--rg));width:14px;height:14px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal);z-index:1}
.route-stop.is-on{background:var(--teal);box-shadow:none}
.btn-dark{background:var(--charcoal)}
.btn-dark:hover{background:var(--teal-strong)}

/* ---------- the closing route: the page's last stop hands the visitor to Contact Us ---------- */
.closing{--cp:clamp(28px,4vw,48px);--ct:clamp(24px,3vw,40px);padding:var(--ct) 0 clamp(64px,8vw,112px)}
.closing-wrap{position:relative}
.closing-route{position:absolute;left:calc(var(--margin) + 6px);top:calc(-1 * var(--ct));height:calc(var(--ct) + var(--cp) + 10px);width:2px;background:var(--rule)}
.closing-in{--pf:1;position:relative;margin-left:var(--rg);padding:var(--cp);display:grid;gap:24px 48px;align-items:end}
.closing-in .route-stop{top:calc(var(--cp) + 10px)}
.closing-h{font-size:var(--fs-h2);margin:0;max-width:16ch;line-height:1.1}
.closing-act{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;margin:0}
.closing-mail{display:inline-flex;align-items:center;gap:10px;min-height:var(--target);font:var(--fw-ui) 17px/1.3 var(--sans);overflow-wrap:anywhere}
@media (min-width:900px){.closing-in{grid-template-columns:minmax(0,1fr) auto}}
/* the page above stands down its own bottom padding: the closing route is its ending (no doubled white space) */
main:has(>.closing) :is(.stories,.ab-values,.xd){padding-bottom:0}
/* (the last industry keeps its own padding: it is a framed group, so its frame must clear the last row of logos) */

/* the page lies above the footer ("the final layer", chrome.css): its shadow falls on the footer's top edge */
main{position:relative;z-index:1;background:var(--white);box-shadow:0 30px 60px -14px rgba(10,18,24,.28)}

/* home.css */
/* ==========================================================================================================
   HOMEPAGE · Scroll World 2.0 Phase 2: one journey in eight chapters (pages/home.mjs, client/home.js).
   Default (mobile first) = the complete still page: phones, tablets, reduced motion and no JavaScript.
   html.hx-live (≥ 1024 × 600, or portrait tablets ≥ 700 × 900; full motion; set before first paint) = the pinned hero.
   .hx-art.hx-lite (smaller screens, full motion) = the same organization aligning as it is scrolled into view (not pinned).
   Chapters 4–8: "one frame, many forms" (client/frames.js); the route and chapter units are static structure.
   Chapters 4–8 motion: CSS scroll-driven animations only, inside @supports + full motion; transforms only.
   ========================================================================================================== */

/* ---------- chapter 1: the copy (verbatim; "Aspiring" in gold, provisional) ---------- */
.hl{font:var(--fw-display) var(--fs-display)/1.04 var(--display);letter-spacing:-.018em;margin:0}
.hl em{font-style:normal;color:var(--gold-ink)}
.lede{max-width:520px;margin:20px 0 0;font:var(--fw-display) clamp(20px,1.6vw,24px)/1.45 var(--display);color:var(--ink-muted)}
.ctas{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin:28px 0 0}

/* ---------- hero, still composition ---------- */
.hx{position:relative}
.hx-stage{position:relative}
.hx-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:clamp(32px,6vw,72px)}
.hx-art{max-width:340px;width:100%;margin:0 auto}
.hx-svg{display:block;width:100%;height:auto}
.hx-svg .o-core{fill:var(--teal)}.hx-svg .o-lead{fill:var(--ink)}.hx-svg .o-mem{fill:var(--white);stroke:var(--teal);stroke-width:2}
.hx-plates,.hx-routes,.hx-units-layer{display:none}

/* chapter 3: the four practices (the homepage's own lists, verbatim) */
.hx-practice{position:relative;padding-top:clamp(40px,6vw,72px);padding-bottom:clamp(48px,7vw,96px)}
.hx-ptitle{font:var(--fw-label) 13px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--teal-ink);margin:0 0 36px}
.hx-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.hx-card{position:relative;min-width:0;background:var(--white)}
.hx-card:hover,.hx-card:focus-within{background:var(--teal-wash)}
.hx-card:has(.hx-link:focus-visible){outline:2px solid var(--teal-ink);outline-offset:4px}
.hx-card .hx-link:focus-visible{outline:none;box-shadow:none}
.hx-frame{position:absolute;inset:0;pointer-events:none}
.hx-frame i{position:absolute;background:var(--teal)}
.hx-frame .ft{top:0;left:0;right:0;height:2px;transform-origin:0 50%;transform:scaleX(clamp(0,calc(var(--f,1)*4),1))}
.hx-frame .fr{top:0;right:0;bottom:0;width:2px;transform-origin:50% 0;transform:scaleY(clamp(0,calc(var(--f,1)*4 - 1),1))}
.hx-frame .fb{bottom:0;left:0;right:0;height:2px;transform-origin:100% 50%;transform:scaleX(clamp(0,calc(var(--f,1)*4 - 2),1))}
.hx-frame .fl{top:0;left:0;bottom:0;width:2px;transform-origin:50% 100%;transform:scaleY(clamp(0,calc(var(--f,1)*4 - 3),1))}
.hx-junction{display:none}   /* no route reaches it in stacked or still layouts; in the live hero the travelling lead marks the junction */
.hx-card-in{position:relative;padding:28px clamp(18px,1.8vw,26px) 22px}
.hx-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.pn{font:var(--fw-display) 18px/1 var(--display);color:var(--teal-ink)}
.hx-team{display:flex;gap:8px}
.hx-team i{display:block;width:10px;height:10px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal)}
.hx-name{font:var(--fw-display) var(--fs-h3)/1.12 var(--display);margin:0 0 14px}
.hx-list{list-style:none;margin:0 0 6px;padding:0}
.hx-list li{padding:8px 0;border-top:1px solid var(--rule);font:400 15.5px/1.4 var(--sans)}
.hx-list li:last-child{border-bottom:1px solid var(--rule)}
.hx-link{display:inline-flex;align-items:center;min-height:var(--target);font:var(--fw-ui) 15px/1.3 var(--sans);color:var(--teal-ink);text-decoration:underline;text-underline-offset:5px}

@media (min-width:700px){
  .hx-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center}
  .hx-art{justify-self:end;max-width:520px;margin:0}
  .hx-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
}
@media (min-width:1024px){
  .hx-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px}
  .hx-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .hx-list li{font-size:15px}
}

/* ---------- hero, live transformation ---------- */
html.hx-live .hx{height:calc(100vh - var(--header-h) + var(--S,0px))}
html.hx-live .hx-stage{position:sticky;top:var(--header-h);height:calc(100vh - var(--header-h));display:flex;flex-direction:column;overflow:hidden;overflow:clip}   /* clip: not a scroll container, so focus can never scroll it */
html.hx-live .hx-grid{position:relative;z-index:2;width:100%;padding-top:clamp(28px,5vh,64px)}
html.hx-live .hx-copy{will-change:transform;transform-origin:0 0;text-shadow:0 0 3px var(--white),0 0 8px var(--white)}   /* a route passing behind never cuts the words */
html.hx-live .hx-copy .btn{text-shadow:none}
html.hx-live .hx-art{align-self:stretch;min-height:44vh}
html.hx-live .hx-art .hx-svg{visibility:hidden}                 /* the units ARE the composition while live */
html.hx-live .hx-plates{display:block;position:absolute;inset:0;z-index:0;pointer-events:none}
.hx-plate{position:absolute;background:#F4F5F6;box-shadow:0 22px 40px -30px rgba(40,40,40,.35)}
.hx-plate::before{content:"";position:absolute;inset:0;transform:translate(10px,10px);border:1px solid var(--rule);z-index:-1}
.hx-plate[data-p="1"]{background:#F2F3F4}.hx-plate[data-p="2"]{background:linear-gradient(#F6F7F7,#F0F1F2)}
html.hx-live .hx-routes{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
.hx-routes path{fill:none;stroke-linejoin:miter;stroke-linecap:butt}
.hx-routes .r-o path{stroke:var(--teal)}
.hx-routes .r-i path{stroke:var(--white)}
.hx-routes .hx-rep{stroke-width:1.6}
.hx-routes .hx-coord{stroke:#B4BBC0;stroke-width:1.4;stroke-dasharray:3 5}
html.hx-live .hx-units-layer{display:block;position:absolute;inset:0;z-index:3;pointer-events:none}
.on{position:absolute;left:0;top:0;will-change:transform;transform-origin:50% 50%}
.on-core{width:26px;height:26px;background:var(--teal)}
.on-lead{width:18px;height:18px;background:var(--ink)}
.on-mem{width:10px;height:10px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal)}
html.hx-live .hx-practice{position:absolute;left:0;right:0;bottom:0;padding-top:0;padding-bottom:clamp(20px,4vh,40px);z-index:2}   /* the row sits on the stage floor; the copy rises to make room */
html.hx-live .hx-ptitle{opacity:var(--t,1);margin-bottom:46px}
html.hx-live .hx-card{--f:0;--n:0;--c:0;background:transparent}  /* transparent: the cards never cover the copy above */
html.hx-live .hx-cards.hx-hold{pointer-events:none}          /* not yet revealed: not clickable (still in the accessibility tree and find) */
html.hx-live .hx-card:hover,html.hx-live .hx-card:focus-within{background:var(--teal-wash)}
html.hx-live .hx-team i{visibility:hidden}   /* the travelling members sit here */
html.hx-live .hx-card-in>:not(.hx-head){opacity:var(--c,1);transform:translateY(calc((1 - var(--c,1))*10px));will-change:opacity,transform}
html.hx-live .hx-card-in>.hx-name,html.hx-live .pn{opacity:var(--n,1);transform:translateY(calc((1 - var(--n,1))*8px))}   /* each practice is named as its frame closes, before its services */
html.hx-live .hx.hx-settled .on,html.hx-live .hx.hx-settled .hx-copy,html.hx-live .hx.hx-settled .hx-card-in>*,html.hx-live .hx.hx-settled .pn{will-change:auto}   /* settled: nothing here moves, release the layers */
@media (max-height:960px){html.hx-live .hx-list li{padding:6px 0;font-size:14.5px}html.hx-live .hx-card-in{padding-top:22px}}

/* ==========================================================================================================
   CHAPTERS 4–8: one route runs down the gutter; each chapter has a unit on it that lights as the chapter arrives.
   ========================================================================================================== */
.chapters{position:relative;--hx-tail:clamp(48px,7vw,96px)}   /* gap from the practice row to the chapters (still layout) */
html.hx-live .chapters{--hx-tail:calc(clamp(20px,4vh,40px) + var(--hx-lift,0px))}   /* live: the stage floor padding (+ the row's lift, short screens) */
.ch{position:relative;padding:clamp(56px,8vw,112px) 0}
.ch-in{position:relative}
.ch-route,.ch-mark{display:none}
/* the founding statement: the body face at a lead size (client review: the display treatment read as a different font) */
.ch-lede{font:400 clamp(18px,1.3vw,20px)/1.65 var(--sans);color:var(--ink);margin:0 0 36px;max-width:60ch}
.ch-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:0 36px;max-width:980px}
.ch-cols p{font:400 16.5px/1.65 var(--sans)}
.ch-found{border-top:1px solid var(--rule)}

/* chapter 5 · GrdX: the charcoal band */
.ch-grdx.band{padding:clamp(48px,6vw,80px) 0;border:0;overflow:clip}
.ch-grdx-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center}
.grdx-copy{max-width:34rem}
.ch-grdx .grdx-eyebrow{margin:0 0 14px;color:var(--teal-light)}
.grdx-title{font:var(--fw-display) clamp(32px,3.6vw,52px)/1.08 var(--display);letter-spacing:-.01em;margin:0;color:var(--on-dark)}
.grdx-line{font:400 var(--fs-lede)/1.5 var(--sans);margin:14px 0 0;color:var(--on-dark-muted)}
/* the source's own words, set as a signature on a short teal rule (the frame's line) */
.grdx-tagline{display:flex;align-items:center;gap:14px;margin:clamp(22px,2.4vw,32px) 0 0;font:500 15px/1.3 var(--sans);letter-spacing:.06em;color:var(--on-dark)}
.grdx-tagline::before{content:"";width:40px;height:2px;background:var(--teal-light);flex:none}
.ch-grdx .grdx-cta{margin-top:clamp(22px,2.4vw,32px);background:var(--teal-light);color:var(--night)}
.ch-grdx .grdx-cta:hover{background:var(--on-dark);color:var(--night)}
/* the 16:9 player: the poster is a frame of the video; nothing else is drawn on it except the play button */
.media-frame{display:block;position:relative;padding:0;aspect-ratio:16/9;background:var(--night-2);border:1px solid var(--rule)}   /* any page */
.ch-grdx .media-frame{border-color:var(--edge-dark);
  outline:2px solid rgb(111 208 230 / var(--tf));outline-offset:3px}   /* the travelling frame hands over to this outline (frames.js, --tf) */
html:not(.tf-on) .ch-grdx .media-frame{--tf:1}   /* no thread (no JavaScript, reduced motion): the frame is simply drawn */
.media-video{display:block;width:100%;height:100%;object-fit:cover;background:#000}   /* 1.774:1 source in 16:9: ≈ 0.2 % cropped, no bars */
/* the play button sits in the poster's lower left, clear of the GrdX logo at its centre */
.media-play:not([hidden]){position:absolute;left:clamp(12px,2.2vw,24px);bottom:clamp(12px,2.2vw,24px);display:inline-flex;align-items:center;gap:12px;
  min-height:56px;padding:8px 20px 8px 8px;border:0;border-radius:999px;background:var(--night);color:var(--on-dark);white-space:nowrap;
  font:var(--fw-ui) 16px/1 var(--sans);cursor:pointer;box-shadow:0 8px 24px rgb(0 0 0 / .25)}
.media-play-ico{width:40px;height:40px;padding:10px 9px 10px 11px;border-radius:50%;background:var(--teal-light);color:var(--night)}
.media-time{color:var(--on-dark-muted);font-weight:400;font-variant-numeric:tabular-nums}
.media-play:hover .media-play-ico{background:var(--on-dark)}
.media-play:focus-visible{outline:2px solid var(--teal-ink);outline-offset:3px;box-shadow:0 0 0 5px var(--white)}   /* over the white poster: the site's light-ground ring */
@media (max-width:479px){.media-play:not([hidden]){left:10px;bottom:10px;min-height:44px;gap:10px;padding:6px 16px 6px 6px;font-size:15px}.media-play-ico{width:32px;height:32px;padding:8px 7px 8px 9px}.media-time{display:none}}

/* chapter 6 · experts */
/* the experts heading with its paragraph beneath it, on every screen (client review: not side by side) */
.ch-head{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:40px}
.ch-text{margin:0;max-width:60ch}
/* phones and tablets: three arches, no scrolling region (as Phase 1); all five from 1024 px */
/* the three executives and Hanan Ashry (client review): all four on every screen, 2 × 2 on phones */
.ch-portraits{list-style:none;margin:0 0 36px;padding:8px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:600px){.ch-portraits{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ch-portraits .arch{aspect-ratio:3/4}

/* chapter 7 · client evidence: two rows of plates */
.ch-clients .section-title{margin-bottom:32px}
.ch-plate-rows{display:grid;gap:14px}
.ch-plates{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}   /* an odd last row is centred: no empty cell */
.ch-plates li{flex:0 0 calc((100% - 12px)/2);display:grid;place-items:center;aspect-ratio:3/2;padding:16px 20px;background:var(--white);border:1px solid var(--rule);min-width:0}
.ch-plates img{max-width:100%;max-height:64px;width:auto;height:auto;object-fit:contain}
.ch-clients .link-arrow{margin-top:20px}

/* chapter 8 · contact */
.ch-contact{border-top:var(--frame)}
.cp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(32px,6vw,96px)}
.cp-intro p{font:var(--fw-display) var(--fs-lede)/1.5 var(--display);margin-top:18px}

@media (min-width:600px){.ch-plates li{flex-basis:calc((100% - 24px)/3)}}
@media (min-width:768px){
  .ch-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ch-portraits{gap:var(--gap)}
}
@media (min-width:900px){.ch-grdx-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,72px)}.cp-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}
@media (min-width:1024px){
  /* the route: x = the content edge of .wrap, the same line as practice 01's frame; it starts at that frame's foot
     (--hx-tail above the chapters) so the first practice runs on into the chapters. Content is indented for a gutter. */
  .chapters{--rx:calc(max(0px,(100% - var(--max) - 2*var(--margin))/2) + var(--margin))}
  .ch-route{display:block;position:absolute;left:var(--rx);top:calc(-1*var(--hx-tail));bottom:0;width:2px;background:var(--rule);z-index:1;pointer-events:none}
  .ch-fill{display:block;width:100%;height:100%;background:var(--teal);transform-origin:50% 0}
  .ch-in{padding-left:calc(var(--margin) + 64px)}
  .ch-mark{display:block;position:absolute;left:calc(var(--margin) - 6px);top:6px;width:14px;height:14px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal);z-index:2}
  .ch-grdx .ch-mark{background:var(--night)}
  /* chapter 4: the statement and its two supporting paragraphs side by side (no empty half); the route replaces the rule */
  .ch-found{border-top:0}
  .ch-found .ch-in{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 clamp(48px,5vw,96px);align-items:start}
  .ch-found .ch-lede{grid-column:1;grid-row:1/span 2;margin:0;max-width:none}
  .ch-found .ch-cols{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr);max-width:none;padding-top:.45em}
  .ch-found .ch-cols p{margin:0 0 18px}
  .ch-found #found-more{grid-column:2;grid-row:2;justify-self:start}
  .ch-plates{flex-wrap:nowrap;gap:14px}
  .ch-plates li{flex:0 0 calc((100% - 5*14px)/6)}
}

/* ---------- kinetic statements: the words rise into place once (transform only, the text is always visible) ---------- */
.kin .w{display:inline-block}
html.kin-on .kin:not(.in) .w{transform:translateY(.42em)}
html.kin-on .kin .w{transition:transform .7s var(--ease-out);transition-delay:min(calc(var(--w)*28ms),560ms)}

/* ---------- chapter motion (Phase 5A) ----------
   The frame thread (client/frames.js) now carries the reader from chapter to chapter, so the route's scroll fill, the
   chapter units' lighting and the portrait/plate drift are retired (they told the same story, or none). The route stays
   as static structure; the band still settles as it arrives. */
@supports (animation-timeline:view()){
  @media (min-width:1024px) and (prefers-reduced-motion:no-preference){
    html:not(.rm) .ch-grdx.band{background:transparent}
    html:not(.rm) .ch-grdx.band::before{content:"";position:absolute;inset:0;background:var(--night);animation:ch-band linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
    html:not(.rm) .ch-grdx .ch-in{z-index:1}
  }
}
.ch-fill{display:none}   /* the route is a quiet rail; the travelling frame is the teal element */

/* ---------- the hero, lite (phones and short tablets, full motion): not pinned (client/home.js initLite) ---------- */
.hx-lsvg{display:none}
.hx-art.hx-lite .hx-svg{display:none}
.hx-art.hx-lite .hx-lsvg{display:block;width:100%;height:auto;overflow:visible}
.hx-lsvg path{fill:none;stroke-linejoin:miter;stroke-linecap:butt}
.hx-lsvg .l-plate{fill:#F2F3F4}
.hx-lsvg .l-coord{stroke:#B4BBC0;stroke-width:1.4;stroke-dasharray:3 5}
.hx-lsvg .l-rep{stroke-width:2}
.hx-lsvg .l-stem-o{stroke:var(--teal)}
.hx-lsvg .l-stem-i{stroke:var(--white)}
.hx-lsvg .o-core{fill:var(--teal)}.hx-lsvg .o-lead{fill:var(--ink)}.hx-lsvg .o-mem{fill:var(--white);stroke:var(--teal);stroke-width:2}
@media (max-width:699px){.hx-art{max-width:300px}}   /* phones: the drawing never overwhelms the headline or delays the practices */

/* ---------- "one frame, many forms" (client/frames.js): the travelling frames, behind the chapters ---------- */
.chapters{position:relative}
.tf-layer{--o:0;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0;pointer-events:none;contain:layout style}   /* scrolls natively with its container */
/* one element per frame, its 2 px edge drawn inside it. No will-change: promoted frames under the text would force the
   sections above them into layers (measured: slower). Not paint-contained: a frame may sit just outside the container */
.tf{position:absolute;left:0;top:0;width:0;height:0;box-shadow:inset 0 0 0 2px var(--teal);opacity:var(--o)}
.chapters>.ch{position:relative;z-index:1}   /* text and the band always paint over the frames */
/* --tf: a frame engine hand-over (0 → 1), set on the element that owns the frame. Not inherited, so a change restyles
   that element only, not its contents (each owner states its own still value) */
@property --tf{syntax:'<number>';inherits:false;initial-value:0}
@media print{.tf-layer{display:none}}
@keyframes ch-band{from{transform:scaleX(.94)}to{transform:none}}


/* practice.css */
/* ==========================================================================================================
   AREAS OF PRACTICE · the practice index (pages/practice.mjs, client/practice.js). Client review, Nov 2026: replaces
   the four-card explorer. A sticky index of the four practices, then one full-width band per practice (alternating
   white / grey): numeral and name beside the practice's services as large editorial rows, each row one link.
   Nothing is hidden or pinned; hover and focus change colour and a small offset only.
   ========================================================================================================== */
.pa{--nav-h:60px}
.pa-nav{position:sticky;top:var(--header-h);z-index:15;background:color-mix(in srgb,var(--white) 95%,transparent);backdrop-filter:blur(6px);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.pa-tabs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 clamp(12px,2vw,32px)}
.pa-tab{position:relative;display:flex;align-items:center;gap:12px;min-height:var(--nav-h);color:var(--ink-muted);text-decoration:none;font:var(--fw-label) 13px/1.2 var(--sans);letter-spacing:.12em;white-space:nowrap;transition:color var(--dur-base) var(--ease-out)}
.pa-tab .pn{font:var(--fw-display) 15px/1 var(--sans);letter-spacing:0;color:var(--teal-ink)}
.pa-tab::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--teal);transform:scaleX(0);transform-origin:0 50%;transition:transform var(--dur-slow) var(--ease-out)}
.pa-tab[aria-current=true]{color:var(--ink)}
.pa-tab[aria-current=true]::after{transform:none}
@media (hover:hover){.pa-tab:hover{color:var(--ink)}}

.pa-band{padding:clamp(56px,7vw,112px) 0;background:var(--white);scroll-margin-top:calc(var(--nav-h) - 14px)}   /* + the page's scroll-padding (header + 16px, base.css): the band meets the index */
.pa-band:nth-of-type(even){background:var(--grey)}
.pa-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,48px)}
.pa-head{display:grid;align-content:start;justify-items:start;gap:14px}
.pa-num{font:300 clamp(72px,9vw,136px)/.82 var(--sans);letter-spacing:-.03em;color:var(--teal)}
.pa-name{font:var(--fw-label) clamp(22px,2.1vw,32px)/1.15 var(--sans);letter-spacing:.12em;margin:0;color:var(--ink)}
.pa-units{display:flex;gap:8px}
.pa-units i{display:block;width:10px;height:10px;background:var(--teal)}

.pa-svcs{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.pa-svcs li{border-bottom:1px solid var(--rule-strong)}
.pa-svc{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:24px 0 22px 22px;color:var(--ink);text-decoration:none}
.pa-svc::before{content:"";position:absolute;left:0;top:-1px;bottom:-1px;width:3px;background:var(--teal);transform:scaleY(0);transform-origin:50% 100%;transition:transform var(--dur-base) var(--ease-out)}
.pa-svc .k{font:var(--fw-ui) 13px/1 var(--sans);letter-spacing:.06em;color:var(--teal-ink);font-variant-numeric:tabular-nums}
.pa-svc .t{font:var(--fw-display) clamp(20px,1.8vw,27px)/1.25 var(--sans);overflow-wrap:break-word;transition:color var(--dur-base) var(--ease-out),transform var(--dur-base) var(--ease-out)}
/* the arrow is the visible cue (client review); "Learn More", the link's own verbatim wording, stays for screen readers */
.pa-more{display:inline-flex;align-items:center;color:var(--teal-ink)}
.pa-more .lm{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pa-go{display:grid;place-items:center;width:40px;height:40px;box-shadow:inset 0 0 0 1.5px currentColor;transition:background var(--dur-base) var(--ease-out),color var(--dur-base) var(--ease-out)}
.pa-go .ico{width:20px;height:20px;transition:transform var(--dur-base) var(--ease-out)}
.pa-svc:focus-visible{outline-offset:4px}
.pa-svc:focus-visible::before{transform:none}
.pa-svc:focus-visible .t{color:var(--teal-ink)}
.pa-svc:focus-visible .pa-go{background:var(--teal-ink);color:var(--white)}
@media (hover:hover){
  .pa-svc:hover::before{transform:none}
  .pa-svc:hover .t{color:var(--teal-ink);transform:translateX(10px)}
  .pa-svc:hover .pa-go{background:var(--teal-ink);color:var(--white)}
  .pa-svc:hover .pa-go .ico{transform:translateX(3px)}
}

/* phones: the index scrolls sideways (whole names, never broken); the numeral sits beside the name */
@media (max-width:767px){
  .pa{--nav-h:52px}
  .pa-nav .wrap{padding-left:0;padding-right:0}
  .pa-tabs{display:flex;overflow-x:auto;scrollbar-width:none;gap:0;padding:0 var(--margin);scroll-padding:0 var(--margin)}
  .pa-tabs::-webkit-scrollbar{display:none}
  .pa-tabs li{flex:none}
  .pa-tab{padding:0 14px;gap:8px;font-size:12.5px}
  .pa-tabs li:first-child .pa-tab{padding-left:0}
  .pa-head{grid-template-columns:auto minmax(0,1fr);align-items:end;column-gap:18px}
  .pa-num{grid-row:1/span 2}
  .pa-name{align-self:end}
  .pa-units{align-self:start}
  .pa-svc{grid-template-columns:40px minmax(0,1fr) auto;gap:8px 12px;padding:20px 0 18px 16px}
}
/* desktop: the practice's name stays in view beside its services; the link sits at the row's end */
@media (min-width:1024px){
  .pa-grid{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(56px,7vw,128px)}
  .pa-head{position:sticky;top:calc(var(--header-h) + var(--nav-h) + 40px);align-self:start}
  .pa-svc{grid-template-columns:56px minmax(0,1fr) auto;gap:8px 24px;padding:30px 0 28px 28px}
}
@media (min-width:1024px) and (max-height:700px){.pa-head{position:static}}
html:not(.rm):has(.pa){scroll-behavior:smooth}   /* the index links glide to their practice (reduced motion: a jump) */

/* ---------- the practice card: the service page's rail (frame, numeral, team marker, name) ---------- */
@property --pf{syntax:'<number>';inherits:true;initial-value:0}   /* the frame closing 0 → 1 */
.px-card{--pf:0;position:relative;min-width:0;background:var(--white);box-shadow:inset 0 0 0 1px var(--rule-strong);
  transition:--pf 360ms var(--ease-io)}
.px-card.is-focus{--pf:1;transition:--pf 640ms var(--ease-io) 280ms}
.px-frame{position:absolute;inset:0;pointer-events:none}
.px-frame i{position:absolute;background:var(--teal)}
.px-frame .ft{top:0;left:0;right:0;height:2px;transform-origin:0 50%;transform:scaleX(clamp(0,calc(var(--pf)*4),1))}
.px-frame .fr{top:0;right:0;bottom:0;width:2px;transform-origin:50% 0;transform:scaleY(clamp(0,calc(var(--pf)*4 - 1),1))}
.px-frame .fb{bottom:0;left:0;right:0;height:2px;transform-origin:100% 50%;transform:scaleX(clamp(0,calc(var(--pf)*4 - 2),1))}
.px-frame .fl{top:0;left:0;bottom:0;width:2px;transform-origin:50% 100%;transform:scaleY(clamp(0,calc(var(--pf)*4 - 3),1))}
.px-in{position:relative;padding:26px clamp(18px,1.8vw,26px) 18px}
.px-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.px-card .pn{font:var(--fw-display) 18px/1 var(--display);color:var(--ink-muted);transition:color var(--dur-base) var(--ease-io)}
.px-team{display:flex;gap:8px}
.px-team i{display:block;width:10px;height:10px;background:var(--white);box-shadow:inset 0 0 0 2px var(--rule-strong);transition:box-shadow var(--dur-base) var(--ease-io)}
.px-card.is-focus .pn{color:var(--teal-ink)}
.px-card.is-focus .px-team i{box-shadow:inset 0 0 0 2px var(--teal);transition-delay:calc(560ms + var(--k,0)*70ms)}
.px-team i:nth-child(2){--k:1}.px-team i:nth-child(3){--k:2}.px-team i:nth-child(4){--k:3}
.px-name{font:var(--fw-label) clamp(16px,1.45vw,20px)/1.2 var(--sans);letter-spacing:.08em;margin:0 0 14px;color:var(--ink)}
@media (hover:hover){.sv-rl:hover .t{color:var(--teal-ink);text-decoration:underline;text-underline-offset:4px}}   /* no sticky hover after a tap */
.px-junction{display:none}

/* ==========================================================================================================
   SERVICE PAGES · one editorial framework for all 15 (verbatim, each page's own structure).
   Main column: title and introduction → supporting material → Key Output → the experts and contact panel, on one
   route (desktop) that ends at the contact panel. Rail (right on desktop, after the article elsewhere): the practice
   card as published on Areas of Practice, with every service in it.
   ========================================================================================================== */
.sv-page{display:grid;grid-template-columns:minmax(0,1fr);gap:56px;padding-top:28px;padding-bottom:clamp(72px,9vw,120px)}
.sv-main{position:relative;min-width:0}
.sv-route,.sv-mark{display:none}
.sv-head .crumbs ol{margin-bottom:18px;align-items:center}
.sv-head .crumbs li{display:inline-flex;align-items:center}
.sv-title{font:var(--fw-display) clamp(30px,3.3vw,50px)/1.08 var(--display);letter-spacing:.005em;max-width:21ch;margin:0 0 24px;overflow-wrap:break-word;hyphens:manual}
.sv-lede{font:var(--fw-display) clamp(19px,1.45vw,22px)/1.55 var(--display);max-width:62ch;margin:0;color:var(--ink)}
.sv-intro{margin-top:28px;max-width:68ch}
.sv-body p{font:400 17px/1.7 var(--sans);margin:0 0 1em}
.sv-benefits{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.sv-benefits li{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--grey);font:var(--fw-ui) 15.5px/1.35 var(--sans)}
.sv-benefits .unit{flex:none;width:10px;height:10px;background:var(--teal)}
.sv-intro .exhibit{margin:8px 0 0}
.sv-sec{position:relative;margin-top:clamp(48px,6vw,72px)}
.sv-h{font:var(--fw-display) clamp(24px,2vw,30px)/1.15 var(--display);margin:0 0 18px}
.sv-leadin{font:400 17px/1.6 var(--sans);color:var(--ink-muted);margin:-6px 0 16px;max-width:62ch}
/* Key Output: numbered tiles (an ordered list), each on the teal line of a practice frame */
.sv-out{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.sv-out li{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:baseline;padding:18px 18px 20px;background:var(--white);box-shadow:inset 0 0 0 1px var(--rule);border-top:2px solid var(--teal)}
.sv-out .n{font:var(--fw-ui) 12.5px/1 var(--sans);letter-spacing:.1em;color:var(--teal-ink)}
.sv-out .x{font:400 16.5px/1.5 var(--sans)}
/* the experts and contact panel: the route's last stop, a closed practice frame */
.sv-ask-in{--pf:1;position:relative;padding:clamp(24px,3vw,36px)}
.sv-topics{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0 32px}
.sv-topics li{display:flex;gap:12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--rule);font:var(--fw-ui) 16px/1.45 var(--sans)}
.sv-topics li::before{content:"";flex:none;width:8px;height:8px;background:var(--teal);transform:translateY(-1px)}
.sv-cta{margin:20px 0 0}

/* the rail: the practice card */
.sv-rail{min-width:0}
.sv-card{cursor:auto}
.sv-card .px-junction{display:none}
.sv-rail-list{list-style:none;margin:0;padding:0}
.sv-rail-list li{border-top:1px solid var(--rule)}
.sv-rl{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:baseline;gap:6px;min-height:var(--target);padding:11px 0;color:var(--ink);text-decoration:none;font:400 15.5px/1.4 var(--sans)}
.sv-rl .k{font:var(--fw-ui) 12px/1 var(--sans);letter-spacing:.1em;color:var(--ink-muted)}
.sv-rl[aria-current=page]{color:var(--teal-ink);font-weight:var(--fw-ui)}
.sv-rl[aria-current=page] .k{color:var(--teal-ink)}
.sv-rl{position:relative}
.sv-rl[aria-current=page]::before{content:"";position:absolute;left:calc(-1*clamp(18px,1.8vw,26px) - 4px);top:calc(11px + .7em - 5px);width:10px;height:10px;background:var(--teal)}   /* you are here: the unit on the card's edge */
.sv-card-all .px-name{margin-bottom:10px}
.sv-note{font:400 14px/1.4 var(--sans);color:var(--ink-muted)}

@media (min-width:700px){.sv-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.sv-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sv-out:has(>li:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}   /* four or five outputs: two columns, never a lone tile under three */
@media (min-width:1024px){
  .sv-page{grid-template-columns:minmax(0,1fr) 300px;gap:clamp(40px,5vw,80px);padding-top:36px}
  .sv-main{padding-left:56px}
  /* the route: down the article's gutter, a mark at the title, Key Output and the contact panel (the last, lit) */
  .sv-route{display:block;position:absolute;left:6px;top:calc(var(--target) + 30px);bottom:24px;width:2px;background:var(--rule)}
  .sv-route i{display:block;width:100%;height:100%;background:var(--teal);transform-origin:50% 0}
  .sv-mark{display:block;position:absolute;left:-56px;top:.42em;width:14px;height:14px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal);z-index:1}
  .sv-head{position:relative}
  .sv-head .sv-mark{top:calc(var(--target) + 30px)}
  .sv-ask .sv-mark{top:clamp(30px,3.4vw,42px);background:var(--teal);box-shadow:none}
  .sv-outputs .sv-mark{top:8px}
  .sv-rail{align-self:start;position:sticky;top:calc(var(--header-h) + 28px)}
  .sv-page.sv-unplaced .sv-rail{position:static}
}
@media (min-width:1024px) and (max-height:760px){.sv-rail{position:static}}   /* a short screen never traps the rail's list below the fold */

/* Phase 5C: the route is static (drawn complete, Key Output's mark filled): the scroll-driven fill is retired, as on the
   homepage. The motion on a service page is the practice card carried in from Areas of Practice and the contact
   panel's frame carried out to Contact (transitions.js). */
.sv-outputs .sv-mark{background:var(--teal);box-shadow:none}

/* people.css */
/* ---------- shared rules other pages rely on (kept verbatim from earlier phases) ---------- */
.band{background:var(--night);color:var(--on-dark);padding:56px 0 0;overflow:hidden;border-bottom:1px solid var(--teal)}   /* homepage GrdX chapter */
.held{font:500 12px/1.45 var(--sans);color:var(--gold);border:1px dashed var(--gold);padding:10px 12px;margin:12px 0 0;flex-basis:100%}   /* review notes */

/* ===================== Phase 4 · Our Experts: "Two registers" ===================== */
/* ---------- the expert card (directory, and the profile's previous/next) ---------- */
.xc{position:relative;display:flex;flex-direction:column}
.xc .arch{background:var(--grey)}
.xc .arch img{position:absolute;inset:0}
/* the frame corner grows on hover/focus by clipping (paint only), not by animating its size (layout) */
.xc .arch::before,.xc:hover .arch::before,.xc:focus-within .arch::before{width:52px;height:52px}
.xc .arch::before{clip-path:inset(0 24px 24px 0);transition:clip-path var(--dur-base) var(--ease-out)}
.xc:hover .arch::before,.xc:focus-within .arch::before{clip-path:inset(0)}
.xc .nm{font:var(--fw-display) clamp(19px,1.5vw,24px)/1.15 var(--display);margin:14px 0 4px;transition:color var(--dur-quick)}
.xc .rl{font:400 15px/1.4 var(--sans);color:var(--ink-muted);margin:0}
.xc .rm{display:inline-flex;align-items:center;min-height:var(--target);margin-top:2px;font:500 14px/1 var(--sans)}
/* the selection line: drawn when an expert is chosen; it becomes the profile's teal line */
.xc .rule{display:block;height:2px;margin-top:auto}
.xc .rule::after{content:"";display:block;height:100%;background:var(--teal);transform:scaleX(0);transform-origin:0 50%;transition:transform var(--dur-slow) var(--ease-out)}
.xc:hover .rule::after,.xc:focus-within .rule::after,.xc .rule.vt-on::after{transform:none}
.xc:hover .nm,.xc:focus-within .nm{color:var(--teal-ink)}
.xc .stretched:focus-visible{outline:none;box-shadow:none}
.xc:has(.stretched:focus-visible){outline:var(--focus);outline-offset:6px}
.xd-grid,.pf-nbs{list-style:none;margin:0;padding:0}

/* ---------- directory ---------- */
.xd{padding:clamp(40px,6vw,80px) 0 clamp(72px,9vw,128px)}
.xd-wrap{position:relative}
.xd-head{padding-bottom:clamp(32px,5vw,64px)}
.xd-head h1{font-size:var(--fs-plaque);margin:0}
.xd-group{position:relative;padding-bottom:clamp(48px,6vw,88px)}
.xd-gh{display:flex;align-items:center;gap:14px;margin-bottom:clamp(20px,2.4vw,32px)}
.xd-gh h2{font:var(--fw-display) clamp(24px,2.2vw,34px)/1.1 var(--display);margin:0}
.xd-unit{width:10px;height:10px;background:var(--teal);flex:none}
.xd-grid{display:grid;gap:clamp(20px,2.2vw,32px) var(--gap)}
.xd-lead{grid-template-columns:repeat(3,minmax(0,1fr))}
.xd-lead .nm{font-size:clamp(22px,2vw,30px)}
.xd-team{grid-template-columns:repeat(5,minmax(0,1fr))}
.xd-team:not(:has(>li:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}   /* three experts (DEC-03): the lead row's columns */
.xd-grid>li{display:flex}
.xd-grid .xc{flex:1;padding-bottom:16px}
.xd-grid .xc .rule{position:absolute;left:0;right:0;bottom:0}
/* Phase 5: no route, no group baseline and no line under each expert (a cleaner register: the portraits, names and
   the group headings carry the structure). The selection line stays: hidden until hover/focus, it is the object that
   becomes the profile's teal line. */
.xd .card{border-bottom:0}
@media (max-width:1023px){
  .xd-team{display:flex;flex-wrap:wrap;justify-content:center}
  .xd-team>li{width:calc((100% - 2 * var(--gap)) / 3)}
}
/* phones: the register's compact rows (portrait beside name, title and link): every expert in about two screens */
@media (max-width:599px){
  .xd-head{padding-bottom:28px}
  .xd-group{padding-bottom:40px}
  .xd-gh{margin-bottom:6px}
  .xd-grid{display:block}
  .xd-grid>li,.xd-team>li{width:auto}
  .xd-grid .xc{display:grid;grid-template-columns:var(--pw) minmax(0,1fr);gap:0 18px;align-items:center;padding:14px 0}
  .xd-lead{--pw:112px}.xd-team{--pw:88px}
  .xd-grid .xc .nm{margin:0 0 2px;font-size:21px}
  .xd-team .xc .nm{font-size:19px}
  .xc .rl{font-size:14px}
  .xd-grid .xc .rm{margin-top:0}
  .xd-grid .xc .rule{left:calc(var(--pw) + 18px);bottom:-1px}
}

/* ---------- profile (white-first) ---------- */
.pf{padding:clamp(28px,4vw,56px) 0 clamp(72px,9vw,120px)}
.pf-grid{display:grid;grid-template-columns:minmax(260px,440px) minmax(0,1fr);gap:clamp(32px,5vw,88px);align-items:start}
.pf-side{position:sticky;top:calc(var(--header-h) + 24px)}   /* the portrait stays beside the biography: no pinning, no scroll capture */
.pf .arch-profile{aspect-ratio:4/5;background:var(--grey)}
.pf .arch-profile img{position:absolute;inset:0}
.pf .arch-profile.is-lowres{max-width:300px}   /* a 283 × 188 source is not enlarged past about 2× (D-34) */
.pf-back{display:inline-flex;align-items:center;gap:8px;min-height:var(--target);font:500 14px/1 var(--sans);letter-spacing:.04em;color:var(--ink-muted);text-decoration:none}
.pf-back:hover{color:var(--teal-ink)}
.pf .ico-arrow{width:18px;height:18px}
.pf .role{font:var(--fw-label) 12.5px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--teal-ink);margin:18px 0 0}
.pf h1{font-size:clamp(36px,4.6vw,72px);line-height:1.04;margin:10px 0 0;max-width:14ch}
.pf h1:focus:not(:focus-visible){outline:none}
.pf .contacts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.pf .contacts.none{margin-top:0}
.pf .contact{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border:1px solid var(--rule-strong);color:var(--ink);text-decoration:none;font:500 14px/1 var(--sans)}
.pf .contact:hover{border-color:var(--teal-ink);color:var(--teal-ink)}
.pf-rule{display:block;height:2px;background:var(--teal);margin:clamp(24px,3vw,36px) 0;max-width:120px}
.pf-bio{max-width:66ch}
.pf-bio p{margin:16px 0 0;font:400 var(--fs-body)/1.7 var(--sans)}
.pf-bio p:first-child{margin-top:0}
.pf-bio .label{font:var(--fw-label) 12px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin:32px 0 10px}
.pf-lists{display:grid;gap:0 var(--gap);margin-top:clamp(40px,5vw,64px)}
@media (min-width:1180px){.pf-lists.n2,.pf-lists.n3{grid-template-columns:1fr 1fr}}
.pf-list{margin-bottom:32px}
.pf-list h2{font:var(--fw-display) clamp(20px,1.6vw,24px)/1.15 var(--display)}
.pf-nav{margin-top:clamp(40px,6vw,80px);border-top:1px solid var(--rule);padding-top:24px}
.pf-return{display:inline-flex;align-items:center;gap:10px;min-height:var(--target);font:500 15px/1 var(--sans);color:var(--teal-ink)}
.pf-nbs{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);margin-top:20px}
.xc-nb{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center;padding-bottom:12px}
.pf-next .xc-nb{grid-template-columns:minmax(0,1fr) 72px;text-align:right}
.pf-next .xc-nb .arch{grid-column:2;grid-row:1}.pf-next .xc-nb .xc-txt{grid-column:1;grid-row:1}
.xc-nb .nm{margin:4px 0 2px;font-size:18px}.xc-nb .nm a{color:inherit;text-decoration:none}
.xc-nb .rl{font-size:14px}
.xc-nb .rule{position:absolute;left:0;right:0;bottom:0}
.pf-dir{display:inline-flex;color:var(--teal-ink)}.pf-dir .ico{width:20px;height:20px}
@media (max-width:899px){
  .pf-grid{grid-template-columns:minmax(200px,300px) minmax(0,1fr)}
  .pf-nbs{grid-template-columns:1fr}
  .pf-next .xc-nb{grid-template-columns:72px minmax(0,1fr);text-align:left}
  .pf-next .xc-nb .arch{grid-column:1}.pf-next .xc-nb .xc-txt{grid-column:2}
}
@media (max-width:599px){
  .pf-grid{grid-template-columns:1fr;gap:20px}
  .pf-side{position:static}
  .pf .arch-profile{width:64%;max-width:260px}
  .pf h1{font-size:34px}
  .xc-nb,.pf-next .xc-nb{grid-template-columns:56px minmax(0,1fr)}
}

/* ---------- scroll-driven structure: lines and whole groups only; no portrait, no text is faded ---------- */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    html:not(.rm) .xd-group{view-timeline:--grp block}
    html:not(.rm) .xd-group .xd-grid{animation:xd-rise linear both;animation-timeline:--grp;animation-range:entry 0% entry 60%}
  }
}
@keyframes xd-rise{from{transform:translateY(28px)}to{transform:none}}

/* pages.css */
/* ==========================================================================================================
   ABOUT US · Phase 1: editorial (pages/about.mjs). Story → Vision & Mission → five equal values. No drawings.
   ========================================================================================================== */
.ab-h{font:var(--fw-display) var(--fs-h2)/var(--lh-tight) var(--display);letter-spacing:-.01em}
.ab-story-sec{padding:clamp(32px,4vw,56px) 0 clamp(56px,7vw,96px)}
.ab-story-sec .ab-h{margin-bottom:clamp(18px,2vw,28px)}
.ab-story{font:400 var(--fs-lede)/1.62 var(--sans);margin:0;max-width:72ch}
@media (min-width:1024px){.ab-story{max-width:none;column-count:2;column-gap:clamp(40px,5vw,72px)}}
.ab-statements{padding:clamp(56px,7vw,96px) 0;background:var(--grey)}
.ab-statements .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
@media (min-width:768px){.ab-statements .wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(40px,6vw,96px)}}
.ab-pr{border-top:var(--frame);padding-top:20px}
.ab-pr .ab-h{margin-bottom:14px}
.ab-pr p{margin:0;font:400 var(--fs-lede)/1.55 var(--sans);max-width:44ch}
.ab-values{padding:clamp(64px,8vw,112px) 0 clamp(72px,9vw,120px)}
.ab-vhead{max-width:62ch;margin:0 0 clamp(28px,4vw,48px)}
.ab-vhead .ab-h{margin-bottom:14px}
.ab-vlede{margin:0;color:var(--ink-muted)}
.ab-vlist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (min-width:768px){.ab-vlist{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.ab-vlist{grid-template-columns:repeat(5,minmax(0,1fr))}}
.ab-vlist li{display:flex;flex-direction:column;gap:14px;padding:20px 18px 22px;border:var(--border);background:var(--white);min-height:132px}
/* About Us (Phase 5C): Our Story (one frame) → Our Vision + Our Mission (two equal frames) → Our Values (five equal
   frames, lit together: no order, no ranking) → the closing hand-off (client/frame-pages.js, the shared frame engine).
   Still composition (no JavaScript, reduced motion): every frame drawn where the travelling frames rest. With the
   thread running (html.tf-on) the story and statement frames are drawn by it, and the value frames lit by its hand-over.
   The frames' padding is a registered length, so the script reads it computed (one source for both). */
@property --sp{syntax:'<length>';inherits:false;initial-value:0px}
@property --ap{syntax:'<length>';inherits:false;initial-value:0px}
.ab-story-sec .wrap{--sp:clamp(12px,2.4vw,28px);position:relative}
.ab-story-sec .wrap::before{content:"";position:absolute;pointer-events:none;top:calc(-1 * var(--sp));bottom:calc(-1 * var(--sp));left:calc(var(--margin) - var(--sp));right:calc(var(--margin) - var(--sp));border:var(--frame)}
.ab-pr{--ap:clamp(12px,2vw,24px);position:relative}
.ab-pr::before{content:"";position:absolute;pointer-events:none;top:-2px;bottom:calc(-1 * var(--ap));left:calc(-1 * var(--ap));right:calc(-1 * var(--ap));border:var(--frame)}   /* the statement's own rule is the top edge */
html.tf-on :is(.ab-story-sec .wrap,.ab-pr)::before{display:none}
.ab-vlist li{--tf:1;outline:2px solid color-mix(in srgb,var(--teal) calc(var(--tf) * 100%),transparent);outline-offset:-2px}
html.tf-on .ab-vlist li{--tf:0}
@media (forced-colors:active){.ab-vlist li{outline-color:CanvasText}}
/* the frame layer is main's first child (a stacking context): section backgrounds paint below it, content above */
body:is([data-page=about],[data-page=network]) main>*>.wrap{position:relative;z-index:1}
.ab-vlist .unit{width:14px;height:14px;background:var(--teal);flex:none}
.ab-cv{font:var(--fw-label) 15px/1.3 var(--sans);letter-spacing:.08em;color:var(--ink)}

/* ==========================================================================================================
   SUCCESS STORIES (Phase 5B): the four industries, each in its own teal frame (pages/proof.mjs, client/stories.js).
   As an industry comes into view its frame closes around its clients (CSS scroll timeline, reversible); its square in the
   index fills once it has been read. The closing hand-off follows as the fifth frame in the same column.
   ========================================================================================================== */
.stories{display:grid;grid-template-columns:minmax(0,1fr);padding-top:clamp(28px,4vw,48px);padding-bottom:clamp(72px,9vw,120px)}
/* plates: one size; the whole file is drawn (plateBox in proof.mjs). Rows read top-down in source order; a shorter last
   row is centred (no filler cells for any count). */
.plates{--c:3;--pg:8px;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--pg)}
.pl{position:relative;flex:0 0 calc((100% - (var(--c) - 1) * var(--pg)) / var(--c));aspect-ratio:3/2;background:var(--white);border:1px solid var(--line)}
.pl img{position:absolute;max-width:none;pointer-events:none}
.pl-blend img{mix-blend-mode:multiply}   /* white canvas margins: invisible; pixels over the white plate unchanged */
/* high contrast (forced colours): the plate stays white, so the blend still lands on white and every logo shows as the
   image itself (otherwise a dark Canvas plate would multiply each white-canvas logo to black); the border follows the theme */
@media (forced-colors:active){.pl{forced-color-adjust:none;background:#fff;border-color:CanvasText}}
@media (min-width:768px){.plates{--c:4;--pg:10px}}
@media (min-width:1024px){.plates{--c:5;--pg:12px}}
/* an industry: a framed group. isolation: the logos' blend group ends at the industry (no composited backdrop, no
   per-logo layers; see the Phase 1 performance note). The frame is the practice cards' (--pf: 0 open → 1 closed). */
.dir-floor{--pf:1;position:relative;isolation:isolate;padding:clamp(18px,2.4vw,32px);margin-bottom:clamp(20px,2.6vw,36px);background:var(--white);scroll-margin-top:calc(var(--header-h) + 112px)}
.dir-floor:last-child{margin-bottom:0}
.dir-fhead{display:flex;align-items:baseline;gap:14px;margin:0 0 18px}
.dir-fn{font:var(--fw-display) clamp(28px,2.4vw,34px)/1 var(--display);color:var(--teal-ink);min-width:1.4em}
.dir-fhead h2{font-size:var(--fs-h3)}
.dir-floors>.held{margin-bottom:24px}
/* index: the four industries, each with its square (filled once read) */
.dir-index{list-style:none;margin:0;padding:0}
.dir-index a{position:relative;text-decoration:none;color:var(--ink-muted)}
.ix-m{display:block;width:10px;height:10px;background:var(--white);box-shadow:inset 0 0 0 2px var(--teal);flex:none;transition:background var(--dur-base) var(--ease-out)}
.dir-index a[data-seen] .ix-m{background:var(--teal)}
.ix-n{font:var(--fw-display) 20px/1 var(--display);color:var(--teal-ink)}
.dir-now{display:none;margin:0}
/* phones + tablets: a sticky row of four numbered squares under the header */
@media (max-width:1023px){
  .dir-rail{position:sticky;top:var(--header-h);z-index:20;margin:0 calc(-1*var(--margin)) 22px;padding:10px var(--margin) 8px;background:color-mix(in srgb,var(--stone-0) 96%,transparent);border-bottom:1px solid var(--datum);backdrop-filter:blur(6px)}
  .dir-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .dir-index a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;height:100%;padding:8px 6px 7px;border:1px solid var(--line);text-align:center;font:500 12.5px/1.2 var(--sans)}
  .dir-index a[aria-current=true]{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);color:var(--ink)}
  .ix-m{display:none}
  .ix-n{font-size:18px}
  .no-js .dir-rail{position:static}
}
@media (max-width:767px){
  .js .dir-index .ix-t{display:none}           /* names: in the caption (and in each link's accessible name) */
  .js .dir-now{display:block;padding-top:7px;font:500 13px/1.3 var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dir-now span{display:none}.dir-now span[data-on]{display:inline}
  .no-js .dir-index{grid-template-columns:1fr 1fr}
  .dir-floor{padding:16px 14px 18px;scroll-margin-top:calc(var(--header-h) + 104px)}
}
/* desktop: the sticky index beside the industries; the closing hand-off lines up as the fifth frame of the column */
@media (min-width:1024px){
  .stories{--rail:264px;--rgap:clamp(40px,5vw,80px);grid-template-columns:var(--rail) minmax(0,1fr);column-gap:var(--rgap);align-items:start}
  .dir-rail{position:sticky;top:calc(var(--header-h) + 28px);z-index:1}
  .dir-index{border-top:1px solid var(--datum)}
  .dir-index a{display:grid;grid-template-columns:18px 34px 1fr;align-items:center;gap:6px;padding:12px 0 12px 12px;border-bottom:1px solid var(--line-soft);font:400 15px/1.35 var(--sans)}
  .dir-index a:hover{color:var(--teal-ink)}
  .dir-index a[aria-current=true]{color:var(--ink);font-weight:500}
  .dir-index a[aria-current=true]::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;background:var(--teal)}
  .dir-floor{scroll-margin-top:calc(var(--header-h) + 28px)}
  main:has(>.stories) .closing-in,main:has(.stories) .closing-in{margin-left:calc(264px + clamp(40px,5vw,80px))}
}
main:has(.stories) .closing-route,main:has(.stories) .closing-in>.route-stop{display:none}   /* the column of frames is the route here */
html:not(.rm):has(.stories){scroll-behavior:smooth}
/* the frame closes as its industry comes into view (reversible; text and logos never move or fade) */
@keyframes st-pf{from{--pf:0}to{--pf:1}}
@media (prefers-reduced-motion:no-preference){@supports (animation-timeline:view()){
  /* on the frame itself (it covers the industry exactly, so its view timeline is the industry's): --pf is inherited, and
     animated on the section it would restyle every logo plate on every scroll frame (measured on phones) */
  html:not(.rm):not(.capture) .dir-floor>.px-frame{animation:st-pf linear both;animation-timeline:view();animation-range:entry 10% cover 30%}
}}

/* ---------- Strategic Network: five partners, one invitation (Phase 5C) ----------
   Five equal plates, each with its own frame (outline, so no layout change), lit together; the frame engine
   (client/frame-pages.js) dims them as the five travelling frames leave together for the closing hand-off. Still
   composition (no JavaScript, reduced motion): the five frames drawn. Plates use the Success Stories plateBox() (whole
   file, never clipped or recoloured; white margins blend). No gutter: the retired branch drawing's indent is closed. */
.nw-wrap{position:relative;padding-top:clamp(40px,7vw,88px)}
.nw-head h1{font-size:var(--fs-plaque);max-width:18ch;margin:0}
.nw-row{position:relative;margin-top:clamp(32px,5vw,56px)}
.nw-partners{--cg:16px;list-style:none;margin:0;padding:0;display:grid;gap:var(--cg)}
.nw-plate{position:relative;aspect-ratio:3/2;width:min(100%,clamp(230px,60vw,300px));background:var(--white);border:1px solid var(--line);overflow:hidden;
  --tf:1;outline:2px solid color-mix(in srgb,var(--teal) calc(var(--tf) * 100%),transparent);outline-offset:-2px}
html.tf-on .nw-plate{--tf:0}   /* lit by the thread's hand-over */
.nw-plate img{position:absolute;max-width:none;pointer-events:none}
.nw-plate.pl-blend img{mix-blend-mode:multiply}
@media (forced-colors:active){.nw-plate{forced-color-adjust:none;background:#fff;border-color:CanvasText;outline-color:CanvasText}}
@media (min-width:600px){
  .nw-partners{--cg:clamp(12px,1.6vw,24px);grid-template-columns:repeat(3,minmax(0,1fr))}
  .nw-plate{width:100%}
}
@media (min-width:1024px){.nw-partners{grid-template-columns:repeat(5,minmax(0,1fr))}}
.nw .held{margin-top:16px}
/* the closing hand-off lines up with the plates (no route in the gutter on this page) */
main:has(>.nw) .closing-route,main:has(>.nw) .closing-in>.route-stop{display:none}
main:has(>.nw) .closing-in{margin-left:0}

/* ---------- Contact: the last stop (Phase 5) ---------- */
.ct{position:relative;display:grid;gap:48px;padding-top:clamp(36px,6vw,80px);padding-bottom:clamp(72px,9vw,120px)}
.ct-side{margin-left:var(--rg);display:grid;gap:clamp(28px,3.4vw,44px);align-content:start}
.ct-head{position:relative}
.ct-head .route-stop{top:.55em}
.ct-head h1{font-size:var(--fs-plaque);margin:0}
.ct-head .plaque-lede{margin-top:18px;max-width:44ch}
.contact-direct{display:grid;gap:4px;align-content:start}
.contact-direct a{display:inline-flex;align-items:center;gap:10px;min-height:var(--target);font:var(--fw-ui) 17px/1.3 var(--sans);width:max-content;max-width:100%}
.contact-direct a.ct-mail{font-size:clamp(20px,1.9vw,27px);line-height:1.25;overflow-wrap:anywhere}
.offices{display:grid;gap:28px;align-content:start}
.office{position:relative}
.office .route-stop{top:.45em}
.office h2{font-size:var(--fs-h3);margin:0 0 6px}
.office address{color:var(--ink-muted);max-width:40ch}
/* the form: one framed object; the unavailable notice is the frame's header band; fields two per row from 700 px */
.ct-form{--pf:1;--fp:clamp(20px,3vw,40px);position:relative;margin-left:var(--rg);padding:var(--fp);align-self:start;background:var(--white)}
.ct-form .form-status{margin:calc(-1 * var(--fp)) calc(-1 * var(--fp)) 4px;padding:clamp(18px,2.4vw,28px) var(--fp);border:0;border-bottom:1px solid var(--rule)}
.ct-form .form-status p{margin:0 0 2px}
.ct-form .form-status p:nth-child(n+3){display:inline-flex;margin:4px 24px 0 0}
/* a connected form's status sits inside the form, not as the frame's header band */
.ct-form .lead-status{margin:0;padding:14px 16px;border:var(--border);border-left:3px solid var(--teal)}
@media (min-width:700px){.ct-form form{grid-template-columns:1fr 1fr;column-gap:20px}.ct-form .field-textarea,.ct-form .form-actions,.ct-form .field-radio,.ct-form .field-consent,.ct-form .lead-status,.ct-form .lead-alt{grid-column:1/-1}}
@media (min-width:1024px){
  .ct{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,5vw,88px)}
  .ct-form{margin-left:0}
  /* every closing route (and a service's contact panel) hands its frame to this one (transitions.js) */
  .ct-form>.px-frame{view-transition-name:contact-frame}
}

/* ---------- report pages ---------- */
.report{padding-top:clamp(40px,7vw,88px);padding-bottom:clamp(72px,9vw,120px);display:grid;gap:28px;max-width:calc(880px + 2*var(--margin))}
.report-cover{border-bottom:1px solid var(--teal);padding-bottom:28px}
.report-cover h1{font-size:var(--fs-plaque);}
.report-cover .eyebrow{margin:0 0 14px}
.files{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.file{display:flex;gap:16px;align-items:center;min-height:64px;padding:12px 18px;background:var(--white);border:1px solid var(--line);color:var(--ink);text-decoration:none;font:500 16px/1.35 var(--sans)}
.file:hover{border-color:var(--teal-ink);color:var(--teal-ink)}
.file-ico{flex:none;display:grid;place-items:center;width:44px;height:52px;border:1px solid var(--teal);font:600 var(--fs-min)/1 var(--sans);letter-spacing:.08em;color:var(--teal-ink)}

/* ---------- 404 ---------- */
.nf{padding-bottom:clamp(72px,9vw,120px)}
.nf h1{font-size:clamp(30px,3.2vw,46px);max-width:24ch;margin-bottom:24px}
.nf ul{margin:0 0 20px;padding-left:20px}

/* ---------- /_foundation (preview only) ---------- */
.foundation{padding-top:48px;padding-bottom:120px}
.foundation h1{font-size:var(--fs-plaque);margin:8px 0 18px}
.foundation h2{font-size:var(--fs-h3);margin:56px 0 18px}
.fd-lede{max-width:70ch}
.fd-sw{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.fd-sw li{display:grid;grid-template-columns:44px 1fr;gap:2px 12px;align-items:center;font:400 13px/1.3 var(--sans)}
.fd-sw .sw{grid-row:span 4;width:44px;height:72px;border:1px solid var(--line)}
.fd-sw em{color:var(--ink-muted)}
.t-display{font:var(--fw-display) var(--fs-display)/1 var(--display);margin:0 0 12px}
.t-h2{font:var(--fw-display) var(--fs-h2)/1.1 var(--display)}
.t-lede{font:var(--fw-display) var(--fs-lede)/1.5 var(--display)}
.fd-arches{display:flex;gap:16px;margin:24px 0}.fd-arches .arch{width:140px;background:var(--stone-1)}.fd-arches .arch-c{background:var(--night)}
.fd-table{border-collapse:collapse;width:100%;font:400 13.5px/1.4 var(--sans)}
.fd-table th,.fd-table td{border-bottom:1px solid var(--line);padding:8px 10px 8px 0;text-align:left;vertical-align:top}
@media (max-width:767px){.fd-table{display:block;overflow-x:auto}}

/* motion.css */
/* ---------- cross-document page transitions (View Transitions Level 2) ----------
   Service: the practice card on Areas of Practice becomes the service page's rail card (titles are not morphed: the
   list title and the service H1 are different ledger items). Profile: the card's portrait, name and selection line become the
   profile's portrait, H1 and teal line; previous/next: the neighbour card becomes the next profile's portrait. Home ↔ Areas of Practice: the four practice frames carry over (Phase 3).
   Names on the destination are static; on the origin they are set at pageswap (assets/js/transitions.js). */
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
body[data-vt=service] .sv-card.is-focus .px-frame{view-transition-name:practice-card}   /* the practice card → the rail card */
body[data-vt=profile] .arch-profile{view-transition-name:portrait}
body[data-vt=profile] .pf h1{view-transition-name:name}
body[data-vt=profile] .pf-rule{view-transition-name:xrule}
/* profile ↔ profile (previous / next): the neighbour card carries the portrait, so this page's own names stand down */
html.vt-nb body[data-vt=profile] .arch-profile,html.vt-nb body[data-vt=profile] .pf h1,html.vt-nb body[data-vt=profile] .pf-rule{view-transition-name:none}
::view-transition-group(practice-card){animation-duration:var(--dur-morph);animation-timing-function:var(--ease-io)}
::view-transition-group(portrait),::view-transition-group(name){animation-duration:620ms;animation-timing-function:var(--ease-io)}
::view-transition-old(portrait),::view-transition-new(portrait){height:100%;object-fit:cover}
::view-transition-group(xrule){animation-duration:620ms;animation-timing-function:var(--ease-io)}
::view-transition-old(xrule),::view-transition-new(xrule){width:100%;height:100%}

/* shared objects only: the old page leaves fast (≤ 120 ms), the new one rises; no full-page cross-fade */
@keyframes ob-out{to{opacity:0}}
@keyframes ob-in{from{opacity:0;transform:translateY(10px)}}
::view-transition-old(root){animation:110ms var(--ease-out) both ob-out}
::view-transition-new(root){animation:340ms var(--ease-out) 100ms both ob-in}
/* arriving on a profile: the page is there at once (the biography never fades in); only the old page leaves */
html:has(body[data-vt=profile])::view-transition-new(root){animation:none}
/* the header is the same on every page: it stays put instead of leaving and returning with the page */
.site-header{view-transition-name:site-header}
::view-transition-group(site-header){animation-duration:0s}
/* home ↔ Areas of Practice: the four practice frames carry over first; the page's words arrive once they have settled */
html.vt-practices::view-transition-new(root){animation-delay:360ms}
::view-transition-group(practice-0),::view-transition-group(practice-1),::view-transition-group(practice-2),::view-transition-group(practice-3){animation-duration:560ms;animation-timing-function:var(--ease-io)}

@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes settle{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* header datum draws on first load of the homepage */
html.js:not(.rm) body[data-page=home] .site-header .datum{animation:datum 700ms var(--ease-out) both}
@keyframes datum{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* one switch for every motion: OS setting or the site switch → still compositions */
html.rm *,html.rm *::before,html.rm *::after{animation-duration:1ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:1ms!important;transition-delay:0ms!important;scroll-behavior:auto!important}
html.rm .arch img{transform:none!important}
@media (prefers-reduced-motion:reduce){html:not(.motion-forced) *{scroll-behavior:auto!important}}

/* ---------- Phase 5: the footer's rise (the Network route and branch are retired in Phase 5C: frame-pages.js) ----------
   Phase 5A: the closing route, its stop and frame, and the footer rule are static: on the homepage the frame thread
   carries that relationship, and elsewhere the hand-off to Contact (the contact-frame transition) is the motion.
   Decorative lines and frames only: plates, words and fields never move or fade. Finished state under reduced motion,
   the site's motion switch, ?capture, and in browsers without scroll timelines. */
::view-transition-group(contact-frame){animation-duration:520ms;animation-timing-function:var(--ease-io)}
@keyframes fl-rise{from{transform:translateY(-38%)}to{transform:none}}
@media (prefers-reduced-motion:no-preference){@supports (animation-timeline:view()){
  /* the final layer: the page lifts away (its shadow falls on the footer's top edge) and the footer's contents rise from
     under that edge, more slowly than the page scrolls; settled once the footer is wholly in view. Transform only. */
  html:not(.rm):not(.capture) .site-footer{view-timeline:--fl block}
  html:not(.rm):not(.capture) .fl-inner{animation:fl-rise linear both;animation-timeline:--fl;animation-range:entry 0% entry 100%}
}}


/* review.css */
/* Review mode (local builds): outlines every ledger string with its content ID and flags discrepancies,
   proposals and provisional choices. Toggle with R or the ribbon; add ?review to a URL. */
.review-only{display:none}
html.review .review-only{display:block}
html.review [data-cid]:not(img):not(title):not(meta):not(text),html.review img[data-cid]{outline:1px dashed rgba(0,104,127,.6);outline-offset:2px}
html.review [data-cid]:not(img):not(title):not(meta):not(text){position:relative}
html.review [data-cid]:not(img):not(title):not(meta):not(text)::after{content:attr(data-cid);position:absolute;left:0;top:-14px;font:600 9px/1 var(--sans);letter-spacing:.03em;color:#fff;background:var(--teal-ink);padding:2px 4px;white-space:nowrap;z-index:5;pointer-events:none;font-style:normal;text-transform:none}
html.review [data-flag]{box-shadow:0 0 0 2px var(--gold)}
html.review [data-flag]:not(img)::before{content:attr(data-flag);position:absolute;right:0;top:-14px;font:600 9px/1 var(--sans);color:#232220;background:var(--gold);padding:2px 4px;z-index:6;white-space:nowrap;font-style:normal;text-transform:none;letter-spacing:0}
html.review [data-ui]{outline:1px dotted #B42318;outline-offset:2px}
html.review [data-integration=blocked]{outline:2px dashed var(--notice);outline-offset:6px}
html.review [data-cid-embed]{outline:2px dashed var(--notice)}
