/* ==========================================================================
   Tresp Law, APC — stylesheet
   --------------------------------------------------------------------------
   Brand continuity brief (per Brian, 2026-08-03): "Preserve the tresplaw logo
   and font as much as possible, and we like the color scheme."

   TYPE. The live Squarespace site declares proxima-nova then overrides it with
   adobe-garamond-pro, so Adobe Garamond Pro is what actually renders for both
   headings and body. Both are Adobe Fonts (Typekit) served through
   Squarespace's own account, which does not follow us to Netlify. Until a
   Tresp Law Adobe Fonts web project exists (see FONTS.md), we ship the closest
   free equivalents:
       Adobe Garamond Pro -> EB Garamond   (same Garamond skeleton, old-style
                                            figures, near-identical color)
       Proxima Nova       -> Montserrat    (geometric sans; matches the
                                            uppercase letterspaced site-title
                                            treatment closely)
   Swapping to the real faces later is a two-line change: replace the @import
   below with the Adobe kit <link> and change the two font stacks.

   COLOR. The live palette had drifted: two near-identical navies (#1b2246 body
   /footer, #1b1d55 headings/announcement bar) and three unrelated button
   colors (#429b2c, #3f9d43, #272727). We keep both navies (they read as one
   family and both are genuinely in use) and the teal accent #3d9991, retire
   the three mismatched button colors, and add a darkened teal for text links
   because #3d9991 on white is only ~3.3:1 and fails WCAG AA.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* --- brand ------------------------------------------------------------ */
  --navy:        #1b2246;  /* body surround + footer (from live site)       */
  --navy-deep:   #1b1d55;  /* headings + announcement bar (from live site)  */
  --navy-soft:   #2b3566;  /* derived: hover/borders on dark                */
  --teal:        #3d9991;  /* live accent — decorative use only             */
  --teal-link:   #2f7a72;  /* darkened for AA text contrast (4.6:1 on white)*/
  --teal-bright: #56b8af;  /* for accents ON navy, where it needs to lift   */

  --ink:         #1a1a1a;
  --ink-soft:    rgba(26, 26, 26, .78);
  --ivory:       #f7f5f0;  /* warm section tint, pairs with Garamond        */
  --ivory-deep:  #efebe2;
  --rule:        rgba(27, 34, 70, .14);
  --white:       #ffffff;

  /* --- type ------------------------------------------------------------- */
  --serif: "EB Garamond", "Adobe Garamond Pro", "Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --wrap-blog: 1280px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.75rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;      /* 18px — the live site's 23px is too large for
                               long-form reading; 18/1.7 keeps the Garamond
                               color while staying comfortable */
  line-height: 1.7;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

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

a { color: var(--teal-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--teal-link);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-deep); color: #fff; padding: .75rem 1.25rem;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.skip:focus { left: 0; }

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.wrap--narrow { width: min(var(--wrap-narrow), calc(100% - 3rem)); }
.wrap--blog { width: min(var(--wrap-blog), calc(100% - 3rem)); max-width: none; }

section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--ivory { background: var(--ivory); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* --------------------------------------------------------------------------
   Headings — Garamond, the live site's defining characteristic
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-deep);
  font-weight: 600;
  margin: 0 0 .6em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.12;
}
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* The live site set h2/h3 uppercase with heavy letterspacing. Uppercase
   Garamond at paragraph-heading size is hard to read and hurts the keyword
   signal for both Google and AI extraction, so the uppercase treatment moves
   to the sans-serif eyebrow instead, where it belongs. */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-link);
  margin: 0 0 .75rem;
}

.rule {
  width: 54px; height: 2px; background: var(--teal);
  margin: 0 0 1.35rem;
}

.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 14px rgba(27, 34, 70, .05);
  overflow: visible;
}
.header-bar {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 4.75rem; padding: .7rem 0;
  overflow: visible;
  /* Wider than the 1120px content column so the banner and desktop
     nav can sit side by side without the first item sliding over the logo. */
  width: min(1400px, calc(100% - 3rem));
}
.brand {
  display: flex; align-items: center; text-decoration: none;
  flex: 0 0 auto;
  max-width: 327px;
  overflow: hidden;
}
/* Banner is 1483×254 (~5.84:1). Size by max-height with width auto so the
   used box always matches that ratio. */
.brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: 327px;
  aspect-ratio: 1483 / 254;
  object-fit: contain;
  object-position: left center;
}
/* Shown by an onerror handler only if the Bunny logo 404s, so the header never
   renders a broken image while the logo upload is pending. */
.brand-fallback {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy-deep); letter-spacing: .01em; line-height: 1;
}
.brand-fallback .brand-apc { color: var(--teal-link); }
.foot-logo-fallback {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: #fff; letter-spacing: .01em; margin-bottom: 1.1rem; line-height: 1;
}
.foot-logo-fallback span { color: var(--teal-bright); }

.header-actions {
  display: flex; align-items: center; gap: .55rem;
  margin-left: auto; flex: 0 0 auto;
}
.header-cta {
  white-space: nowrap;
  padding: .7rem 1.05rem;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.header-cta .cta-short { display: none; }

.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .05rem; flex-wrap: nowrap; justify-content: flex-end; }
.site-nav a {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy-deep);
  text-decoration: none;
  padding: .55rem .48rem;
  border-radius: 3px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--teal-link); background: var(--ivory); }
.site-nav a:focus-visible {
  outline: 3px solid var(--teal-link);
  outline-offset: 2px;
}
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--teal-link);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: .35em;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px);
}
.site-nav .sub {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 262px; flex-direction: column; gap: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(27, 34, 70, .14);
  padding: .4rem;
  z-index: 20;
}
.site-nav .has-sub:hover .sub,
.site-nav .has-sub:focus-within .sub { display: flex; }
.site-nav .sub a {
  text-transform: none; letter-spacing: .01em; font-weight: 500;
  font-size: .84rem; padding: .55rem .7rem; white-space: nowrap;
}
.site-nav .sub a.is-active,
.site-nav .sub a[aria-current="page"] {
  background: var(--ivory);
  box-shadow: none;
}

.site-nav a.btn { color: #fff; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .5rem; width: 44px; height: 44px; flex: 0 0 44px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy-deep);
  margin: 5px auto; transition: transform .2s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible {
  outline: 3px solid var(--teal-link);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 1380px) {
  .header-bar { gap: .6rem; min-height: 4.2rem; padding: .55rem 0; }
  .brand { flex: 1 1 auto; max-width: none; }
  .brand img {
    max-height: 48px;
    max-width: 100%;
  }
  .header-cta { padding: .55rem .85rem; }
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
  .nav-toggle { display: block; }
  .nav-cta-mobile { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    max-height: min(78vh, calc(100dvh - 4rem)); overflow-y: auto;
    box-shadow: 0 18px 30px rgba(27, 34, 70, .12);
    flex: none; width: 100%;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.35rem; flex-wrap: nowrap; }
  .site-nav .sub {
    display: none; position: static; box-shadow: none; border: 0;
    padding: 0 0 .5rem .9rem; min-width: 0;
  }
  .site-nav .has-sub.open .sub { display: flex; }
  .site-nav .has-sub:hover .sub,
  .site-nav .has-sub:focus-within .sub { display: none; position: static; }
  .site-nav .has-sub.open:hover .sub,
  .site-nav .has-sub.open:focus-within .sub { display: flex; position: static; }
  .site-nav a {
    padding: .85rem 0; border-bottom: 1px solid var(--rule);
    min-height: 44px; display: flex; align-items: center;
    font-size: .8rem; letter-spacing: .06em;
  }
  .site-nav .sub a { border-bottom: 0; min-height: 44px; white-space: normal; }
  .site-nav a.btn,
  .nav-cta-mobile .btn {
    margin-top: .8rem; text-align: center; border-bottom: 0;
    justify-content: center; min-height: 48px;
  }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 8rem; }
  .header-bar {
    flex-wrap: wrap;
    gap: .45rem .6rem;
    min-height: 0;
    padding: .55rem 0 .5rem;
  }
  .brand { flex: 1 0 100%; max-width: none; }
  .brand img {
    max-height: 52px;
    max-width: min(340px, 100%);
  }
  .header-actions { margin-left: auto; }
}

