/* ═══════════════════════════════════════════════════════════════
   THE ADVISORY PLLC — Global Stylesheet
   Shared across all pages
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --charcoal:   #111111;
  --near-black: #0D0D0D;
  --dark-hero:  #0A0A0A;
  --ivory:      #FAF8F5;
  --stone:      #C9C0B0;
  --gold:       #B8965A;
  --gold-light: rgba(184,150,90,0.15);
  --warm-white: #F5F3EF;
  --body-text:  #2C2C2C;
  --muted:      #7A7570;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --max-w:      1200px;
  --section-v:  140px;
  --section-h:  60px;
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--body-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; }

/* ─── LOADING SCREEN ──────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  animation: loader-fade-in 0.8s ease 0.2s forwards;
}
.loader-wordmark sup {
  font-size: 9px;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.1em;
  vertical-align: super;
  margin-left: 3px;
  opacity: 0.6;
}
.loader-bar-track {
  width: 120px;
  height: 1px;
  background: rgba(201,192,176,0.15);
  overflow: hidden;
  opacity: 0;
  animation: loader-fade-in 0.5s ease 0.4s forwards;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  animation: loader-bar 1.2s ease 0.5s forwards;
}
@keyframes loader-fade-in {
  to { opacity: 1; }
}
@keyframes loader-bar {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ─── NAVIGATION ──────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--section-h);
  background: #000;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
#site-nav.scrolled {
  background: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  padding: 16px var(--section-h);
}
#site-nav.nav-light {
  background: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  padding: 16px var(--section-h);
}

/* Logo lockup */
.nav-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  object-fit: contain;
}
/* Real PNG logo — show natural gold colors on black nav, no filter */
img.nav-logo-mark {
  filter: none;
  opacity: 1;
}
#site-nav.scrolled img.nav-logo-mark,
#site-nav.nav-light img.nav-logo-mark {
  filter: none;
  opacity: 1;
}
.nav-logo-mark path,
.nav-logo-mark rect,
.nav-logo-mark polygon,
.nav-logo-mark circle {
  transition: fill 0.35s ease, stroke 0.35s ease;
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.35s ease;
  line-height: 1;
}
.nav-wordmark sup {
  font-size: 8px;
  letter-spacing: 0.1em;
  vertical-align: super;
  margin-left: 3px;
  font-family: var(--sans);
  font-weight: 400;
  opacity: 0.65;
}
#site-nav.scrolled .nav-wordmark,
#site-nav.nav-light .nav-wordmark { color: #fff; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links li a {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color 0.22s ease;
  position: relative;
  padding-bottom: 2px;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }
