/* ==========================================================================
   Parra Klein, LLC · site styles (2026 redesign)
   One stylesheet for every page.
   Palette: forest green, warm ivory, logo green for actions, brass for detail
   Type: Newsreader (headlines, figures, reading), Archivo (menus, buttons, short text)
   Motion: small fades and hover states only, all disabled under reduced motion
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: "Newsreader Display"; font-style: normal; font-weight: 400 650; font-display: swap; src: url("../fonts/newsreader-display-latin-normal.woff2") format("woff2"); 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: "Newsreader Display"; font-style: italic; font-weight: 400 650; font-display: swap; src: url("../fonts/newsreader-display-latin-italic.woff2") format("woff2"); 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: "Newsreader Display"; font-style: normal; font-weight: 400 650; font-display: swap; src: url("../fonts/newsreader-display-latin-ext-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader Display"; font-style: italic; font-weight: 400 650; font-display: swap; src: url("../fonts/newsreader-display-latin-ext-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/newsreader-text-latin-normal.woff2") format("woff2"); 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: "Newsreader Text"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/newsreader-text-latin-italic.woff2") format("woff2"); 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: "Newsreader Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/newsreader-text-latin-ext-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader Text"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/newsreader-text-latin-ext-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/archivo-ui-latin.woff2") format("woff2"); 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: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/archivo-ui-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* System stand-ins sized to match, so text does not jump when the web fonts arrive */
/* eight letters of Archivo at its heaviest, with the full width range: only for the giant name in the footer */
@font-face { font-family: "Archivo Wordmark"; font-style: normal; font-weight: 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-wordmark.woff2") format("woff2"); unicode-range: U+0020, U+0041, U+0045, U+0049, U+004B-004C, U+004E, U+0050, U+0052; }
@font-face { font-family: "PK Serif Fallback"; src: local("Georgia"); size-adjust: 91%; ascent-override: 96%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "PK Sans Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 99%; ascent-override: 88%; descent-override: 21%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  --forest-950: #0A1410;
  --forest-900: #0F1D18;
  --forest-800: #16271F;
  --forest-700: #20382D;
  --forest-600: #2C4A3B;
  --ivory: #F6F2E9;
  --ivory-2: #EEE8DB;
  --ivory-3: #E2DACA;
  --white: #FFFDF8;
  --ink: #14201B;
  --ink-2: #45524B;
  --ink-3: #5E6A63;
  --green: #85BD66;          /* the logo green, kept for actions */
  --green-hover: #97CB7A;
  --green-ink: #33702A;      /* the same green, dark enough to read on ivory */
  --brass: #B8975A;
  --brass-lt: #D6BC85;
  --brass-ink: #7B5E22;      /* brass dark enough to read on ivory */
  --star: #8A6410;
  --red: #B42318;
  --on-dark: #F4F1E8;
  --on-dark-2: rgba(244, 241, 232, 0.76);
  --on-dark-3: rgba(244, 241, 232, 0.58);
  --line-dark: rgba(244, 241, 232, 0.14);
  --line-light: rgba(20, 32, 27, 0.14);

  /* section-level colors, switched by the .section--* classes */
  --bg: var(--ivory);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: var(--line-light);
  --accent: var(--green-ink);
  --detail: var(--brass-ink);
  --stars: var(--star);

  /* names the older markup still refers to in inline styles */
  --yellow: var(--accent);
  --green-900: var(--forest-900);
  --paper: var(--ivory);
  --paper-2: var(--ivory-2);
  --paper-3: var(--ivory-3);
  --green-950: var(--forest-950);
  --green-800: var(--forest-800);
  --green-700: var(--forest-700);
  --radius-s: var(--r-s);
  --radius-m: var(--r-m);
  --radius-l: var(--r-m);
  --gold: var(--brass);

  --font-display: "Newsreader Display", "PK Serif Fallback", Georgia, "Times New Roman", serif;
  --font-read: "Newsreader Text", "PK Serif Fallback", Georgia, "Times New Roman", serif;
  --font-ui: "Archivo", "PK Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(2.25rem, 11.4vw, 3.6rem);
  --fs-h1: clamp(2.4rem, 5.2vw, 4.4rem);
  --fs-h2: clamp(2rem, 3.7vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.7vw, 1.55rem);
  --fs-lead: clamp(1.09rem, 1.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-tiny: 0.8125rem;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --read: 68ch;
  --r-s: 4px;
  --r-m: 6px;
  --header-h: 68px;
  --space: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);
  --shadow: 0 30px 60px -30px rgba(10, 20, 16, 0.35);
}
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-ui); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--green); color: var(--forest-900); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--green); color: var(--forest-900); padding: 0.75rem 1rem; border-radius: var(--r-s); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--space); background: var(--bg); color: var(--fg); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--paper { --bg: var(--ivory); }
.section--paper2 { --bg: var(--ivory-2); }
.section--dark, .section--deep, .on-dark {
  --bg: var(--forest-900); --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3);
  --line: var(--line-dark); --accent: var(--green); --detail: var(--brass-lt); --stars: var(--brass-lt); --yellow: var(--green);
}
.section--deep { --bg: var(--forest-950); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 1.75rem; } .mt-3 { margin-top: 2.75rem; } .mt-4 { margin-top: 4rem; }
.flex-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; }

/* ---------- type ---------- */
.h1, .h2, .h3, .cta-title { font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.015em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 48ch; }
.muted { color: var(--fg-2); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.stars { color: var(--stars); letter-spacing: 0.14em; }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; column-gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* thin brass rule above section headings */
.section-head > .h2::before, .practice-intro > .h2::before, .process-sticky > .h2::before, .rights .h2::before, .offices .h2::before {
  content: ""; display: block; width: 44px; height: 1px; background: var(--detail); margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.8rem 1.5rem; border: 1px solid transparent; border-radius: var(--r-s);
  background: var(--green); color: #0E1F0D;
  font-family: var(--font-ui); font-weight: 600; font-size: 1rem; line-height: 1.1; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary:hover { background: var(--green-hover); box-shadow: 0 12px 24px -14px rgba(133, 189, 102, 0.8); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(244, 241, 232, 0.45); }
.btn--ghost:hover { background: rgba(244, 241, 232, 0.1); border-color: var(--on-dark); }
.btn--ink { background: var(--forest-900); color: var(--on-dark); }
.btn--ink:hover { background: var(--forest-700); }
.on-dark .btn--ink, .section--dark .btn--ink { background: var(--green); color: #0E1F0D; }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(20, 32, 27, 0.4); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.94rem; }
.btn--lg { min-height: 58px; padding: 0.95rem 1.8rem; font-size: 1.06rem; }
.btn.is-sending { opacity: 0.7; cursor: progress; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; color: var(--accent);
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease); padding-bottom: 3px;
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); color: var(--on-dark); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 29, 24, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark); opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled::before, .site-header.is-solid::before, .menu-open .site-header::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: clamp(0.6rem, 1.4vw, 1.75rem); }
.brand { display: inline-flex; align-items: center; margin-right: auto; flex: none; }
.brand picture, .footer-cta picture { display: contents; }
.brand-logo { height: 38px; width: auto; }
.brand-logo--light, .brand-logo--accent { display: none; }
@media (min-width: 1024px) { .brand-logo { height: 44px; } }

.nav { display: none; align-items: center; gap: 0; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.6rem; border-radius: var(--r-s); white-space: nowrap;
  background: none; border: 0; color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 0.92rem;
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--on-dark); background: rgba(244, 241, 232, 0.08); }
.nav-link svg { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-link { display: none; font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--on-dark-2); padding: 0.55rem 0.5rem; border-radius: var(--r-s); white-space: nowrap; }
.lang-link:hover { color: var(--on-dark); background: rgba(244, 241, 232, 0.08); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: transparent; border: 1px solid rgba(244, 241, 232, 0.3); color: var(--on-dark); transition: background-color 0.2s, border-color 0.2s; }
.icon-btn:hover { background: rgba(244, 241, 232, 0.1); border-color: var(--on-dark); }
.icon-btn svg { width: 18px; height: 18px; }
.header-call, .header-cta { display: none; }
.header-call { background: none; color: var(--on-dark); border: 0; padding-inline: 0.4rem; }
.header-call:hover { color: var(--green); transform: none; }
.header-call svg { color: var(--green); }
.header-cta { padding-inline: 1rem; }
.header-call .num { font-variant-numeric: tabular-nums; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.6rem; height: 44px; padding: 0 0.95rem; border-radius: var(--r-s); background: var(--green); color: #0E1F0D; border: 0; font-weight: 600; position: relative; z-index: 100; }
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle .bars::before { top: 1px; }
.menu-toggle .bars::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 768px) {
  .header-call, .header-cta { display: inline-flex; }
  .menu-toggle { background: transparent; color: var(--on-dark); border: 1px solid rgba(244, 241, 232, 0.3); }
}
@media (min-width: 1280px) {
  .nav { display: flex; }
  .lang-link { display: inline-block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1480px) { .nav-link { padding-inline: 0.8rem; font-size: 0.95rem; } .header-cta { padding-inline: 1.25rem; } }

/* dropdown menus */
.mega {
  position: absolute; top: calc(100% + 16px); left: 0; width: min(900px, 92vw); padding: 1.25rem;
  border-radius: var(--r-m); background: var(--white); color: var(--ink);
  box-shadow: 0 30px 70px -24px rgba(5, 14, 11, 0.6), 0 0 0 1px var(--line-light);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.15rem; }
.mega-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.7rem; border-radius: var(--r-s); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: background-color 0.15s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--ivory-2); }
.mega-link .ico { width: 30px; height: 30px; flex: none; color: var(--green-ink); }
.mega-link small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.82rem; margin-top: 1px; }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; padding: 0.9rem 0.7rem 0.2rem; border-top: 1px solid var(--line-light); font-size: 0.92rem; color: var(--ink-2); }
.mega-foot .muted { color: var(--ink-2); }
.mega-foot .link-arrow { color: var(--green-ink); }
.mega--narrow { width: min(540px, 92vw); left: auto; right: 0; }
.mega--narrow .mega-grid { grid-template-columns: 1fr 1fr; }
.mega-col h3 { font-family: var(--font-ui); font-size: 0.74rem; font-weight: 600; color: var(--brass-ink); padding: 0.4rem 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* phone and tablet menu */
.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: 97; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--forest-950); color: var(--on-dark);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 1.25rem) var(--gutter) 1.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu nav { display: grid; }
.mobile-menu .m-link { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 6.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; text-decoration: none; padding: 0.7rem 0; display: block; border-bottom: 1px solid var(--line-dark); }
.mobile-menu details summary.m-link { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu details summary::after { content: ""; flex: none; display: block; width: 10px; height: 10px; border-right: 1.5px solid var(--brass-lt); border-bottom: 1.5px solid var(--brass-lt); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); margin-right: 4px; }
.mobile-menu details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.mobile-menu .m-sub { display: grid; padding: 0.4rem 0 0.9rem; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .m-sub a { text-decoration: none; padding: 0.6rem 0; color: var(--on-dark-2); font-size: 1.05rem; }
.mobile-menu .m-foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: 0.7rem; }

