/* ==========================================================================
   HQphysio — one-page site
   ------------------------------------------------------------------------
   Direction: Garmin (air, one strong image, text sells) x Medium (reading
   rhythm), resolved through a warm editorial system rather than the usual
   clinical white-and-cyan template.

   Type:   Fraunces (variable display, WONK on — characterful, warm, not AI-generic)
           Newsreader (long-form reading)
           Instrument Sans (UI chrome only)
   Colour: warm paper, deep ink, a single accent drawn from the logo blue
   Surface: hairline rules and paper texture. No cards, no drop shadows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paper & ink. Contrast noted against --paper. */
  --paper:       #FBFAF6;
  --paper-2:     #F2EEE5;   /* warm sand band  */
  --paper-3:     #E9E3D6;
  --dark:        #14191D;   /* inverted band   */
  --dark-2:      #1D242A;

  --ink:         #15171A;   /* 15.4:1 */
  --ink-soft:    #4B5157;   /* 8.1:1  */
  --ink-faint:   #5C6268;   /* 6.6:1 on paper, 6.1:1 on the warm band */

  --accent:      #0A4E76;   /* logo blue, deepened — 8.6:1 */
  --accent-hi:   #0D6396;
  --accent-lite: #7FC2E8;   /* for the dark band only */
  --accent-wash: #E8F0F6;

  --rule:        #DED8CB;
  --rule-strong: #C3BCAB;
  --on-dark:     #E9E4DA;
  --on-dark-soft:#A9B3BB;

  /* Type stacks */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-read:    "Newsreader", Charter, Georgia, "Times New Roman", serif;
  --f-ui:      "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --measure:   66ch;
  --gutter:    clamp(1.25rem, 5vw, 3rem);
  --shell:     78rem;
  --shell-wide:96rem;
  --section-y: clamp(4.5rem, 11vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur:  220ms;

  --z-sticky: 30;
  --z-overlay: 50;
}

/* Display face: optical size high, WONK on for the characterful alternates. */
.u-display,
h1, h2, h3, .price__amount {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.021em;
  margin: 0;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain. 2% of a turbulence tile — enough to kill the flat plastic
   look, cheap enough to be free. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

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

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hi); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--accent-wash); color: var(--ink); }

