/* ==========================================================================
   Treat Endometriosis — Dr Gary Groenewald, Claremont, Cape Town
   Palette: logo green (leaf) with moss, burnt orange (ember), blush, linen & sand
   Type:    Cormorant Garamond (display) + Jost (body)
   ========================================================================== */

:root {
  /* greens — leaf is sampled from the logo */
  --leaf: #A0BC6D;
  --leaf-soft: #C6D6A6;
  --leaf-tint: #EEF3E3;
  --moss: #5F7A3A;
  --moss-deep: #3F5228;

  /* burnt orange, used sparingly */
  --ember: #C4703F;
  --ember-deep: #A75B2F;
  --ember-tint: #F8E9DD;

  /* pinks & beiges */
  --blush: #F6E4E0;
  --blush-deep: #EDD0C8;
  --petal: #FBF1EF;
  --linen: #F8F4EE;
  --linen-deep: #F2ECE2;
  --sand: #EBE3D6;
  --sand-deep: #D8CCB9;
  --cream: #FFFDFA;

  /* text */
  --ink: #2B3128;
  --ink-soft: #565C52;
  --ink-mute: #858A80;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --arch: 240px;
  --shadow: 0 30px 60px -36px rgba(43, 49, 40, 0.38);
  --shadow-sm: 0 12px 30px -18px rgba(43, 49, 40, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* clip (not hidden) keeps position:sticky working while still trapping the
   off-canvas mobile nav so it can't create a horizontal scrollbar */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--ember); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--moss);
  text-decoration: underline;
  text-decoration-color: var(--sand-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--ember); text-decoration-color: var(--ember); }

ul, ol { padding-left: 1.25rem; }

strong { font-weight: 500; }

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: 880px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* --------------------------------------------------------------------------
   Typographic helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1.1rem;
}
@media (max-width: 480px) {
  .eyebrow { letter-spacing: 0.12em; font-size: 0.72rem; }
}
.eyebrow::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  background: url("../img/floral/eyebrow-mark.svg") center / contain no-repeat;
}
.cta-band .eyebrow::before { background-image: url("../img/floral/eyebrow-mark-light.svg"); }

.lead {
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

.measure { max-width: 66ch; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
  box-shadow: 0 10px 24px -14px rgba(95, 122, 58, 0.55);
}
.btn:hover {
  background: var(--moss);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  border-color: var(--sand-deep);
  box-shadow: none;
}
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: none;
}
.btn--light:hover { background: var(--leaf); color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--moss);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.link-arrow::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.link-arrow:hover { color: var(--ember); }
.link-arrow:hover::after { width: 2.25rem; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* the frosted-glass backdrop lives on a pseudo-element, not on .site-header itself —
   backdrop-filter (like transform/filter) turns its element into the positioning
   container for any position:fixed descendant, which was collapsing the mobile
   menu (a fixed, full-screen child of the header) down into the header's own
   88px-tall box instead of covering the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 244, 238, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
  border-bottom-color: var(--sand);
  box-shadow: 0 10px 30px -24px rgba(43, 49, 40, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--sand-deep);
  border-radius: 999px;
  width: 48px; height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 0.75rem; }

.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__item { position: relative; }

.nav__link, .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav__link:hover, .nav__trigger:hover { color: var(--moss); background: rgba(160, 188, 109, 0.14); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__trigger {
  color: var(--moss);
  position: relative;
}
.nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__trigger::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
  height: 2px;
  background: var(--leaf);
  border-radius: 2px;
}
.nav__trigger svg {
  width: 12px; height: 12px;
  transition: transform 0.25s var(--ease);
}

