/* =============================================================================
   Cordle Law — "Ledger" design system
   One stylesheet. Cormorant Garamond (display serif, incl. italic) + Mulish (body/UI).
   Forked from the Suncoast Law "editorial" system: same structure, component set,
   token approach and accessibility behaviours — re-skinned in Cordle's brand.
   ============================================================================

   MINI STYLE GUIDE — tokens and components (markup is exact)
   ----------------------------------------------------------------------------
   Rules of the house: the page reads like a well-set legal document. Hairlines
   (1px var(--rule)), 2px radii, no pill buttons, no shadow stacks, a narrow
   centred measure for running text. Display type is Cormorant Garamond; UI and
   body are Mulish.

   COLOUR TOKENS
     --navy       #10284D  ink: headings, body text, dark bands, primary buttons
     --navy-logo  #003882  the logotype blue (monogram, footer mark surround)
     --navy-deep  #08243E  photo scrim / deepest band
     --accent     #015989  the 01–04 numerals, links, focus ring, rules (7.4:1 on white)
     --accent-deep#013F61  link / button hover
     --gold       #D1BB90  RULES AND FILLS ONLY — never text, never on light.
                           In this build gold appears in exactly two places:
                           the eyebrow rule above every section title, and the
                           hairline in the header lockup (as in the firm's banner).
     --paper      #F7F6F2  warm off-white band ground
     --white      #FFFFFF  plates and the alternate band
     --rule       #DEDCD4  hairlines on light   --rule-strong #C3C0B5
     --rule-on-dark rgba(255,255,255,.16)
     --text       #1C2D4A  body copy        --text-muted #4E5B70 (6.9:1 on white)
     --text-on-dark #F4F3EF  --text-on-dark-muted #BFCBDD (9:1 on navy)
     Band rhythm: hero (paper) → about (white) → practice (paper) → community
     (white) → contact (paper) → footer (navy).

   TYPE TOKENS
     --font-display "Cormorant Garamond" — h1–h4, the numerals, the pledge line.
     --font-body    "Mulish" — everything else, including the lockup is NOT Mulish
                    (the wordmark is Cormorant, letterspaced, uppercase).
     --fs-display/-h1/-h2/-h3/-h4/-lead/-body/-small/-tiny/-eyebrow, all clamped.
     --measure 38rem — the narrow running-text column.

   HEADER LOCKUP (monogram | gold hairline | CORDLE LAW)
     <a class="lockup" href="/index.html">
       <img class="lockup__mark" src="/assets/img/logo-mark.png" alt="" …>
       <span class="lockup__rule" aria-hidden="true"></span>
       <span class="lockup__word">Cordle Law</span>
     </a>

   SECTION HEAD (eyebrow carries the gold rule above the title)
     <div class="section__head">
       <p class="eyebrow">About</p>
       <h2 id="…">Heading</h2>
       <p class="lead">One or two sentences.</p>
     </div>
     .section__head--wide drops the narrow measure cap on the lead.

   HERO (photo band + white plate overlapping its bottom edge)
     <section class="hero"><div class="hero__band"><picture>…</picture></div>
       <div class="container"><div class="hero__plate">
         <p class="eyebrow">Tagline</p><h1>…</h1><p class="lead">…</p>
         <div class="btn-row">…</div><ul class="hero__meta" role="list">…</ul>
       </div></div></section>

   LEDGER ENTRIES (the Areas of Expertise — numbered, hairline-separated)
     <ol class="ledger" role="list">
       <li class="ledger__entry">
         <p class="ledger__num" aria-hidden="true">01.</p>
         <div class="ledger__body">
           <h3 class="ledger__title">Real Estate Law</h3>
           <div class="ledger__text"><p>…</p><p>…</p></div>
         </div>
       </li>
     </ol>
     Numerals: Cormorant italic in --accent, hanging in the left margin at ≥760px.
     .ledger__text sets two text columns at ≥1024px; one below that.

   ROSTER (community and teaching — org left, role right, hairline rows)
     <ul class="roster" role="list">
       <li class="roster__item"><span class="roster__org">Org</span>
         <span class="roster__role">Role</span></li>
     </ul>

   PLEDGE PLATE (navy, the firm's closing line, above the contact details)
     <div class="pledge"><p class="pledge__line">…</p><div class="btn-row">…</div></div>

   PROSE (.prose) — running text: h2, h3, p, ul, ol, dl, a, strong, hr, .callout,
     .disclaimer. No blockquotes: firm copy must never read as a testimonial.

   DETAILS LIST (label / value pairs) — credentials, contact details
     <dl class="details"><div><dt>Phone</dt><dd><a href="tel:…">…</a></dd></div></dl>
     .details--stack for dt over dd.

   BUTTONS  .btn (navy fill) · .btn--secondary (outline) · .btn--ghost
            .btn--small · .btn--block · .btn-row wraps them.
   CARDS    .card-grid / .card (+ .card--link, .card--boxed) — kept from the
            parent system for future inner pages; the homepage uses .ledger.
   FORMS    .form > .form-grid > .field (+ .field--full, --check, --hp, --invalid),
            .form__actions, .form__note, .form__status(--success|--error).
   FAQ      .faq > details > summary + div.
   MAP      <div class="map-frame"><iframe title="…" loading="lazy" …></iframe></div>
   404      .not-found (+ .not-found__code).
   UTILITIES .container, .container--narrow, .section, .section--tight,
            .section--paper, .section--rule-top/-bottom, .eyebrow, .lead, .muted,
            .small, .text-center, .on-dark, .visually-hidden, .skip-link.

   LISTS: any <ul>/<ol> with list-style:none MUST carry role="list" so
     Safari/VoiceOver keep announcing it as a list. Prose lists keep markers.
   A11Y: WCAG AA everywhere, visible :focus-visible (accent on light, gold on
     dark), 44px tap targets, prefers-reduced-motion and forced-colors honoured.
   ========================================================================== */

