/* ==========================================================================
   Colour tokens — every colour on the site is one of these, never a loose
   hex, inline style="" attributes included. New colour? Add it here first.
   ========================================================================== */
:root {
  /* Core brand — taken from the client's mood board via the Claude Design
     file (see Design Rationale). */
  --ink: #1E231E;          /* primary text / near-black surfaces */
  --paper: #FBF9F5;        /* page background / text on dark */
  --white: #FFFFFF;
  --field-placeholder: #4A5C6B; /* darker blue-grey placeholder on white fields */
  --green: #4B5747;        /* brand green — secondary buttons, active tabs */
  --green-deep: #3E4C41;   /* dark bands, footer, H1 colour */
  --book: #8C6A3B;         /* BOOKING ONLY — every book button, nothing else */
  --book-hover: #6F5430;
  --key-yellow: var(--book); /* kit name for the accent; kept so kit components read */

  /* Text */
  --muted: #7A8077;        /* secondary text on light, inactive tabs */
  --body-text: #4B5044;    /* body copy */
  --dark-muted: #A9B5A2;   /* secondary text on dark */
  --on-dark: #DDE3D7;      /* body copy on the green bands */
  --on-dark-soft: #C9D2C2; /* captions and "or" on dark */

  /* Stone + sage surfaces */
  --stone: #E6E1D7;        /* light panels, chips, tabs */
  --stone-dark: #DAD3C6;   /* image backgrounds, dividers */
  --stone-light: #E0DCD2;  /* angled offer chips */
  --ghost-type: #E2DDD3;   /* the oversized "1950" behind the hero */
  --cream: #F5EFE3;        /* closed FAQ card */
  --cream-warm: #EEE4D3;   /* alternate step card */
  --sage: #8C9986;         /* step numbers, ticker dots, link underline */
  --sage-chip: #CFD8C9;    /* offer chip on light */
  --gold-star: #B58A4A;    /* review stars */
  --gold-num: #A9814B;     /* USP counter number */
  --oak: #E4CFAE;          /* fallback under the oak texture */

  /* Kit aliases (header, FAQ, carousels, form) */
  --placeholder-bg: var(--stone);
  --hairline: var(--stone-dark);
  --tab-bg: var(--stone);
  --tab-bg-hover: var(--stone-dark);
  --dark-border-alt: var(--green);
  --dark-border-alt-2: var(--green-deep);
  --tint-b: var(--on-dark-soft);
  --pagination-hover: var(--sage);
  --decor-line-soft: var(--stone-dark);

  /* Translucent paper (overlays on dark bands) */
  --paper-10: rgba(251, 249, 245, 0.1);
  --paper-12: rgba(251, 249, 245, 0.12);
  --paper-16: rgba(251, 249, 245, 0.16);
  --paper-22: rgba(251, 249, 245, 0.22);
  --paper-28: rgba(251, 249, 245, 0.28);
  --paper-34: rgba(251, 249, 245, 0.34);
  --paper-50: rgba(251, 249, 245, 0.5);
  --paper-55: rgba(251, 249, 245, 0.55);
  --paper-92: rgba(251, 249, 245, 0.92);
  --paper-94: rgba(251, 249, 245, 0.94);

  /* Shadows — all derived from --ink */
  --shadow-soft: rgba(30, 35, 30, 0.12);
  --shadow-mid: rgba(30, 35, 30, 0.16);
  --shadow-cutout: rgba(30, 35, 30, 0.2);
  --shadow-strong: rgba(30, 35, 30, 0.28);
  --shadow-pin: rgba(30, 35, 30, 0.35);

  /* Third-party marks only — never site colours */
  --brand-google-blue: #4285F4;
  --brand-google-green: #34A853;
  --brand-google-yellow: #FBBC04;
  --brand-google-red: #EA4335;

  /* Lightbox dimmer — derive from --ink */
  --scrim: rgba(30, 35, 30, 0.78);

  /* Faces */
  --font-ui: 'Inter Tight', system-ui, sans-serif;

  /* Added-copy highlight — a colour used nowhere else (01 §16). Off since
     2026-11-05: the site is with the client for feedback, so copy we wrote
     reads as normal text. Put rgba(255, 92, 92, 0.3) back to show it again. */
  --copy-added-bg: transparent;
  --select-bg: #EEE9E0;   /* text selection: a shade lighter than the nav phone button (--stone) */

  /* XD footer credit hover (01 §4.1) */
  --xd-credit-hover: #FFD102;
}

/* No browser-default blue anywhere text is selected or tapped. */
::selection { background: var(--select-bg); color: var(--ink); }
::-moz-selection { background: var(--select-bg); color: var(--ink); }
html { -webkit-tap-highlight-color: transparent; }

.copy-added {
  background: var(--copy-added-bg);
  box-shadow: 0 0 0 3px var(--copy-added-bg);
  border-radius: 2px;
}

html, body {
  overflow-x: clip;
  /* Sections that resize as you scroll past them fight the browser's scroll
     anchoring (it silently adjusts scrollTop), which can trap the visitor
     mid-section. We drive that ourselves, so anchoring is off everywhere. */
  overflow-anchor: none;
}

.xd-credit { transition: color 180ms ease; }
.xd-credit:hover { color: var(--xd-credit-hover) !important; }


/* ==========================================================================
   Site header / nav — kit markup + initNav() (04), restyled to the London
   Road design: angled stone tabs for Find us and the phone, a green
   angled Book online block. ≤1080px collapses to three round buttons.
     .site-header-inner
       .header-start         logo + Find us pin tab
       nav.site-nav          Treatments ▾ · New patient information · About us ▾ · Prices and plans
       .header-end           phone tab · .nav-cta · .nav-menu-toggle
       .mobile-menu-panel    what the hamburger opens
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  /* Above the QA pill overlay (2147483000) and the sticky bar (2147483002). */
  z-index: 2147483003;
  background: var(--paper-94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 320ms ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px var(--shadow-pin); }
.site-header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-between; gap: 20px;
  position: relative;
}
.header-start { display: flex; align-items: stretch; flex: none; padding-left: 28px; }
.site-logo-link { display: flex; align-items: center; flex: none; text-decoration: none; }
.site-logo { height: 54px; width: auto; display: block; margin: 12px 20px 12px 0; }

.header-findus {
  background: var(--stone); padding: 0 26px 0 34px; margin-right: -26px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  text-decoration: none;
  clip-path: polygon(26px 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  transition: background 180ms ease;
}
.header-findus:hover { background: var(--stone-dark); }
/* The design's map pin, drawn in CSS. */
.pin-mark {
  position: relative; display: inline-block; width: 15px; height: 21px;
  background: var(--book);
  clip-path: polygon(50% 100%, 0 52%, 0 0, 100% 0, 100% 52%);
  border-radius: 50% 50% 0 0 / 44% 44% 0 0;
}
.pin-mark > span {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--stone); display: block;
}

.site-nav {
  display: flex; align-items: center; justify-content: center; flex: 1 1 auto;
  min-width: 0; padding-left: 24px; white-space: nowrap;
}
.nav-item, .nav-link-group .nav-link {
  font-size: 15px; padding: 0 12px; min-height: 44px;
  display: inline-flex; align-items: center; text-decoration: none; color: var(--ink);
  border-bottom: 3px solid transparent; transition: border-color 180ms ease;
}
.nav-item:hover, .nav-link-group .nav-link:hover { border-bottom-color: var(--sage); }
.nav-link-group { position: relative; display: flex; align-items: center; }
.nav-link-group .nav-link { font-weight: 600; padding-right: 2px; }
.nav-caret {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 44px; flex: none; margin-right: 10px;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--book);
}
.nav-caret-icon { width: 10px; height: 7px; display: block; transition: transform 220ms ease; }
.nav-link-group:hover .nav-caret-icon,
.nav-link-group.is-open .nav-caret-icon { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--paper); padding: 10px 0;
  box-shadow: 0 24px 50px -30px var(--shadow-pin);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}
.nav-link-group:hover .nav-dropdown-panel,
.nav-link-group.is-open .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s;
}
.nav-dropdown-link { display: block; padding: 10px 22px; font-size: 15px; text-decoration: none; }
.nav-dropdown-link:hover { background: var(--stone); }
.nav-link-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
/* Treatments: every hub with its children, in three columns (sitemap). */
.nav-dropdown-panel--mega {
  display: grid; grid-template-columns: repeat(3, minmax(236px, auto)); gap: 0 8px;
  padding: 16px 8px 22px; white-space: normal;
}
.nav-dropdown-panel--mega .nav-dropdown-link { padding: 7px 14px; font-size: 14px; }
/* The big card carries a very faint drop shadow. The cut corner moves to a ::before so the shadow (a filter) follows the shape instead of being clipped. */
.nav-dropdown-panel--mega {
  background: transparent; box-shadow: none; clip-path: none; isolation: isolate;
  filter: drop-shadow(0 6px 16px var(--shadow-soft));
}
.nav-dropdown-panel--mega::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.nav-dropdown-link--hub { font-weight: 600; color: var(--ink); }
.nav-dropdown-panel--mega .nav-dropdown-link--hub { padding-top: 12px; font-size: 15px; }
.nav-dropdown-col > .nav-dropdown-link--hub:first-child { padding-top: 7px; }

.header-end { display: flex; align-items: stretch; flex: none; }
.header-phone {
  display: flex; align-items: center; padding: 0 40px 0 34px; margin-right: -26px;
  background: var(--stone); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  clip-path: polygon(26px 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.header-phone-icon { display: none; }
.header-phone-icon svg { width: 20px; height: 20px; display: block; }

.nav-cta {
  background: var(--green); color: var(--white);
  padding: 0 26px 0 40px; font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; text-decoration: none;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
  transition: background 180ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--white); }
.cta-arrow {
  width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
  transition: transform 260ms var(--rv-ease);
}
/* The arrow blob nudges forward on hover — every arrow-in-a-circle link. */
.nav-cta:hover .cta-arrow, .circle-link:hover > span:last-child { transform: translateX(5px); }
.nav-cta .cta-icon { display: none; }
.nav-cta .cta-icon svg { width: 20px; height: 20px; display: block; }

.nav-menu-toggle {
  display: none; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-menu-toggle-bar {
  display: block; width: 16px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-menu-toggle.is-open .nav-menu-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu-toggle.is-open .nav-menu-toggle-bar:nth-child(2) { opacity: 0; }
.nav-menu-toggle.is-open .nav-menu-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 8px 32px 24px; background: var(--paper); border-top: 1px solid var(--stone-dark);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 30px 60px -30px var(--shadow-pin);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
}
.mobile-menu-panel.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s;
}
.mobile-menu-link { padding: 12px 0; min-height: 44px; font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none; }
.mobile-menu-group-head { display: flex; align-items: center; }
.mobile-menu-group-head .mobile-menu-link { flex: 1 1 auto; }
.mobile-menu-caret {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: none; cursor: pointer; color: var(--book);
}
.mobile-menu-caret .nav-caret-icon { transition: transform 220ms ease; }
.mobile-menu-group.is-open .mobile-menu-caret .nav-caret-icon { transform: rotate(180deg); }
.mobile-menu-submenu { display: none; flex-direction: column; padding: 0 0 8px 14px; }
.mobile-menu-group.is-open .mobile-menu-submenu { display: flex; }
.mobile-menu-sublink { padding: 10px 0; font-size: 17px; color: var(--body-text); text-decoration: none; }
.mobile-menu-sublink--hub { margin-top: 6px; font-weight: 600; color: var(--ink); }
.mobile-menu-sublink--hub ~ .mobile-menu-sublink:not(.mobile-menu-sublink--hub) { padding-left: 14px; }
/* The treatments list is long: it scrolls inside the panel, never past the screen. */
.mobile-menu-panel { max-height: calc(100dvh - 80px); overflow-y: auto; }

@media (max-width: 1240px) {
  .nav-item, .nav-link-group .nav-link { padding: 0 8px; font-size: 14px; }
  .header-phone { padding: 0 34px 0 30px; }
}
/* Four sitemap items only just fit above the 1080 collapse. */
@media (max-width: 1180px) {
  .nav-item, .nav-link-group .nav-link { padding: 0 6px; }
  .nav-caret { margin-right: 6px; }
}
/* ≤1080px (the design's own breakpoint): logo + three round buttons. */
@media (max-width: 1080px) {
  .site-nav, .header-findus { display: none; }
  .header-start { padding-left: 20px; }
  .site-logo { height: 48px; margin: 12px 0; }
  .header-end { align-items: center; gap: 8px; padding-right: 20px; }
  .header-phone {
    width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%;
    justify-content: center; clip-path: none;
  }
  .header-phone-text { display: none; }
  .header-phone-icon { display: flex; }
  .nav-cta {
    width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center;
    background: var(--book); clip-path: none;
  }
  .nav-cta:hover { background: var(--book-hover); }
  .nav-cta .cta-full, .nav-cta .cta-arrow { display: none; }
  .nav-cta .cta-icon { display: flex; }
  .nav-menu-toggle { display: flex; }
}
@media (max-width: 420px) {
  .site-logo { height: 40px; }
  .mobile-menu-panel { padding: 8px 20px 20px; }
}


/* ==========================================================================
   In-page anchors — how a #hash link travels, and where it lands.
   The header is sticky and covers the top ~77px, but the browser scrolls a
   target to y=0 — behind it. scroll-margin-top is the element's own answer
   to "how far down should I come to rest", however the visitor arrives.
   ========================================================================== */
:root { --anchor-offset: 104px; }   /* header height + ~27px of air */

html { scroll-behavior: smooth; }

/* Every [id], not a list — scroll-margin is inert where nothing scrolls to,
   and a list would quietly stop covering new sections. */
[id] { scroll-margin-top: var(--anchor-offset); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ==========================================================================
   Scroll animation engine
   Every [data-reveal] carries one paused keyframe animation; initReveals()
   un-pauses it once via IntersectionObserver. Gated on `.js` (set by the
   inline gate in <head>), off under prefers-reduced-motion.
   ========================================================================== */
:root {
  /* Measured, not eyeballed — see 08 §4. */
  --rv-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Fallback for the moment before initReveals() sizes the travel. */
  --rv-dist: 34px;
}

.js [data-reveal] {
  animation-name: rvIn;
  animation-duration: var(--rv-dur, 800ms);
  animation-timing-function: var(--rv-ease);
  animation-fill-mode: both;
  animation-play-state: paused;
}
.js [data-reveal].is-in { animation-play-state: running; }

/* Once played, hand transform/opacity back to the stylesheet so the
   element's own hover transition works. (0,3,0) beats (0,2,0) above. */
.js [data-reveal].rv-done { animation: none; }

/* Only a `from` — the implicit `to` is the element's own computed style.
   translate3d kept deliberately; don't "tidy" it without watching it run. */
@keyframes rvIn {
  from {
    opacity: 0;
    transform: translate3d(var(--rv-x, 0px), var(--rv-y, var(--rv-dist)), 0) scale(var(--rv-scale, 1));
  }
}

.js [data-reveal="left"]  { --rv-x: calc(var(--rv-dist) * -1); --rv-y: 0px; }
.js [data-reveal="right"] { --rv-x: var(--rv-dist);            --rv-y: 0px; }
.js [data-reveal="up"]    { --rv-x: 0px; }

/* Word-by-word headings. !important is load-bearing: initReveals() writes
   --rv-x/--rv-y inline, and only !important can flatten them at phone widths. */
.rv-word { display: inline-block; }
@media (max-width: 900px) {
  .js [data-reveal]:not(.rv-keep-x) { --rv-x: 0px !important; --rv-y: var(--rv-dist) !important; }
}

/* Parallax — initParallax() writes the `translate` (and `scale`)
   properties, which stack on any transform the element already has. */
.js [data-parallax]:not([data-parallax-mode="bg"]) { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { animation: none !important; }
}


/* ==========================================================================
   FAQ — two-column band, sticky aside, tabbed height-transition accordion
   ========================================================================== */
.faq-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: start;           /* or sticky has no room to travel */
}
/* Sticky from tablet up (768–900 is set in the tablet block further down). */
@media (min-width: 901px) {
  .faq-aside { position: sticky; top: 120px; }
}

/* The tab row deliberately sets no z-index: that would make it a stacking
   context and lift inactive tabs above the white panel. Per-tab z-index
   puts the active tab in front of the card, inactive ones behind. */
.faq-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 4px;
}
.faq-tab {
  font: inherit;
  font-size: 14.5px;
  font-family: var(--font-ui);
  padding: 14px 26px 17px;
  margin-bottom: -1px;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  white-space: nowrap;
  background: var(--tab-bg);
  color: var(--muted);
  transform: translateY(4px);
  z-index: 0;                   /* flex items: works without position */
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.faq-tab.active { background: var(--white); color: var(--ink); transform: translateY(0); z-index: 2; }
/* A tab panel the JS has hidden stays hidden, whatever display a skin
   gives .faq-group. (Without this every group showed at once and the
   tabs looked like they did nothing.) */
.faq-group[hidden] { display: none !important; }
.carousel-controls[hidden], section[hidden] { display: none !important; }
.faq-group.is-entering { animation: panelIn 420ms var(--rv-ease) both; }
.faq-group { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--hairline); border-radius: 0 22px 22px 22px; padding: 6px 30px; }
.faq-item { border-bottom: 1px solid var(--tab-bg); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  text-align: left;
  font: inherit;
  font-family: var(--font-ui);
  background: none;
  border: 0;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
}
.faq-q-text { font-size: 17.5px; letter-spacing: -0.015em; }
.faq-sign { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--key-yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 17px; }