/* reading progress (article pages) */
.progress-bar { position: fixed; left: 0; top: 0; z-index: 120; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ---------- photos ---------- */
.photo-frame { position: relative; overflow: hidden; background: var(--forest-800); aspect-ratio: 4 / 3; border-radius: var(--r-s); }
.photo-frame picture, .person-photo picture { display: contents; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.is-missing img, .person-photo.is-missing > img, .person-photo.is-missing picture img { display: none; }
.photo-frame .fallback, .person-photo .fallback { position: absolute; inset: 0; display: none; place-items: center; background: var(--forest-800); color: var(--green); font-family: var(--font-display); font-size: 3rem; }
.photo-frame.is-missing .fallback, .person-photo.is-missing .fallback { display: grid; }
.photo-frame .fallback img { width: 34%; height: auto; opacity: 0.9; display: block; }
.photo-cap { font-size: var(--fs-small); color: var(--fg-2); line-height: 1.5; }

/* ---------- home hero ---------- */
/* A close two-person portrait. On phones and tablets it sits above the text, starting under the header so no head is covered.
   On wide screens it takes the right half and the headline keeps the left half to itself. */
.hero { position: relative; background: var(--forest-900); color: var(--on-dark); overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: relative; overflow: hidden; height: min(52svh, 480px); min-height: 300px; margin: var(--header-h) 0 0; }
.hero-media picture { display: contents; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 24, 0) 60%, var(--forest-900) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; margin-top: -2.5rem; padding-bottom: 1.75rem; }
.hero-pre { display: flex; align-items: center; gap: 0.9rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-lt); line-height: 1.5; }
.hero-pre::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--brass); }
.hero-title { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-hero); line-height: 1.0; letter-spacing: -0.022em; }
.hero-title .line { display: block; }
.hero-title .line + .line { font-style: italic; color: var(--green); }
.hero-sub { margin-top: 1.3rem; max-width: 34rem; font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--on-dark-2); }
.hero-sub strong { color: var(--on-dark); font-weight: 600; }
.hero-ctas { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.hero-facts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; padding: 1.1rem var(--gutter) 1.75rem; border-top: 1px solid var(--line-dark); font-size: 0.92rem; color: var(--on-dark-2); }
.fact-chip { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; color: inherit; text-decoration: none; }
.hero-facts .fact-chip { color: var(--on-dark); }
a.fact-chip:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.fact-chip .stars { color: var(--brass-lt); font-size: 0.9rem; }
.fact-chip + .fact-chip { padding-left: 1.25rem; border-left: 1px solid var(--line-dark); }
.hero-cap { order: 3; flex-basis: 100%; font-family: var(--font-display); font-style: italic; font-size: 0.98rem; letter-spacing: 0.01em; color: var(--on-dark-3); }
.scroll-cue { display: none; }
@media (min-width: 480px) { .hero-ctas { display: flex; flex-wrap: wrap; } }
@media (min-width: 600px) and (max-width: 1099px) { .hero-media img { object-position: 47% 0%; } }
@media (min-width: 1100px) {
  .hero { min-height: clamp(540px, 62vw, min(100svh, 940px)); justify-content: center; padding-top: var(--header-h); padding-bottom: 5.5rem; }
  .hero-media { position: absolute; inset: var(--header-h) 0 0 auto; width: 50%; height: auto; min-height: 0; margin: 0; }
  .hero-media img { object-position: 46% 0%; }
  .hero-media::after { background: linear-gradient(90deg, var(--forest-900) 0%, rgba(15, 29, 24, 0) 14%), linear-gradient(0deg, rgba(10, 20, 16, 0.8) 0%, rgba(10, 20, 16, 0) 24%); }
  .hero-content { margin-top: 0; padding-block: 2rem; }
  .hero-content > * { max-width: calc(50vw - var(--edge) - 1.5rem); }
  .hero-pre { font-size: 0.78rem; letter-spacing: 0.2em; }
  .hero-pre::before { width: 36px; }
  .hero-title { margin-top: 1.5rem; font-size: clamp(2.9rem, min(5.45vw, calc((50vw - var(--edge) - 1.5rem) / 7.3)), 5.2rem); }
  .hero-sub { margin-top: 1.6rem; }
  .hero-ctas { margin-top: 2rem; }
  .hero-facts { position: absolute; left: var(--edge); right: var(--edge); bottom: 0; padding: 1.25rem 0 1.6rem; flex-wrap: nowrap; }
  .hero-cap { flex-basis: auto; margin-left: auto; text-align: right; }
}

/* ---------- awards ---------- */
.badge-strip { background: var(--ivory); color: var(--ink); padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2.25rem, 4vw, 3rem); border-bottom: 1px solid var(--line-light); }
.badge-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.badge { display: flex; align-items: center; justify-content: center; }
.badge img { display: block; width: auto; height: auto; object-fit: contain; }
.badge--seal img, .badge--square img { height: clamp(96px, 9.5vw, 132px); }
.badge--wordmark img { width: clamp(190px, 17vw, 250px); }
.award-disclosure { margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; max-width: 104ch; font-size: 0.86rem; line-height: 1.6; color: var(--ink-2); padding-top: clamp(1.25rem, 2vw, 1.75rem); border-top: 1px solid var(--line-light); }
.award-disclosure a, .review-disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: rgba(20, 32, 27, 0.4); }
.award-disclosure a:hover, .review-disclaimer a:hover { text-decoration-color: currentColor; }
@media (min-width: 900px) { .badge-strip .award-disclosure { columns: 2; column-gap: 3rem; } }
@media (max-width: 640px) {
  .badge-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 0.75rem; justify-items: center; }
  .badge--wordmark { grid-column: 1 / -1; }
  .badge--wordmark img { width: min(62vw, 230px); }
  .badge--seal img, .badge--square img { height: min(25vw, 104px); }
}

/* ---------- ticker ---------- */
.marquee { --speed: 60s; position: relative; overflow: hidden; display: flex; user-select: none; }
.marquee-track { display: flex; flex: none; align-items: center; gap: var(--gap, 2.5rem); padding-right: var(--gap, 2.5rem); animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.band { background: var(--forest-900); color: var(--on-dark-2); padding: 0.95rem 0; }
.band .marquee { --speed: 90s !important; }
.band .marquee-item { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.band .marquee-item [lang] { letter-spacing: 0; font-size: 0.95rem; text-transform: none; }
.band .marquee-item::after { content: ""; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }

/* ---------- statement ---------- */
.statement-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.statement-text { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 2.9vw, 2.6rem); line-height: 1.22; letter-spacing: -0.012em; text-wrap: pretty; }
.statement-aside { display: grid; gap: 1.1rem; }
@media (min-width: 900px) {
  .statement-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .statement-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- results ---------- */
.stat .v { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: lining-nums; }
.stat .l { display: block; margin-top: 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--detail); }
.exhibits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
.exhibit { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4vw, 2rem) 0 clamp(1.6rem, 2.8vw, 2.4rem); border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.exhibit--lg { grid-column: span 3; }
.exhibit::after { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--accent); transition: width 0.45s var(--ease); }
.exhibit:hover::after, .exhibit:focus-visible::after { width: 100%; }
.sticker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15em 0.6em; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--detail); }
.sticker > span { white-space: nowrap; }
.sticker-for { letter-spacing: 0.04em; text-transform: none; font-weight: 400; color: var(--fg-3); }
.sticker-for::before { content: "· "; }
.exhibit-amount { margin-top: 0.9rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; transition: color 0.3s; }
.exhibit--lg .exhibit-amount { font-size: clamp(3.4rem, 6.4vw, 5.6rem); }
.exhibit:hover .exhibit-amount { color: var(--accent); }
.exhibit-type { margin-top: 1rem; font-weight: 600; font-size: 1.02rem; }
.exhibit-text { margin-top: 0.3rem; color: var(--fg-2); font-size: 0.95rem; line-height: 1.5; max-width: 42ch; }
.results-note { margin-top: 1.75rem; font-size: var(--fs-tiny); color: var(--fg-3); max-width: 70ch; }
@media (max-width: 899px) {
  .exhibits { grid-template-columns: 1fr 1fr; }
  .exhibit, .exhibit--lg { grid-column: auto; }
}
@media (max-width: 599px) {
  .exhibits, .article-layout .exhibits { grid-template-columns: 1fr; }
  .exhibits > .exhibit { display: grid; grid-template-columns: minmax(6.2rem, auto) 1fr; column-gap: 1.1rem; align-items: start; padding: 1.25rem 0 1.4rem; }
  .sticker { grid-column: 1 / -1; }
  .exhibit-amount, .exhibit--lg .exhibit-amount, .article-layout .exhibit-amount { grid-row: 2 / span 2; margin-top: 0.55rem; font-size: 2.35rem; }
  .exhibit-type { margin-top: 0.7rem; }
  .exhibit-text { font-size: 0.92rem; }
}

