/* ==========================================================================
   D.C. Law PLLC — design system
   Editorial, oversized typography. Navy ink on warm paper, brass accents.
   Fonts: Archivo (display + UI), Instrument Serif (italic accents)
   ========================================================================== */

:root {
  --ink: #10141d;
  --navy: #16233a;
  --navy-deep: #0e1726;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --white: #ffffff;
  --brass: #a8823c;
  --brass-bright: #c9a45c;
  --gold-soft: #d9bd82;
  --line: rgba(16, 20, 29, 0.14);
  --line-light: rgba(244, 241, 234, 0.18);
  --muted: rgba(16, 20, 29, 0.66);
  --muted-light: rgba(244, 241, 234, 0.72);

  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --wrap: 1240px;
  --wrap-narrow: 760px;

  --step-hero: clamp(2.85rem, 9vw, 6.8rem);
  --step-h2: clamp(2.1rem, 5.4vw, 4rem);
  --step-h3: clamp(1.3rem, 2.6vw, 1.7rem);
  --step-lede: clamp(1.08rem, 1.7vw, 1.32rem);

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: var(--step-hero); font-weight: 750; font-stretch: 92%; }
h2 { font-size: var(--step-h2); font-weight: 730; font-stretch: 94%; }
h3 { font-size: var(--step-h3); line-height: 1.2; letter-spacing: -0.015em; }

p { margin: 0 0 1.1rem; }

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brass);
}

.on-dark .serif-accent, .dark .serif-accent { color: var(--gold-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin: 0 0 1.1rem;
}

.lede { font-size: var(--step-lede); line-height: 1.55; color: var(--muted); max-width: 58ch; }

.dark .lede, .on-dark .lede { color: var(--muted-light); }

.section { padding: var(--space-section) 0; }
.section--hairline { border-top: 1px solid var(--line); }
.section--dark { background: var(--navy); color: var(--paper); }
.section--deep { background: var(--navy-deep); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.btn--brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
}
.btn--brass:hover { background: #8f6e31; border-color: #8f6e31; color: var(--white); }

.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 76px;
}

.site-header__logo {
  font-weight: 760;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.site-header__logo .serif-accent { font-size: 1.18em; }

.site-header__logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }

.site-nav a {
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--brass);
  transition: width 0.22s ease;
}

.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }

.btn--header-call { padding: 0.7rem 1.25rem; font-size: 0.9rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  flex-shrink: 0;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */

.hero {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(168, 130, 60, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(201, 164, 92, 0.07), transparent 55%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 0;
}

.hero h1 { margin-bottom: 1.4rem; }

.hero .lede { color: var(--muted-light); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 3rem; }

.hero-media { position: relative; align-self: stretch; min-height: 420px; }

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 90px -60px rgba(22, 35, 58, 0.55);
  pointer-events: none;
}

.hero-media--framed { min-height: 0; }
.hero-media--framed img { position: relative; inset: auto; height: auto; }

/* Marquee / trust band ----------------------------------------------------- */

.trust-band {
  border-top: 1px solid var(--line-light);
  background: var(--navy-deep);
  color: var(--paper);
}

.trust-band__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
}

.trust-band__row > div {
  background: var(--navy-deep);
  padding: 1.6rem 1.4rem;
}

.trust-band strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 740;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.45rem;
  color: var(--gold-soft);
}

.trust-band span { font-size: 0.88rem; color: var(--muted-light); line-height: 1.45; display: block; }

/* Practice index (numbered editorial list) -------------------------------- */

.practice-index { border-top: 1px solid var(--line); }

.practice-index__item {
  display: grid;
  grid-template-columns: auto 1fr minmax(0, auto) auto;
  align-items: baseline;
  gap: clamp(1rem, 3.5vw, 2.6rem);
  padding: clamp(1.4rem, 3vw, 2.1rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.25s ease;
}

.practice-index__item:hover { padding-left: clamp(0.4rem, 1.5vw, 1rem); }

.practice-index__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--brass);
  min-width: 2.2ch;
}

