/* ==========================================================================
   JOINT PAIN JOURNAL - notes on the places where bones meet
   Identity:  a working anatomist's field journal. Ruled paper, a brass margin
              rule down the left edge, entries numbered like a lab book, plates
              captioned like a textbook.
   Type:      Crimson Pro (display + long reading, the journal hand)
              Public Sans (deks, UI, captions, the typed labels pasted in)
              Red Hat Mono (register labels, folios, plate numbers)
   Signature: THE JOINT SPACE. A socket arc meeting a ball with the gap honestly
              drawn. It is the mark, the list bullet, the divider, the seal.
   Palette:   slate board (the hero's stone), porcelain paper, caliper brass,
              and a teal ink for links and the ball of the mark.
   Voice:     entries, plates, findings. Never a brochure.
   ========================================================================== */

:root {
  --slate:       #16262d;
  --slate-2:     #1f3239;
  --slate-3:     #2b4049;
  --board:       #0f1d23;

  --canvas:      #eef1f1;
  --canvas-2:    #e6ebeb;
  --paper:       #fbfcfc;
  --paper-2:     #f5f7f7;
  --rule:        #d4dcdd;
  --rule-soft:   #e2e8e8;
  --ruling:      rgba(36, 112, 127, 0.07);

  --ink:         #1b2b33;
  --ink-2:       #3d4c53;
  --ink-soft:    #5d6d75;
  --ink-mute:    #839198;

  --teal:        #24707f;
  --teal-deep:   #1a5663;
  --teal-wash:   #e4eff1;

  --brass:       #8a6c2e;
  --brass-2:     #b8913f;
  --brass-deep:  #6d5422;
  --brass-wash:  #f4eee0;

  --on-slate:    #e7eeef;
  --on-slate-2:  #a9bcc2;

  --display: "Crimson Pro", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:    "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "Red Hat Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --shell: 1160px;
  --read:  720px;
  --ease:  cubic-bezier(0.25, 0.1, 0.2, 1);
  --r:     4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-wash); color: var(--ink); }

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

/* ---------- type roles ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.012em; margin: 0; }
h1, h2 { text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--teal); }

/* register label: mono caps with the joint-space glyph */
.reg {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.reg::before {
  content: "";
  width: 12px; height: 12px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--brass);
  border-right-color: transparent;
  transform: rotate(35deg);
}
.reg.on-dark { color: var(--brass-2); }
.reg.on-dark::before { border-color: var(--brass-2); border-right-color: transparent; }

/* ---------- the joint-space divider ---------- */
.joint-rule { display: flex; align-items: center; gap: 0; margin: 0; }
.joint-rule::before, .joint-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.joint-rule i {
  flex: none; width: 14px; height: 14px; margin: 0 14px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  border-right-color: transparent;
  transform: rotate(35deg);
  position: relative;
}
.joint-rule i::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal);
}

/* ---------- emergency line (a marginal note, not a siren) ---------- */
.er-line {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-2);
}
.er-line .shell { display: flex; gap: 12px; align-items: baseline; padding-top: 9px; padding-bottom: 9px; }
.er-line .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep); flex: none; padding-top: 1px;
}
.er-line p { margin: 0; }

/* ---------- masthead ---------- */
.masthead { background: var(--canvas); position: relative; }
.masthead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--brass) 0, var(--brass) 180px, var(--rule) 180px);
}
.mast-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 18px; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 46px; height: 46px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-size: 30px; font-weight: 600; line-height: 0.95; letter-spacing: -0.015em; color: var(--ink);
}
.brand-name span {
  display: block; margin-top: 7px;
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
}
.mast-folio {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); text-align: right; line-height: 1.9;
}
.mast-folio b { color: var(--brass-deep); font-weight: 500; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
.nav a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; padding: 14px 0 13px; border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav a:hover { color: var(--teal-deep); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  color: #fff; background: var(--teal); border: 1px solid var(--teal-deep);
  padding: 12px 22px; border-radius: var(--r); text-decoration: none;
  box-shadow: 0 1px 0 rgba(16,38,45,0.12), 0 10px 20px -14px rgba(26,86,99,0.6);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }
.btn.brass { background: var(--brass); border-color: var(--brass-deep); }
.btn.brass:hover { background: var(--brass-deep); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--rule); box-shadow: none; }
.btn.quiet:hover { border-color: var(--ink-soft); background: var(--paper); color: var(--ink); }
.btn.on-dark.quiet { color: var(--on-slate); border-color: rgba(255,255,255,0.25); }
.btn.on-dark.quiet:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 13.5px; }
.navbar .btn { margin: 6px 0; }

