/* HavenTrack by ANC Perpetua: site styles.
   Layout: phone-first single column. On wide screens the hero splits into headline and a day sheet,
   and deep claret bands carry the four kinds of care, the evidence pack and the founding-member call.
   Palette (Jacob gave a free hand on colour, 11 Nov 2026): deep claret, rose-tinted porcelain and antique gold.
   It sets HavenTrack apart from CremTrack (green), Groomoir (midnight) and GentleVisit (heather),
   and echoes the red of the ANC coat of arms. Status never relies on colour alone: every mark has a shape and a word. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Named palette */
  --porcelain: #f5f1ef;
  --porcelain-deep: #ebe3df;
  --paper: #fffdfb;
  --claret: #6b1f2e;
  --claret-deep: #3d111a;
  --gold: #ad8746;
  --gold-soft: #e2c88f;

  /* Roles (light) */
  --bg: var(--porcelain);
  --surface: var(--paper);
  --surface-2: var(--porcelain-deep);
  --text: #2a1c20;
  --muted: #5b4a4f;
  --line: rgb(42 28 32 / 0.13);
  --line-strong: rgb(42 28 32 / 0.32);
  --accent: var(--claret);
  --accent-hover: #551624;
  --on-accent: #fdf7f4;
  --gold-text: #6e5220;
  --band: var(--claret);
  --band-text: #fbf1ee;
  --band-muted: #e6d1d3;
  --band-line: rgb(226 200 143 / 0.32);
  --footer: var(--claret-deep);
  --ok: #24684a;
  --due: #855610;
  --concern: #a3262c;
  --focus: #8a5a12;
  --shadow: 0 1px 1px rgb(61 17 26 / 0.06), 0 14px 34px -14px rgb(61 17 26 / 0.32);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.55rem + 1.4vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.65rem + 5vw, 5.5rem);

  /* Space */
  --gutter: 16px;
  --page-max: 72rem;
  --measure: 38rem;
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius-sheet: 1.125rem;
  --radius-control: 0.5rem;

  /* The page's own roles, captured at the root so paper objects on a band can restore them. */
  --page-text: var(--text);
  --page-muted: var(--muted);
  --page-line: var(--line);
  --page-line-strong: var(--line-strong);
  --page-ok: var(--ok);
  --page-due: var(--due);
  --page-concern: var(--concern);
  --page-gold-text: var(--gold-text);
  --page-accent: var(--accent);
  --page-accent-hover: var(--accent-hover);
  --page-on-accent: var(--on-accent);
  --page-focus: var(--focus);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1013;
    --surface: #26181c;
    --surface-2: #201417;
    --text: #f3eae7;
    --muted: #c6b4b7;
    --line: rgb(243 234 231 / 0.13);
    --line-strong: rgb(243 234 231 / 0.32);
    --accent: #e2c88f;
    --accent-hover: #eed9ad;
    --on-accent: #2a1015;
    --gold: #cfae6e;
    --gold-text: #e2c88f;
    --band: #3e1520;
    --band-text: #fbf1ee;
    --band-muted: #dcc6c9;
    --band-line: rgb(226 200 143 / 0.28);
    --footer: #110a0c;
    --ok: #86cfa6;
    --due: #e8b86a;
    --concern: #f4a0a3;
    --focus: #eed9ad;
    --shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 16px 36px -14px rgb(0 0 0 / 0.65);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1a1013;
  --surface: #26181c;
  --surface-2: #201417;
  --text: #f3eae7;
  --muted: #c6b4b7;
  --line: rgb(243 234 231 / 0.13);
  --line-strong: rgb(243 234 231 / 0.32);
  --accent: #e2c88f;
  --accent-hover: #eed9ad;
  --on-accent: #2a1015;
  --gold: #cfae6e;
  --gold-text: #e2c88f;
  --band: #3e1520;
  --band-text: #fbf1ee;
  --band-muted: #dcc6c9;
  --band-line: rgb(226 200 143 / 0.28);
  --footer: #110a0c;
  --ok: #86cfa6;
  --due: #e8b86a;
  --concern: #f4a0a3;
  --focus: #eed9ad;
  --shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 16px 36px -14px rgb(0 0 0 / 0.65);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-wrap: break-word;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.15;
}
p { margin: 0; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
.tabular { font-variant-numeric: tabular-nums; }
.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--accent); color: var(--on-accent);
  padding: 0.6rem 1rem; border-radius: var(--radius-control); text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 0.75rem); }

