/* ==========================================================================
   Integra Injury Management
   Design system + site styles. One file, no build step, no dependencies.
   Colour tokens mirror brand/system.py exactly.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Jakarta';
  src: url('../fonts/PlusJakartaSans-VF.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Colour — mirrors brand/system.py exactly. Audited: 23/23 WCAG pairings pass. */
  --navy: #16294A;
  --navy-dk: #0D1A31;
  --brass: #A8823A;          /* decoration only: rules, icons, the mark */
  --brass-lt: #C6A55F;    /* brass on dark backgrounds */
  --brass-tx: #7E6229;    /* the only brass safe for small text */
  --ink: #23262E;
  --slate: #5A5F6B;
  --mist: #BFC5D1;
  --silver: #8E887C;        /* input borders — clears 3:1 */
  --stone: #D8CFBE;          /* decorative outlines */
  --line: #E7E1D6;
  --sand: #F3EEE5;
  --paper: #FBF9F5;
  --white: #FFFFFF;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --disp: 'Jakarta', 'Inter', system-ui, sans-serif;

  --wrap: 1160px;
  --gut: 30px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(35,38,46,.05), 0 10px 28px rgba(35,38,46,.06);
  --shadow-lg: 0 2px 6px rgba(35,38,46,.07), 0 20px 52px rgba(35,38,46,.10);
  --ease: cubic-bezier(.4,0,.2,1);
  --header-h: 82px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--disp); font-weight: 700; letter-spacing: -.022em;
  line-height: 1.16; margin: 0; color: var(--navy);
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-dk); }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600; font-size: 15px;
}
.skip:focus { left: 0; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.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;
}

/* --- Type scale ----------------------------------------------------------- */
.h-xl { font-size: clamp(33px, 5.2vw, 56px); letter-spacing: -.03em; line-height: 1.08; }
.h-lg { font-size: clamp(27px, 3.7vw, 40px); letter-spacing: -.026em; }
.h-md { font-size: clamp(21px, 2.5vw, 27px); }
.h-sm { font-size: 19px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--navy); margin: 0 0 20px;
  font-family: var(--sans);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brass);
  border-radius: 2px; flex: none;
}
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before { background: var(--brass-lt); }
.lede { font-size: 19px; color: var(--slate); max-width: 64ch; }
.lede.on-dark { color: var(--mist); }
.small { font-size: 14.5px; color: var(--slate); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,252,253,.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: auto; }
.brand img.brand-full { display: block; width: 205px; }
.brand img.brand-compact { display: none; width: 168px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 9px 14px; border-radius: var(--radius-sm);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav a:hover { background: var(--sand); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--navy);
  border-radius: 2px; margin: 5px 14px -11px;
}
.nav a.btn { margin-left: 10px; }
.nav a.btn-primary { color: #fff; background: var(--navy); }
.nav a.btn-primary:hover { color: #fff; background: var(--navy-dk); }
.nav a.btn[aria-current="page"]::after { display: none; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px; background: var(--navy);
  border-radius: 2px; position: relative; transition: background .16s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.3;
  transition: background .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dk); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--stone); }
.btn-secondary:hover { background: var(--sand); border-color: var(--slate); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sand); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { font-size: 16.5px; padding: 15px 28px; }
.btn .arrow { transition: transform .16s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy p { color: var(--mist); }
.section + .section-sand, .section-sand + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 66ch; margin-bottom: 48px; }
.rule { width: 44px; height: 3px; background: var(--brass); border-radius: 3px;
  margin-bottom: 24px; }
.section-navy .rule { background: var(--brass-lt); }
.section-head p { color: var(--slate); }
.section-navy .section-head p { color: var(--mist); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 96px;
  background: linear-gradient(168deg, var(--sand) 0%, var(--paper) 62%);
  border-bottom: 1px solid var(--line);
}
.hero > .wrap { position: relative; }
.hero-mark {
  position: absolute; right: -9%; top: -14%; width: 640px;
  pointer-events: none; color: var(--navy); z-index: 0;
}
.hero-mark svg { display: block; width: 100%; height: auto; }
.hero h1 { max-width: 16ch; font-size: clamp(36px,5.4vw,60px); letter-spacing: -.032em;
  line-height: 1.06; }
.hero .lede { margin-top: 22px; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 46px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--slate);
}
.hero-trust span { display: flex; align-items: center; gap: 9px; }
.hero-trust svg { flex: none; color: var(--brass); }

.hero-page {
  position: relative; overflow: hidden;
  padding: 84px 0 70px;
  background: linear-gradient(168deg, var(--sand) 0%, var(--paper) 74%);
  border-bottom: 1px solid var(--line);
}
.hero-page > .wrap { position: relative; }
.hero-page h1 { max-width: 20ch; }
.hero-page .lede { margin-top: 18px; }

