/* Hundley Chiropractic and Sports Medicine — "lane-lines" preset (2026-09-24).
   Identity: four parallel lanes from their own sentence, "the young to the old and the fast to
   the slow". Cool chalk surface, ink text, kinesiology-tape teal; lines only, nothing figurative.
   Type: Atkinson Hyperlegible (Braille Institute, SIL OFL 1.1), vendored in assets/fonts with
   its licence and a provenance note. No CDN, no JavaScript, no third-party request.

   Measured contrast (WCAG 2.x):
     ink #1c2430 on chalk #f5f6f2 ........ 14.39:1   tape #0b6e79 on chalk ..... 5.50:1
     white on tape (buttons) ............. 5.96:1    tape on pool #e6efee ...... 5.10:1
     chalk on ink (footer) ............... 14.39:1   mist #b9c2cb on ink ....... 8.66:1
     slate #4a5561 on chalk .............. 7.00:1    tape-bright on ink (lines)  7.69:1 */

@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/atkinson-hyperlegible-700-italic.woff2") format("woff2"); }

:root {
  --chalk: #f5f6f2;
  --pool: #e6efee;
  --ink: #1c2430;
  --slate: #4a5561;
  --tape: #0b6e79;
  --tape-d: #08565f;
  --tape-bright: #3cc7d6;
  --mist: #b9c2cb;
  --rule: #c7cdd2;
  --face: "Atkinson Hyperlegible", "Verdana", system-ui, sans-serif;
  --wrap: 74rem;
  --pad: max(1.25rem, calc((100% - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font: 400 1.125rem/1.55 var(--face);
  font-variant-numeric: lining-nums tabular-nums;
}
p, h1, h2, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--tape); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--tape-d); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 60; background: var(--ink); color: var(--chalk); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { left: .5rem; }

/* ------------------------------------------------------------ the lane device */
@keyframes draw { from { transform: scaleX(0); } }
.strip { display: grid; gap: 9px; padding-block: 2px; }
.strip span { display: block; height: 2px; background: var(--tape); transform-origin: left center; animation: draw .9s cubic-bezier(.2,.7,.2,1) both; }
.strip span:nth-child(2) { animation-delay: .08s; }
.strip span:nth-child(3) { animation-delay: .16s; animation-duration: .6s; }
.strip span:nth-child(4) { animation-delay: .24s; animation-duration: 1.15s; }

.mark { width: 36px; height: 22px; flex: none; fill: none; stroke: var(--tape); stroke-width: 1.7; stroke-linecap: round; }

/* ------------------------------------------------------------------ header */
.head { position: sticky; top: 0; z-index: 40; background: var(--chalk); border-bottom: 1px solid var(--rule); }
.head__in { display: flex; align-items: center; gap: .75rem; min-height: 68px; padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .6rem; min-height: 44px; min-width: 0; flex: 1; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__name { display: block; line-height: 1.15; }
.brand__lead { display: block; font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand__rest { display: block; font-size: .875rem; }
.head__nav { display: none; }

.call { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--tape); color: #fff; text-decoration: none; font-weight: 700; border-radius: 3px; }
.call:hover { background: var(--tape-d); color: #fff; }
.call--head { flex: none; flex-direction: column; gap: 0; min-height: 48px; padding: .35rem .8rem; line-height: 1.15; }
.call--head .call__verb { font-size: .8125rem; }
.call--head .call__num { font-size: .98rem; }
.call--big { min-height: 58px; padding: .8rem 1.4rem; font-size: 1.1875rem; }

.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: .8rem 1.4rem; border: 2px solid var(--ink); border-radius: 3px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.1875rem; }
.btn-line:hover { background: var(--ink); color: var(--chalk); }

/* -------------------------------------------------------------------- hero */
.hero { padding-top: 1.75rem; }
.hero__in { display: grid; gap: 1.5rem; }
.hero__place { font-size: 1.0625rem; line-height: 1.4; color: var(--slate); margin-bottom: .9rem; }
.hero__street, .hero__town { display: block; }
.hero__street { color: var(--ink); font-weight: 700; }
.hero__h1 { font-weight: 700; font-size: clamp(2.6rem, 1.3rem + 6vw, 6.4rem); line-height: .98; letter-spacing: -.025em; max-width: 12.5em; text-wrap: balance; }
.hero__welcome { font-style: italic; font-weight: 700; color: var(--tape); font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; max-width: 18ch; text-wrap: balance; }
.hero__acts { display: grid; gap: .7rem; margin-top: 1.4rem; }
.strip--hero { margin-top: 2.25rem; }

/* ------------------------------------------------------------- who we see */
.who { background: var(--pool); padding-block: 3rem 2.75rem; margin-top: 0; }
.sec-h { font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; }
.who__sentence { margin-top: 1rem; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2.1rem); line-height: 1.35; max-width: 34ch; }
.who__sentence strong { color: var(--tape); }
.lanes { margin-top: 2.25rem; border-bottom: 2px solid var(--tape); }
.lane { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; padding-inline: var(--pad); border-top: 2px solid var(--tape); }
.lane__label { flex: none; font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.2rem); letter-spacing: -.02em; line-height: 1; color: var(--ink); min-width: 5.2em; }
/* Each lane runs to the same finish mark: everyone ends up in the same place. The run draws in
   at the pace its label names (fast .45s, slow 1.25s); the settled state is identical. */
.lane__run { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--tape); transform-origin: left center; animation: draw .85s cubic-bezier(.3,.6,.3,1) .15s both; }
.lane__run::after { content: ""; position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--pool); border: 4px solid var(--tape); }
.lane--fast .lane__run { animation-duration: .45s; }
.lane--slow .lane__run { animation-duration: 1.25s; }
.who__closer { text-wrap: balance; margin-top: 1.6rem; font-style: italic; font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); color: var(--tape); }