@media (max-width: 380px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .brand img { max-height: 46px; }
  .header-cta { padding: .4rem .55rem; }
}

/* Monogram stand-in for attorneys whose headshot is not on the CDN yet. */
.atty-monogram {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 5; margin-bottom: 1.1rem; border-radius: 3px;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, .9);
  font-family: var(--serif); font-size: 3.2rem; font-weight: 500;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Buttons — one system, replacing the three mismatched live-site colors
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: var(--navy-deep);
  border: 2px solid var(--navy-deep);
  padding: .8rem 1.5rem;
  border-radius: 3px;
  min-height: 44px;
  transition: background .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--teal-link); border-color: var(--teal-link); color: #fff !important; }
.btn--lg { font-size: .85rem; padding: 1rem 2rem; }
.btn--ghost { background: transparent; color: var(--navy-deep) !important; }
.btn--ghost:hover { background: var(--navy-deep); color: #fff !important; }
.btn--on-dark { background: var(--teal); border-color: var(--teal); }
.btn--on-dark:hover { background: #fff; border-color: #fff; color: var(--navy-deep) !important; }
.btn--ghost-on-dark { background: transparent; border-color: rgba(255,255,255,.6); }
.btn--ghost-on-dark:hover { background: #fff; border-color: #fff; color: var(--navy-deep) !important; }

/* --------------------------------------------------------------------------
   Page head
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0;
}
.page-head h1 { max-width: 22ch; }

.page-head--media { position: relative; background: var(--navy); border-bottom: 0; }
.page-head--media .page-head-media { position: absolute; inset: 0; }
.page-head--media .page-head-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-head--media > .wrap { position: relative; }
.page-head--media h1,
.page-head--media .lede { color: #fff; }
.page-head--media .lede { color: rgba(255,255,255,.88); }
.page-head--media .eyebrow { color: var(--teal-bright); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: 0; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  opacity: .55;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(27,29,85,.88) 0%, rgba(27,34,70,.72) 46%, rgba(27,34,70,.42) 100%);
}
.hero-inner { position: relative; padding: clamp(4.2rem, 11vw, 8.4rem) 0; max-width: 44rem; }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 4.6vw, 3.55rem); text-shadow: 0 1px 18px rgba(27,29,85,.35); }
.hero .eyebrow { color: var(--teal-bright); }
.hero .rule { background: var(--teal-bright); }
.hero p { color: rgba(255,255,255,.92); font-size: clamp(1.1rem, 1.7vw, 1.32rem); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; align-items: center; }
.hero-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  color: #fff !important; text-decoration: none; padding: .8rem .2rem;
  min-height: 44px;
}
.hero-phone:hover { color: var(--teal-bright) !important; }

/* --------------------------------------------------------------------------
   Article body
   -------------------------------------------------------------------------- */
.article { max-width: 74ch; }
.article h2 { margin-top: 2.4em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.9em; }
.article ul, .article ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--teal-link); }

.article blockquote {
  margin: 2rem 0; padding: .3rem 0 .3rem 1.6rem;
  border-left: 3px solid var(--teal);
  font-style: italic; color: var(--ink-soft);
}

/* Direct-answer block: the 40-60 word summary AI engines lift verbatim.
   Kept visually distinct so a human reads it too. */
.answer {
  background: var(--ivory);
  border-left: 4px solid var(--teal);
  padding: 1.4rem 1.6rem;
  margin: 0 0 2.2rem;
  border-radius: 0 4px 4px 0;
}
.answer p { margin: 0; font-size: 1.12rem; }
.answer .answer-label {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-link);
  display: block; margin-bottom: .5rem;
}

/* Key-facts block */
.keyfacts {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy-deep);
  padding: 1.5rem 1.7rem;
  margin: 2.2rem 0;
  border-radius: 3px;
}
.keyfacts h3 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--navy-deep);
  margin: 0 0 .9rem;
}
.keyfacts dl { margin: 0; display: grid; grid-template-columns: minmax(9rem, 34%) 1fr; gap: .55rem 1.2rem; }
.keyfacts dt { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--navy-deep); }
.keyfacts dd { margin: 0; font-size: 1rem; }
@media (max-width: 560px) {
  .keyfacts dl { grid-template-columns: 1fr; gap: .15rem; }
  .keyfacts dd { margin-bottom: .7rem; }
}

