/* Physiotherapy Plus — marketing site (home, privacy, 404).
   Builds on base.css: reuse its tokens and components; everything here is page-level. */

/* ---------- Page basics ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
main:focus { outline: none; }
.site-page { overflow-x: clip; }

.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.section--white { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, var(--brand-50) 0%, #f5f9fd 100%); }
.section--sand { background: var(--sand); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2,
.faq__head h2,
.areas__copy h2,
.golf h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.08; }
.section-head .lead { margin: 18px 0 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: grid; gap: 20px; max-width: none; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .lead { margin: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

h1 .serif, h2 .serif { color: var(--brand-700); font-size: 1.08em; line-height: 1; letter-spacing: -0.015em; padding-right: 0.04em; }
.eyebrow--on-dark { color: var(--brand-200); }

/* ---------- Focus rings ----------
   A ring right against a navy button blurs into it, so light backgrounds get a white gap and a
   brand-700 ring (about 9.7:1 on white).
   Dark bands and the phone booking bar: a white outline set off from the button (the gap shows the
   band behind it, so it reads on white, navy and translucent buttons alike). */
.site-page .btn:focus-visible,
.site-nav__link:focus-visible,
.ctab:focus-visible,
.price-row__book:focus-visible,
.faq-item summary:focus-visible,
.person__book:focus-visible,
.menu-toggle:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--brand-700); }
.site-page .golf .btn:focus-visible,
.site-page .cta-band .btn:focus-visible,
.site-page .mobile-cta .btn:focus-visible { box-shadow: none; outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Header + navigation ---------- */
.site-nav { display: none; margin-inline: auto; }
.site-nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 0.92rem; color: var(--ink-700);
  text-decoration: none; transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-nav__link:hover { color: var(--ink-900); background: rgba(1, 66, 140, 0.07); }
.site-nav__link.is-active { color: var(--brand-700); background: var(--brand-50); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; margin-right: 6px; }
.header-book { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-900);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.menu-toggle:hover { border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.menu-toggle .icon { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease); }
.menu-toggle__close { opacity: 0; transform: rotate(-60deg) scale(0.8); }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; transform: rotate(60deg) scale(0.8); }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; transform: none; }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(26, 26, 46, 0.4);
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s; }
.mobile-menu__inner { padding-block: 8px 24px; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em; color: var(--ink-900); text-decoration: none;
}
.mobile-menu__link .icon { color: var(--brand-700); transition: transform 0.2s var(--ease); }
.mobile-menu__link:hover { color: var(--brand-700); }
.mobile-menu__link:hover .icon { transform: translateX(3px); }
.mobile-menu__actions { display: grid; gap: 10px; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  /* base.css gives every element a 0.01ms transition (of "all", the default property), so the menu and
     each link inside it "transition" from hidden to visible and are still hidden at the instant open()
     moves focus. With no transition at all they are visible straight away. */
  .mobile-menu, .mobile-menu.is-open, .mobile-menu * { transition: none !important; }
}

html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: #fff; border-bottom-color: var(--line); }
html.menu-open body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(26, 26, 46, 0.35);
  animation: pp-fade 0.25s var(--ease);
}