.nav__sub {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 270px;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0s linear 0.22s;
  z-index: 50;
}
.nav__sub::before {
  /* hover bridge so the menu doesn't close crossing the gap */
  content: "";
  position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__item.is-open > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav__item:hover > .nav__trigger svg,
.nav__item.is-open > .nav__trigger svg { transform: rotate(180deg); }

.nav__sub a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 9px;
  font-size: 0.93rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__sub a:hover { background: var(--linen); color: var(--moss); }
.nav__sub a[aria-current="page"] { color: var(--moss); background: var(--leaf-tint); }

.nav__cta { margin-left: 0.25rem; flex-shrink: 0; }
.nav__cta .btn { padding: 0.75rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 1279px) {
  .nav-toggle { display: inline-flex; }
  /* logo and close button sit above the open menu panel (z-index 90) */
  .brand, .nav-toggle { position: relative; z-index: 95; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--linen);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem var(--gutter) 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s ease, visibility 0s linear 0.4s;
    z-index: 90;
  }
  .nav-open .site-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  /* lock page scroll on <html>, not <body>: html/body use overflow-x: clip,
     so overflow: hidden on body would make body the sticky header's scroll
     container and push the header (and its close button) off-screen once
     the page has been scrolled */
  html:has(body.nav-open) { overflow: hidden; }
  /* keep the header full-height and above the panel while the menu is open */
  .nav-open .site-header.is-compact .header__inner { min-height: 88px; }
  .nav-open .site-header.is-compact .brand img { height: 54px; }
  .nav-open .to-top, .nav-open .to-top.is-shown { opacity: 0; pointer-events: none; }
  .nav-open .scroll-progress { opacity: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--sand); }
  .nav__link, .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 500;
    border-radius: 0;
  }
  .nav__link:hover, .nav__trigger:hover { background: transparent; }
  .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__trigger::after { display: none; }
  .nav__sub {
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.75rem 0.25rem;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub, .nav__item.is-open:focus-within > .nav__sub { display: block; }
  .nav__sub a { padding: 0.5rem 0.75rem; font-size: 1rem; color: var(--ink-soft); }
  .nav__cta { margin: 1.5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--linen);
  overflow: hidden;
}
.hero::before {
  /* soft blush wash on the right */
  content: "";
  position: absolute;
  right: -10%; top: -20%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(246, 228, 224, 0.95), rgba(246, 228, 224, 0));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero__copy { max-width: 36rem; }
.hero__copy h1 { margin-bottom: 1.25rem; }
.hero__copy .lead { max-width: 32rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}
.hero__tel {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hero__tel a { color: var(--ink); text-decoration: none; font-weight: 500; }
.hero__tel a:hover { color: var(--ember); }

.hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}
.hero__orb {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--leaf-tint);
  left: -12%;
  bottom: 6%;
  z-index: 0;
}
.hero__orb--dot {
  width: 10px; height: 10px;
  background: var(--ember);
  left: auto; right: -3%;
  top: 18%; bottom: auto;
}

.arch {
  position: relative;
  overflow: hidden;
  border-radius: var(--arch) var(--arch) var(--radius) var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media .arch {
  aspect-ratio: 4 / 5;
  z-index: 1;
}

.hero__chip {
  position: absolute;
  z-index: 2;
  left: -1.25rem;
  bottom: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.hero__chip svg { width: 16px; height: 16px; color: var(--ember); }

/* tablet: keep the photo beside the text, scaled down */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; padding-top: 2.5rem; }
  .hero__media { width: 100%; }
  .hero__chip { left: 0.75rem; bottom: 1.25rem; max-width: calc(100% - 1.5rem); font-size: 0.8rem; }
}
/* phone: photo stacks above the text */
@media (max-width: 600px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: 1.5rem; }
  .hero__media { order: -1; justify-self: stretch; }
  .hero__media .arch { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--linen { background: var(--linen); position: relative; overflow: hidden; }
.section--blush { background: var(--blush); }
.section--cream { background: var(--cream); }

.section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head h2 { margin-bottom: 0.6rem; }

/* split: media + copy */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__copy { max-width: 34rem; }
.split__copy h2 { margin-bottom: 1.1rem; }
.split__copy .link-arrow { margin-top: 1.25rem; }

.split__media { position: relative; }
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
  background: var(--sand);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--offset::before {
  content: "";
  position: absolute;
  inset: 0;
}
.split__media .panel {
  position: absolute;
  inset: 8% -6% -6% 8%;
  border-radius: var(--radius);
  background: var(--sand);
  z-index: 0;
}
.split__media .panel--blush { background: var(--blush-deep); }
.split__media .panel--leaf { background: var(--leaf-soft); }
.split__media .frame, .split__media .arch { z-index: 1; }
.split__media .arch { aspect-ratio: 4 / 4.6; }

.split__caption {
  position: absolute;
  z-index: 2;
  right: -0.75rem;
  bottom: 1.5rem;
  background: var(--cream);
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--moss-deep);
  max-width: 15rem;
}

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  /* lead with the copy on a single column, not the photo — otherwise a split
     section's image lands directly under the hero's own photo with almost
     nothing readable in between */
  .split__copy { order: 1; }
  .split__media { order: 2; }
  .split__media { max-width: 460px; }
  .split__media .panel { inset: 8% -4% -4% 8%; }
}