/* ---------- 1. Tokens ----------------------------------------------------- */
:root {
  /* Colour — brand */
  --navy: #10284D;
  --navy-logo: #003882;
  --navy-deep: #08243E;
  --accent: #015989;
  --accent-deep: #013F61;
  --gold: #D1BB90;           /* rules and fills only — never text on light */

  /* Colour — neutrals */
  --ink: var(--navy);
  --paper: #F7F6F2;
  --paper-2: #EFEDE6;
  --white: #FFFFFF;
  --text: #1C2D4A;
  --text-muted: #4E5B70;     /* 6.9:1 on white */
  --text-on-dark: #F4F3EF;
  --text-on-dark-muted: #BFCBDD; /* 9:1 on navy */
  --rule: #DEDCD4;
  --rule-strong: #C3C0B5;
  --rule-on-dark: rgba(255, 255, 255, 0.16);
  --focus: var(--accent);    /* light grounds; dark grounds switch to gold */
  --error: #8E2A18;          /* 7.3:1 on white */
  --error-border: #A8321F;
  --success: #2F5A3A;        /* 7.4:1 on white */

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --fs-display: clamp(3rem, 1.8rem + 5vw, 6rem);
  --fs-h1: clamp(2rem, 1.1rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.2rem + 2.4vw, 3.125rem);
  --fs-h3: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --fs-body: clamp(0.9375rem, 0.9rem + 0.22vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-tiny: 0.8125rem;
  --fs-eyebrow: 0.75rem;
  --fs-num: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);

  --lh-tight: 1.02;
  --lh-snug: 1.15;
  --lh-body: 1.7;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(3.5rem, 7vw, 7rem);
  --section-tight: clamp(2.5rem, 5vw, 4rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Layout */
  --container: 1160px;
  --container-narrow: 780px;
  --measure: 38rem;          /* narrow running-text column */
  --header-h: 4.75rem;
  --tap: 2.75rem;            /* 44px minimum tap target */

  /* Shape */
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
}

/* ---------- 2. Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
/* Zero-specificity reset so component classes can set their own padding.
   Every list styled list-style:none carries role="list". */
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: 0;
  color: var(--navy);
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h1, h2, .section__head h2 { text-wrap: balance; }
p, li, address, dd, dt { overflow-wrap: break-word; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-6) 0; }
::selection { background: var(--gold); color: var(--navy); }

/* Focus: always visible, never removed. Accent on light, gold on dark. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.on-dark :focus-visible, .site-footer :focus-visible, .pledge :focus-visible, .skip-link:focus-visible {
  outline-color: var(--gold);
}

/* ---------- 3. Utilities -------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 1000;
  padding: var(--s-3) var(--s-5);
  background: var(--navy); color: var(--white);
  font-weight: 600; text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); outline-color: var(--gold); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* Eyebrow: the ONE place gold is used on a light ground — as a rule, above. */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 2.75rem; height: 2px;
  background: var(--gold);
  margin-bottom: var(--s-4);
}
.on-dark .eyebrow, .pledge .eyebrow { color: var(--text-on-dark-muted); }

