

/* rangeclinics.com — ported from the approved one-site preview (2026-10-15).
   Tokens and fonts come from /brand/rails/rails.css (loaded first); nothing here
   redefines a brand value. Layout: one editorial column on white, hard black bands for the decision sections, Sun Day Red maroon on the announcement bar and the one action per section. */


:root {
  --black: var(--rails-black); --paper: var(--rails-white); --white: var(--rails-white); --red: var(--rails-red); --red-deep: var(--rails-red-deep); --mist: #F4F4F4;
  --gray-num: var(--rails-gray-number); --gray-rule: var(--rails-gray-rule); --ink-soft: #3b3b3b; --rule-light: #e2e2e2;
  --f-head: var(--rails-font-h1);
  --f-body: var(--rails-font-body);
  --f-mono: var(--rails-font-mono);
  --wrap: 1180px; --gut: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--black); font-family: var(--f-body); font-size: 17px; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.h1, .h2, .h3 { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(38px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.015em; }
.h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.12; letter-spacing: -0.01em; }
.meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 40em; color: var(--ink-soft); }
p { margin: 0; max-width: 62ch; }
.photo { width: 100%; height: 100%; object-fit: cover; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; font-family: var(--f-body); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--black); background: transparent; color: var(--black); cursor: pointer; transition: background .15s, color .15s; text-align: center; }
.btn:hover { background: var(--black); color: var(--white); }
.btn.red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.light { border-color: var(--white); color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--black); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.arrow-link:hover { color: var(--red); }

/* top strip + header */
.strip { background: var(--black); color: #cfcfcf; }
.strip .wrap { display: flex; justify-content: center; padding-block: 10px; color: var(--white); letter-spacing: 0.12em; }
.strip .dot { margin-inline: 10px; color: #8a8a8a; }
.strip span b { color: var(--white); font-weight: 400; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule-light); }
header.site .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.logo { color: var(--black); display: inline-flex; width: 132px; flex: none; }
.logo svg { width: 100%; height: auto; }
nav.main { display: flex; gap: 26px; margin-left: auto; }
nav.main a { text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 6px; border-bottom: 1.5px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--black); }
header.site .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: var(--white); color: var(--black); -webkit-appearance: none; appearance: none; border-radius: 0; border: 1.5px solid var(--black); min-height: 44px; padding: 0 14px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 900px) {
  nav.main, header.site .btn.red { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  header.site.open nav.main { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 8px var(--gut) 20px; gap: 4px; border-bottom: 1px solid var(--rule-light); }
  header.site.open nav.main a { padding-block: 12px; border-bottom: 1px solid var(--rule-light); }
}

/* sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.band-black { background: var(--black); color: var(--white); }
.band-black .lede, .band-black p { color: #d4d4d4; }
.band-white { background: var(--mist); }
.rule { border: 0; border-top: 1px solid var(--gray-rule); margin: 0; }
.stack { display: grid; gap: 22px; }
.eyebrow { color: var(--red); }
.band-black .eyebrow { color: var(--white); }

/* home hero */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; }
.hero .stack { gap: 26px; }
/* Owner, 2026-10-19: "decrease the font on the hero page headline". */
.hero .h1, .page-hero .h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; max-width: 30ch; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-photo { margin-top: clamp(40px, 6vw, 72px); aspect-ratio: 16 / 7.2; max-width: 100%; overflow: hidden; }
.cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; color: var(--gray-num); }
.hero-sub { font-size: 15px; color: var(--ink-soft); }