/* split--photo-first: photo stays beside the copy on tablet, scaled down,
   and stacks above the copy on phones */
@media (max-width: 860px) {
  .split--photo-first { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; }
  .split--photo-first .split__media { order: 0; max-width: none; }
  .split--photo-first .split__copy { order: 0; }
  .split--photo-first .split__caption { right: -0.5rem; bottom: 1rem; font-size: 1rem; max-width: 12rem; }
  /* reversed split keeps its photo on the right beside the copy */
  .split--reverse.split--photo-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--reverse.split--photo-first .split__media { order: 2; }
}
@media (max-width: 600px) {
  .split--photo-first,
  .split--reverse.split--photo-first { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split--photo-first .split__media { max-width: 460px; }
  .split--photo-first .split__media,
  .split--reverse.split--photo-first .split__media { order: -1; }
  .split--photo-first .frame,
  .split--photo-first .arch { aspect-ratio: 4 / 3.6; }
}

/* credentials strip on the about/meet blocks */
.credentials {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.credentials li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.credentials li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: 0.62rem;
  border-radius: 50%;
  background: var(--ember);
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.9rem 1.9rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: var(--shadow);
  color: inherit;
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--leaf-tint);
  display: grid;
  place-items: center;
  color: var(--moss);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0.25rem 0 0; font-size: 1.55rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card .link-arrow { font-size: 0.9rem; }
.card:hover .link-arrow { color: var(--ember); }
.card:hover .link-arrow::after { width: 2.25rem; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--cream);
  overflow: hidden;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -2;
}
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(43, 49, 40, 0.92) 0%, rgba(63, 82, 40, 0.82) 45%, rgba(43, 49, 40, 0.55) 100%);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band .eyebrow { color: var(--leaf-soft); }
.cta-band .lead { color: rgba(255, 253, 250, 0.85); }
.cta-band .btn { margin-top: 1.75rem; }

.cta-band__details {
  display: grid;
  gap: 1.2rem;
  padding-left: clamp(0rem, 3vw, 2rem);
  border-left: 1px solid rgba(255, 253, 250, 0.2);
  font-size: 0.95rem;
}
.cta-band__details dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf-soft);
  margin-bottom: 0.25rem;
}
.cta-band__details dd { margin: 0; color: rgba(255, 253, 250, 0.9); }
.cta-band__details a { color: var(--cream); text-decoration-color: rgba(255, 253, 250, 0.35); }
.cta-band__details a:hover { color: var(--leaf-soft); }

@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cta-band__details { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 253, 250, 0.2); padding-top: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--linen);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: -8%; bottom: -55%;
  width: 46vw; height: 46vw;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238, 243, 227, 0.9), rgba(238, 243, 227, 0));
  pointer-events: none;
}
.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}
.page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.page-hero__copy { max-width: 38rem; }
.page-hero__copy h1 { margin-bottom: 1.1rem; font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.page-hero__media {
  justify-self: end;
  width: min(100%, 420px);
  position: relative;
}
.page-hero__media .arch { aspect-ratio: 4 / 4.4; }
.page-hero__media::before {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blush);
  right: -10%;
  top: -8%;
  z-index: 0;
}
.page-hero__media .arch { z-index: 1; }

/* tablet: keep the photo beside the text, scaled down */
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; }
  .page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
  .page-hero__media { width: 100%; }
}
/* phone: photo stacks above the text */
@media (max-width: 600px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .page-hero__media { order: -1; justify-self: stretch; }
  .page-hero__media .arch { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   Inner page body: article + aside
   -------------------------------------------------------------------------- */
.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  align-items: start;
}
.page-body--solo { grid-template-columns: minmax(0, 1fr); }

.article { max-width: 68ch; }
.article > * + * { margin-top: 1.15em; }
.article h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  margin-top: 2.4rem;
  margin-bottom: 0.2rem;
  padding-top: 0.25rem;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.45rem; margin-top: 2rem; margin-bottom: 0.2rem; }
