/* Tantalus Chiropractic & Wellness
   "Linen and sage": an oat-linen ground, sage rules, deep moss type.
   Gilda Display for headings, Alegreya Sans for text (19px, never under 17px).
   Coral is only for booking buttons, always with dark text. Maya blue is only a pale tint.
   One signature: the leaf-framed photo in the home hero. It isn't repeated anywhere else. */

:root {
  --linen: #F3EDE3;        /* page */
  --oat: #EAE1D2;          /* alternate band */
  --paper: #FBF8F3;        /* panels */
  --sage-tint: #E2E8DB;
  --sage: #9DB094;         /* rules, markers */
  --rule: #C9D1BF;
  --eucalyptus: #3D5A46;   /* links */
  --moss: #24302A;         /* headings */
  --text: #2B352F;         /* body text */
  --text-soft: #46514A;    /* secondary text, still about 7:1 on linen */
  --clay-ink: #84502F;     /* credentials, index numbers */
  --sky-tint: #E4F1FB;     /* Maya blue, as a tint only */
  --maya: #73C2FB;
  --coral: #F88379;        /* booking only */
  --coral-hover: #F46F64;
  --on-coral: #33191A;
  --focus: #1F5F86;
  --forest: #26342B;       /* footer */
  --forest-2: #2F4236;     /* follow band */
  --on-dark: #EEF1EA;
  --on-dark-soft: #CBD5C6;

  --serif: "Gilda Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif;

  --t-body: 1.1875rem;     /* 19px */
  --t-small: 1.0625rem;    /* 17px, the floor */
  --t-lead: 1.3125rem;
  --t-h3: 1.6rem;
  --t-h2: clamp(2rem, 1.45rem + 2.1vw, 3rem);
  --t-h1: clamp(2.4rem, 1.5rem + 3.3vw, 4.15rem);

  --leaf: 200px 28px 200px 28px;
  --radius: 14px;
  --radius-lg: 32px;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4rem, 8.5vw, 7.5rem);
  --header-h: 5.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure { margin: 0; }
a { color: var(--eucalyptus); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--moss); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; color: var(--moss);
  line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 0.5em; text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.06; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
address { font-style: normal; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--paper); color: var(--moss); padding: 0.7rem 1.1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.5rem;
  font: 700 var(--t-small)/1.2 var(--sans);
  text-decoration: none; text-align: center; border-radius: 999px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn--book { background: var(--coral); color: var(--on-coral); box-shadow: 0 10px 22px -14px rgba(176, 72, 62, 0.7); }
.btn--book:hover { background: var(--coral-hover); color: var(--on-coral); }
.btn--lg { min-height: 3.75rem; padding: 1rem 2.1rem; font-size: 1.25rem; }
.btn--quiet { color: var(--moss); background: transparent; box-shadow: inset 0 0 0 1.5px var(--sage); }
.btn--quiet:hover { color: var(--moss); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--eucalyptus); }

/* ---------- Header: one simple top line ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 237, 227, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.top__in { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); min-height: var(--header-h); }
.top__logo { flex: none; line-height: 0; }
.top__logo img { width: 142px; height: auto; }
.top__nav { margin-left: auto; }
.top__nav ul { display: flex; gap: clamp(1.1rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.top__nav a, .top__call {
  color: var(--moss); text-decoration: none; font-weight: 500; font-size: var(--t-small);
  padding-block: 0.35rem; border-bottom: 1.5px solid transparent; white-space: nowrap;
}
.top__nav a:hover, .top__call:hover { color: var(--moss); border-bottom-color: var(--sage); }
.top__call { font-variant-numeric: lining-nums tabular-nums; }
.top__book { flex: none; min-height: 3.4rem; padding-inline: 2rem; font-size: 1.1875rem; }

/* Phone menu: a <details> disclosure, no script needed to open it */
.menu { display: none; }
.menu__toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 3rem; padding: 0.55rem 0.9rem; border-radius: 999px;
  font-weight: 700; font-size: var(--t-small); color: var(--moss);
  box-shadow: inset 0 0 0 1.5px var(--sage); cursor: pointer; list-style: none;
  -webkit-user-select: none; user-select: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu[open] .menu__toggle { background: var(--moss); color: var(--linen); box-shadow: none; }
