/* ==========================================================================
   Whiplash Recovery Guide
   A nocturne for the St. Louis metro: "for the night you walked away, and
   the morning you could not."
   Identity:  NIGHT TO MORNING. Every page opens in the dark (asphalt black,
              sodium amber) and reads in the morning (dawn paper, dark ink).
              The header, hero, clinic block and footer are the night. The
              prose is the morning. You scroll from one into the other.
   Type:      Spectral (display and reading serif) / Instrument Sans (UI,
              captions, lists) / DM Mono (the clock log)
   Signature: the TIMESTAMP. Register labels read like a dispatch log in
              mono, 23:40 / 03:10 / 07:30, with a small sodium dot. The mark
              is a skid curve ending in a lamp. Rules are hairline amber on
              black and hairline graphite on paper.
   Palette:   asphalt #14110e, tar #1e1a15, sodium #e0961f, dawn paper
              #f3eee4, ink #1c1814, brake red #b9392a (emergency only)
   ========================================================================== */

:root {
  --asphalt: #14110e;
  --tar: #1e1a15;
  --tar-2: #2a241d;
  --night-line: #3a3127;
  --night-ink: #efe6d6;
  --night-soft: #b4a58f;
  --night-mute: #7f7362;

  --sodium: #e0961f;
  --sodium-deep: #b8760f;
  --sodium-wash: #fbf0dc;
  --sodium-line: #ecd4a6;

  --paper: #f3eee4;
  --paper-2: #ebe4d7;
  --card: #faf7f1;
  --line: #d8cfbf;
  --line-soft: #e6dfd2;

  --ink: #1c1814;
  --ink-soft: #4d463d;
  --ink-mute: #7d7466;

  --brake: #b9392a;
  --brake-wash: #f6e6e2;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --shell: 1160px;
  --read: 700px;
  --ease: cubic-bezier(0.33, 0.02, 0.18, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sodium-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; border-radius: 2px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 32px; }
.read { max-width: var(--read); margin: 0 auto; }

/* ---------- The timestamp (signature register label) ---------- */
.ts {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sodium-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.ts::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sodium);
  box-shadow: 0 0 0 3px rgba(224, 150, 31, 0.18);
  flex: 0 0 auto;
}
.ts b { font-weight: 500; color: var(--ink); }
.night .ts, .hero .ts, .article-head .ts, .clinic .ts, .cta-panel .ts, .clock .ts { color: var(--sodium); }
.night .ts b, .hero .ts b, .article-head .ts b, .clinic .ts b, .cta-panel .ts b, .clock .ts b { color: var(--night-ink); }

/* ---------- Night surfaces ---------- */
.night { background: var(--asphalt); color: var(--night-ink); }
.night a { color: var(--night-ink); }
.night a:hover { color: var(--sodium); }

/* ---------- Emergency strip ---------- */
.er-strip {
  background: #0d0b09;
  color: #d9cdb8;
  font-size: 13.5px;
  border-bottom: 1px solid var(--night-line);
}
.er-strip .shell {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; gap: 12px; align-items: flex-start;
}
.er-strip .shell::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brake);
  box-shadow: 0 0 0 3px rgba(185, 57, 42, 0.25);
  margin-top: 7px;
}
.er-strip strong { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-head {
  background: var(--asphalt);
  border-bottom: 1px solid var(--night-line);
  position: sticky; top: 0; z-index: 40;
}
.site-head .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--night-ink); flex: 0 0 auto; }
.brand .mark { width: 40px; height: 40px; display: block; color: var(--sodium); }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-name span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-mute);
  margin-top: 6px;
}
.nav {
  display: flex; gap: 24px; align-items: center;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sodium); border-bottom-color: var(--sodium); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sodium);
  color: var(--asphalt);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 3px;
  border: 1px solid var(--sodium);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: #f0a62e; color: var(--asphalt); transform: translateY(-1px); }
.btn .arw { font-family: var(--serif); font-size: 18px; line-height: 1; }
.btn.ghost { background: transparent; color: var(--night-ink); border-color: var(--night-line); }
.btn.ghost:hover { border-color: var(--sodium); color: var(--sodium); background: transparent; }
.btn.ghost.on-paper { color: var(--ink); border-color: var(--line); }
.btn.ghost.on-paper:hover { color: var(--sodium-deep); border-color: var(--sodium); }

