/* Dr Mark Irving — design system
   Tokens transcribed from the Claude Design project (Home.dc.html / Style Tile). */

:root {
  --paper: #fdfaf3;
  --paper-warm: #f4eee0;
  --card: #ffffff;

  --ink: #221f18;
  --ink-muted: #5f5a4e;
  --ink-soft: #97907f;
  --ink-slate: #2a3f57;

  --heading: #132a44;
  --navy: #132a44;
  --navy-deep: #0f2338;

  --border: #e8ddc9;
  --border-2: #efe6d5;
  --sand: #f0e5cf;
  --input-border: #d5c9b2;
  --img-bg: #e7ddc9;

  --chip-text: #0f6b5e;
  --accent: #4acce2;
  --accent-ink: #04231c;
  --accent-bright: #6fdcee;

  --link: #0f6b5e;
  --link-hover: #0b5748;

  --on-navy: #c6d2e0;
  --on-navy-muted: #8ea3bd;
  --on-navy-faint: #7f93ad;
  --on-navy-strong: #f4f7fb;
  --footer-muted: #6f86a2;

  --danger: #b3261e;
  --success: #0f6b5e;

  /* Humanist pairing: one family for display and body, per the updated design. */
  --display: "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --shell: 1180px;
  --radius: 16px;
}

:root[data-mode="dark"] {
  --paper: #0e1b2a;
  --paper-warm: #122236;
  --card: #16273b;

  --ink: #eef2f7;
  --ink-muted: #aab7c7;
  --ink-soft: #8394a6;
  --ink-slate: #c4d0de;

  --heading: #f2f6fb;
  --navy: #0a1c2e;
  --navy-deep: #071523;

  --border: #284056;
  --border-2: #233a4f;
  --sand: #1d3350;
  --input-border: #37536f;
  --img-bg: #1a2c42;

  --chip-text: #8fe8f4;
  --accent: #4acce2;
  --accent-bright: #7fe4f4;

  --link: #5fd6ee;
  --link-hover: #7fe4f4;

  --danger: #ff9a92;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  padding: 15px 28px;
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(74, 204, 226, .5);
}
.btn-primary[disabled] {
  opacity: .6;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm { font-size: 14px; padding: 11px 20px; border-radius: 6px; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; }

/* Utility strip */
.utility {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.utility__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: 32px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.utility__clock {
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--on-navy-faint);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  gap: 7px;
}
.utility__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--on-navy-strong);
  font-weight: 600;
  white-space: nowrap;
}
.utility__phone:hover { color: #fff; }
.utility__phone svg { opacity: .7; }

.mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--on-navy-strong);
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.mode-toggle:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .36);
}
/* Exactly one icon shows, chosen by the stored preference — not by the resolved
   mode. "System" must stay distinguishable from whichever mode it resolves to. */
.mode-toggle__sun, .mode-toggle__moon, .mode-toggle__system { display: none; }
.mode-toggle[data-pref="light"] .mode-toggle__sun,
.mode-toggle[data-pref="dark"] .mode-toggle__moon,
.mode-toggle[data-pref="system"] .mode-toggle__system { display: block; }

/* Main bar */
.mainbar { background: var(--navy); }
.mainbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: 32px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.mainbar__right { display: flex; align-items: center; gap: 36px; flex-wrap: nowrap; }

/* The logo artwork is cream and cyan on transparency. The bar behind it is navy
   in both colour modes, so one file serves light and dark. */
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 50px; width: auto; display: block; transition: opacity .18s ease; }
.site-header__logo:hover img { opacity: .85; }