/* Height transition, not `hidden`. */
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition: grid-template-rows 420ms var(--rv-ease), opacity 240ms ease,
              visibility 0s linear 420ms;
}
.faq-item.is-open .faq-a-wrap {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition: grid-template-rows 420ms var(--rv-ease), opacity 300ms ease 120ms,
              visibility 0s;
}
.faq-a-wrap > .faq-a { overflow: hidden; min-height: 0; }
.faq-a { margin: 0; padding: 0 0 24px; max-width: 62ch; font-size: 15.5px; line-height: 1.62; color: var(--body-text); }

/* Phones: tabs on one line, tucked under each other left-over-right. The
   z-index ladder puts each tab behind the one to its left, all behind the
   panel, and the active one in front of everything. Extend the ladder if a
   section has more than three tabs. */
@media (max-width: 767px) {
  .faq-tabs { flex-wrap: nowrap; gap: 0; }
  .faq-tab { padding: 13px 18px 16px; font-size: 13.5px; min-width: 0; overflow: hidden; }
  .faq-tab + .faq-tab { margin-left: -16px; padding-left: 28px; }
  .faq-group { z-index: 4; }
  .faq-tab:nth-child(1) { z-index: 3; }
  .faq-tab:nth-child(2) { z-index: 2; }
  .faq-tab:nth-child(3) { z-index: 1; }
  .faq-tab.active { z-index: 5; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a-wrap { transition: none !important; }
}


/* ==========================================================================
   Swiper carousels — shared styling every carousel inherits
   ========================================================================== */
.swiper-slide { height: auto; }

/* Dots: a static list below the carousel, not overlaid. */
.swiper-pagination {
  position: static !important;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--decor-line-soft);
  opacity: 1;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.swiper-pagination-bullet:hover { background: var(--pagination-hover); transform: scale(1.2); }
.swiper-pagination-bullet-active { background: var(--key-yellow); }

/* Dimmed, inert arrows at whichever end is the limit. */
.swiper-button-disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* watchOverflow adds .swiper-button-lock when nothing needs scrolling.
   Swiper's own CSS hides it, but every arrow here sets its own `display` in
   site.css, which loads later at the same specificity and wins — so the
   lock was applied and visibly did nothing. One override for every
   carousel. */
.swiper-button-lock { display: none !important; }

/* Example carousel — slide width + arrow buttons. */
.gal-viewport { overflow: hidden; }
.gal-viewport .swiper-slide { width: 30.6%; }
.gal-prev, .gal-next {
  position: absolute; top: 50%; margin-top: -28px; z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--key-yellow); color: var(--ink); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(23,23,26,0.28); transition: transform 220ms ease;
}
.gal-prev { left: 16px; }
.gal-next { right: 16px; }
.gal-prev:hover { transform: translateX(-3px); }
.gal-next:hover { transform: translateX(3px); }
@media (max-width: 900px) { .gal-viewport .swiper-slide { width: 78%; } }


.vid-card { position: relative; overflow: hidden; border-radius: 18px; background: var(--placeholder-bg); aspect-ratio: 62 / 100; }
.vid-card .peer-video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--placeholder-bg); }

.vid-play-btn {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,0.94);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 14px 34px rgba(23,23,26,0.28); transition: transform 200ms ease;
}
.vid-play-btn:hover { transform: scale(1.06); }
.vid-play-icon {
  width: 0; height: 0; margin-left: 5px;
  border-left: 22px solid var(--ink);
  border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.vid-play-btn[hidden] { display: none !important; }

/* Hover preview: a short muted loop over the poster, hinting there's video
   behind it. Hover-capable devices only; hides once the real video plays. */
.vid-hover-loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; opacity: 0;
  transition: opacity 260ms ease;
}
@media (hover: hover) {
  .vid-card:hover .vid-hover-loop { opacity: 1; }
}
.vid-card.is-playing .vid-hover-loop { opacity: 0 !important; }


/* ==========================================================================
   Find us — "open in your maps app" buttons over the map image
   ========================================================================== */
.map-frame { position: relative; background: var(--placeholder-bg); min-height: 380px; }
.map-frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.map-actions {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgba(23,23,26,0.55);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.map-btn:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(23,23,26,0.6);
}
.map-btn-icon { width: 17px; height: 17px; flex: none; display: block; }

@media (max-width: 480px) {
  .map-actions { left: 14px; right: 14px; bottom: 14px; gap: 8px; }
  .map-btn { font-size: 13px; padding: 11px 15px; gap: 8px; }
}


/* ==========================================================================
   ActiveCampaign embedded forms — `.ac-form`
   AC writes the <form> and its own <style> into ._form_N at runtime. Every
   rule is `:is(#form, #referral-form) .ac-form …` + !important: AC's selectors are ids, and its
   <style> lands after this file.
   ========================================================================== */

