/* ---------- Self-hosted fonts (Fraunces + Manrope, SIL Open Font License) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* =========================================================
   Choudhury & Law Firm — site styles
   Static, dependency-free CSS. Works on cPanel (no build step).
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1322;
  --ink-2: #111c31;
  --paper: #f5f2eb;
  --paper-2: #ece7dc;
  --white: #fffdf9;
  --text: #141a27;
  --text-soft: #293146;
  --muted: #58607a;
  --brass: #c9a46a;
  --brass-deep: #7d5c27;
  --line: rgba(20, 26, 39, 0.14);
  --line-dark: rgba(245, 242, 235, 0.16);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 19, 34, 0.06), 0 18px 40px -18px rgba(11, 19, 34, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 78px;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
h2 { font-family: var(--font-display); font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-header :focus-visible, .section--brass :focus-visible { outline-color: var(--brass); }

.visually-hidden {
  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-link {
  position: absolute; left: 16px; top: -120px; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: -0.028em;
  line-height: 0.98;
  font-variation-settings: "opsz" 144;
}
h1.display { font-size: clamp(3.1rem, 8.2vw, 7.4rem); }
h2.display, .h2 { font-family: var(--font-display); font-weight: 350; letter-spacing: -0.024em; line-height: 1.02; font-size: clamp(2.2rem, 4.8vw, 4rem); font-variation-settings: "opsz" 144; }
h3 { font-family: var(--font-display); font-weight: 450; letter-spacing: -0.01em; line-height: 1.18; font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-variation-settings: "opsz" 72; }
.accent { font-style: italic; font-weight: 300; color: var(--brass-deep); }
.cta .accent { color: var(--ink); }
.section--ink .accent, .hero .accent, .page-hero .accent, .section--brass .accent { color: var(--brass); }
.section--brass .accent { color: var(--ink); }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.65; color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.cta .eyebrow { color: var(--ink); }
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .section--brass .eyebrow { color: var(--brass); }
.section--brass .eyebrow { color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: min(100% - (var(--pad) * 2), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(84px, 11vw, 152px); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p, .section--ink li { color: rgba(245, 242, 235, 0.78); }
.section--brass { background: var(--brass); color: var(--ink); }
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--noise); opacity: 0.11; mix-blend-mode: overlay;
}

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.section-head p { color: var(--muted); max-width: 46ch; justify-self: end; margin: 0; }
.section--ink .section-head p { color: rgba(245, 242, 235, 0.7); }
.section-head .h2 { margin-top: 18px; }

.split {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 116px); align-items: start;
}
.split__sticky { position: sticky; top: 120px; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1em 1.6em; border-radius: 999px; border: 1px solid transparent;
  background: var(--brass); color: var(--ink);
  font-size: 0.95rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--paper); transform: translateY(101%);
  transition: transform 0.6s var(--ease-out-expo);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow { width: 16px; height: 16px; flex: none; transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(245, 242, 235, 0.45); }
.btn--ghost::before { background: var(--brass); }
.btn--ghost:hover { color: var(--ink); border-color: var(--brass); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: var(--brass); }
.btn--dark:hover { color: var(--ink); }
.btn--ink-ghost { background: transparent; color: var(--ink); border-color: rgba(11, 19, 34, 0.5); }
.btn--ink-ghost::before { background: var(--ink); }
.btn--ink-ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--sm { padding: 0.75em 1.25em; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 0.95rem; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size 0.6s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--paper);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease-out-expo), color 0.4s;
}
.site-header.is-scrolled {
  background: rgba(11, 19, 34, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-101%); }
.menu-open .site-header { transform: none; }
.nav-wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; transition: transform 0.8s var(--ease-out-expo); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 550; letter-spacing: -0.01em; line-height: 1.05; font-variation-settings: "opsz" 72; white-space: nowrap; }
.brand__sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.66; margin-top: 5px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 10px 13px; font-size: 0.9rem; font-weight: 700; text-decoration: none; opacity: 0.84;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease-out-expo);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; }
.nav .btn { margin-left: 12px; }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(245, 242, 235, 0.35); color: inherit; cursor: pointer; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.3s, top 0.6s var(--ease-out-expo);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 36px) var(--pad) 36px;
  clip-path: circle(0 at calc(100% - 46px) 40px);
  visibility: hidden; transition: clip-path 0.9s var(--ease-out-expo), visibility 0s linear 0.9s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; transition: clip-path 0.9s var(--ease-out-expo), visibility 0s; }
.mobile-menu__links { display: grid; gap: 4px; }
.mobile-menu__links a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.9rem); font-weight: 350; line-height: 1.15;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out-expo), color 0.3s;
}
.menu-open .mobile-menu__links a { opacity: 1; transform: none; transition-delay: calc(0.2s + var(--i, 0) * 0.06s); }
.mobile-menu__links a:hover { color: var(--brass); }
.mobile-menu__foot { font-size: 0.9rem; color: rgba(245, 242, 235, 0.7); display: grid; gap: 14px; }
.mobile-menu__foot a { color: var(--brass); }

.scroll-progress {
  position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70; transform-origin: left;
  transform: scaleX(0); background: linear-gradient(90deg, var(--brass), #f0d9a8);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper);
  min-height: min(100svh, 1040px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(72px, 9vw, 110px);
}
.hero__glow {
  position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 26%, rgba(201, 164, 106, 0.24), transparent 70%),
    radial-gradient(40% 50% at 12% 88%, rgba(70, 108, 176, 0.26), transparent 72%),
    radial-gradient(30% 30% at 50% 50%, rgba(201, 164, 106, 0.07), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .eyebrow { margin-bottom: 28px; animation: fade-up 1s var(--ease-out-expo) both; }
.hero h1 { margin: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .word { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease-out-expo) forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.hero .lead { margin-top: 32px; color: rgba(245, 242, 235, 0.8); animation: fade-up 1.1s var(--ease-out-expo) 0.7s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; animation: fade-up 1.1s var(--ease-out-expo) 0.9s both; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 48px; font-size: 0.82rem; letter-spacing: 0.06em; color: rgba(245, 242, 235, 0.6); animation: fade-up 1.1s var(--ease-out-expo) 1.1s both; }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); animation: fade-in 1.6s ease 0.3s both; }
.hero-art svg { width: 100%; height: auto; color: var(--brass); overflow: visible; }
.hero-art__ring { transform-box: view-box; transform-origin: 240px 240px; animation: spin 46s linear infinite; }
.hero-art__ring text { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 4.6px; fill: rgba(201, 164, 106, 0.85); }
.hero-art .draw {
  fill: none; stroke: var(--brass); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.4s var(--ease-out-expo) forwards; animation-delay: var(--d, 0s);
}
.hero-art .draw--soft { stroke: rgba(201, 164, 106, 0.45); }
.hero-art__apex { animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.scroll-cue {
  position: absolute; left: max(var(--pad), calc(50% - var(--container) / 2)); bottom: 32px; display: flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245, 242, 235, 0.6);
  text-decoration: none; animation: fade-in 1s ease 1.6s both;
}
.scroll-cue i { position: relative; width: 1px; height: 56px; background: rgba(245, 242, 235, 0.18); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass); animation: cue 2.2s var(--ease) infinite; }

/* ---------- Ticker ---------- */
.ticker { background: var(--brass); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(11, 19, 34, 0.12); }
.ticker__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__item {
  display: flex; align-items: center; gap: 30px; padding: 20px 30px;
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 400; white-space: nowrap; letter-spacing: -0.01em;
}
.ticker__item::after { content: ""; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); flex: none; }