/* ---------- practice areas ---------- */
/* A row of cards over a night highway. On wide screens the script holds the section still and moves the row sideways with
   the scroll. On phones and tablets, for reduced motion, and without the script, it is a swipe row. */
.practice { padding-block: 0; }
.practice-pin { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: clamp(3.75rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.road-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; background: var(--forest-950); }
.road-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 20, 16, 0.94) 0%, rgba(10, 20, 16, 0.62) 30%, rgba(10, 20, 16, 0.2) 68%, rgba(10, 20, 16, 0.5) 100%),
    linear-gradient(0deg, rgba(10, 20, 16, 0.8) 0%, rgba(10, 20, 16, 0) 34%),
    linear-gradient(180deg, var(--forest-900) 0%, rgba(15, 29, 24, 0) 16%);
}
.practice-track { display: flex; gap: clamp(0.9rem, 1.5vw, 1.35rem); padding: 0.75rem var(--edge) 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); -webkit-overflow-scrolling: touch; }
.practice-track::after { content: ""; flex: 0 0 1px; }
@media (pointer: coarse) { .practice-track { scrollbar-width: none; } .practice-track::-webkit-scrollbar { display: none; } }
@media (pointer: fine) { .practice-track { scrollbar-width: thin; scrollbar-color: rgba(244, 241, 232, 0.35) transparent; } }
.practice-intro { flex: 0 0 min(31rem, calc(100vw - var(--gutter) * 2 - 3.25rem)); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-right: clamp(0.5rem, 3vw, 3rem); scroll-snap-align: start; }
.p-card {
  position: relative; isolation: isolate; flex: 0 0 clamp(262px, 23vw, 340px); min-height: clamp(360px, 56vh, 560px);
  display: flex; flex-direction: column; padding: clamp(1.4rem, 2vw, 1.9rem); overflow: hidden; scroll-snap-align: start;
  text-decoration: none; color: var(--on-dark); background: rgba(19, 35, 28, 0.88); border: 1px solid var(--line-dark); border-radius: var(--r-m);
  transition: background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.p-card::after { content: ""; position: absolute; inset: auto -30% -62% -30%; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(133, 189, 102, 0.3), transparent); opacity: 0; transform: translateY(20%); transition: opacity 0.5s, transform 0.8s var(--ease-out); }