/* AC @imports its own face. Put the site's back on everything it renders. */
:is(#form, #referral-form) .ac-form ._form,
:is(#form, #referral-form) .ac-form ._form * {
  font-family: var(--font-ui) !important;
}

/* AC pads and centres the form and its shell; the card already pads. */
:is(#form, #referral-form) .ac-form ._form,
:is(#form, #referral-form) .ac-form ._form-content,
:is(#form, #referral-form) .ac-form ._form-inner {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--paper) !important;
  font-size: 15.5px !important;
  line-height: 1.5 !important;
}

/* One field per row, 22px apart. Rows holding only a hidden input (the UTM
   fields + AC's honeypot) would each add an empty 22px row. */
:is(#form, #referral-form) .ac-form ._form-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}
:is(#form, #referral-form) .ac-form ._form ._form_element {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
:is(#form, #referral-form) .ac-form ._form ._form_element:has(> input[type="hidden"]) {
  display: none !important;
}

/* AC prints each group title twice — an ._html-code heading and the
   fieldset's <legend>. Keep the legend (screen readers announce it). */
:is(#form, #referral-form) .ac-form ._form ._form_element:has(> ._html-code > .crm_form-header) {
  display: none !important;
}

/* Text inputs. AC forces height:60px and 20px side padding. */
:is(#form, #referral-form) .ac-form ._form input[type="text"],
:is(#form, #referral-form) .ac-form ._form input[type="email"],
:is(#form, #referral-form) .ac-form ._form input[type="tel"],
:is(#form, #referral-form) .ac-form ._form input[type="date"],
:is(#form, #referral-form) .ac-form ._form textarea {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  color: var(--paper) !important;
  /* The design's field: translucent paper, hairline rim, square. */
  background: var(--paper-10) !important;
  border: 1px solid var(--paper-34) !important;
  border-radius: 0 !important;
  min-height: 48px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  outline: none !important;
  transition: border-color 180ms ease, background 180ms ease !important;
}
:is(#form, #referral-form) .ac-form ._form input[type="text"]:focus,
:is(#form, #referral-form) .ac-form ._form input[type="email"]:focus,
:is(#form, #referral-form) .ac-form ._form input[type="tel"]:focus,
:is(#form, #referral-form) .ac-form ._form input[type="date"]:focus,
:is(#form, #referral-form) .ac-form ._form textarea:focus {
  border-color: var(--oak) !important;
  background: var(--paper-12) !important;
}
/* AC's own `._form_element :is(textarea, …)` colour rule ties ours on
   specificity and loads later, so textareas came out dark navy. One class
   more wins, and the text matches the inputs. */
:is(#form, #referral-form) .ac-form ._form ._form_element ._field-wrapper textarea,
:is(#form, #referral-form) .ac-form ._form ._form_element ._field-wrapper textarea:focus {
  color: var(--paper) !important;
}
/* Without this, placeholder text inherits the input colour and a blank field
   looks completed. */
:is(#form, #referral-form) .ac-form ._form input::placeholder,
:is(#form, #referral-form) .ac-form ._form textarea::placeholder {
  color: var(--dark-muted) !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  opacity: 1 !important;
}

/* Per-field labels: visually hidden the accessible way. AC's own rule is
   display:none, which hides them from screen readers too. */
:is(#form, #referral-form) .ac-form ._form ._form_element > label._form-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Group label (<legend>) — small caption above a radio group. */
:is(#form, #referral-form) .ac-form ._form ._form-fieldset > legend._form-label {
  display: block !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  color: var(--on-dark) !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}
:is(#form, #referral-form) .ac-form ._form .field-required {
  color: var(--key-yellow) !important;
}

/* Radio/checkbox groups. AC uses a 2-column grid and pseudo-element circles;
   this uses native inputs with accent-color, wrapping inline. */
:is(#form, #referral-form) .ac-form ._form ._form-fieldset {
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  margin: 0 26px 12px 0 !important;
  font-size: 15px !important;
  cursor: pointer !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio input[type="radio"],
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio input[type="checkbox"] {
  display: inline-block !important;
  flex: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  accent-color: var(--oak);
  cursor: pointer !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio span,
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio label {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--paper) !important;
  cursor: pointer !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio label::before,
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio input[type="radio"]:checked + span > label::after {
  content: none !important;
  display: none !important;
}

/* Treatment options hidden up front so the full list never flashes;
   initAcForm() reveals the declared ones with .is-shown.
   field[13] = the treatment field of the form embedded (README §2). */
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio:has(input[name="field[13]"]):not(.is-shown) {
  display: none !important;
}

/* A declared treatment the embedded form doesn't have (initAcForm):
   shown where the option would be, in red, so it can't be
   missed in review. */
:is(#form, #referral-form) .ac-form ._form .ac-missing {
  display: block; margin: 2px 0 12px; padding: 8px 12px;
  font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--paper);
  background: rgba(255, 92, 92, 0.3); border-left: 3px solid var(--oak);
}

/* "I'm a nervous patient": one tick box, separate from the treatment
   choice (nervousCheckbox() in site.js). Its heading and legend repeat
   the label, so both are dropped. */
:is(#form, #referral-form) .ac-form ._form ._form_element:has(input[name="field[153]"]) > ._form-fieldset > legend._form-label {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio.is-nervous {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--paper-34) !important;
  border-radius: 4px !important;
}
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio.is-nervous input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
}

/* Consent line above the button. */
:is(#form, #referral-form) .ac-form ._form p.p-disclaimer {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--on-dark-soft) !important;
}
:is(#form, #referral-form) .ac-form ._form p.p-disclaimer a {
  color: var(--paper) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--dark-border-alt) !important;
  cursor: pointer;
}
:is(#form, #referral-form) .ac-form ._form p.p-disclaimer a:hover {
  opacity: 1 !important;
  border-bottom-color: var(--key-yellow) !important;
}

/* Submit — the site's pill button, with its 2px hover lift. */
:is(#form, #referral-form) .ac-form ._form ._button-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}
/* The site's booking button: bronze, cut corner, not AC's pill. */
:is(#form, #referral-form) .ac-form ._form ._submit {
  width: 100% !important;
  min-height: 48px !important;
  margin: 12px 0 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background: var(--book) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 17px 26px !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  cursor: pointer !important;
  transition: background 180ms ease !important;
}
/* Transparent until initAcForm() writes the page's label — the button is
   full width, so nothing moves when it lands. */
:is(#form, #referral-form) .ac-form ._form ._submit:not(.is-labelled) {
  color: transparent !important;
}
:is(#form, #referral-form) .ac-form ._form ._submit:hover {
  opacity: 1 !important;
  background: var(--book-hover) !important;
}
:is(#form, #referral-form) .ac-form ._form ._submit:disabled {
  transform: none !important;
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* A float clear from AC's pre-flexbox layout; here it's an extra 22px row. */
:is(#form, #referral-form) .ac-form ._form ._clear-element {
  display: none !important;
}

/* AC's own success message, if the redirect ever fails to fire. */
:is(#form, #referral-form) .ac-form ._form ._form-thank-you {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--paper) !important;
}

/* AC's validation tooltips are left as AC draws them — restyling risks
   making a failed submission invisible. They position against
   ._form_element, so only the anchor is asserted. */
:is(#form, #referral-form) .ac-form ._form ._form_element {
  position: relative !important;
}
/* The exception: a radio group's error is a bare ._error-inner as the row's
   first child, which in a flex row shoves the first option sideways. Take it
   out of flow like every other AC message. */
:is(#form, #referral-form) .ac-form ._form ._row._checkbox-radio > ._error-inner {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 3 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   Privacy-policy lightbox overlay — `.pp-lightbox` (built by initAcForm)
   ========================================================================== */
.pp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--scrim);
}
.pp-lightbox[hidden] { display: none; }
.pp-lightbox iframe {
  display: block;
  width: min(900px, 100%);
  height: min(90vh, 100%);
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 40px 90px -40px rgba(23, 23, 26, 0.6);
}
.pp-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease;
}
.pp-lightbox-close:hover {
  transform: scale(1.06);
  background: var(--key-yellow);
}
@media (max-width: 700px) {
  .pp-lightbox { padding: 16px; }
  .pp-lightbox iframe { height: 100%; }
  .pp-lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; }
}


/* Privacy policy inside the lightbox iframe: content only (07 §2.2). */
/* The policy inside the lightbox iframe: content only. */
.is-framed .site-header,
.is-framed footer[data-qa-id="global-footer"] { display: none !important; }
.is-framed #page { padding-bottom: 0 !important; }


/* ==========================================================================
   London Road design layer — decompiled from the Claude Design files.
   Shared primitives first, then one block per section type. Sections are
   named by what they are (.reviews, .findus), not by page, so every page
   reuses them.
   ========================================================================== */
@font-face { font-family: 'Inter Tight'; src: url('../assets/fonts/InterTight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/InstrumentSerif-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/InstrumentSerif-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
:root { --font-serif: 'Instrument Serif', Georgia, serif; --gutter: 32px; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, blockquote, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; }
a:hover { color: var(--green); text-decoration-color: var(--green); }
button { font-family: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- Type ---------------------------------------------------------------- */
h1 em, h2 em, h3 em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.h-xl { font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.h-lg { font-size: clamp(34px, 4vw, 60px); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.h-md { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.h-sm { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.h-xs { font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.centre { text-align: center; margin-left: auto; margin-right: auto; }
.lede { font-size: 17px; line-height: 1.6; color: var(--body-text); }
.small { font-size: 15px; color: var(--body-text); }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.link-strong { font-size: 16px; font-weight: 600; }

/* ---- Text buttons carry an icon after the label ----
   The pattern from Home 002 ("Read more reviews" + arrow), site-wide
   (George, 2026-10-20). The icon follows the link, so new links need no
   extra markup:
     another page → arrow · in-page #anchor → down arrow · tel: → phone (filled
     handset — the stroked one read badly at text size, George 2026-10-20)
     booking (book/…) → calendar · new tab / external → diagonal arrow
   The icon is a mask in currentColor (same colour as the label), and the
   underline is a background on the link, so it runs under the icon too. */
.link-strong, .general-item .note a {
  --ul: var(--sage);
  text-decoration: none;
  background-image: linear-gradient(var(--ul), var(--ul));
  background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%;
  padding-bottom: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.link-strong:hover, .general-item .note a:hover { --ul: var(--green); }
.on-dark .link-strong { --ul: var(--dark-muted); }
.link-strong::after, .general-item .note a::after {
  content: ""; display: inline-block; flex: none; vertical-align: -0.12em;
  width: 1em; height: 1em; margin-left: 0.45em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10h13M11 5l5 5-5 5%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10h13M11 5l5 5-5 5%22/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 260ms var(--rv-ease);
}
.link-strong[href^="#"]:not([data-todo])::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 3v13M5 11l5 5 5-5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 3v13M5 11l5 5 5-5%22/%3E%3C/svg%3E"); }
.link-strong[href^="tel:"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22black%22 d=%22M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22black%22 d=%22M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z%22/%3E%3C/svg%3E"); }
.link-strong[href*="book/"]::after, .link-strong[data-todo^="book/"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%224%22 width=%2215%22 height=%2213.5%22 rx=%222.5%22/%3E%3Cpath d=%22M2.5 8 H17.5 M6 2.3 V5.7 M14 2.3 V5.7%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%224%22 width=%2215%22 height=%2213.5%22 rx=%222.5%22/%3E%3Cpath d=%22M2.5 8 H17.5 M6 2.3 V5.7 M14 2.3 V5.7%22/%3E%3C/svg%3E"); }
.link-strong[target="_blank"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 14L14 6M7.5 6H14v6.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 14L14 6M7.5 6H14v6.5%22/%3E%3C/svg%3E"); }
.link-strong:not([href^="tel:"]):not([href^="#"]):hover::after,
.link-strong[data-todo]:hover::after, .general-item .note a:hover::after { transform: translateX(4px); }
.link-strong[href^="tel:"]:hover::after, .link-strong[href*="book/"]:hover::after, .link-strong[data-todo^="book/"]:hover::after { transform: none; }
/* A link inside a sentence ("Meet the full team and read about…") stays plain. */
.people-more .link-strong::after { content: none; }
.people-more .link-strong { padding-bottom: 0; }
.on-dark { color: var(--paper); }
.on-dark .lede, .on-dark p { color: var(--on-dark); }
.on-dark a:not(.btn) { color: var(--paper); text-decoration-color: var(--dark-muted); }
.or { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--body-text); flex: none; }
.on-dark .or { color: var(--on-dark-soft); }

/* ---- Layout -------------------------------------------------------------- */
.wrap { max-width: 1400px; margin: 0 auto; }
.band { padding: 96px var(--gutter); position: relative; }
.band--flush-top { padding-top: 0; }
.band--flush-bottom { padding-bottom: 0; }
/* The tablet and phone .band padding below comes later at equal weight and used to win over this, so a flush-bottom
   stage (a cutout standing on the oak) floated 64–72px above the foot of its section. Doubled up so it holds at every width. */
.band.band--flush-bottom { padding-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.split > .lede, .split > .split-end { max-width: 480px; justify-self: end; }
.btn-row { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
.btn-row--end { justify-content: flex-end; }
.btn-row--centre { justify-content: center; }

/* ---- The cut corner: one angle, drawn from the reception desk -------------
   .cut-tr / -tl / -br / -bl  which corner; --cut sets the size. */
.cut-tr { clip-path: polygon(0 0, calc(100% - var(--cut, 40px)) 0, 100% var(--cut, 40px), 100% 100%, 0 100%); }
.cut-tl { clip-path: polygon(var(--cut, 40px) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut, 40px)); }
.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut, 40px)), calc(100% - var(--cut, 40px)) 100%, 0 100%); }
.cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut, 40px) 100%, 0 calc(100% - var(--cut, 40px))); }

/* Image frame: a coloured box the image fills. */
.frame { position: relative; overflow: hidden; background: var(--stone-dark); }
.frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A person whose photo hasn't arrived: the placeholder image plus a
   visible flag, so the gap is obvious in review. */
.frame-flag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: var(--copy-added-bg); color: var(--ink); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px;
}

/* ---- Buttons (orange = booking, and only booking) ------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; min-height: 44px; max-width: 100%;
  font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none;
  border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 180ms ease, color 180ms ease;
}
.btn-book { background: var(--book); color: var(--white); }
.btn-book:hover { background: var(--book-hover); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--ink); color: var(--white); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); color: var(--ink); }
.btn-ghost-light { background: var(--paper-16); color: var(--white); }
.btn-ghost-light:hover { background: var(--paper-28); color: var(--white); }
/* Outlined on dark: a 1.5px paper rim around a cut-corner fill. */
.btn-outline-light { background: var(--paper-55); padding: 1.5px; color: var(--white); }
.btn-outline-light > span {
  background: var(--green-deep); padding: 15px 25px; min-height: 41px; display: inline-flex; align-items: center;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}
.btn-outline-light:hover { background: var(--paper); color: var(--white); }
.btn-ext { font-size: 15px; line-height: 1; }

/* Arrow-in-a-circle link (hero). */
.circle-link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; font-size: 17px; min-height: 44px; width: max-content; }
.circle-link > span:last-child {
  width: 48px; height: 48px; border-radius: 50%; background: var(--book); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
  transition: background 180ms ease, transform 260ms var(--rv-ease);
}
.circle-link:hover > span:last-child { background: var(--book-hover); }

/* Round arrow buttons — carousel controls. */
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.round-btn--fill { background: var(--ink); color: var(--white); }
.carousel-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.carousel-counter { font-size: 15px; color: var(--body-text); margin-left: 6px; font-variant-numeric: tabular-nums; }
/* Swiper's dots as pills, in the controls row between the arrows and the
   "01 / 08" counter (initSwiperCarousel puts them there). The current one
   stretches; the rest are short. One style for every carousel. */
.carousel-controls .swiper-pagination {
  order: 0; margin: 0 4px 0 8px !important; justify-content: flex-start; gap: 6px;
  width: auto !important; flex: 0 1 auto; flex-wrap: wrap;
}
.carousel-controls .swiper-pagination-bullet {
  width: 14px; height: 6px; border-radius: 3px; background: var(--stone-dark);
  transition: width 320ms var(--rv-ease), background 200ms ease;
}
.carousel-controls .swiper-pagination-bullet:hover { transform: none; background: var(--sage); }
.carousel-controls .swiper-pagination-bullet-active,
.carousel-controls .swiper-pagination-bullet-active:hover { width: 34px; background: var(--ink); }
/* Nothing to scroll (every slide fits): no arrows, pills or counter. */
.carousel-controls.is-locked .gal-prev,
.carousel-controls.is-locked .gal-next,
.carousel-controls.is-locked .swiper-pagination,
.carousel-controls.is-locked .carousel-counter { display: none !important; }
.swiper-pagination-lock { display: none !important; }
.carousel-controls .gal-prev, .carousel-controls .gal-next { position: static; margin: 0; box-shadow: none; }
.carousel-controls .gal-prev:hover, .carousel-controls .gal-next:hover { transform: none; }
.carousel-controls .gal-prev { background: transparent; }

/* Angled chips. */
.chip {
  display: inline-block; align-self: flex-start; max-width: 100%;
  background: var(--sage-chip); color: var(--ink); padding: 10px 24px 10px 18px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.tick-chip { display: flex; align-items: stretch; font-size: 16px; font-weight: 600; color: var(--ink); }
.tick-chip > span {
  background: var(--stone-light); display: inline-flex; align-items: center;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.tick-chip > span:first-child { width: 52px; min-width: 52px; flex: 0 0 52px; justify-content: center; font-size: 15px; }
.tick-chip > span:last-child { padding: 13px 30px 13px 22px; margin-left: -14px; white-space: nowrap; }

/* Oversized ghost words behind sections ("Offers", "FAQS", "London Road"). */
.wordmark { position: absolute; display: block; pointer-events: none; overflow: visible; height: auto; z-index: 0; }
.wordmark text { font-family: var(--font-ui); font-weight: 500; font-size: 250px; letter-spacing: -0.05em; fill: var(--stone); }
.band > .wrap, .band > .stack-lg { position: relative; z-index: 1; }

/* Oak texture (Find us band, implant base). */
.oak { background-color: var(--oak); background-image: url('../assets/img/wood-oak.webp'); background-size: cover; background-position: center; }

/* Pin drawn in CSS (map). */
.map-pin {
  position: absolute; transform: translate(-50%, -100%); width: 30px; height: 42px; background: var(--green); display: block;
  clip-path: polygon(50% 100%, 0 52%, 0 0, 100% 0, 100% 52%); border-radius: 50% 50% 0 0 / 44% 44% 0 0;
  filter: drop-shadow(0 6px 10px var(--shadow-pin));
}
.map-pin::after { content: ""; position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--paper); }

/* ==========================================================================
   Sections
   ========================================================================== */

/* ---- Hero (homepage) ---- */
.hero { position: relative; max-width: 1400px; margin: 0 auto; padding: 48px var(--gutter) 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.85fr) minmax(0, 0.6fr);
  gap: clamp(24px, 3vw, 56px); align-items: start; position: relative; z-index: 3;
}
.hero h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; color: var(--green-deep); }
.hero h1 em { color: var(--green); }
.hero h1 .l2 { padding-left: clamp(28px, 10%, 110px); }
.hero h1 .l3 { padding-left: clamp(56px, 20%, 200px); }
.hero-intro { display: flex; flex-direction: column; gap: 26px; padding-top: 6px; }
.hero-intro .lede { font-size: 15px; max-width: 340px; }
.hero-side { justify-self: end; width: 100%; max-width: 280px; aspect-ratio: 3 / 4; }
.hero-side img { object-position: 50% 18%; }
/* The side photo's phone copy (LRD-56): hidden until the phone block. */
.hero-side-mobile { display: none; }
.hero-stage { position: relative; height: 42vw; min-height: 340px; margin-top: clamp(-180px, -13vw, -40px); }
.hero-ghost {
  position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 100vw; text-align: center;
  font-size: 51.5vw; line-height: 0.78; font-weight: 500; letter-spacing: -0.055em; text-indent: -1.2vw;
  color: var(--ghost-type); opacity: 0.72; user-select: none; z-index: 1; white-space: nowrap;
}
.hero-cutout {
  position: absolute; left: 45%; bottom: -7%; transform: translateX(-50%);
  width: clamp(400px, 62vw, 940px); height: auto; z-index: 2;
  filter: drop-shadow(0 26px 34px var(--shadow-cutout));
}
/* The wrapper is placed, the inner div fades in (data-reveal), the image bobs like the implant. */
.hero-cutout img { display: block; width: 100%; height: auto; animation: floatBob 6.5s ease-in-out infinite; }
.hero-ghost > span { display: inline-block; }
.hero-facts {
  position: absolute; right: 0; bottom: 20px; z-index: 3; display: flex; flex-direction: column; gap: 6px;
  text-align: right; font-size: 15px; color: var(--body-text); font-weight: 500;
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 0.6fr);
  gap: clamp(24px, 3vw, 48px); align-items: center;
}
.reviews-photo { aspect-ratio: 3 / 4; max-height: 600px; --cut: 56px; background: var(--stone); }
.reviews-photo img { object-position: 30% 45%; }
.reviews-photo-2 { align-self: end; aspect-ratio: 4 / 5; max-height: 240px; --cut: 36px; }
.reviews-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews-head h2 {
  flex: 1 1 340px; min-width: 0; font-size: clamp(36px, 4.2vw, 62px);
  /* Same weight and leading as the hero H1, not the browser's bold h2. */
  line-height: 1.02; font-weight: 500; letter-spacing: -0.025em;
}
.review-card {
  margin: 0; padding: 28px; background: var(--green-deep); color: var(--paper); --cut: 32px;
  min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.review-quote {
  font-family: var(--font-serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--paper);
  white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card.is-expanded .review-quote { -webkit-line-clamp: unset; display: block; }
/* A clamped quote fades out at the cut, so it reads as "there's more". */
.review-card.has-more:not(.is-expanded) .review-quote {
  -webkit-mask-image: linear-gradient(to bottom, var(--ink) 62%, transparent);
  mask-image: linear-gradient(to bottom, var(--ink) 62%, transparent);
}
.review-more { transition: background 180ms ease, transform 260ms var(--rv-ease); }
.review-more[hidden] { display: none; }
.review-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.review-foot cite { font-style: normal; font-size: 16px; color: var(--on-dark); font-weight: 500; }
.review-more {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--paper-50);
  background: transparent; color: var(--paper); cursor: pointer; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.review-more:hover { background: var(--paper-16); }
.reviews .swiper-slide { background: var(--paper); }
.reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* ---- Image band with an overlapping card ("We know what it's like") ---- */
.overlap { position: relative; min-height: 640px; }
.overlap-img { position: absolute; inset: 0; --cut: 72px; }
.overlap-img img { object-position: 28% 35%; }
.overlap-card {
  position: relative; z-index: 2; margin-left: auto; max-width: 520px; background: var(--paper);
  padding: 44px 40px; transform: translateY(64px); display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 30px 60px var(--shadow-soft); --cut: 40px;
}
.overlap-card--dark { background: var(--green-deep); color: var(--paper); }

/* ---- USP slider ---- */
.usp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; margin-top: 48px; align-items: end; }
.usp-slide { display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.usp-num { font-size: clamp(40px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--gold-num); }
.usp-slide h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.usp-slide p { max-width: 440px; }
.usp-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.usp-photos .frame { aspect-ratio: 4 / 5; --cut: 56px; }
.usp-photos .frame:first-child { background: var(--stone); }
.usp-photos .frame:first-child img { object-position: 50% 20%; }
.usp-photos .frame:last-child { margin-top: 56px; }

/* ---- Implants feature ---- */
.implants-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 22px 40px; align-items: start; }
.photo-tile { grid-row: span 2; align-self: stretch; width: 67%; min-height: 260px; --cut: 32px; display: block; text-decoration: none; }
.photo-tile img { position: absolute; inset: 0; object-position: 45% 45%; }
.implant-stage { position: relative; height: clamp(380px, 44vw, 620px); margin-top: 24px; }
.implant-stage > .float-obj {
  position: absolute; left: 43%; top: 50%; transform: translate(-50%, -50%); width: clamp(380px, 50vw, 720px); z-index: 2;
}
.float-obj > img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px var(--shadow-cutout)); }
.implant-oak { position: absolute; left: calc(50% - 50vw); width: 100vw; bottom: 0; height: 34%; clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%); z-index: 1; }
.implant-stage .tick-chip { position: absolute; z-index: 3; }
.implant-stage .tick-chip:nth-of-type(1) { left: 4%; top: 18%; }
.implant-stage .tick-chip:nth-of-type(2) { right: 6%; top: 10%; }
.implant-stage .tick-chip:nth-of-type(3) { left: 10%; top: 56%; }
.implant-stage .tick-chip:nth-of-type(4) { right: 8%; top: 50%; }

/* ---- Float stage: a cutout that hangs in the air, chips that burst out
   of it (initFloatStages). The cutout's wrapper (.float-obj) is placed by
   its section and drifts on scroll via data-parallax; the image inside
   bobs. Chips start at the cutout's centre, small and clear, and spring
   out to their place once the stage is in view. ---- */
.float-obj > img { animation: floatBob 6.5s ease-in-out infinite; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.2deg); }
}
.js .float-stage.is-armed .float-chip {
  opacity: 0;
  transform: translate(var(--from-x, 0px), var(--from-y, 0px)) scale(0.35);
}
.js .float-stage.is-armed.is-burst .float-chip {
  opacity: 1; transform: none;
  transition: transform 900ms cubic-bezier(0.22, 1.2, 0.36, 1) var(--burst-delay, 0ms),
              opacity 420ms ease var(--burst-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .float-obj > img, .hero-cutout img, .finance-cutout--object > img { animation: none; }
}

/* ---- Tabbed treatments ---- */
.ttabs { display: grid; grid-template-columns: minmax(160px, 0.6fr) minmax(0, 2.6fr); gap: 40px; align-items: center; }
.ttabs-list { display: flex; flex-direction: column; gap: 6px; }
.ttabs-list [role="tab"] {
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--stone-dark);
  padding: 12px 0; font-size: 18px; cursor: pointer; min-height: 44px; color: var(--muted); font-weight: 400;
}
.ttabs-list [role="tab"] { transition: color 220ms ease, border-color 220ms ease, padding 260ms var(--rv-ease); }
.ttabs-list [role="tab"]:hover { color: var(--ink); border-bottom-color: var(--sage); }
.ttabs-list [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); padding-left: 10px; }
.ttabs-panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
/* Switching tabs: the photo eases in from a slight zoom, the copy rises. */
.ttabs-panel.is-entering .frame { animation: panelImgIn 560ms var(--rv-ease) both; }
.ttabs-panel.is-entering .stack { animation: panelIn 480ms var(--rv-ease) 90ms both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes panelImgIn { from { opacity: 0; transform: scale(1.04); } }
.ttabs-panel[hidden] { display: none; }
.ttabs-panel .frame { aspect-ratio: 16 / 11; --cut: 56px; }
.ttabs-panel .frame img { object-position: 50% 40%; }
/* A portrait in the landscape tab frame: keep the face in. */
.ttabs-panel .frame--face img { object-position: 50% 16%; }
.ttabs-panel .stack { gap: 18px; }

/* ---- Step cards (journey) ---- */
.step-card { background: var(--stone); display: flex; flex-direction: column; min-height: 300px; --cut: 36px; width: 38%; }
.step-card:nth-child(even) { background: var(--cream-warm); }
.step-card .frame { aspect-ratio: 16 / 10; }
.step-card .frame img { object-position: 50% 30%; }
.step-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-size: 36px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--sage); }
.step-body p { font-size: 16px; line-height: 1.55; color: var(--body-text); }
.journey .carousel-controls .btn { margin-left: auto; }
/* Treatment cards (hub pages): Home 007's step card in a grid, not a
   carousel (George, 2026-10-20) — 3 columns, 2 on tablet, 1 on phones.
   No number: the title takes the number's type style (.step-title) in the
   H1 green (darker than the sage numbers, George), and the
   "Read about…" link is pinned to the foot so links line up along a row. */
.treat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.treat-grid .step-card { width: auto; }
.step-title { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--green-deep); }
.treat-card .step-body { flex: 1; }
.treat-card .step-body .link-strong { margin-top: auto; align-self: flex-start; padding-top: 6px; }

/* ---- "Ready?" booking panel ---- */
.ready {
  position: relative; background: var(--green-deep); color: var(--white); padding: 72px 56px 56px;
  min-height: 560px; display: flex; flex-direction: column; overflow: hidden; --cut: 48px;
}
.ready-ghost {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 200%; text-align: center;
  font-size: clamp(200px, 29vw, 430px); line-height: 0.72; font-weight: 500; letter-spacing: -0.045em;
  color: var(--paper-12); user-select: none; z-index: 1; white-space: nowrap;
}
.ready > .stack, .ready > .btn-row { position: relative; z-index: 2; }
.ready > .stack { gap: 12px; align-items: flex-start; }
.ready h2 { font-size: clamp(34px, 3.6vw, 56px); }
.ready .lede { color: var(--stone); max-width: 680px; }
/* Links in the dark band read as the band's own light text (the default ink-on-green was near-black). */
.ready .lede a { color: var(--paper); text-decoration-color: var(--paper-50); }
.ready .lede a:hover { color: var(--white); text-decoration-color: var(--white); }
.ready > .btn-row { margin-top: 24px; justify-content: flex-end; }
.ready .or { color: var(--paper); }
/* "Nervous?" stands still (George, LRD-33: it used to drift as a marquee),
   sized so the whole word fits the band. */
.ready-ghost--static { font-size: min(19vw, 300px); }
/* "Ready?" a little smaller and lifted so the leg of the "y" shows (LRD-62). */
.ready-ghost:not(.ready-ghost--static) { font-size: clamp(180px, 25vw, 370px); bottom: 0.2em; }

/* ---- Payment rows ---- */
.big-num-heading { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.big-num { font-size: clamp(96px, 11vw, 180px); line-height: 0.7; font-weight: 500; letter-spacing: -0.05em; color: var(--green); }
.big-num-heading > span:last-child { flex: 1 1 220px; min-width: 0; }
.pay-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--stone-dark); align-items: center; }
.pay-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; }
.pay-copy .stack { gap: 12px; }
.pay-copy .btn { margin-top: 8px; width: max-content; }
.pay-kicker { font-size: 15px; font-weight: 600; color: var(--green); }
.pay-row .frame { aspect-ratio: 16 / 10; background: var(--stone); --cut: 40px; }


/* ---- Offers ticker ---- */
.offers { position: relative; padding: 120px 0 72px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 36vw, 560px); }
.offers .wordmark { left: 0; right: 0; width: 100%; top: 50%; transform: translateY(-50%); }
.offers .wordmark text { opacity: 0.55; }
.offers .btn-row { position: relative; z-index: 3; max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 var(--gutter); justify-content: flex-end; }
.ticker { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; padding: 18px 0; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-set { display: flex; align-items: baseline; flex: none; }
.ticker-item { font-size: clamp(30px, 3.6vw, 58px); font-weight: 500; letter-spacing: -0.025em; white-space: nowrap; }
.ticker-item::after { content: "·"; color: var(--sage); margin: 0 clamp(20px, 2.4vw, 44px); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---- General dentistry band (hover/focus reveals) ---- */
.general {
  position: relative; min-height: clamp(560px, 50vw, 740px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: clamp(24px, 3vw, 48px); align-items: end;
}
.general-bg { position: absolute; inset: 0; --cut: 64px; }
.general-bg img { object-position: 52% 42%; }
.general-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 0 0 48px 48px; max-width: 468px; }
.general-item {
  background: var(--green); color: var(--paper); width: 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); transition: background 220ms ease;
}
/* The padding lives on the summary, so the whole bar is the hit area. */
.general-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 34px 14px 24px; cursor: pointer; list-style: none; font-size: 21px; font-weight: 600;
}
.general-item summary::-webkit-details-marker { display: none; }
.general-item summary::after {
  content: "+"; font-size: 26px; line-height: 1; font-weight: 500; padding-left: 24px;
  transition: transform 320ms var(--rv-ease);
}
.general-item:hover { background: var(--green-deep); }
.general-item summary:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }
.general-item[open] { background: var(--green-deep); }
.general-item[open]:not(.is-closing) summary::after { content: "−"; }
.general-item .note { display: flex; flex-direction: column; gap: 12px; padding: 0 34px 14px 24px; max-width: 400px; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.general-item .note a { color: var(--paper); font-weight: 600; display: inline-flex; align-items: center; width: max-content; }
/* 44px tap target from padding; the underline (text-button block) sits
   under the text rather than at the foot of the target. */
.general-item .note a { --ul: var(--dark-muted); padding: 11px 0; background-position: 0 calc(100% - 8px); }
.general-item .note a:hover { --ul: var(--paper); }
.general .overlap-card { justify-self: end; align-self: center; transform: none; margin: 0 48px 0 0; }

/* ---- FAQ (kit 11 structure, design skin) ----
   overflow: clip, not hidden — hidden makes the band a scroll container
   and every sticky inside it (the aside, the wordmark) stops sticking. */
.faq-band { overflow: clip; }
/* The ghost "FAQS" rides down the band behind the questions: the track
   spans the band, the word sticks under the header inside it. */
.faq-band .wordmark-track { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.faq-band .wordmark-track .wordmark { position: sticky; top: calc(var(--anchor-offset) - 24px); left: auto; margin-left: calc(50% - 50vw); width: 100vw; }
.faq-band .wordmark text { opacity: 0.3; }
.faq-aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.faq-band .faq-tab {
  border: 0; border-radius: 0; margin: 0; padding: 12px 28px 12px 20px; font-size: 16px; font-weight: 600; min-height: 44px;
  background: var(--stone); color: var(--ink); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transform: none; transition: background 220ms ease, color 220ms ease;
}
.faq-band .faq-tab:hover { background: var(--stone-dark); }
.faq-band .faq-tab.active { background: var(--green); color: var(--paper); cursor: default; }
.faq-band .faq-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.faq-band .faq-tabs { gap: 10px; padding: 0; margin-bottom: 20px; }
.faq-band .faq-group { background: none; border: 0; border-radius: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-band .faq-item { background: var(--cream); border: 0; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); transition: background 200ms ease; }
.faq-band .faq-item.is-open { background: var(--stone); }
.faq-band .faq-q { padding: 24px 30px; font-size: 19px; font-weight: 500; color: var(--ink); }
/* The design's sign is a bare glyph, no disc (the kit's bronze disc showed
   through here). */
.faq-band .faq-sign { color: var(--green); font-size: 24px; background: none; width: auto; height: auto; border-radius: 0; }
.faq-band .faq-a { padding: 0 30px 28px; font-size: 17px; line-height: 1.6; color: var(--body-text); max-width: 760px; }

/* Centred variant — the design's own FAQ layout (Invisalign and
   consultation pages): heading, tabs, questions and buttons in one
   1000px column. */
.faq-centre { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; align-items: center; }
.faq-centre > h2 { text-align: center; }
.faq-centre .faq-tabs { justify-content: center; margin-bottom: 0; }
.faq-centre .faq-panels { width: 100%; }
.faq-centre .faq-sign { color: var(--book); background: none; width: auto; }
.faq-centre .btn-row { justify-content: center; }

/* ---- Team carousel ---- */
.team .swiper { overflow: hidden; margin-top: 32px; }
.team-card { width: 300px; display: flex; flex-direction: column; gap: 14px; }
.team-card .frame { aspect-ratio: 4 / 5; background: var(--stone); --cut: 40px; }
.team-card .frame img { object-position: 50% 20%; }
.team-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.team-role { font-size: 15px; color: var(--green); font-weight: 600; }
.team-card p { font-size: 16px; line-height: 1.5; color: var(--body-text); margin-top: 6px; }
.team .carousel-controls .link-strong { margin-left: auto; }

/* ---- Find us (oak band) — kit 12 map buttons, design skin ---- */
.findus-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.findus-card { display: flex; flex-direction: column; gap: 32px; background: var(--paper); padding: 40px 36px; box-shadow: 0 24px 50px var(--shadow-mid); --cut: 40px; }
.findus-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.findus-cols > div { display: flex; flex-direction: column; gap: 8px; }
.findus-cols address { font-style: normal; font-size: 17px; line-height: 1.5; }
.findus-phone { font-size: 17px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 16px; line-height: 1.5; }
.findus .map-frame { aspect-ratio: 941 / 690; min-height: 420px; background: var(--stone-dark); overflow: hidden; --cut: 64px; }
.findus .map-frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.findus .map-pin { left: 48.7%; top: 49.3%; }
.findus .map-block { position: relative; }
.findus .map-actions { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; z-index: 2; }
.findus .map-btn {
  background: var(--paper); color: var(--ink); padding: 14px 22px; border-radius: 0; font-weight: 600; font-size: 16px; min-height: 44px;
  box-shadow: 0 8px 24px var(--shadow-mid); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.findus .map-btn:hover { background: var(--white); }

/* ---- Footer ---- */
.site-footer { position: relative; background: var(--green-deep); color: var(--paper); padding: 72px var(--gutter) 32px; overflow: hidden; margin: 0; }
.wordmark--footer { left: calc(50% - 50vw); bottom: -1.5vw; width: 100vw; }
.wordmark--footer text { fill: var(--paper); opacity: 0.09; letter-spacing: -0.045em; }
.site-footer-inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.site-footer a:not(.btn) { color: var(--paper); text-decoration-color: var(--dark-muted); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.footer-intro { display: flex; flex-direction: column; gap: 24px; }
.footer-logo { width: 240px; height: auto; display: block; }
.footer-intro p { color: var(--on-dark); max-width: 360px; }
.footer-intro .btn { padding: 15px 24px; }
.footer-contact { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; text-align: right; }
.footer-address { font-size: 19px; line-height: 1.5; font-weight: 500; }
.footer-phone { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; min-height: 44px; display: inline-flex; align-items: center; }
.footer-hours { border-collapse: collapse; font-size: 15px; color: var(--on-dark); }
.footer-hours td { padding: 2px 0 2px 18px; }
.footer-social { display: flex; gap: 10px; margin-right: -8px; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.footer-social a:hover { color: var(--dark-muted) !important; }
.footer-links { border-top: 1px solid var(--paper-22); padding-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; font-size: 16px; align-items: flex-start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-label { font-weight: 600; margin-bottom: 6px; }
.site-footer-bottom { border-top: 1px solid var(--paper-22); padding-top: 20px; font-size: 15px; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---- Generic page body (policy, 404, thank-you, hubs) ---- */
.section { max-width: 1400px; margin: 0 auto; padding: 96px var(--gutter); }
.section h1 { font-size: clamp(40px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 500; margin: 0 0 24px; color: var(--green-deep); }
/* Polynucleotides 010 on phones: each card's question band is dark green and the highlighted (ours) row is a soft stone tint, not the usual green. */
@media (max-width: 767px) {
  .compare-table.compare-table--ink:not(.compare-table--plain) tbody th { background: var(--green-deep); color: var(--paper); }
  .compare-table.compare-table--ink:not(.compare-table--plain) td.is-ours { background: var(--stone-dark); color: var(--ink); font-weight: 600; }
  .compare-table.compare-table--ink:not(.compare-table--plain) td.is-ours::before { color: var(--body-text); }
}

/* ---- Prices and plans ----
   Fee tables reuse the Invisalign 011 comparison table: the Members column is
   the highlighted "ours" column, and every table keeps the same three-column
   grid (a table with no member price shows a dash). On phones each row becomes
   a card with the member price on the dark band (the shared stacked layout). */
.compare-table--prices { table-layout: fixed; }
.compare-table--prices thead td { width: 44%; }
.compare-table--prices thead th:not(:first-child) { width: 28%; }
.compare-table--prices tbody td.is-ours { font-weight: 400; }
.compare-table--prices tbody td.is-na { color: var(--muted); }
/* No member prices in this list: the members block is left out, the empty third column keeps the private column where it is in every other table. */
.compare-table--prices .is-blank { background: none; border-bottom-color: var(--stone); }
.compare-table--prices thead .is-blank { border-bottom-color: var(--stone-dark); }
@media (max-width: 767px) {
  /* Cards: every member price sits on the soft stone band (the inactive look), never the dark green; a card with no member price drops the member line. */
  .compare-table:not(.compare-table--plain).compare-table--prices td.is-ours { background: var(--stone); color: var(--ink); font-weight: 400; }
  .compare-table:not(.compare-table--plain).compare-table--prices td.is-ours::before { color: var(--muted); }
  .compare-table--prices td.is-na, .compare-table--prices .is-blank { display: none !important; }
  .compare-table--prices tr:has(td.is-na) td:first-of-type, .compare-table--solo td:not(.is-blank) { padding-bottom: 16px; }
}

/* Sticky mini tab bar over the fee tables (initSubnav in site.js sets --subnav-top, the header's height). */
.price-scope { position: relative; }
.price-nav {
  position: sticky; top: var(--subnav-top, 72px); z-index: 40;
  background: var(--paper-94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-dark);
}
.price-nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.price-nav-inner::-webkit-scrollbar { display: none; }
.price-nav a {
  flex: 0 0 auto; padding: 16px 14px; font-size: 15px; font-weight: 500; color: var(--body-text); text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 200ms ease, border-color 200ms ease;
}
.price-nav a:first-child { margin-left: auto; }
.price-nav a:last-child { margin-right: auto; }
.price-nav a:hover { color: var(--ink); }
.price-nav a.is-active { color: var(--green-deep); border-bottom-color: var(--green-deep); font-weight: 600; }
.price-section { scroll-margin-top: calc(var(--subnav-top, 72px) + 60px); }
.price-scope .price-section { padding-top: 72px; }

/* Practice plans: cards. */
.plan-option { position: relative; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: clamp(38px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 15px; color: var(--muted); }
.plan-facts { margin: 0; display: flex; flex-direction: column; }
.plan-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--stone-dark); }
.plan-facts dt { font-size: 15px; color: var(--body-text); }
.plan-facts dd { margin: 0; font-size: 22px; font-weight: 600; color: var(--green-deep); }
.plan-every { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 16px; color: var(--body-text); }
.plan-every li { display: flex; align-items: center; gap: 8px; }
.plan-every li span { color: var(--green); font-weight: 700; }
.plan-every-lead { font-weight: 600; color: var(--ink); }
.plan-foot { margin: 0 auto; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.6; color: var(--muted); }
/* A: cards */
.plan-card { background: var(--white); padding: 32px 28px 24px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 18px 40px -30px var(--shadow-pin); }
.plan-card h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--green-deep); }
@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  /* "Every plan includes" heads its own line, ticks below it (LRD-64). */
  .plan-every-lead { flex-basis: 100%; justify-content: center; }
  }

/* ---- Policy template (every /policy/ page) ----
   Heading block, then one readable column. Only the text inside
   .policy-body changes from policy to policy (docs/policy-template.md). */
.policy { padding-top: 72px; }
.policy-wrap { max-width: 860px; margin: 0 auto; }
.policy-head { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--stone-dark); }
.policy-head h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 20px; color: var(--green-deep); text-wrap: balance; }
.policy-meta { margin: 0; font-size: 15px; color: var(--muted); }
.policy-body { font-size: 18px; line-height: 1.65; color: var(--body-text); }
.policy-body > * + * { margin-top: 1.1em; }
.policy-body h2 { margin-top: 2.2em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.policy-body h3 { margin-top: 1.8em; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.policy-body ul, .policy-body ol { padding-left: 1.3em; }
.policy-body li + li { margin-top: 0.4em; }
.policy-body a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.policy-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.policy-body th, .policy-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--stone); }
.policy-body th { font-weight: 600; color: var(--ink); border-bottom-color: var(--stone-dark); }
.policy-body hr { border: 0; border-top: 1px solid var(--stone-dark); }
@media (max-width: 767px) {
  .policy { padding-top: 40px; }
  .policy-body { font-size: 17px; }
}

.form-card { max-width: 560px; margin-top: 40px; background: var(--green-deep); color: var(--paper); padding: 34px; --cut: 40px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.form-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--tint-b); }
.form-note a { color: var(--paper); }

/* ==========================================================================
   Responsive. The design was drawn for desktop; these collapse each section
   to one column in the same order, keeping the angles and colours.
   ========================================================================== */
@media (max-width: 1080px) {
  :root { --gutter: 24px; }
  .band { padding-top: 72px; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); }
  .hero-side { display: none; }
  .reviews-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .reviews-photo-2 { display: none; }
  .usp-grid, .implants-grid, .findus-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .photo-tile { grid-row: auto; width: 100%; aspect-ratio: 16 / 10; }
  .ttabs, .ttabs-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ttabs-list { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
  .step-card { width: 60%; }
  .general { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .general .overlap-card { margin: 32px 24px 0; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .footer-hours td:first-child { padding-left: 0; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .band { padding-top: 64px; padding-bottom: 64px; }
  .split, .pay-row, .usp-photos { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split > .lede, .split > .split-end { justify-self: start; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero h1 .l2, .hero h1 .l3 { padding-left: 0; }
  .hero-stage { height: 98vw; min-height: 0; margin-top: 0; }
  /* Smaller again and lower, so it sits under "1950" and the date reads (LRD-57, round 2). */
  .hero-cutout { width: 68vw; left: 54%; bottom: 15%; }
  .hero-facts { position: relative; right: auto; bottom: auto; text-align: left; padding-top: 0; position: absolute; left: 0; bottom: 0; }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .reviews-photo { aspect-ratio: 4 / 3; max-height: 320px; }
  .overlap { min-height: 0; display: flex; flex-direction: column; }
  .overlap-img { position: relative; inset: auto; aspect-ratio: 4 / 3; --cut: 40px; }
  .overlap-card { transform: none; margin: -48px 12px 0; padding: 32px 24px; }
  .usp-photos .frame:last-child { margin-top: 0; }
  .usp-photos .frame:first-child { display: none; }
  .implant-stage { height: 300px; }
  .implant-stage > .float-obj { width: 92vw; }
  .implant-stage .tick-chip { font-size: 14px; }
  .implant-stage .tick-chip > span:first-child { width: 40px; min-width: 40px; flex-basis: 40px; }
  .implant-stage .tick-chip > span:last-child { padding: 10px 22px 10px 18px; }
  .implant-stage .tick-chip:nth-of-type(1) { left: 0; top: 2%; }
  .implant-stage .tick-chip:nth-of-type(2) { right: 0; top: 20%; }
  .implant-stage .tick-chip:nth-of-type(3) { left: 0; top: 62%; }
  .implant-stage .tick-chip:nth-of-type(4) { right: 0; top: 80%; }
  .step-card { width: 84%; }
  .journey .carousel-controls .btn { margin-left: 0; width: 100%; justify-content: center; }
  .ready { padding: 48px 24px 32px; min-height: 0; --cut: 32px; }
  .ready > .btn-row { justify-content: flex-start; }
  .pay-copy { min-height: 0; gap: 20px; }
  .offers { padding: 96px 0 48px; }
  .general-list { padding: 24px 12px 24px; }
  .general-bg { --cut: 40px; }
  .general-item summary { font-size: 18px; padding: 12px 30px 12px 18px; }
  .general-item .note { padding: 0 30px 12px 18px; }
  .team-card { width: 78vw; max-width: 300px; }
  .findus-card { padding: 32px 22px; }
  .findus .map-frame { min-height: 0; --cut: 40px; }
  .site-footer { padding-top: 56px; }
  .btn-row { gap: 12px; }
  .btn-row > .or { display: none; }
}


/* ---- Invisalign page sections (shared where reused) ---- */
/* ==========================================================================
   Additions for the Invisalign page (treatments/teeth-straightening/invisalign/).
   Merge into site.css inside the "London Road design layer", after the
   section blocks and before "Responsive". Every class is named by what it
   is, so other treatment pages can reuse them.
   ========================================================================== */

/* ---- Treatment page hero: big H1, intro row, wide image with tabs ---- */
.page-hero { max-width: 1400px; margin: 0 auto; padding: 48px var(--gutter) 0; }
.page-hero-head { display: flex; flex-direction: column; gap: 28px; }
.page-hero h1 {
  font-size: clamp(38px, 6.4vw, 104px); line-height: 0.98; font-weight: 500; letter-spacing: -0.035em;
  text-wrap: balance; max-width: 1200px; color: var(--green-deep);
}
.page-hero h1 em { color: var(--green); }
.page-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 36px; }
.page-hero-row .lede { font-size: 16px; max-width: 760px; }
.page-hero-row .btn-row { justify-self: end; }
.page-hero-stage { position: relative; height: clamp(420px, 46vw, 620px); }
.page-hero-img {
  position: absolute; inset: 0; --cut: 64px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.page-hero-img img { object-position: 50% 40%; }

/* Hero tabs — the design opened these on hover; <details> does it on tap. */
.hero-tabs { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-bottom: 32px; }
.hero-tab {
  background: var(--stone-light); color: var(--ink); width: min(92vw, 460px);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
  transition: background 220ms ease, width 300ms var(--rv-ease);
}
/* Hover slides the tab out a little: it grows leftwards from the right
   edge, which stays put (the tabs are right-aligned), so it never looks
   detached from the side of the photo. */
.hero-tab:hover, .hero-tab[open] { background: var(--paper); width: min(92vw, 472px); }
/* Padding on the summary: the whole tab is the hit area (as .general-item). */
/* Timer bar along the foot of the open tab (initHeroTabs): Book a
   consultation colour, faint, dimmer still while the rotation is held. */
.hero-tab { position: relative; }
.hero-tab-progress { position: absolute; left: 38px; right: 24px; bottom: 6px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--book) 12%, transparent); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.hero-tab-progress > div { width: 0; height: 100%; background: var(--book); border-radius: 2px; }
.hero-tab.is-timed .hero-tab-progress { opacity: 0.55; }
.hero-tab.is-timed.is-held .hero-tab-progress { opacity: 0.3; }
.hero-tab summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 28px;
  padding: 14px 24px 14px 38px;
  cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; line-height: 1.3;
}
.hero-tab summary::-webkit-details-marker { display: none; }
.hero-tab summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; font-weight: 500; flex: none; }
.hero-tab summary:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; }
.hero-tab[open]:not(.is-closing) summary::after { content: "−"; }
.hero-tab p { font-size: 15px; line-height: 1.5; color: var(--body-text); padding: 0 24px 16px 38px; max-width: 420px; }

/* ---- Intro paragraphs + "On this page" jump list ---- */
.intro-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lede-lg { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ink); }
.page-index { display: flex; flex-direction: column; gap: 14px; padding-left: 32px; border-left: 1px solid var(--stone-dark); }
.page-index ul { list-style: none; display: flex; flex-direction: column; }
.page-index a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; }

/* ---- Image beside copy ("What is Invisalign?") ---- */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.media-split-img { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; background: var(--stone); --cut: 56px; }
.media-split-img img { object-position: 50% 22%; }
.media-split .lede { max-width: 620px; }

/* ---- Numbered dark cards ("How does Invisalign work?") ---- */
.num-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
/* Six cards (Emergency first aid) sit 3 + 3 on desktop rather than 5 + 1, as tablet already does. */
@media (min-width: 1081px) {
  .num-cards:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.num-card {
  background: var(--green-deep); color: var(--paper); padding: 32px 30px; min-height: 240px; --cut: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.num-card-num { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--oak); }
.num-card p { font-size: 16px; line-height: 1.55; color: var(--on-dark); }

/* ---- Before and after — the design's drag slider (initCompare) ----
   .ba-carousel is an ordinary Swiper carousel of .ba-pair slides: two
   across on desktop, one on phones. When every pair fits it locks and
   the arrows go, so a page with one or two cases shows a plain row. */
.ba-carousel .swiper { overflow: hidden; }
.ba-carousel .swiper-slide { width: calc((100% - 20px) / 2); }
.ba-carousel .carousel-controls { margin-top: 24px; }
.ba-pair { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ba-compare {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 7; background: var(--stone); overflow: hidden;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  --cut: 36px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.ba-compare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.ba-compare > .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 2;
  background: var(--paper); box-shadow: 0 0 12px var(--shadow-pin); pointer-events: none;
}
.ba-handle::after {
  content: "↔"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 20px var(--shadow-strong); transition: transform 200ms var(--rv-ease);
}
.ba-compare:hover .ba-handle::after, .ba-compare.is-dragging .ba-handle::after { transform: translate(-50%, -50%) scale(1.1); }
.ba-pair:focus-within .ba-handle::after { outline: 3px solid var(--green); outline-offset: 2px; }
/* The bar under each photo (the design's range input): filled up to the
   line, its thumb moving with it. Also the keyboard control. */
.ba-range {
  --pos: 50%;
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; height: 44px; margin: -6px 0 0; padding: 0; background: transparent; cursor: ew-resize;
}
.ba-range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--green) var(--pos), var(--stone-dark) var(--pos));
}
.ba-range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--stone-dark); }
.ba-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--green); }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -8px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--green);
  box-shadow: 0 4px 10px var(--shadow-mid); transition: transform 200ms var(--rv-ease);
}
.ba-range::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green);
  box-shadow: 0 4px 10px var(--shadow-mid);
}
.ba-range:hover::-webkit-slider-thumb, .ba-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.ba-range:focus { outline: none; }
.ba-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green); outline-offset: 2px; }
.ba-compare .ba-label { pointer-events: none; z-index: 3; }
.ba-compare .ba-label--after { left: auto; right: 14px; }
/* A case we can't name yet: the placeholder flag sits top-left, loud on
   purpose, so nobody ships it by mistake. */