p { margin: 0 0 1.2em; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell      { width: 100%; max-width: var(--shell);      margin-inline: auto; padding-inline: var(--gutter); }
.shell-wide { width: 100%; max-width: var(--shell-wide); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--warm { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #FFFDF8; }
.section--dark a { color: var(--accent-lite); }
.section--dark p  { color: var(--on-dark-soft); }

.rule-top { border-top: 1px solid var(--rule); }

/* Editorial section head: number in the margin, title in the column. */
.head {
  display: grid;
  gap: 0.75rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 860px) {
  .head { grid-template-columns: 8rem minmax(0, 1fr); }
}
/* Index marker: a rule, the section number, then the label. Two fixed lines so
   every section head aligns whatever the label length. */
.head__num {
  width: fit-content;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 2px solid var(--ink);
  font-family: var(--f-ui);
}
.head__num b {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.head__num span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.section--dark .head__num,
.booking__panel .head__num { border-top-color: var(--accent-lite); }
.section--dark .head__num b,
.booking__panel .head__num b { color: #FFFDF8; }
.section--dark .head__num span,
.booking__panel .head__num span { color: var(--on-dark-soft); }

.head__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 19ch; }
.head__lede {
  margin: 1.5rem 0 0;
  max-width: 48ch;
  font-family: var(--f-read);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.section--dark .head__lede { color: var(--on-dark-soft); }

/* Long-form reading column — the Medium half of the brief. */
.prose {
  max-width: var(--measure);
  font-family: var(--f-read);
  font-optical-sizing: auto;
  font-size: clamp(1.1875rem, 0.5vw + 1.08rem, 1.375rem);
  line-height: 1.72;
  color: #23262A;
}
.prose p { margin-bottom: 1.3em; }
.prose a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
}
.prose a:hover { background-size: 100% 2px; }

.prose--lead > p:first-of-type::first-letter {
  float: left;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 3.9em;
  line-height: 0.8;
  font-weight: 500;
  padding: 0.06em 0.09em 0 0;
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: var(--z-overlay);
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary  { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hi); color: #fff; }

.btn--ghost    { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--paper-3); border-color: var(--ink); color: var(--ink); }

.btn--onDark   { background: var(--paper); color: var(--dark); }
.btn--onDark:hover { background: #fff; color: var(--dark); }

.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--rule); }

.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }

.brand {
  display: inline-flex;
  align-items: center;
  padding-block: 0.45rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { height: 2.1rem; width: auto; }

.nav { display: none; }
@media (min-width: 940px) {
  .nav { display: flex; align-items: center; gap: 0.15rem; }
  .nav a {
    position: relative;
    padding: 0.55rem 0.9rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.28rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); }
  .nav a[aria-current="true"] { color: var(--accent); }
  .nav a[aria-current="true"]::after { transform: scaleX(1); }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--paper-3); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 940px) { .nav-toggle { display: none; } }

.mobile-nav { border-top: 1px solid var(--rule); background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.25rem 0 1.5rem; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a span {
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.mobile-nav li:last-child a { border-bottom: 0; }
@media (min-width: 940px) { .mobile-nav { display: none !important; } }

/* --------------------------------------------------------------------------
   6. Hero — asymmetric, type-led
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 10vw, 7.5rem) clamp(2.5rem, 6vw, 4rem); }

.hero__title {
  font-size: clamp(2.75rem, 8.2vw, 6.5rem);
  max-width: 16ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__cols { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.hero__actions .btn-row { margin-top: 0; }
@media (min-width: 900px) {
  .hero__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* Reading order stays lede-then-actions; the desktop grid puts the reading
     column on the right and the actions in the left margin. */
  .hero__lede-wrap { grid-column: 2; grid-row: 1; }
  .hero__actions   { grid-column: 1; grid-row: 1; }
}

.hero__lede {
  max-width: 46ch;
  font-family: var(--f-read);
  font-size: clamp(1.125rem, 0.55vw + 1.05rem, 1.3125rem);
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
}

.hero__meta {
  display: grid;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
@media (min-width: 760px) { .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero__meta div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
@media (min-width: 760px) {
  .hero__meta div { border-bottom: 0; padding-right: 1.5rem; }
}
.hero__meta svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; margin-top: 0.12rem; }

/* Garmin move: one strong image, generous air, cropped hard. */
.figure-bleed { margin: 0; padding-bottom: var(--section-y); }
.figure-bleed img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--paper-3);
}
.figure-bleed figcaption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  max-width: 44ch;
}
@media (max-width: 700px) { .figure-bleed img { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------------------
   7. Profile
   -------------------------------------------------------------------------- */
.profile__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .profile__grid { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; }
}

.profile__portrait { margin: 0; position: sticky; top: 6.5rem; }
.profile__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper-3);
}
.profile__portrait figcaption {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
@media (max-width: 959px) { .profile__portrait { position: static; max-width: 22rem; } }

.facts { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; max-width: var(--measure); border-top: 1px solid var(--rule); }
.facts > div {
  display: grid;
  gap: 0.2rem 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) { .facts > div { grid-template-columns: 10rem minmax(0, 1fr); align-items: baseline; } }
.facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.facts dd { margin: 0; font-family: var(--f-read); font-size: 1.0625rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   8. Treatments — hairline index, no cards
   -------------------------------------------------------------------------- */
.treatments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.treatments > li {
  display: grid;
  gap: 0.4rem 3rem;
  padding: clamp(1.5rem, 3.2vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color var(--dur) var(--ease);
}
@media (min-width: 860px) {
  .treatments > li { grid-template-columns: 6rem 17rem minmax(0, 1fr); align-items: baseline; }
}
.treatments__num {
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.treatments__name {
  font-size: clamp(1.375rem, 1.9vw, 1.75rem);
  line-height: 1.15;
}
.treatments__body {
  font-family: var(--f-read);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}

/* --------------------------------------------------------------------------
   9. Why HQ — dark band
   -------------------------------------------------------------------------- */
.why__grid { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why__item { border-top: 1px solid rgba(233, 228, 218, 0.28); padding-top: 1.4rem; }
.why__item h3 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); margin-bottom: 0.75rem; }
.why__item p {
  font-family: var(--f-read);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Fees
   -------------------------------------------------------------------------- */
.fees__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .fees__grid { grid-template-columns: 20rem minmax(0, 1fr); } }

.price { display: flex; align-items: baseline; gap: 0.4rem; line-height: 1; margin: 0; }
.price__amount {
  font-size: clamp(4.5rem, 11vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
}
.price__unit { font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 600; color: var(--ink-faint); }
.price + p {
  margin-top: 1.1rem;
  font-family: var(--f-read);
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.notes li {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-read);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.notes li > span { max-width: 62ch; }
.notes svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--accent); margin-top: 0.28rem; }
.notes strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   11. Booking
   -------------------------------------------------------------------------- */
.booking__panel {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--dark);
  color: var(--on-dark);
}
@media (min-width: 900px) { .booking__panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.booking__panel h2 { color: #FFFDF8; font-size: clamp(2rem, 4vw, 3.15rem); max-width: 14ch; }
.booking__panel p {
  font-family: var(--f-read);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 40ch;
}
.booking__note { font-size: 0.8125rem !important; font-family: var(--f-ui) !important; margin-top: 1.5rem; }

/* Slot for §6 option B (inline SumUp iframe) if framing turns out to be allowed */
.booking__embed { margin-top: 3rem; }
.booking__embed iframe { width: 100%; min-height: 44rem; border: 1px solid var(--rule); }

/* --------------------------------------------------------------------------
   12. Locations & contact
   -------------------------------------------------------------------------- */
.locations { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 860px) {
  .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); }
}
.location { padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; border-bottom: 1px solid var(--rule); }
.location h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin-bottom: 0.85rem; }
.location address {
  font-style: normal;
  font-family: var(--f-read);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.location__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.contact-bar { display: grid; gap: 1.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 760px) { .contact-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-item .k {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.contact-item a, .contact-item p {
  display: inline-block;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
  line-height: 1.3;
}
.contact-item a { padding-block: 0.7rem; margin-block: -0.7rem; }
.contact-item a:hover { color: var(--accent); }

/* Map: click-to-load facade. Nothing reaches Google, and no cookie is set,
   until the visitor asks for it. */
.map { margin-top: clamp(2.5rem, 5vw, 4rem); }
.map__frame {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
@media (max-width: 640px) { .map__frame { aspect-ratio: 4 / 3; } }
.map__frame iframe { width: 100%; height: 100%; border: 0; }
.map__facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(10,78,118,0.05) 26px 27px),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(10,78,118,0.05) 26px 27px),
    var(--paper-2);
  border: 0;
  cursor: pointer;
  font-family: var(--f-ui);
  color: var(--ink);
  text-align: center;
  transition: background-color var(--dur) var(--ease);
}
.map__facade:hover { background-color: var(--accent-wash); }
.map__facade svg { width: 2rem; height: 2rem; color: var(--accent); }
.map__facade .t { font-weight: 600; font-size: 1rem; }
.map__facade .s { font-size: 0.8125rem; color: var(--ink-faint); max-width: 36ch; line-height: 1.5; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2.5rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
}
.site-footer__top img { height: 1.9rem; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.site-footer__links a {
  display: inline-block;
  padding-block: 0.72rem;
  margin-block: -0.72rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__legal {
  display: grid;
  gap: 0.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  line-height: 1.55;
}
@media (min-width: 760px) { .site-footer__legal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 2rem; } }

/* --------------------------------------------------------------------------
   14. Scroll reveal (enhancement only — content is visible without JS)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .nav-toggle, .map, .btn-row, body::before { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .section { padding-block: 1.5rem; }
  .booking__panel { background: #fff; color: #000; border: 1px solid #000; }
}

/* ==========================================================================
   16. Booking widget
   ========================================================================== */
.booker { max-width: 62rem; }

.booker__alert {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-family: var(--f-read);
  font-size: 1.0625rem;
  color: var(--ink);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.booker__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booker__step {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  border: 0;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.booker__step[hidden] { display: none; }

.booker__legend {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0;
  margin-bottom: 1.25rem;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
}
.booker__legend span {
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* Radio pills — clinic choice and time slots share the pattern. */
.pillset { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pillset input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pillset label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--f-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pillset label:hover { border-color: var(--ink); background: var(--paper-3); }

.pillset input:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pillset input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.booker__empty, .booker__hint {
  margin: 0;
  padding: 1.25rem 0;
  font-family: var(--f-read);
  font-size: 1.0625rem;
  color: var(--ink-soft);
}


/* Form fields */
.field { margin-bottom: 1.5rem; max-width: 32rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--paper);
  font-family: var(--f-read);
  font-size: 1.0625rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.field__hint {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--f-ui);
  font-size: 0.8125rem;
  color: var(--ink-faint);
  text-transform: none;
  letter-spacing: 0;
}
.field__error {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--f-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #A03028;
}
.field--error input, .field--error select, .field--error textarea { border-color: #A03028; }

.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  align-items: start;
  max-width: 38rem;
}
.field--check input { width: 22px; height: 22px; margin-top: 0.15rem; accent-color: var(--accent); }
.field--check label {
  margin: 0;
  font-family: var(--f-read);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}
.field--check .field__error { grid-column: 2; }

.booker__submit { margin-top: 0.5rem; }
.booker__submit[disabled] { opacity: 0.6; cursor: default; }
.booker__note {
  margin: 1rem 0 0;
  font-family: var(--f-ui);
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* Confirmation page */
.receipt { max-width: 40rem; }
.receipt__ref {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.receipt dl { margin: 2rem 0 0; border-top: 1px solid var(--ink); }
.receipt dl > div {
  display: grid;
  gap: 0.2rem 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) { .receipt dl > div { grid-template-columns: 9rem minmax(0, 1fr); } }
.receipt dt {
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.receipt dd { margin: 0; font-family: var(--f-read); font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   17. Booking calendar
   -------------------------------------------------------------------------- */
.cal-wrap { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 860px) {
  .cal-wrap { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: start; }
}
[data-widget] { transition: opacity var(--dur) var(--ease); }
[data-widget].is-loading { opacity: 0.45; pointer-events: none; }

/* No JS: the calendar cannot work, so the plain day list carries the form. */
.cal { display: none; }
.js .cal { display: block; }
.js .slots__prompt { display: block; }
.slots__prompt,
.js .slots__prompt[hidden] { display: none; }

.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 1rem;
}
.cal__title {
  font-size: 1.25rem; margin: 0;
  font-family: var(--f-display); font-variation-settings: "SOFT" 0, "WONK" 1; font-weight: 500;
}
.cal__nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cal__nav:hover:not(:disabled) { background: var(--paper-3); border-color: var(--ink); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__nav svg { width: 18px; height: 18px; }

.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow {
  padding: 0.4rem 0 0.6rem; text-align: center;
  font-family: var(--f-ui); font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.cal__cell {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-ui); font-size: 0.9375rem; font-variant-numeric: tabular-nums;
  border-radius: 999px;
}
.cal__cell--off { color: var(--ink-faint); opacity: 0.55; }
.cal__cell.is-today::before {
  content: ""; position: absolute; top: 4px; right: 4px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-faint);
}
.cal__day {
  padding: 0; border: 1px solid var(--rule-strong); background: var(--paper);
  color: var(--ink); font-weight: 600; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.cal__day::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.cal__day:hover { border-color: var(--ink); background: var(--paper-3); }
.cal__day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cal__day[aria-pressed="true"]::after { background: rgba(255,255,255,0.7); }
.cal__day:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cal__key { margin: 1rem 0 0; font-family: var(--f-ui); font-size: 0.75rem; color: var(--ink-faint); }

.slots { min-height: 8rem; }
.slots__prompt {
  margin: 0; padding: 1.25rem 0;
  font-family: var(--f-read); font-size: 1.0625rem; color: var(--ink-soft);
}
.js .daygroup { border: 0; padding: 0; }
.daygroup { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.daygroup[hidden] { display: none; }
.daygroup__label {
  margin: 0 0 0.85rem;
  font-family: var(--f-display); font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.25rem; font-weight: 500; color: var(--ink);
}
.js .daygroup__label { padding-top: 0.55rem; }
.daygroup__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: 0.5rem; }
.daygroup__slots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.daygroup__slots label {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--paper);
  font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--ink); cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.daygroup__slots label:hover { border-color: var(--ink); background: var(--paper-3); }
.daygroup__slots input:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; }
.daygroup__slots input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   18. Booking steps
   -------------------------------------------------------------------------- */
.wiz__steps {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  list-style: none; margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); padding: 0 0 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-ui); font-size: 0.875rem; font-weight: 500; color: var(--ink-faint);
}
.wiz__steps li { display: inline-flex; align-items: center; gap: 0.6rem; }
.wiz__steps li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 999px;
  border: 1px solid var(--rule-strong); font-size: 0.75rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wiz__steps li[aria-current="step"] { color: var(--ink); }
.wiz__steps li[aria-current="step"] span { background: var(--accent); border-color: var(--accent); color: #fff; }
.wiz__steps li.is-done { color: var(--ink-soft); }
.wiz__steps li.is-done span { background: var(--ink); border-color: var(--ink); color: #fff; }

.wiz__panel[hidden] { display: none; }
.js .wiz__panel:not([hidden]) { animation: wiz-in 320ms var(--ease) both; }
@keyframes wiz-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .js .wiz__panel:not([hidden]) { animation: none; } }

.wiz__summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); padding: 1.1rem 1.25rem;
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
}
.wiz__summary-k {
  display: block; margin-bottom: 0.25rem;
  font-family: var(--f-ui); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.wiz__summary-v {
  display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; color: var(--ink);
}
.wiz__summary-s { display: block; font-family: var(--f-read); font-size: 1rem; color: var(--ink-soft); }

/* Without JS the summary is empty and the back button does nothing: hide both. */
.wiz__summary { display: none; }
.js .wiz__summary { display: flex; }
.wiz__steps { display: none; }
.js .wiz__steps { display: flex; }
.booker__step .booker__legend span { display: none; }

/* --------------------------------------------------------------------------
   19. Landing splash
   -------------------------------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  background: var(--paper);
  cursor: pointer;
  animation: splash-in 700ms var(--ease) both;
}
.splash[hidden] { display: none; }
.splash.is-leaving { animation: splash-out 650ms var(--ease) both; pointer-events: none; }
.has-splash body { overflow: hidden; }
.splash__inner { text-align: center; }
.splash__mark {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(2.75rem, 9vw, 6.5rem); font-weight: 500; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
  animation: splash-rise 900ms var(--ease) both;
}
.splash__rule {
  display: block; width: clamp(4rem, 12vw, 9rem); height: 1px;
  margin: clamp(1.25rem, 3vw, 2rem) auto; background: var(--ink);
  transform-origin: center;
  animation: splash-rule 900ms var(--ease) 250ms both;
}
.splash__line {
  margin: 0;
  font-family: var(--f-ui); font-size: clamp(0.6875rem, 1.4vw, 0.875rem); font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-soft);
  animation: splash-rise 900ms var(--ease) 350ms both;
}
@keyframes splash-in   { from { opacity: 0 } to { opacity: 1 } }
@keyframes splash-out  { from { opacity: 1 } to { opacity: 0 } }
@keyframes splash-rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes splash-rule { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@media (prefers-reduced-motion: reduce) {
  .splash, .splash__mark, .splash__rule, .splash__line, .splash.is-leaving { animation: none; }
}

/* --------------------------------------------------------------------------
   20. Minimal hero, bio, one location, credentials
   -------------------------------------------------------------------------- */
.hero--min { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(3rem, 8vw, 6rem); }

.bio .bio__h {
  font-family: var(--f-ui); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint);
  margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
}
.bio .bio__h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bio p { margin-bottom: 1.1em; }

.locations--one { display: grid; gap: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
@media (min-width: 860px) {
  .locations--one { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
}
.locations--one .location { border-bottom: 0; }
.map--inline { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.map--inline .map__frame { aspect-ratio: 4 / 3; }
@media (min-width: 860px) { .map--inline .map__frame { aspect-ratio: 16 / 11; } }

.creds {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 1.75rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.creds__k {
  font-family: var(--f-ui); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
  margin-right: 0.5rem;
}
.creds__logo { height: 2.75rem; width: auto; }
.creds__logo--coru { height: 3rem; }

.site-footer__contact {
  display: grid; gap: 1.5rem; padding-bottom: 2rem;
}
@media (min-width: 760px) { .site-footer__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   21. Manage my booking
   -------------------------------------------------------------------------- */
.booker__alert--err { border-left-color: #A03028; }
.manage__confirm {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  margin-top: 1.75rem; padding: 1.1rem 1.25rem;
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
}
.manage__confirm[hidden] { display: none; }
.booker__chosen-line {
  margin: 0; font-family: var(--f-display); font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem); color: var(--ink);
}
.booker__chosen-line strong { font-weight: 500; color: var(--accent); }

/* Headline-only hero: the booking calendar follows straight on, in the first
   screen. The booking section's own heading would only repeat the headline. */
.hero--bare { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(0.5rem, 2vw, 1.5rem); }
.hero--bare + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero--bare + #book .head { display: none; }

/* Registration logos right under the headline; no label, the logos say it. */
.hero__creds .creds { border: 0; padding: 0; margin: clamp(1.25rem, 3vw, 2rem) 0 0; gap: 1rem 1.75rem; }
.hero__creds .creds__logo { height: 2.5rem; }
.hero__creds .creds__logo--coru { height: 2.75rem; }

/* Code from the text */
.verify__title { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.verify__form { margin-top: 2rem; }
.verify__form .field { max-width: 16rem; }
.verify__code {
  font-size: 1.75rem !important; letter-spacing: 0.4em; font-variant-numeric: tabular-nums;
  text-align: center; padding-left: 0.4em !important;
}
.verify__note { font-family: var(--f-ui); color: var(--accent); }
.verify__more { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; align-items: center; }
.verify__more form { margin: 0; }
.verify__link {
  display: inline-flex; align-items: center; background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer;
  font: inherit; font-family: var(--f-ui); font-size: 0.9375rem; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.verify__link:hover { color: var(--ink); }