/* --- Grids and cards ------------------------------------------------------ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease),
              transform .18s var(--ease);
}
.section-sand .card { background: var(--paper); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--slate); margin: 0; }
.card-hover:hover {
  border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-2px);
}
.card-num {
  font-family: var(--disp); font-weight: 700; font-size: 12.5px; color: var(--brass);
  letter-spacing: .06em; display: block; margin-bottom: 14px;
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); color: var(--brass);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

/* two-column intro */
.split {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.12fr);
  gap: 56px; align-items: start;
}
.split > div:first-child h2 { max-width: 19ch; }
.split-tight { gap: 40px; }

/* numbered approach list */
.steps { display: grid; gap: 2px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--line); margin: 0;
}
.steps li:first-child { border-top: 0; }
.steps .n {
  counter-increment: step;
  font-family: var(--disp); font-weight: 700; font-size: 13px; color: var(--brass);
  font-variant-numeric: tabular-nums; padding-top: 3px;
}
.steps .n::before { content: counter(step, decimal-leading-zero); }
.steps b {
  display: block; font-family: var(--disp); font-size: 17.5px; color: var(--navy);
  margin-bottom: 5px; font-weight: 700; letter-spacing: -.015em;
}
.steps span { color: var(--slate); font-size: 15.5px; }