.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) { :root { --gutter: 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
/* The public ANC coat of arms leads the wordmark on every page. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1;
  padding-block: 0.45rem;
}
.wordmark__arms { width: auto; height: 3rem; flex: none; }
.wordmark__text { display: flex; flex-direction: column; }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -0.005em;
}
.wordmark__by {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-size: var(--step--1); font-weight: 600;
  color: var(--text); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.55rem 1rem; min-height: 2.75rem; cursor: pointer;
}
.menu-toggle__bars { width: 1rem; height: 0.7rem; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { bottom: calc(50% - 1px); transform: rotate(-45deg); }

.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }

@media (max-width: 63.99rem) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.25rem max(var(--gutter), env(safe-area-inset-left, 0px));
    max-height: calc(100dvh - 4.25rem - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  .js .site-nav[data-open="false"] { display: none; }
  .no-js .menu-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .site-nav { flex-basis: 100%; }
  .no-js .site-nav { position: static; padding-inline: 0; border: 0; }
  .site-nav ul { display: grid; }
  .site-nav li a:not(.btn) {
    display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2;
  }
  .site-nav .nav-cta { padding-top: 1.1rem; }
  .site-nav .nav-cta .btn { width: 100%; }
}
@media (min-width: 64rem) {
  .menu-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav li a:not(.btn) { font-size: 0.97rem; padding-block: 0.5rem; }
  .site-nav li a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--gold); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: var(--radius-control);
  border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--quiet:hover { background: var(--surface); border-color: var(--text); }
.btn--small { min-height: 2.6rem; padding: 0.5rem 1rem; font-size: 0.94rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Status marks (shape + word, never colour alone) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  padding: 0.3rem 0.65rem 0.3rem 0.55rem;
  border-radius: 999px; border: 1px solid var(--line-strong);
  vertical-align: middle; max-width: 100%;
}
.legend .status { white-space: nowrap; }
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.status--built { color: var(--ok); }
.status--built::before { background: currentColor; }
.status--coming { color: var(--muted); border-style: dashed; }
.status--coming::before { border: 1.5px dashed currentColor; }

.legend {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  font-size: var(--step--1); color: var(--muted);
}
.legend p { display: flex; align-items: baseline; gap: 0.6rem; margin: 0; max-width: 32rem; }
.legend .status { flex: none; }
.legend + * { margin-top: 2rem; }
.page-hero__legend { margin-top: 1.75rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.65); }
.section--alt { background: var(--surface-2); }
.band {
  --text: var(--band-text);
  --muted: var(--band-muted);
  --line: var(--band-line);
  --line-strong: rgb(226 200 143 / 0.55);
  --accent: var(--gold-soft);
  --accent-hover: #eed9ad;
  --on-accent: #2a1015;
  --gold-text: var(--gold-soft);
  --ok: #93d6b0;
  --focus: var(--gold-soft);
  background: var(--band);
  color: var(--text);
}
.band .btn--quiet:hover { background: rgb(255 255 255 / 0.06); }

.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { color: var(--muted); font-size: var(--step-1); max-width: var(--measure); }
.kicker { font-size: var(--step--1); font-weight: 600; color: var(--gold-text); }

.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-3); margin: 2.4em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose p + p { margin-top: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 3vw, 4rem); }
.page-hero h1 { font-size: var(--step-5); max-width: 15ch; }
.page-hero .lede { margin-top: 1.25rem; font-size: var(--step-1); color: var(--muted); max-width: var(--measure); }
.page-hero .actions { margin-top: 1.75rem; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) var(--section); }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 { font-size: var(--step-5); max-width: 11ch; }
.hero-arms {
  margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex; align-items: center; gap: 1.1rem;
}
.hero-arms img {
  width: clamp(5.75rem, 3.5rem + 9vw, 10rem); height: auto;
  filter: drop-shadow(0 12px 22px rgb(20 4 8 / 0.45));
}
.hero-arms figcaption {
  display: grid; gap: 0.35rem;
  padding-left: 1.1rem; border-left: 1px solid var(--band-line);
}
.hero-arms__name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--text); }
.hero-arms__by { font-size: 0.9375rem; color: var(--gold-soft); }
.hero .lede { margin-top: 1.4rem; font-size: var(--step-1); max-width: 34rem; color: var(--muted); }
.hero .actions { margin-top: 2rem; }
.hero-note { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); max-width: 30rem; }

/* ---------- The day sheet (the hero's care record) ---------- */
.sheet {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.sheet__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1rem;
  padding: 1.1rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line-strong);
}
.sheet__animal { display: grid; gap: 0.15rem; }
.sheet__name { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.sheet__meta { font-size: var(--step--1); color: var(--muted); }
.sheet__count { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 30rem) { .sheet__count { text-align: right; } }
.sheet__count strong { display: block; color: var(--text); font-size: 1rem; }
.sheet__rows { list-style: none; }
.sheet__row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  align-items: start;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.sheet__row:last-child { border-bottom: 0; }
.sheet__time { font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 0.05rem; }
.sheet__what strong { display: block; }
.sheet__what span { color: var(--muted); font-size: 0.875rem; }
.sheet__what del { color: var(--muted); text-decoration-thickness: 1px; }
.sheet__what ins { text-decoration: none; display: block; font-size: 0.8125rem; color: var(--gold-text); margin-top: 0.15rem; }
.mark {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap; padding-top: 0.1rem;
}
.mark svg { width: 1rem; height: 1rem; flex: none; }
.mark svg .tick { fill: none; stroke: var(--surface); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mark--done { color: var(--ok); }
.mark--noted { color: var(--due); }
.mark--due { color: var(--concern); }
.sheet__status { display: grid; justify-items: end; gap: 0.1rem; }
.sheet__who { font-size: 0.8125rem; color: var(--muted); }
.sheet__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem;
  padding: 0.75rem 1.25rem; background: var(--surface-2);
  font-size: 0.8125rem; color: var(--muted);
}

/* One orchestrated moment: the day writes itself in, once. */
@media (prefers-reduced-motion: no-preference) {
  .sheet__row:nth-child(1) { --i: 0; }
  .sheet__row:nth-child(2) { --i: 1; }
  .sheet__row:nth-child(3) { --i: 2; }
  .sheet__row:nth-child(4) { --i: 3; }
  .sheet__row:nth-child(5) { --i: 4; }
  .sheet__row:nth-child(6) { --i: 5; }
  .sheet__row:nth-child(7) { --i: 6; }
  .sheet__row:nth-child(8) { --i: 7; }
  .js .sheet--animate .sheet__row { animation: write-in 0.55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.25s + var(--i, 0) * 0.16s); }
  .js .sheet--animate .sheet__row .mark { animation: mark-in 0.4s ease both; animation-delay: calc(0.45s + var(--i, 0) * 0.16s); }
  .js .sheet--animate .sheet__row--due .mark svg { animation: due-pulse 1.6s ease-in-out 2; animation-delay: 1.8s; }
}
/* Rows stay readable at every frame: a pen-stroke of gold passes down the sheet, and each mark settles in. */
@keyframes write-in { from { background-color: rgb(173 135 70 / 0.2); } to { background-color: transparent; } }
@keyframes mark-in { from { opacity: 0.5; transform: scale(0.55); } to { opacity: 1; transform: none; } }
@keyframes due-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.illus-note { font-size: 0.8125rem; color: var(--muted); margin-top: 0.75rem; }

/* ---------- Four kinds of care ---------- */
.care-types { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .care-types { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }
.care-type {
  display: grid; gap: 0.75rem; align-content: start;
  padding-block: 1.75rem 2rem;
  border-bottom: 1px solid var(--line);
}
.care-type h3 { font-size: var(--step-3); }
.care-type p { color: var(--muted); max-width: 32rem; }
.care-type .rule {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: baseline;
  color: var(--text); font-size: 0.9375rem;
}
.care-type .rule::before { content: ""; width: 1.25rem; height: 1px; background: var(--gold-soft); transform: translateY(-0.3rem); }
.care-type a { font-weight: 600; }

/* ---------- A stay, start to finish ---------- */
.stay { list-style: none; counter-reset: step; display: grid; }
.stay__step {
  counter-increment: step;
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.stay__step:last-child { border-bottom: 1px solid var(--line); }
.stay__step::before {
  content: counter(step);
  font-family: var(--font-display); font-size: 2.5rem; line-height: 0.9; color: var(--gold);
  font-variant-numeric: lining-nums;
}
.stay__body { display: grid; gap: 0.6rem; min-width: 0; }
.stay__body h3 { font-size: var(--step-2); }
.stay__body p { color: var(--muted); max-width: 36rem; }
.stay__body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
@media (min-width: 60rem) {
  .stay__step { grid-template-columns: 4.5rem minmax(0, 15rem) minmax(0, 1fr); gap: 0 2rem; }
  .stay__step::before { font-size: 3.25rem; }
  .stay__body { grid-column: 2 / 4; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2rem; }
  .stay__body h3 { grid-row: 1 / 3; }
}

/* ---------- Evidence pack illustration ---------- */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--reverse > :first-child { order: 2; }
  .split--center { align-items: center; }
}
.split__copy { display: grid; gap: 1rem; max-width: 34rem; }
.split__copy h2 { font-size: var(--step-4); }
.split__copy p { color: var(--muted); }
.split__copy > ul { list-style: none; display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.split__copy > ul > li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.6rem; }
.split__copy > ul > li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.55rem; border: 1.5px solid var(--gold); transform: rotate(45deg); }

.pack {
  background: var(--surface); color: var(--text);
  border-radius: var(--radius-sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
/* Paper objects (sheet, pack, walk board, form) keep the page's own colours when they sit on a band. */
.band :is(.sheet, .pack, .walk-board, .form-card, .phone__screen, .capacity, .tile, .facts--paper) {
  --text: var(--page-text); --muted: var(--page-muted); --line: var(--page-line); --line-strong: var(--page-line-strong);
  --ok: var(--page-ok); --due: var(--page-due); --concern: var(--page-concern); --gold-text: var(--page-gold-text);
  --accent: var(--page-accent); --accent-hover: var(--page-accent-hover); --on-accent: var(--page-on-accent); --focus: var(--page-focus);
  color: var(--text);
}
.pack__head { padding: 1.1rem 1.25rem 1rem; border-bottom: 1px solid var(--line-strong); display: grid; gap: 0.2rem; }
.pack__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.pack__meta { font-size: var(--step--1); color: var(--muted); }
.pack__scroll { overflow-x: auto; }
.pack table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 19rem; }
.pack th, .pack td { text-align: left; padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pack thead th { font-size: 0.8125rem; color: var(--muted); font-weight: 600; padding-block: 0.6rem; }
.pack td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--muted); }
.pack tbody tr:last-child td { border-bottom: 0; }
.pack__fingerprint {
  padding: 0.8rem 1.25rem; background: var(--surface-2); font-size: 0.8125rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem;
}

.pack__fingerprint code { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--text); word-break: break-all; }