/* three paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid #3c3c3c; }
.path { display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: 30px 28px 34px 0; min-width: 0; }
.path + .path { border-left: 1px solid #3c3c3c; padding-left: 28px; }
.path .meta { color: var(--gray-num); }
.path p { color: #d4d4d4; }
.path .arrow-link { color: var(--white); justify-self: start; }
.path .arrow-link:hover { color: #d9a7ae; }
@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path, .path + .path { border-left: 0; padding: 28px 0; border-bottom: 1px solid #3c3c3c; }
}

/* photo strip */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.shots figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.shots .ph { aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.shots figcaption { color: var(--gray-num); }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.locs.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* clinic split */
.clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--gray-rule); }
.clinic { display: grid; gap: 16px; align-content: start; padding: 28px 32px 8px 0; min-width: 0; }
.clinic + .clinic { border-left: 1px solid var(--rule-light); padding-left: 32px; padding-right: 0; }
.clinic .btn { justify-self: start; }
.clinic .addr { color: var(--ink-soft); font-size: 15px; }
/* Label column is a fixed width so every number starts on the same line (owner, 2026-10-19: the referral numbers "look odd"). */
.callrow { display: grid; grid-template-columns: 9.5em 1fr; align-items: baseline; gap: 16px; }
@media (max-width: 520px) { .callrow { grid-template-columns: 1fr; gap: 2px; } }
.callrow .phone { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; user-select: all; }
.form.slim { border-width: 1px; }
@media (max-width: 860px) { .clinics { grid-template-columns: 1fr; } .clinic, .clinic + .clinic { border-left: 0; padding: 28px 0 8px; border-bottom: 1px solid var(--rule-light); } }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* includes list (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gray-rule); }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--rule-light); align-items: baseline; font-size: 18px; }
.steps li .meta { color: var(--gray-num); font-size: 13px; }
.band-black .steps li { border-bottom-color: #333; }

/* price */
.price { border: 1.5px solid var(--black); background: var(--white); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.price .amt { font-family: var(--f-head); font-weight: 500; font-size: clamp(56px, 7vw, 88px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .amt small { font-size: 18px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-soft); margin-left: 8px; }
.alt { border-top: 1px solid var(--rule-light); padding-top: 18px; display: grid; gap: 8px; }
.alt .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 600; }
.alt .row span:last-child { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.alt p { font-size: 15px; color: var(--ink-soft); }

/* includes + downsell */
.price .for { font-size: 15px; color: var(--ink-soft); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.incl li { position: relative; padding-left: 22px; }
.incl li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 600; }
.incl.no li::before { content: "–"; color: var(--gray-num); }
.downsell { border-top: 1px solid var(--gray-rule); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.downsell .amt-sm { font-family: var(--f-head); font-weight: 500; font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .downsell { grid-template-columns: 1fr; } }

/* next */
.next-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--gray-rule); padding: 9px 14px; font-size: 15px; }
.chip.none { border-style: dashed; }
.band-black .chip { border-color: #555; }

/* locations */
.locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.loc { display: grid; gap: 16px; min-width: 0; }
.loc .ph { aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.loc dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 18px; margin: 0; font-size: 16px; }
.loc dt { color: var(--gray-num); }
.loc dd { margin: 0; }
@media (max-width: 760px) { .locs { grid-template-columns: 1fr; } }

/* page hero (inner) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero .stack { gap: 24px; }
.crumbs { color: var(--gray-num); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--black); }

/* three facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--gray-rule); }
.fact { padding: 24px 24px 28px 0; display: grid; gap: 10px; min-width: 0; }
.fact + .fact { border-left: 1px solid var(--rule-light); padding-left: 24px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact, .fact + .fact { border-left: 0; padding: 22px 0; border-bottom: 1px solid var(--rule-light); } }

.facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .facts.two { grid-template-columns: 1fr; } }

/* proof strip */
.proof { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: center; border-top: 1px solid var(--rule-light); padding-top: 20px; margin-top: 8px; }
.proof-stars { display: grid; gap: 4px; }
.g-row { display: flex; align-items: center; gap: 8px; }
.g-logo { width: 22px; height: 22px; flex: none; }
.g-word { font: 500 17px Arial, 'Helvetica Neue', sans-serif; color: #5f6368; letter-spacing: -0.01em; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; }
.proof blockquote { margin: 0; font-size: 16px; color: var(--ink-soft); border-left: 2px solid var(--red); padding-left: 14px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days button, .slots button { font: 500 14px var(--f-body); padding: 10px 4px; border: 1px solid var(--gray-rule); background: var(--white); color: var(--black); cursor: pointer; border-radius: 0; }
.days button[aria-pressed="true"], .slots button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.days button small { display: block; font-size: 12px; color: inherit; opacity: .75; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 520px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* forms */
.form { display: grid; gap: 16px; background: var(--white); border: 1.5px solid var(--black); padding: clamp(22px, 3vw, 34px); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px var(--f-body); padding: 13px 14px; border: 1px solid var(--gray-rule); background: var(--white); color: var(--black); width: 100%; border-radius: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.ok { border-left: 3px solid var(--black); padding: 14px 16px; background: var(--mist); font-size: 15px; }

/* chooser */
.chooser { display: grid; gap: 34px; max-width: 860px; }
.q { display: grid; gap: 16px; }
.q legend { padding: 0; margin-bottom: 14px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 18px 18px 18px 50px; border: 1.5px solid var(--gray-rule); background: var(--white); font-weight: 500; min-height: 62px; position: relative; }
.opt span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--black); border-radius: 50%; }
.opt input:checked + span { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.opt input:checked + span::before { background: radial-gradient(circle, var(--black) 0 4px, transparent 5px); }
.opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.result { background: var(--black); color: var(--white); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; }
.result p { color: #d4d4d4; }
.result .quiet { font-size: 15px; }
.result .quiet a { color: var(--white); }

/* footer */
footer.site { background: var(--black); color: #bdbdbd; padding-block: 56px 40px; font-size: 15px; }
footer.site .wrap { display: grid; gap: 36px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
.foot-top .logo { color: var(--white); width: 120px; }
.foot-top h4 { margin: 0 0 10px; color: var(--white); }
.foot-top a { text-decoration: none; display: block; padding-block: 3px; }
.foot-top a:hover { color: var(--white); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } }


.page[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* added for the live site */
body { margin: 0; }
main { display: block; }
.logo img { width: 100%; height: auto; display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { border-left: 3px solid var(--red); padding: 12px 14px; background: #fbf3f4; font-size: 15px; }
.quiet { font-size: 15px; color: var(--ink-soft); }
.quiet a { color: inherit; }
.clinic-pick { display: inline-flex; justify-self: start; border: 1.5px solid var(--black); }
.clinic-pick button { font: 600 15px var(--f-body); padding: 12px 18px; background: var(--white); color: var(--black); border: 0; cursor: pointer; border-radius: 0; }
.clinic-pick button + button { border-left: 1.5px solid var(--black); }
.clinic-pick button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.booking-shell { border-top: 1px solid var(--gray-rule); padding-top: 28px; }
.amt-sm { font-family: var(--f-head); font-weight: 500; font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; }
/* styles/globals.css colours headings for range-medical.com; here a heading
   takes its band's colour (white on the black bands). */
body h1, body h2, body h3, body h4, body h5, body h6 { color: inherit; }
body p { color: inherit; line-height: inherit; }