/* why list on navy */
.why { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.why > div { padding: 26px 24px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
.why h3 { font-size: 18px; margin-bottom: 9px; }
.why p { font-size: 15.5px; margin: 0; }

/* --- Services page -------------------------------------------------------- */
.service {
  display: grid; grid-template-columns: minmax(260px, .85fr) minmax(300px, 1.15fr);
  gap: 48px; padding: 52px 0; border-top: 1px solid var(--line); align-items: start;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service:first-of-type { border-top: 0; padding-top: 10px; }
.service .s-n {
  font-family: var(--disp); font-weight: 700; font-size: 12.5px; color: var(--brass);
  letter-spacing: .08em; display: block; margin-bottom: 12px;
}
.service h2 { font-size: clamp(21px, 2.4vw, 26px); }
.service .s-lead {
  color: var(--brass-tx); font-weight: 600; font-size: 16px; margin-top: 9px;
}
.service .s-body { color: var(--slate); font-size: 16px; }
.service .s-inc {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.service .s-inc h3 {
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 15px; font-family: var(--sans); font-weight: 600;
}
.service .s-inc ul { list-style: none; padding: 0; margin: 0; }
.service .s-inc li {
  position: relative; padding-left: 27px; margin-bottom: 11px;
  font-size: 15.5px; color: var(--ink);
}
.service .s-inc li:last-child { margin-bottom: 0; }
.service .s-inc li::before {
  content: ""; position: absolute; left: 1px; top: 8px; width: 11px; height: 6px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}
.service-jump {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px;
}
.service-jump a {
  font-size: 14px; text-decoration: none; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  padding: 8px 16px; transition: border-color .16s var(--ease), background .16s var(--ease);
}
.service-jump a:hover { border-color: var(--slate); background: var(--sand); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-band .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); color: #fff; max-width: 18ch; }
.cta-band p { color: var(--mist); max-width: 52ch; margin: 14px 0 0; }
.cta-band .actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* --- Notice --------------------------------------------------------------- */
.notice {
  background: var(--sand); border: 1px solid var(--line);
  border-left: 3px solid var(--navy); border-radius: var(--radius);
  padding: 22px 26px; font-size: 15.5px; color: var(--slate);
}
.notice b { color: var(--navy); }
.notice-lead {
  font-family: var(--disp); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px);
  color: var(--navy); letter-spacing: -.02em; line-height: 1.32;
  padding: 30px 34px;
}

/* --- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(260px, .85fr);
  gap: 52px; align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 14px; font-weight: 600; color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--silver);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 138px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22,41,74,.15);
}
.field .hint { font-size: 13px; color: var(--slate); margin-top: 6px; }
.field .err {
  font-size: 13.5px; color: #A32B2B; margin-top: 6px; display: none;
  font-weight: 500;
}
.field.invalid input, .field.invalid textarea { border-color: #A32B2B; }
.field.invalid .err { display: block; }
.form-status {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 15px; margin-bottom: 20px;
}
.form-status.ok { display: block; background: #E4F0E8; color: #1D5B33; border: 1px solid #BEDCC8; }
.form-status.bad { display: block; background: #FBEAEA; color: #A32B2B; border: 1px solid #F0CFCF; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 2px; }
.contact-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 15px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.contact-item:first-child { border-top: 0; padding-top: 0; }
.contact-item .ic {
  width: 42px; height: 42px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); color: var(--brass);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item b {
  display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); font-weight: 600; margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  font-size: 16.5px; color: var(--ink); overflow-wrap: anywhere;
}
.contact-item a { text-decoration: none; color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--navy); text-decoration: underline; }

/* --- Insights ------------------------------------------------------------- */
.section-tight { padding-top: 0; }
.soon-art {
  display: block; width: 100%; max-width: 640px; height: auto;
  margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line);
}

.mission-lead {
  font-size: 19px; line-height: 1.6; color: var(--navy);
  font-weight: 500; margin-bottom: 18px;
}
@media (max-width: 640px) { .mission-lead { font-size: 17.5px; } }

/* --- Legal ---------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc h2 {
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 14px; font-family: var(--sans); font-weight: 600;
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: l; }
.legal-toc li { margin-bottom: 3px; }
.legal-toc a {
  display: block; font-size: 14px; color: var(--slate); text-decoration: none;
  padding: 5px 0; line-height: 1.45;
}
.legal-toc a:hover { color: var(--navy); }
.legal-body h2 {
  font-size: 20px; margin: 42px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 16px; color: var(--slate); }
.legal-body em { color: var(--ink); font-style: italic; }
.legal-meta {
  font-size: 14px; color: var(--slate); padding-top: 26px; margin-top: 40px;
  border-top: 1px solid var(--line);
}

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-dk); color: var(--mist); padding: 66px 0 30px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer-brand img, .footer-brand svg { width: 215px; height: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 38ch; color: var(--mist); }
.footer-col h2 {
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase; color: #fff;
  margin-bottom: 16px; font-family: var(--sans); font-weight: 600; letter-spacing: .17em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--mist); text-decoration: none; font-size: 15px;
  /* Keep the email on one line rather than breaking mid-address. */
  overflow-wrap: normal; word-break: normal; white-space: nowrap;
}
.footer-col li { overflow-wrap: normal; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between;
  padding-top: 26px; font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--mist); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* --- 404 ------------------------------------------------------------------ */
.err-page { padding: 110px 0; text-align: center; }
.err-page .code {
  font-family: var(--disp); font-size: 72px; font-weight: 700; color: var(--stone);
  line-height: 1; margin-bottom: 14px;
}
.err-page .actions { display: flex; gap: 13px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .split, .contact-grid, .service { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; gap: 34px; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 26px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px var(--gut) 24px; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 16.5px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--sand); }
  .nav a.btn { margin: 12px 0 0; }
  /* Below 190px the horizontal lockup breaks its own minimum size, so the
     brand kit's compact lockup takes over (minimum 130px). */
  .brand img.brand-full { display: none; }
  .brand img.brand-compact { display: block; }
  .section { padding: 62px 0; }
  .hero { padding: 66px 0 60px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}

@media (max-width: 560px) {
  :root { --gut: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  body { font-size: 16.5px; }
  .hero .lede { font-size: 18px; }
  .lede { font-size: 17.5px; }
  .hero-actions .btn, .cta-band .actions .btn { width: 100%; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .form-card { padding: 24px 20px; }
  .legal-toc ol { columns: 1; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section, .hero, .hero-page { padding: 18pt 0; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .card, .service .s-inc { border: 1px solid #ccc; break-inside: avoid; }
}

/* --- Insights: article list and article pages ----------------------------- */
.post-list { display: grid; gap: 18px; margin-bottom: 56px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease),
              transform .18s var(--ease);
}
.post-card:hover {
  border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-2px);
}
.post-card a { display: block; padding: 30px 32px; text-decoration: none; color: inherit; }
.post-card h2 { font-size: 23px; margin: 8px 0 10px; }
.post-date {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--slate); margin: 0;
}
.post-sum { color: var(--slate); font-size: 16px; margin: 0 0 16px; max-width: 68ch; }
.post-more {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600;
  font-size: 15.5px; color: var(--navy);
}
.post-card:hover .post-more .arrow { transform: translateX(3px); }

.article-title { max-width: 22ch; }
.hero-page .post-date { margin-top: 18px; }
.article-body { max-width: 68ch; font-size: 18px; }
.article-body h2 {
  font-size: clamp(22px,2.8vw,29px); margin: 44px 0 16px;
}
.article-body h3 { font-size: 20px; margin: 34px 0 12px; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
  margin: 30px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brass);
  color: var(--slate); font-size: 18.5px;
}
.article-body img { border-radius: var(--radius); margin: 30px 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-body code {
  background: var(--sand); padding: 2px 6px; border-radius: 5px; font-size: .9em;
}
@media (max-width: 560px) {
  .post-card a { padding: 24px 22px; }
  .post-card h2 { font-size: 20px; }
  .article-body { font-size: 17px; }
}