.p-card:hover, .p-card:focus-visible { background: rgba(30, 52, 42, 0.96); border-color: rgba(133, 189, 102, 0.5); transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(0, 0, 0, 0.85); }
.p-card:hover::after, .p-card:focus-visible::after { opacity: 1; transform: none; }
.p-card .ico { width: clamp(60px, 6.2vw, 96px); height: auto; margin-bottom: auto; color: var(--brass-lt); transition: color 0.4s; }
.p-card:hover .ico, .p-card:focus-visible .ico { color: var(--green); }
.p-card h3 { margin-top: 2rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 2.1vw, 2rem); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
.p-card p { margin-top: 0.75rem; color: var(--on-dark-2); font-size: 0.94rem; line-height: 1.55; }
.p-card .p-more { margin-top: 1.3rem; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.92rem; color: var(--green); }
.p-card .p-more svg { width: 1.05em; height: 1.05em; transition: transform 0.4s var(--ease-out); }
.p-card:hover .p-more svg { transform: translateX(6px); }
.practice-progress { position: relative; height: 2px; margin: clamp(1.1rem, 2.6vw, 2rem) var(--edge) 0; background: var(--line-dark); }
.practice-progress span { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
html:not(.js) .practice-progress { display: none; }
@media (max-width: 640px) { .p-card { flex-basis: min(76vw, 300px); min-height: 330px; } }
/* held still by the script */
.practice.is-pinned .practice-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
.practice.is-pinned .practice-track { overflow: visible; scroll-snap-type: none; padding-block: 0; scrollbar-width: none; will-change: transform; }
.practice.is-pinned .practice-progress { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(1.5rem, 5vh, 3rem); margin: 0; }

/* ---------- process ---------- */
.process { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.process-sticky { display: grid; gap: 1.5rem; align-self: start; }
.process-sticky .photo-frame { aspect-ratio: 3 / 2; }
[data-road] { --road-w: clamp(2.75rem, 4.6vw, 3.75rem); position: relative; padding-left: calc(var(--road-w) + clamp(1rem, 2.4vw, 2rem)); }
.road-surface { position: absolute; left: 0; top: 0; bottom: 0; width: var(--road-w); border-radius: 999px; background: var(--forest-900); }
.road-surface::before, .road-surface::after { content: ""; position: absolute; top: 20px; bottom: 20px; width: 1px; background: rgba(244, 241, 232, 0.16); }
.road-surface::before { left: 7px; }
.road-surface::after { right: 7px; }
.road-line { position: absolute; left: calc(var(--road-w) / 2 - 1.5px); top: 22px; bottom: 22px; width: 3px; background: repeating-linear-gradient(to bottom, var(--brass-lt) 0 20px, transparent 20px 38px); transform-origin: top; }
.road-car { position: absolute; left: calc(var(--road-w) / 2); top: 12px; z-index: 2; width: calc(var(--road-w) * 0.54); height: auto; max-width: none; overflow: visible; translate: -50% 0; filter: drop-shadow(0 0 10px rgba(242, 194, 48, 0.45)); will-change: transform; }
html.js:not(.reduced) .road-line { transform: scaleY(0); }
[data-road] .step:first-of-type { border-top: 1px solid var(--line); }
/* each number is an outline until the taxi reaches its step */
html.js:not(.reduced) [data-road] .step-num { color: transparent; -webkit-text-stroke: 1px var(--detail); transition: color 0.45s, -webkit-text-stroke-color 0.45s; }
html.js:not(.reduced) [data-road] .step.is-active .step-num { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
@media (max-width: 599px) { [data-road] .step { grid-template-columns: 1fr; row-gap: 0.6rem; } [data-road] .step-num { grid-row: auto; } }
.step { position: relative; display: grid; grid-template-columns: clamp(3.25rem, 6vw, 5rem) 1fr; column-gap: clamp(1rem, 2vw, 1.75rem); padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.step-num { grid-row: span 2; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1; color: var(--detail); font-variant-numeric: lining-nums; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.2; }
.step p { margin-top: 0.5rem; color: var(--fg-2); max-width: 52ch; }
@media (min-width: 900px) {
  .process { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .process-sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.person { position: relative; display: block; text-decoration: none; color: inherit; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest-800); border-radius: var(--r-s); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.person:hover .person-photo img { transform: scale(1.035); }
.person-photo .chip-row { position: absolute; left: 0.85rem; bottom: 0.85rem; right: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; padding: 0.3rem 0.6rem; border-radius: 2px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; background: rgba(246, 242, 233, 0.94); color: var(--ink); }
.chip--y { background: var(--green); color: #0E1F0D; }
.person h3 { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.01em; }
.person .role { margin-top: 0.45rem; color: var(--detail); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }
.person p:not(.role) { margin-top: 0.75rem; color: var(--fg-2); font-size: 0.97rem; line-height: 1.55; }
.person h3 { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; display: inline; transition: background-size 0.35s var(--ease); }
.person:hover h3 { background-size: 100% 1px; }
.person > div + h3 { display: inline-block; }
.team-band { margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; gap: 1rem; }
.team-band .photo-frame { aspect-ratio: 2 / 1; }
.team-band-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; font-size: var(--fs-small); color: var(--fg-2); }
@media (max-width: 767px) {
  .people { grid-template-columns: 1fr; gap: 2.5rem; }
  .person { display: grid; grid-template-columns: 38% 1fr; column-gap: 1.1rem; align-items: start; }
  .person > div:first-child { grid-row: span 3; }
  .person h3 { margin-top: 0; font-size: 1.45rem; }
  .person > div + h3 { display: block; }
  .person-photo .chip-row { position: static; margin: 0; padding: 0.5rem 0 0; gap: 0.3rem; background: var(--forest-900); }
  .person-photo { aspect-ratio: auto; overflow: visible; background: none; }
  .person-photo > img, .person-photo picture img { aspect-ratio: 4 / 5; border-radius: var(--r-s); }
  .person p:not(.role) { font-size: 0.93rem; }
  .team-band .photo-frame { aspect-ratio: 3 / 2; }
}

/* ---------- reviews ---------- */
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.reviews-cta-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.rating-badge { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.2rem; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-s); text-decoration: none; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.rating-badge:hover { border-color: var(--ink-3); box-shadow: var(--shadow); }
.rating-badge .big { font-family: var(--font-display); font-weight: 500; font-size: 2.6rem; line-height: 1; font-variant-numeric: lining-nums; }
.rating-badge .stars { color: var(--star); }
.rating-badge small { font-size: 0.85rem; color: var(--ink-2); }
.g-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; flex: none; }
.g-dot svg { width: 14px; height: 14px; }
.reviews-disclaimer-wrap { margin-bottom: 2rem; }
.review-disclaimer { max-width: 86ch; font-size: 0.86rem; line-height: 1.6; color: var(--ink-2); }
.reviews-rows { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); columns: 4 270px; column-gap: 1.25rem; }
.reviews-rows .marquee, .reviews-rows .marquee-track { display: contents; animation: none; }
.review-card { display: flex; flex-direction: column; gap: 0.9rem; break-inside: avoid; margin: 0 0 1.25rem; padding: 1.4rem 1.4rem 1.25rem; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-s); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-card .stars { color: var(--star); font-size: 0.9rem; }
.review-g { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.review-g svg { width: 18px; height: 18px; }
.review-excerpt-label { margin: 0 0 -0.4rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); }
.review-card blockquote { font-family: var(--font-read); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.review-card blockquote p + p { margin-top: 0.6rem; }
.review-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--line-light); font-size: 0.84rem; color: var(--ink-2); }
.review-card figcaption strong { color: var(--ink); font-weight: 600; }
.marquee-track.is-copy { display: none; }
.reviews-rows.is-glide { max-width: none; padding-inline: 0; columns: auto; display: grid; gap: 1.25rem; }
.reviews-rows.is-glide .marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews-rows.is-glide .marquee-track { display: flex; flex: none; align-items: stretch; gap: 1.25rem; padding-right: 1.25rem; animation: none; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.reviews-rows.is-glide .review-card { flex: none; width: clamp(300px, 27vw, 400px); margin: 0; }
.reviews-rows.is-glide .review-card figcaption { margin-top: auto; }
@media (max-width: 767px) {
  .reviews-rows { columns: auto; display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
  .review-card { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; margin: 0; }
}

/* ---------- guides and deadlines ---------- */
.rights { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .rights { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.calc-teaser { margin-top: 2rem; padding: clamp(1.4rem, 2.6vw, 2rem); background: var(--forest-900); color: var(--on-dark); border-radius: var(--r-m); display: grid; gap: 1.5rem; --accent: var(--green); --yellow: var(--green); }
.calc-teaser .toggle { display: inline-flex; padding: 3px; border-radius: var(--r-s); background: rgba(244, 241, 232, 0.07); border: 1px solid var(--line-dark); width: max-content; max-width: 100%; }
.calc-teaser .toggle button { border: 0; background: transparent; min-height: 40px; padding: 0.45rem 1rem; border-radius: 2px; font-weight: 600; font-size: 0.94rem; color: var(--on-dark-2); transition: background-color 0.2s, color 0.2s; }
.calc-teaser .toggle button[aria-pressed="true"] { background: var(--green); color: #0E1F0D; }
.calc-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.calc-fig { border-top: 1px solid var(--line-dark); padding-top: 0.9rem; }
.calc-fig .v { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1; color: var(--on-dark); font-variant-numeric: lining-nums; transition: opacity 0.2s; }
.calc-fig .v.is-swapping { opacity: 0; }
.calc-fig .l { display: block; margin-top: 0.45rem; font-size: 0.86rem; line-height: 1.4; color: var(--on-dark-2); }
.guide-rows { border-top: 1px solid var(--line); }
.guide-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; padding: 1.25rem 0.25rem 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color 0.25s, padding 0.3s var(--ease); }
.guide-row:hover, .guide-row:focus-visible { background: var(--white); padding-inline: 0.9rem; }
.guide-row .ico { width: 40px; height: 40px; color: var(--green-ink); }
.guide-row h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; }
.guide-row p { font-size: 0.86rem; color: var(--fg-2); margin-top: 0.25rem; }
.guide-row .arrow, .office-card .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.guide-row .arrow svg, .office-card .arrow svg { width: 17px; height: 17px; }
.guide-row:hover .arrow { background: var(--forest-900); color: var(--on-dark); border-color: var(--forest-900); transform: translateX(3px); }
@media (max-width: 480px) { .calc-figs { grid-template-columns: 1fr; gap: 0; } .calc-fig { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1rem; padding-block: 0.9rem; } .calc-fig .l { margin-top: 0; } .guide-row .ico { width: 32px; height: 32px; } .guide-row { gap: 0.9rem; } }

/* ---------- offices ---------- */
.offices { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .offices { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.map-wrap { position: relative; aspect-ratio: 1 / 0.86; border-radius: var(--r-m); background: var(--forest-950); border: 1px solid var(--line-dark); overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .grid-l { stroke: rgba(244, 241, 232, 0.045); stroke-width: 1; }
.map-svg .road { stroke: rgba(214, 188, 133, 0.28); stroke-width: 1.5; fill: none; stroke-linecap: round; }
.map-svg .river { fill: none; stroke: #1B4A40; stroke-width: 34; stroke-linecap: round; }
.map-svg .river-edge { fill: none; stroke: rgba(94, 140, 120, 0.35); stroke-width: 1.5; }
.map-svg .label { fill: rgba(244, 241, 232, 0.45); font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; }
.pin { position: absolute; translate: -50% -50%; display: grid; place-items: center; text-decoration: none; }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(133, 189, 102, 0.22); position: relative; z-index: 1; transition: transform 0.25s var(--ease); }
.pin-pulse { display: none; }
.pin-label { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; white-space: nowrap; padding: 0.25rem 0.55rem; border-radius: 2px; background: var(--ivory); color: var(--ink); font-size: 0.78rem; font-weight: 600; transition: background-color 0.2s; }
.pin.is-hot .pin-label, .pin:hover .pin-label { background: var(--green); }
.pin.is-hot .pin-dot, .pin:hover .pin-dot { transform: scale(1.35); }
.office-list { display: grid; border-top: 1px solid var(--line); }
.office-card { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: 1.3rem 0.25rem 1.3rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color 0.25s, padding 0.3s var(--ease); }
.office-card:hover, .office-card:focus-visible { background: rgba(244, 241, 232, 0.045); padding-inline: 0.9rem; }
.office-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.15; }
.office-card p { grid-column: 1; margin-top: 0.2rem; color: var(--fg-2); font-size: 0.95rem; }
.office-card .arrow { grid-row: 1 / span 2; grid-column: 2; }
.office-card:hover .arrow { background: var(--green); color: #0E1F0D; border-color: var(--green); transform: translateX(3px); }

/* ---------- contact panel and forms ---------- */
.section--yellow { --bg: var(--ivory); }
.cta-grid { display: grid; gap: clamp(2.25rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.cta-title { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.cta-title::before { content: ""; display: block; width: 44px; height: 1px; background: var(--detail); margin-bottom: clamp(1.25rem, 2vw, 1.75rem); }
.cta-grid .lead { color: var(--fg-2); }
.contact-methods { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.method { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0.25rem 1.05rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color 0.25s, padding 0.3s var(--ease); }
.method:hover { background: var(--white); padding-inline: 0.9rem; }
.method .ico-c { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--detail); color: var(--detail); display: grid; place-items: center; flex: none; }
.method .ico-c svg { width: 19px; height: 19px; }
.method strong { display: block; font-size: 1.08rem; font-weight: 600; }
.method span span { font-size: 0.9rem; color: var(--fg-2); }
.form-card { position: relative; overflow: hidden; background: var(--white); color: var(--ink); border: 1px solid var(--line-light); border-radius: var(--r-m); padding: clamp(1.4rem, 3.2vw, 2.5rem); box-shadow: var(--shadow); --accent: var(--green-ink); --fg-2: var(--ink-2); --line: var(--line-light); }
@media (min-width: 1100px) {
  .section--yellow { padding-block: clamp(1.25rem, 4vw, 3.5rem) var(--space); }
  .cta-grid { width: calc(100% - 2 * var(--edge)); max-width: none; margin-inline: auto; padding: clamp(3rem, 5.5vw, 5.5rem) clamp(2.5rem, 5vw, 5rem); border-radius: var(--r-m);
    background: var(--forest-900); color: var(--on-dark); --fg: var(--on-dark); --fg-2: var(--on-dark-2); --line: var(--line-dark); --detail: var(--brass-lt); --accent: var(--green); }
  .cta-grid .method:hover { background: rgba(244, 241, 232, 0.045); }
  .cta-grid .form-card { background: var(--ivory); border: 0; box-shadow: none; }
}
.form-card .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: grid; gap: 0.4rem; position: relative; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 0.75rem 0.9rem; background: var(--white); border: 1px solid rgba(20, 32, 27, 0.32); border-radius: var(--r-s); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(51, 112, 42, 0.22); }
.field .err { display: none; color: var(--red); font-size: 0.86rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .err { display: block; }
.seg { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; min-height: 0; width: auto; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem; border-radius: var(--r-s); border: 1px solid rgba(20, 32, 27, 0.32); background: var(--white); font-weight: 500; font-size: 0.94rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.seg input:checked + span { background: var(--forest-900); color: var(--on-dark); border-color: var(--forest-900); }
.seg input:focus-visible + span { outline: 3px solid var(--green-ink); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.82rem; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-ink); }
.consent a { color: inherit; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 0.25rem; }
.form-foot small { color: var(--ink-2); font-size: 0.82rem; line-height: 1.5; max-width: 40ch; }
.form-error { color: var(--red); font-size: 0.92rem; font-weight: 500; }
.form-success { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--forest-900); color: var(--on-dark); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s; }
.form-success.is-shown { opacity: 1; visibility: visible; transition-delay: 0s; }
.form-success svg { width: 76px; height: 76px; margin: 0 auto 1.2rem; }
.form-success svg path, .form-success svg circle { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.form-success.is-shown svg circle { animation: draw 0.7s 0.15s var(--ease) forwards; }
.form-success.is-shown svg path { animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; line-height: 1.1; }
.form-success p { margin-top: 0.7rem; color: var(--on-dark-2); max-width: 36ch; margin-inline: auto; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-950); color: var(--on-dark); padding-top: clamp(4rem, 7vw, 6.5rem); overflow: hidden; --accent: var(--green); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.footer-top h2 { font-family: var(--font-ui); font-size: 0.74rem; font-weight: 600; color: var(--brass-lt); margin-bottom: 1.1rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; }
.footer-top li a { display: inline-block; padding: 0.3rem 0; font-size: 0.95rem; line-height: 1.45; }
.footer-top a { text-decoration: none; color: var(--on-dark-2); transition: color 0.2s; }
.footer-top a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--brass); }
.footer-logo { height: 60px; width: auto; margin-bottom: 1.75rem; }
.footer-cta .h2 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; font-size: clamp(1.8rem, 2.8vw, 2.4rem) !important; }
.footer-cta p { color: var(--on-dark-2); max-width: 34ch; margin-top: 0.8rem; }
.footer-cta .big-phone { display: inline-block; margin-top: 1.25rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.1; color: var(--green); text-decoration: none; font-variant-numeric: lining-nums; }
.footer-cta .big-phone:hover { color: var(--green-hover); text-decoration: none; }
/* The giant name at the foot of every page. Heavy letters that start wider than the screen, squeeze inward to fit and
   rise from behind the rule below as the footer scrolls into view (the script drives the width). A light crosses them
   as they settle, and on a mouse it then follows the pointer. Without the script they simply sit in place. */
.site-footer > .container { container-type: inline-size; }
.footer-word { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: flex; justify-content: center; gap: 0.3em; font-family: "Archivo Wordmark", var(--font-ui); font-weight: 900; font-stretch: 62%; font-size: clamp(2.5rem, 17vw, 14.8rem); font-size: 19.5cqw; line-height: 0.74; letter-spacing: 0.01em; white-space: nowrap; user-select: none; pointer-events: none; clip-path: inset(-30% -100vw 0 -100vw); }
.footer-word span { display: inline-block; padding-top: 0.04em; color: transparent; -webkit-text-stroke: 0.006em rgba(133, 189, 102, 0.26); background: radial-gradient(circle 1.05em at var(--lx, -100em) var(--ly, 50%), rgba(164, 218, 132, 0.88), rgba(133, 189, 102, 0.3) 44%, rgba(133, 189, 102, 0) 80%), linear-gradient(180deg, var(--forest-600) 0%, var(--forest-700) 42%, var(--forest-800) 100%); -webkit-background-clip: text; background-clip: text; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 1.75rem 2.25rem; display: grid; gap: 1rem; font-size: 0.82rem; line-height: 1.6; color: var(--on-dark-3); }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-legal a { color: var(--on-dark-2); }
.socials { display: flex; gap: 0.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-2); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.socials a:hover { color: var(--forest-900); background: var(--green); border-color: var(--green); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:last-child { grid-column: 1 / -1; } .site-footer { padding-bottom: 5rem; } }

/* ---------- phone action bar, back to top ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 0.4rem; padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); background: rgba(10, 20, 16, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.action-bar.is-shown { transform: none; }
.action-bar.is-shown.is-typing { transform: translateY(110%); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 48px; padding: 0 0.4rem; border-radius: var(--r-s); font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--on-dark); border: 1px solid rgba(244, 241, 232, 0.32); white-space: nowrap; }
.action-bar a:first-child { background: var(--green); color: #0E1F0D; border-color: var(--green); }
.action-bar svg { width: 17px; height: 17px; flex: none; }
@media (min-width: 768px) { .action-bar { display: none; } }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-900); color: var(--on-dark); border: 1px solid var(--line-dark); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease), background-color 0.2s; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--forest-700); }
.to-top svg { width: 18px; height: 18px; }
.to-top .ring { display: none; }
@media (max-width: 767px) { .to-top { display: none; } }

/* ---------- search ---------- */
.search { position: fixed; inset: 0; z-index: 130; display: grid; justify-items: center; align-items: start; padding: clamp(1rem, 10vh, 7rem) 1rem 1rem; background: rgba(10, 20, 16, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s linear 0.2s; }
.search.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-open { overflow: hidden; }
.search-panel { width: min(720px, 100%); background: var(--white); color: var(--ink); border-radius: var(--r-m); overflow: hidden; transform: translateY(10px); transition: transform 0.3s var(--ease); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.search.is-open .search-panel { transform: none; }
.search-input-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line-light); }
.search-input-row svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.search-input-row input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.15rem; font-weight: 500; padding: 0.4rem 0; outline: none; }
.search-input-row input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-close { flex: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line-light); border-radius: var(--r-s); padding: 0.35rem 0.7rem; font-size: 0.86rem; font-weight: 600; color: var(--ink); background: var(--ivory); }
.search-close:hover { background: var(--ivory-2); }
.search-results { max-height: min(60vh, 540px); overflow-y: auto; padding: 0.5rem; overscroll-behavior: contain; }
.search-results a { display: grid; grid-template-columns: 36px 1fr; gap: 0.1rem 0.9rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: var(--r-s); text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--ivory-2); }
.search-results .ico { grid-row: span 2; width: 32px; height: 32px; color: var(--green-ink); }
.search-results strong { font-size: 1rem; font-weight: 600; }
.search-results span { font-size: 0.86rem; color: var(--ink-2); }
.search-results mark { background: rgba(133, 189, 102, 0.45); color: inherit; border-radius: 2px; padding: 0 2px; }
.search-empty { padding: 1.75rem 1.1rem; color: var(--ink-2); }
.search-hint { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line-light); font-size: 0.8rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* >>> inner pages >>> */
/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- page header ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-900); color: var(--on-dark); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.75rem, 6vw, 5rem);
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --accent: var(--green); --detail: var(--brass-lt); --stars: var(--brass-lt); --yellow: var(--green); }
.page-hero-media { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 62%; overflow: hidden; }
.page-hero-media picture, .banner-media picture, .photo-band-media picture { display: contents; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0.3; }
.page-hero-media--vivid { top: var(--header-h); }
.page-hero-media--vivid img { filter: none; opacity: 1; }
/* attorneys page header: the office photo framed as a black and white portrait of the two partners under the PK sign,
   not a wide colour shot across the car park. Up to 860px a cropped copy fills a band above the text. Above that a
   second crop stands at full height, pinned to the right edge, so the partners are clear of the heading. */
.page-hero-media--portrait img { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: 100%; filter: grayscale(1) contrast(1.08) brightness(1.03); }
/* a fade exactly as wide as the photo (same shape, same right edge), so the photo's left edge melts into the header
   on any screen width and the sign's lettering stays quiet behind the heading */
.page-hero-media--portrait::before { content: ""; position: absolute; top: 0; right: 0; z-index: 1; height: 100%; aspect-ratio: 1340 / 554; pointer-events: none; background: linear-gradient(90deg, var(--forest-900) 0%, rgba(15, 29, 24, 0.82) 16%, rgba(15, 29, 24, 0.34) 34%, rgba(15, 29, 24, 0) 48%); }
.page-hero-media--portrait::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(125% 105% at 70% 38%, rgba(15, 29, 24, 0) 52%, rgba(15, 29, 24, 0.36) 100%); }
@media (min-width: 861px) and (max-width: 1700px) {
  /* on laptop widths the heading reaches over the photo, so the window lettering beside the partners is held back more */
  .page-hero-media--portrait::before { background: linear-gradient(90deg, var(--forest-900) 0%, rgba(15, 29, 24, 0.9) 20%, rgba(15, 29, 24, 0.68) 38%, rgba(15, 29, 24, 0.3) 49%, rgba(15, 29, 24, 0) 58%); }
}
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--forest-900) 38%, rgba(15, 29, 24, 0.55) 62%, rgba(15, 29, 24, 0.2) 100%), linear-gradient(0deg, rgba(15, 29, 24, 0.9) 0%, rgba(15, 29, 24, 0) 45%); }
.page-hero--photo:has(.page-hero-media--vivid)::after { background: linear-gradient(90deg, var(--forest-900) 38%, rgba(15, 29, 24, 0.6) 52%, rgba(15, 29, 24, 0) 74%), linear-gradient(0deg, rgba(15, 29, 24, 0.7) 0%, rgba(15, 29, 24, 0) 32%); }
.page-hero .lines { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
/* a few pages color their breadcrumb inline with the ink tokens; inside the breadcrumb those follow the section colors */
.crumbs { --ink: var(--fg); --ink-2: var(--fg-2); --ink-3: var(--fg-3); }
.crumbs a { color: var(--fg-2); text-decoration: none; padding-block: 0.35rem; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.25em; }
.kicker { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--detail); }
.page-hero h1 { max-width: 19ch; }
.page-hero .lead { margin-top: 1.5rem; color: var(--on-dark-2); max-width: 54ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.page-hero .hero-ico { width: clamp(84px, 9vw, 128px); height: auto; color: var(--brass-lt); opacity: 0.85; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.meta-row .fact-chip, .job-meta .fact-chip { padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 2px; font-size: 0.82rem; font-weight: 500; color: inherit; }
.meta-row .fact-chip + .fact-chip, .job-meta .fact-chip + .fact-chip { padding-left: 0.75rem; border-left: 1px solid var(--line); }
.meta-row .fact-chip svg { width: 15px; height: 15px; flex: none; }
.section--paper .meta-row .fact-chip, .section--paper2 .meta-row .fact-chip { background: var(--white) !important; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.25rem, 4vw, 3.5rem); border-top: 1px solid var(--line-dark); }
.stat-strip .stat { padding: 1.5rem 1.5rem 0 0; }
.stat-strip .stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stat-strip .stat .v { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.photo-credit { position: absolute; right: var(--gutter); bottom: 0.6rem; z-index: 1; margin: 0; font-size: 0.7rem; color: var(--on-dark-3); text-align: right; }
@media (max-width: 860px) {
  .page-hero { padding-top: calc(var(--header-h) + 2rem); }
  .page-hero-media { width: 100%; }
  .page-hero-media img { opacity: 0.16; }
  .page-hero--photo::after { background: linear-gradient(0deg, var(--forest-900) 0%, rgba(15, 29, 24, 0.5) 100%); }
  /* headers with a real photo: the photo becomes a band above the text, so words never sit on top of it */
  .page-hero:has(.page-hero-media--vivid) { padding-top: var(--header-h); }
  .page-hero-media--vivid { position: relative; inset: auto; top: auto; z-index: 0; height: min(40svh, 340px); margin-bottom: 2rem; }
  .page-hero-media--vivid img { opacity: 1; }
  /* the portrait crop keeps its own shape, and its foot fades into the header so the band has no hard lower edge */
  .page-hero-media--portrait { height: auto; aspect-ratio: 770 / 579; max-height: 62svh; }
  .page-hero-media--portrait img { position: static; width: 100%; height: 100%; object-position: 50% 28%; }
  .page-hero-media--portrait::before { display: none; }
  .page-hero-media--portrait::after { background: linear-gradient(0deg, var(--forest-900) 0%, rgba(15, 29, 24, 0.5) 13%, rgba(15, 29, 24, 0) 36%), radial-gradient(130% 100% at 50% 40%, rgba(15, 29, 24, 0) 58%, rgba(15, 29, 24, 0.32) 100%); }
  /* a phone held sideways has room for only a strip: show the faces, not the sign above them */
  @media (orientation: landscape) and (max-height: 520px) { .page-hero-media--portrait img { object-position: 50% 68%; } }
  .page-hero--photo:has(.page-hero-media--vivid)::after { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .hero-ico { display: none; }
  .photo-credit { position: static; margin-top: 1.5rem; padding-inline: var(--gutter); text-align: left; }
}
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } .stat-strip .stat, .stat-strip .stat + .stat { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); } .stat-strip .stat .l { margin-top: 0; } }

