/* ============================================================
   Pride Healing & Recovery Services — Design Tokens & Components
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm cream, bayou-inspired */
  --color-bg: #faf6ee;
  --color-surface: #ffffff;
  --color-surface-2: #f6f0e2;
  --color-surface-offset: #f0e7d4;
  --color-surface-offset-2: #e9dec6;
  --color-surface-dynamic: #e2d5b8;
  --color-divider: #e6dcc4;
  --color-border: #ddd0ac;

  /* Text — warm near-black */
  --color-text: #2a2416;
  --color-text-muted: #6d6350;
  --color-text-faint: #a89b7e;
  --color-text-inverse: #faf6ee;

  /* Primary accent — deep sage/forest green (healing, growth) */
  --color-primary: #2f5d4e;
  --color-primary-hover: #24473c;
  --color-primary-active: #1a332a;
  --color-primary-highlight: #d7e4dc;

  /* Secondary accent — warm gold, from the lion's mane */
  --color-gold: #bd8a2e;
  --color-gold-hover: #9c7124;
  --color-gold-active: #7a591b;
  --color-gold-highlight: #f0e0b8;

  /* Semantic */
  --color-success: #43703a;
  --color-success-highlight: #dbe7d3;
  --color-warning: #92501e;
  --color-warning-highlight: #ecdac6;
  --color-error: #9c3b34;
  --color-error-highlight: #ecd3cf;

  /* Pride accent — used sparingly as a thin decorative flourish only */
  --gradient-pride: linear-gradient(
    90deg,
    #e0473e 0%,
    #e88a2e 20%,
    #d8b23a 40%,
    #4f8a5b 60%,
    #3a6ea5 80%,
    #7355a0 100%
  );

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.03 90 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.25 0.03 90 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.25 0.03 90 / 0.16);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #17140f;
  --color-surface: #1c1811;
  --color-surface-2: #201c14;
  --color-surface-offset: #262117;
  --color-surface-offset-2: #2c261a;
  --color-surface-dynamic: #362f1f;
  --color-divider: #2e2819;
  --color-border: #3c341f;

  --color-text: #ece4d1;
  --color-text-muted: #a89b7e;
  --color-text-faint: #6d6350;
  --color-text-inverse: #211d15;

  --color-primary: #74ab97;
  --color-primary-hover: #93c2b0;
  --color-primary-active: #b0d5c6;
  --color-primary-highlight: #2a3a34;

  --color-gold: #e0b563;
  --color-gold-hover: #ecc684;
  --color-gold-active: #f5d7a4;
  --color-gold-highlight: #3f3520;

  --color-success: #8bbf7d;
  --color-success-highlight: #2c3927;
  --color-warning: #d99a5e;
  --color-warning-highlight: #4a3625;
  --color-error: #d68b81;
  --color-error-highlight: #452a26;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #17140f;
    --color-surface: #1c1811;
    --color-surface-2: #201c14;
    --color-surface-offset: #262117;
    --color-surface-offset-2: #2c261a;
    --color-surface-dynamic: #362f1f;
    --color-divider: #2e2819;
    --color-border: #3c341f;
    --color-text: #ece4d1;
    --color-text-muted: #a89b7e;
    --color-text-faint: #6d6350;
    --color-text-inverse: #211d15;
    --color-primary: #74ab97;
    --color-primary-hover: #93c2b0;
    --color-primary-active: #b0d5c6;
    --color-primary-highlight: #2a3a34;
    --color-gold: #e0b563;
    --color-gold-hover: #ecc684;
    --color-gold-active: #f5d7a4;
    --color-gold-highlight: #3f3520;
  }
}

