/* ==========================================================================
   Auburn Centre Dental — design system
   Warm clinical editorial: bone paper, deep pine, copper accent.
   Copper is reserved for the single highest-intent action per page, the focus
   ring, and the booking progress indicator. Depth comes from soft warm shadow,
   not hairlines; rhythm comes from alternating light/dark full-bleed bands.
   ========================================================================== */

:root {
  /* --- Surfaces: warm paper stack ------------------------------------- */
  --surface-base: #f7f4ee;
  --surface-raised: #ffffff;
  --surface-tint: #e4ede8;
  --surface-sand: #efe8dd;

  /* --- Ink ------------------------------------------------------------- */
  --ink: #10201e;
  --ink-muted: #4a5b56;
  --ink-faint: #5f6f6a; /* 4.8:1 on bone, 5.3:1 on white — AA at 14px */

  /* --- Brand ----------------------------------------------------------- */
  --pine: #0e4a45;
  --pine-hover: #0a352f;
  --pine-deep: #062522;
  --copper: #b34a12;
  --copper-hover: #93390c;
  --line: #e2dbcf;
  --line-strong: #cfc6b6;

  /* Focus system: 2px ring + 2px contrasting offset, per-surface colours */
  --focus-ring: var(--copper); /* 4.9:1 on light surfaces */
  --focus-offset: #ffffff;

  /* --- Elevation: warm-tinted, layered --------------------------------- */
  --sh-sm: 0 1px 2px rgb(16 32 30 / 0.04), 0 2px 6px rgb(16 32 30 / 0.04);
  --sh-md: 0 2px 4px rgb(16 32 30 / 0.04), 0 10px 26px rgb(16 32 30 / 0.07);
  --sh-lg: 0 4px 10px rgb(16 32 30 / 0.05), 0 24px 56px rgb(16 32 30 / 0.11);
  --sh-xl: 0 8px 20px rgb(16 32 30 / 0.06), 0 40px 90px rgb(16 32 30 / 0.14);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Type scale: fluid, editorial ------------------------------------ */
  --t-caption: 0.875rem; /* 14px — non-essential metadata only */
  --t-body: clamp(1rem, 0.97rem + 0.15vw, 1.125rem); /* 16→18px */
  --t-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --t-h4: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --t-h3: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --t-h2: clamp(2rem, 1.45rem + 2.5vw, 3.125rem);
  --t-h1: clamp(2.25rem, 1.55rem + 3.2vw, 3.75rem);
  --t-display: clamp(2.5rem, 1.35rem + 4vw, 4.0625rem);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  --bar-h: 72px;
  --header-h: 76px;
  --section-pad: clamp(72px, 11vw, 144px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  text-underline-offset: 0.15em;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
svg { display: inline-block; width: 1.25em; height: 1.25em; max-width: 100%; vertical-align: -0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--pine); }
a:hover { color: var(--pine-hover); }
strong { font-weight: 650; }
::selection { background: var(--pine); color: #fff; }
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-offset), 0 0 0 4px var(--focus-ring);
  border-radius: var(--r-s);
}
/* Booking-step headings are given tabindex="-1" and focused so screen readers
   announce the new step. They are not Tab-reachable, so they take the
   announcement without painting a keyboard-focus ring. */
[tabindex='-1']:focus-visible { box-shadow: none; }
@media (max-width: 1023.98px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 16px); }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  padding: 12px 20px; background: var(--pine); color: #fff;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; color: #fff; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

/* --- Scroll reveal -------------------------------------------------------- */
/* Only armed once JS confirms it can un-hide them (html.js), so a JS failure
   or a no-JS browser never leaves content invisible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --- Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 480;
  line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h4); font-family: var(--font-body); font-weight: 650; letter-spacing: -0.005em; line-height: 1.25; }
h4 { font-size: var(--t-body); font-family: var(--font-body); font-weight: 650; letter-spacing: 0; line-height: 1.3; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-muted); text-wrap: pretty; }
/* The global `* { margin: 0 }` reset leaves a lead flush against its heading. */
h1 + .lead, h2 + .lead, h3 + .lead { margin-top: 18px; }
.section-pad { padding-block: var(--section-pad); }

/* Registered/trademark marks: Fraunces draws these full-size, which reads as a
   typo at display sizes. Scale and raise them instead. */