/* attorney page header with a wide portrait */
.page-hero--banner { display: flex; align-items: flex-end; min-height: min(86svh, 800px); padding-top: calc(var(--header-h) + 3rem); }
.page-hero--banner > .container { position: relative; }
.banner-media { position: absolute; inset: var(--header-h) 0 0 0; z-index: -2; overflow: hidden; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--banner::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--forest-900) 0%, rgba(15, 29, 24, 0.86) 28%, rgba(15, 29, 24, 0.2) 56%, rgba(15, 29, 24, 0) 72%), linear-gradient(0deg, rgba(15, 29, 24, 0.85) 0%, rgba(15, 29, 24, 0) 36%); }
.banner-copy { max-width: 42rem; }
.banner-name, .display { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 6.2vw, 5.2rem); line-height: 1.0; letter-spacing: -0.022em; margin-top: 0.9rem; }
@media (max-width: 860px) {
  .page-hero--banner { display: block; min-height: 0; padding-top: var(--header-h); }
  .page-hero--banner::after { display: none; }
  .banner-media { position: relative; inset: auto; z-index: 0; height: min(58svh, 480px); margin-bottom: 1.75rem; }
  .banner-media img { object-position: 86% 0% !important; }
  /* a banner photo that shows most of the body is enlarged on phones, so the framing matches the others: head to waist */
  .banner-media .banner-img--tall { height: 143%; object-position: 92% 0% !important; }
  .banner-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--forest-900), rgba(15, 29, 24, 0)); }
}
.profile-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.profile-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-s); background: var(--forest-800); }
.profile-photo picture { display: contents; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.profile-photo .fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-display); font-size: 6rem; color: var(--green); background: var(--forest-800); }
.profile-photo.is-missing img { display: none; }
.profile-photo.is-missing .fallback { display: grid; }
@media (max-width: 860px) { .profile-hero { grid-template-columns: 1fr; } .profile-photo { max-width: 380px; order: -1; } }

