/* ==========================================================================
   Juris Digital, redesign concept: "Built like a case"
   Tokens first. The shield gradient means one thing only: signed, cited, yours.
   ========================================================================== */

@font-face { font-family: "Schola"; src: url("../fonts/schola-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schola"; src: url("../fonts/schola-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Schola"; src: url("../fonts/schola-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* their darks, deepened with intent */
  --docket: #03242B;
  --brief: #04333D;
  /* interactive teal from the live site; the darker one for small text on Ground */
  --counsel: #087C80;
  --counsel-ink: #0A6E72;
  /* the call to action lime from the live site */
  --retain: #92E12E;
  --retain-hi: #A7ED4F;
  /* the logo gradient: logo, and the "signed, cited, yours" state, nowhere else */
  --g1: #14EEEE;
  --g2: #6FFF2C;
  --shield: linear-gradient(135deg, var(--g1), var(--g2));
  --shield-h: linear-gradient(90deg, var(--g1), var(--g2));

  --ground: #F3F6F5;
  --paper: #FFFFFF;
  --ink: #0E1A1C;
  --ink-2: #33403F;
  --muted: #525A59;
  --rule: #DCE3E2;
  --rule-soft: #E8EDEC;
  --rule-dark: rgba(233, 242, 241, .14);
  --on-dark: #E9F2F1;
  --on-dark-2: #A9C3C2;
  --star: #E8A33D;          /* review stars only */
  --pad: #F5D76E;           /* the concept notice only */
  --error: #B42318;

  --serif: "Schola", "Century Schoolbook", "New Century Schoolbook", "Century", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(3.25rem, 7.4vw, 7rem);
  --fs-h2: clamp(2.25rem, 4.2vw, 3.75rem);
  --fs-h3: 1.5rem;
  --fs-lede: clamp(1.125rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 18px;
  /* the one shadow, used rarely: the docket, the case file, the consent card */
  --shadow: 0 1px 2px rgba(3, 36, 43, .06), 0 24px 48px -24px rgba(3, 36, 43, .28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --masthead-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--masthead-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3, h4 { font-weight: 600; line-height: 1.25; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: rgba(20, 238, 238, .35); }
:focus-visible { outline: 2px solid var(--counsel); outline-offset: 3px; border-radius: 4px; }
:is(.evidence, .relationship, .words, .close, .footer, .menu, .tile--dark, .div--os, .show) :focus-visible { outline-color: var(--g1); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-top: 20px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

:where(html:has(> body.is-loading), html.menu-open, html.lenis-stopped) { overflow: hidden; }
[tabindex="-1"]:focus { outline: none; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: var(--r-s); background: var(--brief); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--retain); color: var(--brief); }
.btn--ink { background: var(--brief); color: #fff; }
.btn--ghost { border: 1px solid var(--rule); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn--outline { border: 1.5px solid currentColor; color: var(--brief); }
.btn--quiet { padding-inline: 4px; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--block { width: 100%; }
.link { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--counsel-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(8, 124, 128, .35); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--retain-hi); }
  .btn--ink:hover { background: var(--docket); }
  .btn--ghost:hover { border-color: var(--ink-2); }
  .btn--outline:hover { background: var(--brief); color: #fff; border-color: var(--brief); }
  .btn--quiet:hover { text-decoration-color: var(--counsel); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- loader: the one orchestrated moment ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  background: var(--brief); color: #fff;
}
/* the lockup in the logo's own units (shield 60, wordmark 276 starting 10 right of it); --u shrinks it on narrow screens */
.loader__stage { --u: min(1px, calc((100vw - 48px) / 350)); display: flex; align-items: center; gap: calc(8 * var(--u)); }
.loader__mark { width: calc(64 * var(--u)); height: calc(64 * var(--u)); overflow: visible; }
.loader__outline { fill: none; stroke: url(#g-shield); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__fill { opacity: 0; }
.loader__word { width: calc(276 * var(--u)); height: calc(60 * var(--u)); overflow: hidden; fill: #fff; }
.loader__edge { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 9vh; fill: var(--brief); }
.is-ready .loader, .reduce .loader { display: none; }

/* ---------- concept notice ---------- */
.notice { background: var(--pad); color: #2B2614; font-size: .8125rem; line-height: 1.45; }
.notice p { padding-block: 8px; text-align: center; }
.notice a { color: inherit; font-weight: 600; text-underline-offset: 3px; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 246, 245, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.masthead.is-scrolled { border-bottom-color: var(--rule); background: rgba(243, 246, 245, .94); }
.masthead__bar { display: flex; align-items: center; gap: 28px; height: var(--masthead-h); }
.masthead__logo { flex: none; display: block; }
.masthead__logo img { width: 196px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav__link svg { width: 12px; height: 12px; transition: transform 220ms var(--ease-out); }
.nav__trigger[aria-expanded="true"] { color: var(--ink); background: rgba(4, 51, 61, .06); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.masthead__actions { display: flex; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--ink); } }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5;
  display: grid; gap: 2px; padding: 10px; border-radius: var(--r-l);
  background: var(--paper); box-shadow: 0 0 0 1px rgba(3, 36, 43, .06), var(--shadow);
  opacity: 0; transform: translate(-50%, 6px);
}
.mega[hidden] { display: none; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega.is-open { opacity: 1; transform: translate(-50%, 0); transition: opacity 180ms var(--ease-out), transform 240ms var(--ease-out); }
.mega a { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background-color .15s; }
.mega__name { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.mega__desc { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.mega--divisions { width: 440px; }
.mega--capabilities { width: 780px; grid-template-columns: repeat(3, 1fr); }
.mega--resources { width: 600px; grid-template-columns: repeat(2, 1fr); }
@media (hover: hover) and (pointer: fine) { .mega a:hover { background: var(--ground); } }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; }
.menu-toggle span, .menu__close span { position: absolute; left: 12px; width: 20px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }

/* full-screen menu: a curtain from the top, links rise after it */
.menu {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  background: var(--brief); color: #fff;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1) .14s, visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--masthead-h); }
.menu__close { position: relative; width: 44px; height: 44px; color: #fff; }
.menu__close span { top: 21px; }
.menu__close span:first-child { transform: rotate(45deg); }
.menu__close span:last-child { transform: rotate(-45deg); }
.menu__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-block: 24px 32px; overflow-y: auto; }
.menu__list li, .menu__foot { opacity: 0; transform: translateY(26px); transition: opacity .2s, transform .2s; }
.menu.is-open :is(.menu__list li, .menu__foot) { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s), transform .75s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s); }
.menu__list a { display: block; padding: 10px 0; font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.15; color: #fff; text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.menu__foot { display: grid; gap: 14px; margin-top: 32px; }
.menu__phone { text-align: center; color: var(--on-dark-2); font-weight: 500; }

/* ==========================================================================
   HERO: the live intake docket
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6.5vw, 96px); background: var(--ground); }
/* the dark band rises behind the docket, so the product sits across both grounds */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(120px, 16vw, 220px); background: var(--brief); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 56px; align-items: end; }
.hero__kicker { margin-bottom: 18px; font-size: .9375rem; font-weight: 500; color: var(--counsel-ink); }
.hero__title { font-size: var(--fs-display); line-height: .95; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero__title .line > span { display: block; }
.hero__side { padding-bottom: .5rem; }
.hero__lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .875rem; color: var(--muted); text-decoration: none; }
.rating strong { color: var(--ink); font-weight: 600; }
.rating__stars { display: inline-flex; gap: 2px; }
.rating__stars i { width: 13px; height: 13px; background: var(--star); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rating__stars i.is-part { background: linear-gradient(90deg, var(--star) 80%, #D5DCDB 80%); }
@media (hover: hover) and (pointer: fine) { .rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; } }

.hero__docket { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); }

.docket { background: var(--paper); border-radius: var(--r-l); box-shadow: 0 0 0 1px rgba(3, 36, 43, .06), var(--shadow); overflow: hidden; }
.docket__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--rule-soft); font-size: .8125rem; color: var(--muted); }
.docket__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.docket__title > span:nth-child(2) { font-weight: 600; color: var(--ink); }
.docket__firm { padding-left: 12px; border-left: 1px solid var(--rule); white-space: nowrap; }
.docket__dots { display: inline-flex; gap: 6px; }
.docket__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.docket__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); }
.docket__live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--counsel); }
.docket__live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--counsel); opacity: 0; }
.is-streaming .docket__live i::after { animation: live 2.4s var(--ease-out) infinite; }
@keyframes live { 0% { opacity: .7; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.4); } }

.docket__want { display: flex; align-items: center; gap: 18px; padding: 12px 22px; border-bottom: 1px solid var(--rule-soft); }
.docket__want-label { flex: none; font-size: .875rem; font-weight: 600; color: var(--ink); }

/* tabs and segmented controls share one sliding pill, sized from JS (--x, --w) */
.tabs, .seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ground); }
.tabs::before, .seg::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0);
  border-radius: 999px; background: var(--brief);
  transform: translateX(var(--x, 0)); transition: transform 240ms var(--ease-in-out), width 240ms var(--ease-in-out);
}
.tabs.is-instant::before, .seg.is-instant::before { transition: none; }
.tabs__tab, .seg button { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color 200ms var(--ease-out); }
.tabs__tab[aria-selected="true"], .seg button[aria-checked="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .tabs__tab[aria-selected="false"]:hover, .seg button[aria-checked="false"]:hover { color: var(--ink); }
}
.tabs:not(.has-pill) .tabs__tab[aria-selected="true"], .seg:not(.has-pill) button[aria-checked="true"] { background: var(--brief); }
.tabs__tab:focus-visible, .seg button:focus-visible { outline-offset: 0; border-radius: 999px; }

.docket__head, .row {
  display: grid; grid-template-columns: 176px minmax(0, 1.7fr) 150px 140px 150px; gap: 18px; align-items: center; padding-inline: 22px;
}
.docket__head { height: 40px; border-bottom: 1px solid var(--rule-soft); background: #FAFBFB; font-size: .75rem; font-weight: 500; color: var(--muted); }
.docket__rows { position: relative; height: calc(var(--row-h, 64px) * 6); overflow: hidden; }
.row { position: relative; height: var(--row-h, 64px); border-bottom: 1px solid var(--rule-soft); transition: opacity 400ms var(--ease-out), background-color 400ms var(--ease-out); }
/* the gradient rule arrives when a wanted case is signed */
.row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--shield); transform: scaleY(0); }
.row.is-signed::before { transform: scaleY(1); transition: transform 520ms var(--ease-out); }
.row.is-entering { opacity: 0; }
.row.is-out { opacity: .5; }
.row__src { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ground); color: var(--brief); }
.row__icon svg { width: 18px; height: 18px; }
.row__srcname { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__lang { display: block; font-size: .6875rem; font-weight: 600; color: var(--counsel-ink); }
.row__matter { min-width: 0; }
.row__matter b { display: block; font-size: .9063rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__matter span { display: block; font-size: .75rem; color: var(--muted); }
.row__area { font-size: .8125rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__q { display: flex; align-items: center; gap: 10px; }
.meter { position: relative; flex: none; width: 64px; height: 6px; border-radius: 3px; background: var(--rule-soft); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--q, 0) * 1%); border-radius: 3px; background: var(--brief); transition: width 600ms var(--ease-in-out), background-color 400ms; }
.row.is-out .meter i { background: #AEBBBA; }
.row__qn { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 2ch; }
.stage { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--rule); font-size: .75rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color 300ms, color 300ms, border-color 300ms; }
.stage[data-stage="review"] { border-color: #BFE0DF; background: #EEF7F7; color: var(--counsel-ink); }
.stage[data-stage="consult"] { border-color: var(--brief); color: var(--brief); }
.stage[data-stage="signed"] { border-color: transparent; background: var(--shield); color: var(--brief); }
.stage[data-stage="out"] { border-color: transparent; color: var(--muted); font-weight: 500; }
.stage.is-new { animation: stage-in 420ms var(--ease-out); }
@keyframes stage-in { from { opacity: .2; transform: scale(.92); } }

.docket__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 14px 22px; background: #FAFBFB; border-top: 1px solid var(--rule-soft); }
.docket__tally { display: flex; gap: 32px; }
.docket__tally div { display: grid; }
.docket__tally dt { font-size: .75rem; color: var(--muted); }
.docket__tally dt::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--rule); vertical-align: 1px; }
.docket__tally .is-signed dt::before { background: var(--shield); }
.docket__tally dd { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.docket__tally dd.is-bump { animation: data 260ms var(--ease-out); }
.docket__measure { font-size: .8125rem; color: var(--muted); }

/* ==========================================================================
   EVIDENCE
   ========================================================================== */
.evidence { background: var(--brief); color: var(--on-dark); padding: clamp(32px, 4vw, 56px) 0 var(--section); }
.evidence__statement { max-width: 24em; font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.18; letter-spacing: -.015em; color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 72px); border-block: 1px solid var(--rule-dark); }
.fact { padding: 28px 24px 30px; border-left: 1px solid var(--rule-dark); }
.fact:first-child { padding-left: 0; border-left: 0; }
.exhibit-mark { display: inline-block; margin-bottom: 16px; font-size: .75rem; font-weight: 600; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: var(--rule-dark); text-underline-offset: 4px; }
.fact__num { font-family: var(--serif); font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: lining-nums; white-space: nowrap; }
.fact__label { margin-top: 12px; font-size: .9375rem; color: var(--on-dark); }
.fact__who { margin-top: 2px; font-size: .8125rem; color: var(--on-dark-2); }
@media (hover: hover) and (pointer: fine) { .exhibit-mark:hover { color: #fff; text-decoration-color: currentColor; } }
.awards { display: flex; align-items: center; gap: 24px 48px; margin-top: clamp(40px, 5vw, 56px); }
.awards__label { flex: none; font-size: .875rem; color: var(--on-dark-2); }
.awards__list { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.awards__list img { height: var(--h); width: auto; opacity: .92; }

/* ==========================================================================
   THE NEW REALITY: their study, charted
   ========================================================================== */
.reality { background: var(--paper); padding: var(--section) 0; }
.reality__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 88px); align-items: start; }
.reality__copy .lede { margin-top: 24px; }
.challenges { margin-top: 40px; border-top: 1px solid var(--rule); }
.challenges li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.challenges h3 { font-size: 1.0625rem; }
.challenges p { margin-top: 6px; font-size: .9688rem; color: var(--ink-2); }

.study { position: sticky; top: calc(var(--masthead-h) + 24px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--ground); }
.study__kicker { font-size: .8125rem; font-weight: 600; color: var(--counsel-ink); }
.study__title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.15; letter-spacing: -.01em; }
.study__sub { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.study .seg { margin-top: 22px; background: var(--paper); }
.bars { margin-top: 18px; }
.bars li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: .875rem; }
.bars__name { font-weight: 500; }
.bars__track { height: 12px; border-radius: 6px; background: #E1E8E7; overflow: hidden; }
.bars__track i { display: block; height: 100%; width: calc(var(--pi) * 100% / 500); border-radius: 6px; background: var(--brief); transition: width 520ms var(--ease-in-out); }
.bars[data-type="car"] .bars__track i { width: calc(var(--car) * 100% / 500); }
.bars__val { color: var(--muted); text-align: right; white-space: nowrap; }
.bars__val b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bars__val b.is-changing { animation: data 220ms var(--ease-out); }
@keyframes data { from { opacity: .25; filter: blur(2px); } }
.study__cap { margin-top: 20px; }
.study__cap p { font-size: .9375rem; color: var(--ink-2); }
.study__cap strong { color: var(--ink); font-weight: 600; }
.study__src { display: inline-block; margin-top: 12px; font-size: .8125rem; color: var(--counsel-ink); text-underline-offset: 3px; }

/* ==========================================================================
   JURISOS: THE CASE FILE
   ========================================================================== */
.jurisos { background: var(--ground); padding: var(--section) 0; }
.jurisos__intro { max-width: 900px; }
.jurisos__brand { margin-bottom: 18px; font-family: var(--serif); font-size: 1.25rem; color: var(--counsel-ink); }
.jurisos__intro .lede { margin-top: 24px; }
.pillars-key { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.pillars-key dt { font-weight: 600; }
.pillars-key dd { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }

.casefile { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); margin-top: clamp(56px, 8vw, 112px); }
.pillar { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; }
.js .pillar { opacity: .32; transition: opacity 500ms var(--ease-out); }
.js .pillar.is-active { opacity: 1; }
.pillar__num { font-size: .8125rem; font-weight: 600; color: var(--counsel-ink); }
.pillar__num span { margin-left: 8px; font-weight: 500; color: var(--muted); }
.pillar__name { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }
.pillar__lead { margin-top: 18px; font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; }
.pillar > p:not([class]) { margin-top: 14px; font-size: 1rem; color: var(--ink-2); }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: .9375rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 1.75px solid var(--counsel); border-bottom: 1.75px solid var(--counsel); transform: rotate(-45deg); }
.ticks--tight { gap: 6px; }
.pillar__art { display: none; }