/* Nav */
.nav { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav > a { color: var(--on-navy); padding-block: 26px; }
.nav > a:hover { color: #fff; }
.nav > a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.nav__group { position: relative; }
.nav__toggle {
  background: none;
  border: 0;
  padding: 26px 0;
  font: inherit;
  color: var(--on-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s ease;
}
.nav__toggle:hover { color: #fff; }
.nav__caret { opacity: .55; font-size: 11px; transition: transform .2s ease; }

/* The menu is nested inside .nav__group, so the pointer never leaves the group
   while travelling from the toggle down into the panel. padding-top bridges the
   gap between the bar and the card; without it the menu closes mid-move. */
.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  padding-top: 14px;
  z-index: 60;
  min-width: 270px;
  flex-direction: column;
}
.nav__menu--right { left: auto; right: -18px; }

.nav__menu > a {
  background: var(--card);
  padding: 11px 14px;
  color: var(--heading);
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease;
}
.nav__menu > a:first-of-type { border-radius: 14px 14px 0 0; padding-top: 14px; }
.nav__menu > a:last-of-type { border-radius: 0 0 14px 14px; padding-bottom: 14px; }
.nav__menu > a:hover { background: var(--paper-warm); }

/* Hover opens it. :focus-within keeps it usable from the keyboard, and
   [data-open] is what the burger and touch taps drive. */
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu,
.nav__group[data-open="true"] .nav__menu { display: flex; }

.nav__group:hover .nav__toggle,
.nav__group:focus-within .nav__toggle,
.nav__group[data-open="true"] .nav__toggle { color: #fff; }

.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret,
.nav__group[data-open="true"] .nav__caret { transform: rotate(180deg); }

.mainbar__cta { flex: none; }

/* Clock and directions ride inside the mobile menu panel. Hidden here. */
.nav__meta { display: none; }

.nav-burger { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__media { position: absolute; inset: 0; }
/* Oversized and offset upward so the parallax drift never uncovers an edge. */
.hero__img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 36, .86) 0%, rgba(11, 22, 36, .66) 42%, rgba(11, 22, 36, .22) 78%, rgba(11, 22, 36, .08) 100%);
  pointer-events: none;
}

.hero__body { position: relative; max-width: var(--shell); margin: 0 auto; padding: 80px 32px; width: 100%; }
.hero__copy { max-width: 640px; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.03;
  margin: 22px 0 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.03em;
}
.hero p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-navy);
  margin: 20px 0 0;
  max-width: 540px;
}
.hero__actions { display: flex; gap: 14px; align-items: center; margin-top: 32px; flex-wrap: wrap; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 16px;
}
.eyebrow-pill span:first-child {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  display: inline-block;
}
.eyebrow-pill span:last-child {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-navy-strong);
  font-weight: 700;
}

/* ---------- Page header (interior pages) ---------- */

.page-band {
  position: relative;
  width: 100%;
  height: 340px;
  background: var(--img-bg);
  overflow: hidden;
}
.page-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}
.page-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 42, 68, .42) 0%, rgba(19, 42, 68, .12) 55%, rgba(19, 42, 68, 0) 100%);
}

.page-title { padding-top: 44px; padding-bottom: 8px; }
.page-title h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  margin: 12px 0 0;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -.025em;
}
.page-title p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 14px 0 0;
  max-width: 620px;
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--link);
  font-weight: 700;
}

.section { padding-block: 84px; }
.section--flush-top { padding-top: 0; }

.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--heading);
  margin: 12px 0 0;
  letter-spacing: -.02em;
}

.lede { font-size: 18px; line-height: 1.65; color: var(--ink-muted); margin: 0; }

.band {
  background: var(--paper-warm);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split--narrow-left { grid-template-columns: 0.85fr 1.15fr; }

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 22px rgba(48, 38, 24, .06);
}

.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }

.feature-card { transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(48, 38, 24, .12); }
.feature-card h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}
.feature-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); margin: 12px 0 0; }
.feature-card a { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 700; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  color: var(--chip-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}
.chip--muted { background: var(--border-2); color: var(--ink-muted); }

/* Numbered step cards */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 8px 22px rgba(48, 38, 24, .06);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step__num {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 11px;
  background: var(--sand);
  color: var(--link);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
}
.step__title { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--heading); }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-muted); margin: 6px 0 0; }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(48, 38, 24, .05);
  display: block;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(48, 38, 24, .12);
  border-color: var(--accent);
}
.service-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto;
  display: block;
  border-radius: 14px;
}
.service-card__label {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 14px;
  line-height: 1.3;
}

/* ---------- Trust band ---------- */

.trust {
  background: var(--navy);
  padding: 84px 32px;
  text-align: center;
}
.trust h2 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--on-navy-strong);
  margin: 0;
  letter-spacing: -.02em;
}
.trust h2 em {
  font-style: normal;
  color: var(--accent-bright);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.trust p {
  font-size: 18px;
  color: var(--on-navy-muted);
  margin: 18px auto 0;
  max-width: 560px;
  line-height: 1.6;
}
.trust .btn-primary { margin-top: 28px; }

/* Professional-body logos. These live in the footer now, not the trust band. */
.member-band { text-align: center; }
.member-band__label {
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  font-weight: 700;
}
.member-band__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
/* No max-width: the three plates share the footer's full width equally, so the
   first sits flush with the left gutter and the last with the right — the same
   edges the header and the footer columns use. */
.member-band__card {
  flex: 1 1 0;
  min-width: 190px;
  /* The supplied logos are dark artwork on transparency, so the plate stays
     white in dark mode too — otherwise they vanish into the navy footer. */
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease;
}
.member-band__card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .26); }
.member-band__card img { height: 84px; width: auto; display: block; }