.article p { color: var(--ink-soft); }
.article p.lead { color: var(--ink-soft); }
.article strong { color: var(--ink); }

.article ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.article ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 2px var(--leaf-tint);
}

.article ol {
  padding-left: 1.4rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.5rem;
}

.article-figure {
  margin: 2.25rem 0 !important;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--sand);
}
.article-figure img { width: 100%; height: auto; }

/* next steps panel */
.next-steps {
  margin-top: 2.75rem !important;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--blush);
  border: 1px solid var(--blush-deep);
  color: var(--ink);
  font-size: 1.02rem;
}
.next-steps p { color: var(--ink); }
.next-steps a { font-weight: 500; color: var(--moss-deep); text-decoration-color: var(--ember); }
.next-steps a:hover { color: var(--ember); }

/* placeholder text (privacy policy fields to be completed) */
.placeholder {
  color: var(--ember-deep);
  font-style: italic;
  border-bottom: 1px dashed var(--ember);
}

/* ---- aside ---- */
.aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 1.5rem;
}
.aside-block {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--cream);
}
.aside-block h3,
.aside-block__h {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1rem;
}
.aside-nav {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
}
.aside-nav li + li { border-top: 1px solid var(--linen-deep); }
.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}
.aside-nav a:hover { color: var(--moss); padding-left: 0.45rem; }
.aside-nav a[aria-current="page"] {
  color: var(--moss);
  font-weight: 500;
}
.aside-nav a[aria-current="page"]::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  flex: 0 0 auto;
}

.aside-block--book {
  background: var(--linen);
  border-color: var(--sand);
}
.aside-block--book .aside-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.aside-block--book p { color: var(--ink-soft); font-size: 0.95rem; }
.aside-block--book .btn { width: 100%; justify-content: center; margin-top: 1rem; }
.aside-contact {
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--sand);
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.aside-contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.aside-contact a:hover { color: var(--ember); }
.aside-contact span { display: block; color: var(--ink-mute); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

@media (max-width: 960px) {
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}

/* --------------------------------------------------------------------------
   Stages
   -------------------------------------------------------------------------- */
.stages {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 2rem !important;
  display: grid;
  gap: 0 !important;
  border-top: 1px solid var(--sand);
}
.stages li {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.25rem 0 !important;
  border-bottom: 1px solid var(--sand);
}
.stages li::before { display: none !important; }
.stages .stage__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ember);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.stages .stage__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   Fees table
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--cream);
}
.fees {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-variant-numeric: tabular-nums;
}
.fees th, .fees td {
  text-align: left;
  vertical-align: top;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--linen-deep);
}
.fees thead th {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  background: var(--linen);
  border-bottom-color: var(--sand);
}
.fees tbody tr:last-child td { border-bottom: 0; }
.fees td { color: var(--ink-soft); }
.fees td.fee {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  white-space: nowrap;
  width: 1%;
}

/* portrait mobile: keep the two-column table (headings visible, price on
   the right) but drop the fixed min-width so it fits without sideways scroll */
@media (max-width: 560px) {
  .table-wrap { overflow-x: visible; }
  .fees { min-width: 0; }
  .fees th, .fees td { padding: 0.9rem 0.85rem; }
  .fees thead th { font-size: 0.68rem; letter-spacing: 0.12em; }
  .fees thead th:last-child, .fees td.fee { text-align: right; white-space: nowrap; }
  .fees td.fee { font-size: 1.2rem; padding-left: 0.5rem; }
}
.fees td small { display: block; color: var(--ink-mute); font-size: 0.86rem; margin-top: 0.15rem; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0; margin-top: 1.5rem !important; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--moss); }
.faq summary .faq__icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--sand-deep);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.faq summary .faq__icon::before, .faq summary .faq__icon::after {
  content: "";
  position: absolute;
  width: 12px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.25s;
}
.faq summary .faq__icon::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--moss); }
.faq details[open] .faq__icon { background: var(--leaf); border-color: var(--leaf); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq .faq__body { padding: 0 3.5rem 1.5rem 0.25rem; }
.faq .faq__body p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--sand);
}
.contact-list li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
}
.article .contact-list { display: block; margin: 1.5rem 0 0; }
.article .contact-list li { padding-left: 0; }
.article .contact-list li::before { display: none; }
.contact-list dt, .contact-list .label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 500;
  padding-top: 0.3rem;
}
.contact-list .value { color: var(--ink); }
.contact-list .value a { text-decoration: none; font-weight: 500; color: var(--ink); }
.contact-list .value a:hover { color: var(--ember); }
.contact-list .value--big a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
}