.nav-links li a:hover { color: #fff; }
.nav-links li a.active { color: #fff; }
#site-nav.scrolled .nav-links li a,
#site-nav.nav-light .nav-links li a { color: rgba(255,255,255,0.75); }
#site-nav.scrolled .nav-links li a:hover,
#site-nav.nav-light .nav-links li a:hover { color: #fff; }
#site-nav.scrolled .nav-links li a.active,
#site-nav.nav-light .nav-links li a.active { color: #fff; }

/* ─── NAV DROPDOWN (Practice Areas) ──────────────────────────── */
.nav-links li.nav-dropdown {
  position: relative;
}
/* Match other nav links — chevron via ::before (no layout shift) */
.nav-dropdown-trigger {
  position: relative;
  z-index: 3;
  padding-right: 14px;
}
.nav-dropdown-trigger::before {
  content: '▾';
  position: absolute;
  right: 0;
  top: 50%;
  width: auto;
  height: auto;
  background: none;
  font-size: 10px;
  line-height: 1;
  color: rgba(201,192,176,0.7);
  opacity: 1;
  transform: translateY(-50%);
  transition: color 0.22s ease;
}
/* Gold underline — same as .nav-links li a::after */
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger.active::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown[data-open="true"] .nav-dropdown-trigger::after {
  transform: scaleX(1);
}
.nav-dropdown:hover .nav-dropdown-trigger::before,
.nav-dropdown:focus-within .nav-dropdown-trigger::before,
.nav-dropdown[data-open="true"] .nav-dropdown-trigger::before,
.nav-dropdown-trigger:hover::before {
  color: var(--gold);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - (var(--section-h) * 2)));
  background: rgba(8,8,8,0.96);
  border: 1px solid rgba(184,150,90,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.55);
  padding: 14px 22px 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(10px);
}
/* Invisible bridge — keeps hover path into panel; trigger z-index sits above for clicks */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  transform: translateY(-100%);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown[data-open="true"] .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: start;
  background: rgba(201,192,176,0.08);
}
.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-dropdown-primary {
  background: rgba(0,0,0,0.25);
  padding: 18px 18px 16px;
  position: relative;
  flex: 0 0 auto;
}
.nav-dropdown-primary > a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-dropdown-primary > a:hover { color: #fff; }
.nav-dropdown-primary > a span {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184,150,90,0.85);
}
.nav-dropdown-secondary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.nav-dropdown-secondary a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(201,192,176,0.75);
  transition: color 0.22s ease, transform 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-dropdown-secondary a::before {
  content: '';
  width: 14px;
  height: 1px;
  background: rgba(184,150,90,0.45);
  opacity: 0.6;
}
.nav-dropdown-secondary a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* Nav right controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-search-btn {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.22s;
}
.nav-search-btn:hover { color: var(--gold); }
#site-nav.scrolled .nav-search-btn,
#site-nav.nav-light .nav-search-btn { color: rgba(255,255,255,0.75); }
#site-nav.scrolled .nav-search-btn:hover,
#site-nav.nav-light .nav-search-btn:hover { color: #fff; }

#site-nav .nav-side-cta,
.nav-side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff !important;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
  padding: 10px 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
#site-nav .nav-side-cta:hover,
.nav-side-cta:hover {
  background: rgba(184,150,90,0.16);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(184,150,90,0.18);
  color: #fff !important;
}
.nav-mobile-side-cta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,150,90,0.35);
  padding: 12px 18px;
}
.nav-mobile-side-cta:hover { color: #fff; border-color: var(--gold); }

/* Hamburger — pixel-aligned bars (visible ≤ laptop / 768px) */
.nav-hamburger {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  position: absolute;
  left: 0;
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 0;
  transform-origin: 50% 50%;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease, top 0.3s ease;
  backface-visibility: hidden;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 7px; }
.nav-hamburger span:nth-child(3) { top: 14px; }
.nav-hamburger.open span:nth-child(1),
.nav-hamburger.open span:nth-child(3) { top: 7px; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg); }
#site-nav.scrolled .nav-hamburger span,
#site-nav.nav-light .nav-hamburger span { background: rgba(255,255,255,0.8); }

/* Mobile menu */
.nav-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.nav-mobile-menu a {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  transition: color 0.22s;
}
.nav-mobile-menu a:hover { color: var(--gold); }