.lead {
  font-size: var(--fs-lead); font-weight: 400; line-height: 1.6;
  color: var(--text); max-width: var(--measure);
}
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); }
.text-center { text-align: center; }
.on-dark { background: var(--navy); color: var(--text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }

/* Sections and bands */
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--paper { background: var(--paper); }
.section--rule-top { border-top: 1px solid var(--rule); }
.section--rule-bottom { border-bottom: 1px solid var(--rule); }
.section__head { margin-bottom: clamp(2rem, 4.5vw, 3.5rem); max-width: 46rem; }
.section__head h2 { max-width: 20ch; }
.section__head .lead { margin-top: var(--s-4); }
.section__head--wide { max-width: none; }

/* ---------- 4. Buttons ---------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem;
  padding: 0.75em 1.5em;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-border: var(--accent); color: var(--white); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: var(--navy); }
.btn--secondary:hover { --btn-bg: var(--navy); --btn-border: var(--navy); color: var(--white); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--accent); --btn-border: transparent; padding-inline: 0.5em; }
.btn--ghost:hover { --btn-bg: transparent; --btn-border: transparent; color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 2px; }

.btn--small { min-height: var(--tap); padding: 0.6em 1.1em; font-size: 0.875rem; }
.btn--block { width: 100%; }

.on-dark .btn, .pledge .btn { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-border: var(--white); }
.on-dark .btn:hover, .pledge .btn:hover { --btn-bg: var(--paper); --btn-border: var(--paper); color: var(--navy); }
.on-dark .btn--secondary, .pledge .btn--secondary {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.5);
}
.on-dark .btn--secondary:hover, .pledge .btn--secondary:hover {
  --btn-bg: var(--white); --btn-border: var(--white); color: var(--navy);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }

/* Arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.9375rem;
  color: var(--accent); text-decoration: none;
  min-height: var(--tap);
}
.link-arrow::after {
  content: ""; width: 1.25rem; height: 1px; background: currentColor;
  transition: width var(--dur) var(--ease);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { width: 2rem; }

/* ---------- 5. Header / nav ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: var(--header-h);
}

/* Lockup: monogram | gold hairline | CORDLE LAW (matches the firm's banner) */
.lockup {
  display: inline-flex; align-items: center; gap: clamp(0.55rem, 1.3vw, 0.9rem);
  min-height: var(--tap); min-width: 0;
  text-decoration: none;
}
.lockup__mark { height: clamp(32px, 4.2vw, 44px); width: auto; flex: none; }
.lockup__rule { width: 1px; height: clamp(24px, 3vw, 32px); background: var(--gold); flex: none; }
.lockup__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 0.78rem + 0.8vw, 1.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
  padding-left: 0.08em;
}

/* Mobile-only actions: tel icon button + Menu toggle */
.site-header__actions { display: none; align-items: center; gap: var(--s-2); flex: none; }
.header-call {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap);
  background: var(--navy); color: var(--white);
  border: 1px solid var(--navy); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header-call:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.header-call svg { width: 1.2rem; height: 1.2rem; }

.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(0.15rem, 1vw, 0.75rem);
}
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 0.5rem 0.65rem;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--navy); text-decoration: none;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.4rem;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__item--cta { margin-left: clamp(0.25rem, 1.2vw, 0.75rem); }

/* Mobile toggle */
.nav-toggle {
  display: none; align-items: center; gap: var(--s-2); flex: none;
  min-height: var(--tap); min-width: var(--tap); padding: 0.5rem 0.25rem 0.5rem 0.6rem;
  font-size: var(--fs-tiny); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; flex: none; }
.nav-toggle__bars span { display: block; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header__actions { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(16, 40, 77, 0.35);
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.nav-open .nav { display: block; }
  .nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-6);
  }
  .nav__item { border-top: 1px solid var(--rule); }
  .nav__item:first-child { border-top: 0; }
  .nav__link { flex: 1 1 auto; padding: 0.95rem 0; font-size: 1.0625rem; }
  .nav__link::after { left: 0; right: auto; width: 1.5rem; bottom: 0.65rem; }
  .nav__item--cta { margin: var(--s-5) 0 0; border-top: 0; }
  .nav__item--cta .btn { width: 100%; min-height: 3rem; }
}
@media (max-width: 420px) {
  .lockup { gap: 0.45rem; }
  .lockup__word { letter-spacing: 0.14em; }
}