/* ---------- Welcome & stats ---------- */
.welcome { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.welcome h2 { margin-top: 18px; }
.welcome__body { margin-top: 36px; display: grid; gap: 18px; color: var(--text-soft); font-size: 1.05rem; max-width: 60ch; }
.welcome__cta { margin-top: 36px; }
.stats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6px 26px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-size: clamp(3.4rem, 6.5vw, 5.4rem); line-height: 0.9; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; font-weight: 300; min-width: 2.6ch; font-variant-numeric: lining-nums tabular-nums; }
.stat__num .suffix { font-style: italic; color: var(--brass-deep); font-size: 0.5em; vertical-align: top; margin-left: 4px; }
.stat__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Practice cards ---------- */
.card-grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  transition: transform 0.7s var(--ease-out-expo), box-shadow 0.7s var(--ease-out-expo), border-color 0.5s var(--ease);
}
.section--ink .card { color: var(--text); }
.section--ink .card p, .section--ink .card li { color: var(--muted); }
.section--ink .card h3 { color: var(--ink); }
.card:hover { transform: translateY(-6px); border-color: rgba(201, 164, 106, 0.7); box-shadow: 0 30px 60px -30px rgba(11, 19, 34, 0.38); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(201, 164, 106, 0.22), transparent 62%);
  transition: opacity 0.6s var(--ease);
}
.card:hover::before { opacity: 1; }

