/* Chambers of Namit Saxena — monochrome system */
:root {
  --bg: #f7f6f2;
  --bg-warm: #faf9f6;
  --bg-soft: #efeee9;
  --bg-card: rgba(255, 255, 255, 0.62);
  --ink: #121212;
  --ink-2: #2c2c2a;
  --muted: #6b6b66;
  --muted-2: #8a8880;
  --line: #e2e0d8;
  --line-strong: #c9c6bc;
  --dark: #141413;
  --dark-2: #1e1e1c;
  --dark-3: #2a2a27;
  --dark-muted: #9a978e;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Apple-like radius scale */
  --r-xs: 0.55rem;
  --r-sm: 0.85rem;
  --r-md: 1.15rem;
  --r-lg: 1.6rem;
  --r-xl: 2rem;
  --r-2xl: 2.5rem;
  --r-pill: 999px;
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 14px 40px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 16px 48px rgba(0, 0, 0, 0.28);
  /* Shared page frame: hero, sections, footer, nav */
  --page-inset: 0.5rem;
  --nav-inset: 0.55rem;
  --content-pad-x: clamp(1.35rem, 5vw, 4.5rem);
  --section-pad-y: clamp(3.5rem, 7vw, 5.5rem);
  --section-pad-y-tight: clamp(2rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.locked, body.locked { overflow: hidden; height: 100%; }
html.disclaimer-ok, html.disclaimer-ok body { overflow: auto; height: auto; }
html.disclaimer-ok .disclaimer { display: none !important; }
html.disclaimer-ok body { /* unlocked */ }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.015rem;
  line-height: 1.65;
  color: var(--ink-2);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0,0,0,0.035), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0,0,0,0.03), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--content-pad-x);
}
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.section-head { margin-bottom: 2.25rem; max-width: 38rem; }
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.section {
  /* Same outer gutter as the hero module */
  padding: var(--section-pad-y) var(--page-inset);
  border-top: none;
}
.section.tight { padding: var(--section-pad-y-tight) var(--page-inset); }
.section.soft,
.section.dark {
  background: transparent;
}
.section.soft > .wrap,
.section.dark > .wrap {
  /* Full-bleed within page-inset — matches hero outer edges */
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 4.5vw, 3.75rem) var(--content-pad-x);
  box-shadow: var(--shadow-soft);
}
.section.soft > .wrap {
  background: var(--bg-soft);
}
.section.dark > .wrap {
  background: var(--dark);
  color: #eceae4;
  box-shadow: var(--shadow-dark);
}
.section.dark .label { color: var(--dark-muted); }
.section.dark .section-head h2 { color: #f7f6f2; }
.section.dark .section-head p { color: var(--dark-muted); }
.section.dark .section-link {
  color: #f7f6f2;
  border-bottom-color: rgba(247, 246, 242, 0.35);
}
.section.dark .section-link:hover { border-bottom-color: #f7f6f2; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ——— Disclaimer ——— */
.disclaimer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(20, 20, 19, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.disclaimer[hidden] {
  display: none;
}
.disclaimer.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.disclaimer-panel {
  width: min(640px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: var(--bg-warm);
  color: var(--ink-2);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-2xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  animation: rise 0.55s var(--ease);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.disclaimer-panel h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--ink);
}
.disclaimer-panel .lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.disclaimer-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
.disclaimer-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.disclaimer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}
.disclaimer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.disclaimer-actions .note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 18rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg-warm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover { background: var(--dark-3); color: var(--bg-warm); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.1);
}
.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background: #fff;
}
.btn-light {
  background: #f7f6f2;
  color: var(--ink);
  border-radius: var(--r-pill);
}
.btn-light:hover { background: #fff; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.28);
}
.section.dark .btn-line {
  color: #f7f6f2;
  border-color: rgba(247,246,242,0.4);
}
.section.dark .btn-line:hover { border-color: #f7f6f2; background: rgba(255,255,255,0.06); }
.section.dark .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #f7f6f2;
  border-color: rgba(247, 246, 242, 0.2);
}