.ba-flag {
  position: absolute; left: 12px; top: 12px; z-index: 3; pointer-events: none;
  background: var(--copy-added-bg); color: var(--ink); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px;
}
.ba-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; background: var(--stone-light); color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 16px 7px 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.ba-label--after { background: var(--green-deep); color: var(--paper); }

/* ---- Static points over the .general image band ("Is it right for me?") ---- */
ul.general-list { list-style: none; margin: 0; }
/* The points are .general-item accordions (tap for the design's note);
   only the type is a touch smaller than the homepage list's. */
.suit-item summary { font-size: 19px; line-height: 1.3; }

/* ---- People rows (reuse .pay-row) with portrait headshots ---- */
.frame--face img { object-position: 50% 20%; }
.people-more { padding-top: 32px; border-top: 1px solid var(--stone-dark); }

/* ---- Ticked list ("What is included in the price") ---- */
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tick-list li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; color: var(--body-text); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* ---- Comparison table ---- */
.compare-wrap { width: 100%; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--stone); }
.compare-table thead th, .compare-table thead td { border-bottom-color: var(--stone-dark); font-weight: 600; }
.compare-table thead td { width: 28%; }
.compare-table tbody th { font-weight: 600; }
.compare-table td { color: var(--body-text); }
.compare-table thead th.is-ours { background: var(--green-deep); color: var(--paper); }
.compare-table td.is-ours { background: var(--cream); color: var(--ink); }
.compare-table td.is-ours, .compare-table tbody tr:last-child > * { border-bottom: 1px solid var(--stone-dark); }
.compare-table tbody tr:last-child td.is-ours { border-bottom-color: var(--green-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .page-hero-row, .intro-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-hero-row .btn-row { justify-self: start; justify-content: flex-start; }
  .page-index { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--stone-dark); }
  .page-index ul { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .media-split { gap: 40px; }
}

@media (max-width: 767px) {
  .page-hero { padding-top: 32px; }
  .page-hero-row { padding-bottom: 24px; }
  .page-hero-stage { height: auto; display: flex; flex-direction: column; gap: 8px; }
  .page-hero-img { position: relative; inset: auto; aspect-ratio: 4 / 3; --cut: 36px; }
  .hero-tabs { position: static; align-items: stretch; padding-bottom: 0; }
  .hero-tab { width: 100%; clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%); }
  .hero-tab:hover, .hero-tab[open] { width: 100%; }
  .hero-tab summary { font-size: 17px; padding: 14px 20px 14px 30px; }
  .hero-tab p { padding: 0 20px 14px 30px; }
  .page-index ul { flex-direction: column; }
  .media-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .media-split-img { aspect-ratio: 4 / 3; --cut: 40px; }
  .num-card { min-height: 0; padding: 28px 24px; }
  .ba-carousel .swiper-slide { width: 88%; }
  .ba-compare { aspect-ratio: 4 / 3; --cut: 28px; }
  .people-more { padding-top: 24px; }

  /* Table → one stacked card per row; each cell carries its column name.
     .compare-table--plain opts out and stays a real table (short tables,
     e.g. Root canal vs extraction). */
  .compare-table:not(.compare-table--plain), .compare-table:not(.compare-table--plain) tbody, .compare-table:not(.compare-table--plain) tr, .compare-table:not(.compare-table--plain) th, .compare-table:not(.compare-table--plain) td { display: block; width: 100%; }
  .compare-table:not(.compare-table--plain) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  /* One card per question: the question, our answer on the dark band,
     then the two alternatives as label | answer rows. */
  .compare-table:not(.compare-table--plain) tr { margin-bottom: 14px; background: var(--white); box-shadow: 0 14px 30px -24px var(--shadow-pin); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  .compare-table:not(.compare-table--plain) tbody th { padding: 18px 20px 14px; border-bottom: 0; font-size: 18px; line-height: 1.3; color: var(--ink); }
  .compare-table:not(.compare-table--plain) td {
    display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4px 14px;
    padding: 12px 20px; border-bottom: 0; border-top: 1px solid var(--stone); background: none; font-size: 15px;
  }
  .compare-table:not(.compare-table--plain) td.is-ours { background: var(--green-deep); color: var(--paper); border-top: 0; font-weight: 600; }
  .compare-table:not(.compare-table--plain) td:last-child { padding-bottom: 16px; }
  .compare-table:not(.compare-table--plain) td::before { content: attr(data-label); font-size: 14px; font-weight: 600; color: var(--muted); }
  .compare-table:not(.compare-table--plain) td.is-ours::before { color: var(--oak); }
  .compare-table--plain { font-size: 14px; line-height: 1.4; }
  .compare-table--plain th, .compare-table--plain td { padding: 12px 8px; }
  .compare-table--plain thead td { width: 34%; }
}

/* ---- Consultation page sections ---- */
/* ==========================================================================
   Book a free consultation — classes the shared design layer lacks.
   Merge into css/site.css (sections block, before "Responsive").
   Also uses .ba-grid / .ba-pair / .ba-imgs / .ba-label and .tick-list,
   defined in _page-invisalign.css — merge those once, not twice.
   ========================================================================== */

/* ---- Consultation hero: headline + trust strip left, photo + form right ---- */
.consult-hero { padding: 48px var(--gutter) 88px; }
.consult-hero-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(530px, 0.9fr);
  grid-template-areas: "head aside" "more aside"; grid-template-rows: auto 1fr;
  gap: 26px clamp(32px, 4vw, 64px); align-items: start;
}
.consult-hero-head { grid-area: head; display: flex; flex-direction: column; gap: 26px; }
.consult-hero-aside { grid-area: aside; display: flex; flex-direction: column; gap: 20px; }
.consult-hero-more { grid-area: more; display: flex; flex-direction: column; gap: 26px; padding-left: clamp(16px, 4%, 48px); }
.consult-hero h1 { font-size: clamp(38px, 4.8vw, 76px); line-height: 0.98; font-weight: 500; letter-spacing: -0.035em; color: var(--green-deep); }
.consult-hero h1 .l2 { padding-left: clamp(20px, 8%, 84px); }
.consult-hero h1 .l3 { padding-left: clamp(40px, 16%, 160px); }
.consult-hero-head .lede { max-width: 560px; margin-left: clamp(16px, 4%, 48px); }
.consult-hero-photo { width: 100%; aspect-ratio: 16 / 6.5; --cut: 48px; }
.consult-hero-photo img { object-position: 32% 62%; }
.consult-hero-photo--wide { max-width: 560px; aspect-ratio: 16 / 7; --cut: 34px; }
.consult-hero-photo--wide img { object-position: 29% 40%; }