/* Mobile Practice Areas accordion */
.mobile-accordion {
  width: min(520px, calc(100vw - (var(--section-h) * 2)));
  text-align: center;
}
.mobile-accordion-trigger {
  width: 100%;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-accordion-trigger:hover { color: var(--gold); }
.mobile-accordion-trigger::after {
  content: '▾';
  font-size: 14px;
  color: rgba(201,192,176,0.55);
  transform: translateY(-2px);
  transition: transform 0.22s ease, color 0.22s ease;
}
.mobile-accordion-trigger[aria-expanded="true"]::after {
  transform: translateY(-2px) rotate(180deg);
  color: rgba(184,150,90,0.9);
}
.mobile-accordion-panel {
  margin-top: 18px;
  border-top: 1px solid rgba(201,192,176,0.16);
  padding-top: 20px;
  display: none;
}
.mobile-accordion-panel.open { display: block; }
.mobile-accordion-panel a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,192,176,0.72);
  display: block;
  padding: 10px 0;
}
.mobile-accordion-panel a:hover { color: #fff; }
.mobile-accordion-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,192,176,0.12);
}
.mobile-accordion-group-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.mobile-accordion-group-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.mobile-accordion-group-links a {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(201,192,176,0.65);
  text-transform: none;
  padding: 6px 0;
}
.mobile-accordion-group-links a:hover { color: rgba(255,255,255,0.88); }
.nav-mobile-close {
  position: absolute;
  top: 28px; right: 28px;
  color: var(--stone);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.22s;
}
.nav-mobile-close:hover { color: #fff; }

/* ─── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  background: var(--charcoal);
  padding: 180px var(--section-h) 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,150,90,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.page-hero-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  color: #fff;
  max-width: 700px;
}
.page-hero p {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  max-width: 520px;
  margin-top: 24px;
}
.page-hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,90,0.35) 30%, rgba(184,150,90,0.35) 70%, transparent);
}

/* ─── SECTION UTILITIES ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-label--light { color: var(--stone); }
.section-label--muted { color: var(--muted); }

.section-divider {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: var(--stone);
  opacity: 0.25;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ─── PILL BUTTON ─────────────────────────────────────────────── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  border-radius: 40px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}
.pill-btn:hover { background: var(--gold); color: #fff; }
.pill-btn--dark {
  color: var(--body-text);
  border-color: rgba(44,44,44,0.4);
}
.pill-btn--dark:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.pill-btn--gold { background: var(--gold); color: #fff; }
.pill-btn--gold:hover { background: #a07d48; border-color: #a07d48; }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ─── TRUST STRIP / MARQUEE ───────────────────────────────────── */
.trust-strip {
  background: #141414;
  height: 68px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0 36px;
}
.marquee-dot { color: var(--gold); opacity: 0.5; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
#site-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(201,192,176,0.1);
  padding: 48px var(--section-h);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-logo-mark {
  width: 26px;
  height: 26px;
  opacity: 0.75;
  object-fit: contain;
  filter: none;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(201,192,176,0.25);
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,192,176,0.38);
  transition: color 0.22s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.65); }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-right a {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201,192,176,0.35);
  transition: color 0.22s;
}
.footer-right a:hover { color: rgba(255,255,255,0.65); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  color: rgba(201,192,176,0.32) !important;
  transition: color 0.22s !important;
  display: flex;
}
.footer-social a:hover { color: var(--gold) !important; }

/* ─── LINKEDIN — HIDDEN ───────────────────────────────────────── */
/* Hide all LinkedIn references site-wide until URLs are ready    */
.footer-social { display: none !important; }
.attorney-linkedin { display: none !important; }

/* ─── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.breadcrumb a, .breadcrumb span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.22s;
}
.breadcrumb a:hover { color: var(--stone); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); font-size: 9px; }
.breadcrumb span:last-child { color: var(--stone); }

/* ─── BACK LINK ───────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.22s;
  margin-bottom: 48px;
}
.back-link:hover { gap: 12px; }

/* ─── TEAM PORTRAITS — editorial B&W ─────────────────────────── */
.attorney-photo,
.attorney-bio-photo,
.team-card-photo img,
.attorney-avatar img {
  filter: grayscale(100%) contrast(1.08) brightness(1.03);
  transition: filter 0.55s ease, transform 0.55s ease;
}

.attorney-photo-wrap,
.team-card-photo,
.portrait-slot {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.attorney-photo-wrap .attorney-photo,
.team-card-photo img,
.portrait-slot .attorney-bio-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: unset;
}

.attorney-avatar {
  position: relative;
  overflow: hidden;
}

.attorney-photo-wrap::after,
.team-card-photo::after,
.portrait-slot::after,
.attorney-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.04) 0%,
    rgba(17, 17, 17, 0.12) 55%,
    rgba(17, 17, 17, 0.18) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease;
}

.attorney-full-card:hover .attorney-photo,
.team-card:hover .team-card-photo img,
.attorney-card:hover .attorney-avatar img {
  filter: grayscale(0%) contrast(1.05) brightness(1.02);
  transform: scale(1.03);
}

.attorney-full-card:hover .attorney-photo-wrap::after,
.team-card:hover .team-card-photo::after,
.attorney-card:hover .attorney-avatar::after {
  opacity: 0.45;
}

