/* ==========================================================================
   Davis Legal — main.css
   Design direction: white-dominant, navy structure, Inter throughout.
   Conversion-forward legal design, adapted for an injured-worker audience and
   built to carry a lot of content without feeling heavy. Light mode only.
   --------------------------------------------------------------------------
   0. Fonts
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Components
   6. Utilities
   7. Motion / print / reduced-motion
   ========================================================================== */

/* ==========================================================================
   0. FONTS — self-hosted Inter, roman + italic. Latin subset covers ES.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-italic-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* --- Type ----------------------------------------------------------- */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-body);
  --font-accent: var(--font-body);

  --t-display-xl: clamp(2.25rem, 1.5rem + 3.2vw, 3.25rem);
  --t-display-l: clamp(1.875rem, 1.4rem + 2.1vw, 2.75rem);
  --t-display-m: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem);
  --t-display-s: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --t-h4: clamp(1.0625rem, 1.02rem + 0.22vw, 1.1875rem);
  --t-lead: clamp(1rem, 0.97rem + 0.18vw, 1.125rem);
  --t-body: 1rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;
  --t-eyebrow: 0.8125rem;

  --lh-tight: 1.1;
  --lh-display: 1.18;
  --lh-snug: 1.32;
  --lh-body: 1.65;
  --lh-loose: 1.72;

  /* --- Spacing (4px base) --------------------------------------------- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --s-11: 6.5rem;
  --s-12: 8rem;

  --section-y: clamp(3.25rem, 2rem + 5vw, 5.5rem);
  --section-y-lg: clamp(4rem, 2.5rem + 7vw, 7rem);

  /* --- Measure & container -------------------------------------------- */
  --container: 76rem;
  --container-wide: 84rem;
  --container-narrow: 46rem;
  --measure: 70ch;
  --gutter: clamp(1.25rem, 0.85rem + 2vw, 2.5rem);

  /* --- Radii ----------------------------------------------------------- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 100px;

  /* --- Motion ---------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 130ms;
  --dur: 220ms;
  --dur-slow: 560ms;

  --header-h: 4.5rem;

  /* --- PALETTE — light mode only, no dark variant ----------------------
     White dominant. Navy carries structure. A brighter blue is the accent
     and does all the CTA work. Red is reserved strictly for urgency. */

  --navy-900: #161f42;
  --navy-800: #1b2753;
  --navy-700: #233761;
  --navy-600: #323d64;

  --blue-500: #ca9226;
  --blue-600: #a2751e;
  --blue-200: #f1dfbb;
  --blue-100: #f8f0df;
  --blue-50: #f9f9f9;

  --ink: #161616;

  --bg: #ffffff;
  --bg-alt: var(--blue-50);
  --bg-tint: var(--blue-100);
  --bg-surface: #ffffff;
  --bg-inverse: var(--navy-900);

  --text: #2c2c2c;
  --text-muted: #54595f;
  --text-faint: #767d98;
  --text-inverse: #ffffff;
  --text-inverse-muted: #bbbecb;

  --heading: var(--ink);

  --line: rgba(27, 39, 83, 0.1);
  --line-2: rgba(27, 39, 83, 0.17);
  --line-strong: rgba(27, 39, 83, 0.42);
  --line-inverse: rgba(255, 255, 255, 0.16);
  --line-inverse-2: rgba(255, 255, 255, 0.32);

  /* Urgency only — deadline warnings, denials, placeholder markers. */
  --urgent: #d0342c;
  --urgent-dark: #a82720;
  --urgent-wash: rgba(208, 52, 44, 0.08);
  --positive: #1f8a5f;

  --star: #f0a227; /* star-rating glyphs only — a convention, not a brand colour */

  /* --- Accent aliases ---------------------------------------------------
     The component layer refers to these names. They point at the blue accent
     so the whole system is driven from --blue-500 above. Anything that should
     read as URGENT uses --urgent directly instead. */
  --coral: var(--blue-500);
  --coral-dark: var(--blue-600);
  --coral-100: var(--blue-200);
  --coral-wash: var(--blue-100);
  --gold: #ca9226;
  --gold-on-navy: #d5a851;
  --sand-100: var(--blue-100);

  --focus: #ca9226;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--focus);

  --shadow-sm: 0 1px 3px rgba(16, 30, 54, 0.08);
  --shadow-md: 0 4px 14px rgba(16, 30, 54, 0.1);
  --shadow-lg: 0 10px 30px rgba(16, 30, 54, 0.12);
  --shadow-xl: 0 18px 44px rgba(16, 30, 54, 0.16);

  /* "only light" — not just "light" — so Chrome's auto-dark-theme on Android
     cannot invert the palette. This site is light-mode only by design. */
  color-scheme: only light;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  overflow-x: hidden;
}

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-7) 0;
}

::selection {
  background: var(--coral);
  color: var(--navy-900);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 999;
  transform: translateY(-160%);
  background: var(--navy-800);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: -0.021em;
  color: var(--heading);
  text-wrap: balance;
}

/* The emphasised phrase in a headline switches to italic in the accent blue.
   Same family, so it stays plain and quick to read. */
h1 em,
h2 em,
h3 em,
.display em,
.accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--blue-600);
}

h1,
.t-display-xl {
  font-size: var(--t-display-xl);
  line-height: var(--lh-tight);
}
h2,
.t-display-l {
  font-size: var(--t-display-l);
}
h3,
.t-display-m {
  font-size: var(--t-display-m);
}
.t-display-s {
  font-size: var(--t-display-s);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  color: var(--heading);
}

h4,
.t-h4 {
  font-family: var(--font-body);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  color: var(--heading);
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
  color: var(--text-muted);
}

.prose {
  max-width: var(--measure);
}
.prose > * + * {
  margin-top: var(--s-5);
}
.prose h2 {
  margin-top: var(--s-9);
}
.prose h3,
.prose h4 {
  margin-top: var(--s-7);
}
.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: var(--s-4);
}
.prose ul,
.prose ol {
  padding-left: 0;
}
.prose li {
  position: relative;
  padding-left: 1.85rem;
}
.prose li + li {
  margin-top: var(--s-3);
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--coral-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.6 4 7.6 10 1.4' stroke='%231b6fc7' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
}
.prose ol {
  counter-reset: prose-ol;
}
.prose ol > li {
  counter-increment: prose-ol;
}
.prose ol > li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-wash);
  color: var(--coral-dark);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.75rem;
}
.prose a {
  color: var(--navy-600);
  text-decoration: underline;
  text-decoration-color: rgba(29, 98, 145, 0.35);
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose strong {
  font-weight: 650;
  color: var(--text);
}

/* Eyebrow — centred, coral, wide-tracked. Straight from the reference. */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-700);
  line-height: 1.4;
}