/* ---------- 6. Hero ------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero__band {
  height: clamp(9rem, 21vw, 19rem);
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
}
.hero__band img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero__band::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to bottom, rgba(8, 36, 62, 0), rgba(8, 36, 62, 0.45));
}
.hero__plate {
  position: relative; z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
  margin-top: clamp(-5rem, -5.5vw, -2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 3.6vw, 3.25rem) clamp(1.25rem, 3.4vw, 3.25rem) clamp(1.75rem, 3.4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
}
.hero__plate h1 { margin-bottom: var(--s-5); max-width: 18ch; }
.hero__plate h1 span { display: inline-block; max-width: 100%; }
.hero__plate .lead { max-width: 44ch; }
.hero__meta {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero__meta li { display: flex; align-items: center; gap: 0.65rem; }
.hero__meta li + li::before {
  content: ""; width: 1px; height: 0.9em; background: var(--rule-strong); flex: none;
  margin-right: 0.1rem;
}
.hero .btn-row { margin-top: var(--s-6); }
@media (max-width: 560px) {
  .hero__meta { display: grid; gap: 0; padding-top: 0; }
  .hero__meta li { padding-block: 0.6rem; border-bottom: 1px solid var(--rule); }
  .hero__meta li + li::before { display: none; }
}

/* ---------- 7. About: tall portrait beside the running text --------------- */
.portrait-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 860px) {
  .portrait-layout { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.portrait { margin: 0; position: relative; }
.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.portrait figcaption {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-tiny); letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted);
}
@media (max-width: 859px) {
  .portrait { max-width: 20rem; }
}
.portrait-layout__body { min-width: 0; max-width: 42rem; }
.credentials { margin-top: clamp(2rem, 4vw, 2.75rem); }
.rating-note {
  margin-top: var(--s-5);
  font-size: var(--fs-tiny);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
}

/* ---------- 8. Ledger entries (Areas of Expertise) ------------------------ */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.ledger__entry {
  display: grid;
  gap: var(--s-2) clamp(1.25rem, 3vw, 2.75rem);
  padding-block: clamp(2rem, 4.2vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.ledger__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-num);
  line-height: 0.95;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.ledger__body { min-width: 0; }
.ledger__title {
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h3);
  color: var(--navy);
  margin-bottom: clamp(0.85rem, 2vw, 1.4rem);
  max-width: 22ch;
}
.ledger__text { color: var(--text); max-width: 72rem; }
.ledger__text p + p { margin-top: 1.05em; }
@media (min-width: 760px) {
  .ledger__entry { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); align-items: start; }
  .ledger__num { text-align: right; padding-right: 0.15em; padding-top: 0.12em; }
}
@media (min-width: 1024px) {
  .ledger__text { columns: 2; column-gap: clamp(2rem, 3.6vw, 3.5rem); }
  .ledger__text p:first-child { margin-top: 0; }
}

/* ---------- 9. Roster (community and teaching) ---------------------------- */
.roster { list-style: none; margin: clamp(2rem, 4vw, 2.75rem) 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.roster__item {
  display: grid; gap: var(--s-1) var(--s-5);
  padding-block: clamp(0.85rem, 2vw, 1.15rem);
  border-bottom: 1px solid var(--rule);
}
.roster__org {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.25;
  color: var(--navy);
}
.roster__role {
  font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); line-height: 1.5;
}
@media (min-width: 680px) {
  .roster__item { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: baseline; }
  .roster__role { text-align: right; }
}

/* ---------- 10. Pledge plate (navy, the firm's closing line) -------------- */
.pledge {
  background: var(--navy);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.6vw, 3rem) clamp(1.25rem, 3.4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: var(--s-5); align-items: center;
}
@media (min-width: 860px) {
  .pledge { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 4vw, 3.5rem); }
}
.pledge__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.375rem);
  line-height: 1.25;
  color: var(--white);
  max-width: 24ch;
  text-wrap: balance;
}