.practice-card { display: flex; flex-direction: column; min-height: 318px; text-decoration: none; color: inherit; }
.card__num { font-family: var(--font-display); font-size: 0.98rem; color: var(--brass-deep); font-variation-settings: "opsz" 144; display: flex; justify-content: space-between; align-items: center; }
.card__num .dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.5s, transform 0.7s var(--ease-out-expo), border-color 0.5s; }
.card__num .dot svg { width: 14px; height: 14px; transition: transform 0.6s var(--ease-out-expo); }
.practice-card:hover .dot { background: var(--ink); color: var(--brass); border-color: var(--ink); transform: rotate(-45deg); }
.practice-card h3 { margin-top: 44px; font-size: clamp(1.45rem, 2.2vw, 1.8rem); min-height: 2.3em; }
.practice-card p { margin-top: 14px; color: var(--muted); font-size: 0.96rem; }
.practice-card .link-arrow { margin-top: auto; padding-top: 26px; font-size: 0.88rem; }

/* ---------- Courts ---------- */
.courts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.court {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 200px; padding: 30px 26px 28px; display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: color 0.5s var(--ease);
}
.court::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brass);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease-out-expo);
}
.court:hover { color: var(--ink); }
.court:hover::before { transform: scaleY(1); }
.court__no { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; color: var(--brass); transition: color 0.4s; }
.court:hover .court__no { color: var(--ink); }
.court h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); margin-top: 40px; color: inherit; }

