/* ==========================================================================
   Funtastica — single stylesheet for the whole site.
   Coral primary with soft sage, butter, blush and lilac supporting tones.
   All colour pairs used for text have been checked to WCAG 2.1 AA (>= 4.5:1
   for body copy, >= 3:1 for large headings and UI borders).
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */
:root {
  /* A deliberately single-theme brand palette: warm, light, and the same for
     every visitor. color-scheme is pinned so form controls and scrollbars do
     not render dark against a light page. */
  color-scheme: light;

  /* Coral — the brand colour. -600 and darker are the only ones safe behind
     white text; -500 and lighter are decorative or background-only. */
  --coral-700: #A93A27;
  --coral-600: #C1442F;
  --coral-500: #E35D4F;
  --coral-300: #F2A091;
  --coral-100: #FFDCD3;
  --coral-50:  #FFF1ED;

  /* Soft supporting tones */
  --sage-700:  #3F7567;
  --sage-500:  #5E9B8B;
  --sage-100:  #D6EBE4;
  --sage-50:   #EAF4F0;

  --butter-500: #E8A84A;
  --butter-100: #FCE8C4;
  --butter-50:  #FFF6E7;

  --blush-100:  #FBDCE4;
  --blush-50:   #FEF0F3;

  --lilac-100:  #E4DCF2;
  --lilac-50:   #F4F0FB;

  /* Neutrals — warm, to sit with coral rather than fight it */
  --ink:       #3A2B2A;
  --ink-soft:  #6E5A57;
  --paper:     #FFFBF9;
  --card:      #FFFFFF;
  --line:      #F0E0DA;
  --line-soft: #F7ECE8;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Shape — soft, no hard offset shadows */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(58, 43, 42, .05), 0 4px 12px rgba(58, 43, 42, .05);
  --shadow: 0 2px 4px rgba(58, 43, 42, .04), 0 10px 28px rgba(58, 43, 42, .08);
  --shadow-lg: 0 4px 8px rgba(58, 43, 42, .04), 0 20px 48px rgba(58, 43, 42, .10);

  --maxw: 1140px;
  --gutter: 24px;
  --section-y: clamp(56px, 7vw, 92px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.15rem); }
h3 { font-size: 1.12rem; }

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