/* ---------- Hero (home) ---------- */
.hero { background: var(--asphalt); color: var(--night-ink); border-bottom: 1px solid var(--night-line); position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sodium) 40%, var(--sodium) 60%, transparent);
  opacity: 0.6;
}
.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.hero-copy { max-width: 560px; }
.hero-copy .ts { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  color: #fff;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--sodium); }
.hero .sub {
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.58;
  color: var(--night-soft);
  margin: 0 0 30px;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-fig { margin: 0; position: relative; }
.hero-fig img {
  width: 100%; height: auto;
  border-radius: 4px;
  border: 1px solid var(--night-line);
  box-shadow: 0 40px 70px -40px rgba(0,0,0,0.8);
}
.hero-fig figcaption {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--night-mute);
  margin-top: 12px;
}

/* ---------- The clock (three timestamps) ---------- */
.clock { background: var(--tar); color: var(--night-ink); border-bottom: 1px solid var(--night-line); }
.clock .shell { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tick { padding: 6px 32px 6px 0; border-left: 1px solid var(--night-line); padding-left: 24px; }
.tick:first-child { border-left: none; padding-left: 0; }
.tick .t {
  font-family: var(--mono);
  font-size: 26px;
  color: var(--sodium);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0 0 10px;
}
.tick strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; margin-bottom: 8px; }
.tick p { margin: 0; font-size: 14.5px; color: var(--night-soft); line-height: 1.6; }

/* ---------- Sections (morning) ---------- */
section { padding: 76px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .ts { margin-bottom: 18px; }
h2.display, .section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}
h2.display em, .section-head h2 em { font-style: italic; font-weight: 400; color: var(--sodium-deep); }
.section-head p { margin: 0; font-size: 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Feature (photo beside copy) ---------- */
.feature .shell { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.feature.flip .shell { grid-template-columns: 1.05fr 1fr; }
.feature.flip .feature-fig { order: -1; }
.feature-copy { max-width: 46ch; }
.feature-copy .ts { margin-bottom: 18px; }
.feature-copy h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.14; letter-spacing: -0.012em;
  margin: 0 0 16px; color: var(--ink);
}
.feature-copy h2 em { font-style: italic; font-weight: 400; color: var(--sodium-deep); }
.feature-copy p { margin: 0 0 14px; font-size: 17px; color: var(--ink-soft); }
.feature-copy p:last-child { margin-bottom: 0; }

figure.photo { margin: 0; }
figure.photo img {
  width: 100%; height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -36px rgba(28,24,20,0.5);
}
figure.photo figcaption {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
  line-height: 1.6;
}
figure.photo figcaption::before { content: "\25CF"; color: var(--sodium); margin-right: 9px; font-size: 8px; vertical-align: 2px; }

/* ---------- Guide index ---------- */
.index { border-top: 1px solid var(--ink); }
.entry {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}
.entry:hover { background: var(--card); }
.entry .no {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--sodium-deep);
}
.entry h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--ink);
  transition: color 0.2s var(--ease);
}
.entry:hover h3 { color: var(--sodium-deep); }
.entry p { margin: 0; font-size: 15.5px; color: var(--ink-soft); max-width: 64ch; }
.entry .go {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); white-space: nowrap;
}
.entry:hover .go { color: var(--sodium-deep); }
.entry.lead { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; margin-bottom: 18px; }
.entry.lead h3 { font-size: 30px; }

/* ---------- Clinic block (night) ---------- */
.clinic { background: var(--asphalt); color: var(--night-ink); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.clinic .shell { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.clinic .ts { margin-bottom: 18px; }
.clinic h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.014em;
  margin: 0 0 16px; color: #fff;
}
.clinic h2 em { font-style: italic; font-weight: 400; color: var(--sodium); }
.clinic p { color: var(--night-soft); margin: 0 0 14px; font-size: 16.5px; }
.clinic .motto { font-family: var(--serif); font-style: italic; color: var(--night-ink); font-size: 18px; }
.clinic .hero-actions { margin-top: 22px; }
.rooms { display: grid; gap: 0; border-top: 1px solid var(--night-line); }
.room {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--night-line);
}
.room .loc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sodium); padding-top: 4px; }
.room strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.room .addr { color: var(--night-soft); font-size: 14.5px; margin: 0 0 4px; }
.room .hrs { font-family: var(--mono); font-size: 11.5px; color: var(--night-mute); margin: 0; letter-spacing: 0.02em; line-height: 1.7; }
.room .tel { font-family: var(--mono); font-size: 13px; color: var(--night-ink); text-decoration: none; white-space: nowrap; border: 1px solid var(--night-line); padding: 8px 12px; border-radius: 3px; }
.room .tel:hover { border-color: var(--sodium); color: var(--sodium); }
.room.near { background: var(--tar); margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 3px; }
.room.near .loc::after { content: " / nearest"; color: var(--night-mute); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 26px 22px; position: relative;
}
.review::before {
  content: "\201C";
  font-family: var(--serif); font-size: 54px; line-height: 0.6;
  color: var(--sodium); position: absolute; top: 22px; left: 22px; opacity: 0.7;
}
.review p { font-family: var(--serif); font-size: 19px; line-height: 1.45; margin: 24px 0 14px; color: var(--ink); }
.review cite { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.reviews-note { font-size: 13.5px; color: var(--ink-mute); margin: 18px 0 0; }

/* ---------- Article ---------- */
.article-head { background: var(--asphalt); color: var(--night-ink); border-bottom: 1px solid var(--night-line); position: relative; }
.article-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sodium) 40%, var(--sodium) 60%, transparent); opacity: 0.6;
}
.article-head .shell { padding-top: 64px; padding-bottom: 56px; }
.article-head .ts { margin-bottom: 22px; }
.article-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.018em;
  margin: 0 0 22px; color: #fff; max-width: 23ch;
}
.article-head h1 em { font-style: italic; font-weight: 400; color: var(--sodium); }
.article-head .lede {
  font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--night-soft);
  margin: 0; max-width: 58ch;
}
.article-head .byline {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--night-mute); margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--night-line); max-width: var(--read);
}

