/* Trust Forensics, LLC — shared stylesheet
   Refined from the original single-page estate site: same palette, same type,
   no gradients, token-based so light and dark modes share one set of rules. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand constants (unchanged from the original site) */
  --navy: #0f1e35;
  --navy-mid: #162844;
  --navy-light: #1e3a5f;
  --cream: #f5f0e8;
  --cream-dark: #ede6d6;
  --gold: #b8972a;
  --gold-light: #d4ae4a;

  /* Surfaces and text, light mode */
  --bg: var(--cream);
  --bg-alt: var(--cream-dark);
  --bg-raised: #ffffff;
  --ink: #0f1e35;
  --ink-mid: #3a4a5c;
  --ink-soft: #5d6d80;
  --rule: rgba(184,151,42,0.32);
  --rule-soft: rgba(15,30,53,0.12);
  --accent: #8a6f17;          /* gold darkened for text contrast on cream */
  --link: #1e3a5f;

  /* Dark bands (navy sections) keep their own tokens in both modes */
  --band: var(--navy);
  --band-alt: var(--navy-mid);
  --band-raised: var(--navy-mid);
  --band-ink: #f5f0e8;
  --band-ink-mid: rgba(245,240,232,0.84);
  --band-ink-soft: rgba(245,240,232,0.62);
  --band-rule: rgba(184,151,42,0.22);
  --band-accent: var(--gold-light);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --serif-text: 'Libre Baskerville', Georgia, serif;
  --sans: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gutter: clamp(1rem, 5vw, 5rem);
  --measure: 70ch;
  --nav-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1727;
    --bg-alt: #101d31;
    --bg-raised: #14243b;
    --ink: #f0ebe1;
    --ink-mid: #c9c3b8;
    --ink-soft: #9a9488;
    --rule: rgba(212,174,74,0.26);
    --rule-soft: rgba(240,235,225,0.12);
    --accent: var(--gold-light);
    --link: #e2c873;
    --band: #08111e;
    --band-alt: #0c1727;
    --band-raised: #12213a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1727;
  --bg-alt: #101d31;
  --bg-raised: #14243b;
  --ink: #f0ebe1;
  --ink-mid: #c9c3b8;
  --ink-soft: #9a9488;
  --rule: rgba(212,174,74,0.26);
  --rule-soft: rgba(240,235,225,0.12);
  --accent: var(--gold-light);
  --link: #e2c873;
  --band: #08111e;
  --band-alt: #0c1727;
  --band-raised: #12213a;
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
}

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 0.6rem 1rem; z-index: 300; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,30,53,0.97);
  border-bottom: 1px solid rgba(184,151,42,0.22);
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.nav-logo-name { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--cream); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-logo-tag { font-family: var(--serif); font-size: 0.7rem; font-weight: 500; color: var(--gold); letter-spacing: 0.34em; text-indent: 0.34em; text-transform: uppercase; margin-top: 3px; }
.nav-logo-sub { font-family: var(--serif); font-style: italic; font-size: 0.74rem; color: rgba(245,240,232,0.8); margin-top: 3px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(245,240,232,0.74); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-links .nav-cta { border: 1px solid var(--gold); color: var(--gold-light); padding: 0.5rem 1.1rem; letter-spacing: 0.2em; }
.nav-links .nav-cta:hover { background: var(--gold); color: var(--navy); }
.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--cream); position: relative; transition: transform 0.25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(15,30,53,0.99);
    border-bottom: 1px solid rgba(184,151,42,0.22);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 32rem; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; font-size: 0.74rem; }
  .nav-links .nav-cta { margin: 0.75rem 1rem 1.25rem; }
  .nav-logo-name { font-size: 1.7rem; }
}