/* ---------- Leadership ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.person { display: block; text-decoration: none; color: inherit; }
.person__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.person__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--ease-out-expo); }
.person:hover .person__media img { transform: scale(1.06); }
.person__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 19, 34, 0.55), transparent 45%); opacity: 0.6; transition: opacity 0.6s; }
.person:hover .person__media::after { opacity: 1; }
.person__meta { display: block; padding-top: 22px; }
.person__role { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); }
.person h3 { margin-top: 8px; font-size: clamp(1.5rem, 2.3vw, 1.85rem); transition: color 0.3s; }
.person:hover h3 { color: var(--brass-deep); }

/* ---------- Matters ---------- */
.matter-list { display: grid; gap: 14px; margin: 12px 0 1.2em; list-style: none; }
.matter-list li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 0.97rem; }
.matter-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--brass-deep); }
.matter-card h3 { margin-bottom: 22px; }
.matter-card .matter-list li { color: var(--muted); }
.matter-card { display: flex; flex-direction: column; }
.matter-card--light .matter-list li { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--brass); color: var(--ink); padding: clamp(84px, 10vw, 136px) 0; }
.cta__art { position: absolute; right: -60px; top: 50%; width: min(620px, 80vw); transform: translateY(-50%); opacity: 0.16; z-index: -1; color: var(--ink); pointer-events: none; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; max-width: 16ch; margin-top: 18px; }
.cta p { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 54ch; color: rgba(11, 19, 34, 0.82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(245, 242, 235, 0.74); padding-top: clamp(72px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(32px, 4vw, 56px); }
.footer-brand p { margin-top: 22px; max-width: 36ch; font-size: 0.96rem; }
.footer-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px; }
.footer-links { display: grid; gap: 2px; list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-contact a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: 0.96rem; transition: color 0.3s, transform 0.5s var(--ease-out-expo); }
.footer-links a:hover, .footer-contact a:hover { color: var(--brass); transform: translateX(5px); }
.footer-contact { display: grid; gap: 14px; font-size: 0.96rem; font-style: normal; }
.footer-contact span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 242, 235, 0.45); margin-bottom: 2px; }
.footer-wordmark {
  margin: clamp(56px, 8vw, 96px) 0 0; white-space: nowrap; text-align: center; user-select: none;
  font-family: var(--font-display); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 8.6vw, 9.5rem); color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 106, 0.42);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px;
  margin-top: 44px; padding: 26px 0 32px; border-top: 1px solid var(--line-dark); font-size: 0.86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--brass); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + clamp(64px, 10vw, 132px)) 0 clamp(64px, 9vw, 116px);
}
.page-hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(44% 80% at 92% 0%, rgba(201, 164, 106, 0.2), transparent 70%),
    radial-gradient(38% 60% at 0% 100%, rgba(70, 108, 176, 0.2), transparent 72%);
}
.page-hero h1 { font-size: clamp(3rem, 7.6vw, 6.6rem); margin-top: 24px; max-width: 14ch; animation: fade-up 1s var(--ease-out-expo) both; }
.page-hero .lead { margin-top: 30px; color: rgba(245, 242, 235, 0.8); animation: fade-up 1s var(--ease-out-expo) 0.15s both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(245, 242, 235, 0.55); letter-spacing: 0.04em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs [aria-current] { color: rgba(245, 242, 235, 0.85); }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* ---------- About ---------- */
.prose-lg p { font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--text-soft); max-width: 62ch; }
.prose-lg p + p { margin-top: 1.2em; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { position: relative; padding: 34px 22px 36px 0; border-bottom: 1px solid var(--line); transition: padding 0.7s var(--ease-out-expo); }
.value::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--brass-deep); transition: width 0.9s var(--ease-out-expo); }
.value:hover::before { width: 100%; }
.value:hover { padding-left: 12px; }
.value__no { font-family: var(--font-display); font-size: 0.95rem; color: var(--brass-deep); font-variation-settings: "opsz" 144; }
.value h3 { margin-top: 40px; font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
.court-list { display: grid; border-top: 1px solid var(--line); }
.court-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text-soft); transition: padding 0.6s var(--ease-out-expo), color 0.3s; }
.court-list li:hover { padding-left: 10px; color: var(--ink); }
.court-list li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--brass-deep); transform: rotate(45deg); }
.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 48px; }
.focus-card { position: relative; padding: 30px 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.focus-card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--brass); display: grid; place-items: center; transition: transform 0.8s var(--ease-out-expo); }
.focus-card:hover .icon { transform: rotate(-8deg) scale(1.06); }
.focus-card h3 { font-size: 1.3rem; margin-top: 28px; }
.work-rows { display: grid; border-top: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); transition: transform 0.7s var(--ease-out-expo), background 0.5s; }
.work-row:hover { transform: translateX(8px); }
.work-row span { font-family: var(--font-display); color: var(--brass-deep); font-size: 1rem; }
.work-row p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.quote-panel { margin-top: 56px; padding: clamp(28px, 4vw, 52px); background: var(--ink-2); border: 1px solid var(--line-dark); color: rgba(245, 242, 235, 0.85); border-radius: 24px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.quote-panel p { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 350; font-variation-settings: "opsz" 72; max-width: 36ch; }
.quote-panel .accent { color: var(--brass); }

/* ---------- Expertise accordion ---------- */
.practice-list { border-bottom: 1px solid var(--line); }
.practice-item { border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.practice-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px);
  padding: clamp(22px, 3vw, 34px) 0;
}
.practice-item summary::-webkit-details-marker { display: none; }
.practice-item summary:focus-visible { outline-offset: 6px; }
.practice-item__no { flex: none; width: 56px; font-family: var(--font-display); color: var(--brass-deep); font-size: 1rem; font-variation-settings: "opsz" 144; }
.practice-item h3 { flex: 1; font-size: clamp(1.45rem, 3.2vw, 2.5rem); line-height: 1.08; transition: transform 0.8s var(--ease-out-expo), color 0.35s; }
.practice-item summary:hover h3 { transform: translateX(10px); color: var(--brass-deep); }
.practice-item__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.5s, border-color 0.5s, color 0.5s; }
.practice-item__icon svg { width: 16px; height: 16px; transition: transform 0.7s var(--ease-out-expo); }
.practice-item summary:hover .practice-item__icon { border-color: var(--ink); }
.practice-item[open] .practice-item__icon { background: var(--ink); color: var(--brass); border-color: var(--ink); }
.practice-item[open] .practice-item__icon svg { transform: rotate(135deg); }
.practice-item__body { padding: 0 0 clamp(30px, 4vw, 48px) calc(56px + clamp(14px, 2.4vw, 28px)); max-width: 92ch; color: var(--text-soft); animation: fade-up 0.8s var(--ease-out-expo) both; }
.practice-item__body p { margin-bottom: 1.1em; }
.practice-item__body p:last-child { margin-bottom: 0; }
.practice-item[open] summary h3 { color: var(--brass-deep); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 5vw, 56px) clamp(18px, 2.2vw, 28px); }
.member-item { position: relative; }
.member {
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.member__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.member__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--ease-out-expo), filter 0.8s; }
.member__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 19, 34, 0.86), rgba(11, 19, 34, 0) 55%); opacity: 0; transition: opacity 0.6s var(--ease); }
.member:hover .member__media img { transform: scale(1.06); }
.member:hover .member__media::after { opacity: 1; }
.member__cta {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: center;
  color: var(--paper); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out-expo);
}
.member__cta svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.member:hover .member__cta, .member:focus-visible .member__cta { opacity: 1; transform: none; }
.member:hover .member__cta svg { transform: translateX(4px); }
.member__meta { display: block; padding-top: 18px; }
.member__role { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); }
.member__name { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.36rem; line-height: 1.15; font-variation-settings: "opsz" 72; transition: color 0.3s; }
.member:hover .member__name { color: var(--brass-deep); }
.member:focus-visible { outline-offset: 6px; border-radius: var(--radius); }