/* The hero is light in this design, so its eyebrow keeps the accent blue.
   Only genuinely dark bands get the lifted tint. */
.section--ink .eyebrow,
.page-head .eyebrow,
.cta-band .eyebrow {
  color: var(--gold-on-navy);
}

.numeral {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

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

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--lg {
  padding-block: var(--section-y-lg);
}
.section--tight {
  padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
}
.section--alt {
  background: var(--bg-alt);
}
.section--tint {
  background: var(--bg-tint);
}
.section--ink {
  background: var(--navy-900);
  color: #fff;
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4,
.section--ink .t-display-s {
  color: #fff;
}
.section--ink em {
  color: var(--gold-on-navy);
}
.section--ink .lead,
.section--ink .text-muted {
  color: var(--text-inverse-muted);
}
.section--ink hr,
.section--ink .rule {
  border-color: var(--line-inverse);
  background: var(--line-inverse);
}

/* Section headers are centred by default in this design language. */
.section-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.section-head > * + * {
  margin-top: var(--s-4);
}
.section-head .lead {
  margin-inline: auto;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
}
.section-head--left .lead {
  margin-inline: 0;
}

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
}

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split--center {
    align-items: center;
  }
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.stack > * + * {
  margin-top: var(--s-5);
}
.stack-sm > * + * {
  margin-top: var(--s-3);
}
.stack-lg > * + * {
  margin-top: var(--s-7);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.cluster--center {
  justify-content: center;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule--brass,
.rule--accent {
  height: 3px;
  width: 3.5rem;
  border-radius: var(--r-pill);
  background: var(--coral);
}

/* Wave divider — retired. This design uses flat section edges. */
.wave { display: none; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(2.5rem, 5vw, 5rem);
  color: var(--bg);
  pointer-events: none;
}
.wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wave--alt {
  color: var(--bg-alt);
}
.wave--tint {
  color: var(--bg-tint);
}

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* --- 5.1 Buttons — pill, uppercase, tracked --------------------------- */

.btn {
  --btn-bg: var(--blue-500);
  --btn-fg: var(--navy-900);
  --btn-border: var(--blue-500);
  --btn-bg-hover: var(--gold-on-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 1.05rem 2.1rem;
  font-size: var(--t-sm);
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.75rem;
}
.btn--block {
  display: flex;
  width: 100%;
}

/* Secondary — soft blue fill, navy text (from the reference header) */
.btn--outline,
.btn--soft {
  --btn-bg: var(--blue-100);
  --btn-fg: var(--navy-700);
  --btn-border: var(--blue-100);
  --btn-bg-hover: var(--navy-700);
}
.btn--outline:hover,
.btn--soft:hover {
  color: #fff;
}

/* Navy fill — the heavier of the two solid buttons */
.btn--navy,
.btn--brass {
  --btn-bg: var(--navy-700);
  --btn-fg: #ffffff;
  --btn-border: var(--navy-700);
  --btn-bg-hover: var(--navy-900);
}

/* Reserved for genuine urgency — deadline and denial CTAs only. */
.btn--urgent {
  --btn-bg: var(--urgent);
  --btn-fg: #ffffff;
  --btn-border: var(--urgent);
  --btn-bg-hover: var(--urgent-dark);
}

/* On navy backgrounds */
.btn--ghost-inverse {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #ffffff;
  --btn-border: rgba(255, 255, 255, 0.45);
  --btn-bg-hover: #ffffff;
}
.btn--ghost-inverse:hover {
  color: var(--navy-800);
  border-color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--navy-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow:hover {
  color: var(--navy-700);
  gap: 0.7rem;
}
.link-arrow svg {
  flex: none;
}
.section--ink .link-arrow,
.cta-band .link-arrow {
  color: #fff;
}
.section--ink .link-arrow:hover,
.cta-band .link-arrow:hover {
  color: var(--gold-on-navy);
}

/* --- 5.2 Header / navigation ------------------------------------------ */

.topbar {
  background: var(--navy-800);
  color: var(--text-inverse-muted);
  font-size: var(--t-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 2.75rem;
  flex-wrap: wrap;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}
.topbar a:hover {
  color: var(--gold-on-navy);
}
.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  flex: none;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.13);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
  font-weight: 650;
}
.topbar__phone:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
}
@media (max-width: 47.99rem) {
  .topbar__note span.is-long {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-800);
  flex: none;
}
.wordmark__mark {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
}
.wordmark__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy-800);
}
.wordmark__sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-700);
  line-height: 1.2;
}
.wordmark:hover .wordmark__name {
  color: var(--navy-600);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.72rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__link[aria-expanded='true'] {
  color: var(--navy-700);
}
.nav__link[aria-current='page'] {
  color: var(--navy-800);
  font-weight: 600;
}
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--coral);
}
.nav__chev {
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  transition: transform var(--dur) var(--ease);
}
.nav__item:hover .nav__chev,
.nav__link[aria-expanded='true'] .nav__chev {
  transform: rotate(180deg);
}

.nav__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.5rem;
  min-width: 22rem;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__panel-link {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text);
  transition: background-color var(--dur-fast) var(--ease);
}
.nav__panel-link:hover {
  background: var(--blue-50);
}
.nav__panel-link strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 650;
  line-height: 1.35;
  color: var(--navy-800);
}
.nav__panel-link span {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.12rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: var(--t-xs);
  font-weight: 650;
  color: var(--navy-800);
}
.nav-toggle__bars {
  display: grid;
  gap: 3.5px;
  width: 1rem;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 63.99rem) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__actions .btn {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(23rem, 100%);
    background: var(--bg);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: var(--s-4) var(--s-5) var(--s-8);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
    z-index: 99;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__link {
    padding: 0.9rem 0;
    font-size: 1.0625rem;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link[aria-current='page']::after {
    display: none;
  }
  .nav__panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: var(--s-2) 0 var(--s-4);
    min-width: 0;
    display: none;
    background: transparent;
  }
  .nav__item.is-open > .nav__panel {
    display: block;
  }
  .nav__mobile-cta {
    margin-top: var(--s-6);
    display: grid;
    gap: var(--s-3);
  }
}
@media (min-width: 64rem) {
  .nav__mobile-cta {
    display: none;
  }
}