/* Dark panel holding the form. The AC .form-card sits inside it flat. */
.consult-panel { background: var(--green-deep); color: var(--paper); padding: 34px 32px 56px; display: flex; flex-direction: column; gap: 18px; --cut: 44px; }
.consult-panel .form-card { max-width: none; margin: 0; padding: 0; background: none; clip-path: none; }
.consult-panel-intro { display: flex; flex-direction: column; gap: 6px; }
.consult-panel-intro .kicker { color: var(--on-dark-soft); }
.consult-panel-intro p { font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.consult-portal { font-size: 15px; line-height: 1.5; color: var(--on-dark-soft); }
.consult-portal a { color: var(--paper); text-decoration-color: var(--dark-muted); }

/* ---- Trust strip: angled ticked bars, fading from oak to paper ---- */
.trust-strip { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 520px; }
.trust-strip li {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 13px 32px 13px 20px; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--ink);
  background: color-mix(in srgb, var(--oak) 40%, var(--paper));
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.trust-strip li:nth-child(2) { background: color-mix(in srgb, var(--oak) 33%, var(--paper)); }
.trust-strip li:nth-child(3) { background: color-mix(in srgb, var(--oak) 27%, var(--paper)); }
.trust-strip li:nth-child(4) { background: color-mix(in srgb, var(--oak) 21%, var(--paper)); }
.trust-strip li:nth-child(5) { background: color-mix(in srgb, var(--oak) 16%, var(--paper)); }
.trust-strip li:nth-child(6) { background: color-mix(in srgb, var(--oak) 11%, var(--paper)); }
.trust-strip li::before { content: "✓" / ""; flex: none; font-size: 16px; font-weight: 600; color: var(--green); }

/* ---- Finance stage: cutout on the oak base, wrapped chips around it ---- */
.finance-stage { position: relative; height: clamp(440px, 50vw, 700px); margin-top: 24px; }
.finance-cutout {
  position: absolute; left: 51%; bottom: 0; transform: translateX(-50%);
  width: clamp(563px, 64.9vw, 930px); max-width: none; z-index: 2; display: block;
}
/* A person standing on the oak doesn't float or drift — only the chips
   burst out of her. */
.finance-cutout > img { animation: none; filter: none; }
/* An object cutout (not a person) hangs in the air above the oak and bobs
   like the implant on the homepage, with the site's drop shadow. */
.finance-cutout--object { bottom: 17%; width: clamp(400px, 44vw, 640px); }
.finance-cutout--object > img { animation: floatBob 6.5s ease-in-out infinite; filter: drop-shadow(0 30px 40px var(--shadow-cutout)); }
.finance-chips { list-style: none; }
.finance-chips .tick-chip { position: absolute; z-index: 3; max-width: 320px; }
.finance-chips .tick-chip > span:last-child { white-space: normal; padding: 11px 30px 11px 24px; line-height: 1.35; }
/* The tick sits clear of the slanted left edge. */
.finance-chips .tick-chip > span:first-child { width: 58px; min-width: 58px; flex: 0 0 58px; padding-left: 8px; }
.finance-chips .tick-chip:nth-child(1) { left: 2%; top: 8%; }
.finance-chips .tick-chip:nth-child(2) { right: 2%; top: 4%; }
.finance-chips .tick-chip:nth-child(3) { left: 0; top: 34%; }
.finance-chips .tick-chip:nth-child(4) { right: 0; top: 30%; }
.finance-chips .tick-chip:nth-child(5) { left: 6%; top: 58%; }

/* .faq-tabs--wrap: FAQ tabs that wrap on phones instead of the kit's
   tucked single row — this page's four labels are too long for it. */

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .consult-hero { padding-bottom: 72px; }
  .consult-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "aside" "more"; grid-template-rows: auto;
    gap: 32px;
  }
  .consult-hero-aside { max-width: 640px; }
  .consult-hero-photo:not(.consult-hero-photo--wide) { order: 2; }
  .consult-hero-more { padding-left: 0; }
  .consult-hero-head .lede { margin-left: 0; }

  /* Chips become a two-column list above the photo. */
  .finance-stage { height: auto; display: flex; flex-direction: column; }
  .finance-chips { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .finance-chips .tick-chip { position: static; max-width: none; }
  .finance-cutout { position: relative; left: auto; transform: none; width: min(100%, 720px); margin: 8px auto 0; }
  .finance-cutout--object { bottom: auto; width: min(86%, 560px); margin-bottom: clamp(70px, 24vw, 140px); }
  .finance-stage:has(.finance-cutout--object) .implant-oak { height: clamp(90px, 26vw, 150px); }
  /* Chips are a list above the photo here: they rise in, not burst. */
  .js .finance-stage.is-armed .float-chip { transform: translateY(18px); }
}
@media (max-width: 767px) {
  .consult-hero { padding-top: 32px; padding-bottom: 56px; }
  .consult-hero h1 .l2, .consult-hero h1 .l3 { padding-left: 0; }
  .consult-panel { padding: 28px 20px 48px; --cut: 32px; }
  .trust-strip li { font-size: 16px; padding: 12px 28px 12px 16px; gap: 12px; }
  .consult-hero-photo { --cut: 32px; }

  .finance-chips { grid-template-columns: minmax(0, 1fr); }
  .finance-chips .tick-chip { font-size: 15px; }
  .finance-chips .tick-chip > span:first-child { width: 46px; padding-left: 6px; }
  .finance-chips .tick-chip > span:last-child { padding: 10px 22px 10px 20px; }

  .faq-band .faq-tabs--wrap { flex-wrap: wrap; gap: 8px; }
  .faq-band .faq-tabs--wrap .faq-tab + .faq-tab { margin-left: 0; padding-left: 20px; }
  .faq-band .faq-tabs--wrap .faq-tab { flex: 0 1 auto; white-space: normal; text-align: left; }
}