/* ---------- ruled paper (the signature background) ---------- */
.ruled {
  background-color: var(--canvas);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, var(--ruling) 35px, var(--ruling) 36px);
  position: relative;
}
.ruled::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  left: max(18px, calc((100vw - var(--shell)) / 2 + 10px));
  background: var(--brass); opacity: 0.55;
}

/* ---------- home hero ---------- */
.hero { border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .shell {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1;
}
.hero-copy { max-width: 100%; }
.hero .reg { margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 22px; max-width: 17ch; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 32px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.hero-note a { color: var(--teal-deep); }

/* plate: a photograph captioned like a textbook figure */
.plate { margin: 0; }
.plate img {
  width: 100%; height: auto; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(16,38,45,0.06), 0 30px 50px -30px rgba(16,38,45,0.5);
  border: 1px solid rgba(22,38,45,0.18);
}
.plate figcaption {
  margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--ink-soft);
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline;
}
.plate figcaption b {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep);
  white-space: nowrap;
}
.plate.wide img { aspect-ratio: 21 / 9; object-fit: cover; }
.plate.tall img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- feature (copy beside a plate) ---------- */
.feature { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature .shell { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.feature-copy .reg { margin-bottom: 18px; }
.feature-copy h2 { font-size: clamp(28px, 3.3vw, 38px); margin-bottom: 16px; }
.feature-copy p { margin: 0 0 14px; color: var(--ink-2); font-size: 17px; }
.feature-copy p:last-child { margin-bottom: 0; }
@media (max-width: 980px) { .feature .shell { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head .reg { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.018em; }
.section-head p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 56ch; }

/* ---------- the entries (guide index) ---------- */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.entry {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 28px; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--paper); position: relative;
  transition: background 0.25s var(--ease);
}
.entry:hover { background: var(--brass-wash); color: var(--ink); }
.entry .folio {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep);
  display: flex; justify-content: space-between; align-items: baseline;
}
.entry .folio i { font-style: normal; color: var(--ink-mute); letter-spacing: 0.08em; }
.entry h3 { font-size: 23px; line-height: 1.14; font-weight: 600; }
.entry:hover h3 { color: var(--teal-deep); }
.entry p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.entry .go {
  margin-top: auto; padding-top: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}
.entry.lead {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center;
  padding: 30px 30px; background: var(--paper);
}
.entry.lead .lead-copy { display: flex; flex-direction: column; gap: 12px; }
.entry.lead h3 { font-size: clamp(28px, 3vw, 36px); }
.entry.lead p { font-size: 16px; color: var(--ink-2); }
.entry.lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; border: 1px solid rgba(22,38,45,0.15); }