.reg {
  font-family: var(--font-body); font-size: 0.36em; font-weight: 500;
  vertical-align: 0.95em; letter-spacing: 0; margin-left: 0.06em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--pine); margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1.5px; flex: none;
  background: var(--copper); border-radius: 2px;
}
.section-head { max-width: 42rem; margin-bottom: clamp(40px, 5.5vw, 68px); }
.section-head p { margin-top: 16px; color: var(--ink-muted); font-size: var(--t-lead); line-height: 1.45; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* --- Buttons (≥48px, 16px+, pill) ----------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-size: 1rem; font-weight: 650; line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), transform 220ms var(--ease),
              box-shadow 220ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--accent {
  background: var(--copper); color: #fff; --focus-ring: var(--ink);
  box-shadow: 0 2px 8px rgb(179 74 18 / 0.24), 0 10px 24px rgb(179 74 18 / 0.16);
}
.btn--accent:hover {
  background: var(--copper-hover); color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(179 74 18 / 0.28), 0 16px 34px rgb(179 74 18 / 0.2);
}
.btn--outline { border-color: var(--line-strong); color: var(--pine); background: var(--surface-raised); }
.btn--outline:hover { background: var(--pine); border-color: var(--pine); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--light { background: #fff; color: var(--pine); }
.btn--light:hover { background: var(--surface-tint); color: var(--pine-hover); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--pine); background: transparent; }
.btn--ghost:hover { border-color: var(--pine); background: var(--surface-raised); color: var(--pine); }
.btn--sm { min-height: 46px; padding: 11px 22px; font-size: 0.9375rem; }
.btn--lg { min-height: 60px; padding: 17px 34px; font-size: 1.0625rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row .btn { min-height: 58px; padding-inline: 32px; }
.cta-row__note { margin-top: 16px; font-size: var(--t-caption); color: var(--ink-muted); }

/* Text link with a sliding arrow — used wherever a section defers to a page */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; font-weight: 650; text-decoration: none; color: var(--pine);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 260ms var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow::after {
  content: ''; position: absolute; /* underline drawn by the span below */
}
.link-arrow span { box-shadow: inset 0 -1.5px 0 currentColor; padding-bottom: 2px; }

/* --- Top utility bar ------------------------------------------------------- */
.topbar { background: var(--pine-deep); color: #fff; font-size: 12.5px; --focus-ring: #fff; --focus-offset: var(--pine-deep); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-block: 7px; }
.topbar__facts { font-weight: 500; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(255 255 255 / 0.86); }
.topbar__facts span { opacity: 0.4; margin-inline: 8px; }
.topbar__facts--short { display: none; }
@media (max-width: 1023.98px) {
  .topbar__facts--full { display: none; }
  .topbar__facts--short { display: block; }
}
.topbar__contact { display: none; flex: none; color: rgb(255 255 255 / 0.7); }
.topbar__contact a { color: #fff; font-weight: 650; text-decoration: none; box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.4); }
.topbar__contact a:hover { color: #fff; box-shadow: inset 0 -1px 0 #fff; }
@media (min-width: 1024px) { .topbar__contact { display: block; } }

/* --- Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface-base) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgb(16 32 30 / 0.06); }
.site-header__row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); min-height: 48px; flex: none; min-width: 0; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  background: var(--pine); color: #fff; border-radius: 13px;
  font-family: var(--font-display); font-weight: 560; font-size: 17px;
  box-shadow: var(--sh-sm);
  transition: transform 300ms var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 560; line-height: 1.1; white-space: nowrap; letter-spacing: -0.01em; }
.brand__name span { display: block; font-size: 0.74em; font-weight: 420; color: var(--ink-muted); letter-spacing: 0.04em; }
@media (max-width: 419.98px) { .brand__name { display: none; } }
.site-nav { display: none; align-items: center; gap: 2px; margin-inline: auto; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 10px 14px; border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font-size: 0.9688rem; font-weight: 550;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.site-nav__link svg { width: 16px; height: 16px; transition: transform 240ms var(--ease); }
.site-nav__link:hover { color: var(--pine); background: rgb(14 74 69 / 0.07); }
.dropdown { position: relative; }
.dropdown__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.dropdown__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 10px; box-shadow: var(--sh-lg);
  display: grid; gap: 2px;
}
.dropdown__panel a {
  display: flex; align-items: center; min-height: 44px; padding: 11px 16px;
  border-radius: var(--r-m); text-decoration: none; color: var(--ink); font-size: 0.9688rem;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.dropdown__panel a:hover { background: var(--surface-tint); color: var(--pine); }
.header-contact { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.header-contact a { text-decoration: none; white-space: nowrap; }
.header-contact__phone,
.header-contact__text {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px;
  color: var(--pine); font-weight: 600; font-size: 0.9688rem; border-radius: var(--r-pill);
  transition: background-color 200ms var(--ease);
}
.header-contact__phone:hover, .header-contact__text:hover { background: rgb(14 74 69 / 0.07); }
.header-contact__phone svg, .header-contact__text svg { width: 19px; height: 19px; }
.header-contact .btn--accent { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface-raised); color: var(--ink); cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.menu-btn:hover { background: var(--surface-tint); border-color: var(--pine); }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .header-contact__phone { display: inline-flex; }
  .header-contact .btn--accent { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1200px) { .header-contact__text { display: inline-flex; } }
@media (max-width: 1023.98px) {
  .header-contact__phone { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface-raised); color: var(--ink); }
  .header-contact__phone:hover { background: var(--surface-tint); }
  .header-contact__phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .header-contact .btn--accent { display: inline-flex; min-height: 46px; padding: 10px 20px; }
}

/* --- Menu overlay ------------------------------------------------------------ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background: var(--surface-base); padding: 16px 20px calc(32px + env(safe-area-inset-bottom));
}
.menu-overlay__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.menu-overlay__contact { display: grid; gap: 10px; margin-block: 8px 28px; }
.menu-overlay__contact .btn { min-height: 54px; }
.menu-overlay__label { font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-block: 24px 4px; }
.menu-overlay__nav a {
  display: flex; align-items: center; min-height: 54px; padding: 12px 4px;
  color: var(--ink); text-decoration: none; font-size: 1.1875rem; font-weight: 550;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
}
.menu-overlay__nav a:hover { color: var(--pine); }

/* --- Mobile sticky action bar ------------------------------------------------ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface-base) 86%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.actionbar__item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 48px; border: 0; background: none; cursor: pointer;
  color: var(--pine); text-decoration: none; font-size: 0.8125rem; font-weight: 600;
}
.actionbar__item svg { width: 23px; height: 23px; }
.actionbar__item--accent { color: #fff; }
.actionbar__item--accent span,
.actionbar__item--accent svg { position: relative; z-index: 1; }
.actionbar__item--accent::before {
  content: ''; position: absolute; width: 68px; height: 50px;
  background: var(--copper); border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgb(179 74 18 / 0.3);
}
.actionbar__item--accent:hover { color: #fff; }
.actionbar__item--accent:hover::before { background: var(--copper-hover); }
@media (min-width: 1024px) { .actionbar { display: none; } }

/* --- Bottom sheet ------------------------------------------------------------ */
.sheet { position: fixed; inset: 0; z-index: 210; }
.sheet__backdrop { position: absolute; inset: 0; background: rgb(6 37 34 / 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto;
  background: var(--surface-base); border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px rgb(6 37 34 / 0.25);
}
.sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.sheet__head p { font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; }
.sheet__links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 54px; padding: 12px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 550;
}
.sheet__links a svg { width: 18px; height: 18px; color: var(--pine); }
.sheet__links a:hover { color: var(--pine); }

/* --- Hero: cinematic full-bleed, with the booking entry inside it ------------
   The photograph runs edge to edge under the header; a layered scrim carries
   white type at ≥7:1; and the primary action is not a single button but an
   intent router that deep-links into /book/?visit=… with the visit
   preselected, so the first click is already the first booking step. */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(90vh, 880px);
  margin-top: calc(-1 * var(--header-h)); /* the sticky header overlays it */
  padding-block: calc(var(--header-h) + clamp(48px, 9vw, 104px)) clamp(44px, 6vw, 76px);
  overflow: clip;
  color: #fff;
  --focus-ring: #fff; --focus-offset: rgb(6 37 34 / 0.9);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--pine-deep); }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
/* The source is a bright, flat clinical interior; a little contrast and a
   slightly cooler exposure keep it from reading as haze under the scrim. */
.hero__bg img { object-fit: cover; object-position: center 38%; filter: contrast(1.08) saturate(1.06) brightness(0.92); }
/* A slow settle-in, not a loop — cinematic without pulling focus. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: hero-drift 24s cubic-bezier(0.16, 0.8, 0.3, 1) forwards; }
}
@keyframes hero-drift { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Scrim: a flat floor for legibility, a directional wash so the copy side is
   darkest, and a top fade so the overlaid header stays readable. */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(6 37 34 / 0.55) 0%, rgb(6 37 34 / 0) 24%),
    linear-gradient(92deg, rgb(6 37 34 / 0.82) 0%, rgb(6 37 34 / 0.66) 38%, rgb(6 37 34 / 0.26) 72%, rgb(6 37 34 / 0.12) 100%),
    linear-gradient(0deg, rgb(6 37 34 / 0.5) 0%, rgb(6 37 34 / 0) 52%);
}
.hero__inner { position: relative; width: 100%; }
.hero h1 {
  font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.03em;
  color: #fff; max-width: 17ch; margin-bottom: 22px;
  text-shadow: 0 2px 24px rgb(6 37 34 / 0.4);
}
.hero .lead { color: rgb(255 255 255 / 0.86); max-width: 40rem; margin-bottom: clamp(32px, 4vw, 44px); }
.hero .eyebrow { color: rgb(255 255 255 / 0.82); }
.hero .eyebrow::before { background: var(--copper); }

/* --- Intent router: four doors into the booking flow ------------------------ */
.intent { max-width: 60rem; }
.intent__label {
  font-size: var(--t-caption); font-weight: 650; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgb(255 255 255 / 0.7); margin-bottom: 14px;
}
.intent__grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
.intent__card {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 15px 18px;
  border: 1px solid rgb(255 255 255 / 0.24); border-radius: var(--r-m);
  /* Smoked glass, not white glass: the photograph behind these cards is a
     near-white operatory, and a light tint left the sub-labels at 2.8:1.
     At 0.78 the label holds 8:1 and the sub-label 5.4:1 over the worst pixel. */
  background: rgb(6 37 34 / 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  text-decoration: none; color: #fff;
  transition: background-color 260ms var(--ease), border-color 260ms var(--ease),
              transform 260ms var(--ease), color 260ms var(--ease);
}
.intent__card:hover { background: #fff; border-color: #fff; color: var(--pine-deep); transform: translateY(-3px); }
.intent__icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: rgb(255 255 255 / 0.16); color: #fff;
  transition: background-color 260ms var(--ease), color 260ms var(--ease);
}
.intent__icon svg { width: 19px; height: 19px; }
.intent__card:hover .intent__icon { background: var(--copper); color: #fff; }
.intent__card strong { display: block; font-size: 1rem; font-weight: 650; line-height: 1.25; }
.intent__card small { display: block; font-size: 0.8125rem; color: rgb(255 255 255 / 0.75); margin-top: 3px; }
.intent__card:hover small { color: var(--ink-muted); }
.intent__card--urgent { border-color: rgb(217 119 66 / 0.6); background: rgb(46 20 8 / 0.8); }
.intent__card--urgent .intent__icon { background: var(--copper); }
.intent__alt { margin-top: 22px; font-size: 1rem; color: rgb(255 255 255 / 0.78); }
.intent__alt a { color: #fff; font-weight: 650; text-decoration: none; box-shadow: inset 0 -1.5px 0 rgb(255 255 255 / 0.55); }
.intent__alt a:hover { color: #fff; box-shadow: inset 0 -1.5px 0 #fff; }
/* Two across from 380px so all four doors sit above the fold on a phone; the
   card stacks its label under the icon there, rather than squeezing two lines
   of text into the space left beside it. */
@media (min-width: 380px) {
  .intent__grid { grid-template-columns: repeat(2, 1fr); }
  .intent__card { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 116px; padding: 16px; }
}
@media (min-width: 1100px) {
  .intent__grid { grid-template-columns: repeat(4, 1fr); }
  .intent__card { gap: 16px; min-height: 132px; padding: 20px; }
}

/* --- Header over the hero (homepage only) ----------------------------------- */
body.home .site-header:not(.is-scrolled) {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none;
  --focus-ring: #fff; --focus-offset: rgb(6 37 34 / 0.9);
}
body.home .site-header:not(.is-scrolled) .brand,
body.home .site-header:not(.is-scrolled) .site-nav__link,
body.home .site-header:not(.is-scrolled) .header-contact__phone,
body.home .site-header:not(.is-scrolled) .header-contact__text { color: #fff; }
body.home .site-header:not(.is-scrolled) .brand__name span { color: rgb(255 255 255 / 0.7); }
body.home .site-header:not(.is-scrolled) .brand__mark { background: #fff; color: var(--pine-deep); }
body.home .site-header:not(.is-scrolled) .site-nav__link:hover,
body.home .site-header:not(.is-scrolled) .header-contact__phone:hover,
body.home .site-header:not(.is-scrolled) .header-contact__text:hover { background: rgb(255 255 255 / 0.16); color: #fff; }
body.home .site-header:not(.is-scrolled) .menu-btn {
  background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.34); color: #fff;
}
body.home .site-header:not(.is-scrolled) .menu-btn:hover { background: rgb(255 255 255 / 0.24); }
/* Below 1024px the phone control becomes a filled circle button. Over the hero
   its white ground would swallow the now-white icon, so it takes the same
   translucent treatment as the menu button. */
@media (max-width: 1023.98px) {
  body.home .site-header:not(.is-scrolled) .header-contact__phone {
    background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.34); color: #fff;
  }
  body.home .site-header:not(.is-scrolled) .header-contact__phone:hover { background: rgb(255 255 255 / 0.24); }
}

/* --- Photo slot (real image when available, placeholder otherwise) ------------ */
.photo-slot {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3); background: var(--surface-tint);
}
.photo-slot > svg, .photo-slot > picture, .photo-slot > picture > img { display: block; width: 100%; height: 100%; }
.photo-slot > img, .photo-slot > picture > img { object-fit: cover; }
.photo-slot__tag {
  position: absolute; left: 14px; bottom: 14px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-muted);
}

/* --- Credential rail: one quiet horizontal line, not four boxes -------------- */
.credrail {
  display: grid; gap: 0; grid-template-columns: 1fr;
  border-block: 1px solid var(--line);
}
.credrail__item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 24px 4px; text-decoration: none; color: var(--ink); min-height: 48px;
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease);
}
.credrail__item:last-child { border-bottom: 0; }
.credrail__item svg { width: 20px; height: 20px; flex: none; color: var(--copper); margin-top: 3px; }
.credrail__item strong { display: block; font-size: 0.9688rem; font-weight: 650; line-height: 1.35; }
.credrail__item small { display: block; font-size: var(--t-caption); color: var(--ink-faint); margin-top: 3px; }
a.credrail__item:hover { color: var(--pine); }
a.credrail__item:hover small { color: var(--pine); }
@media (min-width: 640px) { .credrail { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1024px) {
  .credrail { grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
  .credrail__item { border-bottom: 0; padding-block: 30px; }
}

/* --- Credentials strip (interior pages + footer) ----------------------------- */
.credentials { display: grid; gap: 12px; grid-template-columns: 1fr; }
.credentials__item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 18px 20px; background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--r-m);
  text-decoration: none; color: var(--ink); min-height: 48px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.credentials__item svg { width: 21px; height: 21px; flex: none; color: var(--copper); margin-top: 2px; }
.credentials__item strong { display: block; font-size: 0.9688rem; line-height: 1.35; font-weight: 650; }
.credentials__item small { display: block; font-size: var(--t-caption); color: var(--ink-faint); margin-top: 3px; }
a.credentials__item:hover { border-color: var(--pine); box-shadow: var(--sh-md); transform: translateY(-2px); }
@media (min-width: 640px) { .credentials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .credentials { grid-template-columns: repeat(4, 1fr); } }
.credentials--footer { margin-block: 56px 32px; }
.credentials--footer .credentials__item { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.14); color: #fff; }
.credentials--footer .credentials__item svg { color: #fff; opacity: 0.75; }
.credentials--footer .credentials__item small { color: rgb(255 255 255 / 0.6); }
.credentials--footer a.credentials__item:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.09); box-shadow: none; }
.credentials--footer a.credentials__item { --focus-ring: #fff; --focus-offset: var(--pine-deep); }

/* --- Emergency band ----------------------------------------------------------- */
.emergency-strip {
  position: relative; overflow: hidden;
  background: var(--pine-deep); color: #fff;
  padding-block: clamp(44px, 6vw, 72px);
  --focus-ring: #fff; --focus-offset: var(--pine-deep);
}
.emergency-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 88% 50%, rgb(179 74 18 / 0.28), transparent 70%),
    radial-gradient(50% 130% at 8% 30%, rgb(14 74 69 / 0.9), transparent 70%);
  pointer-events: none;
}
.emergency-strip > * { position: relative; }
.emergency-strip__row { display: grid; gap: 28px; align-items: center; }
.emergency-strip h2 { color: #fff; font-size: var(--t-h3); margin-bottom: 10px; }
.emergency-strip p { color: rgb(255 255 255 / 0.76); max-width: 44rem; }
.emergency-strip .btn { justify-self: start; }
@media (min-width: 900px) { .emergency-strip__row { grid-template-columns: 1fr auto; gap: 40px; } }

/* --- Bento grid (nine services) ------------------------------------------------ */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bento__tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 26px; min-height: 168px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-l);
  text-decoration: none; color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.bento__tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.bento__tile h3 { font-size: 1.0625rem; }
.bento__tile p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.5; }
.bento__arrow {
  position: absolute; top: 22px; right: 22px;
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--surface-tint); color: var(--pine);
  transition: transform 320ms var(--ease), background-color 320ms var(--ease), color 320ms var(--ease);
}
.bento__arrow svg { width: 17px; height: 17px; }
.bento__tile:hover .bento__arrow { background: var(--copper); color: #fff; transform: translate(3px, -3px); }

/* Feature tiles: pine ground, photograph washed in behind the copy */
.bento__tile--lg {
  min-height: 260px; padding: 30px;
  background: var(--pine); border-color: var(--pine); color: #fff;
  --focus-ring: #fff; --focus-offset: var(--pine);
}
.bento__tile--lg h3 { font-family: var(--font-display); font-weight: 540; font-size: var(--t-h3); letter-spacing: -0.02em; }
.bento__tile--lg p { color: rgb(255 255 255 / 0.76); font-size: 0.9688rem; max-width: 34ch; }
.bento__tile--lg:hover { color: #fff; border-color: var(--pine); }
.bento__tile--lg .bento__arrow { background: rgb(255 255 255 / 0.16); color: #fff; }
.bento__tile--lg:hover .bento__arrow { background: var(--copper); }
.bento__bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.4; filter: saturate(0.7);
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
}
.bento__bg img { width: 100%; height: 100%; object-fit: cover; }
.bento__tile--lg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(6 37 34 / 0.15) 0%, rgb(6 37 34 / 0.82) 62%, rgb(6 37 34 / 0.94) 100%);
}
.bento__tile--lg:hover .bento__bg { opacity: 0.42; transform: scale(1.05); }
/* Lift the copy above the ::after scrim. The arrow is already positioned —
   it only needs the stacking level, never a `position` of its own. */
.bento__tile--lg h3, .bento__tile--lg p { position: relative; z-index: 2; }
.bento__tile--lg .bento__arrow { z-index: 2; }
/* Index tile: closes the one cell the 2 feature + 7 standard tiles leave open
   on a 4-column grid, and gives the section a real exit. */
.bento__tile--index { background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.bento__tile--index h3 { color: var(--pine); }
.bento__tile--index:hover { background: var(--surface-raised); border-style: solid; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .bento__tile--lg { grid-column: span 2; grid-row: span 2; }
}

/* --- Split section: photograph beside a claim ---------------------------------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__media .photo-slot { border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__media { order: 2; }
}
.split__list { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 20px; }
.split__list li { display: flex; gap: 14px; align-items: flex-start; }
.split__list svg { width: 22px; height: 22px; flex: none; color: var(--copper); margin-top: 2px; }
.split__list strong { display: block; margin-bottom: 3px; }
.split__list p { color: var(--ink-muted); font-size: 0.9688rem; }

/* --- Fee chips / tables --------------------------------------------------------- */
.fee-chips { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fee-chips { grid-template-columns: repeat(3, 1fr); } }
.fee-chip {
  display: flex; flex-direction: column; gap: 8px; padding: 28px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--sh-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.fee-chip:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.fee-chip__label { font-size: 0.9375rem; color: var(--ink-muted); order: 2; }
.fee-chip__value {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); font-weight: 500; color: var(--pine);
  font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.05; order: 1;
}
/* Honest fallback: until the practice confirms a price, the value slot is a
   call link. It keeps the weight of a number so the card still reads as an
   answer rather than a gap. */
.fee-chip__value a {
  font-size: 1.5rem; font-family: var(--font-body); font-weight: 650;
  color: var(--copper); text-decoration: none;
  box-shadow: inset 0 -2px 0 rgb(179 74 18 / 0.3);
}
.fee-chip__value a:hover { color: var(--copper-hover); box-shadow: inset 0 -2px 0 var(--copper-hover); }
.fee-table { width: 100%; border-collapse: collapse; background: var(--surface-raised); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.fee-table th, .fee-table td { text-align: left; padding: 18px 22px; font-size: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { font-weight: 650; }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: 0; }
/* The service description lives in the row's <th>, not a <td>. */
.fee-table th small, .fee-table td small { display: block; color: var(--ink-muted); font-size: var(--t-caption); font-weight: 400; margin-top: 5px; }
.fee-table td:last-child { white-space: nowrap; font-weight: 650; color: var(--pine); }

/* --- Cards (generic), team, articles ---------------------------------------------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 30px; box-shadow: var(--sh-sm);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-muted); }
.article-card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-l);
  text-decoration: none; color: var(--ink); box-shadow: var(--sh-sm);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.article-card:hover { border-color: transparent; color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-lg); }
.article-card h3 { font-family: var(--font-display); font-weight: 540; font-size: 1.3125rem; letter-spacing: -0.015em; }
.article-card p { color: var(--ink-muted); font-size: 0.9688rem; }
.article-card__meta { margin-top: auto; padding-top: 8px; font-size: var(--t-caption); font-weight: 650; color: var(--pine); display: inline-flex; align-items: center; gap: 8px; }
.article-card__meta svg { width: 16px; height: 16px; transition: transform 260ms var(--ease); }
.article-card:hover .article-card__meta svg { transform: translateX(4px); }
.team-card { text-align: left; }
.team-card .photo-slot { margin-bottom: 20px; aspect-ratio: 1; border-radius: var(--r-m); }
.team-card__role { color: var(--copper); font-weight: 650; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.team-card__meta { font-size: var(--t-caption); color: var(--ink-muted); margin-top: 12px; }
.team-card .btn { margin-top: 20px; }

/* --- Steps ---------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; display: grid; gap: 24px; counter-reset: step; }
.steps__item { display: flex; gap: 18px; align-items: flex-start; }
.steps__num {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px;
  border-radius: 50%; background: var(--pine); color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 560;
  box-shadow: var(--sh-sm);
}
.steps__item h3 { margin-bottom: 6px; }
.steps__item p { color: var(--ink-muted); max-width: 56ch; font-size: 0.9688rem; }

/* Row variant: a connecting rule runs behind the numerals */
@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
  .steps--row .steps__item { flex-direction: column; gap: 20px; }
  .steps--row .steps__item { position: relative; }
  .steps--row .steps__item::before {
    content: ''; position: absolute; top: 23px; left: 46px; right: -28px; height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 11px);
  }
  .steps--row .steps__item:last-child::before { display: none; }
}

/* --- FAQ -------------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--sh-sm); transition: border-color 200ms var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 18px 22px; cursor: pointer;
  font-size: 1.0313rem; font-weight: 600; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { box-shadow: 0 0 0 2px var(--focus-offset), 0 0 0 4px var(--focus-ring); border-radius: var(--r-m); }
.faq__icon svg { width: 20px; height: 20px; color: var(--pine); transition: transform 260ms var(--ease); }
.faq__item[open] .faq__icon svg { transform: rotate(180deg); }
.faq__body { padding: 0 22px 22px; color: var(--ink-muted); max-width: 64ch; }
.faq__body p + p { margin-top: 12px; }

/* --- CTA band: dark close ------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--pine-deep); color: #fff;
  padding-block: clamp(64px, 9vw, 116px); text-align: center;
  --focus-ring: #fff; --focus-offset: var(--pine-deep);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 90% at 50% 0%, rgb(14 74 69 / 0.95), transparent 70%),
    radial-gradient(40% 80% at 82% 100%, rgb(179 74 18 / 0.26), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgb(255 255 255 / 0.72); max-width: 40rem; margin: 0 auto 34px; font-size: var(--t-lead); }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn--outline { background: transparent; border-color: rgb(255 255 255 / 0.4); color: #fff; }
.cta-band .btn--outline:hover { background: #fff; border-color: #fff; color: var(--pine-deep); }

/* --- Footer --------------------------------------------------------------------------------- */
.site-footer {
  background: var(--pine-deep); color: rgb(255 255 255 / 0.7);
  padding-block: clamp(60px, 8vw, 100px) 36px;
  --focus-ring: #fff; --focus-offset: var(--pine-deep);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: rgb(255 255 255 / 0.75); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }
.site-footer__brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 540; color: #fff; margin-bottom: 18px; letter-spacing: -0.015em; }
.site-footer address { font-style: normal; line-height: 1.65; }
.site-footer__contact { margin-top: 16px; line-height: 1.8; }
.site-footer__contact a { text-decoration: none; box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.35); }
.site-footer__hours { margin-top: 18px; display: grid; gap: 3px; }
.site-footer__hours div { display: flex; justify-content: space-between; max-width: 230px; }
.site-footer__hours-note, .footer__hours-note { margin-top: 18px; }
/* 0.58 alpha = 6.2:1 on the pine ground; 0.45 fell to 4.3:1 at this size. */
.site-footer__label { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.58); margin-bottom: 14px; }
.site-footer nav a { display: block; min-height: 42px; padding: 7px 0; text-decoration: none; font-size: 0.9688rem; }
.site-footer__map { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 1px solid rgb(255 255 255 / 0.28); border-radius: var(--r-pill); text-decoration: none; font-weight: 650; font-size: 0.9375rem; transition: background-color 220ms var(--ease), border-color 220ms var(--ease); }
.site-footer__map:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); color: #fff; }
.site-footer__map svg { width: 19px; height: 19px; }
.site-footer__note { margin-top: 16px; font-size: var(--t-caption); line-height: 1.6; }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / 0.13); padding-top: 28px; display: grid; gap: 9px; font-size: var(--t-caption); color: rgb(255 255 255 / 0.55); }