/* ==========================================================================
   Shared helpers for the tablet round (2026-10-06)
   ========================================================================== */
/* Section top padding the design gives some bands (was inline styles). */
.band.band--top-lg { padding-top: 120px; }

/* A heading centred on desktop, left on tablet and phones, where the
   paragraph under it is left-aligned (homepage USP). */
@media (max-width: 1080px) {
  .narrow-left { text-align: left; margin-left: 0; }
}

/* Phones-only "jump to" list (homepage payment options). */
.jump-list { display: none; }

/* A forced line break inside a .btn-row — off unless a breakpoint turns it
   on (the homepage "Ready?" row drops "or call" to its own line on tablet). */
.btn-row-break { display: none; }

/* A photo that is still downloading when its block reveals fades in when it
   lands, instead of popping into an empty frame (initReveals). */
.js img.img-fade { transition: opacity 520ms var(--rv-ease); }
.js img.img-pending { opacity: 0; }

/* An image band with a list and a card (.general--stacked: "Is Invisalign
   right for me?", the homepage general dentistry band) on tablet and
   phones: the photo, then one dark card rising over its foot, nearly its
   full width, holding the heading, copy, the list (as rows inside the
   card) and the buttons.
   The card's box dissolves (display: contents) so the list — a sibling in
   the markup, beside the card on desktop — can sit inside it: every piece
   takes a row of column 2, and the card's background is ::after spanning
   those rows (::before is its soft shadow). */
@media (max-width: 1080px) {
  .general--stacked {
    --card-inset: 24px; --card-pad: 32px; --card-rise: 120px;
    display: grid; grid-template-columns: var(--card-inset) minmax(0, 1fr) var(--card-inset);
    gap: 0; min-height: 0; align-items: start;
  }
  .general--stacked .general-bg {
    position: relative; inset: auto; grid-row: 1; grid-column: 1 / -1; z-index: 0;
    aspect-ratio: 16 / 11; margin-bottom: calc(var(--card-rise) * -1);
  }
  .general--stacked::before, .general--stacked::after { content: ""; grid-column: 2; grid-row: 2 / 7; align-self: stretch; }
  .general--stacked::after {
    z-index: 1; background: var(--green-deep);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  }
  .general--stacked::before { z-index: 0; background: var(--shadow-strong); filter: blur(22px); transform: translateY(22px) scaleX(0.95); }
  .general--stacked .overlap-card { display: contents; }
  .general--stacked .overlap-card > *, .general--stacked .general-list {
    grid-column: 2; position: relative; z-index: 2; margin: 0;
    padding-left: var(--card-pad); padding-right: var(--card-pad);
  }
  .general--stacked .overlap-card > h2 { grid-row: 2; padding-top: var(--card-pad); }
  .general--stacked .overlap-card > p { grid-row: 3; padding-top: 18px; }
  .general--stacked .overlap-card > p + p { grid-row: 4; }
  .general--stacked .general-list { grid-row: 5; padding-top: 24px; padding-bottom: 0; gap: 0; max-width: none; }
  .general--stacked .overlap-card > .btn-row { grid-row: 6; padding-top: 26px; padding-bottom: var(--card-pad); }
  /* The points become rows of the card: hairlines, no green bars. */
  .general--stacked .general-item { background: none; clip-path: none; border-top: 1px solid var(--paper-22); }
  .general--stacked .general-item:last-child { border-bottom: 1px solid var(--paper-22); }
  .general--stacked .general-item:hover, .general--stacked .general-item[open] { background: none; }
  .general--stacked .general-item summary { padding: 14px 0; font-size: 18px; }
  .general--stacked .general-item .note { padding: 0 0 16px; max-width: none; }
}
@media (max-width: 767px) {
  .general--stacked { --card-inset: 12px; --card-pad: 22px; --card-rise: 64px; }
  .general--stacked .general-bg { aspect-ratio: 4 / 3; --cut: 40px; }
  .general--stacked .general-item summary { font-size: 17px; padding: 13px 0; }
}

/* A card over a photo (.overlap) on tablet and phones: a faint shadow,
   mostly under its foot, so it reads as a card lifted over the page
   rather than a patch of the same colour. The cut corner moves from the
   card (where clip-path also cut the shadow away) to a ::before behind
   its content, so the drop-shadow follows the cut shape. */
@media (max-width: 1080px) {
  .overlap > .overlap-card.cut-tr {
    clip-path: none; background: none; isolation: isolate; box-shadow: none;
    filter: drop-shadow(0 24px 22px var(--shadow-mid));
  }
  .overlap > .overlap-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
    clip-path: polygon(0 0, calc(100% - var(--cut, 40px)) 0, 100% var(--cut, 40px), 100% 100%, 0 100%);
  }
}