.contact-card {
  background: var(--linen);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card h2 { font-size: 1.9rem; margin-bottom: 0.75rem; }
.contact-card p { color: var(--ink-soft); }
.contact-card .btn { margin-top: 1rem; }
.contact-card + .contact-card { margin-top: 1.25rem; }
.contact-card--photo { padding: 0; overflow: hidden; background: var(--sand); }
.contact-card--photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* --------------------------------------------------------------------------
   Map embed
   -------------------------------------------------------------------------- */
.map-section { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
.map-section--home { background: var(--linen); }
.map-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 7;
  min-height: 360px;
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.map-embed__chip {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  max-width: calc(100% - 2rem);
}
.map-embed__chip svg { width: 16px; height: 16px; color: var(--ember); flex: 0 0 auto; }
.map-embed__chip:hover { color: var(--ember); }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------------------
   Google reviews slider
   -------------------------------------------------------------------------- */
.reviews {
  background: var(--petal);
  border-top: 1px solid var(--blush-deep);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.reviews__head h2 { margin-bottom: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.65rem 1.1rem 0.65rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--blush-deep);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.reviews__summary:hover { border-color: var(--ember); color: var(--ember); }
.reviews__summary .g-mark { width: 22px; height: 22px; flex: 0 0 auto; }
.reviews__summary .stars { color: var(--ember); }

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ember);
  line-height: 1;
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }

.reviews__viewport { position: relative; }
.reviews__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  margin: -0.5rem -0.25rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline-offset: 6px;
}
.reviews__track::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 min(100%, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--blush-deep);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -34px rgba(43, 49, 40, 0.4);
}
.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.review__top .g-mark { width: 20px; height: 20px; opacity: 0.9; }
.review__text {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.review__text::before { content: "\201C"; color: var(--ember); margin-right: 0.05em; }
.review__text::after { content: "\201D"; color: var(--ember); margin-left: 0.05em; }
.review__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linen-deep);
}
.review__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--leaf-tint);
  color: var(--moss);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  flex: 0 0 auto;
}
.review__name { font-weight: 500; font-size: 0.95rem; color: var(--ink); display: block; line-height: 1.2; }
.review__source { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.04em; }

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.reviews__arrows { display: inline-flex; gap: 0.6rem; }
.reviews__arrow {
  appearance: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--sand-deep);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.reviews__arrow svg { width: 18px; height: 18px; }
.reviews__arrow:hover { background: var(--leaf); border-color: var(--leaf); color: var(--ink); transform: translateY(-1px); }
.reviews__arrow:disabled { opacity: 0.35; cursor: default; transform: none; background: var(--cream); border-color: var(--sand-deep); }
.reviews__dots { display: inline-flex; gap: 0.4rem; }
.reviews__dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blush-deep);
  transition: background 0.25s ease, transform 0.25s ease;
}
.reviews__dots span.is-active { background: var(--ember); transform: scale(1.3); }
.reviews__more { font-size: 0.92rem; }