/* ---------- long-form text ---------- */
.prose { font-family: var(--font-read); font-size: clamp(1.125rem, 1.2vw, 1.2rem); line-height: 1.68; color: var(--ink); max-width: var(--read); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2.7vw, 2.3rem); line-height: 1.12; letter-spacing: -0.012em; margin-top: 2.2em; text-wrap: balance; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.2; margin-top: 1.8em; text-wrap: balance; }
.prose h2 + *, .prose h3 + * { margin-top: 0.65em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(51, 112, 42, 0.45); transition: text-decoration-color 0.2s, color 0.2s; }
.prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--brass-ink); font-family: var(--font-ui); font-weight: 600; font-size: 0.9em; }
.prose blockquote { border-left: 2px solid var(--brass); padding-left: 1.1em; color: var(--ink-2); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line-light); }
.prose .results-note { font-family: var(--font-ui); color: var(--ink-3); }
.legal-prose { max-width: 72ch; }
.prose-figure { margin: clamp(1.8rem, 3vw, 2.6rem) 0 0; display: grid; gap: 0.7rem; }
.prose-figure .photo-frame { aspect-ratio: 4 / 3; }

/* ---------- article pages ---------- */
.article-layout { display: grid; grid-template-columns: 230px minmax(0, var(--read)) minmax(240px, 300px); gap: clamp(2rem, 3.5vw, 4rem); justify-content: space-between; align-items: start; max-width: 1400px; }
.article-layout > .toc-wrap { align-self: stretch; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; scrollbar-width: none; font-size: 0.9rem; }
.toc h2 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 0.9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--line-light); }
.toc a { display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--green-ink); font-weight: 600; }
.rail { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 0.9rem; }
.rail-card { padding: 1.5rem; border-radius: var(--r-m); background: var(--forest-900); color: var(--on-dark); }
.rail-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.12; }
.rail-card p { margin-top: 0.7rem; color: var(--on-dark-2); font-size: 0.93rem; }
.rail-card .btn { width: 100%; margin-top: 1.1rem; }
.rail-card .btn + .btn { margin-top: 0.6rem; }
.rail-mini { padding: 1rem 1.15rem; border-radius: var(--r-s); border: 1px solid var(--line-light); background: var(--white); font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.rail-mini a { font-weight: 600; color: var(--ink); text-underline-offset: 0.18em; }
@media (max-width: 1240px) { .article-layout { grid-template-columns: 220px minmax(0, var(--read)); justify-content: center; } .rail { display: none; } }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc-wrap { display: none; } }

