/* ==========================================================================
   Parra Klein, LLC  ·  site styles
   Palette: law-library green, exhibit-sticker yellow, cool paper, green ink
   Type: Archivo (variable width) for display and UI, Source Serif 4 for reading
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  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-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  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: "Source Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations");
  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: "Source Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations");
  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: "Source Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2-variations");
}

:root {
  --green-950: #0A1511;
  --green-900: #0F1D18;
  --green-800: #172A22;
  --green-700: #21392E;
  --green-600: #3F6B4A;
  --green-400: #6E9A7A;
  --paper: #F3F4EF;
  --paper-2: #E7EAE2;
  --paper-3: #DCE1D7;
  --ink: #13201A;
  --ink-2: #44524B;
  --ink-3: #55625B;
  --yellow: #85BD66;      /* brand green from the Parra Klein logo (accent) */
  --yellow-2: #A6D48B;
  --yellow-deep: #5E9447;
  --gold: #F2C230;        /* plaintiff exhibit stickers, stars, road paint */
  --gold-deep: #C9960A;
  --red: #E2453C;
  --on-dark: #F3F4EF;
  --on-dark-2: rgba(243, 244, 239, 0.72);
  --on-dark-3: rgba(243, 244, 239, 0.5);
  --line-dark: rgba(243, 244, 239, 0.14);
  --line-light: rgba(19, 32, 26, 0.14);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-read: "Source Serif", Georgia, "Times New Roman", serif;

  --fs-hero: clamp(3.5rem, 11.2vw, 12.5rem);
  --fs-h1: clamp(2.75rem, 6.6vw, 6.25rem);
  --fs-h2: clamp(2.1rem, 4.6vw, 4.25rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-tiny: 0.8rem;

  --gutter: clamp(1rem, 4vw, 4.5rem);
  --max: 2080px;
  --read: 68ch;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { 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(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .section--paper :focus-visible { outline-color: var(--green-700); }
.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: -4rem; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius-s);
  font-weight: 700; 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: clamp(5rem, 11vw, 10rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--dark { background: var(--green-900); color: var(--on-dark); }
.section--deep { background: var(--green-950); color: var(--on-dark); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper2 { background: var(--paper-2); color: var(--ink); }
.section--yellow { background: var(--yellow); color: var(--ink); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 800; font-stretch: 78%; line-height: 0.95; letter-spacing: -0.005em; }
.h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 780; font-stretch: 80%; line-height: 0.98; letter-spacing: -0.004em; }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; font-stretch: 92%; line-height: 1.15; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; }
.muted { color: var(--ink-2); }
.section--dark .muted, .section--deep .muted, .on-dark .muted { color: var(--on-dark-2); }
.kicker { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); }
.section--dark .kicker, .section--deep .kicker { color: var(--yellow); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

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

/* split text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > * { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: 999px;
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem; font-stretch: 96%; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--ink)); transform: translateY(101%); transition: transform 0.45s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fg-hover, var(--yellow)); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { --fill: var(--green-900); --fg-hover: var(--yellow); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); --bd: rgba(243, 244, 239, 0.4); --fill: var(--on-dark); --fg-hover: var(--green-900); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); --fill: var(--yellow); --fg-hover: var(--ink); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(19, 32, 26, 0.35); --fill: var(--ink); --fg-hover: var(--paper); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn--lg { min-height: 62px; padding: 1rem 1.9rem; font-size: 1.08rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out); padding-bottom: 2px;
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1.5px; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.4s var(--ease-out); }
.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);
  transition: transform 0.5s var(--ease-out), color 0.3s, background-color 0.3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(15, 29, 24, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity 0.35s, background-color 0.35s;
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-light { color: var(--ink); }
.site-header.is-light::before { background: rgba(243, 244, 239, 0.82); border-bottom-color: var(--line-light); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand { position: relative; }
.brand-logo { height: 44px; width: auto; transition: opacity 0.35s, transform 0.6s var(--ease-out); }
.brand-logo--light { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; }
.is-light .brand-logo--dark { opacity: 0; }
.is-light .brand-logo--light { opacity: 1; }
.brand:hover .brand-logo { transform: scale(1.03); }
@media (max-width: 520px) { .brand-logo { height: 36px; } }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px;
  background: var(--yellow); color: var(--green-900);
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 1.35rem; letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 2px rgba(15, 29, 24, 0.12);
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-word { display: grid; line-height: 1; }
.brand-word strong { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1.12rem; letter-spacing: 0.01em; }
.brand-word small { font-size: 0.72rem; font-weight: 500; opacity: 0.72; margin-top: 4px; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; border-radius: 999px;
  background: none; border: 0; text-decoration: none; font-weight: 600; font-size: 0.95rem; font-stretch: 96%;
  transition: background-color 0.25s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: rgba(243, 244, 239, 0.12); }
.is-light .nav-link:hover, .is-light .nav-link[aria-expanded="true"], .is-light .nav-link[aria-current="page"] { background: rgba(19, 32, 26, 0.08); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease-out); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-link { font-size: 0.9rem; font-weight: 600; text-decoration: none; padding: 0.5rem 0.7rem; border-radius: 999px; }
.lang-link:hover { background: rgba(243, 244, 239, 0.12); }
.is-light .lang-link:hover { background: rgba(19, 32, 26, 0.08); }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 1.5px solid currentColor; opacity: 0.85; transition: opacity 0.2s, background-color 0.2s;
}
.icon-btn:hover { opacity: 1; background: rgba(243, 244, 239, 0.1); }
.icon-btn svg { width: 18px; height: 18px; }
.header-call .num { font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

/* mega menus */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  width: min(880px, 92vw); padding: 1.5rem; border-radius: var(--radius-m);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(5, 18, 14, 0.55), 0 0 0 1px var(--line-light);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top center;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem; }
.mega-link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.75rem; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s;
}
.mega-link:hover, .mega-link:focus-visible { background: var(--paper-2); }
.mega-link .ico { width: 34px; height: 34px; flex: none; color: var(--green-700); }
.mega-link small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; margin-top: 2px; }
.mega-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding: 1rem 1rem 0.25rem; border-top: 1px solid var(--line-light); font-size: 0.92rem;
}
.mega--narrow { width: min(520px, 92vw); }
.mega--narrow .mega-grid { grid-template-columns: 1fr 1fr; }
.mega-col h3 { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); padding: 0.4rem 0.75rem; letter-spacing: 0.02em; }

/* mobile menu */
.menu-open .site-header { z-index: 97; transform: none; }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--green-950); color: var(--on-dark);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: grid; gap: 0.2rem; }
.mobile-menu .m-link {
  font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.05;
  text-decoration: none; padding: 0.2rem 0; display: block;
}
.mobile-menu details summary { list-style: none; cursor: pointer; }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu .m-sub { display: grid; gap: 0.1rem; padding: 0.5rem 0 1rem; }
.mobile-menu .m-sub a { text-decoration: none; padding: 0.5rem 0; color: var(--on-dark-2); font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .m-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; }