@media (max-width: 640px) {
  .review { flex-basis: 86%; }
  .reviews__nav { flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   Embedded form / info card (patient form page)
   -------------------------------------------------------------------------- */
.form-embed { margin: 1.75rem 0 !important; }
.form-embed iframe { width: 100%; border: 0; border-radius: var(--radius); min-height: 620px; }

.info-card {
  margin: 1.75rem 0 !important;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.info-card h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.info-card p { color: var(--ink-soft); }
.info-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem !important;
}

/* --------------------------------------------------------------------------
   Societies & accreditations band
   -------------------------------------------------------------------------- */
.societies {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-block: 1px solid var(--sand);
}
.societies--linen { background: var(--linen); }
.societies--cream { background: var(--cream); }

.societies__label {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.societies__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
}
.societies__list li { display: flex; }
.societies__list img {
  height: clamp(27px, 3vw, 36px);
  width: auto;
  max-width: 210px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}
.societies__list li:hover img { opacity: 1; }
@media (max-width: 560px) {
  .societies__list { gap: 1.5rem 2rem; }
  .societies__list img { height: 24px; max-width: 150px; }
}

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */
.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.enquiry__intro { max-width: 30rem; display: flex; flex-direction: column; }
.enquiry__intro h2 { margin-bottom: 0.9rem; }
.enquiry__intro p { color: var(--ink-soft); }
.enquiry__alt {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.enquiry__alt a { color: var(--ink); text-decoration: none; font-weight: 500; }
.enquiry__alt a:hover { color: var(--ember); }

.enquiry__note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
}
.enquiry__note p { margin: 0 0 1em; color: var(--ink-soft); }
.enquiry__note p:last-child { margin-bottom: 0; }
.enquiry__note a { color: var(--moss); font-weight: 500; text-decoration-color: var(--sand-deep); }
.enquiry__note a:hover { color: var(--ember); text-decoration-color: var(--ember); }

.enquiry-form {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field:last-of-type { margin-bottom: 0; }
.field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field .req { color: var(--ember); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("../img/floral/eyebrow-mark.svg");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.9rem;
  padding-right: 2.4rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(160, 188, 109, 0.25);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--ember-deep);
  box-shadow: 0 0 0 3px rgba(196, 112, 63, 0.16);
}
.field__hint { font-size: 0.82rem; color: var(--ink-mute); }

.field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.4rem;
}
.field--consent input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: var(--moss);
}
.field--consent label { font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0; }
.field--consent a { color: var(--moss); }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.enquiry-form__foot {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.enquiry-form__foot .btn { border: 0; cursor: pointer; }

.form-status {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.form-status:empty { display: none; }
.form-status.is-error { color: var(--ember-deep); }
.form-status.is-ok { color: var(--moss); font-weight: 500; }

@media (max-width: 860px) {
  .enquiry { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid var(--sand-deep);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer__brand img { height: 50px; width: auto; margin-bottom: 1.25rem; }
.footer__brand > p { color: var(--ink-soft); font-size: 0.95rem; max-width: 26rem; }
.footer__contact { margin-top: 1.75rem; }
.footer__contact .footer__list { gap: 0.7rem; max-width: 24rem; }
.footer__col { display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.5rem); }
.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}
.site-footer h4,
.footer__h {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1rem;
}
.footer__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.footer__list a { color: var(--ink); text-decoration: none; }
.footer__list a:hover { color: var(--ember); }
.footer__list .label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.1rem; }
.footer__list li + li { margin-top: 0.35rem; }

.footer__bottom {
  border-top: 1px solid var(--sand-deep);
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer__bottom > p { margin: 0; }
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.footer__bottom a { color: var(--ink-soft); text-decoration: none; }
.footer__bottom a:hover { color: var(--ember); }
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  order: 3;
  flex-basis: 100%;
  justify-content: center;
  margin-top: 0.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
  color: var(--ink-mute);
  font-size: 0.8rem;
}
.footer__credit a { display: inline-flex; align-items: center; }
.footer__credit img {
  height: 14px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.footer__credit a:hover img { opacity: 1; }
@media (min-width: 700px) {
  .footer__credit { order: 0; flex-basis: auto; margin-top: 0 !important; padding-top: 0; border-top: 0; }
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact .footer__list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 2rem; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__contact .footer__list { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Floral decorations — line-art blooms echoing the practice's live site
   -------------------------------------------------------------------------- */
.floral {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  margin: 0;
}
.floral img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* wide "meadow" strip — blooms grow out of the hero, fade up into it, and
   dip past the seam into the section below so there is no hard edge */
.hero + .floral-strip {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: clamp(-6rem, -9vw, -3.25rem);
  margin-bottom: clamp(-3.5rem, -5vw, -1.75rem);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 88%, transparent 100%);
}
.hero + .floral-strip img {
  display: block;
  width: 100%;
  max-width: 1800px;
  height: auto;
  margin: 0 auto;
}
.hero + .floral-strip + .section { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .hero + .floral-strip {
    margin-top: -2.5rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 90%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 90%, transparent 100%);
  }
  .hero + .floral-strip img { width: 150%; max-width: none; margin-left: -25%; }
}

/* keep real content above every floral layer */
.hero__grid,
.page-hero__grid,
.cta-band__inner,
.footer__grid,
.footer__bottom,
.reviews .container,
.section .container { position: relative; z-index: 2; }

/* hero meadow */
.hero { isolation: isolate; }
.hero__grid { padding-bottom: clamp(4rem, 8vw, 7rem); }

/* single corner bloom accents */
.floral--corner {
  width: clamp(150px, 22vw, 300px);
  aspect-ratio: 1;
  opacity: 0.8;
}
.floral--bottom-left { left: -2%; bottom: 0; }
.floral--bottom-right { right: -2%; bottom: -4%; }
.floral--top-right { right: -3%; top: 4%; transform: scaleY(-1); opacity: 0.55; }

.page-hero { isolation: isolate; }
.page-hero .floral--corner { width: clamp(130px, 18vw, 240px); opacity: 0.7; }

.reviews { position: relative; isolation: isolate; }
.reviews .floral--corner { opacity: 0.5; }

.cta-band .floral--corner { opacity: 0.28; width: clamp(140px, 16vw, 220px); }

/* footer flourish */
.site-footer { position: relative; isolation: isolate; }
.footer__floral {
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: clamp(58px, 8vw, 104px);
  transform: scaleY(-1);
  opacity: 0.5;
  pointer-events: none;
}
.footer__floral img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

@media (max-width: 700px) {
  .floral--top-right, .cta-band .floral--corner { display: none; }
}

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

/* scroll progress — a hairline that fills as the page is read */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 300;
  background: linear-gradient(90deg, var(--leaf), var(--ember));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 0.15s linear, opacity 0.3s ease;
  pointer-events: none;
}

/* --- scroll reveal, with directional + scale variants --- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
.js .reveal[data-delay="4"] { transition-delay: 0.4s; }

.js .reveal--left  { transform: translateX(-34px); }
.js .reveal--right { transform: translateX(34px); }
.js .reveal--scale { transform: scale(0.94); }
.js .reveal--fade  { transform: none; }
.js .reveal--left.is-visible,
.js .reveal--right.is-visible,
.js .reveal--scale.is-visible { transform: none; }

/* split sections drift in from their own side */
.js .split .split__media { --reveal-x: -30px; }
.js .split .split__copy  { --reveal-x: 30px; }
.js .split--reverse .split__media { --reveal-x: 30px; }
.js .split--reverse .split__copy  { --reveal-x: -30px; }
.js .split .reveal { transform: translateY(20px) translateX(var(--reveal-x, 0)); }
.js .split .reveal.is-visible { transform: none; }

/* framed / arched photos settle in from a slight zoom */
.js .arch img, .js .frame img, .js .contact-card--photo img {
  transition: transform 1.1s var(--ease), filter 1.1s ease;
}
/* once parallax owns the transform, drop the transition so it tracks the scroll */
.js .arch img[data-px] { transition: filter 1.1s ease; will-change: transform; }
.js .reveal:not(.is-visible) .arch img,
.js .reveal:not(.is-visible) .frame img,
.js .reveal.contact-card--photo:not(.is-visible) img,
.js .page-hero__media.reveal:not(.is-visible) img {
  transform: scale(1.08);
  filter: saturate(0.85);
}

/* --- hero entrance --- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.js .hero__copy > * { animation: rise 0.9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 0.09s; }
.js .hero__copy > :nth-child(3) { animation-delay: 0.18s; }
.js .hero__copy > :nth-child(4) { animation-delay: 0.27s; }
.js .hero__media { animation: rise 1.15s var(--ease) 0.15s both; }
/* opacity-only (no transform) — a transform on .site-header would make it the
   positioning container for the fixed-position mobile menu it contains */
.js .site-header { animation: fade-in 0.7s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* --- eyebrow flower blooms open when its block reveals --- */
@keyframes bloom {
  from { opacity: 0; transform: scale(0.2) rotate(-120deg); }
  to   { opacity: 1; transform: none; }
}
.js .eyebrow::before { transform-origin: 50% 50%; }
.js .reveal.is-visible .eyebrow::before,
.js .reveal.is-visible.eyebrow::before,
.js .hero__copy .eyebrow::before { animation: bloom 0.9s var(--ease) 0.15s both; }

/* --- decorative florals: a slow, breeze-like sway (never synced) --- */
@keyframes sway-a { 0%,100% { transform: rotate(-1.3deg) translateY(0); } 50% { transform: rotate(1.6deg) translateY(-5px); } }
@keyframes sway-b { 0%,100% { transform: rotate(1.4deg) translateY(-3px); } 50% { transform: rotate(-1.5deg) translateY(2px); } }
@keyframes drift  { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.015); } }