/* Comparison tables */
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: var(--navy-deep); border-bottom: 0;
}
tbody tr:nth-child(even) { background: var(--ivory); }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }

/* Blog index: force 3 columns on a wide wrap. auto-fit + the 74ch .article
   column was collapsing "Latest articles" to 2 + 1. Explicit tracks keep
   three cards on one row from ~900px up. */
.grid.post-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 900px) {
  .grid.post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid.post-cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.7rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card h3 { margin-top: 0; font-size: 1.28rem; }
.card p { font-size: 1rem; color: var(--ink-soft); }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover {
  box-shadow: 0 12px 30px rgba(27, 34, 70, .12);
  transform: translateY(-2px);
  border-color: rgba(61, 153, 145, .45);
}
a.card:hover h3 { color: var(--teal-link); }
.card .more {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--teal-link);
  display: inline-block; margin-top: .8rem;
}

/* Blog: latest-article cards (2026-09-20) */
.post-cards { margin: .4rem 0 2.4rem; }
.post-card__meta { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; margin: 0 0 .7rem; font-size: .8rem; color: var(--ink-soft); }
.post-card__meta .eyebrow { margin: 0; font-size: .7rem; }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; }
.post-card p { font-size: .95rem; }
.post-card { display: flex; flex-direction: column; min-height: 100%; }
.post-card .more { margin-top: auto; }

.wrap--blog h2 { margin-top: 2.2em; }
.wrap--blog h2#latest { margin-top: 0; }


/* Attorney cards */
.atty-card { text-align: left; }
.atty-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border-radius: 3px; margin-bottom: 1.1rem; background: var(--ivory-deep);
}
.atty-card h3 { font-size: 1.2rem; margin-bottom: .15rem; }
.atty-card .atty-role {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal-link);
  margin-bottom: .6rem;
}
.atty-card .atty-bar { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
/* Card sub-lines are spans, not <p>, so the generator's auto-linker cannot inject
   an <a> inside the card's own <a> wrapper. .block restores paragraph layout. */
.block { display: block; }

.atty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.atty-portrait {
  margin: 0;
  max-width: 280px;
}
.atty-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 3px;
  background: var(--ivory-deep);
}
.atty-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin: 1.4rem 0 0;
}
@media (min-width: 800px) {
  .atty-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2.4rem;
  }
  .atty-portrait { max-width: none; }
}
@media (max-width: 799px) {
  .atty-portrait { order: -1; }
}

/* Related resource chips */
.related { display: flex; flex-wrap: wrap; gap: .7rem; }
.related a {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  text-decoration: none; color: var(--navy-deep);
  background: var(--white); border: 1px solid var(--rule);
  padding: .6rem 1rem; border-radius: 999px;
}
.related a:hover { border-color: var(--teal); color: var(--teal-link); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 78ch; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: .35rem 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600;
  color: var(--navy-deep); padding: 1rem 2.5rem 1rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; font-weight: 400;
  color: var(--teal-link); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding: 0 2.5rem 1.2rem 0; margin: 0; color: var(--ink-soft); }
.faq details[open] summary { color: var(--teal-link); }

/* --------------------------------------------------------------------------
   Consultation band
   -------------------------------------------------------------------------- */
.band { background: var(--navy-deep); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.85); max-width: 52ch; margin-inline: auto; }
.band .eyebrow { color: var(--teal-bright); }
.band .band-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* --------------------------------------------------------------------------
   Offices
   -------------------------------------------------------------------------- */