/* --- Consent banner --------------------------------------------------------------------------- */
.consent {
  position: fixed; z-index: 150; left: 12px; right: 12px;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 12px);
  padding: 18px 20px; background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--sh-xl);
  font-size: var(--t-caption);
}
.consent p { color: var(--ink-muted); line-height: 1.55; }
.consent__actions { display: flex; gap: 10px; margin-top: 16px; }
.consent__actions .btn { flex: 1; }
.consent__fine { margin-top: 12px; }
@media (min-width: 1024px) {
  .consent { left: auto; right: 24px; bottom: 24px; max-width: 390px; }
}

/* --- Forms --------------------------------------------------------------------------------------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.9688rem; font-weight: 600; }
.field .hint { font-size: var(--t-caption); color: var(--ink-muted); }
.field input, .field select, .field textarea {
  min-height: 54px; padding: 14px 18px; font-size: 1rem;
  background: var(--surface-raised); border: 1.5px solid var(--line-strong); border-radius: var(--r-m);
  width: 100%; transition: border-color 200ms var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--copper); box-shadow: 0 0 0 2px var(--focus-offset), 0 0 0 4px var(--focus-ring);
}
.field [aria-invalid='true'] { border-color: var(--copper); }
.field .error { font-size: var(--t-caption); color: var(--copper-hover); font-weight: 600; }

/* --- Booking flow ----------------------------------------------------------------------------------- */
.book { max-width: 580px; margin-inline: auto; padding-block: clamp(36px, 6vw, 72px); }
.book__progress { display: flex; gap: 10px; margin-bottom: 36px; list-style: none; padding: 0; }
.book__progress li {
  flex: 1; padding-top: 12px; border-top: 3px solid var(--line);
  font-size: var(--t-caption); font-weight: 600; color: var(--ink-faint);
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.book__progress li[aria-current='step'] { border-top-color: var(--copper); color: var(--ink); }
.book__progress li.is-done { border-top-color: var(--pine); }
.visit-types { display: grid; gap: 12px; }
.visit-type {
  display: flex; align-items: center; gap: 14px; min-height: 56px;
  padding: 16px 20px; text-align: left; cursor: pointer;
  background: var(--surface-raised); border: 1.5px solid var(--line-strong); border-radius: var(--r-m);
  font-size: 1rem; font-weight: 600;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.visit-type:hover { border-color: var(--pine); box-shadow: var(--sh-sm); }
.visit-type small { display: block; font-weight: 400; color: var(--ink-muted); font-size: var(--t-caption); margin-top: 2px; }
.visit-type[aria-pressed='true'] { border-color: var(--pine); background: var(--surface-tint); }
.day-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(68px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.day-btn {
  min-height: 60px; border: 1.5px solid var(--line-strong); border-radius: var(--r-m);
  background: var(--surface-raised); cursor: pointer; font-weight: 600; font-size: var(--t-caption);
  display: grid; place-content: center; gap: 3px;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.day-btn:hover { border-color: var(--pine); }
.day-btn[aria-pressed='true'] { border-color: var(--pine); background: var(--surface-tint); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 18px; }
.slot-btn {
  min-height: 50px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface-raised); cursor: pointer; font-weight: 650; font-size: 1rem;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.slot-btn:hover:not(:disabled) { border-color: var(--copper); color: var(--copper); }
.slot-btn[aria-pressed='true'] { border-color: var(--copper); background: var(--copper); color: #fff; --focus-ring: var(--ink); }
.slot-btn:disabled { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }
.book__hold { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-m); background: var(--surface-sand); font-size: var(--t-caption); font-weight: 600; }
.book__nav { display: flex; gap: 12px; margin-top: 32px; }
.book__nav .btn { flex: 1; }
/* The step controls are the last thing in the document, and the fixed action
   bar floats over that region. Body padding reserves the bar's height, but
   selecting a slot inserts the hold panel and slides these buttons down into
   it — so they get their own clearance and scroll margin as well. */
@media (max-width: 1023.98px) {
  .book__nav { margin-bottom: 20px; scroll-margin-bottom: calc(var(--bar-h) + 24px); }
}
.book__summary { background: var(--surface-tint); border-radius: var(--r-m); padding: 22px 24px; margin-bottom: 22px; }
.book__summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.book__summary dt { color: var(--ink-muted); font-size: var(--t-caption); }
.book__summary dd { font-weight: 600; }
.demo-note { font-size: 12px; color: var(--ink-faint); margin-top: 14px; line-height: 1.5; }
.toggle { display: flex; gap: 10px; }
.toggle button {
  flex: 1; min-height: 50px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface-raised); cursor: pointer; font-weight: 650; font-size: 1rem;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.toggle button[aria-pressed='true'] { border-color: var(--pine); background: var(--pine); color: #fff; --focus-ring: var(--copper); --focus-offset: #fff; }

/* --- Page hero (interior pages) ------------------------------------------------------------------------ */
/* Interior heroes share the homepage's left gutter: the measure is capped on
   the text itself, not by shrinking the element, so the wrap's own centring
   still lines the hero up with every section below it. */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 52px); }
.page-hero h1 { margin-bottom: 20px; max-width: 20ch; }
.page-hero .lead { margin-bottom: 32px; max-width: 46rem; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose ul { margin: 1.1em 0; padding-left: 1.3em; }
.prose li { padding-left: 0.2em; }
.prose li::marker { color: var(--copper); }
.prose li + li { margin-top: 0.5em; }
.prose h2 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose h3 { margin-top: 1.4em; margin-bottom: 0.4em; }

/* --- Emergency page -------------------------------------------------------------------------------------- */
.sos { padding-block: clamp(32px, 5vw, 60px); }
.sos__call { width: 100%; min-height: 60px; font-size: 1.125rem; }
.sos__status { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--surface-raised); border: 1px solid var(--line); font-size: var(--t-caption); font-weight: 600; box-shadow: var(--sh-sm); }
.sos__status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 4px rgb(14 74 69 / 0.16); }
.symptom-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 18px 28px; }
.symptom-chips a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); color: var(--pine); text-decoration: none; font-weight: 600; font-size: 0.9688rem; background: var(--surface-raised); transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.symptom-chips a:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
.red-flag { border-left: 4px solid var(--copper); background: var(--surface-sand); padding: 20px 24px; border-radius: 0 var(--r-m) var(--r-m) 0; margin-block: 28px; }

/* --- Section grounds ------------------------------------------------------------------------ */
.section--tint { background: var(--surface-tint); }
.section--sand { background: var(--surface-sand); }
.section--dark {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--pine-deep); color: rgb(255 255 255 / 0.76);
  --focus-ring: #fff; --focus-offset: var(--pine-deep);
}
.section--dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 100% at 20% 0%, rgb(14 74 69 / 0.9), transparent 70%);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .eyebrow { color: rgb(255 255 255 / 0.75); }
.section--dark .section-head p, .section--dark p { color: rgb(255 255 255 / 0.72); }

/* --- Motion preferences ------------------------------------------------------------------------------------- */
@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; }
}

/* --- Print -------------------------------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .actionbar, .consent, .menu-overlay, .sheet, .cta-band, .site-footer { display: none !important; }
  body { padding-bottom: 0; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