.js .floral--corner img { animation: sway-a 11s ease-in-out infinite; transform-origin: 50% 100%; }
.js .reviews .floral--corner img { animation: sway-b 13s ease-in-out infinite; animation-delay: -3s; }
.js .cta-band .floral--corner img { animation: drift 15s ease-in-out infinite; }
.js .footer__floral img { animation: sway-b 16s ease-in-out infinite; transform-origin: 50% 0; }
.js .hero + .floral-strip img { animation: drift 14s ease-in-out infinite; }
.js .societies__list img { animation: drift 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }

/* the hero's soft orbs breathe */
@keyframes orb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6px,-10px) scale(1.05); } }
.js .hero__orb { animation: orb 16s ease-in-out infinite; }
.js .hero__orb--dot { animation-duration: 12s; animation-direction: reverse; }
.js .hero::before { animation: orb 22s ease-in-out infinite; }

/* --- hover polish --- */
.card img, .contact-card--photo img, .map-embed__chip { transition: transform 0.5s var(--ease); }
.card { transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease; }
.card:hover { box-shadow: var(--shadow); }
.card:hover img { transform: scale(1.05); }
.card .card__media, .card figure { overflow: hidden; }

.nav__link, .nav__trigger { position: relative; }
.nav__link::after, .nav__trigger::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem;
  bottom: 0.35rem;
  height: 1.5px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__trigger:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.btn { will-change: transform; }