/* ---------- the three joints band ---------- */
.band { background: var(--slate); color: var(--on-slate-2); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, rgba(255,255,255,0.045) 35px, rgba(255,255,255,0.045) 36px);
}
.band .shell { position: relative; z-index: 1; }
.band .section-head h2 { color: #fff; }
.band .section-head h2 em { color: var(--brass-2); }
.band .section-head p { color: var(--on-slate-2); }
.joints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.joint { padding: 30px 30px 30px 0; border-right: 1px solid rgba(255,255,255,0.10); }
.joint + .joint { padding-left: 30px; }
.joint:last-child { border-right: none; }
.joint svg { width: 44px; height: 44px; display: block; color: var(--brass-2); margin-bottom: 18px; }
.joint h3 { font-size: 24px; color: #fff; margin-bottom: 10px; }
.joint p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-slate-2); }
.joint a { color: var(--on-slate); }
.joint a:hover { color: #fff; }

/* ---------- the clinic in the margin ---------- */
.clinic {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  position: relative; overflow: hidden;
  box-shadow: 0 1px 1px rgba(16,38,45,0.04), 0 28px 50px -40px rgba(16,38,45,0.45);
}
.clinic::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brass), var(--brass-2) 50%, var(--teal)); }
.clinic-head { padding: 34px 38px 26px; border-bottom: 1px solid var(--rule-soft); display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: end; }
.clinic-head .reg { margin-bottom: 14px; }
.clinic-head h2 { font-size: clamp(28px, 3vw, 36px); }
.clinic-head .motto { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 10px 0 0; }
.clinic-head p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; }
.clinic-head .lanes { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.clinic-head .lanes li { padding: 9px 0; border-bottom: 1px solid var(--rule-soft); display: flex; gap: 12px; align-items: baseline; }
.clinic-head .lanes li:last-child { border-bottom: none; }
.clinic-head .lanes b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); flex: none; width: 60px; }

.rooms { display: grid; grid-template-columns: repeat(3, 1fr); }
.room { padding: 26px 30px 28px; border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 8px; }
.room:last-child { border-right: none; }
.room .reg { margin-bottom: 6px; }
.room h3 { font-size: 24px; }
.room address { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.room .hours { font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-soft); margin: 2px 0 0; }
.room .hours b { font-weight: 500; color: var(--brass-deep); }
.room .tel { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; margin-top: 4px; }
.room .tel:hover { color: var(--teal-deep); }
.room .btn { align-self: flex-start; margin-top: 8px; }
.room.near { background: var(--brass-wash); }
.clinic-foot { padding: 20px 38px 24px; border-top: 1px solid var(--rule-soft); font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.clinic-foot strong { color: var(--ink-2); font-weight: 600; }

/* ---------- reviews: three lines, as published ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 26px; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--ink); font-weight: 500; }
.review blockquote::before { content: "\201C"; color: var(--brass); margin-right: 2px; }
.review blockquote::after { content: "\201D"; color: var(--brass); margin-left: 2px; }
.review cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.reviews-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- the standing prescription (dark CTA band) ---------- */
.standing { background: var(--board); color: var(--on-slate); }
.standing .shell { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.standing .reg { margin-bottom: 18px; }
.standing h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.standing h2 em { color: var(--brass-2); }
.standing p { color: var(--on-slate-2); font-size: 17px; margin: 16px 0 0; max-width: 56ch; }
.standing-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r); padding: 28px 30px; }
.standing-card .reg { margin-bottom: 10px; }
.standing-card h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.standing-card address { font-style: normal; color: var(--on-slate-2); font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.standing-card .tel { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; color: #fff; text-decoration: none; margin-bottom: 16px; }
.standing-card .tel:hover { color: var(--brass-2); }
.standing-card .hours { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--on-slate-2); margin: 0 0 18px; line-height: 1.7; }
.standing-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- article pages ---------- */
.article-head { border-bottom: 1px solid var(--rule); }
.article-head .shell {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  padding-top: 64px; padding-bottom: 48px; position: relative; z-index: 1;
}
.ah-rail { padding-top: 6px; }
.ah-rail .reg { margin-bottom: 20px; }
.ah-rail .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); line-height: 2; }
.ah-rail .meta span { display: block; }
.ah-rail .meta b { font-weight: 500; color: var(--ink-2); }
.ah-rail .seal { width: 56px; height: 56px; margin-top: 26px; display: block; }
.ah-main h1 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 22px; }
.ah-main .lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 54ch; }
.ah-main .byline { margin: 24px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

.article { padding: 0; }
.article .shell { display: grid; grid-template-columns: 220px minmax(0, var(--read)); gap: 48px; padding-top: 48px; padding-bottom: 72px; }
.side { position: sticky; top: 24px; align-self: start; }
.takeaways { background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--brass); border-radius: var(--r); padding: 20px 20px 18px; }
.takeaways h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); font-weight: 500; margin: 0 0 14px; }
.takeaways ul { margin: 0; padding: 0; list-style: none; }
.takeaways li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-bottom: 11px; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; transform: rotate(35deg); }
.side .side-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.side .side-cta .btn { justify-content: center; }
.side .side-tel { font-size: 13px; color: var(--ink-soft); margin: 0; text-align: center; }
.side .side-tel a { color: var(--ink); font-weight: 600; text-decoration: none; }