/* ---------- 11. Contact layout -------------------------------------------- */
.contact-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 5vw, 5rem); }
}
.contact-layout > * { min-width: 0; }
.social { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.social a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: var(--tap);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--accent); text-decoration: none;
}
.social a:hover { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 2px; }
.social svg { width: 1.1rem; height: 1.1rem; flex: none; }
.contact-note {
  margin-top: var(--s-5);
  font-size: var(--fs-small); color: var(--text-muted); max-width: 52ch;
}

/* ---------- 12. Cards (kept from the parent system) ----------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.card {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.75rem, 3vw, 2.5rem) 0;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  position: relative;
}
.card + .card { padding-left: clamp(1.25rem, 2.5vw, 2rem); }
.card:last-child { border-right: 0; padding-right: 0; }
.card__index { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--accent); }
.card p { color: var(--text-muted); flex: 1 1 auto; }
.card--link .card__title-link { color: inherit; text-decoration: none; }
.card--link .card__title-link::after { content: ""; position: absolute; inset: 0; }
.card--link:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.card--boxed { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s-6); background: var(--white); }
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(2n) { border-right: 0; padding-right: 0; }
  .card:nth-child(2n + 1) { padding-left: 0; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .card + .card, .card:nth-child(2n) { border-right: 0; padding-inline: 0; }
}

/* ---------- 13. Prose, details, callout ----------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--fs-h3); max-width: 24ch; }
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 700; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; color: var(--navy); }
.prose hr { margin: 2em 0; }

.details { margin: 0; border-top: 1px solid var(--rule-strong); }
.details > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3) var(--s-4); align-items: baseline;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--rule);
}
.details dt { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.details dd { margin: 0; color: var(--text); }
.details dd a { text-decoration: none; }
.details dd a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.details--stack > div { grid-template-columns: 1fr; gap: var(--s-1); }
@media (max-width: 480px) { .details > div { grid-template-columns: 1fr; gap: var(--s-1); } }

.callout {
  border: 1px solid var(--rule); border-left: 2px solid var(--accent); border-radius: var(--radius);
  padding: var(--s-5) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
}
.callout--paper { background: var(--paper); }
.callout__title { font-weight: 700; color: var(--navy); margin-bottom: var(--s-2); }
.callout > * + * { margin-top: 0.6em; }
.disclaimer {
  font-size: var(--fs-small); color: var(--text-muted);
  border-top: 1px solid var(--rule); padding-top: var(--s-4); margin-top: var(--s-7);
}

/* ---------- 14. Forms ----------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: var(--s-2); align-content: start; }
.field label, .field__label { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em; color: var(--navy); }
.field .hint { font-size: var(--fs-tiny); color: var(--text-muted); }
.field .required { color: var(--text-muted); font-weight: 400; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2310284D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: #6E7A8C; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"],
.field--invalid input, .field--invalid textarea, .field--invalid select { border-color: var(--error-border); }
.field--invalid label { color: var(--error); }
.field__error { font-size: var(--fs-small); color: var(--error); display: flex; gap: 0.4rem; align-items: baseline; }
.field__error::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--error-border); flex: none; transform: translateY(-0.05em); }
.field__error[hidden] { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: var(--s-3); }
.field--check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--navy); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); align-items: center; margin-top: var(--s-2); }
.form__note { font-size: var(--fs-tiny); color: var(--text-muted); max-width: 52ch; }
.form__status {
  font-size: var(--fs-small); padding: var(--s-3) var(--s-4);
  border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: var(--radius);
  background: var(--paper); color: var(--navy);
}
.form__status:empty { display: none; }
.form__status--success { border-left-color: var(--success); color: var(--success); }
.form__status--error { border-left-color: var(--error-border); color: var(--error); }
.btn[aria-busy="true"], .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- 15. FAQ accordion (kept from the parent system) --------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 2rem; gap: var(--s-4); align-items: center;
  padding: var(--s-5) 0;
  font-family: var(--font-display); font-size: var(--fs-h4); color: var(--navy);
  min-height: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; justify-self: end;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background:
    linear-gradient(currentColor, currentColor) center / 0.75rem 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 0.75rem no-repeat;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); border-color: var(--gold); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq details > div { padding-bottom: var(--s-6); max-width: 62ch; }
.faq details > div > * + * { margin-top: 0.8em; }

/* ---------- 16. Map, 404 --------------------------------------------------- */
.map-frame {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  aspect-ratio: 4 / 3; width: 100%;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); overflow: hidden;
}
@media (min-width: 900px) { .map-frame { aspect-ratio: 5 / 4; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.not-found { text-align: center; }
.not-found__code {
  font-family: var(--font-display); font-style: italic; font-size: var(--fs-display); line-height: 1;
  color: var(--accent); margin-bottom: var(--s-4);
}
.not-found h1 { margin-inline: auto; max-width: 16ch; }
.not-found .lead { margin: var(--s-5) auto 0; max-width: 44ch; }
.not-found .btn-row { justify-content: center; margin-top: var(--s-6); }
.not-found .eyebrow { display: inline-block; }
.not-found .eyebrow::before { margin-inline: auto; }

/* ---------- 17. Footer ----------------------------------------------------- */
.site-footer {
  background: var(--navy); color: var(--text-on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-6);
  font-size: var(--fs-small);
}
.site-footer a:not(.btn) { color: var(--white); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.site-footer__top {
  display: grid; gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--rule-on-dark);
}
@media (min-width: 640px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-8); } }
/* footer brand uses the .lockup component (see pages/index.css) */
.site-footer__name {
  margin-top: var(--s-5);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; color: var(--white);
  max-width: 22ch;
}
.site-footer__heading {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-muted);
  margin-bottom: var(--s-4);
}
.site-footer__heading::before { content: ""; display: block; width: 2.25rem; height: 2px; background: var(--gold); margin-bottom: var(--s-3); }
.site-footer__address { line-height: 1.8; color: var(--white); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-footer__list--contact { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--rule-on-dark); }
.site-footer__list a, .site-footer__list span { display: inline-block; padding-block: 0.2rem; }
.site-footer__label {
  display: inline-block; width: 3.5rem; color: var(--text-on-dark-muted);
  font-size: var(--fs-tiny); letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer__disclaimer {
  margin-top: var(--s-6);
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 68ch;
}
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5);
  padding-top: var(--s-5);
  color: var(--text-on-dark-muted); font-size: var(--fs-tiny);
}

