/* Statera Law — site styles
   Motif: the red vertical rule from the S|L monogram is the fulcrum of a balance
   ("statera", Latin). It recurs as a hairline that divides, marks and connects. */

:root {
  --ink: #0f2131;
  --ink-2: #172d40;
  --ink-3: #22405a;
  --slate: #94b0bd;
  --slate-d: #5d7a88;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --paper-3: #e1dacb;
  --white: #fffdf8;
  --text: #16212b;
  --muted: #56636e;
  --red: #e0262d;
  --red-d: #b81d23;
  --oxblood: #6e1a1f;
  --line: rgba(15, 33, 49, .14);
  --line-strong: rgba(15, 33, 49, .28);
  --line-inv: rgba(244, 241, 234, .16);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--red); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); }
.display {
  font-family: var(--serif);
  font-weight: 350;
  font-optical-sizing: auto;
  letter-spacing: -.022em;
  line-height: 1.02;
}
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
.h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.05; letter-spacing: -.02em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; }
.lede { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.4; font-weight: 350; letter-spacing: -.005em; }
.label {
  font: 600 .74rem/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.num { font-feature-settings: "tnum", "lnum"; }

/* The fulcrum: short red vertical tick that prefixes labels */
.tick { display: inline-flex; align-items: center; gap: .75rem; }
.tick::before { content: ""; width: 2px; height: 1.15em; background: var(--red); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.35rem .95rem 1.4rem;
  background: var(--bg); color: var(--fg);
  font: 600 .92rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1px solid var(--bg);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --bg: var(--red); border-color: var(--red); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { --fg: var(--white); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: transparent; color: currentColor; border-color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .2rem; }
.link-arrow:hover { border-color: var(--red); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .4s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
.site-header.is-over { background: transparent; border-color: transparent; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over .logo-dark { display: none; }
.site-header.is-over .logo-light { display: block; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav a.nav-link {
  position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 600; font-size: .92rem; padding: .7rem 1rem; border: 1px solid currentColor; transition: border-color .25s, background .25s, color .25s; }
.nav-phone:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.nav-phone svg { width: 15px; height: 15px; }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { height: 25px; }
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-close { position: absolute; top: 12px; right: calc(var(--gutter) - .5rem); background: none; border: 0; color: var(--paper); padding: .75rem; cursor: pointer; }
.drawer-close svg { width: 24px; height: 24px; }
.drawer nav { display: grid; border-top: 1px solid var(--line-inv); }
.drawer nav a { font: 350 2.1rem/1.1 var(--serif); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line-inv); display: flex; justify-content: space-between; align-items: baseline; }
.drawer nav a small { font: 500 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--slate); }
.drawer .drawer-foot { margin-top: auto; display: grid; gap: .4rem; color: var(--slate); font-size: .95rem; }
.drawer .drawer-foot a { color: var(--paper); font-weight: 600; text-decoration: none; font-size: 1.15rem; }
.drawer-logo { position: absolute; top: 19px; left: var(--gutter); height: 25px; width: auto; }

main { display: block; }
.page-top { padding-top: var(--header-h); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 23, 35, .86) 0%, rgba(10, 23, 35, .55) 42%, rgba(10, 23, 35, .12) 75%),
    linear-gradient(0deg, rgba(10, 23, 35, .92) 0%, rgba(10, 23, 35, 0) 46%),
    linear-gradient(180deg, rgba(10, 23, 35, .55) 0%, rgba(10, 23, 35, 0) 22%);
}
.hero-inner { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(2rem, 5vh, 3.5rem); position: relative; }
.hero-rule { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 1rem); bottom: 0; width: 2px; background: var(--red); transform-origin: top; animation: draw 1.6s .2s var(--ease) both; }
.hero-copy { padding-left: clamp(1.5rem, 3.5vw, 3rem); max-width: 62rem; }
.hero .label { color: var(--slate); margin-bottom: 1.6rem; display: block; }
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 em { color: #fff; }
.hero-sub { max-width: 37rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(244, 241, 234, .82); margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-offices {
  margin-top: clamp(2.5rem, 7vh, 5rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-inv);
}
.hero-offices a { padding: 1.1rem 1.2rem 0 0; text-decoration: none; display: grid; gap: .2rem; border-right: 1px solid var(--line-inv); margin-right: 1.2rem; }
.hero-offices a:last-child { border-right: 0; }
.hero-offices .label { margin: 0; font-size: .68rem; }
.hero-offices span.serif { font-size: 1.15rem; }
.hero-offices a:hover span.serif { text-decoration: underline; text-decoration-color: var(--red); }
.hero-video-toggle {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 1.25rem);
  background: rgba(10, 23, 35, .35); border: 1px solid var(--line-inv); color: var(--paper);
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
}
.hero-video-toggle svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hero-offices { grid-template-columns: 1fr 1fr; }
  .hero-offices a { padding-bottom: 1rem; border-right: 0; margin-right: 0; }
  .hero-offices a:nth-child(odd) { border-right: 1px solid var(--line-inv); margin-right: 1rem; }
  .hero-offices a:nth-child(-n+2) { border-bottom: 1px solid var(--line-inv); }
  .hero-offices a:nth-child(n+3) { padding-top: 1rem; }
}

