/* EvenPace — one stylesheet, no framework */

@font-face {
  font-family: "Archivo";
  src: url("archivo-latin-wdth.woff2") format("woff2-variations"),
       url("archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mist: #EDF0EB;
  --paper: #F9FAF7;
  --white: #FFFFFF;
  --ink: #15201E;
  --pine: #1D3934;
  --pine-deep: #152A26;
  --sage: #52625B;
  --line: #C5CEC8;
  --marigold: #E2A734;
  --marigold-deep: #B97F12;
  --on-dark: #EEF2EE;
  --on-dark-muted: #AFC0B8;
  --line-dark: #3A5650;
  --focus: #15201E;

  --r-box: 3px;
  --r-pill: 999px;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 9vw, 7.5rem);

  --f: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --s--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.95rem);
  --s-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.125rem);
  --s-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --s-2: clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem);
  --s-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.05rem);
  --s-4: clamp(2.45rem, 1.55rem + 4vw, 4.75rem);

  --tick: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--s-0);
  font-stretch: 100%;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 640;
  font-stretch: 116%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--s-4); font-stretch: 121%; font-weight: 660; line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: var(--s-3); letter-spacing: -0.022em; }
h3 { font-size: var(--s-1); font-stretch: 108%; font-weight: 640; line-height: 1.2; letter-spacing: -0.005em; }

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

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

.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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; border-radius: var(--r-box);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.bg-mist { background: var(--mist); }
.bg-paper { background: var(--paper); }
.bg-pine { background: var(--pine); color: var(--on-dark); --focus: var(--marigold); }
.bg-pine a { color: var(--on-dark); }