.nav__close {
  display: none;
}
@media (max-width: 63.99rem) {
  .nav__close {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-end;
    padding: 0.55rem 0.95rem;
    margin-bottom: var(--s-4);
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-pill);
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--navy-800);
    flex: none;
  }
  .nav__close:hover {
    color: var(--coral);
    border-color: var(--coral);
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  z-index: 98;
}
.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* --- 5.3 Hero — light, split: copy left, guided case path right -------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-50) 100%);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.06;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__inner {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.hero__content {
  max-width: 34rem;
}
.hero h1 {
  color: var(--ink);
  margin-top: var(--s-4);
}
.hero h1 em {
  color: var(--blue-500);
}
.hero__lead {
  margin-top: var(--s-4);
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
  color: var(--text-muted);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.hero__sig {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--text-faint);
  line-height: 1.6;
}
.hero__sig strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--navy-700);
  letter-spacing: 0.01em;
}
/* On phones this only pushes the practice tiles further down the page —
   the same reassurance is carried by the trust list and the footer. */
@media (max-width: 61.99rem) {
  .hero__sig {
    display: none;
  }
}

.case-start {
  background: var(--bg-surface);
  border: 1px solid rgba(26, 60, 110, 0.15);
  border-top: 4px solid var(--blue-500);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.case-start__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0.75rem var(--s-5);
  background: var(--navy-900);
  color: var(--text-inverse-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-start__topline span:first-child {
  color: #fff;
}
.case-start__heading {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-5) 0;
}
.case-start__heading .eyebrow {
  font-size: 0.6875rem;
}
.case-start__heading h2 {
  margin-top: 0.2rem;
  font-size: var(--t-display-s);
}
.case-start__icon {
  width: 3rem;
  height: 3rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--blue-100);
  color: var(--blue-500);
}
.case-start__intro {
  padding: var(--s-4) var(--s-5) var(--s-5);
  color: var(--text-muted);
  font-size: var(--t-sm);
  line-height: 1.6;
}
.case-start__options {
  border-top: 1px solid var(--line);
}
.case-start__options a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  min-height: 5rem;
  padding: 0.9rem var(--s-5);
  color: var(--text);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.case-start__options a + a {
  border-top: 1px solid var(--line);
}
.case-start__options a:hover {
  background: var(--blue-50);
  color: var(--navy-800);
}
.case-start__options a > svg {
  color: var(--blue-500);
  transition: transform var(--dur) var(--ease);
}
.case-start__options a:hover > svg {
  transform: translateX(4px);
}
.case-start__num {
  align-self: start;
  padding-top: 0.12rem;
  color: var(--blue-500);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.case-start__options strong,
.case-start__options small {
  display: block;
}
.case-start__options strong {
  color: var(--ink);
  font-size: var(--t-sm);
  line-height: 1.35;
}
.case-start__options small {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: var(--t-xs);
  line-height: 1.45;
}
.case-start__help {
  padding: var(--s-4) var(--s-5);
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: var(--t-xs);
  line-height: 1.55;
}
.case-start__help a {
  font-weight: 700;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(-1.5rem, -1vw, -0.5rem);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  background: var(--navy-900);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-proof p {
  position: relative;
  padding: 1rem 1.15rem;
}
.hero-proof p:nth-child(even)::before {
  content: '';
  position: absolute;
  inset-block: 22%;
  left: 0;
  width: 1px;
  background: var(--line-inverse);
}
.hero-proof strong,
.hero-proof span {
  display: block;
}
.hero-proof strong {
  color: #fff;
  font-size: var(--t-sm);
  line-height: 1.3;
}
.hero-proof span {
  margin-top: 0.2rem;
  color: var(--text-inverse-muted);
  font-size: 0.6875rem;
  line-height: 1.4;
}
@media (min-width: 48rem) {
  .hero-proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-proof p + p::before {
    content: '';
    position: absolute;
    inset-block: 22%;
    left: 0;
    width: 1px;
    background: var(--line-inverse);
  }
}

.case-scope {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-scope__head {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}
.case-scope__head .lead {
  max-width: 42rem;
}
.case-scope__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.case-scope__list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-content: start;
  gap: 0.15rem var(--s-3);
  min-height: 7.25rem;
  padding: var(--s-5);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.case-scope__list span {
  grid-row: 1 / span 2;
  color: var(--blue-500);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.case-scope__list strong {
  color: var(--ink);
  font-size: var(--t-sm);
  line-height: 1.35;
}
.case-scope__list small {
  color: var(--text-muted);
  font-size: var(--t-xs);
  line-height: 1.5;
}
@media (min-width: 56rem) {
  .case-scope__head {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
    gap: var(--s-9);
  }
}

/* --- Content hub / topic clusters ------------------------------------ */

.content-hub-intro {
  border-bottom: 1px solid var(--line);
}
.content-hub-intro__grid,
.content-cluster__head,
.content-publishing-note {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}
.content-hub-intro__grid .lead,
.content-cluster__head > p,
.content-publishing-note .lead {
  max-width: 43rem;
}
.hub-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.hub-jump a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.1rem var(--s-3);
  min-height: 4.5rem;
  padding: var(--s-4) var(--s-5);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  color: var(--navy-800);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hub-jump a:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}
.hub-jump span {
  grid-row: 1 / span 2;
  color: var(--blue-500);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}
.hub-jump strong,
.hub-jump small {
  display: block;
}
.hub-jump strong {
  line-height: 1.35;
}
.hub-jump small {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 550;
  line-height: 1.35;
}
.hub-featured {
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.hub-featured__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.hub-featured__label a {
  font-size: var(--t-xs);
  font-weight: 700;
  text-decoration: none;
}
.hub-featured__grid {
  display: grid;
  gap: var(--s-5);
}
.hub-lead-story {
  display: grid;
  min-height: 31rem;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--r-xl);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hub-lead-story:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.hub-lead-story__art {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: var(--s-5);
  background: var(--blue-100);
  color: var(--navy-700);
}
.hub-lead-story__art svg {
  width: 100%;
  max-width: 26rem;
}
.hub-lead-story__copy {
  display: block;
  align-self: end;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.hub-lead-story h2 {
  margin-top: var(--s-3);
  max-width: 21ch;
  color: #fff;
  font-size: var(--t-display-m);
}
.hub-lead-story p {
  margin-top: var(--s-3);
  max-width: 56ch;
  color: var(--text-inverse-muted);
}
.hub-featured__side {
  display: grid;
  gap: var(--s-5);
}
.hub-card--featured {
  position: relative;
  min-height: 15rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
}
.hub-card--featured h3 {
  max-width: 24ch;
  font-size: var(--t-display-s);
}
.hub-card__arrow {
  position: absolute;
  right: var(--s-5);
  bottom: var(--s-4);
  color: var(--blue-500);
  font-size: 1.25rem;
  transition: transform var(--dur) var(--ease);
}
.hub-card--featured:hover .hub-card__arrow {
  transform: translateX(4px);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.75rem;
  color: var(--text-faint);
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-meta span {
  color: var(--blue-500);
}
.article-meta time {
  position: relative;
  padding-left: 0.8rem;
}
.article-meta time::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.22rem;
  height: 0.22rem;
  margin-top: -0.11rem;
  border-radius: 50%;
  background: currentColor;
}
.article-meta--inverse {
  color: var(--text-inverse-muted);
}
.article-meta--inverse span {
  color: var(--gold-on-navy);
}
.article-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--s-5);
}
.article-entry {
  min-width: 0;
}
.article-entry > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 19rem;
  padding: var(--s-5);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.article-entry > a:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 111, 199, 0.5);
  box-shadow: var(--shadow-lg);
}
.article-entry h3 {
  margin-top: var(--s-5);
  color: var(--ink);
  font-size: var(--t-display-s);
}
.article-entry p {
  margin-top: var(--s-3);
  color: var(--text-muted);
  font-size: var(--t-sm);
}
.article-entry__link {
  display: block;
  margin-top: auto;
  padding-top: var(--s-5);
  color: var(--blue-500);
  font-size: var(--t-sm);
  font-weight: 700;
}
.content-cluster {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.content-cluster__head > p {
  color: var(--text-muted);
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
}
.content-cluster__grid {
  display: grid;
  gap: var(--s-5);
}
.hub-feature,
.hub-card {
  display: block;
  color: var(--text);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.hub-feature {
  position: relative;
  min-height: 100%;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  overflow: hidden;
  background: var(--navy-800);
  border-radius: var(--r-xl);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hub-feature::after {
  content: '';
  position: absolute;
  width: 11rem;
  height: 11rem;
  right: -4rem;
  bottom: -5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.035),
    0 0 0 5rem rgba(255, 255, 255, 0.02);
}
.hub-feature:hover,
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.hub-feature h3 {
  position: relative;
  margin-top: var(--s-4);
  max-width: 20ch;
  color: #fff;
  font-size: var(--t-display-m);
}
.hub-feature p {
  position: relative;
  margin-top: var(--s-4);
  max-width: 52ch;
  color: var(--text-inverse-muted);
}
.hub-card__type {
  position: relative;
  color: var(--gold-on-navy);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hub-card__link {
  position: relative;
  display: inline-block;
  margin-top: var(--s-6);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 700;
}
.hub-stack {
  display: grid;
  gap: var(--s-4);
}
.hub-card {
  padding: var(--s-5);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.hub-card:hover {
  border-color: rgba(27, 111, 199, 0.5);
}
.hub-card .hub-card__type {
  color: var(--blue-500);
}
.hub-card h3 {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: var(--t-h4);
}
.hub-card p {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: var(--t-sm);
}
.hub-feature--horizontal {
  min-height: 18rem;
}
.content-publishing-note .lead {
  color: var(--text-inverse-muted);
}
@media (min-width: 52rem) {
  .content-hub-intro__grid,
  .content-cluster__head,
  .content-publishing-note {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
    gap: var(--s-9);
  }
  .content-cluster__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  }
  .hub-featured__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  }
  .hub-feature--horizontal {
    max-width: none;
    min-height: 0;
    padding-right: min(35vw, 26rem);
  }
}

/* --- Practice tiles — the hero doubles as a navigation surface -------- */

/* --- Legal library: interactive editorial index ------------------- */

[data-blog-library] [hidden] { display: none !important; }
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 8vw, 8.5rem) 0 clamp(4rem, 7vw, 7rem);
  background: radial-gradient(circle at 78% 18%, rgba(91, 161, 225, 0.16), transparent 28rem), linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.blog-hero::after {
  content: '';
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.025), 0 0 0 10rem rgba(255, 255, 255, 0.015);
  pointer-events: none;
}
.blog-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-9);
  align-items: end;
}
.blog-hero .breadcrumb,
.blog-hero .breadcrumb a,
.blog-hero .lead { color: var(--text-inverse-muted); }
.blog-hero .breadcrumb { justify-content: flex-start; }
.blog-hero .eyebrow,
.blog-hero__map-label { color: var(--gold-on-navy); }
.blog-hero h1 {
  max-width: 22ch;
  color: #fff;
  font-size: var(--t-display-xl);
  line-height: var(--lh-tight);
}
.blog-hero h1 em { color: var(--blue-200); }
.blog-hero__copy .lead { max-width: 43rem; }
.blog-hero__map {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.blog-hero__map-label {
  padding: var(--s-4) 0;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.blog-hero__map ol { list-style: none; }
.blog-hero__map li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.blog-hero__map li > span {
  color: var(--gold-on-navy);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.blog-hero__map strong,
.blog-hero__map small { display: block; }
.blog-hero__map strong { color: #fff; font-size: var(--t-sm); }
.blog-hero__map small {
  margin-top: 0.2rem;
  color: var(--text-inverse-muted);
  font-size: var(--t-xs);
  line-height: 1.45;
}
.blog-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.blog-hero__stats span {
  padding: var(--s-4) 0;
  color: var(--text-inverse-muted);
  font-size: var(--t-xs);
}
.blog-hero__stats span + span {
  padding-left: var(--s-4);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.blog-hero__stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
}
.blog-explorer {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
}
.blog-filter {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}
.blog-filter__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.blog-filter__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 4.5rem;
  padding: var(--s-4);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  color: var(--navy-800);
  font: inherit;
  font-size: var(--t-xs);
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.blog-filter__button small {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.625rem;
}
.blog-filter__button:hover { background: var(--blue-50); color: var(--blue-600); }
.blog-filter__button.is-active { background: var(--navy-800); color: #fff; }
.blog-filter__button:focus-visible,
.blog-search input:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
}
.blog-search {
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-search input {
  min-height: 3.25rem;
  width: 100%;
  padding: 0 var(--s-4);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.blog-selection {
  display: grid;
  gap: var(--s-5);
  align-items: end;
  padding: var(--s-5);
  background: var(--blue-50);
  border-left: 0.25rem solid var(--blue-500);
}
.blog-selection h3 { margin-top: 0.35rem; color: var(--ink); font-size: var(--t-h4); }
.blog-selection p:not(.eyebrow) {
  margin-top: 0.35rem;
  max-width: 56rem;
  color: var(--text-muted);
  font-size: var(--t-sm);
}
.blog-selection > a {
  color: var(--blue-600);
  font-size: var(--t-sm);
  font-weight: 750;
  text-decoration: none;
}
.blog-empty {
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
  text-align: center;
}
.article-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-2);
  counter-reset: library-item;
}
.article-entry { counter-increment: library-item; }
.article-entry > a {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: var(--s-3) var(--s-4);
  min-height: 0;
  padding: var(--s-5) 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  box-shadow: none;
}
.article-entry > a::before {
  content: counter(library-item, decimal-leading-zero);
  grid-row: 1 / span 4;
  padding-top: 0.12rem;
  color: var(--blue-500);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.article-entry > a:hover {
  padding-right: var(--s-4);
  padding-left: var(--s-4);
  background: var(--bg-surface);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
  transform: none;
}
.article-entry h3,
.article-entry p { margin-top: 0; }
.article-entry__link {
  margin-top: 0;
  padding-top: 0;
  white-space: nowrap;
}
@media (min-width: 48rem) {
  .blog-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 0.65fr); }
  .blog-filter { grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.25fr); }
  .blog-filter__buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blog-selection { grid-template-columns: minmax(0, 1fr) auto; }
  .article-entry > a {
    grid-template-columns: 2.5rem minmax(12rem, 0.75fr) minmax(15rem, 1fr) auto;
    align-items: center;
    gap: var(--s-5);
  }
  .article-entry > a::before { grid-row: 1 / span 2; }
  .article-entry .article-meta { grid-column: 2; }
  .article-entry h3 { grid-column: 2; }
  .article-entry p { grid-column: 3; grid-row: 1 / span 2; }
  .article-entry__link { grid-column: 4; grid-row: 1 / span 2; }
}

.tiles {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--navy-700);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: background-color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.tile:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.tile--wide {
  grid-column: 1 / -1;
  padding: 1.2rem 1.25rem;
  background: var(--navy-800);
}
.tile--wide:hover {
  background: var(--navy-700);
}
/* Lighter full-width row used to close the grid — reads as "everything else" */
.tile--all {
  grid-column: 1 / -1;
  background: var(--blue-100);
  color: var(--navy-800);
  padding: 0.85rem 1.1rem;
}
.tile--all:hover {
  background: var(--blue-200);
  color: var(--navy-900);
}
.tile--all .tile__icon {
  background: rgba(26, 60, 110, 0.1);
  color: var(--navy-700);
  width: 2.1rem;
  height: 2.1rem;
}
.tile--all .tile__desc {
  color: var(--text-muted);
}
.tile__icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.tile--wide .tile__icon {
  width: 2.9rem;
  height: 2.9rem;
}
.tile__text {
  min-width: 0;
}
.tile__title {
  display: block;
  font-size: var(--t-sm);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.008em;
}
.tile--wide .tile__title {
  font-size: 1.0625rem;
}
.tile__desc {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-inverse-muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}
.tile__flag {
  position: absolute;
  top: -0.55rem;
  left: 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--blue-500);
  border-radius: var(--r-xs);
  padding: 0.18rem 0.5rem;
  line-height: 1.4;
}
@media (max-width: 30rem) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

/* Two-door router, kept for pages that still use it */
.doors {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
@media (min-width: 40rem) {
  .doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.door {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.door:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.door__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--blue-100);
  color: var(--blue-500);
  margin-bottom: var(--s-2);
}
.door__kicker {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.door__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
}
.door__desc {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.door__go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--blue-500);
}
.door__go svg {
  transition: transform var(--dur) var(--ease);
}
.door:hover .door__go svg {
  transform: translateX(4px);
}

.hero__trust {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  font-size: var(--t-xs);
  color: var(--text-muted);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__trust svg {
  color: var(--blue-500);
  flex: none;
}

/* --- 5.4 Stats — compact bar beneath the tiles ------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(50%, 8rem), 1fr));
  background: var(--navy-900);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats--plain {
  background: transparent;
  border-radius: 0;
  gap: var(--s-6);
}
.stat {
  padding: 1rem 1.15rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.stats--plain .stat {
  text-align: left;
  padding: 0;
}
.stats--plain .stat + .stat::before {
  display: none;
}
.stat__icon {
  display: none;
}
.stat__value {
  display: block;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
.stat__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
  line-height: 1.4;
  margin-top: 0.2rem;
}
.stat__note {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-inverse-muted);
}
.stats--plain .stat__value,
.stats--plain .stat__label {
  color: var(--ink);
}
.stats--plain .stat__label {
  color: var(--text-muted);
}
.stat .placeholder-note {
  margin-top: 0.3rem;
}

/* --- 5.5 Cards --------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
a.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(226, 114, 91, 0.35);
}
.card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  color: var(--blue-500);
  background: var(--blue-100);
  flex: none;
  margin-bottom: var(--s-2);
}
.card__icon--coral {
  background: var(--coral-100);
  color: var(--coral-dark);
}
.card__icon--sand {
  background: var(--sand-100);
  color: #8a6524;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-800);
}
.card__body {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.card__foot {
  margin-top: auto;
  padding-top: var(--s-3);
}
a.card .card__foot {
  color: var(--navy-600);
  font-size: var(--t-sm);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
a.card:hover .card__foot {
  color: var(--coral);
}
a.card .card__foot svg {
  transition: transform var(--dur) var(--ease);
}
a.card:hover .card__foot svg {
  transform: translateX(3px);
}

/* Numbered reason cards */
.reasons {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 48rem) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 72rem) {
  .reasons--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.reason {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.reason__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--coral-wash);
  color: var(--coral-dark);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.02em;
}
.reason__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-800);
}
.reason__body {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 5.6 Process steps ------------------------------------------------- */

.steps {
  display: grid;
  gap: var(--s-6);
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
  }
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding-top: 3.4rem;
  counter-increment: step;
}
/* connector line */
.step::before {
  content: '';
  position: absolute;
  top: 1.05rem;
  left: 2.7rem;
  right: 0;
  height: 1px;
  background: var(--line-2);
}
.steps--4 .step:last-child::before,
.steps--3 .step:last-child::before {
  display: none;
}
/* numbered circle — generated, so the label markup stays free-form */
.step::after {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}
.step__num {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral);
}
.step__title {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--navy-800);
}
.step__body {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.section--ink .step::before {
  background: rgba(255, 255, 255, 0.28);
}
.section--ink .step__num {
  color: var(--gold-on-navy);
}
.section--ink .step__title {
  color: #fff;
}
.section--ink .step__body {
  color: var(--text-inverse-muted);
}

/* --- 5.7 Results / verdict entries ------------------------------------ */

.results-list {
  display: grid;
  gap: var(--s-4);
}
.result {
  display: grid;
  gap: var(--s-2) var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
@media (min-width: 48rem) {
  .result {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto;
  }
}
.result__amount {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1.1;
  color: var(--navy-800);
}
.result__title {
  font-size: var(--t-body);
  font-weight: 650;
  line-height: 1.4;
  color: var(--navy-800);
}
.result__desc {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.2rem;
}
.result__tag {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-wash);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
}

/* --- 5.8 Testimonial / quote ------------------------------------------ */

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.quote__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}
.quote__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy-800);
}
.quote__cite {
  margin-top: auto;
  padding-top: var(--s-2);
  font-size: var(--t-xs);
  font-style: normal;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.quote__cite strong {
  color: var(--navy-800);
  font-size: var(--t-sm);
  font-weight: 650;
}

.pullquote {
  border-left: 3px solid var(--coral);
  padding-left: var(--s-5);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.625rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy-800);
}
.pullquote footer {
  margin-top: var(--s-4);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral);
}
.section--ink .pullquote,
.section--ink .quote__text {
  color: #fff;
}