/* ——— Header (floating, adaptive) ——— */
.site-header {
  position: fixed;
  /* Sit inside the hero inset — same left/right gutter as the rounded module */
  top: calc(var(--page-inset) + var(--nav-inset));
  left: calc(var(--page-inset) + var(--nav-inset));
  right: calc(var(--page-inset) + var(--nav-inset));
  transform: none;
  z-index: 50;
  width: auto;
  max-width: none;
  height: auto;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    color 0.35s var(--ease),
    top 0.35s var(--ease),
    left 0.35s var(--ease),
    right 0.35s var(--ease);
}
/* When past the hero, keep the same gutter so it still tracks the page inset */
.site-header.scrolled {
  top: var(--page-inset);
  left: var(--page-inset);
  right: var(--page-inset);
}
.site-header.on-dark {
  background: rgba(14, 14, 13, 0.55);
  border-color: rgba(247, 246, 242, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  color: #f2f0ea;
}
.site-header.on-light {
  background: rgba(247, 246, 242, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.site-header.scrolled.on-light {
  background: rgba(250, 249, 246, 0.94);
}
.site-header.scrolled.on-dark {
  background: rgba(14, 14, 13, 0.72);
}
.header-inner {
  width: 100%;
  margin-inline: auto;
  padding: 0.55rem 0.85rem 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { color: inherit; opacity: 0.85; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  font-size: 0.78rem;
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  padding: 0.45rem 0.55rem;
  border-radius: var(--r-pill);
}
.nav a:hover,
.nav a.is-active { opacity: 1; color: inherit; }
.site-header.on-light .nav a:hover,
.site-header.on-light .nav a.is-active {
  background: rgba(0, 0, 0, 0.05);
}
.site-header.on-dark .nav a:hover,
.site-header.on-dark .nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
}
.nav-cta {
  margin-left: 0.25rem;
  padding: 0.45rem 0.9rem !important;
  border: 1px solid currentColor;
  opacity: 1 !important;
  font-weight: 500;
}
.site-header.on-dark .nav-cta:hover {
  background: #f7f6f2 !important;
  color: #121212 !important;
  border-color: #f7f6f2;
}
.site-header.on-light .nav-cta:hover {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink);
}
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  opacity: 0.8;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Offset for floating pill on inner pages */
.page .page-main { padding-top: 5.5rem; }
.page-main { padding-inline: var(--page-inset); }
.page-main > .section,
.page-main > .section.tight {
  /* page-main already applies page-inset */
  padding-left: 0;
  padding-right: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  /* Tight inset rounded module — image fills the card edge-to-edge */
  width: auto;
  margin: var(--page-inset);
  min-height: calc(100svh - (var(--page-inset) * 2));
  display: grid;
  align-items: stretch;
  padding: 0;
  border-top: 0;
  overflow: hidden;
  background: #0e0e0d;
  color: #f2f0ea;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 86% center;
  filter: grayscale(1) contrast(1.1) brightness(0.82);
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero:hover .hero-media img { transform: scale(1.07); }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(10,10,9,0.9) 0%, rgba(10,10,9,0.72) 38%, rgba(10,10,9,0.18) 68%, rgba(10,10,9,0.22) 100%),
    linear-gradient(180deg, rgba(10,10,9,0.28) 0%, transparent 30%, transparent 70%, rgba(10,10,9,0.48) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100svh - (var(--page-inset) * 2));
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5.5rem, 10vw, 7rem) var(--content-pad-x) clamp(2.5rem, 6vw, 4rem);
  max-width: calc(38rem + (var(--content-pad-x) * 2));
}
.hero-brand {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #f7f6f2;
  font-weight: 400;
}
.hero-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.62);
  font-weight: 500;
}
.hero-lead {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: #f2f0ea;
  max-width: 28rem;
}
.hero-support {
  margin: 1rem 0 0;
  color: rgba(242, 240, 234, 0.68);
  max-width: 28rem;
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero .btn-line {
  color: #f7f6f2;
  border-color: rgba(247, 246, 242, 0.45);
}
.hero .btn-line:hover {
  border-color: #f7f6f2;
  background: rgba(255, 255, 255, 0.06);
  color: #f7f6f2;
}
.hero .btn-light:hover {
  background: #fff;
  color: var(--ink);
}
.hero.is-ready .hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) forwards;
}
.hero.is-ready .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero.is-ready .hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero.is-ready .hero-copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero.is-ready .hero-copy > *:nth-child(4) { animation-delay: 0.3s; }
.hero.is-ready .hero-copy > *:nth-child(5) { animation-delay: 0.38s; }

/* ——— About ——— */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.about-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.about-title {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.about-copy {
  max-width: 40rem;
}
.about-copy > p,
.page-prose p {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-2);
  text-wrap: pretty;
}
.about-copy > p:first-of-type,
.page-prose > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--ink);
}
.about-copy > p:last-child,
.page-prose p:last-child { margin-bottom: 0; }
.about-main .section-link {
  margin-top: 1.35rem;
}
.about-aside {
  min-width: 0;
  padding-top: 0.15rem;
}
.about-aside .label {
  margin-bottom: 1rem;
}
.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 36rem;
}
.quiet { color: var(--muted); font-size: 0.9rem; }