/* Practice sub-bar (shown under the firm nav on practice pages) */
.practice-bar {
  background: var(--band-alt); border-bottom: 1px solid var(--band-rule);
  padding: 0.55rem var(--gutter); display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; align-items: center;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.practice-bar a { color: var(--band-ink-soft); text-decoration: none; }
.practice-bar a:hover, .practice-bar a[aria-current="page"] { color: var(--band-accent); }
.practice-bar .crumb-sep { color: var(--band-ink-soft); opacity: 0.6; }

/* ── LAYOUT PRIMITIVES ── */
section, .section { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.inner { max-width: 1200px; margin: 0 auto; }
.inner-narrow { max-width: 820px; margin: 0 auto; }
.band { background: var(--band); color: var(--band-ink); }
.band-alt { background: var(--band-alt); color: var(--band-ink); }
.alt { background: var(--bg-alt); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.eyebrow span, .eyebrow { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.band .eyebrow, .band-alt .eyebrow { color: var(--band-accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.18; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--ink); }
.band .section-title, .band-alt .section-title { color: var(--band-ink); }
.lead { font-size: 1.02rem; line-height: 1.85; color: var(--ink-mid); margin-top: 1.5rem; max-width: 62ch; }
.band .lead, .band-alt .lead { color: var(--band-ink-mid); }
.body-copy { color: var(--ink-mid); font-size: 0.95rem; line-height: 1.9; }
.body-copy p + p { margin-top: 1.1rem; }
.band .body-copy { color: var(--band-ink-mid); }
.small { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.7; }
.band .small { color: var(--band-ink-soft); }

/* ── BUTTONS ── */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy); border: 1px solid var(--gold);
  padding: 0.9rem 2rem; font-family: var(--sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; color: var(--ink); }
.band .btn-outline, .hero .btn-outline { color: var(--band-ink); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.text-link {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px; color: inherit;
}
.text-link:hover { border-color: var(--gold); color: var(--accent); }
.band .text-link:hover, .hero .text-link:hover { color: var(--gold-light); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2.25rem; }

/* ── HERO ── */
.hero { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-rule); padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 300; color: var(--band-ink); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: var(--band-ink-mid); }
.hero .eyebrow { color: var(--band-accent); }

.hero-stats { display: flex; flex-direction: column; gap: 1.75rem; align-items: flex-end; }
.hero-stat { text-align: right; border-right: 2px solid var(--gold); padding-right: 1.1rem; max-width: 22rem; }
.hero-stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 300; line-height: 1; color: var(--band-ink); }
.hero-stat-label { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-ink-mid); margin-top: 0.35rem; line-height: 1.6; }
.hero-stat-label a, .stat-block-label a { color: inherit; }
.cite { font-size: 0.7em; vertical-align: super; line-height: 0; text-decoration: none; letter-spacing: 0; color: var(--band-accent); }
@media (max-width: 900px) {
  .hero-stats { align-items: stretch; }
  .hero-stat { text-align: left; border-right: 0; border-left: 2px solid var(--gold); padding: 0 0 0 1rem; max-width: none; }
}

/* ── FIRM HOME: PRACTICE DOORS ── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--band-rule); border: 1px solid var(--band-rule); margin-top: 2.5rem; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
.door {
  background: var(--band-raised); color: var(--band-ink); text-decoration: none; padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; gap: 0.9rem; transition: background 0.2s;
}
.door:hover { background: var(--navy-light); color: var(--band-ink); }
.door-kicker { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--band-accent); }
.door-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; }
.door-desc { font-size: 0.88rem; line-height: 1.8; color: var(--band-ink-mid); }
.door-for { font-size: 0.78rem; color: var(--band-ink-soft); border-top: 1px solid var(--band-rule); padding-top: 0.9rem; margin-top: auto; }
.door-go { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--band-accent); }

.scope-line {
  margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--band-rule);
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--band-ink-mid);
}
.scope-line strong { color: var(--band-ink); font-weight: 600; }

/* ── STAT BLOCKS ── */
.stat-block { padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.stat-block:first-child { border-top: 1px solid var(--rule); }
.stat-block-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 300; line-height: 1; color: var(--ink); }
.stat-block-label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; line-height: 1.6; }