/* ---------- Contact strip & locations ---------- */

.contact-strip {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  box-shadow: 0 18px 50px rgba(48, 38, 24, .14);
}
.contact-strip dt {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-navy-faint);
  font-weight: 700;
}
.contact-strip dd { margin: 8px 0 0; }
.contact-strip__big {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--on-navy-strong);
  display: block;
  letter-spacing: -.01em;
}
.contact-strip__email { font-size: 16px; color: var(--accent-bright); font-weight: 600; display: block; }
.contact-strip__note { font-size: 13.5px; color: var(--on-navy-muted); margin-top: 4px; }
.contact-strip__hours { font-size: 16px; color: var(--on-navy-strong); font-weight: 600; }

.location-card { border-radius: 14px; padding: 26px; }
.location-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.location-card__name { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--heading); }
.location-card__sub { font-size: 14px; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }
.location-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.location-card dt { color: var(--ink-soft); font-weight: 600; }
.location-card dd { color: var(--ink); margin: 0; }
.location-card__actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
  font-size: 14.5px;
  font-weight: 700;
}
.location-card__actions a:last-child { color: var(--heading); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(48, 38, 24, .10);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-top: 20px; }
.field-row .field { margin-top: 0; }
.field-row + .field-row { margin-top: 20px; }

.field > label,
.fieldset > legend {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-slate);
  display: block;
  margin-bottom: 7px;
  padding: 0;
}

.req { color: var(--link); }
.opt { color: var(--ink-soft); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--input-border);
  border-radius: 6px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--heading);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; }
.field select { appearance: none; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 204, 226, .25);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--danger); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
  font-size: 12px;
}

.field__hint { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.45; }

.fieldset { border: none; margin: 20px 0 0; padding: 0; }

.chip-choice { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.chip-choice label {
  border: 1.5px solid var(--input-border);
  color: var(--ink-muted);
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.chip-choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip-choice input:checked + label {
  border-color: var(--accent);
  background: var(--sand);
  color: var(--chip-text);
  font-weight: 600;
}
.chip-choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.form-privacy {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.turnstile-slot { margin-top: 22px; min-height: 65px; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  display: none;
}
.form-status[data-state="error"] {
  display: block;
  background: rgba(179, 38, 30, .08);
  border: 1px solid var(--danger);
  color: var(--danger);
}
.form-status[data-state="success"] {
  display: block;
  background: var(--sand);
  border: 1px solid var(--accent);
  color: var(--chip-text);
}

.assurance-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.assurance { display: flex; gap: 12px; align-items: flex-start; }
.assurance__tick {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 8px;
  background: var(--sand);
  color: var(--link);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assurance div:last-child { font-size: 15px; line-height: 1.5; color: var(--ink-slate); }
.assurance strong { color: var(--heading); }

.lz-link { color: var(--link); border-bottom: 1px solid rgba(15, 107, 94, .4); }
.lz-link:hover { border-bottom-color: var(--link-hover); }

.notice {
  background: var(--sand);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-slate);
}
.notice strong { color: var(--heading); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); padding: 56px 0 32px; }
/* The gutter belongs here, inside the shell — not on the <footer>. Carried on
   the footer it shrank the box the shell then centred within, landing the
   footer's content 32px left of the header's. */
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: 32px;
}
.member-band + .site-footer__cols { margin-top: 48px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer__brand { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--on-navy-strong); }
.site-footer__blurb { font-size: 14.5px; color: var(--on-navy-muted); margin-top: 10px; line-height: 1.6; }
.site-footer__phone { font-size: 18px; color: var(--accent-bright); font-weight: 700; margin-top: 14px; display: inline-block; }
.site-footer h2 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-navy-faint);
  font-weight: 700;
  margin: 0 0 14px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.site-footer__links a { color: var(--on-navy); }
.site-footer__links a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-navy);
}
.socials a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.site-footer__legal {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--footer-muted);
  line-height: 1.6;
}
.site-footer__legal a { color: var(--footer-muted); text-decoration: underline; }
.site-footer__legal a:hover { color: var(--on-navy); }

/* ---------- Mobile booking bar ---------- */