@media (max-width: 1180px) {
  .nav, .header-actions .lang-link, .header-actions .header-call { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; height: 44px; padding: 0 1rem; border-radius: 999px;
    background: var(--yellow); color: var(--ink); border: 0; font-weight: 700; 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; border-radius: 2px;
    transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
  }
  .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 (max-width: 520px) {
  .brand-word small { display: none; }
  .brand-word strong { font-size: 1rem; }
  .brand-mark { width: 40px; height: 40px; }
}

/* ---------- page curtain, preloader, cursor, grain ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.curtain-panel { position: absolute; inset: 0; background: var(--green-900); transform: translateY(100%); }
.curtain-panel--2 { background: var(--yellow); }
.curtain-mark img { width: clamp(120px, 14vw, 190px); height: auto; }
.curtain-mark {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0;
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: clamp(4rem, 12vw, 9rem); color: var(--yellow); letter-spacing: -0.04em;
}
html.is-entering .curtain-panel--1 { transform: translateY(0); }

.preloader {
  position: fixed; inset: 0; z-index: 210; background: var(--green-950); color: var(--on-dark);
  display: grid; place-items: center; overflow: hidden;
}
html:not(.js) .preloader, html.no-preload .preloader { display: none; }
.preloader-inner { display: grid; justify-items: center; gap: 1.6rem; }
.preloader-logo { width: clamp(220px, 34vw, 440px); height: auto; }
.preloader-mark, .preloader-word { display: none; }
.preloader.logo-missing .preloader-logo { display: none; }
.preloader.logo-missing .preloader-mark { display: block; }
.preloader.logo-missing .preloader-word { display: flex; }
.preloader-mark { width: clamp(110px, 18vw, 170px); height: auto; }
.preloader-mark path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.preloader-word {
  font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: 0.24em;
  display: flex; overflow: hidden;
}
.preloader-word span { display: inline-block; }
.preloader-count {
  position: absolute; right: var(--gutter); bottom: 1.25rem; font-family: var(--font-display);
  font-weight: 800; font-stretch: 70%; font-size: clamp(4rem, 14vw, 11rem); line-height: 0.85; color: var(--green-700);
  font-variant-numeric: tabular-nums;
}
.preloader-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: normal; display: none; }
.has-cursor .cursor { display: block; opacity: 0; transition: opacity 0.3s; }
.has-cursor.cursor-live .cursor { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
.cursor-dot { width: 8px; height: 8px; background: var(--yellow); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(133, 189, 102, 0.7);
  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;
}
.cursor-label { font-size: 0.78rem; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; background: rgba(133, 189, 102, 0.14); }
.cursor.is-label .cursor-ring { width: 88px; height: 88px; background: var(--yellow); border-color: var(--yellow); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot, .cursor.is-hover .cursor-dot { opacity: 0; }
.cursor.is-down .cursor-ring { width: 30px; height: 30px; }

.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.progress-bar { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 90% at 70% 35%, #1a2e25 0%, var(--green-900) 45%, var(--green-950) 100%);
  color: var(--on-dark); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 21, 17, 0.86) 0%, rgba(10, 21, 17, 0.45) 45%, rgba(10, 21, 17, 0) 75%),
    linear-gradient(0deg, rgba(10, 21, 17, 0.9) 0%, rgba(10, 21, 17, 0) 40%);
}
.hero-pre { font-weight: 600; font-size: clamp(0.98rem, 1.4vw, 1.15rem); color: var(--on-dark-2); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.75rem; }
.hero-pre::before { content: ""; width: 34px; height: 2px; background: var(--yellow); }
.hero-title {
  font-family: var(--font-display); font-weight: 820; font-stretch: 84%; font-size: var(--fs-hero);
  line-height: 0.9; letter-spacing: -0.008em; margin-left: -0.04em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.02em 0 0.06em; margin-bottom: -0.06em; }
.hero-title .line-inner { display: inline-block; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .char { display: inline-block; will-change: transform, font-stretch; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.hero-sub { font-size: var(--fs-lead); line-height: 1.45; max-width: 44ch; color: var(--on-dark-2); }
.hero-sub strong { color: var(--on-dark); font-weight: 650; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-facts { display: grid; gap: 0.75rem; justify-items: end; text-align: right; }
.fact-chip {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.95rem; border-radius: 999px;
  background: rgba(243, 244, 239, 0.08); border: 1px solid var(--line-dark); font-size: 0.92rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-decoration: none;
}
.fact-chip .stars { color: var(--gold); letter-spacing: 0.08em; }
.fact-chip svg { width: 16px; height: 16px; flex: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; translate: -50% 0; width: 22px; height: 36px; border-radius: 12px;
  border: 1.5px solid rgba(243, 244, 239, 0.45);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; translate: -50% 0; border-radius: 2px; background: var(--yellow);
  animation: cue 1.8s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 560px) { .hero-title { font-size: clamp(3rem, 15.5vw, 6rem); } }
@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-facts { justify-items: start; text-align: left; grid-auto-flow: row; }
  .scroll-cue { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 21, 17, 0.94) 10%, rgba(10, 21, 17, 0.35) 70%, rgba(10, 21, 17, 0.2) 100%); }
}

/* ---------- marquee ---------- */
.marquee { --speed: 40s; position: relative; overflow: hidden; display: flex; user-select: none; }
.marquee-track { display: flex; flex: none; align-items: center; gap: var(--gap, 3rem); padding-right: var(--gap, 3rem); animation: marquee var(--speed) linear infinite; will-change: transform; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.band {
  background: var(--green-950); color: var(--on-dark); border-block: 1px solid var(--line-dark);
  padding-block: 1.35rem;
}
.band .marquee-item { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: clamp(1rem, 1.6vw, 1.3rem); white-space: nowrap; }
.band .marquee-item::after { content: ""; width: 10px; height: 10px; background: var(--yellow); transform: rotate(45deg); }
.marquee-skew { transition: transform 0.2s linear; }

/* ---------- statement (scroll highlight) ---------- */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.statement-text {
  font-family: var(--font-display); font-weight: 700; font-stretch: 86%; font-size: clamp(1.75rem, 3.5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.012em;
}
.statement-text .w { color: rgba(19, 32, 26, 0.65); transition: color 0.15s; }
.no-js .statement-text .w, .reduced .statement-text .w { color: inherit; }
.statement-aside { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.25rem; }
.photo-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-m); background: var(--green-800);
  aspect-ratio: 4 / 3;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.is-missing img { display: none; }
.photo-frame .fallback {
  position: absolute; inset: 0; display: none; place-items: center; color: var(--yellow);
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.03em;
  background:
    repeating-linear-gradient(135deg, rgba(243, 244, 239, 0.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--green-700), var(--green-900));
}
.photo-frame.is-missing .fallback { display: grid; }
.photo-frame .fallback img { width: 34%; height: auto; opacity: 0.9; }
.photo-cap { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 900px) { .statement-grid { grid-template-columns: 1fr; } .statement-aside { position: static; } }

/* ---------- exhibits (results) ---------- */
.exhibits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.exhibit {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 320px;
  padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--radius-m);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-light);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  text-decoration: none;
}
.exhibit:hover { box-shadow: 0 30px 60px -30px rgba(10, 21, 17, 0.45); }
.exhibit--lg { grid-column: span 6; min-height: 380px; }
.section--dark .exhibit { background: var(--green-800); color: var(--on-dark); border-color: var(--line-dark); }
.sticker {
  align-self: flex-start; display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 0.15rem 0.6rem;
  padding: 0.55rem 0.75rem 0.5rem; border-radius: 5px; background: var(--gold); color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 16px -10px rgba(0, 0, 0, 0.5);
  transform: rotate(-2.5deg); font-family: var(--font-display);
}
.sticker-top { grid-column: 1 / -1; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; font-stretch: 110%; }
.sticker-num { font-size: 1.05rem; font-weight: 800; font-stretch: 80%; border-bottom: 1.5px solid currentColor; line-height: 1.1; padding: 0 0.15rem; }
.sticker-for { font-size: 0.62rem; font-weight: 600; opacity: 0.7; }
.exhibit-amount {
  margin-top: auto; padding-top: 2rem; font-family: var(--font-display); font-weight: 820; font-stretch: 74%;
  font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: 0.85; letter-spacing: -0.012em; font-variant-numeric: tabular-nums;
}
.exhibit--lg .exhibit-amount { font-size: clamp(4.2rem, 9vw, 8.4rem); }
.exhibit-type { margin-top: 0.9rem; font-weight: 700; font-size: 1.02rem; }
.exhibit-text { margin-top: 0.35rem; color: var(--ink-2); font-size: 0.96rem; max-width: 40ch; }
.section--dark .exhibit-text { color: var(--on-dark-2); }
.results-note { margin-top: 2rem; font-size: var(--fs-small); color: var(--ink-2); max-width: 70ch; }
.section--dark .results-note { color: var(--on-dark-3); }
@media (max-width: 1024px) { .exhibit, .exhibit--lg { grid-column: span 6; } }
@media (max-width: 640px) { .exhibit, .exhibit--lg { grid-column: 1 / -1; min-height: 260px; } }
/* related results inside a practice or guide article: two to a row so the amounts fit */
.article-layout .exhibit { grid-column: span 6; }
.article-layout .exhibit-amount { font-size: clamp(3.2rem, 5.6vw, 5.2rem); }
@media (max-width: 640px) { .article-layout .exhibit { grid-column: 1 / -1; } }