.article { padding: 56px 0 80px; }
.prose { max-width: var(--read); margin: 0 auto; }
.prose > figure.photo { margin: 0 0 40px; }
.prose p {
  font-family: var(--serif);
  font-size: 19px; line-height: 1.68; color: var(--ink);
  margin: 0 0 24px;
}
.prose p.opener::first-letter {
  font-family: var(--serif); font-weight: 600; font-size: 64px; line-height: 0.82;
  float: left; margin: 8px 12px 0 0; color: var(--sodium-deep);
}
.prose h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 28px; line-height: 1.2; letter-spacing: -0.012em;
  margin: 48px 0 16px; color: var(--ink);
}
.prose h2 em { font-style: italic; font-weight: 400; color: var(--sodium-deep); }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; margin: 30px 0 10px; color: var(--ink); }
.prose ul, .prose ol { font-family: var(--serif); font-size: 18.5px; line-height: 1.6; padding-left: 22px; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sodium-deep); }
.prose a { color: var(--sodium-deep); }
.prose cite { font-style: normal; }
.prose .ts { margin: 40px 0 10px; }

.takeaways {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--sodium);
  border-radius: 4px; padding: 26px 28px 18px; margin: 0 0 40px;
}
.takeaways .ts { margin: 0 0 14px; }
.takeaways ul { font-family: var(--sans); font-size: 16px; line-height: 1.55; padding-left: 0; list-style: none; margin: 0; }
.takeaways li { padding-left: 22px; position: relative; margin-bottom: 10px; color: var(--ink-soft); }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--sodium); }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--sodium-deep);
  background: var(--card); border-radius: 4px; padding: 22px 26px; margin: 32px 0;
  font-family: var(--sans); font-size: 16px; color: var(--ink-soft); line-height: 1.6;
}
.callout strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.callout p { font-family: var(--sans); font-size: 16px; margin: 0 0 10px; color: var(--ink-soft); }
.callout p:last-child { margin: 0; }
.callout.er { border-left-color: var(--brake); background: var(--brake-wash); border-color: #ead2cc; }
.callout.er strong { color: var(--brake); }

/* log table */
.log { border-top: 1px solid var(--ink); margin: 32px 0 40px; }
.log-row { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.log-row .t { font-family: var(--mono); font-size: 14px; color: var(--sodium-deep); letter-spacing: 0.06em; padding-top: 4px; }
.log-row strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.log-row p { font-family: var(--sans); font-size: 16px; margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* CTA panel inside articles */
.cta-panel {
  background: var(--asphalt); color: var(--night-ink); border-radius: 4px;
  padding: 34px 34px 30px; margin: 48px 0;
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,150,31,0.22), transparent 65%);
}
.cta-panel .ts { margin-bottom: 14px; }
.cta-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.18; margin: 0 0 12px; color: #fff; letter-spacing: -0.012em; }
.cta-panel h3 em { font-style: italic; font-weight: 400; color: var(--sodium); }
.cta-panel p { font-family: var(--sans); font-size: 16px; color: var(--night-soft); margin: 0 0 18px; max-width: 56ch; }
.cta-panel .hero-actions { margin-top: 6px; }
.cta-panel .fine { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--night-mute); margin: 18px 0 0; }