.prose { font-family: var(--display); font-size: 20px; line-height: 1.62; color: var(--ink); }
.prose > p:first-of-type::first-letter {
  float: left; font-size: 70px; line-height: 0.8; padding: 7px 10px 0 0; font-weight: 600; color: var(--brass);
}
.prose h2 { font-size: 30px; margin: 46px 0 14px; letter-spacing: -0.015em; }
.prose h3 { font-size: 23px; margin: 32px 0 10px; }
.prose p { margin: 0 0 20px; }
.prose strong { font-weight: 600; color: var(--slate); }
.prose ul, .prose ol { margin: 0 0 22px; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brass); border-right-color: transparent; transform: rotate(35deg); }
.prose ol { counter-reset: jj; }
.prose ol li { counter-increment: jj; }
.prose ol li::before { content: counter(jj, decimal-leading-zero); position: absolute; left: 0; top: 5px; font-family: var(--mono); font-size: 13px; color: var(--brass-deep); }
.prose .plate { margin: 34px 0; }
.prose .plate figcaption { font-family: var(--sans); }
.prose a { color: var(--teal-deep); }
.prose a.btn { color: #fff; }
.prose a.btn.quiet { color: var(--ink); }
.prose .faq-list li { padding-left: 0; }
.prose .faq-list li::before { content: none; }

.note {
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--brass);
  border-radius: var(--r); padding: 20px 24px; margin: 30px 0;
  font-family: var(--sans); font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.note strong { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 8px; font-weight: 500; }
.note.er { border-left-color: var(--teal); }
.note.er strong { color: var(--teal-deep); }

.finding {
  margin: 30px 0; padding: 24px 28px; background: var(--slate); color: var(--on-slate); border-radius: var(--r);
  font-family: var(--display); font-size: 23px; line-height: 1.35; font-weight: 500;
}
.finding small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); font-weight: 500; }

.ask {
  margin: 40px 0 0; padding: 28px 30px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  font-family: var(--sans);
}
.ask .reg { margin-bottom: 12px; }
.ask h2 { font-size: 28px; margin: 0 0 8px; }
.ask p { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; }
.ask .btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ask .tel-line { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }
.ask .tel-line a { color: var(--ink); font-weight: 600; text-decoration: none; }

.related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink); font-family: var(--sans); }
.related h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); font-weight: 500; margin: 0 0 10px; }
.related a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 600; }
.related a:hover { color: var(--teal-deep); }
.related a span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.disclosure-inline { margin: 36px 0 0; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--ink-soft); border-top: 1px solid var(--rule-soft); padding-top: 18px; }

/* ---------- FAQ ---------- */
.faq-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.faq-list li { padding: 26px 0 24px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 64px 1fr; gap: 18px; }
.faq-list .q-no { font-family: var(--mono); font-size: 12px; color: var(--brass-deep); padding-top: 9px; }
.faq-list h2 { font-size: 25px; margin: 0 0 10px; line-height: 1.2; }
.faq-list p { margin: 0 0 10px; font-size: 19px; }
.faq-list p:last-child { margin-bottom: 0; }