/* --- 5.9 Badges / tags ------------------------------------------------- */

.badges {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 40rem) {
  .badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .badges {
    grid-template-columns: repeat(4, 1fr);
  }
}
.badge {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-align: center;
  align-items: center;
}
.badge__mark {
  height: 3rem;
  display: flex;
  align-items: center;
  color: var(--navy-600);
}
.badge__name {
  font-size: var(--t-sm);
  font-weight: 650;
  line-height: 1.35;
  color: var(--navy-800);
}
.badge__meaning {
  font-size: var(--t-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
a.tag:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
  background: var(--coral-wash);
}
.tag--brass,
.tag--accent {
  border-color: rgba(226, 114, 91, 0.35);
  color: var(--coral-dark);
  background: var(--coral-wash);
}
.tag--urgent {
  border-color: rgba(192, 57, 43, 0.4);
  color: var(--urgent);
  background: var(--urgent-wash);
}

/* PLACEHOLDER marker */
.placeholder {
  position: relative;
  outline: 1.5px dashed var(--urgent);
  outline-offset: 3px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--urgent-wash) 0 8px,
    transparent 8px 16px
  );
}
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--urgent);
  background: var(--urgent-wash);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.6rem;
  line-height: 1.35;
}

/* --- 5.10 Accordion / FAQ ---------------------------------------------- */