/* ---------- Type Scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.5vw, 4.25rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-default);
}
.container--prose {
  max-width: 68ch;
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
section.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
section.section--hero {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
}

main {
  display: block;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
}

p {
  color: var(--color-text);
}
p.muted {
  color: var(--color-text-muted);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a.underline-link {
  text-decoration: underline;
  text-decoration-color: oklch(from var(--color-primary) l c h / 0.4);
  text-underline-offset: 3px;
}
a.underline-link:hover {
  text-decoration-color: var(--color-primary);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
  z-index: 200;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-2);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__mark--badge {
  width: 96px;
  height: 89px;
}
.footer__brand .brand__mark--badge {
  width: 76px;
  height: 70px;
}
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
  white-space: normal;
}
.footer__brand .brand__wordmark {
  font-size: var(--text-base);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.brand__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__list {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}
.nav__link:hover,
.nav__link[aria-current='page'] {
  color: var(--color-text);
}
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  min-height: 44px;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  background: var(--color-primary-active);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--gold {
  background: var(--color-gold);
  color: #2a2005;
}
.btn--gold:hover {
  background: var(--color-gold-hover);
}
.btn--full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.hero h1 {
  font-size: var(--text-3xl);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pride-rule {
  height: 3px;
  width: 72px;
  border-radius: var(--radius-full);
  background: var(--gradient-pride);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.trust-item strong {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

/* ---------- Feature / Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-border) l c h / 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card h3 {
  font-size: var(--text-lg);
}
.card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.card__index {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
}

/* ---------- Fee table ---------- */
.fee-table {
  margin-top: var(--space-2);
}
.fee-table th,
.fee-table td {
  text-align: left;
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}
.fee-table th {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.fee-table td {
  font-size: var(--text-base);
  color: var(--color-text);
}
.fee-table th:last-child,
.fee-table td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.fee-table__note {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ---------- Pros/cons cards ---------- */
.pros-cons__label {
  font-weight: 600;
  font-size: var(--text-sm) !important;
  color: var(--color-text) !important;
  margin-top: var(--space-4);
}
.card ul[role='list'] li svg.icon--con {
  color: var(--color-text-muted);
}

/* ---------- Split section (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.split__content ul,
.card ul[role='list'] {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.split__content li,
.card ul[role='list'] li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.split__content li svg,
.card ul[role='list'] li svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

/* ---------- Full-bleed banner ---------- */
.banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.15 0.03 90 / 0.75) 0%,
    oklch(0.15 0.03 90 / 0.15) 60%,
    transparent 100%
  );
  z-index: 1;
}
.banner__content {
  position: relative;
  z-index: 2;
  padding: var(--space-10);
  color: #fbf6e8;
  max-width: 640px;
}
.banner__content h2 {
  color: #fbf6e8;
}
.banner__content p {
  color: oklch(0.95 0.02 90 / 0.88);
}

/* ---------- Section heading ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 640px;
  margin-bottom: var(--space-12);
}

/* ---------- Quote ---------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  border-left: none;
  padding-left: var(--space-6);
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  left: -0.15em;
  top: -0.2em;
  font-size: 2.2em;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.quote-attribution img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.quote-attribution__text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  font-size: var(--text-sm);
}
.quote-attribution__text .muted {
  font-size: var(--text-xs);
}

/* ---------- Insurance / list table ---------- */
.info-list {
  display: flex;
  flex-direction: column;
}
.info-list__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.info-list__row:first-child {
  border-top: 1px solid var(--color-divider);
}
.info-list__label {
  font-weight: 600;
  font-size: var(--text-sm);
}
.info-list__value {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: right;
  max-width: 46ch;
}

/* ---------- Name / Credential Tag ---------- */
.name-tag {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-divider);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-weight: 600;
  font-size: var(--text-base);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ---------- Callout ---------- */
.callout {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.callout--crisis {
  background: var(--color-error-highlight);
}
.callout--crisis .eyebrow {
  color: var(--color-error);
}

/* ---------- Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form-status {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status--success {
  background: var(--color-success-highlight);
  color: var(--color-success);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-2);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
  padding-block: var(--space-16);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 360px;
}
.footer__brand .brand {
  color: var(--color-text);
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__col a {
  color: var(--color-text);
  font-size: var(--text-sm);
}
.footer__col a:hover {
  color: var(--color-primary);
}
.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__legal {
  max-width: 640px;
}

/* ---------- Utility ---------- */
.mt-auto {
  margin-top: auto;
}
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* icon */
.icon {
  width: 1em;
  height: 1em;
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-bg);
  padding: var(--space-6);
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-nav__list a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
}
.mobile-nav__actions {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ---------- Scroll Reveal ----------
   Content is visible by default (safe fallback if JS fails).
   JS only hides elements that start below the fold, via .reveal-pending,
   then reveals them on scroll. */
[data-reveal] {
  opacity: 1;
}
[data-reveal].reveal-pending {
  opacity: 0;
  clip-path: inset(12% 0 0 0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].reveal-pending.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* ---------- Responsive ---------- */
/* Tighten the desktop nav on narrower desktops so 8 links + CTA still fit */
@media (max-width: 1440px) {
  .nav,
  .nav__list {
    gap: var(--space-4);
  }
}

/* Below this width the 8-item nav no longer fits, so hand off to the hamburger */
@media (max-width: 1240px) {
  .nav__list {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hero__media {
    order: -1;
  }
  .split,
  .split--reverse .split__media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .split {
    gap: var(--space-8);
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .info-list__row {
    flex-direction: column;
    gap: var(--space-1);
  }
  .info-list__value {
    text-align: left;
  }
  .trust-strip {
    gap: var(--space-6);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }
  section {
    padding-block: clamp(var(--space-10), 10vw, var(--space-16));
  }
  .banner__content {
    padding: var(--space-6);
  }
  .brand__mark--badge {
    width: 68px;
    height: 63px;
  }
  .header__inner {
    gap: var(--space-3);
  }
  .nav__actions .btn--primary {
    display: none;
  }
  .nav__actions {
    gap: var(--space-1);
  }
}
