/* =========================================================
   Harish Kara & Associates — Shared stylesheet
   Quiet premium · cool stone neutral + deep green/charcoal
   ========================================================= */

:root {
  /* Surface — cool stone neutral, not cream */
  --paper:      #E9EBEE;     /* primary page bg — cool light stone-blue */
  --paper-2:    #DCDFE4;     /* alt section bg */
  --paper-3:    #F4F6F9;     /* card surface */
  --rule:       #C5C8CE;     /* hairline */
  --rule-soft:  #D6D9DE;

  /* Ink */
  --ink:        #0D1422;
  --ink-2:      #2A3142;
  --muted:      #6B7080;

  /* Brand — deep midnight navy */
  --green:        #15243F;   /* primary navy (token name kept for back-compat) */
  --green-2:      #1F3252;
  --green-deep:   #0A1426;   /* darkest navy panel */
  --green-tint:   rgba(21,36,63,0.08);

  /* Accent — warm copper, used sparingly for italic phrases on dark only */
  --tan:        #C97D49;

  /* Type */
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max: 1280px;
  --gutter: 56px;
  --gutter-sm: 24px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul,ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
::selection { background: var(--green); color: var(--paper-3); }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); }
.italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow .line { display: inline-block; width: 36px; height: 1px; background: var(--muted); }
.tnum { font-feature-settings: 'tnum' 1; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(48px, 6vw, 88px); line-height: 1.0; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.25; }
.display em, h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green); }

p { margin: 0; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.grid { display: grid; gap: 32px; }
.flow > * + * { margin-top: 16px; }

/* ---------- Wordmark (text only — no symbol mark) ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  color: inherit;
}
.wordmark .amp { font-style: italic; color: var(--tan); }
.wordmark.sm { font-size: 18px; }

/* ---------- Navigation (shared) ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  background: rgba(233,235,238,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.site-nav.scrolled { padding-top: 14px; padding-bottom: 14px; border-bottom-color: var(--rule); background: rgba(233,235,238,0.94); }
.site-nav.dark {
  background: transparent;
  border-bottom: 0;
  color: #F4F5F0;
}
.site-nav.dark.scrolled { background: rgba(10,20,38,0.86); border-bottom-color: rgba(244,246,249,0.10); }
.site-nav ul.menu { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
.site-nav.dark ul.menu { color: rgba(244,246,249,0.82); }
.site-nav ul.menu a { position: relative; padding: 4px 0; }
.site-nav ul.menu a.active::after,
.site-nav ul.menu a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 13px; letter-spacing: 0.01em;
  background: var(--ink); color: var(--paper-3);
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.nav-cta:hover { background: var(--green); }
.site-nav.dark .nav-cta { background: var(--paper-3); color: var(--ink); }
.site-nav.dark .nav-cta:hover { background: #fff; }

.nav-burger { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  font-size: 14px; letter-spacing: 0.005em;
  background: var(--ink); color: var(--paper-3);
  border-radius: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-3); }
.btn-light { background: var(--paper-3); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-light-ghost { background: transparent; color: var(--paper-3); border: 1px solid rgba(244,246,249,0.5); }
.btn-light-ghost:hover { background: var(--paper-3); color: var(--ink); border-color: var(--paper-3); }
.btn-green { background: var(--green); color: var(--paper-3); }
.btn-green:hover { background: var(--green-deep); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- Hero (Variant C — architectural full-bleed) ---------- */
.hero { position: relative; min-height: 92vh; background: #0A1426; color: var(--paper-3); overflow: hidden; }
.hero .bgimg { position: absolute; inset: 0; background-position: center 60%; background-size: cover; background-color: #15243F; }
.hero .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,38,0.72) 0%, rgba(10,20,38,0.55) 30%, rgba(10,20,38,0.94) 100%),
    linear-gradient(90deg, rgba(10,20,38,0.62) 0%, rgba(10,20,38,0.25) 65%);
}
.hero .grain { position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 3px 3px; pointer-events: none; }
.hero .inner { position: relative; min-height: 92vh; display: flex; flex-direction: column; }
.hero .corners {
  position: absolute; top: 100px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,246,249,0.7);
}
.hero .body { flex: 1; display: flex; align-items: flex-end; padding: var(--gutter); padding-top: 180px; }
.hero .body-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; width: 100%; align-items: end; max-width: var(--max); margin: 0 auto; }
.hero h1 { font-size: clamp(56px, 7vw, 104px); line-height: 0.96; letter-spacing: -0.04em; max-width: 14ch; }
.hero h1 em { color: var(--tan); }
.hero .firm-name { font-family: var(--serif); font-size: clamp(40px, 5vw, 76px); line-height: 1.0; letter-spacing: -0.025em; max-width: 18ch; }
.hero .firm-name .and { font-style: italic; color: var(--tan); }
.hero .right p { font-size: 16px; line-height: 1.55; color: rgba(244,246,249,0.88); margin: 0; max-width: 38ch; }
.hero .right .ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero .right .btn { padding: 16px 22px; font-size: 14px; justify-content: space-between; }
.hero .stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244,246,249,0.18);
}
.hero .stats .stat { padding: 22px 32px; border-right: 1px solid rgba(244,246,249,0.18); }
.hero .stats .stat:last-child { border-right: 0; }
.hero .stats .n { font-family: var(--serif); font-size: 38px; color: var(--tan); letter-spacing: -0.02em; line-height: 1; }
.hero .stats .l { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,246,249,0.72); margin-top: 8px; }