.accordion {
  display: grid;
  gap: var(--s-3);
}
.accordion__item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.accordion__item.is-open {
  border-color: rgba(226, 114, 91, 0.4);
  box-shadow: var(--shadow-md);
}
.accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  width: 100%;
  padding: var(--s-5);
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-800);
  transition: color var(--dur-fast) var(--ease);
}
.accordion__trigger:hover {
  color: var(--coral);
}
.accordion__icon {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--coral-wash);
  position: relative;
  transition: background-color var(--dur) var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--coral-dark);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion__icon::before {
  left: 0.4rem;
  right: 0.4rem;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}
.accordion__icon::after {
  top: 0.4rem;
  bottom: 0.4rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}
.accordion__trigger[aria-expanded='true'] .accordion__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}
.accordion__panel > div {
  overflow: hidden;
}
.accordion__content {
  padding: 0 var(--s-5) var(--s-5);
  max-width: 62ch;
  color: var(--text-muted);
  font-size: var(--t-sm);
  line-height: 1.72;
}
.accordion__content > * + * {
  margin-top: var(--s-3);
}
.accordion__content a {
  color: var(--navy-600);
  font-weight: 600;
}
.section--ink .accordion__item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.section--ink .accordion__trigger {
  color: #fff;
}
.section--ink .accordion__trigger:hover {
  color: var(--gold-on-navy);
}
.section--ink .accordion__icon {
  background: rgba(255, 255, 255, 0.14);
}
.section--ink .accordion__icon::before,
.section--ink .accordion__icon::after {
  background: var(--gold-on-navy);
}
.section--ink .accordion__content {
  color: var(--text-inverse-muted);
}
.section--ink .accordion__content a {
  color: var(--gold-on-navy);
}