.practice-index__name {
  font-size: clamp(1.55rem, 4.2vw, 2.9rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.practice-index__hint {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 30ch;
  text-align: right;
  display: block;
}

.practice-index__arrow {
  font-size: 1.4rem;
  color: var(--brass);
  transition: transform 0.25s ease;
}

.practice-index__item:hover .practice-index__arrow { transform: translateX(6px); }

/* Cards -------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card h3 { margin-bottom: 0.2rem; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

.card .card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--brass);
}

.card .card__link:hover { text-decoration: underline; }

.dark .card { background: rgba(244, 241, 234, 0.04); border-color: var(--line-light); }
.dark .card p { color: var(--muted-light); }

/* Split sections ------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 6vw, 5rem);
  align-items: center;
}

.split--media-left { grid-template-columns: 0.9fr 1.1fr; }

.split-media { position: relative; }

.split-media img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.split-media--frame::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2.5vw, 1.6rem) auto auto clamp(1rem, 2.5vw, 1.6rem);
  width: 100%; height: 100%;
  border: 1.5px solid var(--brass);
  z-index: -1;
}

.split-media--frame { margin-left: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: clamp(1rem, 2.5vw, 1.6rem); }

/* Stat / feature list -------------------------------------------------------- */

.feature-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }

.feature-list li {
  padding: 1rem 0 1rem 1.9rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.dark .feature-list li { border-color: var(--line-light); }

.feature-list li::before {
  content: "—";
  color: var(--brass);
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 1rem;
}

/* Quote / testimonial --------------------------------------------------------- */

.bigquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}

.bigquote::before { content: "\201C"; color: var(--brass); }
.bigquote::after { content: "\201D"; color: var(--brass); }

.quote-attr {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.testimonial {
  border-left: 2px solid var(--brass);
  padding: 0.4rem 0 0.4rem clamp(1.2rem, 2.5vw, 1.8rem);
}

.testimonial p { font-size: 1.02rem; }

/* Attorneys ------------------------------------------------------------------- */

.attorney-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.attorney-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.attorney-card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* Full-bleed image at top; every text row gets a consistent inset */
.attorney-card > :not(img) { padding-left: clamp(1.4rem, 2vw, 1.7rem); padding-right: clamp(1.4rem, 2vw, 1.7rem); }

.attorney-card h3 { margin: 1.5rem 0 0.25rem; }

.attorney-card .attorney-role { margin: 0 0 0.85rem; }

.attorney-card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

.attorney-list { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

.attorney-list__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.dark .attorney-list__row { border-color: var(--line-light); }

.attorney-list__row strong { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.01em; }
.attorney-list__row span { font-size: 0.9rem; color: var(--muted); }
.dark .attorney-list__row span { color: var(--muted-light); }

a.attorney-list__row { text-decoration: none; transition: padding-left 0.22s ease; }
a.attorney-list__row:hover { padding-left: 0.5rem; }
a.attorney-list__row:hover strong { color: var(--brass); }
a.attorney-list__row strong::after { content: " \2192"; color: var(--brass); opacity: 0; transition: opacity 0.22s ease; }
a.attorney-list__row:hover strong::after { opacity: 1; }

/* Attorney bio pages */
.bio-credentials { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.bio-credentials li {
  padding: 0.85rem 0 0.85rem 1.9rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.95rem;
}
.bio-credentials li:last-child { border-bottom: 0; }
.bio-credentials li::before {
  content: "—";
  color: var(--brass);
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 0.85rem;
}

/* Role badge: small caps with a brass rule */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.3rem;
}
.role-badge::before { content: ""; width: 36px; height: 1px; background: var(--brass); flex-shrink: 0; }
.role-badge--light { color: var(--brass); }

/* Serif italic role in lists and cards */
.attorney-role {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--brass);
  margin-top: 0.15rem;
}
.dark .attorney-role { color: var(--gold-soft); }

/* Bio hero: portrait inside the dark hero */
.bio-hero { padding-bottom: 0; }
.bio-hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.bio-hero__media { position: relative; margin: 0 clamp(1rem, 2.5vw, 1.6rem) 0 0; }
.bio-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.bio-hero__media::after {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2.5vw, 1.6rem) calc(-1 * clamp(1rem, 2.5vw, 1.6rem)) calc(-1 * clamp(1rem, 2.5vw, 1.6rem)) clamp(1rem, 2.5vw, 1.6rem);
  border: 1.5px solid var(--brass);
  pointer-events: none;
}

.bio-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
}
.bio-hero__meta span {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-light);
  margin-bottom: 0.4rem;
}
.bio-hero__meta strong {
  font-size: 0.98rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  color: var(--paper);
}