/* ---------- practice horizontal track ---------- */
.practice-pin { position: relative; overflow: hidden; }
.practice-track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding-inline: var(--gutter); will-change: transform; }
.practice-track::after { content: ""; flex: 0 0 1px; }
.practice-intro h2 { text-wrap: balance; }
.practice-intro { flex: 0 0 min(520px, 86vw); display: flex; flex-direction: column; justify-content: center; padding-right: 2rem; }
.p-card {
  position: relative; flex: 0 0 clamp(300px, 30vw, 420px); min-height: clamp(420px, 62vh, 560px);
  display: flex; flex-direction: column; padding: clamp(1.5rem, 2.4vw, 2.2rem); border-radius: var(--radius-l);
  background: var(--green-800); border: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none;
  overflow: hidden; isolation: isolate; transition: transform 0.6s var(--ease-out), background-color 0.4s;
}
.p-card::after {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, rgba(133, 189, 102, 0.28), transparent);
  opacity: 0; transition: opacity 0.5s, transform 0.8s var(--ease-out); transform: translateY(20%);
}
.p-card:hover::after, .p-card:focus-visible::after { opacity: 1; transform: none; }
.p-card:hover { background: var(--green-700); }
.p-card .ico { width: clamp(84px, 9vw, 120px); height: auto; color: var(--yellow); margin-bottom: auto; }
.p-card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 0.98; letter-spacing: -0.015em; margin-top: 2rem; }
.p-card p { margin-top: 0.9rem; color: var(--on-dark-2); font-size: 0.98rem; }
.p-card .p-more { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--yellow); }
.p-card .p-more svg { width: 1.1em; transition: transform 0.4s var(--ease-out); }
.p-card:hover .p-more svg { transform: translateX(6px); }
.practice-progress { margin: 2.5rem var(--gutter) 0; height: 2px; background: var(--line-dark); position: relative; }
.practice-progress span { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .practice-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
  .p-card, .practice-intro { scroll-snap-align: start; }
  .practice-progress { display: none; }
}
@media (max-width: 640px) { .practice-intro { flex-basis: 82vw; } .p-card { flex-basis: 78vw; min-height: 400px; } }

/* ---------- process road ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.process-sticky { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; display: grid; gap: 1.5rem; }
.road { position: relative; padding-left: clamp(72px, 9vw, 110px); }
.road-svg { position: absolute; left: 0; top: 0; width: clamp(56px, 7vw, 84px); height: 100%; overflow: visible; }
.road-surface { position: absolute; left: 0; top: 0; bottom: 0; width: clamp(56px, 7vw, 84px); border-radius: 40px; background: var(--ink); }
.road-line { position: absolute; left: calc(clamp(56px, 7vw, 84px) / 2 - 2px); top: 24px; bottom: 24px; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 22px, transparent 22px 40px); transform-origin: top; transform: scaleY(0); }
.reduced .road-line, html:not(.js) .road-line { transform: none; }
.road-car {
  position: absolute; left: calc(clamp(56px, 7vw, 84px) / 2); top: 24px; width: 34px; translate: -50% 0; z-index: 2;
  filter: drop-shadow(0 0 14px rgba(242, 194, 48, 0.6));
}
.step { position: relative; padding-block: clamp(1.8rem, 4vw, 3rem); border-bottom: 1px solid var(--line-light); }
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-stretch: 72%; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(19, 32, 26, 0.3); transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.step.is-active .step-num { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.step h3 { margin-top: 0.9rem; }
.step p { margin-top: 0.6rem; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-sticky { position: static; } }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.person { position: relative; display: block; text-decoration: none; color: inherit; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; background: var(--green-800); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s var(--ease-out), filter 0.6s; filter: none; }
.person:hover .person-photo img { transform: scale(1.12); filter: none; }
.person-photo.is-missing img { display: none; }
.person-photo .fallback {
  position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(4rem, 9vw, 7rem); color: var(--yellow);
  background: repeating-linear-gradient(135deg, rgba(243, 244, 239, 0.04) 0 2px, transparent 2px 14px), linear-gradient(160deg, var(--green-700), var(--green-900));
}
.person-photo.is-missing .fallback { display: grid; }
.person-photo .chip-row { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; padding: 0.3rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: rgba(243, 244, 239, 0.9); color: var(--ink); }
.chip--y { background: var(--yellow); }
.person h3 { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 800; font-stretch: 84%; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.person .role { margin-top: 0.35rem; color: var(--yellow); font-weight: 600; font-size: 0.95rem; }
.section--paper .person .role, .section--paper2 .person .role { color: var(--green-600); }
.person p { margin-top: 0.7rem; color: var(--on-dark-2); font-size: 0.97rem; }
.section--paper .person p, .section--paper2 .person p { color: var(--ink-2); }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- reviews ---------- */
.reviews-rows { display: grid; gap: 1.25rem; }
.review-card {
  flex: none; width: clamp(290px, 30vw, 420px); padding: 1.6rem; border-radius: var(--radius-m);
  background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 0.9rem; white-space: normal;
}
.review-card .stars { color: var(--gold-deep); letter-spacing: 0.12em; font-size: 0.95rem; }
.review-card blockquote { font-family: var(--font-read); font-size: 1.06rem; line-height: 1.5; }
.review-card figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: var(--ink-2); }
.review-card figcaption strong { color: var(--ink); }
.reviews-grid { columns: 3 320px; column-gap: 1.25rem; }
.reviews-grid .review-card { width: auto; break-inside: avoid; margin-bottom: 1.25rem; }
.rating-badge { display: inline-flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--line-light); text-decoration: none; }
.g-rating-img { height: 46px; width: auto; border-radius: 6px; }
.rating-badge .big { font-family: var(--font-display); font-weight: 800; font-stretch: 76%; font-size: 2.6rem; line-height: 1; }
.rating-badge .stars { color: var(--gold-deep); letter-spacing: 0.1em; }

/* ---------- rights / guides teaser ---------- */
.rights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.guide-rows { border-top: 1px solid var(--line-light); }
.guide-row {
  position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 1.2rem; align-items: center;
  padding: 1.25rem 0.25rem; border-bottom: 1px solid var(--line-light); text-decoration: none; overflow: hidden; isolation: isolate;
}
.guide-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-out); }
.guide-row:hover::before, .guide-row:focus-visible::before { transform: scaleY(1); }
.guide-row .ico { width: 46px; height: 46px; color: var(--green-700); }
.guide-row h3 { font-family: var(--font-display); font-weight: 750; font-stretch: 90%; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.15; }
.guide-row p { font-size: 0.92rem; color: var(--ink-2); margin-top: 0.25rem; }
.guide-row .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-light); transition: transform 0.5s var(--ease-out), background-color 0.3s; }
.guide-row:hover .arrow { transform: rotate(-45deg); background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.guide-row .arrow svg { width: 18px; }

.calc-teaser {
  margin-top: 2rem; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius-l); background: var(--green-900); color: var(--on-dark);
  display: grid; gap: 1.2rem; position: relative; overflow: hidden;
}
.calc-teaser .toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(243, 244, 239, 0.08); border: 1px solid var(--line-dark); width: max-content; }
.calc-teaser .toggle button { border: 0; background: transparent; padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 700; color: var(--on-dark-2); }
.calc-teaser .toggle button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.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.8rem; }
.calc-fig .v { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-stretch: 72%; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1; color: var(--yellow); display: block; }
.calc-fig .l { font-size: 0.86rem; color: var(--on-dark-2); display: block; margin-top: 0.35rem; }
@media (max-width: 900px) { .rights { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc-figs { grid-template-columns: 1fr; } }

/* ---------- offices map ---------- */
.offices { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.map-wrap { position: relative; aspect-ratio: 1 / 0.86; border-radius: var(--radius-l); background: var(--green-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(243, 244, 239, 0.05); stroke-width: 1; }
.map-svg .road { stroke: rgba(243, 244, 239, 0.16); stroke-width: 2; fill: none; stroke-linecap: round; }
.map-svg .river { fill: none; stroke: #1F5246; stroke-width: 34; stroke-linecap: round; }
.map-svg .river-edge { fill: none; stroke: rgba(94, 140, 120, 0.4); stroke-width: 1.5; }
.map-svg .label { fill: rgba(243, 244, 239, 0.4); font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.pin { position: absolute; translate: -50% -50%; display: grid; place-items: center; }
.pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(133, 189, 102, 0.25); position: relative; z-index: 1; }
.pin-pulse { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--yellow); animation: pulse 2.4s var(--ease-out) infinite; }
.pin:nth-child(2) .pin-pulse { animation-delay: 0.6s; }
.pin:nth-child(3) .pin-pulse { animation-delay: 1.2s; }
@keyframes pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(5); opacity: 0; } }
.pin-label {
  position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; white-space: nowrap; font-weight: 700; font-size: 0.86rem;
  background: var(--paper); color: var(--ink); padding: 0.25rem 0.6rem; border-radius: 6px; transition: background-color 0.3s;
}
.pin.is-hot .pin-label { background: var(--yellow); }
.pin.is-hot .pin-dot { transform: scale(1.35); }
.office-list { display: grid; gap: 1rem; }
.office-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 1.3rem 1.4rem;
  border-radius: var(--radius-m); border: 1px solid var(--line-dark); text-decoration: none; transition: background-color 0.3s, border-color 0.3s;
}
.office-card:hover, .office-card:focus-visible { background: var(--green-800); border-color: rgba(133, 189, 102, 0.5); }
.office-card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 86%; font-size: 1.6rem; line-height: 1; }
.office-card p { grid-column: 1; color: var(--on-dark-2); font-size: 0.95rem; }
.office-card .arrow { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); display: grid; place-items: center; transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.office-card:hover .arrow { background: var(--yellow); color: var(--ink); transform: rotate(-45deg); border-color: var(--yellow); }
.office-card .arrow svg { width: 18px; }
@media (max-width: 900px) { .offices { grid-template-columns: 1fr; } }