a { color: var(--coral-700); text-underline-offset: 3px; }
a:hover { color: var(--coral-600); }

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

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

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease,
              transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-primary { background: var(--coral-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-700); color: #fff; box-shadow: var(--shadow); }

.btn-secondary { background: var(--card); color: var(--coral-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--coral-300); color: var(--coral-700); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); border-color: var(--coral-300); color: var(--ink); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2C2120; color: #fff; }

.btn-light { background: #fff; color: var(--coral-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #fff; color: var(--coral-700); box-shadow: var(--shadow); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-sm { padding: 9px 17px; font-size: .875rem; }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255, 251, 249, .88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(58,43,42,.05); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.logo-mark { flex: none; }

.primary-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
.primary-nav a {
  position: relative; text-decoration: none; color: var(--ink);
  font-size: .93rem; font-weight: 600; padding: 4px 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--coral-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .15s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--coral-700); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
}
.nav-toggle:hover { border-color: var(--coral-300); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding: 10px var(--gutter) 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a:not(.btn) {
  display: block; padding: 13px 4px; text-decoration: none;
  color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 12px; }

/* --------------------------------------------------------------- sections */
.section { padding-block: var(--section-y); }
.section.tone-card   { background: var(--card); }
.section.tone-coral  { background: var(--coral-50); }
.section.tone-sage   { background: var(--sage-50); }
.section.tone-butter { background: var(--butter-50); }
.section.tone-lilac  { background: var(--lilac-50); }
.section.tone-ink    { background: var(--ink); color: #fff; }
.section.tone-ink h2, .section.tone-ink h3 { color: #fff; }
.section.tone-ink .lede, .section.tone-ink p { color: #E9DCD9; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--coral-700); margin: 0 0 12px;
}
.tone-ink .eyebrow { color: var(--coral-300); }

.lede { font-size: 1.08rem; color: var(--ink-soft); }

.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head.align-center { margin-inline: auto; text-align: center; }
.section-head.align-left { margin-inline: 0; }
.section-head p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ breadcrumbs */
.breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .84rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--coral-300); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--coral-700); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------- page heroes */
.page-hero {
  position: relative;
  padding: 46px 0 clamp(44px, 5vw, 68px);
  background:
    radial-gradient(760px 420px at 88% -12%, var(--coral-50) 0%, rgba(255,241,237,0) 62%),
    radial-gradient(620px 380px at 4% 6%, var(--sage-50) 0%, rgba(234,244,240,0) 58%);
}
.page-hero-inner.has-aside {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(30px, 4vw, 54px); align-items: start;
}
.page-hero-copy .lede { max-width: 54ch; }
.page-hero h1 { margin-bottom: .45em; }

.home-hero { padding-top: 40px; }
.home-hero .lede { font-size: 1.14rem; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hero-points .check-icon { color: var(--sage-700); }

/* ------------------------------------------------------------------ cards */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 0; }

a.card-link { text-decoration: none; color: var(--ink); }
a.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--coral-300); color: var(--ink); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; flex: none;
}
.accent-coral  .card-icon { background: var(--coral-50);  color: var(--coral-700); }
.accent-sage   .card-icon { background: var(--sage-50);   color: var(--sage-700); }
.accent-butter .card-icon { background: var(--butter-50); color: #8A5A12; }
.accent-blush  .card-icon { background: var(--blush-50);  color: #A03A5C; }
.accent-lilac  .card-icon { background: var(--lilac-50);  color: #5A4488; }

.card-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: .875rem; font-weight: 700; color: var(--coral-700);
}
a.card-link:hover .card-cta svg { transform: translateX(3px); }
.card-cta svg { transition: transform .15s ease; }

.card-tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: var(--butter-50); color: #8A5A12; margin-bottom: 14px;
}
.card-guide h3 { font-size: 1.06rem; }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.step-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral-600); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.step:nth-child(2) .step-num { background: var(--sage-700); }
.step:nth-child(3) .step-num { background: #8A5A12; }
.step:nth-child(4) .step-num { background: #5A4488; }
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------- check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.check-list strong { color: var(--ink); font-weight: 700; }
.check-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--sage-100); color: var(--sage-700);
}
.tone-ink .check-list li { color: #E9DCD9; }
.tone-ink .check-list strong { color: #fff; }
.tone-ink .check-icon { background: rgba(255,255,255,.15); color: var(--coral-300); }

/* -------------------------------------------------------------------- faq */
.faq { max-width: 76ch; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 17px 20px;
  font-weight: 700; font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 11px; height: 11px;
  border-right: 2.2px solid var(--coral-600); border-bottom: 2.2px solid var(--coral-600);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--coral-50); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { color: var(--ink-soft); font-size: .95rem; margin: 0; max-width: 68ch; }

/* ------------------------------------------------------------------- form */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: .35em; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.field label, .field legend { font-size: .86rem; font-weight: 700; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--coral-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--coral-600); outline: 2px solid var(--coral-100); outline-offset: 0;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--coral-700); background: var(--coral-50);
}

fieldset.field { border: 0; margin-inline: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center; padding: 9px 15px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .86rem; font-weight: 600; background: var(--paper);
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.chip input:hover + span { border-color: var(--coral-300); }
.chip input:checked + span { background: var(--coral-600); border-color: var(--coral-600); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--coral-600); outline-offset: 2px; }

/* Honeypot — hidden from people, visible to naive bots. */
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  background: var(--coral-50); border: 1.5px solid var(--coral-300);
  color: var(--coral-700); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .9rem; font-weight: 600; margin: 0 0 14px;
}
.form-legal { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }

.form-success { text-align: center; padding: 14px 4px; }
.form-success h3 { font-size: 1.25rem; }
.form-success p { color: var(--ink-soft); font-size: .95rem; max-width: 42ch; margin-inline: auto; }
.success-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; margin-bottom: 16px;
  background: var(--sage-100); color: var(--sage-700);
}
.is-submitting button[type="submit"] { opacity: .6; pointer-events: none; }