/* Bio body: prose + sticky credentials card */
.bio-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.bio-aside {
  position: sticky;
  top: 106px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.bio-aside h2 {
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin: 0 0 0.4rem;
}
.bio-aside .btn { width: 100%; text-align: center; margin-top: 1.5rem; }

/* Attorney hub cards */
a.attorney-card { text-decoration: none; transition: transform 0.22s ease, box-shadow 0.22s ease; }
a.attorney-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px -20px rgba(16, 20, 29, 0.4); }
a.attorney-card .attorney-card__cta {
  display: block;
  margin-top: auto;
  padding-top: 1.1rem;
  padding-bottom: 1.6rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--brass);
}
a.attorney-card:hover .attorney-card__cta { text-decoration: underline; }

@media (max-width: 980px) {
  .bio-hero__grid { grid-template-columns: 1fr; }
  .bio-hero__media { order: -1; max-width: 420px; }
  .bio-hero__meta { grid-template-columns: 1fr 1fr; }
  .bio-body { grid-template-columns: 1fr; }
  .bio-aside { position: static; }
}

/* Page hero (interior pages) ---------------------------------------------------- */

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }

.page-hero--dark {
  background: var(--navy);
  color: var(--paper);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-hero--dark .breadcrumbs, .dark .breadcrumbs { color: var(--muted-light); }

.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass); }
.breadcrumbs span { opacity: 0.5; }

/* Prose (blog + long-form) -------------------------------------------------------- */

.prose { font-size: 1.0625rem; }

.prose h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 2.6rem 0 1rem;
}

.prose h3 { margin: 2rem 0 0.7rem; }

.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; }

.prose a { color: var(--brass); text-decoration-color: rgba(168, 130, 60, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brass); }

/* Buttons inside prose must keep their own colors, not the brass link color */
.prose a.btn { color: var(--ink); text-decoration: none; }
.prose a.btn:hover { color: var(--paper); }
.prose a.btn--brass, .prose a.btn--brass:hover { color: var(--white); }
.prose a.btn--light { color: var(--paper); }
.prose a.btn--light:hover { color: var(--ink); }

.prose blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 2px solid var(--brass);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}

.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.post-tag {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass);
  border: 1px solid rgba(168, 130, 60, 0.45);
  padding: 0.25rem 0.6rem;
}

/* Post hero: full-bleed image with the headline set inside it -------------------- */

.post-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(25rem, 60vh, 40rem);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.2rem, 4.5vw, 3.4rem);
  background: var(--navy-deep);
  color: var(--paper);
  overflow: hidden;
}

/* Toning the stock photography toward one register: cooler, quieter, less saturated,
   so fifteen unrelated images still read as one publication. */
.post-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.42) saturate(0.78) contrast(1.04) brightness(0.76);
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 23, 38, 0.58) 0%, rgba(14, 23, 38, 0.26) 30%, rgba(14, 23, 38, 0.66) 68%, rgba(14, 23, 38, 0.93) 100%),
    linear-gradient(90deg, rgba(14, 23, 38, 0.62) 0%, rgba(14, 23, 38, 0.1) 58%, rgba(14, 23, 38, 0) 100%);
}

.post-hero__inner { position: relative; width: 100%; }

.post-hero .breadcrumbs { color: var(--muted-light); margin-bottom: 1.15rem; }
.post-hero .breadcrumbs a:hover { color: var(--gold-soft); }

.post-hero .post-meta { color: var(--muted-light); margin-bottom: 1.35rem; }

.post-hero .post-tag {
  color: var(--gold-soft);
  border-color: rgba(217, 189, 130, 0.5);
}

.post-hero h1 {
  margin: 0;
  max-width: 19ch;
  font-size: clamp(2.05rem, 5.4vw, 4.5rem);
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(14, 23, 38, 0.45);
}

.post-hero .serif-accent { color: var(--gold-soft); }

@media (max-width: 720px) {
  .post-hero {
    min-height: clamp(21rem, 52vh, 30rem);
    align-items: flex-end;
  }
  .post-hero h1 { max-width: none; }
  .post-hero__img { object-position: 50% 40%; }
}