.btn:hover { transform: translateY(-2px) scale(1.015); }
.btn:active { transform: translateY(0) scale(0.99); }

.reviews__summary:hover .g-mark,
.faq summary:hover .faq__icon { transform: rotate(-6deg); }
.reviews__summary .g-mark, .faq summary .faq__icon { transition: transform 0.3s var(--ease); }

.footer__list a { display: inline-block; transition: color 0.2s ease, transform 0.25s var(--ease); }
.footer__list a:hover { transform: translateX(3px); }

/* --- FAQ accordion open/close (JS keeps [open] on during the close tween) --- */
.js .faq .faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.js .faq details[open] .faq__body { grid-template-rows: 1fr; }
.js .faq details.is-closing .faq__body { grid-template-rows: 0fr; }
.js .faq .faq__body > * { overflow: hidden; min-height: 0; }
.js .faq .faq__body p {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s var(--ease) 0.05s;
}
.js .faq details[open]:not(.is-closing) .faq__body p { opacity: 1; transform: none; }

/* --- back-to-top --- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--sand-deep);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--leaf); border-color: var(--leaf); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

/* --- text niceties --- */
::selection { background: var(--leaf-soft); color: var(--ink); }

/* --- compact header on scroll --- */
.site-header .header__inner { transition: min-height 0.35s var(--ease); }
.site-header .brand img { transition: height 0.35s var(--ease); }
.site-header.is-compact .header__inner { min-height: 66px; }
.site-header.is-compact .brand img { height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .arch img, .js .frame img, .js .contact-card--photo img,
  .js .page-hero__media img { transform: none !important; filter: none !important; }
  .scroll-progress, .to-top { display: none !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .aside, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .page-body { grid-template-columns: minmax(0, 1fr); }
}

/* small phones: keep the larger logo from crowding the menu button */
@media (max-width: 400px) {
  .brand img,
  .nav-open .site-header.is-compact .brand img { height: 46px; }
  .site-header.is-compact .brand img { height: 40px; }
}