.takeaways { padding: clamp(1.4rem, 3vw, 2rem); margin-bottom: clamp(2rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--line-light); border-top: 3px solid var(--brass); border-radius: var(--r-s); }
.takeaways .sticker { margin-bottom: 1.1rem; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.takeaways li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; font-size: 1.02rem; line-height: 1.5; }
.takeaways li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-ink); }
.callout { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line-light); border-left: 3px solid var(--green-ink); border-radius: var(--r-s); font-family: var(--font-ui); font-size: 1rem; line-height: 1.55; }
.callout .c-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-900); color: var(--green); }
.callout .c-ico svg { width: 20px; height: 20px; }
.callout .c-label { display: block; margin-bottom: 0.3rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.callout p { margin: 0; }
.callout--deadline { background: #FBF4E1; border-color: rgba(184, 151, 90, 0.5); border-left-color: var(--brass); }
.callout--deadline .c-ico { background: var(--brass); color: var(--forest-950); }
.callout--important { background: #FAEDEA; border-color: rgba(180, 35, 24, 0.25); border-left-color: var(--red); }
.callout--important .c-ico { background: var(--red); color: #fff; }
.table-wrap { overflow-x: auto; margin-block: 2em; border: 1px solid var(--line-light); border-radius: var(--r-s); background: var(--white); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.95rem; line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.85rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.table-wrap thead th { background: var(--forest-900); color: var(--on-dark); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; }
.table-wrap tbody tr:nth-child(even) { background: rgba(20, 32, 27, 0.03); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody td:first-child { font-weight: 600; }
sup.cite { line-height: 0; font-family: var(--font-ui); font-size: 0.66em; font-weight: 600; vertical-align: super; margin-left: 1px; }
sup.cite a { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 0.3em; border-radius: 2px; background: rgba(51, 112, 42, 0.12); color: #24551D; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
sup.cite a:hover, sup.cite a:focus-visible { background: var(--green-ink); color: #fff; }
.cite-pop { position: absolute; z-index: 130; width: min(340px, 86vw); padding: 0.9rem 1.05rem; border-radius: var(--r-s); background: var(--forest-900); color: var(--on-dark); font-family: var(--font-ui); font-size: 0.86rem; line-height: 1.45; box-shadow: var(--shadow); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 0.18s, transform 0.2s var(--ease); }
.cite-pop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.cite-pop strong { display: block; color: var(--brass-lt); margin-bottom: 0.25rem; }
.cite-pop a { color: var(--green); }
.faq { margin-top: clamp(3rem, 5vw, 4rem); }
.faq > .h2 { font-size: clamp(1.75rem, 2.7vw, 2.3rem); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item:first-child { border-top: 1px solid var(--line-light); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; background: none; border: 0; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.25; color: var(--ink); }
.faq-q .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color 0.25s, border-color 0.25s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform 0.3s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q:hover .pm { border-color: var(--ink-3); }
.faq-q[aria-expanded="true"] .pm { background: var(--forest-900); border-color: var(--forest-900); color: var(--on-dark); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; height: 0; }
html:not(.js) .faq-a { height: auto; }
.faq-a-inner { padding: 0 0 1.4rem; max-width: 64ch; font-family: var(--font-read); font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); }
.faq-a-inner > * + * { margin-top: 0.8em; }
.refs { margin-top: clamp(3rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--ink); }
.refs h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; }
.refs p.muted { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-2); }
.refs ol { list-style: none; margin: 1.4rem 0 0; padding: 0; counter-reset: ref; display: grid; }
.refs li { counter-increment: ref; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.6rem; padding: 0.7rem 0.5rem; border-radius: var(--r-s); font-size: 0.94rem; line-height: 1.45; transition: background-color 0.6s; scroll-margin-top: calc(var(--header-h) + 1.5rem); overflow-wrap: anywhere; }
.refs li::before { content: counter(ref); font-family: var(--font-display); font-size: 1.1rem; color: var(--brass-ink); }
.refs li:target, .refs li.is-flash { background: rgba(133, 189, 102, 0.28); }
.refs .r-cite { font-weight: 600; }
.refs .r-title { display: block; color: var(--ink-2); }
.refs a { color: var(--green-ink); font-weight: 600; font-size: 0.86rem; }
.disclaimer-box { margin-top: 3rem; padding: 1.15rem 1.25rem; border-radius: var(--r-s); background: var(--ivory-2); font-size: 0.88rem; line-height: 1.55; color: var(--ink-2); }
.article-layout .exhibit, .article-layout .exhibit--lg { grid-column: auto; }
@media (min-width: 600px) { .article-layout .exhibits { grid-template-columns: 1fr 1fr; } .article-layout .exhibit-amount { font-size: clamp(2.2rem, 3.4vw, 3rem); } }
article > .mt-4 > .h3 { font-family: var(--font-display); font-size: 1.6rem; }

/* ---------- cards ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.mini-card { display: flex; flex-direction: column; gap: 0.7rem; min-height: 200px; padding: 1.4rem; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-s); text-decoration: none; color: var(--ink); transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease); }
.mini-card:hover, .mini-card:focus-visible { border-color: var(--ink-3); box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card .ico { width: 36px; height: 36px; color: var(--green-ink); }
.mini-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.18; text-wrap: balance; }
.mini-card p { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.mini-card .tag { margin-top: auto; padding-top: 0.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 1.6vw, 1.25rem); }
.big-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(1.4rem, 2.2vw, 1.9rem); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-s); text-decoration: none; color: var(--ink); transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease); }
.big-card { isolation: isolate; overflow: hidden; }
.big-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-900); clip-path: circle(0% at var(--mx, 90%) var(--my, 10%)); transition: clip-path 0.7s var(--ease-out); }
.big-card:hover::before, .big-card:focus-visible::before { clip-path: circle(150% at var(--mx, 90%) var(--my, 10%)); }
.big-card:hover, .big-card:focus-visible { color: var(--on-dark); border-color: var(--forest-900); box-shadow: var(--shadow); transform: translateY(-2px); }
.big-card .ico, .big-card p, .big-card .meta, .big-card .meta > svg { transition: color 0.4s, border-color 0.4s, transform 0.3s var(--ease); }
.big-card:hover .ico, .big-card:focus-visible .ico { color: var(--green); }
.big-card:hover p, .big-card:focus-visible p { color: var(--on-dark-2); }
.big-card:hover .meta, .big-card:focus-visible .meta { color: var(--brass-lt); border-top-color: var(--line-dark); }
.big-card:hover .meta > svg, .big-card:focus-visible .meta > svg { color: var(--on-dark); }
.big-card .ico { width: 44px; height: 44px; color: var(--green-ink); }
.big-card h2, .big-card h3 { margin-top: auto; padding-top: 1.75rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.008em; text-wrap: balance; }
.big-card p { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.big-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.2rem; padding-top: 0.9rem; border-top: 1px solid var(--line-light); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.big-card .meta > svg { width: 20px; height: 20px; flex: none; color: var(--ink); transition: transform 0.3s var(--ease); }
.big-card:hover .meta > svg { transform: translateX(4px); }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn { min-height: 44px; padding: 0.5rem 1rem; border: 1px solid rgba(20, 32, 27, 0.3); border-radius: var(--r-s); background: var(--white); font-weight: 500; font-size: 0.94rem; color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--forest-900); color: var(--on-dark); border-color: var(--forest-900); }
.filter-btn .n { margin-left: 0.3em; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.filter-btn[aria-pressed="true"] .n { color: var(--on-dark-2); }
.filter-search { position: relative; margin-left: auto; }
.filter-search input { min-height: 44px; min-width: min(280px, 100%); padding: 0.55rem 1rem 0.55rem 2.5rem; border: 1px solid rgba(20, 32, 27, 0.3); border-radius: var(--r-s); background: var(--white); }
.filter-search input:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(51, 112, 42, 0.22); }
.filter-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.filter-search svg { position: absolute; left: 0.85rem; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--ink-3); }
.empty-state { display: none; padding: 3rem 0; color: var(--ink-2); }
.empty-state.is-shown { display: block; }
@media (max-width: 640px) { .filter-search { margin-left: 0; width: 100%; } .filter-search input { width: 100%; } }

/* ---------- reviews page ---------- */
.score-card { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0.35rem 1.1rem; justify-self: end; padding: 1.4rem 1.6rem 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--r-m); background: rgba(10, 20, 16, 0.6); text-decoration: none; color: var(--on-dark); transition: border-color 0.25s; }
.score-card:hover { border-color: var(--brass-lt); }
.score-card-g { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.score-card-g svg { width: 28px; height: 28px; }
.score-card-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.2rem, 5vw, 4.4rem); line-height: 0.9; font-variant-numeric: lining-nums; }
.score-card-stars { display: flex; gap: 0.15rem; color: var(--brass-lt); font-size: 1.25rem; line-height: 1; }
.score-card-stars i { font-style: normal; }
.score-card-meta { grid-column: 1 / -1; display: flex; flex-direction: column; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 1px solid var(--line-dark); }
.score-card-meta strong { font-size: 1.02rem; font-weight: 600; }
.score-card-meta small { color: var(--on-dark-3); }
.reviews-head .filter-bar { margin-bottom: 1rem; }
.reviews-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.5rem; }
.reviews-count { margin: 0; min-height: 1.5em; font-size: var(--fs-small); color: var(--ink-2); }
.sort-toggle { display: inline-flex; padding: 3px; border: 1px solid rgba(20, 32, 27, 0.3); border-radius: var(--r-s); background: var(--white); }
.sort-toggle[hidden] { display: none; }
.sort-toggle button { min-height: 38px; padding: 0.35rem 0.9rem; border: 0; border-radius: 2px; background: transparent; font-weight: 500; font-size: 0.9rem; color: var(--ink-2); }
.sort-toggle button[aria-pressed="true"] { background: var(--forest-900); color: var(--on-dark); }
.reviews-grid { columns: 3 300px; column-gap: 1.25rem; margin-top: 1.5rem; }
.reviews-grid.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: 1.25rem; }
.rv-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.rv-col .review-card { margin: 0; }
.review-text p + p { margin-top: 0.7em; }
.review-card.is-long .review-text { position: relative; max-height: calc(1.5em * 8); overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.review-card.is-long.is-open .review-text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.review-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; margin-block: -0.6rem; padding: 0; background: none; border: 0; font-weight: 600; font-size: 0.92rem; color: var(--green-ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(51, 112, 42, 0.4); }
.review-more::after { content: ""; width: 0.45em; height: 0.45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.15em) rotate(45deg); transition: transform 0.25s var(--ease); }
.review-card.is-open .review-more::after { transform: translateY(0.1em) rotate(-135deg); }
.rv-pending { opacity: 0; transform: translateY(16px); }
.rv-pending.rv-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.reviews-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.reviews-more .btn[hidden] { display: none; }
.review-ask-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; }
.review-ask .kicker { margin-bottom: 0.9rem; color: var(--brass-ink); }
.review-ask .lead { max-width: 52ch; color: var(--ink-2); }
.review-ask-photo { margin: 0; display: grid; gap: 0.7rem; max-width: 440px; }
.review-ask-photo .photo-frame { aspect-ratio: 4 / 5; }
.review-ask-body [data-reveal] { margin-top: 1.5rem; }
@media (max-width: 760px) { .score-card { justify-self: start; } .review-ask-grid { grid-template-columns: 1fr; } .review-ask-photo { max-width: none; } .review-ask-photo .photo-frame { aspect-ratio: 1 / 1; } .review-ask-photo .photo-frame img { object-position: 50% 22% !important; } .reviews-head .filter-search { margin-left: 0; width: 100%; } }

/* ---------- attorney pages ---------- */
.profile-body { display: grid; grid-template-columns: minmax(0, var(--read)) minmax(240px, 340px); gap: clamp(2rem, 5vw, 5rem); justify-content: space-between; align-items: start; }
.fact-list { display: grid; gap: 1.8rem; align-content: start; }
.fact-list h2 { margin-bottom: 0.7rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); }
.fact-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.fact-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-light); font-size: 0.97rem; line-height: 1.45; }
.fact-list li:first-child { border-top: 1px solid var(--line-light); }
.fact-list .award-disclosure { margin: 0.9rem 0 0; padding-top: 0; border-top: 0; font-size: 0.84rem; line-height: 1.55; columns: auto; }
.profile-figure { margin: 0 0 0.4rem; }
.profile-figure .photo-frame { aspect-ratio: 4 / 5; }
.badge-row--sm, .badge-row--light { justify-content: flex-start; gap: 1rem 1.5rem; }
.badge-row--sm .badge--seal img, .badge-row--sm .badge--square img { height: 76px; }
.badge-row--sm .badge--wordmark img { width: 140px; }
.badge-row--light .badge--seal img, .badge-row--light .badge--square img { height: clamp(88px, 7vw, 116px); }
.badge-row--light .badge--wordmark img { width: clamp(170px, 13vw, 220px); }
.rights .award-disclosure { margin-top: 1.5rem; columns: auto; }
.people--pair { grid-template-columns: repeat(2, minmax(0, 380px)); }
.photo-band { position: relative; height: clamp(320px, 46vw, calc(100svh - var(--header-h))); overflow: hidden; background: var(--forest-900); }
.photo-band-media { position: absolute; inset: 0; overflow: hidden; }
.photo-band-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 20%; }
/* About page band: the same black and white treatment as the attorneys header. Wide screens show both partners from the
   knees up under the whole sign; phones show the closer portrait crop. */
.photo-band--office .photo-band-media img { transform-origin: 50% 28%; object-position: 50% 30%; filter: grayscale(1) contrast(1.08) brightness(1.03); }
@media (max-width: 900px) { .profile-body { grid-template-columns: 1fr; } .people--pair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .people--pair { grid-template-columns: 1fr; } .photo-band { height: 62svh; } .photo-band-media img { object-position: 50% 35% !important; } .photo-band--office .photo-band-media img { object-position: 38% 50% !important; } .photo-band--arlene .photo-band-media img { object-position: 52% 0% !important; } }