/* ── CARDS (services) ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--band-rule); border: 1px solid var(--band-rule); margin-top: 3rem; }
.card { background: var(--band-raised); padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; }
.card-q { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 0.9rem; line-height: 1.5; }
.card-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--band-ink); line-height: 1.25; margin-bottom: 0.9rem; }
.card-desc { font-size: 0.86rem; line-height: 1.8; color: var(--band-ink-mid); }
.card dl { margin-top: 1.4rem; border-top: 1px solid var(--band-rule); }
.card dt { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--band-accent); margin-top: 1.1rem; }
.card dd { font-size: 0.84rem; line-height: 1.75; color: var(--band-ink-mid); margin-top: 0.35rem; }
.card dd ul { list-style: none; }
.card dd li { padding-left: 1rem; position: relative; }
.card dd li::before { content: '\2013'; position: absolute; left: 0; color: var(--gold); }
.card-fee { margin-top: auto; padding-top: 1.4rem; }
.card-fee span { display: block; border-top: 1px solid var(--band-rule); padding-top: 1rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-accent); }

/* Light-surface card variant */
.cards.on-light { background: var(--rule); border-color: var(--rule); }
.cards.on-light .card { background: var(--bg-raised); }
.cards.on-light .card-title { color: var(--ink); }
.cards.on-light .card-desc, .cards.on-light .card dd { color: var(--ink-mid); }
.cards.on-light .card-q, .cards.on-light .card dt, .cards.on-light .card-fee span { color: var(--accent); }
.cards.on-light .card dl, .cards.on-light .card-fee span { border-color: var(--rule); }

/* ── COVERAGE GRID ── */
.coverage { max-width: 900px; margin: 3.5rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--band-rule); }
.coverage-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--band-accent); text-align: center; margin-bottom: 1.5rem; }
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--band-rule); border: 1px solid var(--band-rule); list-style: none; }
.coverage-grid li { background: var(--band-raised); padding: 1.2rem 0.9rem; font-size: 0.8rem; text-align: center; color: var(--band-ink-mid); line-height: 1.4; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── PROCESS ── */
.steps { list-style: none; margin-top: 3rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 2rem; padding: 2.25rem 0; border-bottom: 1px solid var(--rule); }
.step:first-child { border-top: 1px solid var(--rule); }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--accent); line-height: 1; }
.step-title { font-family: var(--serif-text); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }
.step-desc { font-size: 0.9rem; line-height: 1.85; color: var(--ink-mid); }
.step-desc p + p { margin-top: 0.85rem; }
.step-desc ul { list-style: none; margin-top: 0.75rem; }
.step-desc li { padding: 0.35rem 0 0.35rem 1rem; border-bottom: 1px solid var(--rule); position: relative; }
.step-desc li:last-child { border-bottom: 0; }
.step-desc li::before { content: '\2013'; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 600px) { .step { grid-template-columns: 44px 1fr; gap: 1rem; } .step-num { font-size: 1.9rem; } }

/* Discipline table (firm home: process applied to both practices) */
.discipline { width: 100%; border-collapse: collapse; margin-top: 2.5rem; font-size: 0.86rem; }
.discipline th, .discipline td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--rule); line-height: 1.65; }
.discipline thead th { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.discipline tbody th { font-family: var(--serif-text); font-weight: 700; font-size: 0.88rem; color: var(--ink); width: 22%; }
.discipline td { color: var(--ink-mid); }
@media (max-width: 700px) {
  .discipline thead { display: none; }
  .discipline tr { display: block; border-bottom: 1px solid var(--rule); padding: 0.75rem 0; }
  .discipline th, .discipline td { display: block; border: 0; padding: 0.25rem 0; width: auto; }
  .discipline td::before { content: attr(data-label) ': '; font-weight: 600; color: var(--ink); }
}

/* ── FEES ── */
.fee-table { max-width: 900px; margin: 3rem auto 0; }
.fee-group { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em; color: var(--band-ink); padding: 1.75rem 0 0.5rem; border-bottom: 1px solid rgba(184,151,42,0.3); }
.fee-group:first-child { padding-top: 0; }
.fee-group small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--band-ink-soft); margin-top: 0.3rem; letter-spacing: 0.01em; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding: 0.95rem 0 0.95rem 1.25rem; border-bottom: 1px solid rgba(184,151,42,0.1); }
.fee-label { font-size: 0.86rem; color: var(--band-ink-mid); line-height: 1.45; }
.fee-label small { display: block; font-size: 0.72rem; color: var(--band-ink-soft); margin-top: 0.2rem; }
.fee-amount { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); white-space: nowrap; flex-shrink: 0; }
.fee-notes { max-width: 900px; margin: 3rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fee-note { padding: 1.75rem; border: 1px solid var(--band-rule); }
.fee-note-title { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 0.7rem; }
.fee-note-text { font-size: 0.84rem; line-height: 1.8; color: var(--band-ink-mid); }
.fee-note-text p + p { margin-top: 0.75rem; }
@media (max-width: 760px) { .fee-notes { grid-template-columns: 1fr; } .fee-row { flex-direction: column; gap: 0.3rem; } }
/* Scope-based placeholder (agent practice). Swap for .fee-table rows once pricing is set. */
.fee-pending { max-width: 900px; margin: 2.5rem auto 0; border: 1px solid var(--band-rule); padding: 1.75rem; }
.fee-pending-amount { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); }