/* Callouts ----------------------------------------------------------------------- */

.callout {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 2.4rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.callout__text { max-width: 46ch; }
.callout__text strong { display: block; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.callout__text span { font-size: 0.95rem; color: var(--muted-light); }

.disclaimer {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.disclaimer strong { color: var(--ink); }

/* Key takeaways (AEO summary box at the top of each article) */
.key-takeaways {
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  padding: 1.4rem 1.7rem 1.5rem;
  margin: 0 0 2.2rem;
}

.prose .key-takeaways h2 {
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin: 0 0 0.9rem;
}

.key-takeaways ul { margin: 0; padding-left: 1.15rem; list-style: none; }

.key-takeaways li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
}

.key-takeaways li:last-child { margin-bottom: 0; }

.key-takeaways li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 600;
}

/* Blog cards ----------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -18px rgba(16, 20, 29, 0.35); }

.post-card img { aspect-ratio: 16 / 9; object-fit: cover; }

.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.post-card__body h3 { font-size: 1.18rem; line-height: 1.28; margin: 0; }

.post-card__body p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.post-card__meta { margin-top: auto; padding-top: 0.8rem; font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.8rem; align-items: center; }

/* FAQ ----------------------------------------------------------------------- */

.faq { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p, .faq details > div { padding: 0 0 1.4rem; color: var(--muted); max-width: 64ch; }

/* Contact ----------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-block { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }

.contact-block h3 { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brass); margin-bottom: 0.55rem; }

.contact-block p { margin: 0; font-size: 1.08rem; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { color: var(--brass); }

.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.6rem); }

.contact-form label { display: block; font-size: 0.82rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.12em; margin: 1.2rem 0 0.4rem; }
.contact-form label:first-of-type { margin-top: 0; }

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: -1px;
}

.contact-form button { width: 100%; margin-top: 1.6rem; cursor: pointer; }

.form-note { font-size: 0.83rem; color: var(--muted); margin-top: 0.9rem; }

/* CTA band ----------------------------------------------------------------------- */

.cta-band { background: var(--navy-deep); color: var(--paper); text-align: center; }

.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

.cta-band .lede { margin-left: auto; margin-right: auto; }

.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }

/* Footer ----------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand { font-size: 1.45rem; font-weight: 760; letter-spacing: -0.02em; line-height: 1.1; }
.footer-brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-light); margin-top: 0.4rem; }

.footer-grid h4 { font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-soft); margin: 0 0 1rem; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; font-size: 0.93rem; color: var(--muted-light); }
.footer-grid li a { color: var(--muted-light); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: rgba(244, 241, 234, 0.45);
}

.footer-legal p { margin: 0; max-width: 75ch; }

/* Reveal animations ----------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ----------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-media { min-height: 0; order: -1; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
  .hero-media img { position: relative; inset: auto; height: auto; max-height: 62vh; object-position: top; }
  .trust-band__row { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .split, .split--media-left { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .practice-index__hint { display: none; }
}

@media (max-width: 720px) {
  /* backdrop-filter would become the containing block for the fixed nav overlay */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }

  .site-nav {
    display: none;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem);
    z-index: 99;
    overflow-y: auto;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    color: var(--paper);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line-light);
  }

  .site-nav a::after { display: none; }

  .nav-toggle { display: flex; }

  .site-header__bar { gap: 0.75rem; }
  .site-header__logo { font-size: 1.12rem; }
  .site-header__logo small { letter-spacing: 0.2em; }
  .btn--header-call { margin-left: auto; padding: 0.55rem 0.8rem; font-size: 0.82rem; }
  .nav-toggle { margin-left: 0; }

  .card-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .attorney-grid { grid-template-columns: 1fr; }
  .trust-band__row { grid-template-columns: 1fr 1fr; }

  .practice-index__item { grid-template-columns: auto 1fr auto; }

  .hero__cta .btn { width: 100%; text-align: center; }

  .callout { flex-direction: column; align-items: flex-start; }
  .callout .btn { width: 100%; text-align: center; }

  /* keep wide comparison tables from forcing page overflow */
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 0.88rem; }
  .prose th, .prose td { padding: 0.6rem 0.7rem; }
}

@media (max-width: 420px) {
  .trust-band__row { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}