.profile-dialog {
  width: min(1000px, calc(100% - 28px)); max-height: min(880px, calc(100dvh - 28px)); padding: 0; border: 0; border-radius: 26px;
  background: var(--paper); color: var(--text); overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6);
}
.profile-dialog[open] { animation: dialog-in 0.7s var(--ease-out-expo); }
.profile-dialog::backdrop { background: rgba(8, 13, 24, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 0.4s ease both; }
.profile-dialog__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer;
  transition: transform 0.6s var(--ease-out-expo), background 0.4s;
}
.profile-dialog__close:hover { transform: rotate(90deg); background: var(--brass-deep); }
.profile-dialog__close svg { width: 18px; height: 18px; }
.profile-dialog__scroll { max-height: min(880px, calc(100dvh - 28px)); overflow-y: auto; overscroll-behavior: contain; }
.profile { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); }
.profile__media { margin: 0; position: relative; background: var(--ink); }
.profile__media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: center top; }
.profile__body { padding: clamp(28px, 4.2vw, 58px); }
.profile__body .eyebrow { font-size: 0.7rem; }
.profile__body h2 { font-family: var(--font-display); font-weight: 350; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.02em; margin: 16px 0 18px; font-variation-settings: "opsz" 144; }
.profile__body h3 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin: 30px 0 12px; }
.profile__body p { color: var(--text-soft); font-size: 1rem; }
.creds { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.creds li { color: var(--ink); font-weight: 700; font-size: 0.98rem; }

/* ---------- Insights, career, events ---------- */
.info-card { display: flex; flex-direction: column; min-height: 100%; }
.info-card .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--brass); display: grid; place-items: center; transition: transform 0.8s var(--ease-out-expo); }
.info-card:hover .icon { transform: rotate(-8deg) scale(1.06); }
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h3 { margin-top: 30px; margin-bottom: 14px; font-size: clamp(1.55rem, 2.3vw, 1.95rem); }
.info-card p, .info-card li { color: var(--muted); }
.info-card .tag { display: inline-flex; align-self: flex-start; margin-top: auto; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); }
.info-card .matter-list { margin-top: 18px; }
.info-card .matter-list li { color: var(--muted); }
.info-card .link-arrow { margin-top: auto; padding-top: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); counter-reset: step; }
.step { position: relative; padding: 30px 26px 30px; border-top: 1px solid var(--line-dark); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--brass); font-variation-settings: "opsz" 144; margin-bottom: 26px; }
.step h3 { font-size: 1.4rem; }
.step p { color: rgba(245, 242, 235, 0.72); margin-top: 12px; font-size: 0.96rem; }
.apply-panel { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.apply-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.apply-panel p { color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
.apply-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.coming { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.empty-state { text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.empty-state .display { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; margin: 18px auto 0; }
.empty-state p { color: var(--muted); max-width: 52ch; margin: 22px auto 0; }
.empty-state .btn { margin-top: 34px; }

/* ---------- Representative matters ---------- */
.matters-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.matter-note { margin-top: 40px; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; max-width: 80ch; }
.matter-note svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--brass-deep); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-item__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--brass); display: grid; place-items: center; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 10px; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; font-size: 1.04rem; color: var(--text); }
.contact-item p + p, .contact-item address + p { margin-top: 4px; }
.contact-item .link-arrow { margin-top: 14px; font-size: 0.88rem; }
.contact-item a.text-link { font-size: 1.12rem; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size 0.6s var(--ease); padding-bottom: 2px; }
.contact-item a.text-link:hover { background-size: 100% 1px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.form-card > p { color: var(--muted); margin: 12px 0 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.req { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1px solid rgba(20, 26, 39, 0.16); border-radius: 14px; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brass-deep); box-shadow: 0 0 0 4px rgba(201, 164, 106, 0.28); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.check input { flex: none; margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brass-deep); }
.form-card .btn { margin-top: 22px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: 14px; font-weight: 600; margin-bottom: 24px; font-size: 0.96rem; }
.notice--ok { background: #e6f1e9; color: #1d5a33; border: 1px solid #bfdcc8; }
.notice--err { background: #f8e7e4; color: #7a2a20; border: 1px solid #efc4bd; }
.captcha__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha__img { display: block; width: 180px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.captcha__refresh { font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--brass-deep); background: none; border: 0; padding: 8px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.captcha__refresh:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; border-radius: 4px; }
.field__help { font-size: 0.84rem; color: var(--muted); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 112px; display: grid; gap: 4px; border-left: 1px solid var(--line); padding-left: 20px; }
.legal__toc a { font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 8px 0; color: var(--muted); transition: color 0.3s, transform 0.5s var(--ease-out-expo); }
.legal__toc a:hover { color: var(--ink); transform: translateX(4px); }
.prose h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); margin: 0 0 22px; }
.prose h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 800; letter-spacing: -0.005em; margin: 30px 0 8px; color: var(--ink); }
.prose p { color: var(--text-soft); max-width: 74ch; }
.prose section + section { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.prose .legal-intro { font-size: 1.1rem; color: var(--ink); }

/* ---------- 404 ---------- */
.err-code { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 15rem); line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, 0.6); }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px); filter: blur(8px);
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), filter 1.1s var(--ease-out-expo);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="scale"] { transform: scale(0.96); }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .courts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values .value:nth-child(n + 4) { border-bottom: 1px solid var(--line); }
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(72vw, 340px); margin-top: 12px; }
  .scroll-cue { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .welcome { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .grid-3, .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > :last-child:nth-child(odd), .people-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .coming { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__media { aspect-ratio: 4 / 4.2; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; border-left: 0; padding-left: 0; grid-template-columns: repeat(2, max-content); gap: 4px 28px; }
  .quote-panel { grid-template-columns: 1fr; }
  .matters-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .stat { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 20px; border-bottom: 0; }
  .stat:not(:last-child) { border-right: 1px solid var(--line); padding-right: 14px; }
  .stat:not(:first-child) { padding-left: 14px; }
  .stat__num { min-width: 0; font-size: clamp(3rem, 9vw, 4.4rem); }
}

@media (max-width: 760px) {
  .courts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .court { min-height: 170px; padding: 24px 20px; }
  .court h3 { font-size: 1.12rem; margin-top: 28px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values .value:nth-child(n + 4) { border-bottom: 0; }
  .values .value:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .focus-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .member__cta { opacity: 1; transform: none; left: 12px; right: 12px; bottom: 12px; font-size: 0.8rem; }
  .member__media::after { opacity: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .practice-item__body { padding-left: 0; }
  .practice-item__no { width: 40px; }
  .practice-item summary { gap: 14px; }
  .work-row { grid-template-columns: 44px 1fr; }
  .apply-panel { flex-direction: column; align-items: flex-start; }
  .btn { white-space: normal; text-align: center; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .section-head .btn { width: auto; }
  .courts .court { border-right: 1px solid var(--line-dark); }
  .stat__num { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .stats .stat:not(:first-child) { padding-left: 10px; }
  .stats .stat:not(:last-child) { padding-right: 10px; }
  /* Leadership: Founder & Head of Chamber full width on top, the other two side by side below */
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .people-grid > :first-child { grid-column: 1 / -1; }
  .people-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .people-grid > :first-child .person__media { aspect-ratio: 4 / 5; }
  .people-grid > :not(:first-child) .person__media { aspect-ratio: 3 / 4; }
  .people-grid > :not(:first-child) .person__meta { padding-top: 14px; }
  .people-grid > :not(:first-child) .person__role { font-size: 0.64rem; letter-spacing: 0.12em; }
  .people-grid > :not(:first-child) .person h3 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  body { font-size: 0.97rem; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.08rem; }
  .brand__sub { display: none; }
  .hero__meta { gap: 8px 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .team-grid .member__cta { opacity: 1; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:not(:first-child), .stat:not(:last-child) { grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); border-right: 0; padding-inline: 0; }
  .stat__num { font-size: clamp(3rem, 14vw, 4rem); }
  .courts { grid-template-columns: 1fr; }
  .court { min-height: 0; }
  .footer-bottom { flex-direction: column; }
  .footer-wordmark { font-size: 8.4vw; }
  .contact-item a[href^="mailto"] { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track, .hero-art__ring, .hero__glow { animation: none !important; }
  .hero-art .draw { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero h1 .word { transform: none; }
}