/* --- 5.11 Forms -------------------------------------------------------- */

.form {
  display: grid;
  gap: var(--s-4);
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field__label {
  font-size: var(--t-xs);
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--navy-800);
}
.field__req {
  color: var(--coral);
  margin-left: 0.15rem;
}
.field__hint {
  font-size: var(--t-xs);
  color: var(--text-faint);
  line-height: 1.5;
}
.field__error {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--urgent);
  display: none;
  align-items: center;
  gap: 0.3rem;
}
.field.has-error .field__error {
  display: flex;
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: var(--t-body);
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--text-faint);
}
.input:hover,
.textarea:hover,
.select:hover {
  border-color: var(--line-strong);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-wash);
}
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--urgent);
}
.textarea {
  min-height: 7rem;
  resize: vertical;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%231d6291' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field-row {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 34rem) {
  .field-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--t-xs);
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.checkbox input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--coral);
}
.form__legal {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.6;
}
.form__legal a {
  color: var(--text-muted);
}

.form__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.form.is-expanded .form__more {
  grid-template-rows: 1fr;
}
.form__more > div {
  overflow: hidden;
  display: grid;
  gap: var(--s-4);
}
.form.is-expanded .form__more > div {
  padding-top: var(--s-4);
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-xl);
}
.section--ink .form-card {
  --bg-surface: #ffffff;
  --text: #102a3d;
  --text-muted: #4d6577;
  --text-faint: #78909f;
  --line: rgba(16, 42, 61, 0.1);
  --line-2: rgba(16, 42, 61, 0.18);
  --line-strong: rgba(16, 42, 61, 0.45);
  --navy-800: #123f5c;
  background: #fff;
  color: #102a3d;
}
.section--ink .form-card .field__label,
.section--ink .form-card h2,
.section--ink .form-card .t-display-s {
  color: #123f5c;
}

/* --- 5.12 Evaluator ---------------------------------------------------- */