@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .label { grid-column: 1 / -1; color: var(--slate-d); }
.section--ink .section-head .label { color: var(--slate); }
.section-head p { margin: 0; max-width: 36rem; color: var(--muted); }
.section--ink .section-head p { color: rgba(244, 241, 234, .72); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Statera / name ---------- */
.name-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.name-grid .fulcrum { width: 2px; background: var(--red); align-self: stretch; transform-origin: top; }
.word { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 9vw, 8.5rem); line-height: .9; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.word i { font-weight: 300; }
.pron { font: 400 .95rem/1.4 var(--sans); color: var(--muted); margin-bottom: 1.4rem; }
.pron b { color: var(--text); font-weight: 600; }
.name-grid p { max-width: 30rem; }
.name-foot { margin-top: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 1.4rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat b { display: block; font: 300 clamp(2.4rem, 4.6vw, 4rem)/1 var(--serif); letter-spacing: -.03em; margin-bottom: .5rem; }
.stat span { font-size: .92rem; color: var(--muted); display: block; max-width: 15rem; line-height: 1.45; }
@media (max-width: 860px) {
  .name-grid { grid-template-columns: 1fr; }
  .name-grid .fulcrum { height: 2px; width: 72px; }
  .name-foot { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.4rem; }
}

/* ---------- Practice ledger ---------- */
.ledger { border-top: 1px solid var(--line-strong); counter-reset: ledger; }
.ledger-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr) 7rem 2.5rem; gap: 1.5rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.ledger-row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--red); transform: scaleY(0); transition: transform .4s var(--ease); }
.ledger-row:hover { padding-left: 1.25rem; background: color-mix(in srgb, var(--paper-3) 45%, transparent); }
.ledger-row:hover::before { transform: scaleY(1); }
.ledger-no { font: 400 .85rem/1 var(--sans); color: var(--slate-d); font-feature-settings: "tnum"; letter-spacing: .06em; }
.ledger-title { font: 350 clamp(1.45rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.015em; }
.ledger-desc { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.ledger-stage { font: 600 .7rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--slate-d); justify-self: start; border: 1px solid var(--line-strong); padding: .45rem .6rem; }
.ledger-arrow { justify-self: end; width: 22px; height: 22px; transition: transform .35s var(--ease), color .35s; }
.ledger-row:hover .ledger-arrow { transform: translateX(4px); color: var(--red); }
@media (max-width: 900px) {
  .ledger-row { grid-template-columns: 2.6rem minmax(0, 1fr) 1.5rem; gap: .4rem 1rem; }
  .ledger-desc { grid-column: 2; grid-row: 2; }
  .ledger-stage { display: none; }
  .ledger-arrow { grid-column: 3; grid-row: 1; }
  .ledger-row:hover { padding-left: 0; }
}

/* ---------- Life of a property ---------- */
.lifeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 1rem; }
.lifeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-inv); }
.lifeline .bar { position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.lifeline.in .bar { transform: scaleX(1); }
.station { position: relative; padding: 2.6rem 1.25rem 0 0; }
.station::before { content: ""; position: absolute; top: 4px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 2px solid var(--slate); transition: border-color .4s, background .4s; transition-delay: calc(var(--i) * .3s); }
.lifeline.in .station::before { border-color: var(--red); background: var(--red); }
.station .label { color: var(--slate); display: block; margin-bottom: .8rem; }
.station h3 { font: 350 1.6rem/1.1 var(--serif); margin-bottom: .9rem; }
.station ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.station a { color: rgba(244, 241, 234, .78); text-decoration: none; font-size: .95rem; line-height: 1.35; display: inline-block; }
.station a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--red); }
.life-quote { margin-top: clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line-inv); }
.life-quote p { color: rgba(244, 241, 234, .74); margin: 0; }
@media (max-width: 960px) {
  .lifeline { grid-template-columns: 1fr; padding-left: 2.2rem; }
  .lifeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .lifeline .bar { left: 6px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .lifeline.in .bar { transform: scaleY(1); }
  .station { padding: 0 0 2.2rem; }
  .station::before { left: -2.2rem; top: 2px; }
  .life-quote { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.quotes-side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.q-count { font: 300 clamp(3rem, 6vw, 5rem)/1 var(--serif); letter-spacing: -.03em; }
.q-count small { font-size: .35em; color: var(--muted); letter-spacing: 0; vertical-align: top; margin-left: .2rem; }
.q-ctrl { display: flex; gap: .5rem; }
.q-ctrl button { width: 52px; height: 52px; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.q-ctrl button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q-ctrl svg { width: 18px; height: 18px; }
.q-stage { position: relative; min-height: 22rem; }
.q-slide { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.q-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.q-slide blockquote { margin: 0; }
.q-slide blockquote p { font: 350 clamp(1.45rem, 2.7vw, 2.35rem)/1.28 var(--serif); letter-spacing: -.012em; text-wrap: pretty; margin: 0; }
.q-slide.q-l blockquote p { font-size: clamp(1.3rem, 2.2vw, 1.95rem); }
.q-slide.q-xl blockquote p { font-size: clamp(1.15rem, 1.75vw, 1.55rem); line-height: 1.36; }
.q-slide blockquote p::before { content: "“"; position: absolute; transform: translateX(-.55em); color: var(--red); }
.q-meta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.q-meta .who { font-weight: 600; }
.q-meta .what { color: var(--muted); }
.q-meta .sep { width: 24px; height: 1px; background: var(--line-strong); }
.q-meta a.atty { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: .92rem; color: var(--muted); }
.q-meta a.atty img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: top; }
.q-meta a.atty:hover { color: var(--text); }
.q-progress { height: 1px; background: var(--line); position: relative; margin-top: 2.5rem; }
.q-progress i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--red); transition: width .6s var(--ease); }
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
  .quotes-side { flex-direction: row; align-items: end; order: 2; }
  .q-stage { min-height: 0; }
}

/* ---------- People ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.person-card { text-decoration: none; display: block; position: relative; }
.person-card figure { margin: 0; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 5; position: relative; }
.person-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.person-card figure::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.person-card:hover figure img { transform: scale(1.035); filter: saturate(1); }
.person-card:hover figure::after { transform: scaleY(1); }
.person-card .pc-body { padding-top: 1rem; display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.person-card h3 { font: 400 1.4rem/1.15 var(--serif); letter-spacing: -.01em; }
.person-card .role { font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.person-card .pc-arrow { width: 18px; height: 18px; margin-top: .35rem; flex: none; transition: transform .35s var(--ease), color .35s; }
.person-card:hover .pc-arrow { transform: translate(3px, -3px); color: var(--red); }
.section--ink .person-card .role { color: var(--slate); }

.more-people { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--paper); margin-left: -10px; background: var(--ink-2); }
.avatars img:first-child { margin-left: 0; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr 1fr; } .partners > div:first-child { grid-column: 1 / -1; } .partners > div:first-child figure { aspect-ratio: 5 / 4; } }

/* Team directory */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filters button { border: 1px solid var(--line-strong); background: transparent; padding: .6rem 1rem; font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.filters button span { color: var(--muted); margin-left: .35rem; font-feature-settings: "tnum"; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--slate); }
.team-group { margin-bottom: clamp(3rem, 6vw, 5rem); }
.team-group[hidden] { display: none; }
.team-group-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-strong); padding-top: 1rem; margin-bottom: 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem clamp(1rem, 2vw, 1.75rem); }
.team-grid .person-card h3 { font-size: 1.25rem; }
.team-grid .mail { font-size: .85rem; color: var(--muted); text-decoration: none; display: inline-block; margin-top: .45rem; position: relative; z-index: 2; }
.team-grid .mail:hover { color: var(--red); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } .team-grid .person-card h3 { font-size: 1.08rem; } .team-grid .mail { display: none; } }