.casefile__stage { position: sticky; top: calc(var(--masthead-h) + 28px); height: calc(100vh - var(--masthead-h) - 56px); max-height: 720px; display: flex; align-items: center; }
.file { position: relative; width: 100%; height: min(660px, 100%); padding: 26px 28px 26px 84px; border-radius: var(--r-l); background: var(--paper); box-shadow: 0 0 0 1px rgba(3, 36, 43, .06), var(--shadow); overflow: hidden; }
/* pleading paper: numbered lines in a margin ruled with a double line, used only here */
.file__margin { position: absolute; left: 0; top: 0; bottom: 0; width: 60px; border-right: 3px double #E2D3CF; display: flex; flex-direction: column; justify-content: space-around; padding: 18px 0; }
.file__margin span { font-size: .6875rem; line-height: 1; color: #B8C3C2; text-align: right; padding-right: 12px; font-variant-numeric: tabular-nums; }
.file__caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.file__parties { font-family: var(--serif); font-size: 1.25rem; }
.file__matter { grid-column: 1; font-size: .8125rem; color: var(--muted); }
.file__no { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .75rem; font-weight: 600; color: var(--counsel-ink); }
.file__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.file__tabs li { position: relative; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--rule); font-size: .75rem; font-weight: 500; color: var(--muted); transition: color 300ms, border-color 300ms; }
.file__tabs li::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--shield-h); transform: scaleX(0); transform-origin: left; }
.file__tabs li.is-done { color: var(--ink-2); border-color: #C9D4D3; }
.file__tabs li.is-active { color: var(--ink); border-color: var(--ink-2); }
.file__tabs li.is-active::after { transform: scaleX(1); transition: transform 600ms var(--ease-out) 120ms; }
.file__stack { position: absolute; left: 84px; right: 28px; top: 164px; bottom: 56px; }
.file__stack .sheet { position: absolute; left: 0; right: 0; top: 64px; transform-origin: 50% 0; transition: transform 700ms var(--ease-out), opacity 500ms var(--ease-out), box-shadow 500ms; }
.file__stack .sheet[data-state="ahead"] { opacity: 0; transform: translateY(56px) scale(.985); pointer-events: none; }
.file__stack .sheet[data-state="front"] { opacity: 1; transform: none; box-shadow: 0 1px 2px rgba(3, 36, 43, .06), 0 18px 36px -22px rgba(3, 36, 43, .35); }
.file__stack .sheet[data-state="behind"] { opacity: calc(1 - var(--d) * .2); transform: translateY(calc(var(--d) * -15px)) scale(calc(1 - var(--d) * .045)); }
.file__foot { position: absolute; left: 84px; bottom: 20px; font-family: var(--serif); font-style: italic; font-size: .9375rem; color: var(--muted); }

/* the exhibits inside the file (also shown inline under each pillar on small screens) */
.sheet { padding: 20px 22px; border-radius: 12px; border: 1px solid var(--rule); background: var(--paper); }
.sheet__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: .8125rem; font-weight: 600; }
.sheet__label span { font-weight: 500; color: var(--muted); }
.sheet__note { margin-top: 14px; font-size: .75rem; color: var(--muted); }
.standing { display: grid; gap: 12px; }
.standing__head, .standing__row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; }
.standing__head { font-size: .6875rem; color: var(--muted); }
.standing__row span { font-size: .8125rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standing__row i { display: block; height: 8px; width: calc(var(--w) * 100%); border-radius: 4px; background: #CDD8D7; }
.standing__row i.is-you { background: var(--shield-h); }
.profile { display: flex; gap: 14px; align-items: center; }
.profile__mono { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brief); color: #fff; font-family: var(--serif); font-size: 1.125rem; }
.profile__name { font-weight: 600; }
.profile__type { font-size: .8125rem; color: var(--muted); }
.profile__stars { display: flex; gap: 2px; margin-top: 4px; }
.profile__stars i, .lsa__stars i { width: 11px; height: 11px; background: var(--star); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.checks { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.checks li { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-2); }
.checks svg { flex: none; width: 16px; height: 16px; color: var(--counsel); }
.schema { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--ground); font-family: var(--mono); font-size: .6875rem; line-height: 1.6; color: var(--ink-2); white-space: pre; overflow: hidden; }
.ask { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--ground); font-size: .875rem; font-weight: 500; }
.ask svg { flex: none; width: 18px; height: 18px; color: var(--counsel); }
.answer { margin-top: 16px; }
.answer__line { height: 8px; width: calc(var(--w) * 100%); margin: 9px 0; border-radius: 4px; background: var(--rule-soft); }
.answer__text { margin: 12px 0; font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.answer__text mark { background: linear-gradient(var(--g1), var(--g2)) left bottom / 100% 3px no-repeat; color: var(--ink); font-weight: 600; padding-bottom: 1px; }
.answer__text sup { font-size: .6875rem; color: var(--counsel-ink); font-weight: 600; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cites li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--rule); border-radius: 999px; font-size: .75rem; color: var(--ink-2); }
.cites span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ground); font-size: .6875rem; font-weight: 600; }
.cites .is-yours { border-color: #A8E9C8; color: var(--ink); font-weight: 500; }
.cites .is-yours span { background: var(--shield); color: var(--brief); }
.call { display: flex; align-items: center; gap: 12px; }
.call__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brief); color: #fff; }
.call__icon svg { width: 20px; height: 20px; }
.call__title { font-weight: 600; }
.call__title span { margin-left: 6px; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.call__src { font-size: .8125rem; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 4px; height: 46px; margin: 16px 0; }
.wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: #C9D6D5; }
.call__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.call__facts dt { font-size: .6875rem; color: var(--muted); }
.call__facts dd { font-size: .8125rem; font-weight: 500; }
.call__score::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--counsel); vertical-align: 1px; }
.quarters { display: flex; align-items: flex-end; gap: 16px; height: 168px; }
.quarters div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 100%; }
.quarters i { display: block; height: calc(var(--h) * 136px); border-radius: 6px 6px 2px 2px; background: #CDD8D7; }
.quarters .is-now i { background: var(--shield); }
.quarters span { font-size: .75rem; color: var(--muted); text-align: center; }
.realloc { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-soft); font-size: .8125rem; font-weight: 600; }
.realloc span { font-weight: 400; color: var(--muted); margin-right: 6px; }