.mobile-cta {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 40;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mobile-cta a { flex: 1; }
.mobile-cta .btn { width: 100%; font-size: 15px; padding: 13px 16px; }
.mobile-cta__call {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}

/* ---------- Motion ---------- */

@keyframes fx-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fx-parallax {
  from { transform: translateY(-7%); }
  to { transform: translateY(7%); }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: fx-reveal cubic-bezier(.16, 1, .3, 1) both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
    /* The hero image is sized 120% tall and offset -10%, so a ±7% drift never
       exposes an edge. Progressive enhancement: without view() it just sits still. */
    [data-parallax] {
      animation: fx-parallax linear both;
      animation-timeline: view();
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .utility__clock { display: none; }
  .nav { gap: 20px; }
}

/* Touch devices report a sticky :hover after a tap, which would leave a dropdown
   pinned open. There, only an explicit tap ([data-open]) opens a menu. */
@media (hover: none) {
  .nav__group:hover .nav__menu { display: none; }
  .nav__group[data-open="true"] .nav__menu { display: flex; }
}

@media (max-width: 900px) {
  .shell { padding-inline: 20px; }
  .site-footer__inner { padding-inline: 20px; }
  .section { padding-block: 56px; }

  .split, .split--narrow-left { grid-template-columns: 1fr; gap: 32px; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-top: 20px; }
  .form-card { padding: 24px; }

  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: var(--on-navy-strong);
    cursor: pointer;
  }

  .mainbar { position: relative; }
  .mainbar__inner { padding: 12px 20px; min-height: 64px; gap: 12px; }
  .utility__inner { padding-inline: 20px; }

  /* A slide-down panel rather than an in-flow stack: the header is sticky, and a
     growing header would shove the page down under the user's thumb. */
  .mainbar__right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .4);
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px 20px 20px;
  }
  .site-header[data-nav-open="true"] .mainbar__right { display: block; }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    white-space: normal;
  }
  .nav > a, .nav__toggle {
    padding: 15px 0;
    width: 100%;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__group { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__group .nav__toggle { border-bottom: 0; justify-content: space-between; }
  .nav > a[aria-current="page"] { border-bottom: 1px solid rgba(255, 255, 255, .08); }

  /* Date, time and directions — the two things the collapsed header gives up. */
  .nav__meta { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
  .nav__clock {
    display: flex;
    gap: 7px;
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--on-navy-faint);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .nav__directions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-bright);
  }

  /* Stacked accordion, not a floating card. */
  .nav__menu, .nav__menu--right {
    position: static;
    display: none;
    padding-top: 0;
    left: auto;
    right: auto;
    min-width: 0;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, .05);
    border-radius: 10px;
    overflow: hidden;
  }
  .nav__group:hover .nav__menu,
  .nav__group:focus-within .nav__menu { display: none; }
  .nav__group[data-open="true"] .nav__menu { display: flex; }

  .nav__menu > a { background: transparent; color: var(--on-navy); border-radius: 0; }
  .nav__menu > a:first-of-type,
  .nav__menu > a:last-of-type { border-radius: 0; }
  .nav__menu > a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

  .mainbar__cta { display: none; }

  .hero { min-height: 520px; }
  .hero__body { padding: 56px 20px; }
  .trust { padding: 56px 20px; }
  .page-band { height: 220px; }

  .mobile-cta { display: flex; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   Long-form content — service pages, blog posts, legal pages
   ============================================================ */

/* Constrained measure. 68ch is ~narrower than .shell on purpose: legal and
   clinical copy is read line by line, not scanned. */
.prose { max-width: 68ch; }
.prose--wide { max-width: 100%; }

.prose > * + * { margin-top: 1.15em; }

/* Two-column prose. A 68ch column alone in a 1180px shell strands half the page
   empty. Moving the heading beside the body fills the width without lengthening
   the line: the body column resolves to ~64ch, near enough the same measure. */
.prose--cols {
  max-width: 100%;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  column-gap: 56px;
  align-items: start;
}
/* The grid owns the space between head and body now. Without this the body,
   being an adjacent sibling, drops 1.15em below the heading's baseline row. */
.prose--cols > * + * { margin-top: 0; }
.prose__head .eyebrow + h2 { margin-top: 10px; }
.prose__body > * + * { margin-top: 1.15em; }

/* Must sit after the rule it overrides, not in the site-wide 900px block above:
   that block is earlier in the file, and at equal specificity the later
   declaration wins whether or not a media query gates it. */
@media (max-width: 900px) {
  /* Stacked. row-gap replaces the margin the grid rule above suppressed. */
  .prose--cols { grid-template-columns: 1fr; row-gap: 20px; }
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -.02em;
  margin-top: 2em;
}
.prose h3 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading);
  margin-top: 1.8em;
}
.prose h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-top: 1.6em;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--ink-muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--link); }