/* ---------- contact / form ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cta-title { font-family: var(--font-display); font-weight: 820; font-stretch: 78%; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.9; letter-spacing: -0.008em; }
.contact-methods { display: grid; gap: 0.75rem; margin-top: 2rem; }
.method {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-m); text-decoration: none;
  border: 1.5px solid rgba(19, 32, 26, 0.18); transition: background-color 0.3s, border-color 0.3s;
}
.method:hover { background: rgba(19, 32, 26, 0.06); border-color: var(--ink); }
.method .ico-c { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; flex: none; }
.method .ico-c svg { width: 20px; height: 20px; }
.method strong { display: block; font-size: 1.1rem; }
.method span { font-size: 0.9rem; color: rgba(19, 32, 26, 0.75); }
.section--dark .method { border-color: var(--line-dark); }
.section--dark .method:hover { background: var(--green-800); border-color: var(--yellow); }
.section--dark .method .ico-c { background: var(--yellow); color: var(--ink); }
.section--dark .method span { color: var(--on-dark-2); }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: 0 40px 80px -40px rgba(10, 21, 17, 0.55); position: relative; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 650; font-size: 0.92rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1rem; border-radius: 10px; border: 1.5px solid rgba(19, 32, 26, 0.2); background: #fff;
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(40, 90, 71, 0.18); }
.field .err { display: none; color: #B42318; font-size: 0.85rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42318; }
.field.is-invalid .err { display: block; }
.seg { display: inline-flex; gap: 0.4rem; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid rgba(19, 32, 26, 0.2); font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: all 0.2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--green-700); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.8rem; color: var(--ink-2); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form-foot small { color: var(--ink-3); font-size: 0.8rem; max-width: 38ch; }
.form-success {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--green-900); color: var(--on-dark);
  clip-path: circle(0% at 50% 100%); visibility: hidden;
}
.form-success.is-shown { visibility: visible; }
.form-success svg { width: 84px; height: 84px; margin: 0 auto 1.2rem; }
.form-success svg path, .form-success svg circle { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 2.4rem; line-height: 1; }
.form-success p { margin-top: 0.8rem; color: var(--on-dark-2); max-width: 36ch; margin-inline: auto; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-950); color: var(--on-dark); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-top h2 { font-size: 0.85rem; font-weight: 700; color: var(--on-dark-3); margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-top ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-top a { text-decoration: none; color: var(--on-dark-2); transition: color 0.2s; }
.footer-top a:hover { color: var(--yellow); }
.footer-logo { height: 72px; width: auto; max-width: 300px; margin-bottom: 2rem; }
.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.4rem; font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; color: var(--yellow); text-decoration: none; }
.footer-word {
  margin-top: clamp(3rem, 7vw, 6rem); font-family: var(--font-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(5rem, 21vw, 22rem); line-height: 0.78; letter-spacing: -0.015em; white-space: nowrap; color: var(--green-800);
  display: flex; justify-content: space-between; user-select: none;
}
.footer-word span { display: inline-block; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 1.8rem 2.2rem; display: grid; gap: 1rem; font-size: 0.82rem; color: var(--on-dark-3); }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.footer-legal a { color: var(--on-dark-2); }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-2); transition: all 0.3s; }
.socials a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* mobile action bar */
.action-bar {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 80;
  display: none; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.4rem; border-radius: 999px;
  background: rgba(10, 21, 17, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5); transform: translateY(160%); transition: transform 0.6s var(--ease-out);
}
.action-bar.is-shown { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.action-bar a:first-child { background: var(--yellow); color: var(--ink); }
.action-bar a:last-child { color: var(--on-dark); border: 1px solid var(--line-dark); }
.action-bar svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .action-bar { display: grid; } .site-footer { padding-bottom: 5rem; } }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--yellow); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s, transform 0.5s var(--ease-out); pointer-events: none;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--yellow); stroke-width: 2.5; }
@media (max-width: 760px) { .to-top { display: none; } }

/* ---------- search overlay ---------- */
.search {
  position: fixed; inset: 0; z-index: 180; background: rgba(10, 21, 17, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; justify-items: center; align-items: start; padding: clamp(4rem, 12vh, 9rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s linear 0.35s;
}
.search.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-panel { width: min(760px, 100%); background: var(--paper); color: var(--ink); border-radius: var(--radius-l); overflow: hidden; transform: translateY(20px) scale(0.98); transition: transform 0.5s var(--ease-out); box-shadow: 0 50px 100px -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: 1.1rem 1.4rem; border-bottom: 1px solid var(--line-light); }
.search-input-row svg { width: 22px; height: 22px; flex: none; color: var(--ink-3); }
.search-input-row input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.filter-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-input-row input { flex: 1; border: 0; background: transparent; font-size: 1.3rem; font-weight: 600; padding: 0.4rem 0; outline: none; }
.search-input-row kbd { font-family: var(--font-ui); font-size: 0.75rem; border: 1px solid var(--line-light); border-radius: 6px; padding: 0.2rem 0.45rem; color: var(--ink-3); }
.search-results { max-height: min(60vh, 560px); overflow-y: auto; padding: 0.6rem; overscroll-behavior: contain; }
.search-results a { display: grid; grid-template-columns: 40px 1fr; gap: 0.2rem 0.9rem; align-items: center; padding: 0.8rem 0.9rem; border-radius: 12px; text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--paper-2); }
.search-results .ico { grid-row: span 2; width: 36px; height: 36px; color: var(--green-700); }
.search-results strong { font-size: 1.02rem; }
.search-results span { font-size: 0.86rem; color: var(--ink-2); }
.search-results mark { background: rgba(133, 189, 102, 0.5); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 2rem 1.4rem; color: var(--ink-2); }
.search-hint { padding: 0.8rem 1.4rem; border-top: 1px solid var(--line-light); font-size: 0.82rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- page heroes (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--green-900); color: var(--on-dark); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(3rem, 7vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.9;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(133, 189, 102, 0.12), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(94, 140, 120, 0.25), transparent 60%);
}
.page-hero-media { position: absolute; inset: -10% 0 0 0; z-index: -2; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: grayscale(0.35) contrast(1.1); }
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 29, 24, 0.96) 0%, rgba(15, 29, 24, 0.82) 45%, rgba(15, 29, 24, 0.5) 100%), linear-gradient(0deg, rgba(15, 29, 24, 0.9), rgba(15, 29, 24, 0) 50%);
}
.page-hero .lines { position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.88rem; color: var(--on-dark-3); margin-bottom: 1.6rem; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { opacity: 0.6; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { margin-top: 1.6rem; color: var(--on-dark-2); max-width: 56ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.page-hero .hero-ico { width: clamp(110px, 14vw, 190px); color: var(--yellow); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.meta-row .fact-chip { font-size: 0.86rem; }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .hero-ico { width: 90px; order: -1; } }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: 250px minmax(0, var(--read)) minmax(240px, 300px); gap: clamp(2rem, 4vw, 4.5rem); justify-content: center; align-items: start; }
.article-layout > .toc-wrap { align-self: stretch; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.9rem; max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; scrollbar-width: none; }
.toc h2 { font-size: 0.82rem; font-weight: 700; color: var(--ink-3); margin-bottom: 0.9rem; letter-spacing: 0.02em; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 0.1rem; border-left: 2px solid var(--line-light); }
.toc a { display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; transition: color 0.2s, border-color 0.3s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--green-700); font-weight: 650; }
.rail { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1rem; }
.rail-card { padding: 1.5rem; border-radius: var(--radius-m); background: var(--green-900); color: var(--on-dark); }
.rail-card h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; font-size: 1.7rem; line-height: 1; }
.rail-card p { margin-top: 0.7rem; color: var(--on-dark-2); font-size: 0.93rem; }
.rail-card .btn { width: 100%; margin-top: 1.2rem; }
.rail-card .btn + .btn { margin-top: 0.6rem; }
.rail-mini { padding: 1.2rem 1.3rem; border-radius: var(--radius-m); border: 1px solid var(--line-light); font-size: 0.9rem; color: var(--ink-2); }
.rail-mini a { font-weight: 700; color: var(--ink); }
@media (max-width: 1280px) { .article-layout { grid-template-columns: 220px minmax(0, var(--read)); } .rail { display: none; } }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; max-height: none; } .toc-wrap { display: none; } }