.lede { font-size: var(--s-1); line-height: 1.5; max-width: 38em; color: var(--ink); }
.bg-pine .lede { color: var(--on-dark); }
.muted { color: var(--sage); }
.bg-pine .muted { color: var(--on-dark-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 + p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.55rem 1.4rem;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: inherit; font-size: var(--s-0); font-weight: 620; font-stretch: 108%; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { background: #EDB94F; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.bg-pine .btn-ghost { color: var(--on-dark); border-color: var(--on-dark); }
.bg-pine .btn-ghost:hover { background: var(--on-dark); color: var(--pine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 26px; height: 20px; flex: none; }
.brand span { font-size: 1.32rem; font-weight: 720; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1; }
.mark-tick { fill: currentColor; }
.mark-tick--now { fill: var(--marigold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(249, 250, 247, 0.88); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; min-width: 44px; padding: 0 0.85rem;
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  font: inherit; font-size: var(--s--1); font-weight: 620; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 16px; height: 10px; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - 68px); overflow-y: auto;
  padding: 0.5rem var(--gutter) 1.5rem;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a, .nav-disclosure {
  display: flex; align-items: center; min-height: 48px; width: 100%;
  font: inherit; font-weight: 600; color: var(--ink); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav-disclosure { display: none; }
.nav-sub-label { display: block; padding-top: 0.9rem; font-size: var(--s--1); color: var(--sage); font-weight: 600; }
.nav-sub { list-style: none; margin: 0; padding: 0 0 0.6rem; display: block; }
.nav-sub a { font-weight: 500; min-height: 44px; }
.nav-call { margin-top: 1.25rem; width: 100%; }

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; align-items: center; gap: 1.75rem; position: static;
    padding: 0; border: 0; background: none; max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: 1.6rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a, .nav-disclosure { min-height: 44px; width: auto; font-size: var(--s--1); font-weight: 580; }
  .nav-sub-label { display: none; }
  .nav-disclosure { display: inline-flex; gap: 0.4rem; }
  .nav-disclosure::after {
    content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease;
  }
  .nav-disclosure[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
  .nav-sub {
    position: absolute; top: calc(100% + 0.5rem); left: -1rem; min-width: 17rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box);
    padding: 0.5rem 1rem; box-shadow: 0 10px 30px -18px rgba(21, 32, 30, 0.45);
  }
  .nav-sub[hidden] { display: none; }
  .nav-sub li + li { border-top: 1px solid var(--line); }
  .nav-sub a { width: 100%; font-weight: 520; }
  .nav-call { margin-top: 0; width: auto; min-height: 44px; font-size: var(--s--1); }
}

/* ---------- The pace rule (brand device) ---------- */
.pace {
  position: relative; height: 30px;
  background-image:
    linear-gradient(to right, var(--ink) 0 2px, transparent 2px),
    linear-gradient(to right, var(--ink) 0 2px, transparent 2px);
  background-size: var(--tick) 12px, calc(var(--tick) * 4) 26px;
  background-repeat: repeat-x;
  background-position: 0 100%, 0 100%;
}
.pace::after {
  content: ""; position: absolute; bottom: 0; left: calc(var(--tick) * 9); width: 4px; height: 30px;
  background: var(--marigold); border-radius: 1px;
}
@media (prefers-reduced-motion: no-preference) {
  .pace--draw { animation: pace-draw 1.6s cubic-bezier(0.22, 0.7, 0.2, 1) 0.15s both; }
  .pace--draw::after { animation: pace-now 0.5s ease-out 1.2s both; }
}
@keyframes pace-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pace-now { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) 0; background: var(--mist); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.hero h1 { max-width: 12.5ch; }
.hero .lede { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: var(--s--1); color: var(--sage); max-width: 34em; }
.hero-rule { margin-top: clamp(3rem, 6vw, 4.5rem); }

.where {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.where h2 { font-size: var(--s-1); font-stretch: 110%; }
.where p.muted { font-size: var(--s--1); margin-top: 0.35rem; }
.where ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.where li { border-top: 1px solid var(--line); }
.where a {
  display: grid; grid-template-columns: 1fr; gap: 0.1rem; padding: 0.8rem 0; min-height: 44px;
  text-decoration: none;
}
.where a strong { font-weight: 620; line-height: 1.3; }
.where a span { font-size: var(--s--1); color: var(--sage); }
.where a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* ---------- Commitments strip ---------- */
.facts { background: var(--mist); padding-block: 1.75rem 3rem; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2.5rem; }
.facts li { font-size: var(--s--1); line-height: 1.5; color: var(--ink); padding-left: 1rem; border-left: 2px solid var(--ink); }
.facts strong { font-weight: 640; }
@media (min-width: 48rem) { .facts ul { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; gap: 0.6rem 2.5rem; padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.svc-row h3 { font-size: var(--s-2); font-stretch: 118%; font-weight: 620; letter-spacing: -0.02em; }
.svc-row h3 a { text-decoration: none; }
.svc-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.svc-row p { max-width: 36em; }
.svc-row .svc-for { color: var(--sage); font-size: var(--s--1); margin-top: 0.4rem; }
.svc-more { font-weight: 600; font-size: var(--s--1); align-self: start; padding-block: 0.6rem; }
@media (min-width: 60rem) {
  .svc-row { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr) 14rem; align-items: baseline; }
  .svc-more { justify-self: end; text-align: right; }
}

/* ---------- First 90 days (dark) ---------- */
.stages { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
.stage-ticks { position: relative; height: 24px; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line-dark); }
.stage-ticks::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 24px;
  background-image:
    linear-gradient(to right, var(--marigold) 0 3px, transparent 3px),
    linear-gradient(to right, var(--marigold) 0 2px, transparent 2px);
  background-size: 3px 24px, 22px 14px;
  background-repeat: no-repeat, repeat-x;
  background-position: 0 100%, 0 100%;
}
/* one tick per week: the tick count carries the duration */
.w2 .stage-ticks::before { width: 24px; }
.w4 .stage-ticks::before { width: 68px; }
.w6 .stage-ticks::before { width: 112px; }
.wopen .stage-ticks::before {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, #000 25%, transparent 95%);
  mask-image: linear-gradient(to right, #000 25%, transparent 95%);
}
.stage-when { display: block; color: var(--marigold); font-weight: 620; font-size: var(--s--1); margin-bottom: 0.35rem; }
.stage h3 { font-size: var(--s-1); margin-bottom: 0.7rem; }
.stage p { color: var(--on-dark-muted); font-size: var(--s--1); line-height: 1.6; }
.stages-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 44em; color: var(--on-dark-muted); font-size: var(--s--1); }
@media (min-width: 48rem) { .stages { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2.5rem; } }
@media (min-width: 64rem) { .stages { grid-template-columns: repeat(4, 1fr); gap: 0 2rem; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before {
  content: counter(step); display: block; font-size: var(--s-3); font-weight: 300; font-stretch: 125%;
  line-height: 1; margin-bottom: 0.9rem; color: var(--ink);
}
.steps h3 { margin-bottom: 0.6rem; }
.steps p { color: var(--sage); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .quote-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); } }
.quote-aside p { color: var(--sage); max-width: 30em; }
.quote-aside h2 + p { margin-top: 1.1rem; }
.quote-aside .call-alt { margin-top: 1.5rem; color: var(--ink); }
.quote-aside .call-alt a { font-weight: 640; }
.quote-aside .danger { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--marigold); color: var(--ink); font-size: var(--s--1); }

.qform {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}
.qprogress { margin-bottom: 1.5rem; }
.qprogress-label { display: block; font-size: var(--s--1); color: var(--sage); margin-bottom: 0.5rem; }
.qprogress-track {
  position: relative; height: 16px;
  background-image: linear-gradient(to right, var(--line) 0 2px, transparent 2px);
  background-size: calc(100% / 25) 16px; background-repeat: repeat-x;
}
.qprogress-fill {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--ink) 0 2px, transparent 2px);
  background-size: calc(100% / 25) 16px; background-repeat: repeat-x;
  clip-path: inset(0 80% 0 0);
  transition: clip-path 0.35s ease;
}
.qprogress-now {
  position: absolute; bottom: 0; left: 16%; width: 4px; height: 22px;
  background: var(--marigold); border-radius: 1px; transition: left 0.35s ease;
}

.step[hidden] { display: none; }
.step fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .step .step-title {
  padding: 0; font-size: var(--s-2); font-weight: 640; font-stretch: 114%; line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 0.4rem; outline: none;
}
.step .hint { color: var(--sage); font-size: var(--s--1); margin: 0 0 1.1rem; }

.opts { display: grid; gap: 0.6rem; margin-top: 1rem; }
@media (min-width: 36rem) { .opts--2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: flex; align-items: center; gap: 0.75rem; min-height: 54px; padding: 0.7rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--r-box); background: var(--paper);
  font-weight: 540; line-height: 1.3; transition: border-color 0.12s ease, background-color 0.12s ease;
}
.opt span::before {
  content: ""; flex: none; width: 4px; height: 22px; border-radius: 1px; background: var(--line);
  transition: background-color 0.12s ease, height 0.12s ease;
}
.opt:hover span { border-color: var(--sage); }
.opt input:checked + span { border-color: var(--ink); background: var(--white); }
.opt input:checked + span::before { background: var(--marigold); height: 28px; }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { margin-top: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .optional { font-weight: 400; color: var(--sage); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.65rem 0.85rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-box);
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field .hint { margin: 0.35rem 0 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A23B22; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.inline-opts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.inline-opts .opt span { min-height: 48px; padding-inline: 1rem 1.2rem; }


.step-error { min-height: 1.5em; margin: 1rem 0 0; color: #A23B22; font-weight: 600; font-size: var(--s--1); }
.urgent-note {
  margin-top: 1rem; padding: 0.9rem 1rem; background: var(--mist); border-left: 3px solid var(--marigold);
  font-size: var(--s--1); border-radius: 0 var(--r-box) var(--r-box) 0;
}
.urgent-note[hidden] { display: none; }

.qnav { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.qnav .btn-primary { margin-left: auto; }
.qnav [hidden] { display: none; }

.summary { margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.summary div { display: grid; grid-template-columns: 1fr; gap: 0.1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 36rem) { .summary div { grid-template-columns: 11rem 1fr; gap: 1rem; } }
.summary dt { color: var(--sage); font-size: var(--s--1); }
.summary dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; }
.consent { margin-top: 1.1rem; font-size: var(--s--1); color: var(--sage); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.qdone { outline: none; }
.qdone h3 { font-size: var(--s-2); font-stretch: 114%; margin-bottom: 0.8rem; }
.qdone p { max-width: 34em; }

/* ---------- FAQ ---------- */
.faq-list { border-bottom: 1px solid var(--line); max-width: 52rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.2rem 0; min-height: 44px; font-size: var(--s-1); font-weight: 620; font-stretch: 106%; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat; }
.faq-answer { padding: 0 0 1.5rem; max-width: 42em; }
.faq-answer p { color: #2E3B38; }

/* ---------- CTA strip ---------- */
.cta-strip { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner { display: grid; gap: 1.75rem; align-items: end; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { color: var(--on-dark-muted); margin-top: 0.9rem; }
@media (min-width: 60rem) { .cta-inner { grid-template-columns: 1.3fr auto; } }

/* ---------- Inner pages ---------- */
.page-head { background: var(--mist); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.crumbs { font-size: var(--s--1); color: var(--sage); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--sage); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1.25rem; }
.page-head .pace { margin-top: clamp(2rem, 4vw, 3rem); }

.article-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) { .article-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 5rem; } }

.prose { max-width: 42rem; }
.prose h2 { font-size: var(--s-2); font-stretch: 114%; margin: 2.75rem 0 1rem; letter-spacing: -0.018em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.25em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 2px; height: 0.8em; background: var(--ink); }
.prose ol { padding-left: 1.4rem; }
.prose ol li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.prose dl { margin: 0 0 1.25em; }
.prose dt { font-weight: 640; margin-top: 1rem; }
.prose dd { margin: 0.2rem 0 0; }
.prose a { font-weight: 560; }
.prose .note { font-size: var(--s--1); color: var(--sage); }

.side-card {
  position: sticky; top: 6rem;
  background: var(--mist); border-radius: var(--r-box); padding: 1.5rem;
  border-top: 3px solid var(--ink);
}
.side-card h2 { font-size: var(--s-1); font-stretch: 110%; margin-bottom: 0.6rem; }
.side-card p { font-size: var(--s--1); color: var(--sage); }
.side-card .btn { width: 100%; margin-top: 0.75rem; }
.side-card .side-hours { margin-top: 1rem; font-size: var(--s--1); }

.related { border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 2rem; }
.related h2 { font-size: var(--s-1); font-stretch: 110%; margin-bottom: 1rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.related a { font-weight: 600; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .team { grid-template-columns: repeat(3, 1fr); } }
.team li { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.team .portrait { width: 88px; height: 88px; margin-bottom: 1rem; }
.team h3 { font-size: var(--s-1); }
.team .role { color: var(--sage); font-size: var(--s--1); margin: 0.2rem 0 0.8rem; }
.team .creds { font-size: var(--s--1); font-weight: 600; margin-bottom: 0.6rem; }

.principles { display: grid; gap: 2rem; margin: 0; }
@media (min-width: 48rem) { .principles { grid-template-columns: 1fr 1fr; gap: 2.5rem 3.5rem; } }
.principles div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.principles dt { font-size: var(--s-1); font-weight: 640; font-stretch: 108%; margin-bottom: 0.5rem; }
.principles dd { margin: 0; color: var(--sage); }

.legal .prose h2 { font-size: var(--s-1); font-stretch: 108%; margin-top: 2.25rem; }
.legal-date { color: var(--sage); font-size: var(--s--1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--on-dark); padding-block: 3.5rem 2rem; --focus: var(--marigold); }
.site-footer a { color: var(--on-dark); }
.crisis {
  border: 1px solid var(--line-dark); border-left: 4px solid var(--marigold); border-radius: var(--r-box);
  padding: 1.1rem 1.25rem; margin-bottom: 3rem; font-size: var(--s--1); line-height: 1.6;
}
.crisis strong { font-weight: 680; }
.crisis a { font-weight: 640; white-space: nowrap; }
.crisis p + p { margin-top: 0.5rem; color: var(--on-dark-muted); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-muted); font-size: var(--s--1); margin-top: 1rem; max-width: 22em; }
.footer-h { font-size: var(--s--1); font-stretch: 100%; font-weight: 640; letter-spacing: 0; color: var(--on-dark-muted); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { font-size: var(--s--1); }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-hours { color: var(--on-dark-muted); padding-top: 0.5rem; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: var(--s--1); color: var(--on-dark-muted);
}
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

/* ---------- Mobile contact dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(21, 32, 30, 0.5);
}
.dock a {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border-radius: var(--r-pill); border: 1.5px solid var(--ink);
  font-weight: 640; font-stretch: 106%; text-decoration: none; color: var(--ink); font-size: 1rem;
}
.dock a.dock-main { background: var(--marigold); border-color: var(--marigold); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 60rem) {
  .dock { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 55vh; display: flex; align-items: center; }
.notfound .btn-row { margin-top: 2rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