/* ─── MEET THE TEAM (capabilities) ───────────────────────────── */
.team-section {
  padding: var(--section-v) var(--section-h);
  background: var(--ivory);
  border-top: 1px solid rgba(201,192,176,0.25);
}
.team-section-inner { max-width: var(--max-w); margin: 0 auto; }
.team-section-header { max-width: 820px; margin-bottom: 56px; }
.team-section-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--charcoal);
  margin-top: 12px;
  margin-bottom: 18px;
}
.team-section-header p {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.team-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  overflow: hidden;
  min-height: 100%;
}
.team-card:hover .team-card-photo img {
  transform: scale(1.03);
}
.team-card-photo {
  background: var(--ivory);
  flex-shrink: 0;
}
.team-card-photo img.is-missing,
.portrait-slot .attorney-bio-photo.is-missing { display: none; }
.team-card-info {
  padding: 28px 28px 32px;
  border-top: 1px solid rgba(201,192,176,0.25);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}
.team-card:hover .team-card-info { background: var(--ivory); }
.team-card-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.15;
}
.team-card-role {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-card-focus {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.team-card-cta {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.22s;
}
.team-card:hover .team-card-cta { gap: 10px; }

/* ─── ATTORNEY PROFILE (standalone + inline) ─────────────────── */
.attorney-profile-page .attorney-bio-section--solo {
  padding-top: 160px;
}
.attorney-bio-section {
  padding: var(--section-v) var(--section-h);
  background: var(--ivory);
  border-top: 1px solid rgba(201,192,176,0.25);
}
.attorney-bio-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.attorney-bio-sidebar { position: sticky; top: 100px; }
.portrait-slot {
  background: var(--ivory);
  margin-bottom: 32px;
  border: 1px solid rgba(201,192,176,0.2);
}
.attorney-bio-photo {
  display: block;
}
.bio-sidebar-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 8px;
}
.bio-sidebar-role {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.bio-sidebar-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.bio-sidebar-contact a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.22s;
}
.bio-sidebar-contact a:hover { color: var(--gold); }
.bio-sidebar-contact span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}
.bio-sidebar-divider {
  height: 1px;
  background: rgba(201,192,176,0.35);
  margin: 20px 0;
}
.bio-sidebar-credentials h4 {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.bio-sidebar-credentials ul { display: flex; flex-direction: column; gap: 8px; }
.bio-sidebar-credentials li {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.bio-sidebar-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.bio-section-title {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.bio-body-text {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--body-text);
  margin-bottom: 20px;
}
.bio-pull-quote {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--charcoal);
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 44px 0;
}
.bio-divider {
  height: 1px;
  background: rgba(201,192,176,0.3);
  margin: 44px 0;
}
.bio-matters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.bio-matter-item {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(201,192,176,0.25);
}
.bio-matter-category {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.bio-matter-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .team-card:nth-child(4) { grid-column: span 1; }
  .attorney-bio-inner { grid-template-columns: 260px 1fr; gap: 50px; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
  .attorney-profile-page .attorney-bio-section--solo { padding-top: 120px; }
  .attorney-bio-inner { grid-template-columns: 1fr; }
  .attorney-bio-sidebar { position: static; }
  .bio-matters-grid { grid-template-columns: 1fr; }
  .bio-pull-quote { font-size: 22px; }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-h: 40px; --section-v: 100px; }
}
@media (max-width: 1100px) {
  .nav-side-cta {
    font-size: 8px;
    letter-spacing: 0.1em;
    padding: 8px 10px;
  }
}
@media (max-width: 768px) {
  :root { --section-h: 24px; --section-v: 80px; }
  #site-nav { padding: 20px var(--section-h); }
  #site-nav.scrolled, #site-nav.nav-light { padding: 14px var(--section-h); }
  .nav-links { display: none; }
  .nav-side-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-dropdown-panel { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-right { align-items: flex-start; }
  .page-hero { padding: 140px var(--section-h) 80px; }
}