.founder-band {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.founder-portrait {
  width: 7.5rem;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: var(--shadow-soft);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.45s var(--ease), transform 0.45s var(--ease);
}
.founder-band:hover .founder-portrait img {
  filter: grayscale(0.35) contrast(1.05);
  transform: scale(1.03);
}
.founder-body {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  min-width: 0;
}
.founder-meta .label {
  margin-bottom: 0.55rem;
}
.founder-meta h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.founder-role {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 22rem;
}
.founder-bio p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}
.founder-bio p:last-child { margin-bottom: 0; }

/* about page founder card */
.founder {
  padding: 1.5rem 1.35rem;
  border-top: none;
  margin-top: 2.25rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.founder h3 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.founder p {
  margin: 0 0 0.95rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}
.practice-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.35rem 0 0;
}
.practice-areas li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
}
.practice-areas li:nth-last-child(-n + 2) { border-bottom: 0; }
.practice-areas li span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.practice-areas li em {
  font-style: normal;
  font-weight: 500;
}

/* ——— Empanelments ——— */
.emp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.emp-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}
.emp-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.emp-role {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.emp-org {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.section-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
}
.section-link:hover { border-bottom-color: var(--ink); }

/* ——— Inner pages ——— */
.page-hero {
  padding: 1.5rem 0 0.5rem;
}
.page-main:not(.page-main--dark) > .section.tight > .wrap {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) var(--content-pad-x);
  box-shadow: var(--shadow-soft);
}
.page-main--dark > .section.tight > .wrap {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) var(--content-pad-x);
  box-shadow: var(--shadow-dark);
}
.page-hero .label { margin-bottom: 0.65rem; }
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 400;
  max-width: 18ch;
}
.page-intro {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.back-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}
.page-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.page-main--dark,
.page-main--dark .page-title,
.page-main--dark .page-intro {
  color: #eceae4;
}
.page-main--dark .page-hero .label { color: var(--dark-muted); }
.page-main--dark .page-title { color: #f7f6f2; }
.page-main--dark .back-link {
  color: var(--dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.page-main--dark .back-link:hover {
  color: #f7f6f2;
  background: rgba(255, 255, 255, 0.1);
}
.books-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.75rem 1.25rem;
}
.page-offices {
  border-top: none;
  margin-top: 2rem;
}
.page-offices .office {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.06);
}
.page-offices .office:hover {
  background: #fff;
}
.page-offices .office .city { color: var(--ink); }
.page-offices .office .tag { color: var(--muted); }
.page-offices .office .addr { color: var(--muted); }
.page-offices .office.primary {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}
.page-offices .office.primary .tag { color: var(--ink-2); }

/* ——— Practice / cases ——— */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
  padding: 0.4rem;
  border-bottom: none;
  background: rgba(0, 0, 0, 0.035);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.practice-desc {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 46rem;
  font-size: 0.98rem;
  line-height: 1.7;
}
.case-count {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 0.85rem;
}
.case-list {
  border-top: none;
  display: grid;
  gap: 0.65rem;
}
.case-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: none;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-md);
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.case-item:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.case-item .title {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
}
.case-item .cite {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.case-item .meta {
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted-2);
  white-space: nowrap;
}
.case-item a.pdf {
  display: inline-flex;
  margin-top: 0.45rem;
  font-size: 0.76rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--r-pill);
  padding: 0.28rem 0.7rem;
  background: rgba(255, 255, 255, 0.7);
}
.case-item a.pdf:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background: #fff;
}
.more-wrap { margin-top: 1.5rem; }