.takeaways {
  position: relative; padding: clamp(1.4rem, 3vw, 2rem); padding-top: 2.6rem; border-radius: var(--radius-m);
  background: var(--paper-2); margin-bottom: 3rem; border: 1px solid var(--line-light);
}
.takeaways .sticker { position: absolute; top: -16px; left: 1.4rem; }
.takeaways ul { list-style: none; 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-600); }

.prose { font-family: var(--font-read); font-size: clamp(1.08rem, 1.2vw, 1.19rem); line-height: 1.7; color: #1A2721; font-optical-sizing: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 84%; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.04;
  letter-spacing: -0.012em; margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 1.5rem); color: var(--ink);
}
.prose h3 { font-family: var(--font-display); font-weight: 750; font-stretch: 92%; font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.2; margin-top: 1.9em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose a { color: var(--green-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(40, 90, 71, 0.4); transition: text-decoration-color 0.2s, color 0.2s; }
.prose a:hover { color: var(--ink); text-decoration-color: var(--yellow-deep); }
.prose strong { font-weight: 680; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--green-600); font-family: var(--font-ui); font-weight: 700; }
.prose ol { counter-reset: none; }
.prose blockquote { border-left: 3px solid var(--green-600); padding-left: 1.2em; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line-light); }

.callout {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius-m);
  font-family: var(--font-ui); font-size: 1rem; line-height: 1.55; background: var(--paper-2); border: 1px solid var(--line-light); margin-block: 2em;
}
.callout .c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-900); color: var(--yellow); }
.callout .c-ico svg { width: 22px; height: 22px; }
.callout .c-label { display: block; font-weight: 800; font-size: 0.86rem; margin-bottom: 0.25rem; color: var(--ink); }
.callout p { margin: 0; }
.callout--deadline { background: #FFF6D6; border-color: rgba(217, 167, 15, 0.45); }
.callout--deadline .c-ico { background: var(--gold); color: var(--ink); }
.callout--important { background: #FBEDEA; border-color: rgba(226, 69, 60, 0.3); }
.callout--important .c-ico { background: #B42318; color: #fff; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--line-light); margin-block: 2em; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.95rem; line-height: 1.45; min-width: 560px; }
.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(--green-900); color: var(--on-dark); font-weight: 700; font-size: 0.88rem; position: sticky; top: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(19, 32, 26, 0.03); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody td:first-child { font-weight: 650; }

sup.cite { line-height: 0; font-family: var(--font-ui); font-size: 0.68em; font-weight: 700; vertical-align: super; margin-left: 1px; }
sup.cite a {
  display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 0.25em; border-radius: 999px;
  background: rgba(40, 90, 71, 0.12); color: var(--green-700); text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
sup.cite a:hover, sup.cite a:focus-visible { background: var(--green-700); color: var(--yellow); }
.cite-pop {
  position: absolute; z-index: 130; width: min(340px, 86vw); padding: 0.95rem 1.1rem; border-radius: 12px; background: var(--ink); color: var(--paper);
  font-family: var(--font-ui); font-size: 0.86rem; line-height: 1.45; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease-out);
}
.cite-pop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.cite-pop strong { display: block; color: var(--yellow); margin-bottom: 0.25rem; }
.cite-pop a { color: var(--yellow-2); }

.faq { margin-top: 4rem; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; padding: 1.3rem 0;
  background: none; border: 0; font-family: var(--font-display); font-weight: 750; font-stretch: 92%; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25;
}
.faq-q .pm { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-light); transition: background-color 0.3s, transform 0.5s var(--ease-out); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: currentColor; translate: -50% -50%; transition: transform 0.4s var(--ease-out); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--yellow); border-color: var(--yellow); transform: rotate(180deg); }
.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; font-family: var(--font-read); font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }

.refs { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.refs h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 84%; font-size: 1.8rem; }
.refs p.muted { margin-top: 0.5rem; font-size: 0.92rem; }
.refs ol { margin-top: 1.4rem; padding-left: 0; list-style: none; counter-reset: ref; display: grid; gap: 0.2rem; }
.refs li { counter-increment: ref; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; padding: 0.75rem 0.6rem; border-radius: 10px; font-size: 0.94rem; line-height: 1.45; transition: background-color 0.6s; scroll-margin-top: calc(var(--header-h) + 2rem); }
.refs li::before { content: counter(ref); font-weight: 800; font-family: var(--font-display); color: var(--green-600); font-size: 1.05rem; }
.refs li:target, .refs li.is-flash { background: rgba(133, 189, 102, 0.3); }
.refs .r-cite { font-weight: 700; }
.refs .r-title { color: var(--ink-2); display: block; }
.refs a { color: var(--green-700); font-weight: 600; font-size: 0.86rem; }
.disclaimer-box { margin-top: 3rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-m); background: var(--paper-2); font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.mini-card {
  display: flex; flex-direction: column; gap: 0.8rem; padding: 1.5rem; border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--line-light);
  text-decoration: none; min-height: 220px; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.mini-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10, 21, 17, 0.4); border-color: rgba(19, 32, 26, 0.3); }
.mini-card .ico { width: 44px; height: 44px; color: var(--green-700); }
.mini-card h3 { font-family: var(--font-display); font-weight: 780; font-stretch: 88%; font-size: 1.35rem; line-height: 1.12; }
.mini-card p { font-size: 0.92rem; color: var(--ink-2); }
.mini-card .tag { margin-top: auto; font-size: 0.8rem; font-weight: 700; color: var(--ink-3); }
.section--dark .mini-card { background: var(--green-800); border-color: var(--line-dark); color: var(--on-dark); }
.section--dark .mini-card p, .section--dark .mini-card .tag { color: var(--on-dark-2); }
.section--dark .mini-card .ico { color: var(--yellow); }

/* index grids */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.big-card {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: clamp(1.5rem, 2.5vw, 2.1rem); border-radius: var(--radius-l);
  background: var(--paper); border: 1px solid var(--line-light); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color 0.4s, border-color 0.4s;
}
.big-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-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(--green-900); }
.big-card .ico { width: 72px; height: 72px; color: var(--green-700); transition: color 0.4s; }
.big-card:hover .ico { color: var(--yellow); }
.big-card h2, .big-card h3 { margin-top: auto; padding-top: 2rem; font-family: var(--font-display); font-weight: 800; font-stretch: 82%; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
.big-card p { margin-top: 0.7rem; color: var(--ink-2); font-size: 0.97rem; transition: color 0.4s; }
.big-card:hover p { color: var(--on-dark-2); }
.big-card .meta { margin-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 600; color: var(--ink-3); transition: color 0.4s; }
.big-card:hover .meta { color: var(--yellow); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 2rem; }
.filter-btn { border: 1.5px solid var(--line-light); background: transparent; padding: 0.55rem 1.05rem; border-radius: 999px; font-weight: 650; font-size: 0.92rem; transition: all 0.25s; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-search { margin-left: auto; position: relative; }
.filter-search input { padding: 0.65rem 1rem 0.65rem 2.6rem; border-radius: 999px; border: 1.5px solid var(--line-light); background: #fff; min-width: min(280px, 100%); }
.filter-search svg { position: absolute; left: 0.9rem; top: 50%; translate: 0 -50%; width: 18px; color: var(--ink-3); }
.empty-state { padding: 3rem 0; color: var(--ink-2); display: none; }
.empty-state.is-shown { display: block; }
@media (max-width: 640px) { .filter-search { margin-left: 0; width: 100%; } .filter-search input { width: 100%; } }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat { padding: 1.5rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stat .v { font-family: var(--font-display); font-weight: 820; font-stretch: 74%; font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 0.9; color: var(--yellow); display: block; }
.stat .l { margin-top: 0.6rem; display: block; color: var(--on-dark-2); font-size: 0.95rem; max-width: 26ch; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); } .stat { padding: 1.2rem 0; } }

/* values */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.value { padding: clamp(1.6rem, 3vw, 2.6rem) clamp(0rem, 2vw, 2rem) clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line-light); }
.value:nth-child(odd) { border-right: 1px solid var(--line-light); }
.value:nth-child(even) { padding-left: clamp(1rem, 3vw, 2.6rem); }
.value .ico { width: 54px; height: 54px; color: var(--green-700); }
.value h3 { margin-top: 1.2rem; }
.value p { margin-top: 0.6rem; color: var(--ink-2); max-width: 48ch; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .value:nth-child(odd) { border-right: 0; } .value:nth-child(even) { padding-left: 0; } }

/* about duo photos */
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.duo .photo-frame:nth-child(2) { margin-top: 3rem; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr 1fr; } .duo .photo-frame:nth-child(2) { margin-top: 1.5rem; } }