/* ---------- Walks count ---------- */
.walk-board {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet);
  box-shadow: var(--shadow); overflow: hidden; min-width: 0;
}
.walk-board__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; padding: 1.1rem 1.25rem 1rem; border-bottom: 1px solid var(--line-strong); }
.walk-board__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.walk-board__tally { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.walk-board ul { list-style: none; }
.walk-board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem; padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.walk-board li:last-child { border-bottom: 0; }
.walk-board li span { color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.walk-board__foot { padding: 0.75rem 1.25rem; background: var(--surface-2); font-size: 0.8125rem; color: var(--muted); }

/* ---------- Feature lists (features + walks pages) ---------- */
.feature-group { display: grid; gap: 1.5rem; padding-top: var(--section); }
.feature-group:first-of-type { padding-top: 0; }
.feature-group header { display: grid; gap: 0.9rem; max-width: 44rem; align-content: center; }
.feature-group header h2 { font-size: var(--step-4); }
.feature-group header p { color: var(--muted); font-size: var(--step-1); }
.features { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }
.feature { display: grid; gap: 0.5rem; align-content: start; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.feature__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; }
.feature h3 { font-size: 1.6rem; }
.feature p { color: var(--muted); }
.guidance-note {
  display: grid; gap: 0.5rem; padding: 1.25rem 1.4rem; margin-top: 0.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-control);
  font-size: 0.9375rem; max-width: 46rem;
}
.guidance-note strong { font-weight: 600; }
.guidance-note ul { padding-left: 1.2rem; display: grid; gap: 0.3rem; }

.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; list-style: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 0.94rem; font-weight: 600;
}
.subnav a:hover { background: var(--surface); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 0.9rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet);
  min-width: 0;
}
.plan--feature { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan__name { font-size: 2rem; }
.plan__for { color: var(--muted); font-size: 0.9375rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.plan__pre { flex-basis: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--gold-text); }
.plan__amount { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-variant-numeric: lining-nums; }
.plan__amount small { font-size: 0.5em; }
.plan__per { color: var(--muted); font-size: 0.9375rem; }
.plan ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.9375rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 0.55rem; }
.plan li::before { content: ""; width: 0.45rem; height: 0.45rem; margin-top: 0.5rem; background: var(--gold); transform: rotate(45deg); }
.plan .btn { width: 100%; }
.plan__tag { font-size: 0.8125rem; font-weight: 600; color: var(--gold-text); }