/* ==========================================================================
   Tablet (768–1080px). The design has no tablet drawing; ≤1080 collapses
   to one column. These rules give the tablet its own layout where the
   one-column version crowded or clipped. Phones (≤767) are untouched.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1080px) {
  /* Treatment cards: two columns. */
  .treat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* ---- Homepage hero: three blocks with air between — heading + intro,
     the aligner over "1950", then the three facts. The stage's art area is
     a spacer (::before) so the facts sit below it, not on top of it. */
  .hero { padding-top: 40px; }
  .hero-grid { align-items: start; }
  .hero-intro { padding-top: 10px; }
  .hero-stage { height: auto; min-height: 0; margin-top: 24px; }
  .hero-stage::before { content: ""; display: block; height: 58vw; }
  .hero-ghost { top: 2vw; }
  .hero-cutout { left: 50%; top: 8vw; bottom: auto; width: 72vw; }
  .hero-facts {
    position: relative; right: auto; bottom: auto; margin-top: 40px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    padding-top: 20px; border-top: 1px solid var(--stone-dark); text-align: left; line-height: 1.4;
  }

  /* ---- Image with an overlapping card ("hide your smile", "Most people
     book"): the photo at full width, the card on its bottom-right corner,
     hanging below it, so the face stays clear. */
  .overlap { min-height: 0; display: flex; flex-direction: column; }
  .overlap-img { position: relative; inset: auto; aspect-ratio: 4 / 3; --cut: 56px; }
  .overlap > .overlap-card { transform: none; margin: -200px 0 0 auto; max-width: 460px; padding: 36px 32px; }

  /* ---- Headings beside a paragraph (.split): tops line up, and the
     heading gets more size than 4vw gives it here. */
  .split { align-items: start; }
  .split > .h-lg { font-size: 44px; }


  /* USP slider whose heading is centred (consultation page): the slider
     column centres under it. */
  .usp--centre .usp-grid > .stack { align-items: center; text-align: center; }
  .usp--centre .carousel { width: 100%; max-width: 560px; }
  .usp--centre .usp-slide { align-items: center; }
  .usp--centre .usp-slide p { margin-left: auto; margin-right: auto; }
  .usp--centre .carousel-controls { justify-content: center; }

  /* ---- Implant / aligner stage: taller, chips in the top and bottom
     bands, the cutout in the clear middle. */
  .implant-stage { height: clamp(560px, 74vw, 760px); }
  .implant-stage > .float-obj { left: 50%; top: 47%; width: 62vw; }
  .implant-stage .tick-chip:nth-of-type(1) { left: 0; right: auto; top: 2%; }
  .implant-stage .tick-chip:nth-of-type(2) { right: 0; left: auto; top: 11%; }
  .implant-stage .tick-chip:nth-of-type(3) { left: 0; right: auto; top: 79%; }
  .implant-stage .tick-chip:nth-of-type(4) { right: 0; left: auto; top: 88%; }

  /* ---- Finance stage: chips wrap round Alice again (as on desktop),
     bursting out of her, rather than a list above the photo. */
  .finance-stage { display: block; height: clamp(600px, 82vw, 820px); }
  .finance-chips { position: static; display: block; }
  .finance-chips .tick-chip { position: absolute; max-width: 250px; }
  .finance-chips .tick-chip:nth-child(1) { left: 0; top: 3%; }
  .finance-chips .tick-chip:nth-child(2) { right: 0; top: 13%; }
  .finance-chips .tick-chip:nth-child(3) { left: 0; top: 31%; }
  .finance-chips .tick-chip:nth-child(4) { right: 0; top: 43%; }
  .finance-chips .tick-chip:nth-child(5) { left: 0; top: 59%; }
  .finance-cutout { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 92vw; margin: 0; }
  .finance-cutout--object { bottom: 12%; width: 74vw; margin-bottom: 0; }
  .finance-stage:has(.finance-cutout--object) .implant-oak { height: 34%; }
  .js .finance-stage.is-armed .float-chip { transform: translate(var(--from-x, 0px), var(--from-y, 0px)) scale(0.35); }

  /* ---- Treatment tabs: a narrower menu, so the labels wrap into even rows
     instead of leaving one on a line by itself. Centred under a centred
     heading (homepage). */
  .ttabs-list { max-width: 520px; }
  .ttabs--centre .ttabs-list { justify-content: center; margin-left: auto; margin-right: auto; }

  /* ---- "Ready?" panel: "or call" on its own line. */
  .ready > .btn-row { justify-content: flex-start; }
  .btn-row-break { display: block; flex-basis: 100%; height: 0; }

  /* ---- Homepage FAQ: the whole aside sticks (heading, line, buttons),
     and the tabs stack, left-aligned, at their own width. */
  .faq-aside { position: sticky; top: 120px; }
  .faq-grid .faq-tabs { flex-direction: column; align-items: flex-start; }
  /* Centred FAQ (Invisalign, consultation): a narrower tab row, so four
     tabs sit two and two rather than three and one. */
  .faq-centre .faq-tabs { max-width: 480px; }

  /* ---- Invisalign hero: the tabs hang half off the bottom of the photo,
     clear of the faces. */
  .page-hero-stage { height: clamp(460px, 62vw, 620px); margin-bottom: 170px; }
  .hero-tabs { bottom: -170px; padding-bottom: 0; }

  /* ---- Numbered cards: two across for 4 (or any count not divisible by
     three), three across for 3, 6, 9. */
  .num-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num-cards:has(> :last-child:nth-child(3n)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* ---- Consultation hero: heading and intro side by side (less height
     above the form), and the photo above the form. */
  .consult-hero-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .consult-hero h1 .l2 { padding-left: 24px; }
  .consult-hero h1 .l3 { padding-left: 48px; }
  .consult-hero-head .lede { padding-top: 8px; }
  .consult-hero-aside { max-width: none; }
  .consult-hero-photo:not(.consult-hero-photo--wide) { order: 0; }

  /* ---- Footer: the four link columns as two and two. */
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ==========================================================================
   Phones — portrait (≤767px) and landscape (≤1080px wide and ≤500px tall;
   a landscape phone is tablet-wide but short). George's mobile round,
   2026-10-20. Later than the tablet block, so it wins where both apply.
   ========================================================================== */
@media (max-width: 767px), (max-width: 1080px) and (max-height: 500px) {
  /* Treatment cards: one column. */
  .treat-grid { grid-template-columns: 1fr; gap: 18px; }
  .step-title { font-size: 26px; }

  /* A centred heading over left-aligned content goes left. */
  .mobile-left { text-align: left; margin-left: 0; }

  /* Bands whose top padding was much more than they need here. */
  .band.band--top-tight-mobile { padding-top: 40px; }

  /* "Ready?" ghost word fits the panel instead of cropping to "EADY". */
  .ready-ghost:not(.ready-ghost--static) { font-size: 24vw; }

  /* Booking heroes (consultation, appointment; LRD-61): the top photo sits
     beside the H1 and intro as a narrow column, the form card below. The
     aside is dissolved so its photo and panel join the hero grid. */
  .consult-hero-grid {
    grid-template-columns: minmax(0, 1fr) 34%; grid-template-rows: auto;
    grid-template-areas: "head photo" "panel panel" "more more"; gap: 28px 16px;
  }
  .consult-hero-aside { display: contents; }
  .consult-hero-aside > .consult-hero-photo { grid-area: photo; order: 0; aspect-ratio: auto; align-self: stretch; min-height: 220px; --cut: 24px; }
  .consult-hero-aside > .consult-panel { grid-area: panel; }
  .consult-hero-more { grid-area: more; }
  .consult-hero-head { display: flex; flex-direction: column; gap: 18px; }
  .consult-hero h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .consult-hero h1 .l2, .consult-hero h1 .l3 { padding-left: 0; }
  .consult-hero-head .lede { padding-top: 0; }
  /* Face centred in the narrow column, not cut on the right (LRD-61, round 2). */
  .consult-hero-photo:not(.consult-hero-photo--wide) img:not(.pos-var) { object-position: 33% 40%; }

  /* Homepage hero: the desktop side photo, small, beside the intro line
     (LRD-56). */
  .hero-intro-row { display: grid; grid-template-columns: minmax(0, 1fr) 30%; gap: 16px; align-items: start; }
  .hero-side-mobile { display: block; aspect-ratio: 3 / 4; --cut: 22px; }
  .hero-side-mobile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

  /* USP sections (home-004 and every page built like it): the photo comes
     before the copy (LRD-58). */
  .usp-grid > .usp-photos { order: -1; }

  /* Home 010 offers: buttons centred and dropped clear of the ticker
     (LRD-59). The ticker is centred in the band and the buttons sit at its
     foot, so a taller band is what opens the gap between them. */
  .offers { min-height: 470px; }
  .offers .btn-row { justify-content: center; }

  /* Treatment tabs stack, left-aligned at their own width. */
  .ttabs-list, .ttabs--centre .ttabs-list {
    flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start;
    gap: 2px; max-width: none; margin: 0;
  }
  .ttabs-list [role="tab"] { padding: 10px 0; }

  /* FAQ tabs (every FAQ): one horizontal bar the visitor swipes through,
     running to the screen edge so the cut-off tab shows there is more
     (George, LRD-60; replaces the 2026-10-20 stacked tabs). */
  .faq-band .faq-tabs, .faq-band .faq-tabs--wrap {
    flex-direction: row; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 8px;
    align-self: stretch; max-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .faq-band .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-band .faq-tab, .faq-band .faq-tab + .faq-tab, .faq-band .faq-tabs--wrap .faq-tab + .faq-tab {
    flex: none; margin-left: 0; padding: 12px 28px 12px 20px; overflow: visible; white-space: nowrap; text-align: left;
    scroll-snap-align: start;
  }

  /* USP sections: the paragraph sits close under its heading. */
  .usp-grid { margin-top: 20px; }

  /* Payment options: jump straight to a row. The list's own bottom rule
     is the divider, so no gap and no second rule after it. */
  .stack-lg:has(.jump-list) { gap: 0 !important; }
  .stack-lg:has(.jump-list) .pay-row:first-child { border-top: 0; }
  .jump-list { display: flex; flex-direction: column; border-top: 1px solid var(--stone-dark); }
  .jump-list a {
    display: flex; align-items: center; gap: 14px; min-height: 48px;
    border-bottom: 1px solid var(--stone-dark); text-decoration: none; font-size: 17px; font-weight: 600;
  }
  .jump-list a > span { width: 24px; color: var(--sage); font-variant-numeric: tabular-nums; }
  .jump-list a::after { content: "↓"; margin-left: auto; color: var(--green); }

  /* Team: heading, paragraph, the people, then the controls, then "Meet
     the whole team" — not the controls floating above the carousel. The
     split's boxes dissolve (display: contents) so their children can be
     reordered around the carousel. */
  .team .wrap.carousel { display: flex; flex-direction: column; gap: 20px; }
  .team .split, .team .split-end { display: contents; }
  .team .split > h2 { order: 1; }
  .team .split-end > .lede { order: 2; }
  /* width/min-width: as a flex item the viewport would size to its row
     of slides, and Swiper would think everything fits and lock. */
  .team .swiper { order: 3; margin-top: 8px; width: 100%; min-width: 0; }
  .team .carousel-controls { order: 4; }
  .team .carousel-controls .link-strong { flex-basis: 100%; margin: 6px 0 0; }

  /* Find us: the maps buttons under the map, not over it. */
  .findus .map-actions { position: static; margin-top: 12px; justify-content: flex-start; }
  .findus .map-btn { text-decoration: none; }
}


/* ==========================================================================
   Sticky booking bar — `.sticky-cta`
   Built by initStickyCta() from the BOOKING config. Phones only.
   ========================================================================== */
.sticky-cta { display: none; }

@media (max-width: 767px) {
  /* 1px border + 10px + the 48px button + 10px, plus the home indicator.
     On :root because the bar is appended to <body>, outside #page. */
  :root { --sticky-cta-h: calc(69px + env(safe-area-inset-bottom, 0px)); }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* Below the header, above the QA pill overlay. */
    z-index: 2147483002;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    /* iOS home-indicator gap — otherwise the buttons sit in the swipe strip. */
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    box-shadow: 0 -14px 34px -22px rgba(23, 23, 26, 0.45);
    /* visibility, not just transform, so a hidden bar is out of the tab
       order and out of a screen reader's way. */
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s linear 320ms;
  }
  .sticky-cta.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s;
  }

  /* Reserve exactly the bar's height at the end of the page. */
  #page { padding-bottom: var(--sticky-cta-h); }

  .sticky-cta-call {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    transition: transform 180ms ease;
  }
  .sticky-cta-call:hover { color: var(--paper); transform: translateY(-2px); }
  .sticky-cta-call svg { width: 20px; height: 20px; display: block; }

  .sticky-cta-book {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 100px;
    background: var(--key-yellow);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease;
  }
  .sticky-cta-book:hover { color: var(--ink); transform: translateY(-2px); }
  .sticky-cta-caret { display: flex; }
  .sticky-cta-caret svg { width: 10px; height: 7px; display: block; transition: transform 220ms ease; }
  .sticky-cta.is-open .sticky-cta-caret svg { transform: rotate(180deg); }
  .sticky-cta-ext { display: flex; }
  .sticky-cta-ext svg { width: 14px; height: 14px; display: block; }

  /* Multi-route menu — opens upwards out of the bar. */
  .sticky-cta-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(100% - 4px);
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(23, 23, 26, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
  }
  .sticky-cta.is-open .sticky-cta-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 240ms ease, transform 240ms ease, visibility 0s;
  }
  .sticky-cta-menuitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--ink);
  }
  .sticky-cta-menuitem:hover { background: var(--tab-bg); color: var(--ink); }
}


/* London Road skin for the kit sticky bar: angled stone call button,
   bronze (booking) book button. */
@media (max-width: 767px) {
  .sticky-cta-call { border-radius: 0; background: var(--stone); color: var(--ink); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
  .sticky-cta-call:hover { color: var(--ink); }
  .sticky-cta-book { border-radius: 0; background: var(--book); color: var(--white); font-weight: 600; font-size: 16px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
  .sticky-cta-book:hover { color: var(--white); background: var(--book-hover); }
  /* The routes menu rises from behind the bar. The bar paints its
     background on ::before, above the menu (z-index -1), so the closed
     menu tucks beneath it and slides up out from under it. Full width,
     the 1950 ghost colour, cut corner top right. */
  .sticky-cta { background: transparent; border-top: 0; box-shadow: none; }
  .sticky-cta::before {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper);
    border-top: 1px solid var(--hairline); box-shadow: 0 -14px 34px -22px var(--shadow-pin);
  }
  .sticky-cta > a, .sticky-cta > button { position: relative; z-index: 1; }
  .sticky-cta-menu {
    left: 0; right: 0; bottom: 100%; z-index: -1; padding: 8px 16px 10px;
    border: 0; border-radius: 0; background: var(--ghost-type); box-shadow: none; opacity: 1;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
    transform: translateY(100%);
    transition: transform 320ms var(--rv-ease), visibility 0s linear 320ms;
  }
  .sticky-cta.is-open .sticky-cta-menu {
    transform: none;
    transition: transform 380ms var(--rv-ease), visibility 0s;
  }
  .sticky-cta-menuitem {
    border-radius: 0; font-weight: 600; font-size: 16px; padding: 15px 2px; min-height: 52px; text-decoration: none;
    border-bottom: 1px solid var(--stone-dark);
  }
  .sticky-cta-menuitem:last-child { border-bottom: 0; }
  .sticky-cta-menuitem:hover { background: transparent; color: var(--green); }
  /* The caret says where the menu goes: up while shut, down once open. */
  .sticky-cta-caret svg { transform: rotate(180deg); }
  .sticky-cta.is-open .sticky-cta-caret svg { transform: none; }
}

/* Reduced motion still gets the bar — it just appears rather than travels. */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .sticky-cta.is-visible,
  .sticky-cta-menu,
  .sticky-cta.is-open .sticky-cta-menu { transition: none; }
}