/* attorney profile */
.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 { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: var(--green-800); clip-path: inset(0 0 0 0 round var(--radius-l)); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.profile-photo.is-missing img { display: none; }
.profile-photo .fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 8rem; color: var(--yellow); background: linear-gradient(160deg, var(--green-700), var(--green-900)); }
.profile-photo.is-missing .fallback { display: grid; }
.profile-body { display: grid; grid-template-columns: minmax(0, var(--read)) minmax(240px, 340px); gap: clamp(2rem, 5vw, 5rem); justify-content: space-between; }
.fact-list { display: grid; gap: 1.8rem; align-content: start; }
.fact-list h2 { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 0.6rem; letter-spacing: 0.02em; }
.fact-list ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.fact-list li { padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-light); font-size: 0.97rem; }
@media (max-width: 900px) { .profile-hero, .profile-body { grid-template-columns: 1fr; } .profile-photo { max-width: 420px; } }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.calc-panel { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line-light); display: grid; gap: 1.5rem; }
.calc-panel .seg span { padding: 0.65rem 1.2rem; }
.calc-claims { display: grid; gap: 0.5rem; }
.calc-claims label { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1.5px solid var(--line-light); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; font-size: 0.95rem; }
.calc-claims label:hover { border-color: rgba(19, 32, 26, 0.4); }
.calc-claims input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green-700); }
.calc-claims label:has(input:checked) { border-color: var(--green-700); background: rgba(40, 90, 71, 0.07); }
.calc-out { display: grid; gap: 1rem; }
.deadline-card {
  position: relative; padding: 1.4rem 1.5rem; border-radius: var(--radius-m); background: var(--green-900); color: var(--on-dark); overflow: hidden;
}
.deadline-card.is-past { background: #3A1512; }
.deadline-card .kind { font-size: 0.8rem; font-weight: 700; color: var(--yellow); }
.deadline-card h3 { margin-top: 0.3rem; font-size: 1.1rem; font-weight: 700; }
.deadline-card .when { margin-top: 0.9rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; }
.deadline-card .date { font-family: var(--font-display); font-weight: 820; font-stretch: 76%; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.deadline-card .left { font-weight: 700; color: var(--yellow); }
.deadline-card.is-past .left { color: #FF8A80; }
.deadline-card .bar { margin-top: 1rem; height: 6px; border-radius: 3px; background: rgba(243, 244, 239, 0.12); overflow: hidden; }
.deadline-card .bar span { display: block; height: 100%; background: var(--yellow); transform-origin: left; }
.deadline-card.is-past .bar span { background: #FF8A80; }
.deadline-card .note { margin-top: 0.9rem; font-size: 0.88rem; color: var(--on-dark-2); }
.deadline-card .cite-line { margin-top: 0.4rem; font-size: 0.8rem; color: var(--on-dark-3); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* reveal defaults (JS adds .js) */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.reduced [data-reveal], .js.no-anim [data-reveal] { opacity: 1; transform: none; }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.flex-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.center { text-align: center; }
.max-read { max-width: var(--read); }
.legal-prose { max-width: 72ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media print {
  .site-header, .site-footer, .action-bar, .to-top, .grain, .cursor, .curtain, .preloader, .rail, .toc-wrap, .search { display: none !important; }
  .page-hero { padding-top: 2rem; background: none; color: #000; }
  body { background: #fff; }
}

/* ==========================================================================
   Firm photography (hero, banners, offices) and recognition badges
   ========================================================================== */
.hero--photo { justify-content: center; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 6.5rem; }
.hero--photo .hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52vw; margin: 0; z-index: -1; overflow: hidden; }
.hero--photo .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform-origin: 55% 35%; will-change: transform; }
.hero--photo .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--green-900) 0%, rgba(15, 29, 24, 0.72) 13%, rgba(15, 29, 24, 0.18) 38%, rgba(15, 29, 24, 0) 58%),
    linear-gradient(0deg, rgba(10, 21, 17, 0.92) 0%, rgba(10, 21, 17, 0) 34%),
    linear-gradient(180deg, rgba(10, 21, 17, 0.6) 0%, rgba(10, 21, 17, 0) 20%);
}
.hero--photo .hero-title { font-size: clamp(3rem, 6.95vw, 7.9rem); }
.hero--photo .hero-sub { margin-top: clamp(1.4rem, 2.6vw, 2.2rem); }
.hero--photo .hero-facts { position: absolute; right: var(--gutter); bottom: 2rem; z-index: 1; display: grid; justify-items: end; gap: 0.55rem; }
.hero-cap { font-size: 0.84rem; color: var(--on-dark-2); max-width: 32ch; text-align: right; margin-bottom: 0.3rem; }
.hero--photo .scroll-cue { left: var(--gutter); translate: 0 0; }
@media (max-width: 1100px) and (min-width: 901px) { .hero--photo .hero-title { font-size: 6.6vw; } .hero--photo .hero-media { width: 50vw; } }
@media (max-width: 900px) {
  .hero--photo { justify-content: flex-end; padding-top: 0; padding-bottom: 2.2rem; }
  .hero--photo .hero-media { left: 0; width: 100%; bottom: auto; height: 64svh; }
  .hero--photo .hero-media img { object-position: 50% 18%; }
  .hero--photo .hero-media::after {
    background:
      linear-gradient(0deg, var(--green-900) 0%, rgba(15, 29, 24, 0.86) 24%, rgba(15, 29, 24, 0) 58%),
      linear-gradient(180deg, rgba(10, 21, 17, 0.7) 0%, rgba(10, 21, 17, 0) 22%);
  }
  .hero--photo .hero-content { padding-top: 44svh; }
  .hero--photo .hero-facts { position: static; justify-items: start; padding: 1.6rem var(--gutter) 0; }
  .hero-cap { text-align: left; }
  .hero--photo .scroll-cue { display: none; }
}
@media (max-width: 900px) and (min-width: 561px) { .hero--photo .hero-title { font-size: 10.3vw; } }

.badge-strip { background: var(--green-950); padding: clamp(2rem, 4vw, 2.8rem) 0 1.4rem; border-top: 1px solid var(--line-dark); }
.badge-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.1rem; }
.badge-tile {
  height: 116px; min-width: 116px; padding: 10px 14px; border-radius: 18px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.badge-tile img { max-height: 96px; max-width: 232px; width: auto; height: auto; object-fit: contain; }
.badge-tile:hover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.8); }
.badge-note { margin-top: 1.3rem; text-align: center; font-size: 0.78rem; color: var(--on-dark-3); }
.rights .badge-row { justify-content: flex-start; }
.badge-row--sm { justify-content: flex-start; gap: 0.5rem; margin: 0.3rem 0 0.9rem; }
.badge-row--sm .badge-tile { height: 74px; min-width: 74px; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--line-light); box-shadow: none; }
.badge-row--sm .badge-tile img { max-height: 60px; max-width: 128px; }
@media (max-width: 640px) {
  .badge-row { gap: 0.6rem; }
  .badge-tile { height: 86px; min-width: 86px; padding: 7px 10px; border-radius: 14px; }
  .badge-tile img { max-height: 70px; max-width: 150px; }
}

.section--road { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.practice-pin { isolation: isolate; }
.road-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.road-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 21, 17, 0.94) 0%, rgba(10, 21, 17, 0.6) 30%, rgba(10, 21, 17, 0.22) 68%, rgba(10, 21, 17, 0.5) 100%),
    linear-gradient(0deg, rgba(10, 21, 17, 0.75) 0%, rgba(10, 21, 17, 0) 32%);
}
@media (min-width: 1024px) { .practice-pin { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; } }
.section--road .p-card { background: rgba(23, 42, 34, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.section--road .p-card:hover { background: rgba(33, 57, 46, 0.94); }

.page-hero--banner { min-height: min(92svh, 880px); display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero--banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 29, 24, 0.96) 0%, rgba(15, 29, 24, 0.8) 30%, rgba(15, 29, 24, 0.18) 58%, rgba(15, 29, 24, 0) 74%),
    linear-gradient(0deg, rgba(15, 29, 24, 0.85) 0%, rgba(15, 29, 24, 0) 38%),
    linear-gradient(180deg, rgba(10, 21, 17, 0.6) 0%, rgba(10, 21, 17, 0) 20%);
}
.banner-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-copy { max-width: 44rem; }
.banner-name { font-size: clamp(3.2rem, 8vw, 7.6rem); margin-top: 0.6rem; }
.page-hero--banner .lead { color: var(--on-dark-2); margin-top: 1.4rem; }
.page-hero--banner .kicker { color: var(--yellow); }
@media (max-width: 860px) {
  .page-hero--banner { display: block; padding-top: calc(var(--header-h) + 38svh); }
  .page-hero--banner::after {
    background: linear-gradient(0deg, var(--green-900) 0%, rgba(15, 29, 24, 0.92) 42%, rgba(15, 29, 24, 0) 72%), linear-gradient(180deg, rgba(10, 21, 17, 0.6) 0%, rgba(10, 21, 17, 0) 20%);
  }
  .banner-media { bottom: auto; height: 74svh; }
}