/* ——— Books ——— */
.books-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.books-rail::-webkit-scrollbar { height: 4px; }
.books-rail::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--r-pill);
}
.book { scroll-snap-align: start; }
.book-cover-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-md);
  overflow: hidden;
}
.book-cover-link.is-static { cursor: default; }
.book-cover {
  aspect-ratio: 2 / 3;
  background: var(--dark-2);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), filter 0.45s ease;
  overflow: hidden;
}
.book.has-link:hover .book-cover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  filter: grayscale(0.35) brightness(0.55);
}
.book-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  background: #f7f6f2;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-lift);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.book.has-link:hover .book-cta,
.book.has-link:focus-within .book-cta {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.book-cover.fallback {
  display: grid;
  place-content: end start;
  padding: 1rem;
  color: #eceae4;
  background: linear-gradient(160deg, #2a2a27 0%, #141413 100%);
}
.book-cover.fallback .pub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 0.5rem;
}
.book-cover.fallback .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.15;
}
.book-meta { margin-top: 0.85rem; }
.book-meta .title {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.35;
}
.book-meta .edition {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.book-meta .role {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* ——— Media ——— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
}
.filter {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: var(--dark-muted);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.filter[aria-pressed="true"],
.filter:hover {
  color: #f7f6f2;
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}
.filter[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.video {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-lg);
  padding: 0.45rem;
  margin: -0.45rem;
  transition: background 0.25s ease;
}
.video:hover { background: rgba(255, 255, 255, 0.04); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark-3);
  border-radius: var(--r-md);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: transform 0.55s var(--ease), filter 0.55s ease;
}
.video:hover .video-thumb img {
  transform: scale(1.04);
  filter: grayscale(0.35) contrast(1.05) brightness(1);
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  pointer-events: none;
}
.video-play {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.video-play svg { width: 10px; height: 10px; fill: #fff; margin-left: 1px; }
.video-body { padding: 0.85rem 0.35rem 0.35rem; }
.video-cat {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 0.35rem;
}
.video-title {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #f0eee8;
}
.video-author {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--dark-muted);
}

/* ——— Articles / News ——— */
.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.pub-block {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-xl);
  padding: 1.15rem 1.15rem 0.65rem;
  box-shadow: var(--shadow-soft);
}
.pub-block + .pub-block { margin-top: 0; }
.pub-name {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.article-list li,
.news-list li { border-bottom: none; }
.article-list a,
.news-list a {
  display: block;
  padding: 0.85rem 0.65rem;
  margin: 0 -0.65rem;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.article-list a:hover,
.news-list a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}
.article-list .t,
.news-list .t {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
}
.news-list {
  display: grid;
  gap: 0.65rem;
}
.news-list .row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: none;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-md);
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.news-list .row:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.news-list .yr {
  font-size: 0.8rem;
  color: var(--muted-2);
  padding-top: 0.15rem;
}
.news-list .outlet {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ——— Offices ——— */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  border-top: none;
}
.office {
  padding: 1.5rem 1.25rem;
  border-bottom: none;
  border-right: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 246, 242, 0.1);
  border-radius: var(--r-lg);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.office:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.office:last-child { border-right: none; }
.office .city {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: #f7f6f2;
  margin: 0 0 0.4rem;
  font-weight: 400;
}
.office .tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.office .addr {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(247, 246, 242, 0.62);
}
.office.primary .tag { color: #d8d5cc; }
.office.primary { background: rgba(255, 255, 255, 0.08); }

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-grid p { margin: 0 0 1rem; color: var(--muted); max-width: 32rem; }
.contact-details {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.contact-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.3rem;
}
.contact-details dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.contact-details a:hover { border-bottom-color: var(--ink); }

/* ——— Footer ——— */
.site-footer {
  padding: 2rem var(--page-inset) 2.75rem;
  border-top: none;
  font-size: 0.82rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem var(--content-pad-x);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
}
.footer-inner {
  display: contents;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  :root {
    --page-inset: 0.4rem;
    --nav-inset: 0.45rem;
  }
  .site-header {
    border-radius: var(--r-xl);
  }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem 0.85rem 0.85rem;
    background: var(--bg-warm);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  }
  .nav.open a {
    padding: 0.8rem 0.55rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    opacity: 1;
    color: var(--ink);
  }
  .nav.open .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
    border: 1px solid var(--ink) !important;
  }
  .nav-toggle { display: grid; }
}

@media (max-width: 980px) {
  .hero {
    margin: var(--page-inset);
    min-height: calc(100svh - (var(--page-inset) * 2));
    border-radius: var(--r-lg);
  }
  .hero-grid { min-height: calc(100svh - (var(--page-inset) * 2)); }
  .hero-media img { object-position: 88% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10,10,9,0.5) 0%, rgba(10,10,9,0.28) 32%, rgba(10,10,9,0.72) 66%, rgba(10,10,9,0.92) 100%),
      linear-gradient(90deg, rgba(10,10,9,0.5), transparent 72%);
  }
  .hero-copy {
    max-width: none;
    justify-content: flex-end;
    padding-block: 5.25rem 2.5rem;
  }
  .about-layout,
  .contact-grid,
  .split-cols,
  .page-layout,
  .founder-body { grid-template-columns: 1fr; }
  .about-title { max-width: none; }
  .founder-band {
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 1.15rem;
  }
  .founder-portrait { width: 5.75rem; }
  .emp-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .offices-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --content-pad-x: clamp(1.1rem, 5vw, 1.5rem); }
  .practice-areas { grid-template-columns: 1fr; }
  .practice-areas li:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
  .practice-areas li:last-child { border-bottom: 0; }
  .emp-grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; }
  .case-item .meta { text-align: left; }
  .video-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .founder-band { grid-template-columns: 1fr; }
  .founder-portrait {
    width: 6.5rem;
  }
  
  .hero-brand { font-size: clamp(2.35rem, 11vw, 3.1rem); }
  .disclaimer-actions { flex-direction: column; align-items: stretch; }
  .page-title { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