@media (max-width: 479px) {
  .header-book { display: none; }
}
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}
@media (min-width: 1180px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Mobile booking bar ---------- */
.mobile-cta {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(2, 26, 56, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(2, 26, 56, 0.6);
  visibility: hidden; opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-cta.is-visible { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s; }
.mobile-cta .btn-primary { flex: 1; box-shadow: none; }
.mobile-cta__call { width: 46px; padding: 0; }
@media (max-width: 767px) {
  /* keep keyboard focus clear of the fixed bar (12px offset + 62px bar + breathing room); site.js nudges any it still covers */
  html { scroll-padding-bottom: 96px; scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ---------- Scroll reveal (only applied by JS, to content below the fold) ---------- */
.reveal-pending { opacity: 0; }
.reveal-in { animation: pp-reveal 0.75s var(--ease) both; animation-delay: var(--reveal-delay, 0s); }
@keyframes pp-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pp-pulse-ring { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; }
  .reveal-in { animation: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 620px at 92% -12%, rgba(191, 215, 243, 0.55), transparent 62%),
    radial-gradient(900px 520px at -12% 112%, rgba(226, 238, 250, 0.95), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(1, 66, 140, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(1, 66, 140, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; gap: clamp(40px, 6vw, 48px); align-items: center; }
.hero__title { font-size: clamp(2.75rem, 1.5rem + 5vw, 5.1rem); line-height: 1.02; letter-spacing: -0.038em; margin: 6px 0 0; }
.hero__title .serif { font-size: 1.12em; }
.hero__lead { max-width: 34rem; margin: 22px 0 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-500);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 18px; height: 18px; color: var(--brand-700); }
@media (max-width: 479px) {
  .hero__ctas .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 64px; }
}

/* Hero art + floating cards.
   The cards are placed so they only ever sit over sky, sea or sand, never over the Law, the town,
   the Bass Rock or the sun:
     phone   (<600)   square art, the appointment card overlaps the bottom edge (sea only)
     tablet  (600–959) wide art, home-visits card in the sky top left, appointment card overlaps the bottom edge
     desktop (960+)   tall art, home-visits card hangs off the top right, appointment card hangs off the bottom left */
.hero__visual { position: relative; }
.hero-art {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1; border-radius: var(--radius-xl);
  background: #e8f0fa; border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(26, 26, 46, 0.04);
}
.hero-art__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-art__caption {
  position: absolute; right: 14px; top: 14px; margin: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px;
  border-radius: var(--radius-pill); background: rgba(26, 26, 46, 0.68);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.01em;
}
.hero-art__caption .icon { width: 14px; height: 14px; }

.ha-cloud { animation: ha-drift 26s ease-in-out infinite alternate; }
.ha-cloud--b { animation-duration: 34s; animation-direction: alternate-reverse; }
.ha-waves { animation: ha-swell 7s ease-in-out infinite alternate; }
.ha-boat { animation: ha-bob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes ha-drift { from { transform: translateX(-10px); } to { transform: translateX(14px); } }
@keyframes ha-swell { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
@keyframes ha-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-2deg); } }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 20px;
  box-shadow: 0 24px 50px -20px rgba(26, 26, 46, 0.35), 0 4px 12px rgba(26, 26, 46, 0.06);
  color: var(--ink-800);
}
.float-card--home {
  display: none; align-items: center; gap: 12px; padding: 12px 20px 12px 12px;
  font-size: var(--text-sm); line-height: 1.3;
}
.float-card--home strong { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 0.92rem; }
.float-card__sub { display: block; color: var(--ink-500); font-size: 0.8rem; margin-top: 2px; }
.icon-chip--sm { width: 38px; height: 38px; border-radius: 12px; }
.icon-chip--sm .icon { width: 20px; height: 20px; }

.float-card--next { position: relative; margin: -64px 14px 0; padding: 16px 18px; }
.float-card__label {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-500);
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #23a26b; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #23a26b; animation: pp-pulse-ring 2s ease-out infinite; }
.float-card__value {
  margin: 8px 0 2px; min-height: 1.75rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1.25;
  letter-spacing: -0.02em; color: var(--ink-900);
}
.float-card__value .dot { color: var(--brand-500); margin: 0 4px; }
.float-card__skeleton { display: block; width: 170px; height: 24px; margin-top: 2px; }
.float-card__meta { margin: 0; font-size: 0.85rem; color: var(--ink-500); }
.float-card__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 32px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--brand-700); text-decoration: none;
}
.float-card__link .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.float-card__link:hover { color: var(--brand-900); }
.float-card__link:hover .icon { transform: translateX(3px); }
.float-card.is-loading .float-card__link { visibility: hidden; }

@media (min-width: 600px) {
  .hero-art { aspect-ratio: 16 / 11; }
  .float-card--home { display: flex; top: 16px; left: 16px; }
  .float-card--next { width: 300px; margin: -56px 0 0 24px; }
}
@media (min-width: 960px) {
  .hero__visual { margin-inline: 8px 16px; }
  .hero-art { aspect-ratio: 4 / 4.7; }
  .hero-art__caption {
    top: calc(100% + 14px); right: 2px; padding: 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink-500);
  }
  .hero-art__caption .icon { color: var(--brand-700); }
  .float-card--home { top: 44px; left: auto; right: -24px; animation: pp-float 7s ease-in-out infinite; }
  .float-card--next { position: absolute; left: -28px; bottom: -32px; width: 264px; margin: 0; animation: pp-float 8s ease-in-out 1s infinite; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .hero-art__caption { display: none; } /* no room beside the appointment card; the art keeps its accessible title */
}
@media (min-width: 1200px) {
  .float-card--next { left: -40px; width: 290px; }
}

/* ---------- Credentials strip ---------- */
.creds { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(28px, 4vw, 40px); }
.creds__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.creds__item { display: flex; gap: 14px; align-items: flex-start; }
.creds__title { font-size: 1rem; margin: 3px 0 4px; letter-spacing: -0.01em; }
.creds__text { font-size: var(--text-sm); color: var(--ink-500); margin: 0; line-height: 1.5; }
.creds__link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin-top: 6px; font-size: var(--text-sm); font-weight: 700; color: var(--brand-700); text-decoration: none; }
.creds__link .icon { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.creds__link:hover { text-decoration: underline; }
.creds__link:hover .icon { transform: translateX(2px); }

/* Accreditation seals: a roundel in the clinic's navy with the accreditation's icon. Deliberately not the
   professional bodies' own logos – each has its own rules for using those. */
.seal {
  position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--brand-600), var(--brand-800)); color: #fff;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--brand-200), var(--shadow-sm);
}
.seal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.5); }
.seal .icon { width: 25px; height: 25px; stroke-width: 1.8; }