.evaluator {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.evaluator__head {
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--line);
  background: var(--blue-50);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.evaluator__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
}
.evaluator__body {
  padding: var(--s-6);
}
.evaluator__progress {
  display: flex;
  gap: 5px;
  margin-bottom: var(--s-5);
}
.evaluator__progress i {
  height: 4px;
  flex: 1;
  background: var(--line-2);
  border-radius: var(--r-pill);
  transition: background-color var(--dur) var(--ease);
}
.evaluator__progress i.is-done {
  background: var(--coral);
}
.evaluator__q {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-800);
}
.evaluator__help {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.evaluator__options {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.evaluator__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  text-align: left;
  font-size: var(--t-sm);
  font-weight: 550;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.evaluator__option:hover {
  border-color: var(--coral);
  background: var(--coral-wash);
  transform: translateX(2px);
}
.evaluator__option svg {
  color: var(--coral);
  flex: none;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.evaluator__option:hover svg {
  opacity: 1;
}
.evaluator__step[hidden] {
  display: none;
}
.evaluator__result {
  display: grid;
  gap: var(--s-4);
}
.evaluator__verdict {
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--blue-50);
  border-left: 4px solid var(--navy-600);
}
.evaluator__verdict h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
}
.evaluator__verdict p {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.evaluator__verdict--urgent {
  border-left-color: var(--urgent);
  background: var(--urgent-wash);
}
.evaluator__back {
  font-size: var(--t-xs);
  font-weight: 650;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.evaluator__back:hover {
  color: var(--coral);
}

/* --- 5.13 Notice / callout --------------------------------------------- */

.notice {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy-600);
  border-radius: var(--r-md);
  background: var(--blue-50);
}
.notice__icon {
  flex: none;
  color: var(--navy-600);
  margin-top: 0.1rem;
}
.notice__title {
  font-weight: 650;
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--navy-800);
}
.notice__body {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.25rem;
}
.notice__body a {
  color: var(--navy-600);
  font-weight: 600;
}
.notice--urgent {
  border-left-color: var(--urgent);
  background: var(--urgent-wash);
}
.notice--urgent .notice__icon {
  color: var(--urgent);
}
.section--ink .notice {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--gold-on-navy);
}
.section--ink .notice__icon {
  color: var(--gold-on-navy);
}
.section--ink .notice__title {
  color: #fff;
}
.section--ink .notice__body {
  color: var(--text-inverse-muted);
}

/* --- 5.14 Attorney / person -------------------------------------------- */

.person {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: var(--s-5);
}
.person__photo {
  aspect-ratio: 4 / 5;
  background: var(--blue-100);
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-800);
}
.person__role {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 0.35rem;
}
.person__bio {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- 5.15 Page header (interior pages) --------------------------------- */

.page-head {
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-head h1 {
  color: #fff;
  margin-top: var(--s-4);
  max-width: 24ch;
  margin-inline: auto;
}
.page-head h1 em {
  color: var(--gold-on-navy);
}
.page-head__lead {
  margin: var(--s-5) auto 0;
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
  color: var(--text-inverse-muted);
  max-width: 52ch;
}

/* --- Unified hero system ------------------------------------------- */

.hero,
.page-head,
.blog-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(91, 161, 225, 0.15), transparent 28rem),
    linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.hero__inner,
.page-head,
.blog-hero {
  padding-block: clamp(2.75rem, 1.75rem + 3.5vw, 4.5rem);
}
.hero h1,
.page-head h1,
.blog-hero h1 {
  color: #fff;
  font-size: var(--t-display-xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
}
.hero h1,
.blog-hero h1 {
  max-width: 22ch;
}
.hero h1 em,
.page-head h1 em,
.blog-hero h1 em {
  color: var(--gold-on-navy);
}
.hero .eyebrow,
.page-head .eyebrow,
.blog-hero .eyebrow {
  color: var(--gold-on-navy);
}
.hero__lead,
.page-head__lead,
.blog-hero .lead {
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
  color: var(--text-inverse-muted);
}
.hero__lead,
.blog-hero__copy .lead {
  max-width: 52ch;
}
.hero__sig {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-inverse-muted);
}
.hero__sig strong {
  color: #fff;
}
.hero__trust {
  color: var(--text-inverse-muted);
}
.hero__trust svg {
  color: var(--gold-on-navy);
}
.page-head .btn--brass,
.blog-hero .btn--brass {
  --btn-bg: var(--blue-500);
  --btn-border: var(--blue-500);
  --btn-bg-hover: var(--blue-600);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--t-xs);
  color: var(--text-inverse-muted);
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--gold-on-navy);
  text-decoration: underline;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.45;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb [aria-current='page'] {
  color: #fff;
}

/* --- 5.16 CTA band ----------------------------------------------------- */