/* ==========================================================================
   THE RELATIONSHIP
   ========================================================================== */
.relationship { background: var(--brief); color: var(--on-dark); padding: var(--section) 0; }
.relationship h2 { color: #fff; }
.relationship .lede { margin-top: 24px; color: var(--on-dark-2); }
.relationship__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 88px); align-items: end; }
.includes li { padding: 20px 0; border-top: 1px solid var(--rule-dark); }
.includes h3 { font-size: 1.0625rem; color: #fff; }
.includes p { margin-top: 6px; font-size: .9375rem; color: var(--on-dark-2); }
.cadence { margin-top: clamp(64px, 8vw, 104px); }
.cadence__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; letter-spacing: -.01em; }
.cadence__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.cadence__steps::before { content: ""; position: absolute; left: 6px; right: 25%; top: 6px; height: 1px; background: var(--rule-dark); }
/* the last stretch is dashed: review and reinvest never ends */
.cadence__steps::after { content: ""; position: absolute; left: 75%; right: 0; top: 6px; border-top: 1px dashed var(--rule-dark); }
.cadence__steps li { position: relative; padding-top: 30px; }
.cadence__steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--on-dark-2); background: var(--brief); }
.cadence__when { font-size: .8125rem; font-weight: 600; color: var(--on-dark-2); }
.cadence__steps h4 { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; color: #fff; }
.cadence__steps p { margin-top: 8px; font-size: .9375rem; color: var(--on-dark-2); }
.answers-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--rule-dark); }
.answers-pair dt { font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; color: #fff; }
.answers-pair dd { margin-top: 10px; font-size: .9688rem; color: var(--on-dark-2); }

/* ==========================================================================
   SIX DISCIPLINES: a bento of real surfaces
   ========================================================================== */
.disciplines { background: var(--paper); padding: var(--section) 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(320px, auto); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-l); background: var(--ground); overflow: hidden; }
.tile > * { min-width: 0; }
.tile__pillar { font-size: .75rem; font-weight: 600; color: var(--counsel-ink); }
.tile h3 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.01em; }
.tile > p:not(.tile__pillar) { margin-top: 10px; max-width: 34ch; font-size: .9375rem; color: var(--ink-2); }
.art { margin-top: auto; padding-top: 28px; }
.tile--vis { grid-row: span 2; }
.tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr; column-gap: 48px; }
.tile--wide > :not(.art) { grid-column: 1; }
.tile--wide .art { grid-column: 2; grid-row: 1 / -1; align-self: center; padding-top: 0; }
.tile--dark { background: var(--brief); color: #fff; }
.tile--dark .tile__pillar, .tile--dark > p:not(.tile__pillar) { color: var(--on-dark-2); }

.art--plan { flex: 1; display: flex; flex-direction: column; }
.plan { position: relative; flex: 1; min-height: 240px; }
.plan__ch { position: absolute; left: 0; top: calc(var(--r) / 5 * (100% - 28px)); z-index: 1; display: flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-dark); font-size: .75rem; font-weight: 500; line-height: 1; color: var(--on-dark); background: var(--brief); }
.plan__lines { position: absolute; left: 76px; top: 14px; width: calc(100% - 184px); height: calc(100% - 28px); overflow: visible; }
.plan__lines path { fill: none; stroke: rgba(233, 242, 241, .28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.plan__goal { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 8px 14px; border-radius: 999px; background: var(--shield); color: var(--brief); font-size: .8125rem; font-weight: 600; white-space: nowrap; }

.vitals { display: flex; gap: 8px; }
.vitals div { flex: 1; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.vitals span { display: block; font-size: .6875rem; color: var(--muted); }
.vitals b { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; }
.vitals b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--counsel); }
.code { margin: 10px 0 0; padding: 14px; border-radius: 10px; background: var(--brief); color: #CFE3E1; font-family: var(--mono); font-size: .71875rem; line-height: 1.7; white-space: pre; overflow: hidden; }
.code .k { color: #8BE9E9; }
.code .s { color: #C3F09A; }

.art--page { position: relative; padding-bottom: 14px; }
.page { padding: 16px 18px; border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgba(3, 36, 43, .06); }
.page__crumb { font-size: .6875rem; color: var(--muted); }
.page__h { margin: 6px 0 10px; font-family: var(--serif); font-size: 1.125rem; }
.page__l { height: 7px; width: calc(var(--w) * 100%); margin: 7px 0; border-radius: 4px; background: var(--rule-soft); }
.page__q { margin: 12px 0 4px; font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.page__cite { position: absolute; right: 14px; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px #A8E9C8, 0 8px 18px -10px rgba(3, 36, 43, .35); font-size: .75rem; font-weight: 600; }
.page__cite svg { width: 15px; height: 15px; color: var(--counsel); }

.art--creative { display: flex; align-items: flex-end; gap: 12px; }
.frame { position: relative; flex: 1; aspect-ratio: 16 / 9; border-radius: 12px; background: radial-gradient(120% 90% at 30% 20%, #0A4A57, var(--docket)); color: #fff; overflow: hidden; }
.frame__play { position: absolute; left: 50%; top: 42%; translate: -50% -50%; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.frame__play svg { width: 18px; height: 18px; }
.frame__cap { position: absolute; left: 12px; right: 52px; bottom: 10px; font-family: var(--serif); font-size: .875rem; line-height: 1.25; }
.frame__time { position: absolute; right: 10px; bottom: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .35); font-size: .6875rem; }
.frame--vertical { flex: none; width: 86px; aspect-ratio: 9 / 16; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.frame__v1 { font-family: var(--serif); font-size: .875rem; line-height: 1.1; }
.frame__v2 { margin-top: 6px; padding: 4px 0; border-radius: 999px; background: var(--retain); color: var(--brief); font-size: .625rem; font-weight: 600; text-align: center; }

.lsa { padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--rule); }
.lsa__tag { font-size: .6875rem; font-weight: 600; }
.lsa__name { margin-top: 4px; font-size: 1rem; font-weight: 600; }
.lsa__meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: .75rem; color: var(--muted); }
.lsa__stars { display: inline-flex; gap: 1px; }
.lsa__screen { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .75rem; font-weight: 500; color: var(--counsel-ink); }
.lsa__screen svg { width: 16px; height: 16px; }
.lsa__btns { display: flex; gap: 8px; margin-top: 12px; }
.lsa__btns span { flex: 1; padding: 7px 0; border-radius: 999px; border: 1px solid var(--rule); font-size: .75rem; font-weight: 600; text-align: center; color: var(--counsel-ink); }

.path__id { font-size: .8125rem; font-weight: 600; }
.path__id span { margin-left: 8px; font-weight: 400; color: var(--muted); }
.path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.path::before { content: ""; position: absolute; left: 7px; right: 10%; top: 7px; height: 1.5px; background: #C9D4D3; }
.path li { position: relative; padding-top: 28px; }
.path li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--brief); background: var(--paper); }
.path li.is-final::before { border: 0; background: var(--shield); }
.path b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.path span { display: block; margin-top: 4px; font-size: .75rem; color: var(--muted); }

/* ==========================================================================
   DIVISIONS
   ========================================================================== */
.divisions { background: var(--ground); padding: var(--section) 0; }
.divs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.div { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--paper); }
.div__kind { font-size: .8125rem; font-weight: 600; color: var(--counsel-ink); }
.div__name { margin: 10px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.div > p:not(.div__kind), .div__intro > p:not(.div__kind) { font-size: .9688rem; color: var(--ink-2); max-width: 46ch; }
.div--os { display: flex; flex-direction: column; align-items: flex-start; background: var(--brief); color: #fff; }
.div--os .div__kind { color: var(--on-dark-2); }
.div--os > p:not(.div__kind) { color: var(--on-dark-2); }
.div__pillars { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 32px; }
.div__pillars li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule-dark); font-size: .8125rem; color: var(--on-dark); }
.div--os .btn { margin-top: auto; }
.div--page .ticks { margin: 22px 0 24px; }
.div--tech { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.product { padding: 20px; border-radius: var(--r-m); background: var(--ground); }
.product__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.product__name { font-weight: 600; }
.product__pitch { margin: 10px 0 16px; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.25; }
.product__status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; color: var(--counsel-ink); }
.product__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--counsel); }
.seg--sm { background: var(--paper); }
.seg--sm button { padding: 6px 12px; font-size: .75rem; }
.serp { padding: 16px; border-radius: 12px; background: var(--paper); transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out); }
.serp.is-swapping { opacity: .25; filter: blur(2px); }
.serp__url { font-size: .75rem; color: var(--counsel-ink); }
.serp__title { margin-top: 4px; font-size: 1.0625rem; font-weight: 500; color: #1F3F8F; line-height: 1.3; }
.serp__desc { margin-top: 6px; font-size: .8125rem; line-height: 1.55; color: var(--ink-2); }
.serp__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.serp__chips span { padding: 3px 9px; border-radius: 999px; background: var(--ground); font-size: .6875rem; font-weight: 500; color: var(--ink-2); }
.serp__chips [data-es-only] { display: none; }
.serp.is-es .serp__chips [data-es-only] { display: inline-block; }
.chat { display: grid; gap: 10px; }
.chat__q { justify-self: end; max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--brief); color: #fff; font-size: .8125rem; }
.chat__a { justify-self: start; max-width: 94%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); font-size: .8125rem; line-height: 1.55; color: var(--ink-2); min-height: 3.2em; }
.chat__a.is-typing::after { content: ""; display: inline-block; width: 6px; height: 1em; margin-left: 2px; background: var(--counsel); vertical-align: -2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__chips span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); font-size: .6875rem; color: var(--ink-2); }

/* ==========================================================================
   EXHIBITS: the exhibit list
   ========================================================================== */
.exhibits { background: var(--paper); padding: var(--section) 0; }
.exlist { border-top: 1.5px solid var(--ink); }
.exlist { isolation: isolate; }
.ex { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ex::before { content: ""; position: absolute; inset: -1px -12px 0; z-index: -1; border-radius: 10px; background: var(--ground); opacity: 0; transition: opacity 160ms var(--ease-out); }
.ex__mark { font-size: .75rem; font-weight: 600; color: var(--counsel-ink); }
.ex__who h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.15; }
.ex__who p { margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.ex__num { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1; font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.ex__num span { display: block; margin-top: 6px; font-family: var(--sans); font-size: .8125rem; line-height: 1.4; color: var(--ink-2); letter-spacing: 0; }
.ex__more { display: grid; gap: 4px; font-size: .8125rem; color: var(--ink-2); }
.ex__more li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 9px 3px 0; border-radius: 50%; background: var(--muted); }
.ex__link { justify-self: end; font-size: .875rem; font-weight: 600; color: var(--counsel-ink); text-underline-offset: 4px; text-decoration-color: rgba(8, 124, 128, .35); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .ex:hover::before { opacity: 1; } .ex__link:hover { text-decoration-color: currentColor; } }

/* ==========================================================================
   ATTORNEYS' WORDS
   ========================================================================== */
.words { background: var(--docket); color: var(--on-dark); padding: var(--section) 0; }
.lead-quote { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 56px); align-items: start; }
.lead-quote__photo { width: 136px; height: 136px; border-radius: 50%; object-fit: cover; padding: 4px; border: 1px solid var(--rule-dark); }
.lead-quote blockquote p { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.lead-quote figcaption { grid-column: 2; font-size: .9375rem; color: var(--on-dark-2); }
.lead-quote figcaption strong { display: block; color: #fff; font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule-dark); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px 28px 0; border-left: 1px solid var(--rule-dark); }
.quote:first-child { padding-left: 0; border-left: 0; }
.quote p { font-family: var(--serif); font-size: 1.125rem; line-height: 1.4; color: var(--on-dark); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--on-dark-2); }
.quote figcaption strong { display: block; color: #fff; font-weight: 600; }
.quote figcaption img, .quote__mono { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote__mono { display: grid; place-items: center; background: rgba(233, 242, 241, .1); font-family: var(--serif); color: #fff; }
.words__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 56px; font-size: .9375rem; color: var(--on-dark-2); }
.words__rating strong { color: #fff; font-weight: 600; }
.words__rating a { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { background: var(--paper); padding: var(--section) 0; }
.team__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 56px); align-items: start; }
.film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: var(--brief); }
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: rgba(3, 36, 43, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .9375rem; font-weight: 600; transition: background-color .2s, transform 160ms var(--ease-out); }
.film__play svg { width: 22px; height: 22px; }
.film__play:active { transform: scale(.97); }
.film.is-playing .film__play { display: none; }
@media (hover: hover) and (pointer: fine) { .film__play:hover { background: var(--brief); } }
.film figcaption { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); max-width: 56ch; }
.film figcaption strong { color: var(--ink); font-weight: 600; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
.people img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 12px; background: var(--ground); }
.people__name { margin-top: 12px; font-weight: 600; font-size: .9688rem; line-height: 1.3; }
.people__role { font-size: .8125rem; color: var(--muted); }
.team__all { margin-top: 40px; }

/* ==========================================================================
   LEARNING IN PUBLIC
   ========================================================================== */
.learn { background: var(--ground); padding: var(--section) 0; }
.learn__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); gap: 16px; }
.learn__grid > article { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--paper); }
.show { display: flex; flex-direction: column; align-items: flex-start; background: var(--docket) !important; color: #fff; }
.show__kind { font-size: .8125rem; color: var(--on-dark-2); }
.show__name { margin: 10px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.show > p { font-size: .9375rem; color: var(--on-dark-2); }
.episodes { width: 100%; margin: 24px 0 28px; }
.episodes li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule-dark); font-size: .9375rem; }
.episodes li::before { content: attr(value); flex: none; width: 2ch; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.show .btn { margin-top: auto; }
.learn h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; }
.research__list { margin-top: 16px; }
.research__list a { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.research__title { font-weight: 600; font-size: .9688rem; line-height: 1.35; }
.research__by { font-size: .8125rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .research__list a:hover .research__title { text-decoration: underline; text-underline-offset: 3px; } }
.books__title { margin-top: 28px; font-size: 1.125rem !important; }
.books { margin-top: 10px; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.tools__list { display: grid; gap: 0; margin: 16px 0 22px; }
.tools__list li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child .lede { margin: 20px 0 16px; }
.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 22px; height: 22px; color: var(--counsel); transition: transform 260ms var(--ease-out); }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 24px; max-width: 62ch; font-size: 1rem; color: var(--ink-2); }