/* ── CREDENTIALS STRIP ── */
.creds { border-top: 1px solid var(--rule); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.creds-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.creds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; }
.creds-grid li { padding-left: 1.4rem; position: relative; }
.creds-grid li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.55rem; height: 0.55rem; border: 1px solid var(--gold); transform: rotate(45deg); }
.creds-grid strong { display: block; font-size: 0.8rem; color: var(--ink); }
.creds-grid span { font-size: 0.74rem; color: var(--ink-mid); line-height: 1.5; }
@media (max-width: 760px) { .creds-grid { grid-template-columns: 1fr; } }

/* ── CHECKLIST ── */
.checklist-items { list-style: none; }
.checklist-items li { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--band-rule); align-items: flex-start; font-size: 0.88rem; color: var(--band-ink-mid); line-height: 1.55; }
.checklist-items li:first-child { border-top: 1px solid var(--band-rule); }
.checklist-items li::before { content: ''; width: 18px; height: 18px; border: 1px solid rgba(184,151,42,0.55); flex-shrink: 0; margin-top: 0.15rem; }
.checklist-items.on-light li { color: var(--ink-mid); border-color: var(--rule); }

/* ── BIO ── */
.bio { font-size: 0.95rem; line-height: 1.9; color: var(--ink-mid); }
.bio p + p { margin-top: 1.1rem; }
.facts { list-style: none; }
.facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); font-size: 0.86rem; color: var(--ink-mid); line-height: 1.6; }
.facts li:first-child { border-top: 1px solid var(--rule); }
.facts strong { display: block; color: var(--ink); font-size: 0.82rem; font-weight: 600; margin-bottom: 0.15rem; }

/* ── PORTRAIT (firm home) ── */
.about-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.portrait figcaption { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.75rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 240px; } }