.office {
  background: var(--white); border: 1px solid var(--rule);
  border-top: 3px solid var(--teal); border-radius: 3px; padding: 1.6rem;
}
.office h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.office address { font-style: normal; font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.office .office-note { font-size: .95rem; font-style: italic; color: var(--ink-soft); margin-top: .6rem; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; max-width: 40rem; }
.field label {
  display: block; font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy-deep);
  margin-bottom: .4rem;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--serif); font-size: 1.05rem;
  padding: .75rem .85rem; border: 1px solid rgba(27,34,70,.28);
  border-radius: 3px; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal-link); outline: 2px solid rgba(61,153,145,.28); outline-offset: 0;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field .req { color: #b3261e; }
.form-note { font-size: .92rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   Disclaimer
   -------------------------------------------------------------------------- */
.disclaimer {
  font-size: .88rem; line-height: 1.6; color: var(--ink-soft);
  border-top: 1px solid var(--rule); padding-top: 1.1rem; margin-top: 2.2rem;
  font-style: italic;
}

.byline {
  font-family: var(--sans); font-size: .78rem; color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.byline a { color: var(--teal-link); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.86); padding: clamp(3rem,5vw,4.5rem) 0 0; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); text-decoration: underline; }
.foot-grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.foot-logo { width: auto; height: auto; max-width: min(327px, 100%); max-height: 56px; aspect-ratio: 1483 / 254; object-fit: contain; object-position: left center; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.foot-tag { font-size: .98rem; color: rgba(255,255,255,.7); max-width: 34ch; }
.site-footer h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; font-size: .97rem; line-height: 1.55; }
.foot-offices li { margin-bottom: 1.1rem; }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 1.4rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.62);
}
.foot-bar a { color: rgba(255,255,255,.62); }
.foot-disclaimer {
  font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0 2rem; max-width: 96ch;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.center .lede, .center .keyfacts dl { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .site-header, .site-nav, .band, .site-footer, .nav-toggle { display: none !important; }
  body { font-size: 11pt; }
}

/* Gated white-paper library (2026-09-20) */
.wp-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:2.2rem;align-items:start;margin:1.6rem 0 .5rem}
.wp-card{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--rule)}
.wp-tag{display:inline-block;font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-link);background:var(--ivory);padding:.32rem .7rem;border-radius:100px;margin-bottom:.7rem}
.wp-card h2{margin:.1rem 0 .5rem;font-size:1.35rem}
.wp-lede{font-size:1.02rem;color:var(--ink)}
.wp-form-wrap{position:sticky;top:1.2rem}
.wp-form,.wp-done,.wp-error{background:var(--ivory);border:1px solid var(--rule);border-top:4px solid var(--teal-link);border-radius:4px;box-shadow:0 12px 30px rgba(27,34,70,.08);padding:1.5rem 1.5rem 1.6rem}
.wp-form-title{font-family:var(--serif);font-size:1.4rem;font-weight:700;color:var(--navy);margin:0 0 .9rem}
.wp-field{display:block;margin-bottom:.9rem}
.wp-field span{display:block;font-family:var(--sans);font-size:.82rem;font-weight:600;color:var(--ink-soft);margin-bottom:.3rem}
.wp-field input{width:100%;padding:.75rem .85rem;border:1px solid var(--rule);border-radius:4px;font-size:1rem;font-family:var(--sans);background:#fff;color:var(--ink);box-sizing:border-box}
.wp-field input:focus{outline:none;border-color:var(--teal-link);box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.wp-submit{width:100%;margin-top:.3rem;cursor:pointer}
.wp-submit:disabled{opacity:.6;cursor:default}
.wp-note{font-size:.8rem;color:var(--ink-soft);margin:.8rem 0 0;line-height:1.5}
.wp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wp-done{text-align:center}
.wp-check{width:52px;height:52px;line-height:52px;margin:0 auto .6rem;border-radius:50%;background:var(--navy);color:#fff;font-size:1.6rem}
.wp-done h3{color:var(--navy);margin:.2rem 0 .5rem}
.wp-error{border-top-color:#b23b3b;color:#8a2a2a;background:#fbeeee;font-size:.92rem;padding:.9rem 1.1rem;margin-top:.9rem}
.wp-empty{background:var(--ivory);border-left:4px solid var(--teal-link);padding:1rem 1.2rem;border-radius:0 4px 4px 0}
@media(max-width:820px){.wp-grid{grid-template-columns:1fr;gap:1.4rem}.wp-form-wrap{position:static}}

.field .opt{font-family:var(--sans);font-size:.78rem;color:var(--ink-soft);font-weight:400;margin-left:.3rem}