/* FAQ */
.faq-list { border-top: 1px solid var(--ink); margin-top: 10px; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item h2 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
.faq-item p { font-family: var(--sans); font-size: 16.5px; color: var(--ink-soft); margin: 0 0 10px; line-height: 1.62; }
.faq-item p:last-child { margin: 0; }

/* Related */
.related { border-top: 1px solid var(--ink); margin-top: 48px; padding-top: 12px; }
.related .ts { margin: 18px 0 6px; }
.related a {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  font-family: var(--serif); font-size: 19px; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.related a:last-child { border-bottom: none; }
.related a span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.related a:hover { color: var(--sodium-deep); padding-left: 8px; }

/* Standards / about lists */
.stdlist { border-top: 1px solid var(--ink); margin: 20px 0 36px; }
.stdlist div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stdlist .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sodium-deep); padding-top: 5px; }
.stdlist p { font-family: var(--sans); font-size: 16px; margin: 0; color: var(--ink-soft); }

/* Disclosure band (paper) */
.disclose { background: var(--paper-2); border-top: 1px solid var(--line); }
.disclose .shell { padding-top: 28px; padding-bottom: 28px; }
.disclose p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.65; max-width: 900px; }
.disclose p + p { margin-top: 8px; }
.disclose .ts { margin-bottom: 10px; }

/* ---------- Footer (night) ---------- */
.site-foot { background: var(--asphalt); color: var(--night-soft); font-size: 14px; border-top: 1px solid var(--sodium); }
.site-foot .shell { padding-top: 56px; padding-bottom: 44px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.site-foot a { color: var(--night-ink); text-decoration: none; transition: color 0.18s var(--ease); }
.site-foot a:hover { color: var(--sodium); }
.foot-brand-row { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.foot-brand-row .mark { width: 38px; height: 38px; color: var(--sodium); }
.foot-brand { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 18px; line-height: 1; }
.foot-brand span { display: block; font-family: var(--mono); font-weight: 400; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-mute); margin-top: 6px; }
.foot-lead { color: var(--night-mute); max-width: 38ch; font-family: var(--serif); font-size: 15.5px; line-height: 1.6; margin: 0; }
.foot-col h4 { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sodium); margin: 0 0 16px; font-weight: 400; }
.foot-col a { display: block; margin-bottom: 11px; font-size: 14.5px; }
.foot-col .tel { font-family: var(--mono); font-size: 13px; }
.foot-er { margin-top: 36px; padding: 18px 20px; border: 1px solid var(--night-line); border-left: 3px solid var(--brake); border-radius: 3px; font-size: 13.5px; color: var(--night-soft); line-height: 1.6; }
.foot-er strong { color: #fff; }
.foot-legal { border-top: 1px solid var(--night-line); margin-top: 32px; padding-top: 22px; font-size: 12px; color: var(--night-mute); line-height: 1.66; max-width: 940px; }
.foot-legal p { margin: 0 0 8px; }
.foot-legal p:last-child { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .shell { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 56px; }
  .hero-copy { max-width: 100%; }
  .clock .shell { grid-template-columns: 1fr; gap: 22px; }
  .tick { border-left: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--night-line); padding-top: 20px; }
  .tick:first-child { border-top: none; padding-top: 0; }
  .feature .shell, .feature.flip .shell { grid-template-columns: 1fr; gap: 30px; }
  .feature.flip .feature-fig { order: 0; }
  .feature-copy { max-width: 100%; }
  .clinic .shell { grid-template-columns: 1fr; gap: 36px; }
  .reviews { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 20px; }
  section { padding: 52px 0; }
  .site-head .shell { flex-wrap: wrap; gap: 14px; padding-top: 14px; padding-bottom: 12px; }
  .nav { width: 100%; gap: 20px; padding-bottom: 2px; padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero .sub { font-size: 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .entry { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .entry .go { display: none; }
  .entry.lead { padding: 24px 20px; }
  .entry.lead h3 { font-size: 26px; }
  .entry h3 { font-size: 22px; }
  .room { grid-template-columns: 1fr; gap: 8px; }
  .room.near { margin: 0; padding-left: 14px; padding-right: 14px; }
  .article-head .shell { padding-top: 44px; padding-bottom: 40px; }
  .article-head h1 { font-size: clamp(32px, 8.6vw, 40px); }
  .article-head .lede { font-size: 18.5px; }
  .prose p { font-size: 18px; }
  .prose h2 { font-size: 25px; }
  .log-row { grid-template-columns: 1fr; gap: 6px; }
  .stdlist div { grid-template-columns: 1fr; gap: 6px; }
  .cta-panel { padding: 26px 22px 24px; }
  .cta-panel .hero-actions .btn { width: 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .takeaways { padding: 22px 20px 14px; }
}

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

/* Phone nav: the horizontal scroller clipped section names mid-word and pushed the
   last item (often the call to action) off screen. Let it wrap instead. */
@media (max-width: 700px) {
  .nav { flex-wrap: wrap; white-space: normal; overflow-x: visible; row-gap: 6px;
    -webkit-mask-image: none; mask-image: none; }
  .nav::after, .nav::before { content: none; }
  .nav a { white-space: nowrap; }
}