/* ---------- rooms page ---------- */
.room-cards { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 10px 0 30px; font-family: var(--sans); }
.room-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 26px 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.room-card.near { border-color: var(--brass); box-shadow: 0 20px 40px -36px rgba(16,38,45,0.5); }
.room-card h2 { font-size: 28px; margin: 6px 0 10px; }
.room-card address { font-style: normal; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.room-card .tel { display: inline-block; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; margin: 10px 0 6px; }
.room-card .tel:hover { color: var(--teal-deep); }
.room-card .hours { font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 14px; }
.room-card .hours b { font-weight: 500; color: var(--brass-deep); }
.room-card .drive { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }

/* ---------- footer ---------- */
.foot { background: var(--board); color: var(--on-slate-2); font-size: 14px; border-top: 3px solid var(--brass); }
.foot .shell { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot a { color: var(--on-slate); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; color: #fff; }
.foot-brand .mark { width: 40px; height: 40px; }
.foot-brand b { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1; display: block; }
.foot-brand span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); margin-top: 6px; }
.foot-lead { max-width: 40ch; line-height: 1.65; margin: 0; }
.foot h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-2); font-weight: 500; margin: 0 0 16px; }
.foot-col a { display: block; margin-bottom: 10px; }
.foot-col p { margin: 0 0 10px; line-height: 1.5; }
.foot-col p a { display: inline; }
.foot-fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12.5px; line-height: 1.65; color: #8ea3aa; max-width: 980px; }
.foot-fine p { margin: 0 0 10px; }
.foot-fine p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .shell { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; padding-bottom: 56px; }
  .hero-copy { max-width: 100%; }
  .entries { grid-template-columns: 1fr 1fr; }
  .entry.lead { grid-template-columns: 1fr; }
  .joints { grid-template-columns: 1fr; }
  .joint { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .joint + .joint { padding-left: 0; }
  .joint:last-child { border-bottom: none; }
  .clinic-head { grid-template-columns: 1fr; gap: 20px; }
  .rooms { grid-template-columns: 1fr; }
  .room { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .room:last-child { border-bottom: none; }
  .reviews { grid-template-columns: 1fr; gap: 14px; }
  .standing .shell { grid-template-columns: 1fr; gap: 30px; }
  .article-head .shell { grid-template-columns: 1fr; gap: 18px; padding-top: 44px; padding-bottom: 36px; }
  .ah-rail .seal { display: none; }
  .ah-rail .meta span { display: inline; margin-right: 16px; }
  .article .shell { grid-template-columns: 1fr; gap: 28px; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-about { grid-column: 1 / -1; }
  .room-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 20px; }
  section { padding: 52px 0; }
  .ruled::before { left: 10px; }
  .mast-top { padding: 20px 0 14px; }
  .mast-folio { display: none; }
  .brand-name { font-size: 25px; }
  .brand .mark { width: 40px; height: 40px; }
  .navbar { flex-wrap: wrap; align-items: stretch; }
  .navbar .btn { order: -1; width: 100%; justify-content: center; margin: 0 0 10px; }
  .nav { gap: 0 18px; width: 100%; }
  .nav a { padding: 10px 0; font-size: 11px; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .hero .lede { font-size: 17.5px; }
  .entries { grid-template-columns: 1fr; }
  .entry { padding: 22px 20px 24px; }
  .entry.lead { padding: 22px 20px; }
  .clinic-head, .clinic-foot { padding-left: 22px; padding-right: 22px; }
  .room { padding: 22px; }
  .prose { font-size: 19px; }
  .prose h2 { font-size: 27px; }
  .ah-main h1 { font-size: clamp(32px, 9vw, 40px); }
  .faq-list li { grid-template-columns: 1fr; gap: 4px; }
  .faq-list .q-no { padding-top: 0; }
  .related a { grid-template-columns: 1fr; gap: 4px; font-size: 19px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .er-line { font-size: 12.5px; line-height: 1.45; }
  .er-line .shell { flex-direction: column; gap: 3px; }
}

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

/* Cascade guard: the phone rule `.prose h2` shares specificity with the register
   labels inside .prose and is declared later, which inflated them at 390px.
   Re-declare their sizes last so they hold at every width. */
.prose .related h2 { font-size: 11px; }
.prose .takeaways h2 { font-size: 11px; }
.related h2 { font-size: 11px; }
.takeaways h2 { font-size: 11px; }