/* ── CONTACT ── */
.contact-block { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.contact-item-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.contact-item-value { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--ink); text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
a.contact-item-value:hover { color: var(--accent); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.copy-btn {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--ink-mid); border: 1px solid var(--rule); padding: 0.4rem 0.7rem; cursor: pointer;
}
.copy-btn:hover { border-color: var(--gold); color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  background: var(--bg-raised); color: var(--ink); border: 1px solid var(--rule-soft);
  padding: 0.85rem 1rem; font-family: var(--sans); font-size: 0.95rem; border-radius: 0; appearance: none; width: 100%;
}
.field select { background-image: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.6; }
.form-status { font-size: 0.86rem; color: var(--ink); border-left: 3px solid var(--gold); padding: 0.75rem 1rem; background: var(--bg-raised); }
.form-status[hidden] { display: none; }

/* ── ARTICLE / LONG-FORM (briefs, framework, legal) ── */
.doc-head { background: var(--band); color: var(--band-ink); padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--band-rule); }
.doc-head .eyebrow { color: var(--band-accent); }
.doc-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 300; color: var(--band-ink); max-width: 24ch; }
.doc-head .dek { font-size: 1.05rem; line-height: 1.8; color: var(--band-ink-mid); max-width: 62ch; margin-top: 1.25rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--band-rule); font-size: 0.74rem; color: var(--band-ink-soft); letter-spacing: 0.04em; }
.doc-meta dt { display: inline; font-weight: 600; color: var(--band-ink-mid); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6rem; margin-right: 0.4rem; }
.doc-meta dd { display: inline; }
.doc-meta div { white-space: nowrap; }
.doc-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.doc-body { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); }
.doc-layout { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.doc-layout.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; font-size: 0.8rem; max-height: calc(100vh - var(--nav-h) - 3rem); overflow: auto; }
.toc-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.toc ol { list-style: none; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 0.35rem 0 0.35rem 0.9rem; color: var(--ink-soft); text-decoration: none; line-height: 1.45; }
.toc li a:hover { color: var(--accent); }
@media (max-width: 960px) {
  .toc { position: static; max-height: none; border: 1px solid var(--rule); padding: 1rem 1.25rem; }
}

.prose { max-width: var(--measure); font-size: 1.02rem; line-height: 1.8; color: var(--ink-mid); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); color: var(--ink); margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.prose h3 { font-family: var(--serif-text); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-top: 2rem; }
.prose h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-top: 1.75rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.45rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; color: var(--ink); font-style: italic; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-alt); padding: 0.1em 0.35em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.prose a { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--rule); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.84rem; line-height: 1.55; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--rule); }
.prose thead th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.04em; }
.prose tbody tr:last-child td { border-bottom: 0; }
.playbook { border: 1px solid var(--rule); padding: 0.25rem 1.5rem 1.5rem; margin-top: 2rem; }
.playbook h2 { border-top: 0; margin-top: 1rem; }
.callout { border: 1px solid var(--rule); background: var(--bg-raised); padding: 1.25rem 1.5rem; font-size: 0.92rem; }

/* Brief index */
.brief-list { list-style: none; margin-top: 2.5rem; }
.brief-item { padding: 2rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 160px 1fr; gap: 2rem; }
.brief-item:first-child { border-top: 1px solid var(--rule); }
.brief-date { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0.4rem; }
.brief-title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.25; }
.brief-title a { color: var(--ink); text-decoration: none; }
.brief-title a:hover { color: var(--accent); }
.brief-dek { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.75; margin-top: 0.6rem; max-width: 64ch; }
.brief-links { margin-top: 0.9rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 700px) { .brief-item { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(245,240,232,0.7); border-top: 1px solid rgba(184,151,42,0.22); padding: 3rem var(--gutter) 2.5rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); letter-spacing: 0.06em; }
.footer-scope { font-size: 0.74rem; line-height: 1.7; margin-top: 0.75rem; color: rgba(245,240,232,0.6); max-width: 34ch; }
.footer-contact { font-size: 0.78rem; line-height: 1.8; margin-top: 1rem; color: rgba(245,240,232,0.7); }
.footer-h { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: 0.35rem 0; }
.footer-grid a { color: rgba(245,240,232,0.72); text-decoration: none; font-size: 0.8rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(184,151,42,0.15); font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(245,240,232,0.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.theme-toggle { background: none; border: 1px solid rgba(184,151,42,0.35); color: rgba(245,240,232,0.7); font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.35rem 0.7rem; cursor: pointer; }
.theme-toggle:hover { color: var(--gold-light); border-color: var(--gold); }

/* ── PRINT ── */
@media print {
  .site-nav, .practice-bar, .site-footer, .toc, .doc-actions, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .doc-head { background: #fff; color: #000; border-bottom: 1px solid #999; padding: 0 0 1rem; }
  .doc-head h1, .doc-head .dek, .doc-meta, .doc-meta dt { color: #000; }
  .doc-layout { display: block; }
  .prose { max-width: none; color: #000; font-size: 10.5pt; }
  .prose a { color: #000; }
}