/* ==========================================================================
   CLOSE: the shield frames the invitation (its second and last use)
   ========================================================================== */
.close { background: var(--brief); color: var(--on-dark); padding: var(--section) 0; }
.close__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "crest form" "steps form" "quote quote"; gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.close__crest { grid-area: crest; position: relative; container-type: inline-size; width: 100%; max-width: 540px; aspect-ratio: 1; }
.close__shield { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.close__shield path { fill: rgba(3, 36, 43, .4); stroke: url(#g-shield); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.close__copy { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 11cqi 11cqi 0; text-align: center; }
.close__copy h2 { font-size: 7.4cqi; line-height: 1.06; color: #fff; }
.close__copy p { margin-top: 4.4cqi; font-size: max(.9375rem, 3.2cqi); line-height: 1.5; color: var(--on-dark-2); }
.close__phone { margin-top: auto; margin-bottom: 15cqi; font-family: var(--serif); font-size: 5.2cqi; color: #fff; text-decoration: none; font-variant-numeric: lining-nums; border-bottom: 1px solid var(--rule-dark); }
.inquiry { grid-area: form; position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--paper); color: var(--ink); }
.inquiry__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.15; letter-spacing: -.01em; }
.inquiry__help { margin: 22px 0 0; padding: 0; border: 0; }
.inquiry__help legend { padding: 0; font-size: .9375rem; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); font-size: .8125rem; font-weight: 500; color: var(--ink-2); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.pills input:checked + span { background: var(--brief); border-color: var(--brief); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--counsel); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pills input:not(:checked):hover + span { border-color: var(--ink-2); } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin: 24px 0 18px; }
.field span { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #C6D1D0; border-radius: 10px; background: var(--paper); font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--counsel); box-shadow: 0 0 0 3px rgba(8, 124, 128, .15); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.inquiry__error { margin: -6px 0 14px; font-size: .8125rem; color: var(--error); }
.inquiry__small { margin-top: 12px; font-size: .75rem; color: var(--muted); text-align: center; }
.inquiry .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.inquiry__done { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 32px; border-radius: var(--r-l); background: var(--paper); text-align: center; color: var(--ink-2); }
.inquiry__done[hidden] { display: none; }
.inquiry__done:not([hidden]) { animation: done-in 360ms var(--ease-out); }
@keyframes done-in { from { opacity: 0; } }
.inquiry__done a { color: var(--counsel-ink); font-weight: 600; text-underline-offset: 3px; }
.inquiry__done-title { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.inquiry__done:focus { outline: none; }
.steps { grid-area: steps; display: flex; flex-wrap: wrap; gap: 16px 36px; max-width: 540px; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.steps li { font-size: .9375rem; color: var(--on-dark); }
.steps span { display: block; font-size: .75rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.close__quote { grid-area: quote; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: end; padding-top: 36px; border-top: 1px solid var(--rule-dark); }
.close__quote p { max-width: 44em; font-family: var(--serif); font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.35; color: #fff; }
.close__quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--on-dark-2); }
.close__quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.close__quote strong { display: block; color: #fff; font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--docket); color: var(--on-dark-2); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: .875rem; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 48px; }
.footer__brand img { width: 176px; height: auto; }
.footer__brand p { margin-top: 18px; max-width: 24ch; color: var(--on-dark); }
.footer__brand address { margin-top: 18px; font-style: normal; line-height: 1.7; }
.footer__brand address a { color: #fff; }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.footer__cols h2 { margin-bottom: 14px; font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: #fff; }
.footer__cols li + li { margin-top: 9px; }
@media (hover: hover) and (pointer: fine) { .footer a:hover, .footer__cookie:hover { color: #fff; } }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: .8125rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__cookie { font-size: .8125rem; color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__concept { margin-top: 20px; max-width: 92ch; font-size: .75rem; line-height: 1.6; color: #7FA3A2; }
.footer__concept a { color: var(--on-dark-2); text-decoration: underline; }

/* ==========================================================================
   INTRO STATES (only when JS runs; transitions on the revealed state)
   ========================================================================== */
.js:not(.reduce) .hero__title .line > span { transform: translateY(105%); }
.js:not(.reduce) :is(.hero__kicker, .hero__side) { opacity: 0; transform: translateY(14px); }
.js:not(.reduce) .hero__docket { opacity: 0; transform: translateY(32px); }
.is-intro .hero__title .line > span { transform: none !important; transition: transform 1s var(--ease-out) calc(var(--l, 0) * 90ms); }
.is-intro :is(.hero__kicker, .hero__side) { opacity: 1 !important; transform: none !important; transition: opacity .8s var(--ease-out) .25s, transform .9s var(--ease-out) .25s; }
.is-intro .hero__docket { opacity: 1 !important; transform: none !important; transition: opacity .9s var(--ease-out) .45s, transform 1.1s var(--ease-out) .45s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .masthead__bar { gap: 16px; }
  .nav__link { padding-inline: 9px; }
  .docket__head, .row { grid-template-columns: 150px minmax(0, 1.6fr) 128px 118px 132px; gap: 14px; }
  .div--tech { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .div--tech .div__intro { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav, .masthead__actions { display: none; }
  .menu-toggle { display: block; }
  .masthead__logo img { width: 172px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { max-width: 620px; }
  .casefile { grid-template-columns: 1fr; }
  .casefile__stage { display: none; }
  .js .pillar { opacity: 1; }
  .pillar { min-height: 0; padding: 0 0 56px; }
  .pillar + .pillar { padding-top: 56px; border-top: 1px solid var(--rule); }
  .pillar__art { display: block; margin-top: 28px; max-width: 560px; }
  .reality__grid, .relationship__grid, .team__grid, .faq__grid { grid-template-columns: 1fr; }
  .study { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--vis { grid-column: 1 / -1; grid-row: auto; }
  .tile--wide { grid-template-columns: 1fr; }
  .tile--wide .art { grid-column: 1; grid-row: auto; padding-top: 28px; }
  .divs { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote:nth-child(3) { padding-left: 0; border-left: 0; }
  .quote:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--rule-dark); }
  .learn__grid { grid-template-columns: 1fr 1fr; }
  .show { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .awards { flex-direction: column; align-items: flex-start; }
  .awards__list { width: 100%; justify-content: flex-start; gap: 28px 40px; }
  .pillars-key { grid-template-columns: 1fr; gap: 20px; }
  .cadence__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cadence__steps::before, .cadence__steps::after { display: none; }
  .answers-pair { grid-template-columns: 1fr; }
  .ex { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark link" "who who" "num num" "more more"; gap: 10px 16px; padding-block: 24px; }
  .ex__mark { grid-area: mark; }
  .ex__who { grid-area: who; }
  .ex__num { grid-area: num; margin-top: 6px; }
  .ex__more { grid-area: more; }
  .ex__link { grid-area: link; }
  .close__grid { grid-template-columns: 1fr; grid-template-areas: "crest" "form" "steps" "quote"; }
  .close__crest { margin-inline: auto; }
  .close__quote { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }

  /* the docket becomes stacked cards */
  .docket__head { display: none; }
  .docket__rows { --row-h: 108px; height: calc(var(--row-h) * 4); }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "src stage" "matter matter" "area q"; gap: 6px 12px; align-content: center; }
  .row__src { grid-area: src; }
  .row__matter { grid-area: matter; }
  .row__area { grid-area: area; }
  .row__q { grid-area: q; }
  .stage { grid-area: stage; justify-self: end; }
  .row__icon { width: 26px; height: 26px; border-radius: 7px; }
  .row__icon svg { width: 15px; height: 15px; }
  .row__srcname { display: inline; }
  .row__lang { display: inline; margin-left: 6px; }
  .docket__want { flex-direction: column; align-items: stretch; gap: 10px; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .docket__tally { gap: 20px; }
}
@media (max-width: 700px) {
  :root { --masthead-h: 64px; }
  .close__crest { aspect-ratio: auto; max-width: none; container-type: normal; }
  .close__shield { position: static; width: 56px; height: 56px; margin-bottom: 20px; }
  .close__shield path { fill: none; stroke-width: 2px; }
  .close__copy { padding: 0; align-items: flex-start; text-align: left; height: auto; }
  .close__copy h2 { font-size: var(--fs-h2); }
  .close__copy p { margin-top: 18px; font-size: 1rem; }
  .close__phone { margin: 22px 0 0; font-size: 1.75rem; }
  .fields { grid-template-columns: 1fr; }
  .div--tech { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .learn__grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote { padding-left: 0 !important; border-left: 0 !important; margin-top: 0 !important; padding-bottom: 28px; border-top: 1px solid var(--rule-dark); }
  .quote:first-child { border-top: 0; }
  .lead-quote { grid-template-columns: 1fr; }
  .lead-quote__photo { width: 96px; height: 96px; }
  .lead-quote figcaption { grid-column: 1; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cadence__steps { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 14px; }
  .path::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1.5px; height: auto; }
  .path li { padding: 0 0 0 30px; }
  .docket__bar { padding-inline: 16px; }
  .docket__firm { display: none; }
  .docket__want, .docket__foot { padding-inline: 16px; }
  .row { padding-inline: 16px; }
  .docket__measure { display: none; }
  .art--creative .frame--vertical { display: none; }
  .plan__ch { font-size: .6875rem; padding: 5px 10px; }
  .plan__goal { font-size: .75rem; padding: 7px 12px; }
}
@media (max-width: 640px) {
  .fact { padding: 22px 0 24px 16px; }
  .fact:nth-child(odd) { padding-left: 0; }
  .exhibit-mark { margin-bottom: 10px; }
  .fact__num { font-size: clamp(1.625rem, 7.4vw, 2.25rem); }
  .fact__label { font-size: .875rem; line-height: 1.45; }
  .awards__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 28px 16px; }
  .pillar .ticks { display: none; }
  .standing__row span { font-size: .75rem; }
  .ex__more { display: none; }
  .ex { padding-block: 20px; }
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento .tile { flex: 0 0 86%; scroll-snap-align: start; padding: 24px; }
  .tile--wide { display: flex; }
  .tile--wide .art { padding-top: 24px; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields .field:nth-child(n+3) { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .docket__tally div:last-child { display: none; }
}

/* reduced motion: gentler, not zero. Fades stay; nothing travels */
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.is-open { transition: opacity .3s, visibility 0s; clip-path: none; opacity: 0; }
  .menu.is-open { opacity: 1; }
  .menu__list li, .menu__foot { transform: none !important; }
  .file__stack .sheet { transition: opacity 400ms; }
  .file__stack .sheet[data-state] { transform: none; }
  .file__stack .sheet[data-state="behind"] { opacity: 0; }
  .bars__track i, .meter i, .tabs::before, .seg::before { transition-duration: 1ms; }
}

/* ==========================================================================
   COOKIE CONSENT (from the website-redesign-proposal skill, mapped to these tokens)
   ========================================================================== */
.consent {
  --white: var(--paper); --ink-soft: var(--ink-2); --line: var(--rule); --mist: var(--ground);
  --lapis: var(--brief); --blue: var(--counsel-ink); --teal: var(--counsel-ink); --radius-l: var(--r-l);
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 24px; border-radius: var(--radius-l); background: var(--white); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(3, 36, 43, .08), 0 28px 56px -24px rgba(3, 36, 43, .5);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: 100% 100%;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform 560ms var(--ease-drawer); }
.consent.is-leaving { opacity: 0; transform: translateY(40px); transition: opacity 440ms cubic-bezier(0.4, 0, 0.2, 1), transform 560ms cubic-bezier(0.4, 0, 0.2, 1); }
.consent__head, .consent__text, .consent__manage, .consent__actions { opacity: 0; transform: translateY(8px); }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions),
.consent.is-leaving :is(.consent__head, .consent__text, .consent__manage, .consent__actions) { opacity: 1; transform: none; }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  transition: opacity 360ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms), transform 480ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms);
}
.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
/* the mark is the shield's silhouette in the logo gradient; it settles into place */
.consent__star { flex: none; width: 16px; height: 16px; fill: url(#g-shield); opacity: 0; transform: translateY(-4px) scale(.6); }
.consent.is-open .consent__star, .consent.is-leaving .consent__star { opacity: 1; transform: none; }
.consent.is-open .consent__star { transition: transform 600ms var(--ease-out) 150ms, opacity 280ms var(--ease-out) 150ms; }
.consent__title { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.consent__title:focus { outline: none; }
.consent__close { display: none; position: relative; flex: none; width: 36px; height: 36px; margin: -6px -10px -6px auto; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s, transform 160ms var(--ease-out); }
.consent.can-dismiss .consent__close { display: block; }
.consent__close:active { transform: scale(.92); }
.consent__close span, .consent__close span::before { position: absolute; left: 11px; top: 17px; width: 14px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.consent__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.consent__text { margin: 0; font-size: .9063rem; line-height: 1.55; color: var(--ink-soft); }
.consent__text a { color: var(--blue); text-underline-offset: 3px; }
.consent__manage { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 0; font-size: .9063rem; font-weight: 500; color: var(--blue); transition: color .2s; }
.consent__manage svg { width: 12px; height: 12px; transition: transform 260ms var(--ease-in-out); }
.consent.is-expanded .consent__manage svg { transform: rotate(180deg); }
.consent__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-in-out); }
.consent.is-expanded .consent__prefs { grid-template-rows: 1fr; transition-duration: 380ms; }
.consent__prefs-inner { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.consent__row, .consent__save { opacity: 0; transform: translateY(6px); transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.consent.is-expanded :is(.consent__row, .consent__save) { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms), transform 420ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms); }
.consent__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.consent__label { font-size: .9688rem; font-weight: 500; color: var(--ink); }
label.consent__label { cursor: pointer; }
.consent__row p { grid-column: 1 / -1; margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.consent__always { font-size: .8125rem; font-weight: 500; color: var(--teal); }
.consent__save { padding: 6px 0 4px; }
.consent__switch { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 13px; background: #C3CDCC; cursor: pointer; transition: background-color 200ms var(--ease-out); }
.consent__switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(3, 36, 43, .3); transition: transform 220ms var(--ease-out), width 160ms var(--ease-out); }
.consent__switch:checked { background: var(--lapis); }
.consent__switch:checked::before { transform: translateX(18px); }
.consent__switch:active::before { width: 24px; }
.consent__switch:checked:active::before { transform: translateX(14px); }
.consent__switch:focus-visible { outline-offset: 2px; border-radius: 13px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent__actions .btn { min-height: 46px; padding: 10px 14px; }
@media (hover: hover) and (pointer: fine) {
  .consent__manage:hover { color: var(--lapis); }
  .consent__close:hover { background: var(--mist); color: var(--lapis); }
}
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 24px); padding: 18px 20px 20px; transform: translateY(calc(100% + 24px)); transform-origin: 50% 100%; transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out); }
  .consent.is-leaving { transform: translateY(calc(100% + 24px)); }
  .consent__title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .consent, .consent :is(.consent__head, .consent__text, .consent__manage, .consent__actions, .consent__star, .consent__row, .consent__save) { transform: none !important; }
  .consent__prefs, .consent.is-expanded .consent__prefs { transition: none; }
}