.page-hero-media--vivid img { opacity: 0.55; filter: none; }
.office-gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem; }
.office-gallery figure { margin: 0; display: grid; gap: 0.7rem; }
.office-gallery .photo-frame { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .office-gallery { grid-template-columns: 1fr; } }
.person-photo img { object-position: 50% 18%; }

/* photo edge blending (mask instead of color seams) */
.hero--photo .hero-media { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero--photo .hero-media::after {
  background: linear-gradient(0deg, rgba(10, 21, 17, 0.9) 0%, rgba(10, 21, 17, 0) 34%), linear-gradient(180deg, rgba(10, 21, 17, 0.55) 0%, rgba(10, 21, 17, 0) 20%);
}
@media (max-width: 900px) {
  .hero--photo .hero-media { -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, #000 52%, transparent 100%); }
  .hero--photo .hero-media::after { background: linear-gradient(0deg, rgba(10, 21, 17, 0.75) 0%, rgba(10, 21, 17, 0) 45%), linear-gradient(180deg, rgba(10, 21, 17, 0.7) 0%, rgba(10, 21, 17, 0) 22%); }
}
@media (max-width: 860px) {
  .banner-media { -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
  .page-hero--banner::after { background: linear-gradient(0deg, rgba(15, 29, 24, 0.7) 0%, rgba(15, 29, 24, 0) 45%), linear-gradient(180deg, rgba(10, 21, 17, 0.6) 0%, rgba(10, 21, 17, 0) 20%); }
}
.page-hero-media--vivid img { opacity: 0.95; }
.page-hero--photo:has(.page-hero-media--vivid)::after {
  background: linear-gradient(90deg, rgba(15, 29, 24, 0.95) 0%, rgba(15, 29, 24, 0.72) 36%, rgba(15, 29, 24, 0.12) 78%), linear-gradient(0deg, rgba(15, 29, 24, 0.85) 0%, rgba(15, 29, 24, 0) 40%);
}
.office-gallery { align-items: start; }
.office-gallery .photo-frame { aspect-ratio: auto; height: clamp(280px, 36vw, 540px); }
.office-gallery figure:nth-child(2) .photo-frame img { object-position: 50% 35%; }

.profile-figure { margin: 0 0 0.6rem; }
.profile-figure .photo-frame { aspect-ratio: 4 / 5; }

.band, .reviews-rows { overflow: hidden; }
html { overflow-x: clip; }
.photo-band { position: relative; height: clamp(360px, 54vw, 760px); overflow: hidden; background: var(--green-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%; }
@media (max-width: 700px) { .photo-band { height: 72svh; } .photo-band-media img { object-position: 50% 35% !important; } }

/* large monitors: scale type and spacing up a step */
@media (min-width: 1700px) {
  :root { --fs-h2: clamp(2.1rem, 3.6vw, 5rem); --fs-lead: 1.5rem; --fs-body: 1.125rem; }
  .hero--photo .hero-title { font-size: clamp(3rem, 6.2vw, 9.4rem); }
  .hero--photo .hero-media { width: 54vw; }
  .p-card { flex-basis: clamp(360px, 24vw, 480px); }
  .badge-tile { height: 132px; min-width: 132px; }
  .badge-tile img { max-height: 110px; max-width: 260px; }
}
@media (min-width: 2200px) {
  :root { --gutter: 6rem; }
  .hero--photo .hero-title { font-size: clamp(3rem, 5.8vw, 10.3rem); }
  .lead { max-width: 52ch; }
}

/* award badges: transparent, upright, sized by shape */
.badge-strip { padding: clamp(2.6rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.2rem); }
.badge-row { gap: clamp(1.4rem, 3.2vw, 3.4rem); align-items: center; }
.badge { display: flex; align-items: center; justify-content: center; transition: translate 0.5s var(--ease-out), filter 0.5s; }
.badge img { display: block; width: auto; height: auto; object-fit: contain; }
.badge--seal img { height: clamp(108px, 10vw, 168px); }
.badge--square img { height: clamp(100px, 9vw, 152px); }
.badge--wordmark img { width: clamp(180px, 15vw, 260px); }
.badge:hover { translate: 0 -6px; }
.badge-strip .badge img { filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45)); }
.badge-note { position: relative; margin-top: clamp(1.8rem, 3vw, 2.4rem); }
.badge-row--light .badge--seal img { height: clamp(96px, 7.4vw, 128px); }
.badge-row--light .badge--square img { height: clamp(90px, 6.8vw, 116px); }
.badge-row--light .badge--wordmark img { width: clamp(160px, 12vw, 210px); }
.badge-row--light { gap: 1.2rem 1.8rem; }
.badge-row--sm { gap: 0.8rem 1rem; }
.badge-row--sm .badge--seal img, .badge-row--sm .badge--square img { height: 70px; }
.badge-row--sm .badge--wordmark img { width: 120px; }
@media (max-width: 640px) {
  .badge-row { gap: 1.1rem 1.4rem; }
  .badge--seal img { height: 92px; }
  .badge--square img { height: 86px; }
  .badge--wordmark img { width: 170px; }
}
.person-photo img { object-position: 50% 30%; }

/* attorney banners: start below the nav bar and anchor to the top so heads are never cropped */
.page-hero--banner .banner-media { top: var(--header-h); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%); mask-image: linear-gradient(180deg, transparent 0, #000 4%); }
.page-hero--banner::after {
  background:
    linear-gradient(90deg, rgba(15, 29, 24, 0.96) 0%, rgba(15, 29, 24, 0.8) 30%, rgba(15, 29, 24, 0.18) 58%, rgba(15, 29, 24, 0) 74%),
    linear-gradient(0deg, rgba(15, 29, 24, 0.85) 0%, rgba(15, 29, 24, 0) 38%);
}
@media (max-width: 860px) {
  .page-hero--banner .banner-media { top: var(--header-h); height: calc(74svh - var(--header-h)); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 58%, transparent 100%); }
  .page-hero--banner::after { background: linear-gradient(0deg, rgba(15, 29, 24, 0.7) 0%, rgba(15, 29, 24, 0) 45%); }
}
@media (max-width: 860px) { .page-hero--banner .banner-media img { object-position: 88% 0% !important; } }
.page-hero .kicker { color: var(--yellow); }

.people--pair { grid-template-columns: repeat(2, minmax(0, 380px)); }
@media (max-width: 900px) { .people--pair { grid-template-columns: 1fr 1fr; max-width: none; } }
@media (max-width: 520px) { .people--pair { grid-template-columns: 1fr; } }
.person-photo img { object-position: 50% 50%; }

/* badge strip: one row on desktop */
.badge-strip .badge-row { gap: clamp(1rem, 2.1vw, 2.6rem); flex-wrap: wrap; }
.badge-strip .badge--seal img { height: clamp(92px, 7.4vw, 150px); }
.badge-strip .badge--square img { height: clamp(86px, 6.6vw, 134px); }
.badge-strip .badge--wordmark img { width: clamp(160px, 12vw, 236px); }
@media (max-width: 640px) {
  .badge-strip .badge--seal img { height: 84px; }
  .badge-strip .badge--square img { height: 78px; }
  .badge-strip .badge--wordmark img { width: 160px; }
}

/* ---------- reviews v2: cards, read more, masonry, score card ---------- */
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-g { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; }
.review-g svg { width: 18px; height: 18px; }
.review-text p + p { margin-top: 0.75em; }
.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); transition: max-height 0.6s var(--ease-out); }
.review-card.is-long.is-open .review-text { max-height: 400em; -webkit-mask-image: none; mask-image: none; }
.review-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4em; margin-top: -0.3rem;
  padding: 0.35rem 0; background: none; border: 0; font-weight: 700; font-size: 0.92rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 0.3em; cursor: pointer;
}
.review-more::after { content: ""; width: 0.5em; height: 0.5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15em) rotate(45deg); transition: transform 0.3s var(--ease-out); }
.review-card.is-open .review-more::after { transform: translateY(0.1em) rotate(-135deg); }
.review-more:hover { text-decoration-color: var(--ink); }
.review-card figcaption span { white-space: nowrap; }