/* Bio */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.bio-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.bio-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); position: relative; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bio-photo::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.contact-card { margin-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.contact-card a, .contact-card div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .98rem; }
.contact-card span:first-child { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding-top: .15rem; }
.contact-card a span:last-child { font-weight: 600; word-break: break-all; text-align: right; }
.contact-card a:hover span:last-child { color: var(--red); }
.bio-head .label { color: var(--slate-d); display: block; margin-bottom: 1.25rem; }
.bio-head h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); margin-bottom: .6rem; }
.bio-head h1 .sfx { font-size: .42em; color: var(--muted); font-style: italic; letter-spacing: 0; margin-left: .25em; }
.bio-body { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line-strong); }
.bio-body p:first-child { font: 350 clamp(1.25rem, 1.8vw, 1.5rem)/1.45 var(--serif); letter-spacing: -.005em; }
.bio-body p { max-width: 42rem; }
.creds { margin-top: 3rem; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.creds li { padding-left: 1.1rem; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 1px; background: var(--red); }
.creds .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-block; border: 1px solid var(--line-strong); padding: .45rem .75rem; font-size: .88rem; text-decoration: none; transition: all .25s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.badge { margin-top: 1.25rem; width: 150px; }
.bio-quote { margin-top: 3.5rem; background: var(--paper-2); padding: clamp(1.75rem, 3.5vw, 3rem); position: relative; }
.bio-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.bio-quote p { font: 350 clamp(1.1rem, 1.5vw, 1.3rem)/1.5 var(--serif); }
.bio-quote footer { font-size: .92rem; color: var(--muted); }
.bio-quote footer b { color: var(--text); }
.bio-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); margin-top: clamp(4rem, 8vw, 7rem); }
.bio-nav a { padding: 1.5rem 0; text-decoration: none; display: grid; gap: .3rem; }
.bio-nav a:last-child { text-align: right; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.bio-nav .serif { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.bio-nav a:hover .serif { color: var(--red); }
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .bio-aside { position: static; display: grid; grid-template-columns: 40% 1fr; gap: 1.25rem; align-items: start; }
  .contact-card { margin-top: 0; }
  .creds { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .bio-aside { grid-template-columns: 1fr; } .bio-photo { max-width: 300px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); position: relative; }
.page-head .label { color: var(--slate-d); display: block; margin-bottom: 1.5rem; }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1.75rem; max-width: 40rem; color: var(--muted); }
.page-head--split .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.page-head--split .lede { margin-top: 0; }
@media (max-width: 860px) { .page-head--split .wrap { grid-template-columns: 1fr; } }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* Practice detail */
.practice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.practice-body p { max-width: 40rem; }
.practice-body > p:first-child { font: 350 clamp(1.3rem, 2vw, 1.65rem)/1.42 var(--serif); letter-spacing: -.008em; }
.practice-body > p:first-child::first-letter { float: left; font: 300 4.6em/.8 var(--serif); padding: .06em .1em 0 0; color: var(--red); }
.practice-aside { position: sticky; top: calc(var(--header-h) + 2rem); border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.people-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.people-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.people-list img { width: 52px; height: 52px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--ink-2); }
.people-list b { font-weight: 600; display: block; font-size: .98rem; }
.people-list small { color: var(--muted); font-size: .84rem; }
.people-list svg { width: 16px; height: 16px; color: var(--muted); transition: transform .3s, color .3s; }
.people-list a:hover svg { transform: translateX(3px); color: var(--red); }
.ext-links { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ext-links ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .practice { grid-template-columns: 1fr; } .practice-aside { position: static; } }

.next-practice { display: block; text-decoration: none; padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--ink); color: var(--paper); }
.next-practice .wrap { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.next-practice .label { color: var(--slate); display: block; margin-bottom: 1rem; }
.next-practice svg { width: clamp(36px, 5vw, 64px); height: auto; flex: none; transition: transform .4s var(--ease), color .4s; }
.next-practice:hover svg { transform: translateX(8px); color: var(--red); }

/* Practice index cards */
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); }
.practice-tile { padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1rem, 3vw, 2.75rem) clamp(1.75rem, 3.5vw, 3rem) 0; border-bottom: 1px solid var(--line); text-decoration: none; display: grid; gap: 1rem; position: relative; }
.practice-tile:nth-child(even) { padding-left: clamp(1rem, 3vw, 2.75rem); border-left: 1px solid var(--line); }
.practice-tile .top { display: flex; justify-content: space-between; align-items: center; }
.practice-tile h2 { font: 350 clamp(1.6rem, 2.8vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.015em; transition: color .3s; }
.practice-tile p { color: var(--muted); margin: 0; max-width: 32rem; }
.practice-tile:hover h2 { color: var(--red-d); }
.practice-tile .go { font-weight: 600; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; }
.practice-tile .go svg { width: 14px; height: 14px; transition: transform .3s; }
.practice-tile:hover .go svg { transform: translateX(4px); }
@media (max-width: 760px) { .practice-grid { grid-template-columns: 1fr; } .practice-tile:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Articles ---------- */
.article-list { border-top: 1px solid var(--line-strong); }
.article-row { display: grid; grid-template-columns: 10rem minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.article-row .meta { font-size: .85rem; color: var(--muted); display: grid; gap: .35rem; }
.article-row .meta .label { color: var(--red-d); font-size: .68rem; }
.article-row h3 { font: 350 clamp(1.45rem, 2.4vw, 2.1rem)/1.12 var(--serif); letter-spacing: -.015em; transition: color .3s; }
.article-row p { color: var(--muted); margin: 0; font-size: .98rem; }
.article-row:hover h3 { color: var(--red-d); }
.section--ink .article-row { border-color: var(--line-inv); }
@media (max-width: 860px) { .article-row { grid-template-columns: 1fr; } }

.article-head { padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 3rem; }
.article-head .inner, .prose { max-width: 46rem; margin: 0 auto; }
.article-head .label { color: var(--red-d); display: block; margin-bottom: 1.5rem; }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.article-head .dek { margin-top: 1.5rem; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline b { color: var(--text); display: block; }
.byline a { text-decoration: none; }
.prose { font-size: 1.1rem; line-height: 1.75; padding-bottom: clamp(3rem, 7vw, 6rem); }
.prose > p:first-child::first-letter { float: left; font: 300 4.3em/.8 var(--serif); padding: .07em .12em 0 0; color: var(--red); }
.prose h2 { font: 400 clamp(1.5rem, 2.4vw, 1.95rem)/1.2 var(--serif); margin: 2.6rem 0 1rem; letter-spacing: -.01em; }
.prose blockquote { margin: 2.4rem 0; padding: .3rem 0 .3rem 1.6rem; border-left: 2px solid var(--red); }
.prose blockquote p { font: 350 clamp(1.3rem, 2vw, 1.6rem)/1.4 var(--serif); margin-bottom: .6rem; }
.prose cite { font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 600; }
.prose cite::before { content: "— "; }
.prose ol.tactics { counter-reset: t; list-style: none; padding: 0; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.prose ol.tactics li { counter-increment: t; padding: 1.2rem 0 1.2rem 3.2rem; position: relative; border-bottom: 1px solid var(--line); }
.prose ol.tactics li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 1.3rem; font: 400 .85rem/1 var(--sans); color: var(--red-d); letter-spacing: .08em; }
.prose .note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }

/* ---------- Offices & map ---------- */
.offices { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ma-map { position: relative; }
.ma-map svg { width: 100%; height: auto; overflow: visible; }
.ma-map .land { fill: var(--paper-2); stroke: var(--slate-d); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.section--ink .ma-map .land { fill: var(--ink-2); stroke: var(--slate-d); }
.ma-map .pin circle.dot { fill: var(--red); }
.ma-map .pin circle.ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: .5; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; }
.ma-map .pin:nth-of-type(2) circle.ring { animation-delay: .7s; }
.ma-map .pin:nth-of-type(3) circle.ring { animation-delay: 1.4s; }
.ma-map .pin:nth-of-type(4) circle.ring { animation-delay: 2.1s; }
.ma-map .pin text { font: 600 22px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: currentColor; }
.ma-map .pin line { stroke: currentColor; stroke-width: 1; opacity: .5; }
.ma-map .grid line { stroke: currentColor; opacity: .08; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.office-list { border-top: 1px solid var(--line-strong); }
.section--ink .office-list { border-color: var(--line-inv); }
.office { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.section--ink .office { border-color: var(--line-inv); }
.office .label { color: var(--slate-d); grid-column: 1 / -1; }
.section--ink .office .label { color: var(--slate); }
.office h3 { font: 400 1.45rem/1.15 var(--serif); }
.office address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.section--ink .office address { color: rgba(244, 241, 234, .7); }
.office .o-actions { display: grid; gap: .4rem; justify-items: end; align-self: end; font-size: .9rem; }
.office .o-actions a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.office .o-actions a:hover { color: var(--red); }
.office .coords { font-size: .75rem; color: var(--slate-d); letter-spacing: .06em; font-feature-settings: "tnum"; }
@media (max-width: 900px) { .offices { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--oxblood); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 2px; background: var(--red); }
.cta-band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta-band .wrap { padding-left: calc(var(--gutter) + clamp(1.5rem, 3.5vw, 3rem)); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.cta-band .h2 { max-width: 15ch; }
.cta-band p { margin: 0 0 1.5rem; color: rgba(255, 253, 248, .86); }
.cta-band .btn { --bg: var(--white); --fg: var(--ink); }
.cta-band .btn:hover { --bg: var(--red); --fg: var(--white); border-color: var(--red); }
.cta-band .phone-big { font: 300 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--serif); text-decoration: none; display: block; margin-top: 1.5rem; letter-spacing: -.01em; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: grid; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1.05rem/1.4 var(--sans); color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); padding: .65rem 0; border-radius: 0; width: 100%;
  transition: border-color .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316212b' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; padding-right: 1.5rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--red); padding-bottom: calc(.65rem - 1px); }
.form .fine { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin: 0; }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244, 241, 234, .74); padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-inv); }
.footer-top img { height: 30px; width: auto; margin-bottom: 1.5rem; }
.footer-top p { max-width: 22rem; }
.footer-top h4 { font: 600 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 1.1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-top a { text-decoration: none; color: var(--paper); }
.footer-top a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.footer-big { font: 300 clamp(3rem, 12vw, 11.5rem)/.85 var(--serif); letter-spacing: -.045em; color: var(--paper); padding: 3rem 0 1.5rem; display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.75rem); white-space: nowrap; }
.footer-big i { display: block; width: 2px; align-self: stretch; background: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line-inv); font-size: .85rem; }
.footer-bottom a { color: rgba(244, 241, 234, .74); }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-inv); color: var(--paper); transition: background .25s, border-color .25s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.legal { max-width: 46rem; }
.legal p { color: var(--text); }

/* Reveal on scroll — only hides when JS is running */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .avatars img:nth-child(n+8) { display: none; }
}
.hero-offices { margin-left: clamp(1.5rem, 3.5vw, 3rem); }
@media (max-width: 760px) {
  .hero-inner { padding-top: calc(var(--header-h) + 5.5rem); }
  .hero-video-toggle { width: 34px; height: 34px; top: calc(var(--header-h) + .75rem); }
}