/* --------------------------------------------------------------- cta band */
.cta-band { padding-block: clamp(20px, 3vw, 34px) var(--section-y); }
.cta-inner {
  background: linear-gradient(135deg, var(--coral-600) 0%, var(--coral-700) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(38px, 5vw, 62px) clamp(24px, 4vw, 52px); text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #FFE4DC; max-width: 52ch; margin-inline: auto; }
.cta-inner .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- related */
.related { padding-block: clamp(36px, 4vw, 56px); background: var(--card); border-top: 1px solid var(--line); }
.related-title { font-size: 1.05rem; margin-bottom: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.pill {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.pill:hover { border-color: var(--coral-300); background: var(--coral-50); color: var(--coral-700); }

/* ------------------------------------------------------------ split block */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.split-media {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow);
}
.split-media h3 { font-size: 1.1rem; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.spec-list li { display: flex; gap: 10px; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list dt, .spec-list .k { color: var(--ink-soft); }
.spec-list .v { font-weight: 700; text-align: right; }

/* ------------------------------------------------------------- neighbours */
.neighbourhoods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.neighbourhoods li {
  padding: 6px 13px; border-radius: 999px; background: var(--sage-50);
  color: var(--sage-700); font-size: .84rem; font-weight: 600;
}

/* ------------------------------------------------------------------ prose */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.08rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--coral-500); }
.prose strong { color: var(--ink); }
.prose > :last-child { margin-bottom: 0; }

.callout {
  background: var(--butter-50); border: 1px solid var(--butter-100);
  border-radius: var(--radius); padding: 20px 22px; margin: 1.6em 0;
}
.callout h3 { margin-top: 0; font-size: 1rem; }
.callout p { margin-bottom: 0; color: var(--ink-soft); }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: .86rem; color: var(--ink-soft); margin-bottom: 8px;
}
.article-meta .card-tag { margin: 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.toc h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin: 0 0 12px; font-family: var(--font-body); font-weight: 700; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.toc a { font-size: .89rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--coral-700); }

/* ----------------------------------------------------------------- footer */
.site-footer {
  background: var(--card); border-top: 1px solid var(--line);
  padding: clamp(46px, 5vw, 66px) 0 30px; font-size: .92rem; color: var(--ink-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(26px, 3vw, 44px); margin-bottom: 36px;
}
.footer-brand p { max-width: 36ch; margin: 14px 0 18px; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-contact li { display: flex; align-items: center; gap: 9px; }
.footer-contact svg { color: var(--coral-600); flex: none; }
.footer-contact a { color: var(--ink-soft); text-decoration: none; }
.footer-contact a:hover { color: var(--coral-700); text-decoration: underline; }

.footer-col h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--coral-700); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem;
}
.footer-note { color: var(--ink-soft); }

/* ------------------------------------------------------------------- 404 */
.error-page { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.error-code { font-family: var(--font-display); font-size: clamp(3.4rem, 9vw, 6rem); color: var(--coral-300); line-height: 1; margin-bottom: 8px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: block; }
  .page-hero-inner.has-aside { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps.steps-4 { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn-sm { display: none; }
  .btn-row .btn { width: 100%; }
}

/* ------------------------------------------------------------ print / a11y */
@media print {
  .site-header, .site-footer, .cta-band, .btn, .form-card { display: none !important; }
  body { background: #fff; }
}

@media (prefers-contrast: more) {
  .card, .faq details, .field input, .field select, .field textarea { border-color: var(--ink-soft); }
  .lede, .card p, .check-list li, .prose p, .prose li { color: #55423F; }
}

/* --------------------------------------------------- form heading / bare */
.form-heading { font-size: 1.22rem; margin-bottom: .3em; }
.form-intro { color: var(--ink-soft); font-size: .94rem; margin-bottom: 20px; }
.form-bare { background: none; border: 0; padding: 0; box-shadow: none; }