/* ---------- 18. Motion / preferences -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
@media (forced-colors: active) {
  .btn, .header-call, .card--boxed, .callout, .hero__plate, .pledge, .map-frame,
  .field input, .field select, .field textarea { border: 1px solid CanvasText; }
  .eyebrow::before, .lockup__rule, .site-footer__heading::before { forced-color-adjust: none; }
}

/* ---------- 19. Print ------------------------------------------------------ */
@media print {
  :root { --section: 2rem; --section-tight: 1.5rem; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .nav-toggle, .skip-link, .hero__band, .btn, .map-frame, .form { display: none !important; }
  .site-footer, .pledge, .on-dark { background: none !important; color: #000 !important; border-top: 1px solid #000; }
  .site-footer *, .pledge *, .on-dark * { color: #000 !important; }
  .hero__plate { margin: 0; border: 0; padding: 0; }
  .ledger__text { columns: 1; }
  .portrait-layout, .contact-layout { display: block; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
  h1, h2, h3 { break-after: avoid; }
  .ledger__entry { break-inside: avoid; }
}


/* ===== page: index ===== */
/* ===== Homepage additions: hero portrait + services summary grid + nav submenu ===== */

/* --- Hero: headshot beside the plate so Nathan is above the fold --------- */
/* The plate is pulled up over the photo band; the portrait rides with it so the
   two read as one composition and the headshot clears the fold at 1440x900. */
.hero__cols { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 62rem) {
  .hero__cols { grid-template-columns: minmax(0, 1fr) clamp(15rem, 20vw, 19rem); }
  .hero__plate { margin-inline: 0; max-width: none; }
}
.hero__portrait { margin: 0; position: relative; }
@media (min-width: 62rem) {
  .hero__portrait { margin-top: clamp(-5rem, -5.5vw, -2.5rem); }
}
.hero__portrait picture { display: block; }
.hero__portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%;
  border: 1px solid var(--rule); border-top: 3px solid var(--navy); background: var(--white);
}
.hero__portrait figcaption {
  margin-top: 0.7rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); display: grid; gap: 0.15rem;
}
.hero__portrait figcaption span { letter-spacing: 0.06em; text-transform: none; font-style: italic; font-size: 0.8rem; }

/* Mobile: a compact portrait sits directly under the band, before the copy,
   so it is on screen without scrolling on a 390x844 phone. */
@media (max-width: 61.99rem) {
  .hero__band { height: clamp(6.5rem, 26vw, 9rem); }
  .hero__cols { display: flex; flex-direction: column; }
  .hero__portrait { order: -1; width: 9.5rem; margin: clamp(-3.25rem, -9vw, -2rem) 0 0; }
  .hero__portrait img { aspect-ratio: 1 / 1; object-position: center 20%; }
  .hero__plate { margin-top: 1rem; }
}

/* --- Services summary grid (each card links to its "# page") ------------- */
.svc-grid {
  display: grid; gap: 0; margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
@media (min-width: 46rem) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc {
  position: relative; padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.1rem, 2vw, 1.75rem) clamp(1.6rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 0.5rem;
  transition: background-color .18s ease;
}
@media (min-width: 46rem) { .svc { border-right: 1px solid var(--rule); } }
@media (min-width: 46rem) and (max-width: 71.99rem) { .svc:nth-child(2n) { border-right: 0; } }
@media (min-width: 72rem) { .svc:last-child { border-right: 0; } }
.svc:first-child { padding-left: 0; }
.svc__num {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1;
  color: var(--accent); margin: 0;
}
.svc__title { font-size: 1.12rem; line-height: 1.25; margin: 0; }
.svc__title a { color: inherit; text-decoration: none; }
.svc__title a::after { content: ""; position: absolute; inset: 0; }
.svc__blurb { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.svc__more {
  margin-top: auto; padding-top: 0.75rem; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.svc:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.svc:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }

/* --- Detailed entries are the anchor targets: clear the sticky header ---- */
.ledger__entry { scroll-margin-top: calc(var(--header-h, 4.5rem) + 1.5rem); }

/* --- Nav submenu for the four areas -------------------------------------- */
.nav__item--has-sub { position: relative; }
.nav__sub-toggle {
  background: none; border: 0; padding: 0.25rem; margin-left: 0.1rem; color: inherit;
  cursor: pointer; line-height: 0; border-radius: 2px;
}
.nav__sub-toggle svg { width: 0.85rem; height: 0.85rem; transition: transform .18s ease; }
.nav__item--has-sub.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
@media (min-width: 62rem) {
  .nav__sub {
    position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 60; min-width: 16rem;
    margin: 0; padding: 0.4rem 0; list-style: none;
    background: var(--white); border: 1px solid var(--rule);
    box-shadow: 0 10px 28px rgba(16, 40, 77, .12);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub-link { display: block; padding: 0.55rem 1rem; font-size: 0.92rem; color: var(--ink); text-decoration: none; }
  .nav__sub-link:hover { background: var(--paper); color: var(--accent); }
}
@media (max-width: 61.99rem) {
  .nav__sub-toggle { display: none; }
  .nav__sub { list-style: none; margin: 0 0 0.25rem; padding: 0 0 0.35rem 1rem; }
  .nav__sub-link {
    display: block; padding: 0.55rem 0; font-size: 0.95rem; color: var(--ink-2); text-decoration: none;
    border-bottom: 1px solid var(--rule);
  }
  .nav__sub li:last-child .nav__sub-link { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__sub, .nav__sub-toggle svg, .svc { transition: none; }
}

/* The headshot moved to the hero, so the About body is single-column now. */
@media (min-width: 54rem) {
  .portrait-layout--notext { grid-template-columns: minmax(0, 1fr); }
}
.portrait-layout--notext .portrait-layout__body { max-width: 46rem; }

/* --- Footer brand: the same monogram + rule + wordmark lockup as the header.
   The stacked PNG centred its monogram over a full-width wordmark, which left a
   lopsided gap to its left once the block was left-aligned on the navy. --------- */
.site-footer__brand .lockup--footer { display: inline-flex; align-items: center; }
.site-footer__brand .lockup--footer .lockup__mark { height: clamp(38px, 4.4vw, 52px); }
.site-footer__brand .lockup--footer .lockup__word { color: var(--white); }
.site-footer__brand .lockup--footer .lockup__rule { background: var(--gold); height: clamp(26px, 3.2vw, 36px); }
.site-footer__name { margin-top: var(--s-4); font-size: 1.12rem; }
.site-footer__tag {
  margin-top: var(--s-2); font-size: var(--fs-tiny); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-on-dark-muted);
}