.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 { width: auto; margin: 0; }
.rv-pending { opacity: 0; transform: translateY(32px) scale(0.98); }
.rv-pending.rv-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out), transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1); }
.review-card { transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), translate 0.35s var(--ease-out); }
@media (hover: hover) {
  .reviews-grid .review-card:hover { translate: 0 -4px; border-color: rgba(19, 32, 26, 0.22); box-shadow: 0 18px 40px -22px rgba(10, 21, 17, 0.35); }
}

.reviews-head .filter-bar { margin-bottom: 1rem; }
.filter-btn .n { margin-left: 0.3em; font-variant-numeric: tabular-nums; opacity: 0.55; font-weight: 600; }
.filter-btn[aria-pressed="true"] .n { opacity: 0.8; }
.reviews-count { margin-bottom: 1.75rem; font-size: var(--fs-small); color: var(--ink-2); min-height: 1.5em; }
.reviews-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.reviews-more .btn[hidden] { display: none; }

.g-dot { display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: #fff; flex: none; margin-left: -0.35em; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.btn .g-dot svg { width: 1.05em; height: 1.05em; }

.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-radius: var(--radius-m); text-decoration: none; color: var(--on-dark);
  background: rgba(10, 21, 17, 0.58); border: 1px solid rgba(243, 244, 239, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: border-color 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.score-card:hover { border-color: rgba(133, 189, 102, 0.6); translate: 0 -3px; }
.score-card-g { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.score-card-g svg { width: 30px; height: 30px; }
.score-card-num { font-family: var(--font-display); font-weight: 800; font-stretch: 76%; font-size: clamp(3.6rem, 6vw, 5.2rem); line-height: 0.85; letter-spacing: -0.02em; }
.score-card-stars { display: flex; gap: 0.15rem; color: var(--gold); font-size: 1.35rem; line-height: 1; }
.score-card-stars i { font-style: normal; display: inline-block; animation: starPop 0.6s var(--ease-out) both; }
.score-card-stars i:nth-child(2) { animation-delay: 0.08s; } .score-card-stars i:nth-child(3) { animation-delay: 0.16s; }
.score-card-stars i:nth-child(4) { animation-delay: 0.24s; } .score-card-stars i:nth-child(5) { animation-delay: 0.32s; }
@keyframes starPop { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 70% { transform: scale(1.25) rotate(8deg); opacity: 1; } 100% { transform: none; } }
.score-card-meta { grid-column: 1 / -1; display: flex; flex-direction: column; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 1px solid rgba(243, 244, 239, 0.14); }
.score-card-meta strong { font-size: 1.05rem; }
.score-card-meta small { color: var(--on-dark-3); }
.reduced .score-card-stars i { animation: none; }

.review-ask-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.review-ask .kicker { color: var(--green-900); margin-bottom: 0.8rem; }
.review-ask .lead { color: var(--ink); max-width: 52ch; }

.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; justify-content: flex-end; }
.reviews-cta-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.section-head .reviews-cta-links { justify-self: end; }

@media (max-width: 760px) {
  .score-card { justify-self: start; }
  .review-ask-grid { grid-template-columns: 1fr; }
  .reviews-cta { justify-content: flex-start; }
  .section-head .reviews-cta-links { justify-self: start; }
  .reviews-head .filter-search { margin-left: 0; width: 100%; }
  .reviews-head .filter-search input { width: 100%; }
}
.reviews-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.75rem; }
.reviews-sub .reviews-count { margin: 0; }
.sort-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line-light); background: rgba(255, 255, 255, 0.55); }
.sort-toggle[hidden] { display: none; }
.sort-toggle button { border: 0; background: transparent; padding: 0.42rem 0.95rem; border-radius: 999px; font-weight: 650; font-size: 0.88rem; color: var(--ink-2); cursor: pointer; transition: background 0.25s, color 0.25s; }
.sort-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.preview-note { color: var(--ink); background: rgba(242, 194, 48, 0.28); padding: 0.5rem 0.75rem; border-radius: 8px; }

/* contact form: spam trap, sending state, send error */
.form-card .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot .form-error { flex-basis: 100%; order: 3; margin: 0; padding: 0.75rem 1rem; border-left: 3px solid #B42318; background: rgba(180, 35, 24, 0.07); color: #8A1C12; font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.form-foot .form-error[hidden] { display: none; }
.btn.is-sending { opacity: 0.7; cursor: progress; pointer-events: none; }
.form-foot .form-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* photo additions, October 2026 */
.prose-figure { margin: clamp(1.8rem, 3vw, 2.6rem) 0 0; display: grid; gap: 0.7rem; }
.prose-figure .photo-frame { aspect-ratio: 4 / 3; }
.team-figure { margin: 0; }
.team-figure .photo-frame { aspect-ratio: 16 / 9; }

/* header over the green accent sections: two-tone logo that reads on green, dark call button */
.brand-logo--accent { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; }
.site-header.is-accent:not(.is-scrolled) .brand-logo--light, .site-header.is-accent:not(.is-scrolled) .brand-logo--dark { opacity: 0; }
.site-header.is-accent:not(.is-scrolled) .brand-logo--accent { opacity: 1; }
.site-header.is-accent:not(.is-scrolled) .header-call { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); --fill: var(--paper); --fg-hover: var(--ink); }

/* home: full-team photo under the attorney cards */
.team-band { margin: clamp(2.5rem, 5vw, 4.5rem) 0 0; display: grid; gap: 0.9rem; }
.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(--on-dark-2); }
@media (max-width: 700px) { .team-band .photo-frame { aspect-ratio: 4 / 3; } }

/* about: office-front band keeps the partners full length */
.photo-band--office .photo-band-media img { transform-origin: 50% 75%; }
@media (max-width: 700px) { .photo-band--office .photo-band-media img { object-position: 50% 70% !important; } }

/* extra-wide attorney banner (crops background at the sides, never the torso); centre the subject on phones */
@media (max-width: 860px) { .page-hero--banner .banner-media img.banner-img--wide { object-position: 85% 0% !important; } }

/* attorneys page hero: photo sits on the right and fades into the dark side behind the headline */
.page-hero-media--right { display: flex; justify-content: flex-end; }
.page-hero-media--right img { width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
@media (max-width: 860px) { .page-hero-media--right img { width: 100%; -webkit-mask-image: none; mask-image: none; object-position: 47% 50% !important; } }
/* arlene bio: walkway band, keep her centered on phones */
@media (max-width: 700px) { .photo-band--arlene .photo-band-media img { object-position: 52% 0% !important; } }

/* ---- October 2026 review fixes ---- */
/* client review and award disclosures */
.review-disclaimer { margin: 1rem 0; max-width: 75ch; font-family: var(--font-read); font-size: 1.06rem; line-height: 1.5; color: var(--ink); }
.review-disclaimer + .review-disclaimer { margin-top: -0.5rem; }
.reviews-disclaimer-wrap { margin-bottom: 1.6rem; }
.reviews-disclaimer-wrap .review-disclaimer { margin: 0 0 0.5rem; }
.review-excerpt-label { margin: 0 0 0.45rem; font-family: var(--font-ui); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.award-disclosure { margin: 1rem 0; max-width: 75ch; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.section--dark .review-disclaimer, .section--dark .review-excerpt-label, .section--dark .award-disclosure, .badge-strip .award-disclosure { color: var(--on-dark); }
.review-disclaimer a, .award-disclosure a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.badge-strip .award-disclosure { position: relative; margin: clamp(1.8rem, 3vw, 2.4rem) auto 0; max-width: 82ch; text-align: center; font-size: 0.95rem; line-height: 1.6; }
.rights .award-disclosure { margin-top: 1.6rem; }
.fact-list .award-disclosure { margin: 0.9rem 0 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-2); }
/* practice and guide cards: arrow size and keyboard focus (T5) */
.big-card .meta > svg { width: 24px; height: 24px; flex: 0 0 24px; }
.big-card:focus-visible .ico { color: var(--yellow); }
.big-card:focus-visible p { color: var(--on-dark-2); }
.big-card:focus-visible .meta { color: var(--yellow); }
/* search close button (T9) */
.search-input-row input { min-width: 0; }
.search-close { flex: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line-light); border-radius: 6px; padding: 0.35rem 0.55rem; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; color: var(--ink); background: var(--paper); cursor: pointer; }
.search-close:hover { background: var(--paper-2); }
/* mobile call and text bar steps aside while the keyboard is open */
.action-bar.is-shown.is-typing { transform: translateY(160%); }