/* :not(.btn) matters. A bare `.prose a` outranks `.btn-primary` on specificity,
   so a button placed inside prose came out link-coloured and underlined —
   illegible against the accent fill in dark mode. */
.prose a:not(.btn) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:not(.btn):hover { color: var(--link-hover); }

.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.4em; }

.prose figure { margin-top: 2em; }
.prose img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  background: var(--img-bg);
}
.prose figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  text-align: center;
}

/* Sits inside .prose but breaks the measure — used for post-op warnings. */
.callout {
  background: var(--sand);
  border: 1px solid var(--border);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 2em;
}
.callout h3, .callout h4 { margin-top: 0; color: var(--danger); font-size: 16px; }
.callout p, .callout li { font-size: 15px; color: var(--ink-slate); }
.callout ul { margin-top: .8em; }

/* ---------- Article layout ---------- */

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 18px;
}
.article__meta time { font-variant-numeric: tabular-nums; }

.article__hero { margin-top: 40px; }
.article__hero img {
  width: 100%;
  height: clamp(220px, 38vw, 440px);
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--img-bg);
  display: block;
}

.article__body { margin-top: 48px; }

.article__end {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ---------- Blog index ---------- */

.post-list { display: grid; gap: 20px; margin-top: 40px; }

.post-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 22px rgba(48, 38, 24, .05);
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: var(--input-border);
  box-shadow: 0 14px 34px rgba(48, 38, 24, .1);
}
.post-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--img-bg);
  display: block;
}
.post-card__body { padding-right: 12px; }
.post-card__date {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.post-card__title {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  margin: 10px 0 0;
  letter-spacing: -.015em;
}
.post-card a { color: inherit; text-decoration: none; }
.post-card a:hover .post-card__title { color: var(--link); }
.post-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 12px 0 0;
  /* Excerpts vary from 40 to 90 words in the source content; clamp so the
     cards stay the same height regardless. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__more { font-size: 14px; font-weight: 700; color: var(--link); margin-top: 14px; }

/* ---------- Team ---------- */

.team-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 44px;
}
/* The source PNG is opaque: a circular portrait with white square corners baked
   in. No border-radius or background can hide those corners, so clip them off.
   The artwork's circle has radius 158 of a 350px frame — 45.1% — and a circle()
   percentage radius resolves against the box's side, so 45% lands just inside
   the cream edge and leaves no white halo on either background. */
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: circle(45%);
  display: block;
}
.team-card__name {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  letter-spacing: -.02em;
}
.team-card__quals {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--link);
  font-weight: 700;
  margin-top: 8px;
}

.credentials { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.credentials li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-muted);
}
.credentials li::before { content: "—"; color: var(--accent); font-weight: 700; }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }

.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: 0 8px 22px rgba(48, 38, 24, .05);
  display: flex;
  flex-direction: column;
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--display);
  font-size: 54px;
  line-height: .8;
  color: var(--accent);
  margin-bottom: 8px;
}
.quote figcaption { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.quote figcaption strong { display: block; color: var(--heading); font-size: 15px; }
.quote .chip { margin-top: 14px; align-self: flex-start; }

@media (max-width: 900px) {
  .post-card { grid-template-columns: 1fr; gap: 18px; }
  .post-card__body { padding-right: 0; }
  .team-card { grid-template-columns: 1fr; gap: 28px; }
  .team-card__photo { max-width: 320px; }
  .quote-grid { grid-template-columns: 1fr; }
}

/* ---------- Thank-you page ---------- */

.thanks {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.thanks__tick {
  width: 68px;
  height: 68px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--navy-deep);
}
.thanks h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--heading);
  margin: 12px 0 0;
}
.thanks__panel p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 18px 0 0;
}
.thanks__note {
  margin-top: 36px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-slate);
  text-align: left;
}
.thanks__note strong { color: var(--heading); }
.thanks__note a { color: var(--link); font-weight: 600; }
.thanks__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* Outline button for light (paper) backgrounds. .btn-ghost is white-on-transparent
   and only legible over the dark hero scrim. */
.btn-outline {
  background: transparent;
  border: 1px solid var(--input-border);
  color: var(--heading);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
}
.btn-outline:hover {
  background: var(--paper-warm);
  border-color: var(--link);
  color: var(--link);
  transform: translateY(-1px);
}