.cta-band {
  background: var(--navy-900);
  color: #fff;
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band__grid {
  max-width: 48rem;
  margin-inline: auto;
}
.cta-band h2 {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band h2 em {
  color: var(--gold-on-navy);
}
.cta-band p {
  margin: var(--s-4) auto 0;
  color: var(--text-inverse-muted);
  max-width: 48ch;
  font-size: var(--t-lead);
  line-height: var(--lh-loose);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
  justify-content: center;
}

/* --- 5.17 Footer ------------------------------------------------------- */

.site-footer {
  background: #08172c;
  color: var(--text-inverse-muted);
  padding-top: var(--s-10);
  font-size: var(--t-sm);
}
.site-footer a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer a:hover {
  color: var(--gold-on-navy);
}
.footer__top {
  display: grid;
  gap: var(--s-8);
  padding-bottom: var(--s-9);
}
@media (min-width: 56rem) {
  .footer__top {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: var(--s-7);
  }
}
.footer__brand .wordmark__name {
  color: #fff;
  font-size: 1.4rem;
}
.footer__brand .wordmark__sub {
  color: var(--gold-on-navy);
}
.footer__blurb {
  margin-top: var(--s-4);
  max-width: 34ch;
  line-height: 1.7;
}
.footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s-4);
}
.footer__col li + li {
  margin-top: 0.65rem;
}
.footer__office {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-inverse);
  margin-top: var(--s-4);
}
.footer__office strong {
  color: #fff;
  display: block;
  font-size: var(--t-sm);
  margin-bottom: 0.3rem;
}
.footer__office address {
  font-style: normal;
  line-height: 1.65;
}
.footer__legal {
  border-top: 1px solid var(--line-inverse);
  padding-block: var(--s-6);
  display: grid;
  gap: var(--s-4);
  font-size: var(--t-xs);
  line-height: 1.65;
}
@media (min-width: 64rem) {
  .footer__legal {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
}
.footer__disclaimer {
  color: rgba(197, 217, 230, 0.7);
  max-width: 92ch;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  align-items: center;
}
@media (min-width: 64rem) {
  .footer__meta {
    justify-content: flex-end;
  }
}

/* --- 5.18 Sticky mobile action bar ------------------------------------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.action-bar.is-visible {
  transform: translateY(0);
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.7rem 0.4rem 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 3.6rem;
}
.action-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.action-bar a svg {
  color: var(--gold-on-navy);
}
.action-bar a:active {
  background: rgba(255, 255, 255, 0.08);
}
.action-bar__primary {
  background: var(--coral);
  color: var(--navy-900) !important;
}
.action-bar__primary svg {
  color: var(--navy-900) !important;
}
@media (min-width: 64rem) {
  .action-bar {
    display: none;
  }
}
@media (max-width: 63.99rem) {
  body.has-action-bar {
    padding-bottom: 3.6rem;
  }
}

/* --- 5.19 Language toggle ---------------------------------------------- */

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lang a,
.lang span {
  padding: 0.22rem 0.6rem;
  text-decoration: none;
  line-height: 1.5;
}
.lang [aria-current='true'] {
  background: var(--coral);
  color: var(--navy-900);
}
.lang [data-soon] {
  opacity: 0.55;
  cursor: default;
}

/* ==========================================================================
   6. UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--text-muted);
}
.text-faint {
  color: var(--text-faint);
}
.text-brass,
.text-accent {
  color: var(--coral);
}
.text-center {
  text-align: center;
}
.measure {
  max-width: var(--measure);
}
.measure-narrow {
  max-width: 48ch;
}
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.mt-9 { margin-top: var(--s-9); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-7 { margin-bottom: var(--s-7); }

/* ==========================================================================
   7. MOTION / PRINT
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@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;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .topbar,
  .action-bar,
  .cta-band,
  .nav-scrim,
  .evaluator,
  .wave {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.75em;
    color: #555;
  }
}

/* Davis Legal production layer */
.brand-logo { width: 3.1rem; height: 3.1rem; object-fit: contain; flex: none; }
.wordmark__name { color: var(--navy-800); font-weight: 750; }
.wordmark__sub { color: var(--navy-700); }
.hero { background: var(--navy-900); color: #fff; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 18%, rgba(202,146,38,.18), transparent 34%), linear-gradient(120deg, rgba(255,255,255,.035), transparent 54%); }
.hero h1, .hero h2, .hero .t-display-s { color: #fff; }
.hero h1 em, .hero h2 em { color: var(--gold-on-navy); }
.hero .eyebrow { color: var(--gold-on-navy); }
.hero__lead { color: var(--text-inverse-muted); }
.hero__trust { color: #fff; }
.hero__sig { color: var(--text-inverse-muted); }
.hero__sig strong { color: #fff; }
.hero .btn--outline { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.45); --btn-bg-hover: #fff; }
.hero .btn--outline:hover { color: var(--navy-900); }
.case-start { background: rgba(255,255,255,.98); color: var(--text); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.case-start h2 { color: var(--ink); }
.case-start .eyebrow { color: var(--navy-700); }
.hero-proof { border-color: rgba(255,255,255,.18); }
.hero-proof strong { color: #fff; }
.hero-proof span { color: var(--text-inverse-muted); }
.hero-proof p + p::before { background: rgba(255,255,255,.16); }
.portrait-card { position: relative; min-height: 34rem; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--navy-800); }
.portrait-card img { width: 100%; height: 100%; min-height: 34rem; object-fit: cover; object-position: 50% 18%; }
.portrait-card__caption { position: absolute; inset: auto 0 0; padding: 3.5rem 1.5rem 1.5rem; color: #fff; background: linear-gradient(transparent, rgba(22,31,66,.96)); }
.portrait-card__caption strong, .portrait-card__caption span { display: block; }
.portrait-card__caption span { color: var(--text-inverse-muted); font-size: var(--t-sm); }
.door-grid { display: grid; gap: var(--s-5); }
.door-card { position: relative; padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.door-card__num { display: block; color: var(--navy-700); font-size: var(--t-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s-4); }
.door-card ul { margin-top: var(--s-5); display: grid; gap: .6rem; }
.door-card li a { color: var(--navy-700); font-weight: 650; text-decoration: none; }
.door-card li a:hover { color: var(--blue-600); }
.process-grid { display: grid; gap: var(--s-5); counter-reset: process; }
.process-step { counter-increment: process; padding: 1.5rem; border-top: 2px solid var(--blue-500); background: rgba(255,255,255,.06); }
.process-step::before { content: '0' counter(process); display: block; color: var(--gold-on-navy); font-weight: 800; letter-spacing: .12em; margin-bottom: var(--s-3); }
.process-step h3 { color: #fff; font-size: var(--t-h4); }
.process-step p { color: var(--text-inverse-muted); margin-top: var(--s-3); }
.quote__text { color: var(--ink); }
.page-hero { background: var(--navy-900); color: #fff; padding-block: clamp(4rem,7vw,7rem); }
.page-hero h1 { color: #fff; }
.page-hero h1 em { color: var(--gold-on-navy); }
.page-hero .lead, .page-hero .breadcrumb { color: var(--text-inverse-muted); }
.page-hero .text-muted { color: var(--text-inverse-muted); }
.page-hero .eyebrow { color: var(--gold-on-navy); }
.page-hero .content-aside {
  color: var(--text);
}
.page-hero .content-aside h2,
.page-hero .content-aside h3,
.page-hero .content-aside h4 {
  color: var(--heading);
}
.page-hero .content-aside .eyebrow {
  color: var(--navy-700);
}
.content-layout { display: grid; gap: clamp(2rem,4vw,4rem); align-items: start; }
.content-aside { padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--blue-500); border-radius: var(--r-md); background: var(--bg-alt); }
.check-list { display: grid; gap: .75rem; }
.check-list li { padding-left: 1.75rem; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-600); font-weight: 800; }
.article-card { height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.article-card .eyebrow { margin-bottom: .75rem; }
.article-card h3 { font-size: var(--t-display-s); }
.article-card p { margin-top: .75rem; color: var(--text-muted); }
.article-card .link-arrow { margin-top: 1rem; }
.key-takeaway { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--blue-100); border-left: 4px solid var(--blue-500); border-radius: 0 var(--r-md) var(--r-md) 0; }
.site-footer { background: #11172f; }
.footer__brand .brand-logo { width: 4.5rem; height: 4.5rem; background: #fff; border-radius: var(--r-md); }
.section--ink .btn { color: var(--btn-fg); }
.section--ink .btn:hover { color: var(--btn-fg); }
.section--ink .btn--ghost-inverse:hover { color: var(--navy-900); }
@media (min-width: 48rem) { .door-grid, .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 60rem) { .content-layout { grid-template-columns: minmax(0,2fr) minmax(17rem,.72fr); } }
@media (min-width: 72rem) { .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 38rem) { .wordmark__name { font-size: 1.05rem; } .wordmark__sub { font-size: .52rem; } .brand-logo { width: 2.55rem; height: 2.55rem; } }
.check-list li::before { content: '\2713'; }