/* A registration or membership on a team card, linking to where it can be checked */
.cred {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 7px; border-radius: var(--radius-pill);
  background: var(--surface); color: var(--brand-800); border: 1px solid var(--brand-200);
  font-size: var(--text-xs); font-weight: 700; line-height: 1.4; text-decoration: none;
}
.cred .icon { width: 15px; height: 15px; flex: none; color: var(--brand-600); stroke-width: 2.1; }
.cred__no { font-weight: 600; color: var(--ink-500); font-variant-numeric: tabular-nums; }
a.cred:hover { background: var(--brand-50); border-color: var(--brand-400); color: var(--brand-900); }
a.cred:focus-visible { outline: none; box-shadow: var(--ring); }
@media (min-width: 640px) { .creds__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (min-width: 1100px) {
  .creds__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .creds__item { flex-direction: column; gap: 14px; padding-inline: 28px; }
  .creds__item:first-child { padding-left: 0; }
  .creds__item:last-child { padding-right: 0; }
  .creds__item + .creds__item { border-left: 1px solid var(--line); }
  .creds__title { margin-top: 0; }
}

/* ---------- Treatments ---------- */
.treatments { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.treatment {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 22px; box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.treatment:has(.card-link):hover, .treatment:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.treatment .icon-chip { margin-bottom: 20px; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.treatment:has(.card-link):hover .icon-chip { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.treatment__title { font-size: 1.16rem; margin-bottom: 8px; }
.treatment__text { flex: 1; color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.treatment__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: calc(17px + 1.12rem * 1.6); padding-top: 16px; border-top: 1px dashed var(--line-strong); } /* min-height: as tall as a foot with a bold price, so Hypnotherapy's plain label lines up */
.treatment__price { font-size: var(--text-sm); color: var(--ink-500); }
.treatment__price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink-900); letter-spacing: -0.01em; margin-left: 2px; }
.treatment__link {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; color: var(--brand-700); text-decoration: none; white-space: nowrap;
}
.treatment__link .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.treatment:hover .treatment__link .icon { transform: translateX(3px); }
.treatment__link:hover { color: var(--brand-900); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.card-link:focus-visible { outline: none; box-shadow: none; }
.card-link:focus-visible::after { outline: 3px solid var(--brand-500); outline-offset: 3px; }
.treatment__extra { position: relative; z-index: 1; align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; min-height: 28px; margin: -9px 0 13px; font-size: 0.85rem; font-weight: 600; }
.treatments__aside {
  display: flex; align-items: flex-start; gap: 10px; max-width: 62rem;
  margin: 32px auto 0; color: var(--ink-500); font-size: var(--text-sm);
}
.treatments__aside .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-500); stroke-width: 2.6; flex: none; }
@media (min-width: 720px) {
  /* centred; the plus runs inline so it leads the first line even when the sentence wraps */
  .treatments__aside { display: block; text-align: center; text-wrap: balance; }
  .treatments__aside .icon { display: inline-block; margin: 0 8px 0 0; vertical-align: -4px; }
}
@media (max-width: 599px) {
  .treatment { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px 20px 18px; }
  .treatment .icon-chip { margin: 0; }
  .treatment__title { margin: 0; }
  .treatment__text, .treatment__foot, .treatment__extra { grid-column: 1 / -1; }
  .treatment__text { margin: 14px 0 16px; }
  .treatment__extra { margin: -7px 0 11px; }
}
@media (min-width: 600px) { .treatments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .treatments { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* narrower, "First visit £60" and "Book 1:1" don't fit side by side */

/* ---------- First visit ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step-card { position: relative; padding: 0 0 32px 76px; min-height: 88px; }
.step-card h3 { font-size: 1.12rem; margin: 4px 0 8px; }
.step-card p { color: var(--ink-500); font-size: 0.95rem; margin: 0; max-width: 34ch; }
.step-card__icon {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--brand-100); color: var(--brand-700);
  box-shadow: 0 10px 24px -14px rgba(1, 66, 140, 0.6);
}
.step-card__icon .icon { width: 24px; height: 24px; }
.step-card__num {
  position: absolute; z-index: 2; left: 40px; top: -8px;
  min-width: 26px; padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--ink-900); color: #fff; font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-align: center;
}
.step-card:not(:last-child)::before {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--brand-200) 0 6px, transparent 6px 12px);
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step-card { padding: 0; min-height: 0; }
  .step-card__icon { position: relative; margin-bottom: 22px; }
  .step-card:not(:last-child)::before {
    left: 76px; right: -20px; top: 27px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-200) 0 6px, transparent 6px 12px);
  }
}

.visit-notes { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.visit-note { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.visit-note h3 { font-size: 1.15rem; margin: 4px 0 12px; }
.visit-note p { color: var(--ink-500); }
.visit-note--accent { background: linear-gradient(140deg, var(--brand-50), #fff 70%); border-color: var(--brand-100); }
.visit-note--accent .icon-chip { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-700); font-size: 0.95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%2301428c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--brand-100);
}
@media (max-width: 559px) { .visit-note { gap: 14px; } .visit-note .icon-chip { width: 42px; height: 42px; border-radius: 13px; } }
@media (min-width: 560px) { .visit-note { flex-direction: row; } }
@media (min-width: 900px) { .visit-notes { grid-template-columns: 1.15fr 0.85fr; } }

/* ---------- Conditions ---------- */
.conditions {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow); padding: clamp(14px, 3vw, 32px);
}
.conditions__tabs {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: clamp(20px, 3vw, 36px);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px;
}
.ctab {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--ink-700); white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ctab .icon { width: 18px; height: 18px; }
.ctab:hover { background: rgba(255, 255, 255, 0.75); color: var(--ink-900); }
.ctab[aria-selected="true"] { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--brand-100); }

.conditions__body { display: grid; gap: 24px; align-items: center; }
.body-map { width: 100%; max-width: 150px; margin-inline: auto; }
.body-map__svg { width: 100%; height: auto; overflow: visible; }
.hs { opacity: 0; transition: opacity 0.35s var(--ease); }
.hs__dot { fill: var(--accent-500); }
.hs__halo { fill: var(--accent-500); opacity: 0.2; transform-box: fill-box; transform-origin: center; animation: hs-pulse 2.6s ease-in-out infinite; }
@keyframes hs-pulse { 0%, 100% { transform: scale(0.86); opacity: 0.28; } 50% { transform: scale(1.12); opacity: 0.1; } }
.body-map[data-active="back"] .hs--back,
.body-map[data-active="neck"] .hs--neck,
.body-map[data-active="joints"] .hs--joints,
.body-map[data-active="sport"] .hs--sport,
.body-map[data-active="surgery"] .hs--surgery,
.body-map[data-active="feet"] .hs--feet { opacity: 1; }

.cpanel + .cpanel { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.is-tabbed .cpanel + .cpanel { margin-top: 0; padding-top: 0; border-top: 0; }
.cpanel:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 8px; border-radius: 12px; }
.cpanel.is-entering { animation: pp-panel 0.4s var(--ease); }
@keyframes pp-panel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cpanel__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 10px; }
.cpanel__intro { color: var(--ink-500); max-width: 52ch; margin-bottom: 0; }
.cpanel__list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.cpanel__list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  font-weight: 500; font-size: 0.95rem; color: var(--ink-800); line-height: 1.35;
}
.cpanel__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); flex: none; box-shadow: 0 0 0 4px var(--accent-100); }
.conditions__note { text-align: center; margin: 28px 0 0; color: var(--ink-500); font-size: 0.95rem; }
@media (min-width: 560px) { .cpanel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 880px) {
  .conditions__body { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
  .body-map { max-width: 200px; }
}
@media (max-width: 879px) {
  .conditions__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctab { font-size: 0.85rem; padding: 0 12px; }
  .conditions__body { display: block; }
  .body-map { float: right; width: 92px; max-width: none; margin: 0 0 12px 16px; }
  .cpanel__list { clear: both; }
  .is-tabbed .cpanel__list { clear: right; }
}
@media (min-width: 560px) and (max-width: 879px) { .conditions__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Golf band ---------- */
.golf {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(79, 146, 220, 0.28), transparent 60%),
    radial-gradient(700px 500px at 100% 110%, rgba(31, 111, 204, 0.22), transparent 60%),
    linear-gradient(160deg, var(--brand-900), var(--brand-950));
  color: rgba(255, 255, 255, 0.8);
}
.golf h2 { color: #fff; }
.golf h2 .serif { color: var(--brand-200); }
.golf__inner { display: grid; gap: 48px; align-items: center; }
.golf__lead { font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); max-width: 36rem; margin: 18px 0 0; }
.golf__points { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 16px; max-width: 36rem; }
.golf__points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, 0.76); font-size: 0.95rem; line-height: 1.55; }
.golf__points strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }
.golf__point-icon {
  width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--brand-200);
}
.golf__point-icon .icon { width: 21px; height: 21px; }
.golf__cta { --btn-fg: var(--brand-800); }
.golf__cta:hover { --btn-bg: var(--brand-50); color: var(--brand-900); }
.golf__art svg { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ga-flag { transform-box: fill-box; transform-origin: 0 50%; animation: ga-wave 3.2s ease-in-out infinite; }
@keyframes ga-wave { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(0.9) skewY(3deg); } }
@media (min-width: 960px) {
  .golf__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

/* ---------- Team ---------- */
.person h3 { margin: 0; }
.person .person__role { margin: 0 0 4px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-700); }
.person__name { font-size: 1.25rem; margin-bottom: 14px !important; }
.person__creds { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.person__creds .badge { white-space: normal; }
.person p { color: var(--ink-500); font-size: 0.95rem; }
.person p:last-child { margin-bottom: 0; }
.team-grid .person { display: flex; flex-direction: column; align-items: flex-start; }
.person__book {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; min-height: 36px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--brand-700); text-decoration: none;
}
.person__book .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.person__book:hover { color: var(--brand-900); }
.person__book:hover .icon:last-child { transform: translateX(3px); }
.person__book:focus-visible { border-radius: 8px; }
.person__interests strong { color: var(--ink-800); font-weight: 600; }