/* ---------- about, careers, offices ---------- */
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.duo .photo-frame:nth-child(2) { margin-top: 3rem; }
.team-figure { margin: 0; }
.team-figure .photo-frame { aspect-ratio: 16 / 9; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: clamp(1.5rem, 2.8vw, 2.4rem) clamp(1rem, 2.4vw, 2.4rem) clamp(1.5rem, 2.8vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: clamp(1rem, 2.4vw, 2.4rem); padding-right: 0; }
.value .ico { width: 44px; height: 44px; color: var(--accent); }
.value h3 { margin-top: 1.1rem; }
.value .ico + h3 { margin-top: 1.1rem; }
.value h3:first-child { margin-top: 0; }
.value p { margin-top: 0.55rem; color: var(--fg-2); max-width: 48ch; }
.careers-what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.careers-office { margin: 0; display: grid; gap: 0.7rem; }
.careers-office .photo-frame { aspect-ratio: 1488 / 707; }
.page-hero--careers h1 { max-width: 15ch; }
.jobs { display: grid; border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center; padding: clamp(1.3rem, 2.4vw, 1.9rem) 0; }
.job summary::-webkit-details-marker { display: none; }
.job-head { display: grid; gap: 0.35rem; }
.job-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.job-sub { color: var(--fg-2); font-size: 1rem; }
.job-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fact-chip--pay { background: var(--green); color: #0E1F0D !important; border-color: var(--green) !important; }
.job-toggle { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.3s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s; }
.job-toggle svg { width: 18px; height: 18px; }
.job[open] .job-toggle { transform: rotate(45deg); background: var(--green); color: #0E1F0D; border-color: var(--green); }
.job-body { padding: 0 0 clamp(1.5rem, 2.6vw, 2.2rem); }
.job-intro { font-size: var(--fs-lead); line-height: 1.5; max-width: 62ch; color: var(--fg); }
.job-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 4vw, 4rem); margin-top: 1.8rem; }
.job-cols h3 { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--detail); }
.job-cols ul { margin: 0.8rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.55rem; color: var(--fg-2); }
.job-cols li::marker { color: var(--detail); }
.job-benefits { margin-top: 1.8rem; max-width: 80ch; color: var(--fg-2); }
.job-benefits strong { color: var(--fg); font-weight: 600; }
.job-apply { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.job-apply span { color: var(--fg-2); font-size: 0.95rem; }
.jobs-other { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 70ch; }
.jobs-other p { margin-top: 0.6rem; color: var(--fg-2); }
.apply-note { margin-top: 1.2rem; max-width: 52ch; font-size: 0.95rem; color: var(--fg-2); }
.steps-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; }
.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.step-n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--detail); color: var(--detail); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; }
.steps strong { display: block; font-size: 1.08rem; font-weight: 600; }
.steps p { margin-top: 0.2rem; color: var(--fg-2); }
.eeo { max-width: 90ch; font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.eeo a { color: inherit; text-underline-offset: 0.18em; }
.office-gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem; align-items: start; }
.office-gallery figure { margin: 0; display: grid; gap: 0.7rem; }
.office-gallery .photo-frame { aspect-ratio: auto; height: clamp(260px, 34vw, 500px); }
.office-gallery figure:nth-child(2) .photo-frame img { object-position: 50% 35%; }
address { font-style: normal; }
@media (max-width: 900px) { .careers-what { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .value:nth-child(odd) { border-right: 0; } .value:nth-child(even) { padding-left: 0; } .job-cols { grid-template-columns: 1fr; } .job-meta { grid-column: 1 / -1; } .office-gallery { grid-template-columns: 1fr; } .duo .photo-frame:nth-child(2) { margin-top: 1.5rem; } }
/* <<< inner pages <<< */

/* ---------- motion ---------- */
/* Everything here is decoration on top of a page that already reads correctly. The script only adds these classes when the
   visitor has not asked for reduced motion, and only to elements that start below the first screen. */
:root { --intro: 0.05s; }
html.js:not(.no-preload) .page-home { --intro: 1.25s; }

/* first-visit loading screen on the home pages. It is timed by CSS alone, so it cannot get stuck. */
.preloader { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; overflow: hidden; background: var(--forest-950); color: var(--on-dark); animation: pl-out 0.9s var(--ease-io) 1.15s both; }
html:not(.js) .preloader, html.no-preload .preloader, html.reduced .preloader { display: none; }
.preloader-inner { display: grid; justify-items: center; animation: pl-lift 0.9s var(--ease-io) 1.15s both; }
.preloader-inner picture { display: contents; }
.preloader-logo { width: clamp(210px, 30vw, 420px); height: auto; animation: pl-logo 0.95s var(--ease-io) 0.05s both; }
.preloader-count { position: absolute; right: var(--gutter); bottom: 1.1rem; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(4rem, 13vw, 10rem); line-height: 0.85; color: var(--forest-700); font-variant-numeric: lining-nums tabular-nums; counter-reset: pl var(--pl-n, 100); animation: pl-count 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.05s both; }
.preloader-count::after { content: counter(pl); }
.preloader-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--green); transform-origin: left; animation: pl-bar 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.05s both; }
@property --pl-n { syntax: "<integer>"; initial-value: 0; inherits: false; }
@keyframes pl-count { from { --pl-n: 0; } to { --pl-n: 100; } }
@keyframes pl-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pl-logo { from { clip-path: inset(0 100% 0 0); transform: scale(1.06); opacity: 0.4; } to { clip-path: inset(0 0 0 0); transform: none; opacity: 1; } }
@keyframes pl-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes pl-lift { to { transform: translateY(-16vh); } }

/* page openings: the home headline rises line by line while the portrait settles; inner page photos settle the same way */
@keyframes pk-rise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes pk-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pk-settle { from { transform: scale(1.12); } to { transform: scale(var(--rest, 1)); } }
@keyframes pk-uncover-x { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes pk-uncover-y { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-title .line { overflow: hidden; padding: 0.05em 0.1em 0.2em 0.05em; margin: -0.05em -0.1em -0.2em -0.05em; }
  html.js .hero-title .line-inner { display: block; animation: pk-rise 1.15s var(--ease-out) both; animation-delay: calc(var(--intro) + 0.1s); }
  html.js .hero-title .line + .line .line-inner { animation-delay: calc(var(--intro) + 0.22s); }
  html.js .hero [data-hero-fade] { animation: pk-fade-up 0.9s var(--ease) both; animation-delay: calc(var(--intro) + 0.45s); }
  html.js .hero .hero-pre[data-hero-fade] { animation-delay: var(--intro); }
  html.js .hero .hero-facts[data-hero-fade] { animation-delay: calc(var(--intro) + 0.65s); }
  html.js .hero-media img { transform-origin: 50% 0%; animation: pk-settle 2.4s var(--ease-out) both; animation-delay: var(--intro); }
  /* on a return visit there is no loading screen, so the portrait is wiped in instead */
  html.js.no-preload .hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--forest-900); transform-origin: 50% 100%; animation: pk-uncover-y 1.15s var(--ease-io) 0.05s both; }
  .page-hero-media img, .banner-media img { animation: pk-settle 2.2s var(--ease-out) both; }
  .banner-media img { transform-origin: 50% 0%; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  html.js .hero-media img { --rest: 1.04; }
  html.js.no-preload .hero-media::before { transform-origin: 0 50%; animation-name: pk-uncover-x; }
}
/* a soft cross-fade between pages in browsers that support it */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 0.22s; }
  ::view-transition-new(root) { animation-duration: 0.38s; }
}

/* fade-up */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease) var(--rv-delay, 0ms), transform 0.8s var(--ease) var(--rv-delay, 0ms); }
.rv.is-in { opacity: 1; transform: none; }

/* headings rise through a mask, one line after another, and the thin rule above them draws in */
.sw { display: inline-block; clip-path: inset(-0.12em -0.12em -0.26em -0.12em); }
.sw-i { display: inline-block; transform: translateY(135%); transition: transform 1.05s var(--ease-out) var(--d, 0ms); will-change: transform; }
.sp.is-in .sw-i { transform: none; }
.sp::before { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.sp.is-in::before { transform: none; }

/* photos wipe in from the bottom while the picture settles */
.cr { clip-path: inset(100% 0 0 0 round var(--r-s)); transition: clip-path 1.25s var(--ease-io); }
.cr.is-in { clip-path: inset(0 0 0 0 round var(--r-s)); }
.cr img { transform: scale(1.22); transition: transform 1.8s var(--ease-out); }
.cr.is-in img { transform: none; }

/* line icons and map roads draw themselves */
svg.dr :is(path, circle, rect, ellipse, line, polyline, polygon) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-io) calc(var(--i, 0) * 80ms); }
svg.dr.is-in :is(path, circle, rect, ellipse, line, polyline, polygon) { stroke-dashoffset: 0; }
.dl { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io) calc(var(--i, 0) * 160ms); }
.dl.is-in { stroke-dashoffset: 0; }

/* award badges and map pins pop in */
.pop { opacity: 0; transform: translateY(24px) scale(0.86); transition: opacity 0.6s var(--ease) calc(var(--i, 0) * 80ms), transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) calc(var(--i, 0) * 80ms); }
.pop.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .pin-pulse { display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--green); animation: pin-pulse 2.6s var(--ease-out) infinite; }
  .pin:nth-of-type(2) .pin-pulse { animation-delay: 0.6s; }
  .pin:nth-of-type(3) .pin-pulse { animation-delay: 1.2s; }
}
@keyframes pin-pulse { from { transform: scale(1); opacity: 0.85; } to { transform: scale(4.6); opacity: 0; } }

/* the statement lights up word by word (the resting shade still meets the contrast standard for large text) */
.statement-text .w { color: color-mix(in srgb, var(--fg) 54%, var(--bg)); transition: color 0.45s var(--ease); }
.statement-text .w.on { color: inherit; }

/* results tilt toward the pointer with a soft light under it */
.exhibit[data-tilt]:not(.rv) { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 0.5s var(--ease-out); }
.exhibit[data-tilt]::before { content: ""; position: absolute; inset: 0 -1rem; z-index: -1; border-radius: var(--r-m); pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 18%, transparent), transparent 72%), color-mix(in srgb, var(--fg) 4%, transparent); }
@media (hover: hover) { .exhibit[data-tilt]:hover::before { opacity: 1; } }

/* custom cursor (mouse only, added by the script) */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-live { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: var(--green); transition: opacity 0.2s; }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(133, 189, 102, 0.75); display: grid; place-items: center; transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s, opacity 0.2s; }
.cursor-label { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: #0E1F0D; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; background: rgba(133, 189, 102, 0.14); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; background: var(--green); border-color: var(--green); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot, .cursor.is-hover .cursor-dot, .cursor.is-text .cursor-dot { opacity: 0; }
.cursor.is-text .cursor-ring { opacity: 0; }
.cursor.is-down .cursor-ring { width: 30px; height: 30px; }
.has-cursor [data-cursor="label"], .has-cursor [data-cursor="label"] * { cursor: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .band .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .preloader { display: none; }
}
html.reduced .rv { opacity: 1; transform: none; }
html.reduced .marquee-track { animation: none; }

/* ---------- print ---------- */
@media print {
  .site-header, .action-bar, .to-top, .search, .mobile-menu, .band, .progress-bar { display: none !important; }
  .rv, .pop, .cr, .cr img, .sw-i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .preloader, .cursor { display: none !important; }
  body { background: #fff; }
}