.menu[open] .menu__icon path { d: path("M6 6l12 12M18 6L6 18"); }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -24px rgba(36, 48, 42, 0.45);
}
.menu__grid { display: grid; gap: 1.5rem; padding-block: 1.5rem 1.75rem; }
.menu__heading { font: 700 var(--t-small)/1.3 var(--sans); color: var(--text-soft); margin: 0 0 0.4rem; letter-spacing: 0; }
.menu__panel ul { margin: 0; padding: 0; list-style: none; }
.menu__panel li + li { border-top: 1px solid var(--sage-tint); }
.menu__panel li a {
  display: flex; align-items: center; min-height: 3rem; padding-block: 0.35rem;
  color: var(--moss); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2;
}
.menu__panel li a:hover { color: var(--eucalyptus); text-decoration: underline; text-decoration-thickness: 1px; }
.menu__panel a[aria-current="page"] { color: var(--eucalyptus); text-decoration: underline; text-decoration-color: var(--sage); }
.menu__call { margin: 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.menu__call a { font-weight: 700; }

@media (max-width: 1120px) {
  .top__call { display: none; }
}
@media (max-width: 940px) {
  :root { --header-h: 4.5rem; }
  .top__nav { display: none; }
  .top__in { gap: 0.6rem; }
  .top__logo { margin-right: auto; }
  .top__logo img { width: 130px; }
  .top__book { min-height: 3rem; padding-inline: 1.3rem; font-size: 1.125rem; }
  .menu { display: block; }
}
@media (max-width: 380px) {
  .top__logo img { width: 112px; }
  .menu__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu__toggle { padding-inline: 0.75rem; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(2rem, 4.5vw, 4rem) 0 var(--section); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.8rem); max-width: 16.5ch; margin-bottom: 0.4em; }
.hero__lede { font-size: var(--t-lead); line-height: 1.5; color: var(--text); max-width: 33rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__call { display: flex; flex-direction: column; line-height: 1.3; text-decoration: none; color: var(--moss); }
.hero__call span { font-size: var(--t-small); color: var(--text-soft); }
.hero__call strong { font-size: 1.35rem; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.hero__call:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.hero__svc { margin-top: clamp(2rem, 3.5vw, 2.5rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); max-width: 34rem; }
.hero__svc-title { font: 700 var(--t-small)/1.3 var(--sans); color: var(--moss); margin: 0 0 0.6rem; letter-spacing: 0; }
.hero__svc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.hero__svc a {
  display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.3rem;
  color: var(--moss); text-decoration: none; font-size: var(--t-small); font-weight: 500;
}
.hero__svc a::before {
  content: ""; flex: none; width: 0.55rem; height: 0.55rem; transform: translateY(-0.05rem);
  border-radius: 0.55rem 0.1rem 0.55rem 0.1rem; background: var(--sage);
}
.hero__svc a:hover { color: var(--eucalyptus); text-decoration: underline; }

/* The leaf frame: used here and nowhere else */
.hero__art { position: relative; justify-self: end; width: min(100%, 33rem); }
.hero__art::before {
  content: ""; position: absolute; inset: 2.25rem -1.5rem -1.5rem 2.25rem;
  background: var(--sage-tint); border-radius: var(--leaf);
}
.hero__photo { position: relative; border-radius: var(--leaf); overflow: hidden; aspect-ratio: 4 / 5; background: var(--oat); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: settle 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero__art { justify-self: center; width: min(100% - 1.25rem, 30rem); }
}
@media (max-width: 600px) {
  :root { --leaf: 120px 22px 120px 22px; }
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: 2.3rem; line-height: 1.08; }
  .hero__lede { font-size: 1.1875rem; margin-bottom: 1.5rem; }
  .hero__actions .btn { width: 100%; }
  /* Phones: a 2×3 grid of tappable tiles, so the list fills the width */
  .hero__svc ul { gap: 0.5rem; }
  .hero__svc a {
    align-items: center; height: 100%; min-height: 3.6rem; padding: 0.55rem 0.75rem;
    background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
    line-height: 1.2; text-wrap: balance;
  }
  .hero__svc a::before { transform: none; }
  .hero__art { justify-self: start; }
  .hero__art::before { inset: 1.25rem -1rem -1rem 1.25rem; }
  .hero__photo { aspect-ratio: 1 / 1.05; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--oat { background: var(--oat); }
.section--paper { background: var(--paper); }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { font-size: var(--t-lead); line-height: 1.5; color: var(--text-soft); margin: 0; }

/* ---------- Services: a numbered index ---------- */
.services { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.services__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.services__head p { color: var(--text-soft); font-size: var(--t-lead); line-height: 1.5; }
.services__head .btn { margin-top: 0.75rem; }

.idx { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--moss); counter-reset: none; }
.idx__item {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: 1.6rem 1.7rem; border-bottom: 1px solid var(--rule);
}
.idx__no { font: 400 2.1rem/1 var(--serif); color: var(--clay-ink); font-variant-numeric: lining-nums; padding-top: 0.15rem; }
.idx__name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 0 0 0.35rem; }
.idx__name a { color: var(--moss); text-decoration: none; }
.idx__name a:hover { color: var(--eucalyptus); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--sage); }
.idx__who { margin: 0 0 0.7rem; max-width: 36rem; color: var(--text); }
.idx__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; font-weight: 700; font-size: var(--t-small); }
.idx__book { color: var(--moss); text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.idx__book:hover { text-decoration-thickness: 3px; text-decoration-color: var(--coral-hover); }

/* Standing alone (hub, 404, other services) the index runs in two columns */
@media (min-width: 1000px) {
  .idx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .services .idx { display: block; }
}
@media (max-width: 940px) {
  .services { grid-template-columns: 1fr; gap: 2rem; }
  .services__head { position: static; }
}
@media (max-width: 600px) {
  .idx__item { grid-template-columns: 2.1rem minmax(0, 1fr); }
  .idx__no { font-size: 1.65rem; }
}

/* ---------- Feature pair: decompression and laser ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.panel {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border-radius: var(--radius-lg);
}
.panel__media { aspect-ratio: 16 / 10; overflow: hidden; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.panel__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.panel__body h2 { font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.6rem); max-width: 18ch; }
.panel__body p { max-width: 34rem; }
.panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; margin-top: auto; padding-top: 0.75rem; }

/* The laser has no photo, so its media area is typographic: light, warmth, Class IV */
.panel__media--laser {
  position: relative; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 52%, #FFFFFF 0, rgba(255, 255, 255, 0) 38%),
    var(--sky-tint);
}
.laser-mark { position: relative; display: grid; place-items: center; height: 86%; aspect-ratio: 1; }
.laser-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #9CC8E6; stroke-width: 1; }
.laser-mark__text { position: relative; text-align: center; color: var(--moss); }
.laser-mark__class { display: block; font: 400 clamp(4.5rem, 3rem + 5vw, 7rem)/0.9 var(--serif); letter-spacing: 0.02em; }
.laser-mark__label { display: block; margin-top: 0.6rem; font-size: var(--t-small); font-weight: 500; color: var(--text); }

@media (max-width: 940px) { .pair { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .panel { border-radius: 24px; }
  .panel__actions .btn { width: 100%; }
}

/* ---------- Dr. Heather ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.bio__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 30rem; background: var(--oat); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.bio__body { max-width: 36rem; }
.bio__creds { font-size: var(--t-lead); font-weight: 500; color: var(--clay-ink); margin: -0.2rem 0 1.5rem; }
.bio__lead { font: 400 1.55rem/1.42 var(--serif); color: var(--moss); margin-bottom: 1.25rem; }
.bio__link { font-weight: 700; font-size: 1.1875rem; }
@media (max-width: 940px) {
  .bio { grid-template-columns: 1fr; gap: 2rem; }
  .bio__photo { max-width: 26rem; }
}
@media (max-width: 600px) { .bio__lead { font-size: 1.35rem; } .bio__photo { aspect-ratio: 1 / 1.1; } }

/* ---------- Your first visit ---------- */
.first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.first__photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 60%; border-radius: var(--radius-lg); }
.first__photo figcaption { margin-top: 0.75rem; font-size: var(--t-small); color: var(--text-soft); }
.first__intro { font-size: var(--t-lead); line-height: 1.5; color: var(--text-soft); max-width: 32rem; margin-bottom: 2.25rem; }
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.9rem 4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.15rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; font: 1.35rem/1 var(--serif); color: var(--moss);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--sage);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.3rem; top: 2.85rem; bottom: 0.3rem; width: 1px; background: var(--sage); }
.steps h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.steps p { margin: 0; max-width: 32rem; }
@media (max-width: 940px) { .first { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .steps li { padding-left: 3.5rem; }
  .first .btn--lg { width: 100%; }
}

/* Steps laid across, for the About page's stages of care */
.steps--across { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin: 0; }
.steps--across li { padding: 3.75rem 0 0; }
.steps--across li::after { display: none; }
@media (max-width: 800px) { .steps--across { grid-template-columns: 1fr; } }

/* ---------- Follow band ---------- */
.follow { background: var(--forest-2); color: var(--on-dark); padding-block: clamp(4rem, 8vw, 7rem); }
.follow__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.follow h2 { color: var(--on-dark); max-width: 16ch; }
.follow p { color: var(--on-dark-soft); font-size: var(--t-lead); line-height: 1.5; max-width: 32rem; }
.follow__handle { font: 400 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1.2 var(--serif); color: #BFE2FA; margin: 1.5rem 0; }
.follow__links { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.social {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3.75rem;
  padding: 0.85rem 1.6rem 0.85rem 1.2rem; border-radius: 999px;
  background: var(--linen); color: var(--moss); text-decoration: none; font-weight: 700; font-size: 1.1875rem;
}
.social:hover { background: #FFFFFF; color: var(--moss); }
.social svg { flex: none; width: 1.6rem; height: 1.6rem; }
.follow :focus-visible { outline-color: var(--maya); }
.follow__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.follow__photo figcaption { margin-top: 0.75rem; font-size: var(--t-small); color: var(--on-dark-soft); }
@media (max-width: 940px) { .follow__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .social { width: 100%; justify-content: center; } }

/* ---------- Visit us ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.visit address { font-size: var(--t-lead); line-height: 1.5; margin-bottom: 1.5rem; color: var(--moss); }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.5rem; margin: 0 0 2rem; }
.visit dt { font-weight: 700; color: var(--moss); }
.visit dd { margin: 0; }
.visit__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 55%; border-radius: var(--radius-lg); }
.map { grid-column: 1 / -1; height: clamp(17rem, 28vw, 23rem); border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-tint); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.8); }
@media (max-width: 940px) {
  .visit { grid-template-columns: 1fr; }
  .visit__photo { order: -1; }
}

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 22ch; margin-bottom: 0.4em; }
.page-head__lede { font-size: var(--t-lead); line-height: 1.5; max-width: 42rem; margin: 0; color: var(--text); }
.page-head__lede a { font-weight: 500; }
.crumb { margin: 0 0 1.1rem; font-size: var(--t-small); font-weight: 500; }
.crumb a { color: var(--eucalyptus); }

/* ---------- Service and prose pages ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.prose { max-width: 41rem; }
.prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.3rem); margin-top: 2em; }
.prose > :first-child { margin-top: 0; }
.section > .wrap > h2:first-child { margin-bottom: 1.5rem; }
.prose h3 { font-size: 1.4rem; margin: 1.6em 0 0.35em; }
.prose ul { padding-left: 1.4rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.prose li::marker { color: var(--eucalyptus); }
.prose .lede { font-size: var(--t-lead); line-height: 1.5; color: var(--moss); }
.prose figure { margin: 2.25rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 0.6rem; font-size: var(--t-small); color: var(--text-soft); }
.note { border-left: 3px solid var(--sage); padding: 0.2rem 0 0.2rem 1.25rem; color: var(--text); }

.book-panel {
  position: sticky; top: calc(var(--header-h) + 1.75rem);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem;
}
.book-panel__title { font-size: 1.85rem; margin-bottom: 0.45rem; }
.book-panel p { font-size: var(--t-small); }
.book-panel .btn { width: 100%; margin: 0.4rem 0 1.4rem; font-size: 1.125rem; min-height: 3.4rem; }
.book-panel__returning { padding-top: 1.1rem; border-top: 1px solid var(--rule); margin-bottom: 0.6rem; }
.book-panel__call { margin: 0; }
@media (max-width: 940px) {
  .service { grid-template-columns: 1fr; }
  .book-panel { position: static; max-width: 36rem; }
}

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--moss); margin: 1.5rem 0 2rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* A self-hosted clip (SpineMED is 400×300, so it is kept small rather than stretched) */
.video--file { aspect-ratio: auto; max-width: 32rem; background: none; overflow: visible; }
.video--file video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #000; border-radius: var(--radius); }
.video--file figcaption { font-size: var(--t-small); color: var(--text-soft); margin-top: 0.6rem; }
/* Credentials after a name in a heading */
.creds { font-size: 0.55em; color: var(--clay-ink); white-space: nowrap; }

/* About page: portrait beside the story */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.story .bio__photo { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 940px) {
  .story { grid-template-columns: 1fr; }
  .story .bio__photo { position: static; max-width: 26rem; }
}
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; border-radius: var(--radius-lg); }
.wide-photo figcaption { margin-top: 0.75rem; font-size: var(--t-small); color: var(--text-soft); }

/* Services hub: a closing prompt under the index */
.hub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.5rem; }
.hub-foot p { margin: 0; max-width: 38rem; }

/* ---------- Footer ---------- */
.foot { background: var(--forest); color: var(--on-dark-soft); font-size: var(--t-small); padding-top: clamp(3.5rem, 6vw, 5rem); }
.foot a { color: var(--on-dark); }
.foot a:hover { color: #FFFFFF; }
.foot a.btn--book, .foot a.btn--book:hover { color: var(--on-coral); }
.foot :focus-visible { outline-color: var(--maya); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 2.5rem; }
.foot__name { font: 400 1.7rem/1.2 var(--serif); color: var(--on-dark); margin: 0 0 0.4rem; }
.foot__brand .btn { margin-top: 0.5rem; }
.foot__heading { font: 700 var(--t-small)/1.4 var(--sans); color: var(--on-dark); letter-spacing: 0; margin-bottom: 0.75rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.45rem; }
.foot address { margin-bottom: 1rem; }
.foot__base { margin-top: 3rem; padding-block: 1.5rem 2.25rem; border-top: 1px solid rgba(238, 241, 234, 0.2); color: var(--on-dark-soft); }
@media (max-width: 940px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Phone text size ---------- */
@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .hero__lede, .section__head p, .services__head p, .first__intro, .follow p, .page-head__lede, .prose .lede, .visit address { font-size: 1.1875rem; }
}