/* ---------------------------------------------------------------- numbers */
.nums { padding-block: 2.5rem; }
.nums__list { border-top: 2px solid var(--ink); }
.num { display: flex; align-items: center; gap: .6rem 1.25rem; flex-wrap: wrap; padding: 1rem var(--pad); border-bottom: 2px solid var(--ink); }
.num__fig { order: -1; font-weight: 700; font-size: clamp(4.25rem, 2.8rem + 6vw, 8.5rem); line-height: .9; letter-spacing: -.04em; min-width: 1.3em; }
.num__label { font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); line-height: 1.15; max-width: 12ch; }
.num::after { content: ""; flex: 1; min-width: 2rem; height: 0; border-top: 2px solid var(--rule); display: none; }

/* ------------------------------------------------------------------ hours */
.hours { padding-block: 1.25rem 3.25rem; }
.hours__in { display: grid; gap: 1.75rem; }
.hours__caveat { margin-top: 1rem; padding-left: .9rem; border-left: 4px solid var(--tape); font-weight: 700; max-width: 34ch; }
.hours__act { margin-top: 1.4rem; }
.hours__act .call { width: 100%; }
.week { width: 100%; border-collapse: collapse; border-top: 3px solid var(--tape); border-bottom: 3px solid var(--tape); font-size: 1.1875rem; }
.week th, .week td { padding: .95rem .25rem; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.week tr:last-child th, .week tr:last-child td { border-bottom: 0; }
.week th[scope="row"] { text-align: left; font-weight: 700; }
.week td { text-align: right; }
.week .t { white-space: nowrap; }
.day--closed td { color: var(--slate); }
.day--flag th, .day--flag td { background: #dcecec; }
.day--flag th { padding-left: .6rem; }
.day--flag td { padding-right: .6rem; }
.flag { display: block; margin-top: .25rem; font-size: .9375rem; font-weight: 700; font-style: italic; color: var(--tape-d); }

/* ------------------------------------------------------------------ visit */
.visit { background: var(--pool); padding-block: 3rem; border-top: 2px solid var(--tape); }
.visit__in { display: grid; gap: 2.25rem; }
.visit__addr { font-style: normal; margin-block: 1rem 1.25rem; font-size: 1.375rem; line-height: 1.4; }
.visit__addr span { display: block; }
.visit__name { font-weight: 700; }
.visit__appt { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.3; max-width: 20ch; }
.visit__tel { display: inline-block; padding-block: .6rem; margin-block: -.3rem; white-space: nowrap; }
.visit__mail { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--tape); }
.visit__k { font-weight: 700; }
.visit__email { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.visit__note { color: var(--slate); }

/* ----------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--chalk); padding-bottom: 2.5rem; }
.strip--foot { padding-top: 1.75rem; }
.strip--foot span { background: var(--tape-bright); }
.foot__in { display: grid; gap: .35rem; padding-top: 1.75rem; }
.foot__name { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; margin-bottom: .4rem; }
.mark--foot { stroke: var(--tape-bright); }
.foot a { color: var(--chalk); display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot a:hover { color: var(--tape-bright); }
.foot :focus-visible { outline-color: var(--tape-bright); }
.foot__disc { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #3a4552; color: var(--mist); font-size: 1rem; max-width: 60ch; }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 640px) {
  .hero__acts { display: flex; flex-wrap: wrap; }
  .hours__act .call { width: auto; }
  .flag { display: inline-block; margin: 0 0 0 .6rem; }
  .lane { min-height: 5.25rem; }
  .num::after { display: block; }
  .visit__in { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 960px) {
  .head__in { min-height: 76px; gap: 2rem; }
  .brand__name { display: flex; gap: .35em; align-items: baseline; }
  .brand__lead, .brand__rest { font-size: 1.25rem; }
  .brand__rest { font-weight: 400; }
  .head__nav { display: flex; gap: 1.75rem; }
  .head__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
  .head__nav a:hover { border-bottom-color: var(--tape); }
  .call--head { flex-direction: row; gap: .4em; padding: .6rem 1.1rem; }
  .call--head .call__verb, .call--head .call__num { font-size: 1.0625rem; }

  .hero { padding-top: 4.5rem; }
  .hero__in { gap: 2.25rem; }
  .hero__place { display: flex; gap: .5em; font-size: 1.1875rem; margin-bottom: 1.25rem; }
  .hero__side { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; padding-top: 2rem; border-top: 2px solid var(--ink); }
  .hero__welcome { max-width: none; font-size: clamp(1.75rem, .9rem + 1.3vw, 2.2rem); }
  .hero__acts { margin-top: 0; }
  .strip--hero { margin-top: 3.5rem; }

  .who { padding-block: 4.5rem 4rem; }
  .who__top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 3rem; align-items: start; }
  .who__sentence { margin-top: 0; }
  .lanes { margin-top: 3rem; }
  .lane { min-height: 6.25rem; }

  .nums { padding-block: 3.5rem; }

  .hours { padding-block: 2rem 5rem; }
  .hours__in { grid-template-columns: 1fr 1.25fr; gap: 5rem; align-items: start; }

  .visit { padding-block: 4.5rem; }
  .visit__in { gap: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .strip span, .lane__run { animation: none; }
}