.avatar {
  --c: var(--brand-700);
  position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  aspect-ratio: 1; border-radius: 22px;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(255, 255, 255, 0.38), transparent 52%),
    linear-gradient(150deg, color-mix(in srgb, var(--c) 72%, #fff), color-mix(in srgb, var(--c) 68%, #021a38));
  background-color: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 30px -18px color-mix(in srgb, var(--c) 70%, #000);
}
.avatar::after {
  content: ""; position: absolute; inset: auto -10% -18% -10%; height: 55%; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30c25-14 50-14 75 0s50 14 75 0 37-10 50-6V60H0z' fill='%23fff' fill-opacity='.10'/%3E%3Cpath d='M0 42c25-12 50-12 75 0s50 12 75 0 37-8 50-5V60H0z' fill='%23fff' fill-opacity='.10'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.avatar__initials {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #fff;
  font-size: 2rem; line-height: 1; letter-spacing: 0.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.avatar__photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.avatar--craig { --c: #01428c; }
.avatar--rachael { --c: #7c5cbf; }
.avatar--roz { --c: #b8681e; } /* a shade deeper than the diary colour so the white initials stay legible */
.avatar--sally { --c: #2f7fc1; }
.avatar--gillian { --c: #b0577a; }
.avatar--keith { --c: #4d5f8f; }
.avatar--katie { --c: #2e7d6b; }

.person--featured {
  display: grid; gap: 28px; align-items: center; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow); padding: clamp(18px, 4vw, 40px);
}
.person--featured .avatar { border-radius: 26px; width: 100%; max-width: 360px; }
@media (max-width: 819px) {
  .person--featured { grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; row-gap: 0; }
  .person--featured .person__body { display: contents; }
  .person--featured .person__body > * { grid-column: 1 / -1; }
  .person--featured .avatar { grid-column: 1; grid-row: 1 / span 2; width: 88px; border-radius: 22px; align-self: center; }
  .person--featured .avatar.avatar--xl .avatar__initials { font-size: 2.3rem; }
  .person--featured .person__role { grid-column: 2 !important; grid-row: 1; align-self: end; }
  .person--featured .person__name { grid-column: 2 !important; grid-row: 2; align-self: start; margin-bottom: 0 !important; }
  .person--featured .person__creds { margin-top: 20px; }
  .person--featured .btn { justify-self: start; }
}
.avatar--xl .avatar__initials { font-size: clamp(4.5rem, 3rem + 7vw, 7.5rem); }
.person--featured .person__name { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.person--featured p { font-size: 1rem; max-width: 60ch; }
.person--featured .btn { margin-top: 8px; }
@media (min-width: 820px) {
  .person--featured { grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 52px; }
}

.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.team-grid .person { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.team-grid .person:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.team-grid .avatar { width: 76px; margin-bottom: 20px; border-radius: 22px; }
.person--cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: linear-gradient(150deg, var(--brand-50), #fff 75%); border-color: var(--brand-100); }
.person--cta .icon-chip { margin-bottom: 16px; background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.person--cta .person__name { margin-bottom: 6px !important; }
.person--cta .cluster { --cluster: 8px; margin-top: auto; padding-top: 16px; }
@media (max-width: 639px) {
  .team-grid .person:not(.person--cta) { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .team-grid .person:not(.person--cta) > * { grid-column: 1 / -1; }
  .team-grid .person .avatar { grid-column: 1; grid-row: 1 / span 2; width: 64px; margin: 0; border-radius: 18px; }
  .team-grid .person .avatar__initials { font-size: 1.7rem; }
  .team-grid .person:not(.person--cta) .person__role { grid-column: 2; grid-row: 1; align-self: end; }
  .team-grid .person:not(.person--cta) .person__name { grid-column: 2; grid-row: 2; align-self: start; margin-bottom: 0 !important; }
  .team-grid .person .person__creds { margin-top: 16px; }
  .team-grid .person .person__book { justify-self: start; }
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Pilates ---------- */
.pilates__cards { display: grid; gap: 16px; }
.pilates-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pilates-card h3 { margin: 8px 0 0; font-size: 1.3rem; }
.pilates-card p { color: var(--ink-500); margin: 0; font-size: 0.95rem; }
.pilates-card__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%;
  margin: 10px 0 14px; padding: 14px 0; border-block: 1px dashed var(--line-strong);
}
.pilates-card__facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.pilates-card__facts dd { margin: 2px 0 0; text-wrap: balance; font-family: var(--font-display); font-weight: 700; color: var(--ink-900); line-height: 1.35; }
.pilates-card .btn { margin-top: auto; }
.pilates-card--class { background: linear-gradient(165deg, #fff 40%, var(--accent-100) 170%); }
.pilates-card--class > h3, .pilates-card--class > .badge { margin-right: 84px; }
.date-tile {
  position: absolute; top: 20px; right: 20px; width: 66px; overflow: hidden; text-align: center;
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.date-tile__day { display: block; padding: 3px 0; background: var(--brand-700); color: #fff; font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.date-tile__time { display: block; padding: 7px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--ink-900); letter-spacing: -0.02em; }
@media (min-width: 640px) { .pilates__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Prices ---------- */
.prices__insurer { align-items: center; }
.prices__insurer p { margin: 0; }
.prices__insurer .icon { width: 22px; height: 22px; flex: none; }
.price-grid { display: grid; gap: 16px; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px 8px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.price-card__title { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; margin: 0 0 6px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.price-row:first-child { border-top: 0; }
.price-row__main { display: grid; gap: 2px; min-width: 0; }
.price-row__name { font-weight: 600; font-size: 0.95rem; line-height: 1.35; color: var(--ink-900); }
.price-row__meta { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--ink-500); }
.price-row__meta::before {
  content: ""; width: 12px; height: 12px; flex: none; opacity: 0.85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.6' fill='none' stroke='%235d6073' stroke-width='2.2'/%3E%3Cpath d='M12 7.4V12l3 2' fill='none' stroke='%235d6073' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-row__price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-900); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-row__book {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--brand-700);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.price-row__book:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.price-card__note { margin: auto 0 0; padding: 12px 0 14px; border-top: 1px dashed var(--line-strong); font-size: 0.84rem; color: var(--ink-500); }
.price-card--call { background: linear-gradient(150deg, var(--brand-50), #fff 80%); border-color: var(--brand-100); padding-bottom: 22px; }
.price-card--call p { color: var(--ink-500); font-size: 0.92rem; margin: 10px 0 16px; }
.price-card--call .cluster { --cluster: 8px; margin-top: auto; }
@media (max-width: 379px) {
  .price-row { gap: 10px; }
  .price-row__book { padding: 0 11px; }
}
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-card--call { grid-column: span 2; } /* eight cards in three columns: no empty cell beside it */
  .price-card--call p { max-width: 60ch; }
}

/* ---------- Testimonials ---------- */
.testimonials { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.testimonial { display: flex; flex-direction: column; gap: 18px; height: 100%; margin: 0; }
.testimonial__mark { width: 30px; height: 30px; color: var(--brand-300); fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; color: var(--ink-900); margin: 0; }
.testimonial figcaption { border-top: 1px solid var(--line); padding-top: 14px; font-size: var(--text-sm); color: var(--ink-500); }
.testimonial__name { display: block; font-weight: 600; color: var(--ink-900); font-size: 0.95rem; }
@media (min-width: 760px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 40px; align-items: center; }
.areas__copy .lead { margin: 18px 0 0; }
.area-chips { list-style: none; margin: 26px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink-800);
}
.area-chip--home { background: var(--brand-700); border-color: var(--brand-700); color: #fff; font-weight: 600; }
.area-chip--home::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); }
.areas__home { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--sand); border: 1px solid #dfe5ee; }
.areas__home p { margin: 0; font-size: 0.95rem; color: var(--ink-700); }
.areas__home strong { color: var(--ink-900); }
.area-map {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #e6eff9;
}
.area-map svg { width: 100%; height: auto; }
.area-map__caption { position: absolute; left: 16px; bottom: 10px; font-size: 0.72rem; color: var(--ink-500); }
.am-towns circle { fill: var(--brand-700); stroke: #fff; stroke-width: 2.5; }
.am-lbl text, text.am-lbl { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; fill: var(--ink-700); }
text.am-lbl--sea { font-style: italic; font-weight: 500; font-size: 12px; fill: var(--brand-700); letter-spacing: 0.03em; }
.am-tag { font-family: var(--font-body); font-size: 11px; fill: rgba(255, 255, 255, 0.78); }
.am-tag--name { font-family: var(--font-display); font-weight: 800; font-size: 13px; fill: #fff; }
.am-pulse { transform-box: fill-box; transform-origin: center; animation: am-pulse 2.6s ease-out infinite; }
@keyframes am-pulse { 0% { transform: scale(0.6); opacity: 0.45; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 519px) {
  .area-map { display: none; } /* labels would be about 7px here; the town chips above list every town */
}
@media (min-width: 960px) { .areas { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 36px; align-items: start; }
.faq__head .lead { margin: 18px 0 0; }
.faq__list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { background: var(--surface); border-color: var(--brand-200); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px; border-radius: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2301428c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--brand-100); transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq-item summary:hover { color: var(--brand-800); }
.faq-item__body { padding: 0 22px 20px; color: var(--ink-500); }
.faq-item__body p { margin: 0; max-width: 62ch; }
.faq-item[open] .faq-item__body { animation: pp-panel 0.35s var(--ease); }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 20px; }
.contact__info { display: grid; gap: 20px; align-content: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.contact-list li > div { min-width: 0; }
.contact-list__label { margin: 1px 0 3px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.contact-list address { font-style: normal; color: var(--ink-800); line-height: 1.55; }
.contact-list__value { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-900); text-decoration: none; overflow-wrap: break-word; }
.contact-list__value:hover { color: var(--brand-700); text-decoration: underline; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.hours-card__title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 8px; }
.hours-card__title .icon { color: var(--brand-700); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; vertical-align: middle; }
.hours th { color: var(--ink-700); }
.hours td { text-align: right; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-closed td { color: var(--ink-500); }
.hours .is-today th, .hours .is-today td { color: var(--brand-700); font-weight: 700; }
.hours .today-tag { margin-left: 8px; vertical-align: 1px; }
.hours-card__note { margin: 14px 0 0; font-size: var(--text-sm); color: var(--ink-500); }

.map-panel {
  position: relative; min-height: 380px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef3f9;
}
.map-panel__placeholder { position: absolute; inset: 0; }
.map-panel__art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.map-panel__pin { position: absolute; left: 50%; top: 40%; width: 44px; height: 44px; transform: translate(-50%, -100%); }
.map-panel__pin span {
  position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); box-shadow: 0 12px 24px -8px rgba(42, 111, 184, 0.7);
}
.map-panel__pin span::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.map-panel__pin::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 22px; height: 8px; margin-left: -11px;
  border-radius: 50%; background: rgba(26, 26, 46, 0.18);
}
.map-panel__pin::before {
  content: ""; position: absolute; left: 50%; bottom: -14px; width: 44px; height: 16px; margin-left: -22px;
  border-radius: 50%; border: 2px solid var(--accent-500); animation: pp-pulse-ring 2.4s ease-out infinite; opacity: 0;
}
.map-panel__card {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(380px, calc(100% - 32px)); padding: 18px 20px; text-align: center;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
}
.map-panel__title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; color: var(--ink-900); }
.map-panel__text { margin: 0 0 14px; font-size: 0.82rem; color: var(--ink-500); line-height: 1.5; }
.map-panel__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; animation: pp-fade 0.4s var(--ease); }
@media (min-width: 640px) and (max-width: 959px) {
  .contact__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 24px; align-items: stretch; }
  .map-panel { min-height: 100%; }
}

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--bg); padding-bottom: clamp(72px, 9vw, 120px); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(141, 184, 234, 0.26), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-800) 60%, var(--brand-900));
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 40px 80px -40px rgba(3, 42, 90, 0.7);
}
.cta-band__art { position: absolute; right: 0; bottom: 0; z-index: -1; width: 380px; height: auto; pointer-events: none; display: none; }
/* Only beside the copy on wide screens, small enough that the Law's peak and arch sit below the buttons.
   Narrower, the art ends up behind the text and the translucent phone button. */
@media (min-width: 960px) { .cta-band__art { display: block; } }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band h2 .serif { color: var(--brand-200); }
.cta-band p { margin: 0; font-size: 1.05rem; max-width: 40rem; color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-band__actions .btn { width: 100%; } }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* ---------- Footer ---------- */
.footer-grid { display: grid; gap: 36px; }
.footer-brand__blurb { margin: 18px 0 16px; max-width: 32ch; line-height: 1.65; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; line-height: 1.5; }
.footer-links a, .footer-bottom-links a { display: inline-block; padding-block: 3px; }
.footer-bottom-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 48px; } }

/* ---------- Simple pages: privacy, 404 ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(900px 480px at 90% -20%, rgba(191, 215, 243, 0.5), transparent 62%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.8rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 44rem; margin: 0; }
.page-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

.legal { padding-block: clamp(40px, 6vw, 80px); background: var(--surface); }
.legal__layout { display: grid; gap: 40px; align-items: start; }
.legal__toc { padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.legal__toc h2 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc a {
  display: block; padding: 7px 12px; border-radius: 10px; font-size: 0.9rem; font-weight: 500;
  color: var(--ink-700); text-decoration: none; border-left: 2px solid transparent;
}
.legal__toc a:hover { background: var(--surface-2); color: var(--ink-900); }
.legal__toc a[aria-current="true"] { color: var(--brand-700); background: var(--brand-50); border-left-color: var(--brand-500); }
@media (max-width: 999px) {
  .legal__toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal__toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-size: 0.85rem; }
}
.prose { max-width: 72ch; color: var(--ink-700); font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); margin: 2.4em 0 0.6em; } /* anchor offset comes from scroll-padding-top in base.css */
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 0.5em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brand-500); }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose .callout { margin: 1.6em 0; }
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--ink-900); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 1000px) {
  .legal__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 0; border: 0; background: none; }
}

.notfound {
  position: relative; overflow: hidden; isolation: isolate; min-height: calc(100vh - var(--header-h) - 120px);
  display: grid; align-items: center; padding-block: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(191, 215, 243, 0.55), transparent 62%),
    radial-gradient(700px 480px at -10% 110%, rgba(226, 238, 250, 0.95), transparent 60%),
    var(--bg);
}
.notfound__inner { display: grid; gap: 40px; align-items: center; }
.notfound__code { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; color: var(--brand-700); font-size: var(--text-sm); margin: 0 0 12px; }
.notfound h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.2rem); line-height: 1.05; margin-bottom: 18px; }
.notfound .lead { max-width: 32rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.notfound__links { list-style: none; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 0.95rem; }
.notfound__art { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.8); aspect-ratio: 4 / 3; background: #e8f0fa; }
.notfound__art svg { width: 100%; height: 100%; max-width: none; }
@media (max-width: 479px) { .notfound__actions .btn { width: 100%; } }
@media (min-width: 900px) { .notfound__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- Print ---------- */
@media print {
  .mobile-cta, .map-panel, .hero__visual, .golf__art, .cta-band, .menu-toggle, .site-nav, .site-header__actions, .mobile-menu { display: none !important; }
  /* Printed pages keep the logo: the header prints as just the brand lockup. */
  .site-header { position: static; background: none; box-shadow: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand__tagline { display: block; }
  .reveal-pending { opacity: 1 !important; }
  .section, .golf { padding-block: 24px; }
  .golf { background: none; color: var(--ink-800); }
  .golf h2, .golf__points strong { color: var(--ink-900); }
}

/* Google reviews panel (testimonials section): the rating, the count, and links out to Google. */
.reviews-panel { max-width: 620px; margin: 0 auto; padding: clamp(26px, 4vw, 40px); display: grid; justify-items: center; gap: 12px; text-align: center; }
.reviews-panel__score { display: flex; align-items: center; gap: 16px; margin: 0; }
.reviews-panel__rating { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2.2rem + 3vw, 4.2rem); line-height: 1; color: var(--ink-900); letter-spacing: -0.02em; }
.stars { --pct: calc(var(--rating, 5) / 5 * 100%); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; letter-spacing: 0.06em; background: linear-gradient(90deg, #f2a516 var(--pct), #d6dbe4 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews-panel__count { margin: 0; font-size: 1.05rem; color: var(--ink-700); }
.reviews-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.reviews-panel__note { margin: 2px 0 0; font-size: var(--text-sm); color: var(--ink-500); }
.reviews-panel + .testimonials { margin-top: 28px; }

/* ---------- The footer's accreditations ---------- */
.footer-accred { list-style: none; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 16px 32px; }
.footer-accred li { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.footer-accred .seal { width: 36px; height: 36px; box-shadow: 0 0 0 2px var(--brand-950), 0 0 0 3px rgba(255, 255, 255, 0.3); }
.footer-accred .seal::before { inset: 3px; border-width: 1px; }
.footer-accred .seal .icon { width: 17px; height: 17px; }
.footer-accred + .site-footer__bottom { margin-top: 24px; }