.price-strip { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .price-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; } }
.price-strip > div { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .price-strip > div { padding: 0 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); } .price-strip > div:first-child { padding-left: 0; border-left: 0; } }
.price-strip .name { font-weight: 600; }
.price-strip .amount { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.price-strip .amount small { font-size: 0.55em; }
.price-strip .for { color: var(--muted); font-size: 0.9375rem; }

.notes-list { list-style: none; display: grid; gap: 0.9rem; max-width: 46rem; }
.notes-list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.6rem; }
.notes-list li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.55rem; border: 1.5px solid var(--gold); transform: rotate(45deg); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
.compare th, .compare td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.8125rem; color: var(--muted); }
.compare tbody th { font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; }

/* ---------- Licensing help ---------- */
.law-grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .law-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.law-card {
  display: grid; gap: 0.75rem; align-content: start;
  padding: 1.4rem 1.4rem 1.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sheet); min-width: 0;
}
.law-card h3 { font-size: 1.8rem; }
.law-card h4 { font-size: 0.9375rem; font-weight: 600; margin-top: 0.4rem; }
.law-card ul { padding-left: 1.15rem; display: grid; gap: 0.35rem; font-size: 0.9375rem; }
.law-card .source { font-size: 0.875rem; color: var(--muted); }
.callout {
  display: grid; gap: 0.6rem; padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  background: var(--surface); max-width: 46rem;
}
.callout strong { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 1.5rem; gap: 1rem; align-items: center;
  padding-block: 1.15rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 0.65rem; height: 0.65rem; justify-self: center;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-25%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.faq .answer { padding-bottom: 1.4rem; max-width: var(--measure); color: var(--muted); }
.faq .answer p + p { margin-top: 0.75em; }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.faq-group h2 { font-size: var(--step-3); margin-bottom: 1rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
.form-layout > .form-card { order: -1; }
@media (min-width: 60rem) { .form-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .form-layout > .form-card { order: 0; } }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet);
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); min-width: 0;
}
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.97rem; }
.field .hint { font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  padding: 0.75rem 0.85rem; min-height: 3rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 0.5rem; margin-top: 0.2rem; }
.choice {
  display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.7rem; align-items: start;
  padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  cursor: pointer; background: var(--bg);
}
.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--accent); }
.choice strong { display: block; font-weight: 600; }
.choice span span { display: block; font-size: 0.875rem; color: var(--muted); }
.form .btn { width: 100%; }
@media (min-width: 40rem) { .form .btn { width: auto; justify-self: start; } }
.form-small { font-size: 0.875rem; color: var(--muted); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.preview-off {
  padding: 0.8rem 1rem; border-radius: var(--radius-control);
  border: 1px dashed var(--line-strong); font-size: 0.9375rem;
}

/* ---------- Founding member call ---------- */
.cta-band .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .cta-band .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: end; } }
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; }
.cta-band p { color: var(--muted); max-width: 36rem; margin-top: 1rem; font-size: var(--step-1); }
.cta-band .actions { justify-content: flex-start; }
@media (min-width: 60rem) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer {
  --text: var(--band-text); --muted: var(--band-muted); --line: var(--band-line); --gold-text: var(--gold-soft); --focus: var(--gold-soft);
  background: var(--footer); color: var(--text);
  padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.footer-brand { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.footer-brand img { width: 100%; height: auto; }
@media (min-width: 60rem) { .footer-brand { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.75rem; } }
.footer-brand__name { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.footer-brand__motto { margin-top: 0.4rem; font-size: 0.875rem; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (min-width: 40rem) { .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-links h2 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--gold-text); letter-spacing: 0; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; display: grid; gap: 0.15rem; }
.footer-links a { display: inline-block; padding-block: 0.35rem; text-decoration: none; font-size: 0.97rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-base {
  margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  font-size: 0.8125rem; color: var(--muted);
}
.footer-base p { margin: 0; max-width: 40rem; }

/* ---------- Thank you / 404 ---------- */
.plain-page { min-height: 50vh; display: grid; align-content: center; gap: 1.25rem; padding-block: var(--section); }
.plain-page h1 { font-size: var(--step-5); max-width: 14ch; }
.plain-page p { color: var(--muted); font-size: var(--step-1); max-width: var(--measure); }


/* ---------- Icons (hand-drawn line set, see the sprite in each page) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: 0.9rem;
  background: var(--surface-2); color: var(--gold-text);
}
.ico-tile .ico { width: 1.65rem; height: 1.65rem; }
.section--alt .ico-tile { background: var(--surface); }
.band .ico-tile { background: rgb(255 255 255 / 0.08); }
.band :is(.tile, .phone__screen) .ico-tile { background: var(--surface-2); }

/* ---------- Tiles ---------- */
.tiles { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tile {
  display: grid; gap: 0.75rem; align-content: start; min-width: 0;
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet);
}
.tile h3 { font-size: 1.7rem; }
@media (min-width: 48rem) { .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile p { color: var(--muted); font-size: 0.97rem; }
.tile .fact { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text); }
.tile a { font-weight: 600; font-size: 0.94rem; }

/* ---------- Photos (free Unsplash photos, credited beside each) ---------- */
.tile--photo { overflow: hidden; }
.tile__photo {
  width: calc(100% + 2.7rem); max-width: none; margin: -1.4rem -1.35rem 0;
  aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-2);
}
.tile--photo .ico-tile { position: relative; margin-top: -2.4rem; box-shadow: 0 0 0 4px var(--surface); }
.photo { margin: 0.5rem 0 0; display: grid; gap: 0.6rem; min-width: 0; }
.photo picture { display: block; min-width: 0; }
.photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius-sheet); background: var(--surface-2);
}
.photo--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo--pair img { aspect-ratio: 4 / 3; }
.photo--pair picture:first-child img { object-position: 72% 50%; }
.photo--pair picture:nth-child(2) img { object-position: 30% 50%; }
.photo--pair figcaption { grid-column: 1 / -1; }
.photo--walks { margin: 0; }
.photo--walks img { aspect-ratio: 4 / 3; }
.photo-credit { margin-top: 0; }
.illus-note + .photo-credit { margin-top: 0.3rem; }
.photo-credit a { color: inherit; }
.photo-split { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.photo-split .section-head { margin-bottom: 1.25rem; }

/* ---------- Icon feature rows ---------- */
.feature--ico { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
.feature--ico > .ico-tile { grid-row: 1 / 3; }
.feature--ico > :not(.ico-tile) { grid-column: 2; }

/* ---------- Group header with a picture beside it ---------- */
.group-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .group-split { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 4rem; } }

/* ---------- Phone with an app screen (illustration) ---------- */
.phone-fig { margin: 0; display: grid; gap: 0.75rem; justify-items: center; min-width: 0; }
.phone {
  position: relative; width: min(19rem, 100%);
  padding: 0.55rem; border-radius: 2.75rem;
  background: #231317;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), var(--shadow);
}
.phone::before {
  content: ""; position: absolute; z-index: 2; top: 1.05rem; left: 50%;
  width: 4.75rem; height: 1.15rem; margin-left: -2.375rem; border-radius: 1rem; background: #231317;
}
.phone__screen {
  border-radius: 2.25rem; overflow: hidden; min-height: 30rem;
  background: var(--surface); color: var(--text);
  display: flex; flex-direction: column; font-size: 0.875rem; line-height: 1.4;
}
.app-bar { background: var(--claret); color: #fbf1ee; padding: 2.75rem 1.1rem 1rem; display: grid; gap: 0.2rem; }
.app-bar__app { font-size: 0.75rem; color: #ead7d9; }
.app-bar__title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.05; }
.app-body { padding: 0.9rem 0.95rem 1.2rem; display: grid; gap: 0.75rem; align-content: start; flex: 1; }
.app-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.app-stat { background: var(--surface-2); border-radius: 0.75rem; padding: 0.55rem 0.6rem; display: grid; gap: 0.15rem; min-width: 0; }
.app-stat strong { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1; font-variant-numeric: lining-nums; }
.app-stat span { font-size: 0.75rem; color: var(--muted); }
.app-h { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.app-list { list-style: none; border: 1px solid var(--line); border-radius: 0.85rem; overflow: hidden; }
.app-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); }
.app-list li:last-child { border-bottom: 0; }
.app-list .ico { width: 1.2rem; height: 1.2rem; color: var(--gold-text); }
.app-list small { display: block; color: var(--muted); font-size: 0.75rem; }
.app-list del { color: var(--muted); }
.app-note { background: var(--surface-2); border-radius: 0.85rem; padding: 0.7rem 0.8rem; }
.app-note small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }
.app-btn { display: block; text-align: center; background: var(--claret); color: #fbf1ee; border-radius: 0.75rem; padding: 0.7rem; font-weight: 600; }
.app-map { border-radius: 0.85rem; overflow: hidden; border: 1px solid var(--line); }

/* ---------- Drawn walk route ---------- */
.route-art { display: block; width: 100%; height: auto; }
.route-art__ground { fill: var(--surface-2); }
.route-art__contour { fill: none; stroke: var(--line-strong); stroke-width: 0.8; opacity: 0.55; }
.route-art__water { fill: none; stroke: #7fa6b3; stroke-width: 5; stroke-linecap: round; opacity: 0.55; }
.route-art__route { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.route-art__start { fill: var(--surface); stroke: var(--accent); stroke-width: 3; }
.route-art__dot { fill: var(--accent); }

/* ---------- Kennel block capacity board ---------- */
.capacity { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sheet); box-shadow: var(--shadow); overflow: hidden; min-width: 0; margin: 0; }
.capacity__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; padding: 1.1rem 1.25rem 1rem; border-bottom: 1px solid var(--line-strong); }
.capacity__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.capacity__count { color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.units { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.45rem; padding: 1.1rem 1.25rem 0.9rem; }
@media (min-width: 30rem) { .units { grid-template-columns: repeat(11, minmax(0, 1fr)); } }
.unit { aspect-ratio: 1; border-radius: 0.5rem; display: grid; place-items: center; font-size: 0.75rem; font-variant-numeric: tabular-nums; min-width: 0; }
.unit--in { background: var(--accent); color: var(--on-accent); }
.unit--free { border: 1.5px dashed var(--muted); color: var(--muted); background: var(--bg); }
.capacity__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; padding: 0 1.25rem 1.1rem; font-size: 0.8125rem; color: var(--muted); }
.capacity__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.capacity__legend i { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 0.2rem; }
.capacity__legend .key-in { background: var(--accent); }
.capacity__legend .key-free { border: 1.5px dashed var(--muted); }
.capacity__foot { padding: 0.75rem 1.25rem; background: var(--surface-2); font-size: 0.8125rem; color: var(--muted); }

/* ---------- Big fact tiles (numbers from the guidance, never statistics) ---------- */
.facts { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 64rem) { .facts { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); column-gap: 0; border-top: 0; } }
.fact-tile { display: grid; gap: 0.45rem; align-content: start; padding-block: 1.25rem; border-bottom: 1px solid var(--line); min-width: 0; }
@media (min-width: 64rem) { .fact-tile { padding: 0.25rem 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); } .fact-tile:first-child { padding-left: 0; border-left: 0; } }
.fact-tile strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem); line-height: 0.95; color: var(--gold-text); font-variant-numeric: lining-nums; }
.fact-tile strong small { font-size: 0.45em; }
.fact-tile strong .ico { width: 2.75rem; height: 2.75rem; stroke-width: 1.3; }
.fact-tile span { color: var(--muted); font-size: 0.9375rem; max-width: 18rem; }

/* ---------- Statement line ---------- */
.statement { font-family: var(--font-display); font-weight: 500; font-size: var(--step-4); line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.statement-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 48rem) { .statement-row { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; } }
.statement-row img { width: 6rem; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}


.app-stat strong small { font-size: 0.55em; }

/* ---------- Small one-off adjustments ----------
   These used to be style="" attributes. The site's Content Security Policy allows no inline
   styles, so they live here. !important keeps them as strong as the inline styles were. */
.u-m-0 { margin: 0 !important; }
.u-mt-2 { margin-top: 2rem !important; }
.u-mt-125 { margin-top: 1.25rem !important; }
.u-pt-0 { padding-top: 0 !important; }
.u-pt-1 { padding-top: 1rem !important; }
.u-step-3 { font-size: var(--step-3) !important; }
.u-note-lg { font-size: 1rem !important; margin-top: 1rem !important; }
.facts--cols-4 { --cols: 4; }
.facts--cols-5 { --cols: 5; }