/* ---- Meet the team: GDC line and full bios in the people rows ---- */
.team-gdc { font-size: 14px; color: var(--body-text); letter-spacing: 0.02em; }
.team-bio { font-size: 17px; line-height: 1.55; color: var(--body-text); max-width: 520px; }
.team-bio + .team-bio { margin-top: 2px; }

/* ---- Meet the team: sticky skip bar (phones, portrait and landscape) ----
   Takes no room in the page (the nav is zero-height and sticks under the
   header); the bar fades in only while the visitor is inside the people
   sections (initJumpBar toggles .is-on). */
.team-jump { display: none; }
@media (max-width: 767px), (max-width: 1080px) and (max-height: 500px) {
  .team-jump { display: block; position: sticky; top: var(--jump-top, 64px); height: 0; z-index: 50; }
  .team-jump-bar {
    position: absolute; left: 0; right: 0; top: 0;
    display: flex; gap: 4px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none;
    background: var(--paper-94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-dark);
    opacity: 0; visibility: hidden; pointer-events: none; translate: 0 -10px;
    transition: opacity 320ms ease, translate 320ms ease, visibility 0s linear 320ms;
  }
  .team-jump.is-on .team-jump-bar {
    opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0;
    transition: opacity 320ms ease, translate 320ms ease, visibility 0s;
  }
  .team-jump-bar::-webkit-scrollbar { display: none; }
  .team-jump a {
    flex: 0 0 auto; padding: 8px 14px; min-height: 36px; font-size: 14px; font-weight: 600;
    color: var(--ink); text-decoration: none; border: 1px solid var(--stone-dark);
    transition: background 180ms ease, color 180ms ease;
  }
  .team-jump a.is-active { background: var(--green); border-color: var(--green); color: var(--paper); }
  /* On phones each person's photo comes above their name and bio. */
  [data-page="about-us-meet-the-team"] .pay-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [data-page="about-us-meet-the-team"] .pay-row .frame { order: -1; width: 100%; max-height: 72vh; }
  /* A target comes to rest below the header and this bar. */
  .team-jump ~ section[id] { scroll-margin-top: calc(var(--jump-top, 64px) + 60px); }
}

/* ---- Meet the team: taller photos, and long bios that expand ---- */
[data-page="about-us-meet-the-team"] .pay-row .frame { aspect-ratio: 5 / 6; }
@media (max-width: 767px), (max-width: 1080px) and (max-height: 500px) {
  [data-page="about-us-meet-the-team"] .pay-row .frame { aspect-ratio: 5 / 4; }
}
.bio-more { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 480ms var(--rv-ease), visibility 0s linear 480ms; }
.bio-more.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 480ms var(--rv-ease), visibility 0s; }
.bio-more-inner { overflow: hidden; min-height: 0; gap: 12px; }
.bio-more.is-open .bio-more-inner { padding-top: 12px; }
.bio-toggle {
  align-self: flex-start; background-color: transparent; border: 0; cursor: pointer;
  font-family: inherit; color: var(--ink); text-align: left; padding-top: 0; margin-top: 6px;
}
/* Plus that becomes a minus: two bars, the vertical one shrinks away. */
.bio-toggle::after, .bio-toggle:hover::after {
  -webkit-mask: none; mask: none; transform: none; width: 0.8em; height: 0.8em; margin-left: 0.6em;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: center;
  background-size: 100% 2px, 2px 100%;
  transition: background-size 300ms var(--rv-ease);
}
.bio-toggle[aria-expanded="true"]::after { background-size: 100% 2px, 2px 0; }
.bio-toggle:hover { --ul: var(--green); }

/* Comparison table on phones (implant pages): the question is the dark-green header row, the answers below it are bold
   and plain — nothing in the row itself is highlighted (George, 2026-10-21). */
@media (max-width: 767px) {
  .compare-table--head:not(.compare-table--plain) tbody th { background: var(--green-deep); color: var(--paper); padding: 14px 20px; }
  .compare-table--head:not(.compare-table--plain) td, .compare-table--head:not(.compare-table--plain) td.is-ours { background: none; color: var(--ink); font-weight: 600; }
  .compare-table--head:not(.compare-table--plain) td::before, .compare-table--head:not(.compare-table--plain) td.is-ours::before { color: var(--muted); font-weight: 600; }
}
/* Stacked cards on phones draw no bottom stroke: the desktop rule that underlines the last row (and our column's dark underline)
   out-ranked the card reset, so the "Upfront cost" card kept a heavier line under each answer. */
@media (max-width: 767px) {
  .compare-table:not(.compare-table--plain) tbody tr > *,
  .compare-table:not(.compare-table--plain) tbody tr:last-child > *,
  .compare-table:not(.compare-table--plain) tbody tr:last-child td.is-ours { border-bottom: 0; }
}


/* ==========================================================================
   Added 2026-10-28 (About us / Our reviews / Find us / Dentist referrals)
   ========================================================================== */

/* Section reversal: photo on the right, text on the left. Stacks photo-first. */
.media-split--reverse { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.media-split--reverse .media-split-img { order: 2; }
@media (max-width: 1080px) {
  .media-split--reverse { grid-template-columns: minmax(0, 1fr); }
  .media-split--reverse .media-split-img { order: 0; }
}

/* Find us: air between the hero and the map band. */
.page-hero + .findus { margin-top: 64px; }

/* Dentist referrals: the two-step form sits where the photo would, sticky. */
.media-split--form { align-items: start; }
.media-split--form .referral-panel { position: sticky; top: 104px; --cut: 44px; }
.referral-panel .form-card { max-width: none; }
.form-step { transition: opacity 400ms ease; }
.form-step[hidden] { display: none; }
.form-step.is-out { opacity: 0; }
.form-step.is-in { animation: form-step-in 500ms ease both; }
@keyframes form-step-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1080px) {
  .media-split--form .referral-panel { position: static; }
}

/* Our reviews: the wall. A plain 3-column grid; short, strong reviews run
   two columns wide in an alternating colour; a photo now and then. */
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; margin-top: 40px; }
.rw-card.review-card { min-height: 0; padding: 28px; --cut: 28px; background: var(--stone); color: var(--ink); }
.rw-card.review-card .review-quote { color: var(--ink); font-size: 17px; line-height: 1.5; -webkit-line-clamp: 8; }
.rw-card.review-card .review-foot cite { color: var(--body-text); font-size: 15px; }
.rw-card.review-card .review-more { border-color: var(--stone-dark); color: var(--ink); }
.rw-card.review-card .review-more:hover { background: var(--stone-dark); }
.rw-card--green.review-card { background: var(--green-deep); color: var(--paper); }
.rw-card--green.review-card .review-quote { color: var(--paper); }
.rw-card--green.review-card .review-foot cite { color: var(--on-dark); }
.rw-card--green.review-card .review-more { border-color: var(--paper-50); color: var(--paper); }
.rw-card--green.review-card .review-more:hover { background: var(--paper-16); }
.rw-card--cream.review-card { background: var(--cream-warm); }
.rw-card--wide { grid-column: span 2; }
.rw-card--wide.review-card { justify-content: center; gap: 28px; padding: 40px 44px; --cut: 44px; }
.rw-card--wide.review-card .review-quote { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.01em; -webkit-line-clamp: unset; display: block; }
.rw-card--oak.review-card { background: var(--oak); color: var(--ink); }
.rw-photo { grid-row: span 2; min-height: 340px; --cut: 44px; background: var(--stone); }
.rw-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) {
  .rw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-photo { min-height: 280px; }
}
@media (max-width: 767px), (max-width: 1080px) and (max-height: 500px) {
  .rw-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  .rw-card--wide { grid-column: auto; }
  .rw-card--wide.review-card { padding: 28px; }
  .rw-photo { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* The referral form's own "STEP 1 / STEP 2" bar duplicates the panel's kicker. */
#referral-form .ac-form ._form ._form_element:has(.step-item-wrapper) { display: none !important; }
#referral-form .ac-form ._form ._form-title { font-size: 20px !important; font-weight: 500 !important; margin: 0 !important; color: var(--paper) !important; }
/* The form is taller than the text beside it, so it is the text that follows the visitor down. */
.media-split--form > .stack { position: sticky; top: 104px; }
@media (max-width: 1080px) { .media-split--form > .stack { position: static; } }
/* Stacked on phones the words come first (Dentist referrals: "How to refer" and the "ask first" note sit above the form, where they get read). */
@media (max-width: 767px) { .media-split--form > .stack { order: -1; } }

/* ==========================================================================
   Phone-call log (/phone-calls/) — staff only. Form 9 is the internal CRM
   form: every treatment shown, the group headings AC prints (hidden on the
   booking forms, where the legend does the job) shown as section headings,
   and the date and time boxes styled like the other fields.
   ========================================================================== */
.phone-log { padding-top: 56px; padding-bottom: 96px; }
.phone-log h1 { font-size: clamp(30px, 4.2vw, 56px); }
.phone-log .form-card { max-width: 760px; margin-top: 32px; }

#form .ac-form--phone ._form ._row._checkbox-radio:has(input[name="field[13]"]):not(.is-shown) { display: inline-flex !important; }

#form .ac-form--phone ._form ._form_element:has(> ._html-code > .crm_form-header) {
  display: block !important;
  margin: 14px 0 -8px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--paper-34) !important;
}
#form .ac-form--phone ._form ._form_element:has(> ._html-code > .crm_form-header):first-of-type { border-top: 0 !important; }
#form .ac-form--phone ._form .crm_form-header {
  font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.08em !important;
  text-transform: uppercase !important; color: var(--on-dark) !important; line-height: 1.3 !important;
}
/* The heading above carries the group name; the legend stays for screen readers. */
#form .ac-form--phone ._form ._form-fieldset > legend._form-label {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important;
}
#form .ac-form--phone ._form ._form_element > label._form-label { display: none !important; }

#form .ac-form--phone ._form ._field-wrapper:has(.datetime_date) {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr) !important; gap: 12px !important;
}
#form .ac-form--phone ._form ._field-wrapper > label.form-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  overflow: hidden !important; clip-path: inset(50%) !important;
}
#form .ac-form--phone ._form input[type="date"],
#form .ac-form--phone ._form input[type="time"] {
  display: block !important; width: 100% !important; min-width: 0 !important; box-sizing: border-box !important;
  height: auto !important; min-height: 48px !important; padding: 14px 16px !important; margin: 0 !important;
  font-size: 15.5px !important; font-weight: 400 !important; color: var(--paper) !important;
  background: var(--paper-10) !important; border: 1px solid var(--paper-34) !important; border-radius: 0 !important;
  color-scheme: dark;
}
#form .ac-form--phone ._form input[type="time"]:focus { border-color: var(--oak) !important; background: var(--paper-12) !important; outline: none !important; }
@media (max-width: 520px) {
  #form .ac-form--phone ._form ._field-wrapper:has(.datetime_date) { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   "Book now" menu — .book-menu (header): a button that opens two booking
   routes (appointment, consultation). The phone sticky bar has its own
   (.sticky-cta-menu). initBookMenus() in js/site.js.
   Desktop: a green card hanging flush under the button; the button goes to
   its darker hover colour while open. Tablet and phones: the card is the
   header's full width, sliding down from behind it like the sticky bar's.
   ========================================================================== */
.book-menu { position: relative; display: flex; align-items: stretch; }
.book-menu-toggle { font-family: inherit; border: 0; cursor: pointer; }
.book-menu-caret { width: 12px; height: 8px; display: block; transition: transform 220ms ease; }
.book-menu .nav-cta:hover .cta-arrow { transform: none; }
/* The caret follows the menu's state (open / closed), never the pointer: hovering or leaving can't un-rotate it. */
.book-menu .book-menu-caret { transform: none; }
.book-menu.is-open .book-menu-toggle .book-menu-caret { transform: rotate(180deg); }
.book-menu.is-open .nav-cta { background: var(--ink); color: var(--white); }
.book-menu-panel {
  position: absolute; top: 100%; right: 0; z-index: 60; min-width: 280px;
  background: var(--green); padding: 8px 0;
  box-shadow: 0 26px 44px -18px var(--shadow-pin);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.book-menu.is-open .book-menu-panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
}
.book-menu-item { display: block; padding: 15px 26px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--white); }
.book-menu-item:hover { background: var(--ink); color: var(--white); }
@media (max-width: 1080px) {
  .book-menu { position: static; }
  .book-menu-panel {
    left: 0; right: 0; min-width: 0; padding: 8px 32px 14px; box-shadow: none;
    opacity: 1; transform: none;
    clip-path: polygon(0 0, 100% 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 340ms var(--rv-ease), visibility 0s linear 340ms;
  }
  .book-menu.is-open .book-menu-panel {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    transition: clip-path 380ms var(--rv-ease), visibility 0s;
  }
  .book-menu-item { padding: 16px 0; min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--paper-34); }
  .book-menu-item:last-child { border-bottom: 0; }
  .book-menu-item:hover { background: transparent; color: var(--paper); }
}
@media (prefers-reduced-motion: reduce) {
  .book-menu-panel, .book-menu.is-open .book-menu-panel, .book-menu-caret { transition: none; }
}

/* Contact form: white fields (inputs and message box alike) with dark text and a darker blue-grey placeholder; AC's "safe with us" line in paper. */
:is(#form) .ac-form--contact ._form :is(input[type="text"], input[type="email"], input[type="tel"], textarea),
:is(#form) .ac-form--contact ._form :is(input[type="text"], input[type="email"], input[type="tel"], textarea):focus {
  background: var(--white) !important;
  color: var(--ink) !important;
}
:is(#form) .ac-form--contact ._form :is(input, textarea)::placeholder { color: var(--field-placeholder) !important; }
:is(#form) .ac-form--contact ._form ._html-code { color: var(--paper) !important; }
.consult-panel-intro .btn { align-self: flex-start; gap: 10px; margin-bottom: 10px; }
/* Appointment page, tablet and desktop (LRD-35): a bigger "Book online" with
   "Or request a callback" beside it and the intro line underneath. Phones keep
   the stacked version above. */
@media (min-width: 768px) and (min-height: 501px) {
  .consult-panel-intro:has(> .btn) { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 22px; }
  .consult-panel-intro > .btn { grid-row: 1; margin-bottom: 0; padding: 19px 32px; font-size: 18px; }
  .consult-panel-intro:has(> .btn) > .kicker { grid-row: 1; }
  .consult-panel-intro:has(> .btn) > p { grid-column: 1 / -1; margin-top: 14px; }
}

/* Per-breakpoint focal point: <img class="pos-var" style="--pos-d: 50% 30%; --pos-m: 70% 30%">.
   --pos-d is the desktop/tablet position, --pos-m the phone one (falls back to --pos-d). */
img.pos-var { object-position: var(--pos-d, 50% 50%); }
@media (max-width: 767px) { img.pos-var { object-position: var(--pos-m, var(--pos-d, 50% 50%)); } }

/* Our reviews: filter by treatment. Chips above the wall; the active one is the dark green tab. */
.rw-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rw-filter-btn {
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px;
  background: var(--stone); border: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background 200ms ease, color 200ms ease;
}
.rw-filter-btn:hover { background: var(--stone-dark); }
.rw-filter-btn.is-active, .rw-filter-btn.is-active:hover { background: var(--green-deep); color: var(--paper); }
.rw-filter-btn:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; }
.rw-filter-count { font-size: 13px; font-weight: 500; opacity: 0.7; }
.rw-filter-status { margin: 12px 0 0; min-height: 1.5em; font-size: 15px; color: var(--muted); }
.rw-card[hidden], .rw-photo[hidden] { display: none !important; }
@media (max-width: 767px) {
  .rw-filter { gap: 8px; margin-top: 22px; }
  .rw-filter-btn { font-size: 14px; padding: 10px 18px 10px 14px; }
}