/* ---------- Page header (non-home pages) ---------- */
.page-head { padding: 140px 0 64px; border-bottom: 1px solid var(--rule); }
.page-head .eyebrow { margin-bottom: 28px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 60ch; margin-top: 24px; }

/* ---------- Cards / panels ---------- */
.card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 32px;
  transition: border-color .2s ease, transform .25s ease;
}
.card:hover { border-color: var(--green); }
.card .num { font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: 0.06em; }
.card h3 { margin: 8px 0 14px; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.card .link-arrow { margin-top: 22px; }

.panel-dark { background: var(--green-deep); color: var(--paper-3); }
.panel-dark .lead { color: rgba(244,246,249,0.85); }
.panel-dark .eyebrow { color: rgba(244,246,249,0.6); }
.panel-dark .eyebrow .line { background: rgba(244,246,249,0.5); }

/* ---------- Index numbering blocks ---------- */
.indexed-row {
  display: grid; grid-template-columns: 80px 1fr 1fr 1fr; gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.indexed-row:last-child { border-bottom: 1px solid var(--rule); }
.indexed-row .ix { font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: 0.06em; padding-top: 4px; }
.indexed-row h3 { margin: 0 0 8px; }
.indexed-row p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.indexed-row .heading-col { padding-right: 24px; }

/* ---------- Logo / memberships strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.strip > div {
  padding: 28px 24px; border-right: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.strip > div:last-child { border-right: 0; }
.strip .label { font-family: var(--serif); color: var(--muted); font-size: 13px; letter-spacing: 0.05em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--paper-3); padding: 96px 0 36px; margin-top: 96px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; }
.site-footer h4 { font-family: var(--serif); font-weight: 400; font-size: 14px; color: rgba(244,246,249,0.6); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul li { padding: 6px 0; font-size: 14px; color: rgba(244,246,249,0.82); }
.site-footer ul li a:hover { color: var(--tan); }
.site-footer .firm { font-family: var(--serif); font-size: 28px; line-height: 1.15; max-width: 14ch; margin-bottom: 16px; }
.site-footer .firm .and { font-style: italic; color: var(--tan); }
.site-footer .blurb { color: rgba(244,246,249,0.7); font-size: 14px; line-height: 1.55; max-width: 36ch; }
.site-footer .meta {
  grid-column: 1 / -1; margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(244,246,249,0.12);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
  font-size: 12px; color: rgba(244,246,249,0.55); letter-spacing: 0.04em;
}
.site-footer .meta .disclaimer { max-width: 72ch; }
.site-footer .meta a { color: rgba(244,246,249,0.78); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--paper-2); padding: 64px 0;
}
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter h3 { font-size: 36px; max-width: 18ch; }
.newsletter form { display: flex; gap: 0; border: 1px solid var(--ink); }
.newsletter input[type="email"] { flex: 1; padding: 16px 18px; background: transparent; border: 0; font: inherit; color: var(--ink); outline: none; }
.newsletter input[type="email"]::placeholder { color: var(--muted); }
.newsletter button { background: var(--ink); color: var(--paper-3); padding: 16px 22px; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; }
.newsletter button:hover { background: var(--green); }
.newsletter .note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s;   }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.field { display: flex; flex-direction: column; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; outline: none; padding: 6px 0; font: inherit; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--green); }
.field textarea { resize: vertical; min-height: 100px; }
.field.full:nth-child(odd) { border-right: 0; }
.form-grid .field:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--rule); }
.form-grid .field.full:nth-child(odd) { border-right: 0; padding-right: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { color: #8a2727; }
.field .err { font-size: 12px; color: #8a2727; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; text-align: left; padding: 28px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 22px; letter-spacing: -0.015em; font-family: var(--sans); font-weight: 500; }
.faq-q .ix { font-family: var(--serif); font-size: 14px; color: var(--muted); flex-shrink: 0; min-width: 48px; }
.faq-q .plus { font-family: var(--serif); font-size: 22px; color: var(--muted); transition: transform .25s ease; line-height: 1; padding-top: 4px; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 56px 28px 64px; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 68ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Misc ---------- */
.kicker { font-size: 14px; color: var(--muted); }
.tag {
  display: inline-block; padding: 6px 12px; font-size: 12px; letter-spacing: 0.04em;
  border: 1px solid var(--rule); color: var(--ink-2); margin: 0 6px 8px 0;
}
.tag.dark { background: var(--ink); color: var(--paper-3); border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .page-head { padding: 100px 0 48px; }
  .site-nav ul.menu { display: none; }
  .nav-burger { display: inline-flex; }
  .site-nav .nav-cta { display: none; }
  .hero .corners { display: none; }
  .hero .body { padding-top: 140px; }
  .hero .body-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .stats .stat:nth-child(2) { border-right: 0; }
  .hero .stats .stat:nth-child(1), .hero .stats .stat:nth-child(2) { border-bottom: 1px solid rgba(244,246,249,0.18); }
  .indexed-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .indexed-row .heading-col { grid-column: 2; padding-right: 0; }
  .indexed-row > p { grid-column: 2; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(odd) { border-right: 1px solid var(--rule); }
  .strip > div { border-bottom: 1px solid var(--rule); }
  .newsletter .wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field:nth-child(odd) { padding-right: 0; border-right: 0; }

  /* --- Override inline-styled grids on multiple pages --- */
  [style*="grid-template-columns:1fr 1.6fr"],
  [style*="grid-template-columns: 1fr 1.6fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns:1.6fr 1fr"],
  [style*="grid-template-columns: 1.6fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(5"],
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr 1fr 1fr"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  [style*="grid-template-columns:repeat(6"],
  [style*="grid-template-columns: repeat(6"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  [style*="width: 670px"],
  [style*="width:670px"],
  [style*="width: 770px"],
  [style*="width:770px"],
  [style*="width: 780px"],
  [style*="width:780px"] {
    max-width: 100% !important;
    width: auto !important;
  }
  [style*="gap:80px"],
  [style*="gap: 80px"],
  [style*="gap:64px"],
  [style*="gap: 64px"] {
    gap: 32px !important;
  }
  [style*="margin-bottom:64px"],
  [style*="margin-bottom: 64px"] {
    margin-bottom: 40px !important;
  }

  /* Scale down oversized inline typography (e.g. team monograms) */
  [style*="font-size:96px"],
  [style*="font-size: 96px"] {
    font-size: 56px !important;
  }
  [style*="font-size:76px"],
  [style*="font-size: 76px"] {
    font-size: 48px !important;
  }
}

@media (max-width: 768px) {
  /* iPad portrait & large phones — most 2-column grids should collapse */
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }

  /* Stack everything on phones */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(5"],
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(6"],
  [style*="grid-template-columns: repeat(6"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Scale down oversized inline typography */
  [style*="font-size:96px"],
  [style*="font-size: 96px"] {
    font-size: 36px !important;
  }
  [style*="font-size:76px"],
  [style*="font-size: 76px"] {
    font-size: 32px !important;
  }
  [style*="font-size:56px"],
  [style*="font-size: 56px"] {
    font-size: 28px !important;
  }

  /* Hero typography on phones */
  .hero { min-height: 80vh; }
  .hero .inner { min-height: 80vh; }
  .hero .body { padding-top: 110px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); letter-spacing: -0.025em; }
  .hero .firm-name { font-size: clamp(26px, 7vw, 40px); }
  .hero .stats .n { font-size: 28px; }
  .hero .stats .l { font-size: 10px; letter-spacing: 0.08em; }
  .hero .stats .stat { padding: 16px 18px; }
  .hero .right p { font-size: 15px; }

  /* Section spacing */
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .section-tight { padding: 28px 0; }
  .page-head { padding: 80px 0 36px; }
  .page-head h1 { font-size: clamp(34px, 8vw, 48px); }

  /* Typography */
  h1 { letter-spacing: -0.025em; }
  h2 { letter-spacing: -0.02em; font-size: clamp(28px, 6vw, 40px); }
  .lead { font-size: 16px; }

  /* Footer */
  .site-footer { padding: 56px 0 24px; margin-top: 56px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer .firm { font-size: 24px; }

  /* Newsletter */
  .newsletter { padding: 40px 0; }
  .newsletter h3 { font-size: 24px; }
  .newsletter form { flex-direction: column; gap: 0; border: 0; }
  .newsletter input[type="email"] { border: 1px solid var(--ink); padding: 14px 16px; }
  .newsletter button { padding: 14px 18px; justify-content: center; width: 100%; }

  /* Indexed rows */
  .indexed-row { padding: 22px 0; }
  .indexed-row .ix { font-size: 12px; padding-top: 2px; }

  /* FAQ */
  .faq-q { font-size: 18px; padding: 22px 0; gap: 14px; line-height: 1.3; }
  .faq-q .ix { font-size: 12px; min-width: 36px; }
  .faq-a-inner { padding: 0 0 24px 36px; font-size: 15px; }

  /* Strip cells */
  .strip { grid-template-columns: 1fr; }
  .strip > div { border-right: 0; border-bottom: 1px solid var(--rule); font-size: 12px; padding: 20px 18px; }
  .strip > div:last-child { border-bottom: 0; }

  /* Buttons */
  .btn { padding: 14px 18px; font-size: 13px; }

  /* Cards */
  .card { padding: 24px 20px; }

  /* Nav padding */
  .site-nav { padding: 14px var(--gutter); }
  .wordmark { font-size: 18px; }
  .wordmark.sm { font-size: 16px; }
}

/* ---------- Mobile menu (when opened by burger) ---------- */
@media (max-width: 1024px) {
  .site-nav ul.menu.open { box-shadow: 0 6px 20px rgba(13,20,34,0.08); }
  .site-nav ul.menu.open li { width: 100%; border-bottom: 1px solid var(--rule-soft); }
  .site-nav ul.menu.open li:last-child { border-bottom: 0; }
  .site-nav ul.menu.open a { display: block; padding: 14px 0; font-size: 15px; }
  .site-nav ul.menu.open a::after { display: none; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 34px; }
  .hero .firm-name { font-size: 24px; }
}

/* Prevent horizontal overflow from long content */
html, body { overflow-x: hidden; }
img, iframe { max-width: 100%; }
