/* ==========================================================================
   Buckingham Gate Orthodontics — site stylesheet
   One file, every page. Built from the Claude Design export (design system
   tokens + page layout) on top of the XD Build Kit components.

   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 {
  /* ---- Design system palette (from the BGO design system) ---- */
  /* Violet — primary brand */
  --bgo-violet-50: #EFEFFE;
  --bgo-violet-100: #DDDCFE;
  --bgo-violet-200: #B9B7FD;
  --bgo-violet-300: #9591FC;
  --bgo-violet-400: #7B78FB;
  --bgo-violet-500: #6461FA;   /* core brand violet — panels, promo blocks, headings on white */
  --bgo-violet-600: #544FE8;
  --bgo-violet-700: #4540C6;
  --bgo-violet-800: #3A3699;
  --bgo-violet-900: #2A2770;

  /* Cyan — action / secondary brand */
  --bgo-cyan-50: #E7F8FE;
  --bgo-cyan-100: #C6EFFD;
  --bgo-cyan-200: #8FDFFB;
  --bgo-cyan-300: #5BCFF9;
  --bgo-cyan-400: #33BCF8;
  --bgo-cyan-500: #29C8F8;
  --bgo-cyan-600: #1FA6DA;
  --bgo-cyan-700: #1888B4;

  /* Sky — calm section ground */
  --bgo-sky-300: #6ACBF2;
  --bgo-sky-400: #5BC0EA;
  --bgo-sky-500: #4FB4DC;

  /* Neutrals */
  --bgo-ink: #111318;          /* headings, body copy on light */
  --bgo-ink-2: #3A3D45;
  --bgo-ink-3: #6B6F79;
  --bgo-line: #E3E5EA;
  --bgo-paper: #FFFFFF;
  --bgo-paper-2: #F8F8F8;      /* faint band between white sections */

  /* Semantic accents */
  --bgo-green: #30C090;        /* WhatsApp / confirmation pill */
  --bgo-green-hover: #26A87C;
  --bgo-green-deep: #0E9B78;   /* "No credit check" / "0% interest" price badges */
  --bgo-green-bright: #00D0A0;
  --bgo-messenger: #3B9CF6;
  --bgo-messenger-hover: #2A85DC;
  --bgo-star: #F5B324;         /* review stars */
  --bgo-alert: #E5484D;
  --bgo-error: #D1495B;        /* form validation on light */
  --bgo-error-on-dark: #FFE1E5;

  /* The design paints its primary "Book" buttons in this violet. It isn't in
     the design-system token set, so it's named here (README §6). */
  --bgo-book: #785AE6;

  /* Gradients */
  --bgo-gradient-hero: linear-gradient(100deg, #33BCF8 0%, #4C9AF1 42%, #6461FA 100%);
  --bgo-gradient-hero-reverse: linear-gradient(260deg, #33BCF8 0%, #4C9AF1 42%, #6461FA 100%);
  --bgo-gradient-violet: linear-gradient(105deg, #6461FA 0%, #9070F8 100%);
  --bgo-gradient-sky: linear-gradient(180deg, #6ACBF2 0%, #4FB4DC 100%);

  /* ---- Semantic roles ---- */
  --text-primary: var(--bgo-ink);
  --text-secondary: var(--bgo-ink-2);
  --text-muted: var(--bgo-ink-3);
  --text-on-brand: var(--bgo-paper);
  --text-accent: var(--bgo-violet-500);
  --text-link: var(--bgo-violet-500);
  --text-link-hover: var(--bgo-violet-700);

  --surface-page: var(--bgo-paper);
  --surface-alt: var(--bgo-paper-2);
  --surface-card: var(--bgo-paper);
  --surface-panel: var(--bgo-violet-500);
  --surface-band-sky: var(--bgo-gradient-sky);
  --surface-band-hero: var(--bgo-gradient-hero);
  --surface-band-violet: var(--bgo-gradient-violet);

  /* Page-level override in the design: default book fill is deep cyan. */
  --action-book-bg: var(--bgo-cyan-700);
  --action-book-fg: var(--bgo-paper);
  --action-book-bg-hover: var(--bgo-cyan-600);
  --action-secondary-fg: var(--bgo-violet-500);
  --action-secondary-border: var(--bgo-violet-500);
  --action-tertiary-bg: var(--bgo-violet-500);
  --action-tertiary-fg: var(--bgo-paper);
  --action-whatsapp-bg: var(--bgo-green);
  --action-messenger-bg: var(--bgo-messenger);

  --border-hairline: 1px solid var(--bgo-line);

  /* ---- XD Build Kit token names (kit components read these) ---- */
  --ink: #111318;
  --paper: #FFFFFF;
  --key-yellow: #785AE6;       /* the kit's brand-accent slot = the design's Book violet */
  --white: #FFFFFF;
  --muted: #6B6F79;
  --body-text: #3A3D45;
  --dark-muted: rgba(255, 255, 255, 0.85);
  --placeholder-bg: #F8F8F8;
  --hairline: #E3E5EA;
  --tab-bg: #F8F8F8;
  --tab-bg-hover: #E3E5EA;
  --dark-border-alt: rgba(255, 255, 255, 0.28);
  --dark-border-alt-2: #3A3D45;
  --tint-b: #6B6F79;
  --pagination-hover: #9591FC;
  --decor-line-soft: #E3E5EA;

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

  /* Lightbox dimmer — derived from --ink */
  --scrim: rgba(17, 19, 24, 0.78);

  /* ---- Type ---- */
  --font-ui: "Lato", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, sans-serif;
  /* Canaro isn't supplied (licensed face) — see css/fonts.css. */
  --font-display: "Canaro", "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --text-hero: clamp(34px, 4.2vw, 58px);
  --text-h1: clamp(30px, 3.4vw, 46px);
  --text-h2: clamp(26px, 2.6vw, 38px);
  --text-h3: clamp(21px, 1.7vw, 26px);
  --text-h4: 19px;
  --text-eyebrow: 14px;
  --text-lead: 20px;
  --text-body: 17px;
  --text-sm: 15px;
  --text-xs: 13px;
  --text-fine: 12px;

  --lh-display: 1.14;
  --lh-heading: 1.22;
  --lh-body: 1.75;
  --lh-tight: 1.4;
  --ls-display: -0.01em;
  --ls-eyebrow: 0.14em;
  --ls-button: 0.06em;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* ---- Space + layout ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --container: 1140px;
  --container-wide: 1320px;
  --gutter: 24px;
  --section-y: var(--space-20);
  --section-y-tight: var(--space-12);
  --grid-gap: 28px;

  /* ---- Shape ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-panel: 10px;
  --radius-card: 14px;
  --radius-media: 8px;
  --radius-pill: 999px;
  --rule-width: 120px;
  --arc-stroke: 2px;

  --shadow-card: 0 2px 10px rgba(17, 19, 24, 0.06);
  --shadow-raised: 0 10px 30px rgba(17, 19, 24, 0.10);
  --shadow-float: 0 18px 48px rgba(42, 39, 112, 0.18);
  /* Cards inside a carousel. Tucked in at the sides (negative spread) so the
     carousel's clipping edge never slices through it — see .car-shadow-room. */
  --shadow-slide: 0 16px 22px -12px rgba(42, 39, 112, 0.30);
  --shadow-pill: 0 6px 18px rgba(24, 136, 180, 0.34);
  --shadow-pill-violet: 0 6px 18px rgba(100, 97, 250, 0.30);
  --shadow-pill-book: 0 6px 18px rgba(120, 90, 230, 0.34);
  --shadow-pill-cyan: 0 6px 18px rgba(41, 200, 248, 0.32);
  --focus-ring: 0 0 0 3px rgba(100, 97, 250, 0.45);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --hover-lift: -2px;
  --press-scale: .97;

  /* Built-page dots in the header (README §1.2). Every nav link to a page
     that exists in the repo carries data-built (added by `npm run build`).
     Turn every dot off at once by setting --built-dot to `none`. */
  --built-dot: inline-block;
  --built-dot-colour: var(--bgo-green-bright);

  /* Added-copy highlight — a colour used nowhere else (01 §16) */
  --copy-added-bg: transparent; /* was rgba(255, 92, 92, 0.3); highlight turned off 2026-11-13 */
  /* "To be confirmed" flag on figures awaiting sign-off (landing pages).
     Set both to transparent / none to hide every flag at once. */
  --tbc-line: #FFC23D;
  --tbc-label: "To be confirmed";

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

  /* ---- Translucent tints (generated from the design; one name per value) ---- */
  --cyan-a00: rgba(41, 200, 248, 0);
  --cyan-a14: rgba(41, 200, 248, 0.14);
  --cyan-a24: rgba(41, 200, 248, 0.24);
  --ink-a00: rgba(17, 19, 24, 0);
  --ink-a28: rgba(17, 19, 24, 0.28);
  --ink-a28-k: rgba(23, 23, 26, 0.28);
  --ink-a34: rgba(17, 19, 24, 0.34);
  --ink-a35: rgba(17, 19, 24, 0.35);
  --ink-a45: rgba(23, 23, 26, 0.45);
  --ink-a50: rgba(23, 23, 26, 0.5);
  --ink-a55: rgba(23, 23, 26, 0.55);
  --ink-a60: rgba(23, 23, 26, 0.6);
  --ink-a66: rgba(17, 19, 24, 0.66);
  --ink-a82: rgba(17, 19, 24, 0.82);
  --ink-a92: rgba(17, 19, 24, 0.92);
  --navy-a24: rgba(42, 39, 112, 0.24);
  --navy-a28: rgba(42, 39, 112, 0.28);
  --navy-a30: rgba(42, 39, 112, 0.3);
  --navy-a90: rgba(42, 39, 112, 0.9);
  --sea-a86: rgba(24, 120, 180, 0.86);
  --violet-a00: rgba(100, 97, 250, 0);
  --violet-a11: rgba(100, 97, 250, 0.11);
  --violet-a13: rgba(100, 97, 250, 0.13);
  --violet-a16: rgba(100, 97, 250, 0.16);
  --violet-a20: rgba(100, 97, 250, 0.2);
  --white-a16: rgba(255, 255, 255, 0.16);
  --white-a18: rgba(255, 255, 255, 0.18);
  --white-a20: rgba(255, 255, 255, 0.2);
  --white-a24: rgba(255, 255, 255, 0.24);
  --white-a26: rgba(255, 255, 255, 0.26);
  --white-a28: rgba(255, 255, 255, 0.28);
  --white-a30: rgba(255, 255, 255, 0.3);
  --white-a34: rgba(255, 255, 255, 0.34);
  --white-a40: rgba(255, 255, 255, 0.4);
  --white-a42: rgba(255, 255, 255, 0.42);
  --white-a44: rgba(255, 255, 255, 0.44);
  --white-a48: rgba(255, 255, 255, 0.48);
  --white-a50: rgba(255, 255, 255, 0.5);
  --white-a60: rgba(255, 255, 255, 0.6);
  --white-a70: rgba(255, 255, 255, 0.7);
  --white-a72: rgba(255, 255, 255, 0.72);
  --white-a82: rgba(255, 255, 255, 0.82);
  --white-a85: rgba(255, 255, 255, 0.85);
  --white-a88: rgba(255, 255, 255, 0.88);
  --white-a90: rgba(255, 255, 255, 0.9);
  --white-a92: rgba(255, 255, 255, 0.92);
  --white-a94: rgba(255, 255, 255, 0.94);
}

.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; }


/* ==========================================================================
   Base + layout primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* #page wraps everything (kit 03); clipping here stops anything positioned
   off-screen — carousel slides, their QA pills — widening the page. */
#page { position: relative; overflow-x: clip; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section-y) 0; position: relative; }
.sec--flush-top { padding-top: 0; }
.alt { background: var(--surface-alt); }
.lav { background: var(--bgo-violet-50); }
.grad { background: var(--surface-band-hero); }
.deep { background: var(--bgo-violet-800); color: var(--bgo-paper); }
/* overflow: clip, not hidden — hidden makes the section a scroll container,
   which silently breaks position: sticky inside it (FAQ aside, journey photo). */
.clip { overflow: clip; }
.rel { position: relative; }

.stack { display: flex; flex-direction: column; gap: var(--space-6); }
.stack--center { align-items: center; }
.stack--start { align-items: flex-start; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.row > * { flex: 0 0 auto; }
.row--center { justify-content: center; }

.p { margin: 0; font-weight: var(--fw-light); line-height: var(--lh-body); color: var(--text-secondary); }
.p-light { margin: 0; font-weight: var(--fw-light); line-height: var(--lh-body); color: var(--white-a92); }
.p-lead { font-size: var(--text-lead); }
.p-ink { color: var(--bgo-ink); }
.fine { margin: 0; font-size: var(--text-fine); line-height: 1.6; color: var(--text-muted); }
.center { text-align: center; }
.mw-44 { max-width: 44ch; }
.mw-46 { max-width: 46ch; }
.mw-52 { max-width: 52ch; }
.mw-58 { max-width: 58ch; }
.mw-62 { max-width: 62ch; }
.mw-72 { max-width: 72ch; }
.mw-76 { max-width: 76ch; }
.mw-78 { max-width: 78ch; }
.mw-80 { max-width: 80ch; }
.mw-84 { max-width: 84ch; }

.h-disp {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-heading);
  margin: 0;
  color: var(--text-primary);
}
.h-disp--h2 { font-size: var(--text-h2); }
.h-disp--h3 { font-size: var(--text-h3); }
.h-disp--h4 { font-size: var(--text-h4); }
.h-disp--light { color: var(--bgo-paper); }
.p-light a, .link-light { color: var(--bgo-paper); font-weight: var(--fw-bold); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur-base) var(--ease-standard), text-underline-offset var(--dur-base) var(--ease-standard); }
.p-light a:hover, .link-light:hover { color: var(--bgo-paper); text-decoration-color: currentColor; text-underline-offset: 2px; }

/* The short 2px rule under a heading */
.rule { display: block; width: var(--rule-width); height: 2px; background: var(--bgo-ink); }
.rule--light { background: var(--bgo-paper); }
.rule--violet { background: var(--bgo-violet-500); }

/* Plain content pages (404, policies, thank-you) — the kit's starter
   `.section`, set in the design's type until each page is designed. */
.section { max-width: var(--container); margin: 0 auto; padding: var(--space-24) var(--gutter); }
.section h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-h1); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin: 0 0 var(--space-6); color: var(--text-primary); }
.section p { color: var(--text-secondary); }


/* ==========================================================================
   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.
   The movement is on the individual `translate` / `scale` properties, NOT
   `transform`, and that is load-bearing: a `transform: … !important` hover
   outranks a running animation, so a block that slid under a resting
   cursor mid-reveal lost its movement and snapped into place (kit 08 §8
   cause 8). `translate` composes with `transform` instead of fighting it.
   Don't move this back onto `transform`. */
@keyframes rvIn {
  from {
    opacity: 0;
    translate: var(--rv-x, 0px) var(--rv-y, var(--rv-dist));
    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 transform. */
.js [data-parallax]:not([data-parallax-mode="bg"]) { will-change: transform; }

/* A lazy photo still downloading when it comes on screen fades in when it
   lands instead of popping in (initImages, kit 08 §8 cause 4). */
.js img.img-fade { transition: opacity 520ms var(--rv-ease); }
.js img.img-pending { opacity: 0; }

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


/* ==========================================================================
   Design-system components, as plain CSS
     .btn        pill call-to-action (variants + sizes)
     .sh         section heading: title, 2px rule, optional sub
     .ghost      outline wordmark that sits in the eyebrow slot
     .arc        thin decorative circles
     .ico        icon image
     .stars      five-star mark
   ========================================================================== */

/* ---- Buttons ----
   .btn--book         deep-cyan fill (the design's default booking fill)
   .btn--book-violet  the design's primary "Book" violet
   .btn--book-cyan    bright cyan with ink text (on gradients)
   .btn--violet       brand violet, non-booking actions
   .btn--secondary    violet keyline; add .btn--light on dark grounds
   .btn--whatsapp / .btn--messenger
   Sizes: .btn--sm / (md is the default) / .btn--lg */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 13px;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--action-book-bg);
  color: var(--action-book-fg);
  box-shadow: var(--shadow-pill);
  transition: transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.btn:hover { transform: translateY(var(--hover-lift)); color: var(--action-book-fg); background: var(--action-book-bg-hover); }
.btn:active { transform: scale(var(--press-scale)); }
.btn > span { white-space: nowrap; }
.btn--sm { padding: 10px 22px; font-size: 12px; }
.btn--lg { padding: 18px 40px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-ext { font-size: 1.15em; line-height: 1; margin-left: 2px; }

.btn--book-violet { background: var(--bgo-book); color: var(--bgo-paper); box-shadow: var(--shadow-pill-book); }
.btn--book-violet:hover { background: var(--bgo-violet-700); color: var(--bgo-paper); }

.btn--book-cyan { background: var(--bgo-cyan-500); color: var(--bgo-ink); box-shadow: var(--shadow-pill-cyan); }
.btn--book-cyan:hover { background: var(--bgo-cyan-300); color: var(--bgo-ink); }

.btn--violet { background: var(--action-tertiary-bg); color: var(--action-tertiary-fg); box-shadow: var(--shadow-pill-violet); }
.btn--violet:hover { background: var(--bgo-violet-700); color: var(--action-tertiary-fg); }

.btn--secondary { background: transparent; color: var(--action-secondary-fg); border-color: var(--action-secondary-border); box-shadow: none; }
.btn--secondary:hover { background: var(--bgo-violet-50); color: var(--bgo-violet-700); border-color: var(--bgo-violet-700); }
.btn--secondary.btn--light { color: var(--bgo-paper); border-color: var(--white-a90); }
.btn--secondary.btn--light:hover { background: var(--white-a16); color: var(--bgo-paper); border-color: var(--bgo-paper); }

.btn--whatsapp { background: var(--action-whatsapp-bg); color: var(--bgo-paper); box-shadow: none; }
.btn--whatsapp:hover { background: var(--bgo-green-hover); color: var(--bgo-paper); }
.btn--messenger { background: var(--action-messenger-bg); color: var(--bgo-paper); box-shadow: none; }
.btn--messenger:hover { background: var(--bgo-messenger-hover); color: var(--bgo-paper); }

/* ---- Section heading ---- */
.sh { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); text-align: left; }
.sh--center { align-items: center; text-align: center; }
.sh-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
  text-wrap: pretty;
}
.sh-sub {
  margin: 0;
  max-width: 62ch;
  font-weight: var(--fw-light);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}
.sh--light .sh-title { color: var(--bgo-paper); }
.sh--light .rule { background: var(--bgo-paper); }
.sh--light .sh-sub { color: var(--white-a92); }
.sh-wrap { position: relative; }
.mw-800 { max-width: 800px; }
.mw-820 { max-width: 820px; }
.mw-860 { max-width: 860px; }
.mw-880 { max-width: 880px; }
.mw-900 { max-width: 900px; }

/* ---- Ghost wordmark ---- */
.gh-pad { position: relative; padding-top: 48px; }
.ghost {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(18px, 2.6vw, 32px);
  letter-spacing: .18em;
  white-space: nowrap;
  line-height: 1;
  color: transparent;
  pointer-events: none;
  background: var(--bgo-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .45;
}
.ghost--center { left: 50%; transform: translateX(-50%); }
.ghost--light {
  background: none;
  opacity: 1;
  -webkit-text-stroke: 1px var(--white-a34);
}

/* ---- Decorative arcs (size/position set per instance) ---- */
.arc {
  position: absolute;
  width: var(--size, 380px);
  height: var(--size, 380px);
  border-radius: 50%;
  border: var(--arc-stroke) solid var(--white-a42);
  pointer-events: none;
}
.arc--ink { border-color: var(--violet-a11); border-width: 5px; }
/* initArcs() re-places, parks and moves arcs (off per page with <body data-arc-motion="off">). */
.arc.is-parked { visibility: hidden; }
.arcs-live .arc:not(.is-parked) { will-change: transform; }

/* ---- Icons ---- */
.ico { display: block; flex: 0 0 auto; }
.ico--invert { filter: brightness(0) invert(1); }

/* ---- Stars + testimonial card ---- */
.stars { display: inline-flex; align-items: center; gap: var(--space-2); }
.stars-row { display: inline-flex; gap: 3px; color: var(--bgo-star); font-size: 14px; line-height: 1; }
.stars-name { font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--bgo-ink); }
.quote-card {
  margin: 0;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-float);
}
.quote-card blockquote {
  margin: 0;
  font-weight: var(--fw-light);
  font-size: var(--text-sm);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* ---- Breadcrumb ---- */
.crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--white-a82); }
.crumb span, .crumb a { white-space: nowrap; }
.crumb a { color: var(--white-a72); }
.crumb a:hover { color: var(--bgo-paper); }


/* ==========================================================================
   Site header — one component, identical on every page
     .site-header         white sticky bar
       .site-nav          Treatments + About us (hover/click dropdowns), Smile gallery
       .site-util         Find us, phone, Book now menu
       .nav-menu-toggle   "Menu" button, ≤1080px
     .drop                full-width dropdown panels
     .mobile-menu-panel   what "Menu" opens
   Dropdowns open on hover on desktop, and on click/keyboard everywhere.
   initNav() in js/site.js drives the open states.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  /* Above the QA pill overlay (2147483000); the floating contact buttons
     (2147483004, ≤1080px) sit above it, so they stay on top of the menu. */
  z-index: 2147483003;
  background: var(--bgo-paper);
  box-shadow: var(--shadow-card);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: 14px var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
}
.site-logo-link { display: block; flex: 0 0 auto; }
.site-logo { height: 46px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: var(--space-6); }
.nav-btn {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bgo-ink);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-standard);
}
.nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--bgo-violet-500); }
.nav-caret { font-size: .8em; transition: transform var(--dur-base) var(--ease-standard); }
[aria-expanded="true"] > .nav-caret { transform: rotate(180deg); }

.site-util {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding-left: var(--space-6);
  border-left: var(--border-hairline);
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bgo-violet-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background var(--dur-base) var(--ease-standard);
}
.icon-btn:hover { background: var(--bgo-violet-50); }
.hdr-tel { font-weight: var(--fw-bold); font-size: 16px; color: var(--bgo-ink); white-space: nowrap; }
.hdr-tel:hover { color: var(--bgo-violet-500); }

.book-wrap { position: relative; }
.book-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: var(--bgo-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  border: var(--border-hairline);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.book-wrap.is-open .book-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
.book-menu a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--bgo-ink);
}
.book-menu a:hover { background: var(--bgo-violet-50); color: var(--bgo-violet-500); }
.book-short { display: none; }

/* Dropdown panels */
.drop {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bgo-paper);
  border-top: var(--border-hairline);
  box-shadow: var(--shadow-raised);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.drop.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
.drop-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
  padding: var(--space-10) var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
}
.drop-one {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-8) var(--gutter);
}
/* Alphabetical lists read down each column, then across. */
.drop-one .drop-list { display: block; columns: 3; column-gap: var(--space-8); }
.drop-one--single .drop-list { columns: 1; }
.drop-one .drop-list li, .mm-list li { break-inside: avoid; padding-bottom: 2px; }
.drop-lab {
  font-weight: var(--fw-bold);
  font-size: var(--text-fine);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--bgo-violet-500);
  margin: 0 0 var(--space-4);
}
/* A group heading that is a page in its own right (Teeth straightening…). */
a.drop-head { display: block; width: fit-content; padding: 5px 10px; margin: -5px 0 calc(var(--space-4) - 5px) -10px; border-radius: var(--radius-xs); transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
a.drop-head:hover, a.drop-head[aria-current="page"] { background: var(--bgo-violet-50); color: var(--bgo-violet-700); }
.drop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.drop-list a {
  display: block;
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: var(--radius-xs);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.drop-list a:hover, .drop-list a[aria-current="page"] { background: var(--bgo-violet-50); color: var(--bgo-violet-500); }

/* Built-page dot — see --built-dot in :root. */
.site-header a[data-built]::after {
  content: '';
  display: var(--built-dot);
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
  top: -1px;
  background: var(--built-dot-colour);
  box-shadow: 0 0 0 2px var(--bgo-paper);
}

/* "Menu" toggle + panel (≤1080px): two parents, Treatments and About us,
   each a height-transition accordion. The floating contact buttons stay on
   top of it; the panel's bottom padding keeps its last links clear of them. */
:root { --header-h: 74px; }
.nav-menu-toggle { display: none; margin-left: auto; }
.mobile-menu-panel {
  /* An overlay under the header bar, the full height of what's left of the screen, so the page never moves. */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--bgo-paper);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  box-shadow: inset 0 1px 0 var(--bgo-line);
  transition: clip-path .38s var(--ease-out), visibility 0s linear .38s;
}
.mm-scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: var(--space-2) var(--gutter) var(--rail-clear);
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity .28s var(--ease-standard), transform .38s var(--ease-out);
}
/* Opens by sliding down from the header: the panel is revealed top-down while the links ease down into place. */
.mobile-menu-panel.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .38s var(--ease-out), visibility 0s; }
.mobile-menu-panel.is-open .mm-scroll { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mobile-menu-panel, .mm-scroll { transition: none; } }
.mm-sec { border-bottom: var(--border-hairline); }
.mm-toggle, .mm-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bgo-ink);
  transition: color var(--dur-base) var(--ease-standard);
}
.mm-toggle:hover, .mm-toggle[aria-expanded="true"], .mm-link:hover { color: var(--bgo-violet-500); }
.mm-link { text-decoration: none; }
.mm-arrow { font-size: 22px; line-height: 1; color: var(--bgo-violet-500); }
.mm-sign { position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); transition: background var(--dur-base) var(--ease-standard); }
.mm-sign::before, .mm-sign::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: var(--bgo-violet-500); transition: transform var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard); }
.mm-sign::after { transform: rotate(90deg); }
.mm-toggle[aria-expanded="true"] .mm-sign { background: var(--bgo-violet-500); }
.mm-toggle[aria-expanded="true"] .mm-sign::before, .mm-toggle[aria-expanded="true"] .mm-sign::after { background: var(--bgo-paper); }
.mm-toggle[aria-expanded="true"] .mm-sign::after { transform: rotate(0deg); }
/* Same height transition as the FAQ: grid rows, not `hidden`. */
.mm-body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 360ms var(--ease-out), visibility 0s linear 360ms; }
.mm-toggle[aria-expanded="true"] + .mm-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 360ms var(--ease-out), visibility 0s; }
.mm-inner { overflow: hidden; min-height: 0; }
.mm-inner::after { content: ''; display: block; height: var(--space-5); }
.mm-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-6); }
.mm-groups > div { padding-bottom: var(--space-5); }
.mm-list { display: block; columns: 3; column-gap: var(--space-6); }
.mm-tel { margin: var(--space-5) 0 0; font-size: var(--text-sm); color: var(--text-secondary); }
.mm-tel a { font-weight: var(--fw-bold); color: var(--bgo-ink); }
@media (prefers-reduced-motion: reduce) {
  .mm-body { transition: none !important; }
}

@media (max-width: 1240px) {
  .site-nav { gap: 14px; margin-left: var(--space-4); }
  .nav-btn { font-size: 12px; }
  .site-util { gap: 10px; padding-left: var(--space-4); }
  .hdr-tel { display: none; }
  .drop-cols { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
@media (max-width: 1080px) {
  .site-nav, .drop { display: none; }
  .site-util { border-left: 0; padding-left: 0; }
  .nav-menu-toggle { display: inline-flex; margin-left: 0; }
  .site-logo { height: 40px; }
  :root { --header-h: 68px; }
}
@media (max-width: 767px) {
  :root { --header-h: 58px; }
  .site-header-inner { gap: var(--space-3); padding: 12px 16px; }
  .site-logo { height: 34px; }
  .book-full { display: none; }
  .book-short { display: inline; }
  .mm-groups { grid-template-columns: 1fr 1fr; }
  .mm-list { columns: 2; }
}
@media (max-width: 520px) {
  .mm-groups { grid-template-columns: 1fr; }
  .mm-list { columns: 1; }
}
@media (max-width: 420px) {
  .site-logo { height: 28px; }
  .site-util .icon-btn { display: none; }
}

/* ==========================================================================
   Floating contact rail — tabs on the right on desktop; round buttons
   bottom-right from tablet down, phones included (they replace the kit's
   sticky bar). Visible from first paint, on every page except thank-you
   and lightboxes.
   ========================================================================== */
/* Room left at the foot of the footer and the menu panel so the round buttons
   never sit on top of the last line. */
:root { --rail-clear: var(--space-6); }
.rail { position: fixed; right: 0; top: 18%; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rail a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--bgo-paper);
  text-decoration: none;
  font-weight: var(--fw-bold);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 13px 14px;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow-raised);
  line-height: 1.3;
  transition: transform var(--dur-base) var(--ease-standard), padding var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.rail a:hover { transform: translateX(-8px); color: var(--bgo-paper); }
/* The tab's own colour carried on past the screen edge, so a hover pulls
   the tab out rather than lifting it off the side. */
.rail a::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(100% - 1px); width: 24px; background: inherit; pointer-events: none; }
.rail-whatsapp { background: var(--brand-whatsapp); }
.rail-whatsapp:hover { background: var(--brand-whatsapp-hover); }
.rail-messenger { background: var(--action-messenger-bg); }
.rail-messenger:hover { background: var(--bgo-messenger-hover); }
.rail-call { background: var(--bgo-violet-500); }
.rail-call:hover { background: var(--bgo-violet-700); }
.rail-book { background: var(--bgo-book); }
/* Book now sits over the violet-tinted sections on several pages, so it
   gets a firmer drop shadow beneath it than the other tabs (Marker BWD-3). */
.rail .rail-book { box-shadow: 0 6px 14px rgba(24, 20, 70, 0.38), 0 2px 4px rgba(24, 20, 70, 0.22); }
/* Call us is phones only — tablet and desktop have the number in view. */
.rail .rail-call { display: none; }
@media (max-width: 767px) { .rail .rail-call { display: flex; } }
.rail-book:hover { background: var(--bgo-violet-700); }
.rail .lab { margin-left: 9px; max-width: 200px; overflow: hidden; transition: max-width var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard), margin var(--dur-base) var(--ease-standard); }
.rail.mini .lab { max-width: 0; opacity: 0; margin-left: 0; }
.rail.mini a:hover .lab { max-width: 200px; opacity: 1; margin-left: 9px; }
@media (max-width: 1080px) {
  /* Round buttons bottom-right, above the open menu panel. */
  :root { --rail-clear: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .rail { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); flex-direction: row; gap: 8px; right: 16px; z-index: 2147483004; }
  .rail .lab { display: none; }
  .rail a { padding: 12px; border-radius: var(--radius-pill); }
  .rail a::after { display: none; }
  .rail a:hover { transform: translateY(-2px); }
}
.is-framed .rail { display: none; }

/* WhatsApp chooser (Asana, 2026-11-13): one menu, opened by every WhatsApp
   link (data-wa), styled as the Book now menu. js/site.js places it next to
   whichever link opened it: left of the side tab on desktop, above the round
   button on tablets and phones, below a link in the page or header. */
.wa-menu {
  position: fixed; left: 0; top: 0; z-index: 2147483005;
  min-width: 240px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bgo-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-raised); border: var(--border-hairline);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.wa-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
.wa-menu-lab { padding: 8px 14px 4px; font-weight: var(--fw-bold); font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-secondary); }
.wa-menu a {
  display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px;
  border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--bgo-ink);
}
.wa-menu a:hover, .wa-menu a:focus-visible { background: var(--bgo-violet-50); color: var(--bgo-violet-500); }


/* ==========================================================================
   Page sections (shared by every page that uses them)
   ========================================================================== */

/* ---- Homepage hero ---- */
.hero { position: relative; overflow: hidden; background: var(--surface-band-hero); color: var(--bgo-paper); }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--space-10); align-items: end; padding-top: 76px; min-height: 640px; }
.hero-copy { padding-bottom: 96px; position: relative; z-index: 3; max-width: 620px; gap: var(--space-8); }
.hero-h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-hero); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin: 0; color: var(--bgo-paper); text-wrap: pretty; }
.hero-vis { position: relative; min-height: 600px; align-self: end; }
.hero-cut { position: absolute; right: -52px; bottom: -24px; width: 108%; max-width: none; height: auto; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 30px 60px var(--navy-a28)); }
.blob { position: absolute; background: var(--bgo-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: 14px 20px; display: flex; align-items: center; gap: 12px; max-width: 270px; z-index: 4; }
.blob span { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 15px; line-height: 1.3; color: var(--bgo-ink); }
.blob-chip { width: 38px; height: 38px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.b1 { top: -14px; left: -96px; }
.b2 { top: 39%; left: 17px; border-radius: var(--radius-pill); }
.b3 { top: 62%; left: -43px; border-radius: var(--radius-pill); max-width: none; white-space: nowrap; }
.b4 { bottom: 44px; right: 6px; }

/* ---- Section head with a CTA on the right ---- */
.head-row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-10); align-items: end; }

/* ---- Carousel rails (Swiper) ----
   Arrows either side of the viewport; dots below (initSwiperCarousel). When
   every slide already fits, Swiper locks: arrows, dots and dragging all go.
   The viewport gets room around the slides for their shadow, taken back
   with a negative margin so the layout doesn't move — otherwise Swiper's
   overflow: hidden cuts the shadow off in a hard grey box.
   Story, team and gallery carousels clip at the page edge (capped at
   1920px), not at their own: the viewport is centred on the page, so an
   inset of half the difference reaches out to the page edges and the next
   slides show past the arrows. */
.story-rail, .gal-rail { position: relative; width: 100%; display: flex; align-items: center; gap: var(--space-5); }
.story-viewport, .gal-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.story-viewport, .rev-viewport, .gal-viewport { padding: 12px 12px 36px; margin: -12px -12px -36px; }
.story-viewport, .team-viewport, .gal-viewport { overflow: visible; clip-path: inset(-100vh calc((100% - min(100vw, 1920px)) / 2)); }
.story-viewport .swiper-slide { width: calc((100% - 2 * var(--space-5)) / 3); }
.gal-viewport .swiper-slide { width: calc((100% - var(--space-5)) / 2); }
.story-arrow, .car-arrow { position: relative; z-index: 5; flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--radius-pill); border: 0; background: var(--bgo-paper); color: var(--bgo-violet-500); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-raised); display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.story-arrow:hover, .car-arrow:hover { background: var(--bgo-violet-500); color: var(--bgo-paper); }
.story { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-slide); background: var(--surface-band-hero); aspect-ratio: 9 / 13; }
.story > img, .story .peer-video, .story .vid-hover-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story > img { transform: scale(1.34) translateY(-9%); }
.story-tag { position: absolute; left: var(--space-5); bottom: var(--space-5); z-index: 3; white-space: nowrap; background: var(--bgo-paper); color: var(--bgo-violet-500); font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-button); text-transform: uppercase; padding: 9px 15px; border-radius: var(--radius-pill); box-shadow: var(--shadow-card); pointer-events: none; }
.story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-a00) 55%, var(--ink-a35) 100%); pointer-events: none; z-index: 1; }
.story.is-playing::after, .story.is-playing .story-tag { opacity: 0; }
/* The kit's video card, dressed as the design's story play button */
.story.vid-card { aspect-ratio: 9 / 13; }
.story .vid-play-btn { top: 62%; z-index: 3; width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--white-a92); box-shadow: var(--shadow-raised); }
.story .vid-play-icon { border-left-color: var(--bgo-violet-500); border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }

/* ---- Treatments grid ---- */
/* Rows grow when a card's open copy needs more height to clear its chip
   (initTreatmentCards sets each card's min-height). */
.tr-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; grid-template-rows: repeat(2, minmax(300px, auto)); gap: var(--grid-gap); }
.tr-1 { grid-row: 1 / 3; }
.tr-4 { grid-column: 2 / 4; }
/* Even variant: a plain two-column grid for pages with many service cards. */
.tr-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(420px, auto); }
.tr-grid--even .tr-1, .tr-grid--even .tr-4 { grid-row: auto; grid-column: auto; }
/* Three-card variant: one tall card left, two wide cards stacked beside it. */
.tr-grid--three .tr-2, .tr-grid--three .tr-3 { grid-column: 2 / 4; }
/* Five-card variant: one tall card left, a 2 × 2 beside it. */
.tr-grid--five .tr-4 { grid-column: auto; }
.tr { position: relative; overflow: hidden; border-radius: var(--radius-card); display: block; color: var(--bgo-paper); background: var(--surface-band-hero); }
.tr:hover { color: var(--bgo-paper); }
.tr-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tr-tint { position: absolute; inset: 0; background: var(--surface-band-violet); opacity: .14; mix-blend-mode: multiply; }
.tr:hover .tr-img { transform: scale(1.03); }
.tr-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-a00) 8%, var(--ink-a34) 40%, var(--ink-a82) 78%); }
.tr-body { position: absolute; inset: auto 0 0 0; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.tr-title { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h3); line-height: var(--lh-heading); margin: 0; color: var(--bgo-paper); }
.tr-reveal { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-base) var(--ease-standard); }
.tr:hover .tr-reveal, .tr:focus-visible .tr-reveal, .tr-open .tr-reveal { max-height: 220px; opacity: 1; }
/* Treatment pages carry longer card copy than the homepage. */
.tr-grid--long .tr:hover .tr-reveal, .tr-grid--long .tr:focus-visible .tr-reveal, .tr-grid--long .tr-open .tr-reveal { max-height: var(--reveal-h, 520px); }
.tr-toggle { position: absolute; top: var(--space-5); right: var(--space-5); z-index: 4; width: 38px; height: 38px; border-radius: var(--radius-pill); background: var(--white-a18); border: 1.5px solid var(--white-a70); display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-standard); }
.tr-toggle::before, .tr-toggle::after { content: ''; position: absolute; background: var(--bgo-paper); border-radius: 1px; }
.tr-toggle::before { width: 15px; height: 2px; }
.tr-toggle::after { width: 2px; height: 15px; transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard); }
.tr:hover .tr-toggle, .tr-open .tr-toggle { background: var(--white-a30); }
.tr:hover .tr-toggle::after, .tr-open .tr-toggle::after { transform: scaleY(0); opacity: 0; }
.tr-reveal p { margin: 0 0 var(--space-5); font-size: var(--text-sm); line-height: 1.65; color: var(--white-a94); max-width: 46ch; }
/* Pricing line inside a card: starts its own paragraph, so it never reads as part of the copy above. */
.tr-reveal p br + strong { display: block; margin-top: var(--space-3); }
.tr-link { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-bold); font-size: 12px; letter-spacing: var(--ls-button); text-transform: uppercase; color: var(--bgo-paper); border-bottom: 2px solid var(--white-a85); padding-bottom: 4px; }
.tr-toggle { cursor: pointer; }
.tr-chip { position: absolute; top: var(--space-5); left: var(--space-5); width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--bgo-paper); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); z-index: 2; }

/* ---- Why us / ways to pay ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.why { background: var(--bgo-paper); border: var(--border-hairline); border-radius: var(--radius-card); padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); align-items: center; text-align: center; transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.why:hover { background: var(--bgo-cyan-500); border-color: var(--bgo-cyan-500); }
.why h3 { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h4); line-height: var(--lh-heading); margin: 0; color: var(--bgo-ink); }
.why p { margin: 0; font-size: var(--text-sm); line-height: 1.7; color: var(--text-secondary); }
.why:hover p { color: var(--bgo-ink); }
.why-chip { width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-standard); }
.why:hover .why-chip { background: var(--bgo-paper); }

/* ---- Reviews ---- */
.rev-title { max-width: 53%; position: relative; }
.rev-title h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; }
.rev-title .rule { margin-top: var(--space-6); }
.rev-shell { position: relative; width: 100%; padding-top: 34px; margin-top: calc(var(--space-6) * -1); }
.rev-box { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-band-sky); }
.rev-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; padding: var(--space-10) var(--space-10) var(--space-12); max-width: 56%; }
.rev-inner > .btn { white-space: nowrap; }
.rev-card { position: relative; width: 100%; max-width: 500px; }
.rev-viewport { overflow: hidden; }
.rev-viewport .swiper-slide { width: 100%; }
.rev-viewport .quote-card { height: 100%; box-shadow: var(--shadow-slide); }
.rev-cut { position: absolute; right: 0; bottom: 0; height: 132%; width: auto; max-width: 44%; object-fit: contain; object-position: bottom right; z-index: 3; pointer-events: none; filter: drop-shadow(0 24px 48px var(--navy-a24)); }
.rev-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--radius-pill); border: 0; background: var(--bgo-paper); color: var(--bgo-violet-500); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-raised); display: flex; align-items: center; justify-content: center; z-index: 4; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.rev-arrow:hover { background: var(--bgo-violet-500); color: var(--bgo-paper); }
.rev-prev { left: -24px; }
.rev-next { right: -24px; }
/* Swiper dots, restyled to the design: left-aligned, white on sky */
.rev-inner .swiper-pagination { justify-content: flex-start; margin-top: 0; }
.rev-inner .swiper-pagination-bullet { background: var(--white-a70); }
.rev-inner .swiper-pagination-bullet-active { background: var(--bgo-violet-500); }

/* ---- Same-day start ---- */
.sd-sec { position: relative; }
.sd-photo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 460px; overflow: hidden; }
/* Team page: the strip is taller so the faces sit clear of the card that overlaps its foot. */
.sd-sec#working-here .sd-photo { height: 620px; }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; display: block; }
/* Pins the row to the strip height so each photo's object-position takes effect.
   Only on pages that opt in, so existing crops elsewhere stay as they are. */
.sd-photo--fit { grid-template-rows: 100%; }
.sd-under { background: var(--surface-alt); padding-bottom: var(--section-y); }
.sd-card { position: relative; z-index: 2; margin: -150px auto var(--space-4); max-width: 820px; background: var(--bgo-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: var(--space-12); }

/* ---- About split ---- */
.ab { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: var(--radius-card); overflow: hidden; }
.ab-l { background: var(--bgo-violet-500); color: var(--bgo-paper); padding: var(--space-12) 200px var(--space-12) var(--space-12); position: relative; overflow: hidden; }
.ab-r { background: var(--bgo-paper); padding: var(--space-12) var(--space-12) var(--space-12) 150px; }
.ab-cut { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; z-index: 3; pointer-events: none; object-fit: contain; object-position: bottom center; }
.ab-cut-sm { height: 84%; max-width: 34%; }
@media (min-width: 1081px) {
  /* Cut-out against the right edge, filling an empty right column. */
  .ab-cut--right { left: auto; right: 4%; transform: none; height: 80%; }
  /* Portrait cut-out centred in the gap between the two columns (the left
     column reserves 200px, the right 150px, so the gap sits 25px left of centre). */
  .ab-cut--gap { max-width: 320px; transform: translateX(calc(-50% - 25px)); }
}

/* ---- Before and after gallery (Swiper: side by side on desktop, one at a
   time on phones). The range input is .swiper-no-swiping, so dragging a
   pair compares it; the arrows and dots change pair. ---- */
.deep .swiper-pagination-bullet { background: var(--white-a30); }
.deep .swiper-pagination-bullet:hover { background: var(--white-a70); }
.deep .swiper-pagination-bullet-active { background: var(--bgo-paper); }
.ba { --pos: 52%; position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 2.2 / 1; background: var(--bgo-ink); box-shadow: var(--shadow-slide); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--bgo-paper); transform: translateX(-1px); display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.ba-handle { width: 44px; height: 44px; flex: 0 0 auto; border-radius: var(--radius-pill); background: var(--bgo-paper); color: var(--bgo-violet-500); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-card); }
.ba-tag { position: absolute; bottom: var(--space-4); z-index: 2; background: var(--ink-a66); color: var(--bgo-paper); padding: 6px 14px; border-radius: var(--radius-pill); font-size: var(--text-fine); font-weight: var(--fw-bold); letter-spacing: var(--ls-button); text-transform: uppercase; line-height: 1.6; pointer-events: none; }
.ba-b { left: var(--space-4); }
.ba-a { right: var(--space-4); }
/* A native range input over the whole pair: drag, tap and keyboard for free. */
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-line .ba-handle { box-shadow: var(--focus-ring); }

/* ---- Journey tabs ---- */
.step-tabs { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-12); align-items: start; width: 100%; }
.tab-list { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-end; }
.tab { width: 92%; background: var(--white-a16); border: 1px solid var(--white-a34); border-radius: var(--radius-card); padding: 16px var(--space-6); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 10px; box-shadow: none; transition: background var(--dur-base) var(--ease-standard), width var(--dur-slow) var(--ease-out), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.tab:hover { background: var(--white-a26); }
.tab-head { display: flex; align-items: center; gap: 14px; }
.tab-n { width: 34px; height: 34px; border-radius: var(--radius-pill); background: var(--white-a24); color: var(--bgo-paper); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 15px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.tab-title { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h4); color: var(--bgo-paper); line-height: var(--lh-tight); transition: color var(--dur-base) var(--ease-standard); }
.tab-body { display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-base) var(--ease-standard); }
.tab-body p { margin: 0; font-size: var(--text-sm); line-height: 1.7; color: var(--text-secondary); }
.tab.on { width: 100%; background: var(--bgo-paper); border-color: var(--bgo-paper); box-shadow: var(--shadow-float); padding: 18px var(--space-6); }
.tab.on .tab-body { max-height: 240px; opacity: 1; }
.tab.on .tab-n { background: var(--bgo-violet-50); color: var(--bgo-violet-500); }
.tab.on .tab-title { color: var(--bgo-ink); }
/* Autoplay progress line along the open step's bottom edge (initJourney).
   It fills over --step-ms; when it finishes, the next step opens. Paused
   only while the open step itself is hovered or keyboard-focused, or the
   section is off screen — a pointer resting elsewhere over the list mustn't
   stop it. */
.step-tabs.is-auto .tab { position: relative; overflow: hidden; }
.tab-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bgo-violet-500); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.step-tabs.is-auto .tab.on .tab-progress { animation: stepFill var(--step-ms, 10s) linear forwards; }
.step-tabs.is-auto .tab.on:hover .tab-progress,
.step-tabs.is-auto .tab.on:focus-visible .tab-progress,
.step-tabs.is-auto.is-offscreen .tab.on .tab-progress,
.step-tabs.is-auto.is-waiting .tab.on .tab-progress { animation-play-state: paused; }
@keyframes stepFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.step-figure { position: sticky; top: 110px; margin: 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-alt); box-shadow: var(--shadow-float); }
.tab-pic { display: none; }
.step-figure.on-brand { background: var(--surface-band-sky); }
.step-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- NHS panel ---- */
.nhs { position: relative; overflow: hidden; border-radius: var(--radius-panel); background: var(--surface-panel); display: grid; grid-template-columns: 1.3fr .7fr; }
.nhs-copy { position: relative; z-index: 2; padding: var(--space-16) var(--space-12); display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-start; }
.nhs-copy h2 { max-width: 30ch; }
.nhs-fig { position: relative; margin: 0; min-height: 440px; background: var(--bgo-gradient-hero-reverse); }
.nhs-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }

/* ---- Pricing ---- */
.pricing { background: var(--bgo-violet-900); }
.pricing-bg { position: absolute; inset: 0; overflow: hidden; }
.pricing-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pricing-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--sea-a86), var(--navy-a90)); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); width: 100%; align-items: stretch; }
/* Each card carries its accent: .price--violet / --cyan / --deep */
.price { --accent: var(--bgo-violet-500); background: var(--bgo-paper); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-float); text-align: center; }
.price--cyan { --accent: var(--bgo-cyan-700); }
.price--deep { --accent: var(--bgo-violet-700); }
.price-head { background: var(--accent); padding: var(--space-6) var(--space-5) var(--space-5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 126px; }
.price-icon { width: 58px; height: 58px; border-radius: var(--radius-pill); background: var(--white-a20); border: 1px solid var(--white-a42); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.price-head h3 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 19px; line-height: 1.25; color: var(--bgo-paper); }
.price-figure { padding: var(--space-6) var(--space-5) var(--space-4); display: flex; flex-direction: column; gap: 2px; }
.price-amt { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 46px; line-height: 1; letter-spacing: var(--ls-display); color: var(--accent); }
.price-note { font-size: var(--text-fine); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--text-muted); }
.price-was { display: block; font-size: var(--text-xs); letter-spacing: 0; text-transform: none; font-weight: var(--fw-regular); color: var(--text-muted); }
.price-was s { color: var(--text-muted); }
.price-run { margin: 0 var(--space-5); padding: var(--space-4) var(--space-3); background: var(--bgo-violet-50); border-radius: var(--radius-sm); display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 92px; }
.price-run-amt { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 24px; line-height: 1.1; color: var(--bgo-ink); }
.price-run-note { font-size: var(--text-xs); line-height: 1.5; color: var(--text-secondary); }
.price-terms { align-self: center; margin-top: var(--space-4); font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-green-deep); border: 1.5px solid var(--bgo-green-deep); padding: 6px 14px; border-radius: var(--radius-pill); line-height: 1.6; }
.price-list { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0 var(--space-5); display: flex; flex-direction: column; gap: 10px; text-align: left; flex: 1 1 auto; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-xs); line-height: 1.55; color: var(--text-secondary); }
.price-tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); color: var(--bgo-violet-500); font-size: 11px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.price > .btn { margin: 0 var(--space-6) var(--space-6); align-self: center; min-width: 60%; padding: 13px 26px; font-size: 12px; background: var(--accent); color: var(--bgo-paper); box-shadow: var(--shadow-pill-violet); }
/* Buttons sit on one line across a row of cards, with room above them. */
.price > .btn { margin-top: auto; }
.price-run:has(+ .btn), .price-terms:has(+ .btn) { margin-bottom: var(--space-6); }
.price > .btn:hover { background: var(--accent); color: var(--bgo-paper); }

/* ---- Membership clubs ---- */
.club-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: stretch; }
.club { border-radius: var(--radius-card); padding: var(--space-10); display: flex; flex-direction: column; gap: var(--space-5); }
.club-chip { width: 76px; height: 76px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.club-a { background: var(--bgo-violet-50); }
.club-a .club-chip { background: var(--bgo-paper); }
.club-b { background: var(--surface-panel); color: var(--bgo-paper); position: relative; overflow: hidden; }
.club-b > :not(.arc) { position: relative; }
.club-b .club-chip { background: var(--bgo-paper); }

/* ---- Team (Swiper) ---- */
.team-rail { position: relative; width: 100%; display: flex; align-items: center; gap: var(--space-5); }
.team-viewport { flex: 1 1 auto; min-width: 0; padding-top: 52px; }
.team-viewport .swiper-slide { width: calc((100% - 3 * var(--space-5)) / 4); }
.team-card { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.team-tile { position: relative; display: block; border-radius: var(--radius-media); aspect-ratio: 4 / 5; overflow: visible; clip-path: inset(-36% 0 0 0 round var(--radius-media)); background: var(--tile, var(--bgo-violet-500)); }
.team-tile--violet { --tile: var(--bgo-violet-500); }
.team-tile--cyan { --tile: var(--bgo-cyan-500); }
.team-tile--sky { --tile: var(--bgo-sky-400); }
.team-tile--lilac { --tile: var(--bgo-violet-200); }
.team-tile img { position: absolute; left: 50%; bottom: 0; top: auto; height: 114%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; object-position: bottom center; z-index: 2; }
.team-card figcaption { display: flex; flex-direction: column; gap: 3px; }
.team-name { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 17px; color: var(--bgo-ink); line-height: 1.25; }
.team-role { font-weight: var(--fw-bold); font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-violet-500); }

/* ---- Find us ---- */
.find-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-16); align-items: start; }
.find-grid .sh-title { white-space: nowrap; }
.contact-block { display: flex; flex-direction: column; gap: var(--space-5); width: 100%; }
.contact-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-row address, .contact-row p { margin: 0; font-style: normal; font-weight: var(--fw-light); font-size: var(--text-sm); line-height: 1.7; color: var(--text-secondary); }
.contact-lab { display: block; font-weight: var(--fw-bold); font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-violet-500); margin-bottom: 3px; }
.contact-row a { font-weight: var(--fw-bold); font-size: var(--text-body); color: var(--bgo-ink); }
.contact-row a:hover { color: var(--bgo-violet-500); }
.contact-chip { flex: 0 0 auto; width: 42px; height: 42px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.hours th { text-align: left; font-weight: var(--fw-bold); padding: 9px 0; border-bottom: var(--border-hairline); white-space: nowrap; color: var(--bgo-ink); }
.hours td { text-align: right; padding: 9px 0; border-bottom: var(--border-hairline); color: var(--text-secondary); }
.find-grid .map-frame { height: 460px; min-height: 0; border-radius: var(--radius-media); overflow: hidden; background: var(--surface-alt); }
.find-grid .map-frame > img { transition: transform var(--dur-slow) var(--ease-out); }
.find-grid .map-frame:hover > img { transform: scale(1.02); }

/* ---- USP strip ---- */
.usp { position: relative; z-index: 4; overflow: hidden; background: var(--bgo-gradient-hero); }
.usp-grid { position: relative; display: grid; grid-template-columns: minmax(120px, .62fr) repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); padding: var(--space-12) var(--gutter); }
/* No logo cell (pages where no accreditation logo applies). */
.usp-grid--plain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp-logo { display: flex; align-items: center; justify-content: center; min-width: 0; }
.usp-logo img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.usp-item { display: flex; flex-direction: column; gap: var(--space-4); align-items: center; text-align: center; background: var(--bgo-paper); border: var(--border-hairline); border-radius: var(--radius-card); padding: var(--space-8) var(--space-5); box-shadow: var(--shadow-card); }
.usp-chip { flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; }
.usp-item p { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-body); line-height: 1.4; color: var(--bgo-ink); text-wrap: pretty; }

/* ---- Split: copy + tick list + figure ---- */
.get-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-16); align-items: center; }
/* Photo on the left. */
.get-grid--flip { grid-template-columns: .95fr 1.05fr; }
.get-grid .stack > .btn { align-self: flex-start; }
.tick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; font-size: var(--text-body); line-height: 1.6; color: var(--text-secondary); }
.tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--bgo-violet-500); color: var(--bgo-paper); font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.get-fig { margin: 0; position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-float); }
.get-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Invisalign hero ---- */
.ih { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(260px, .36fr) 1fr; gap: var(--space-10); align-items: stretch; background: var(--bgo-gradient-hero); color: var(--bgo-paper); padding: var(--space-12) 0 var(--space-12) var(--gutter); }
.ih-photo { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--surface-band-sky); box-shadow: var(--shadow-float); min-height: 440px; }
.ih-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.ih-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--space-5); padding: 0 var(--space-16) 0 var(--space-4); }
.ih-copy > :not(.arc) { position: relative; z-index: 2; flex: 0 0 auto; }
.ih-h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(34px, 4.4vw, 62px); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin: 0; color: var(--bgo-paper); max-width: 20ch; text-wrap: pretty; }
.ih-sub { margin: 0; font-weight: var(--fw-light); font-size: var(--text-lead); line-height: var(--lh-body); color: var(--white-a94); max-width: 54ch; }
.ih-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
/* Outline breadcrumb in the treatment hero: the stroke plus a 40% white fill, so the small text doesn't blur (on trial, Kaylie to approve). */
.ih .crumb { margin: 0; gap: 6px; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 12px; letter-spacing: .14em; color: var(--white-a40); -webkit-text-stroke: 1px var(--white-a48); }
.ih .crumb a, .ih .crumb span { color: var(--white-a40); -webkit-text-stroke: 1px var(--white-a48); }
.ih .crumb a:hover { color: var(--bgo-paper); -webkit-text-stroke-color: var(--bgo-paper); }

/* ---- Consultation hero ---- */
.ch-hero { position: relative; overflow: hidden; background: var(--surface-alt); padding-bottom: var(--section-y); --ch-card: var(--bgo-paper); --ch-notch: 24px; --ch-leg: 92px; --ch-gap: 18px; }
.ch-shell { position: relative; max-width: 1180px; margin: 0 auto; }
.ch-hero .arc--ink { border-color: var(--violet-a13); border-width: 11px; }
.ch-blob { position: absolute; border-radius: 50%; pointer-events: none; width: var(--size); height: var(--size); }
.ch-blob--cyan-glow { background: radial-gradient(circle at 30% 30%, var(--cyan-a24), var(--cyan-a00) 70%); }
.ch-blob--violet-glow { background: radial-gradient(circle at 40% 30%, var(--violet-a20), var(--violet-a00) 70%); }
.ch-blob--cyan { background: var(--cyan-a14); }
.ch-blob--violet { background: var(--violet-a16); }
.ch-band, .ch-hero > .wrap { position: relative; z-index: 2; }
.ch-band { height: clamp(320px, 38vw, 470px); overflow: hidden; }
.ch-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.ch-band::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 90px; background: linear-gradient(180deg, var(--ink-a28), var(--ink-a00)); pointer-events: none; }
.ch-card { position: relative; z-index: 3; background: var(--ch-card); border: 1px solid var(--bgo-violet-200); border-radius: var(--radius-card) var(--radius-card) 0 0; width: 100%; margin: calc(-1 * clamp(160px, 20vw, 248px) + var(--ch-nudge, 0px)) 0 0; padding: var(--space-10) var(--space-12) var(--space-8); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.ch-card::before, .ch-card::after { content: ''; position: absolute; top: 100%; width: var(--ch-leg); height: 92px; background: var(--ch-card); border: 1px solid var(--bgo-violet-200); border-top: 0; margin-top: -1px; }
.ch-card::before { left: -1px; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.ch-card::after { right: -1px; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.ch-h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(30px, 3.6vw, 50px); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin: 0; color: var(--bgo-ink); text-wrap: pretty; max-width: 26ch; }
.ch-cols { position: relative; z-index: 4; display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--grid-gap); align-items: stretch; width: calc(100% - (var(--ch-leg) + var(--ch-gap)) * 2); margin: var(--ch-gap) auto 0; }
.ch-cols::before, .ch-cols::after { content: ''; position: absolute; top: calc(var(--ch-gap) * -1); width: var(--ch-notch); height: var(--ch-notch); pointer-events: none; z-index: -1; }
.ch-cols::before { left: calc(var(--ch-gap) * -1); background: radial-gradient(circle var(--ch-notch) at bottom right, transparent 0 calc(var(--ch-notch) - 1px), var(--ch-card) var(--ch-notch)); }
.ch-cols::after { right: calc(var(--ch-gap) * -1); background: radial-gradient(circle var(--ch-notch) at bottom left, transparent 0 calc(var(--ch-notch) - 1px), var(--ch-card) var(--ch-notch)); }

/* Self-serve booking panel — the whole block is the CTA */
.bk-cta { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--bgo-gradient-hero-reverse); color: var(--bgo-paper); padding: var(--space-8); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--space-5); text-decoration: none; transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
.bk-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 44px var(--navy-a30); color: var(--bgo-paper); }
.bk-cta:hover .bk-cta-go { background: var(--bgo-paper); color: var(--bgo-violet-700); }
.bk-cta > :not(.arc) { position: relative; z-index: 2; }
.bk-cta h2 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: clamp(22px, 2.2vw, 28px); line-height: var(--lh-tight); color: var(--bgo-paper); max-width: 20ch; }
.bk-cta-head { display: flex; align-items: center; gap: var(--space-5); }
.bk-cta-chip { width: 66px; height: 66px; border-radius: var(--radius-pill); background: var(--white-a20); border: 1px solid var(--white-a44); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.bk-cta-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; background: var(--bgo-cyan-500); color: var(--bgo-ink); font-weight: var(--fw-bold); font-size: 13px; letter-spacing: var(--ls-button); text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius-pill); box-shadow: var(--shadow-pill-cyan); white-space: nowrap; line-height: 1; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }

/* Callback card (holds the Jotform form) */
.bk { position: relative; z-index: 3; background: var(--bgo-violet-500); border-radius: var(--radius-card); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.bk h2 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: clamp(22px, 2.2vw, 28px); line-height: var(--lh-tight); color: var(--bgo-paper); }
.bk-consent { margin: 0; font-size: var(--text-xs); line-height: 1.6; color: var(--white-a82); }
.bk-consent a { color: var(--bgo-paper); font-weight: var(--fw-bold); }
.bk-consent a:hover { color: var(--bgo-paper); text-decoration: underline; }
/* Jotform callback form: an iframe whose contents are styled by css/jotform.css.
   Jotform sizes its height; this only makes it fill the card. */
.jf-form iframe { display: block; width: 100% !important; min-width: 100% !important; border: 0 !important; background: transparent; }
.jf-form noscript p { margin: 0; color: var(--bgo-paper); }
.jf-form noscript a { color: var(--bgo-paper); font-weight: var(--fw-bold); }
/* Consent line under the Jotform button (see book/consultation/). */
.jf-consent { margin-top: calc(var(--space-1) * -1); font-size: var(--text-sm); font-weight: var(--fw-light); line-height: 1.7; }
.jf-consent a { text-decoration: none; }

/* ==========================================================================
   Responsive — the design's two breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero-copy { padding-bottom: var(--space-10); max-width: none; }
  .hero-vis { min-height: 0; padding-bottom: var(--space-10); }
  .hero-cut { position: static; width: 82%; margin: 0 auto; display: block; translate: 0 20%; }
  .blob { position: static; max-width: none; }
  .blob-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: calc(var(--space-6) * -1); }
  .b3 { white-space: normal; }
  .tr-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(370px, auto); }
  .tr-1 { grid-row: auto; }
  .tr-4 { grid-column: 1 / 3; }
  .tr-grid--five .tr-4 { grid-column: auto; }
  .tr-grid--five .tr-5 { grid-column: 1 / 3; }
  .tr-grid--three .tr-1 { grid-row: 1 / 3; grid-column: 1; }
  .tr-grid--three .tr-2, .tr-grid--three .tr-3 { grid-column: 2; }
  /* Treatment cards: two lines of copy, the + in the bottom-right corner
     opens the rest (initTreatmentCards); the rest of the card is the link. */
  .tr .tr-reveal, .tr:hover .tr-reveal, .tr-open .tr-reveal { max-height: none; opacity: 1; }
  /* Height eases between two lines and the full paragraph (initTreatmentCards
     sets the open max-height); the ellipsis only shows once it's settled shut. */
  .tr { transition: min-height var(--dur-slow) var(--ease-out); }
  .tr-reveal p { max-height: 3.3em; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
  .tr:not(.tr-expanded):not(.tr-moving) .tr-reveal p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .tr:focus-visible .tr-reveal p { max-height: none; display: block; }
  .tr-toggle { top: auto; bottom: var(--space-5); }
  .tr:hover .tr-toggle::after, .tr-open .tr-toggle::after { transform: none; opacity: 1; }
  .tr.tr-expanded .tr-toggle::after { transform: scaleY(0); opacity: 0; }
  .tr.tr-expanded .tr-toggle { background: var(--white-a30); }
  .tr-body { padding-right: calc(var(--space-5) + 50px); }
  .tr-last-sm { order: 1; }
  .blob { border-radius: var(--radius-card); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid, .find-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .head-row { grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
  .head-row > .btn { justify-self: start; }
  .rev-inner { max-width: none; padding: var(--space-10) var(--space-8); }
  .rev-title { max-width: none; }
  .rev-shell { padding-top: 0; margin-top: 0; }
  .rev-cut { display: none; }
  .rev-prev { left: -12px; }
  .rev-next { right: -12px; }
  .story-viewport .swiper-slide { width: 62%; }
  .story-rail { gap: var(--space-3); }
  .team-viewport .swiper-slide { width: 30%; }
  .step-tabs { grid-template-columns: 1fr; gap: var(--space-8); }
  .step-figure { position: static; aspect-ratio: 16 / 10; order: -1; }
  .tab-list { align-items: stretch; }
  .tab { width: 100%; }
  .nhs { grid-template-columns: 1fr; }
  .nhs-copy { padding: var(--space-10); }
  .nhs-fig { min-height: 320px; order: -1; }
  .ab { grid-template-columns: 1fr; }
  .ab-l, .ab-r { padding: var(--space-10); }
  .ab-cut { display: none; }
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp-logo { grid-column: 1 / -1; height: 88px; }
  .usp-logo img { width: auto; }
  .get-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .get-fig { aspect-ratio: 16 / 10; order: -1; }
  .get-fig img { object-position: center 8%; }
  .ih { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-10) var(--gutter); }
  .ih-photo { min-height: 0; height: clamp(300px, 52vw, 420px); }
  .ih-copy { padding: 0; }
  .ch-card { margin-top: calc(-1 * clamp(140px, 18vw, 200px) + var(--ch-nudge, 0px)); padding: var(--space-8); border-radius: var(--radius-card); }
  .ch-card::before, .ch-card::after, .ch-cols::before, .ch-cols::after { display: none; }
  .ch-cols { grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-6); width: 100%; }
  .ch-cols > .bk { order: 1; }
  .ch-cols > .bk-cta { order: 2; }
}
@media (max-width: 760px) {
  .sec { padding: var(--space-12) 0; }
  .gh-pad { padding-top: 34px; }
  .blob-wrap, .why-grid, .tr-grid, .price-grid, .club-grid, .usp-grid { grid-template-columns: 1fr; }
  .tr-grid { grid-auto-rows: minmax(300px, auto); }
  .tr-4 { grid-column: auto; }
  .tr-grid--five .tr-5 { grid-column: auto; }
  .tr-grid--three .tr-1 { grid-row: auto; }
  .tr-grid--three .tr-2, .tr-grid--three .tr-3 { grid-column: auto; }
  .usp-logo { grid-column: auto; height: 64px; }
  .story-viewport .swiper-slide { width: 84%; }
  .gal-viewport .swiper-slide { width: 100%; }
  .team-viewport .swiper-slide { width: 62%; }
  /* Arrows overlap the slides' edges on phones, like the reviews. */
  .story-arrow, .car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; font-size: 22px; }
  .story-prev, .gal-prev, .team-prev { left: -8px; }
  .story-next, .gal-next, .team-next { right: -8px; }
  /* Centred on the photo tile, not the whole card (the viewport's 52px of
     headroom above, the name and role below). */
  .team-rail .story-arrow { top: calc(52px + (100% - 52px) * 0.4); }
  .rev-inner { padding: var(--space-8) var(--space-5); }
  .rev-prev { left: -8px; }
  .rev-next { right: -8px; }
  .sd-card { padding: var(--space-8); margin-top: -90px; }
  .sd-photo, .sd-sec#working-here .sd-photo { height: 300px; grid-template-columns: 1fr; }
  .sd-photo img:nth-child(n+2) { display: none; }
  .find-grid .sh-title { white-space: normal; }
  .find-grid .map-frame { height: 360px; }
  .bk, .bk-cta { padding: var(--space-6); }
  .ch-band { height: 190px; }
  .ch-card { padding: var(--space-6); }
  .ba { aspect-ratio: 1.6 / 1; }

  /* Ghost wordmarks sit above the heading and wrap, rather than running
     off the screen. */
  .gh-pad { padding-top: 0; }
  .ghost { position: static; display: block; transform: none; white-space: normal; letter-spacing: .12em; line-height: 1.2; margin-bottom: var(--space-3); }
  .ghost--center { text-align: center; }
  .btn--lg { padding: 16px 26px; font-size: 13px; }

  /* Homepage hero: tighter copy so a CTA is in view on load, and the
     cut-out pulled up close under it. */
  .hero-in { padding-top: var(--space-8); }
  .hero-h1 { font-size: 31px; }
  .hero .p-lead { font-size: var(--text-body); line-height: 1.65; }
  .hero-copy { gap: var(--space-5); padding-bottom: 0; }
  .hero-vis { margin-top: -72px; } /* pulled up a further 40px so her face is in view on load (Asana, 2026-11-13) */

  /* NHS: the column mustn't grow to fit the button. */
  .nhs { grid-template-columns: minmax(0, 1fr); }
  .nhs-copy { padding: var(--space-8) var(--space-6); }

  /* Reviews: the cut-out stands at the foot of the box; dots centred. */
  .rev-inner { padding-bottom: calc(270px + var(--space-8)); }
  .rev-inner > .btn { align-self: center; }
  .rev-cut { display: block; height: 270px; max-width: 85%; right: 50%; transform: translateX(50%); object-position: bottom center; }
  .rev-inner .swiper-pagination { align-self: stretch; justify-content: center; }

  /* Our story / why it matters: the cut-out stands at the foot of the
     violet panel. */
  .ab-l { padding-bottom: var(--space-8); }
  .ab-cut, .ab-cut-sm { display: block; position: static; transform: none; width: 100%; height: 300px; max-width: none; background: var(--bgo-violet-500); object-fit: contain; object-position: bottom center; }
  .ab-cut:not(.ab-cut-sm) { object-fit: cover; object-position: 58% bottom; }

  /* Booking hero: the card overlaps less of the photo, runs wider, and its
     type steps down. */
  .ch-band { height: 260px; }
  .ch-band img { object-position: center 35%; }
  .ch-hero > .wrap { padding: 0 var(--space-4); }
  .ch-card { margin-top: calc(-64px + var(--ch-nudge, 0px)); padding: var(--space-6) var(--space-5); gap: var(--space-4); }
  .ch-h1 { font-size: 26px; }
  .ch-card .p-lead { font-size: var(--text-sm); line-height: 1.65; }

  /* Prices: the cards stack as you scroll, each one tucking in just below
     the last. */
  .price-grid > .price { position: sticky; top: calc(var(--header-h) + var(--space-3)); transform-origin: center top; }
  .js .price-grid > .price[data-reveal] { animation: none; }
  .price-grid > .price:nth-child(2) { top: calc(var(--header-h) + var(--space-3) + 14px); }
  .price-grid > .price:nth-child(3) { top: calc(var(--header-h) + var(--space-3) + 28px); }
  .price-grid > .price:nth-child(4) { top: calc(var(--header-h) + var(--space-3) + 42px); }

  /* Invisalign hero: breadcrumb above the photo. */
  .ih { gap: var(--space-5); }
  .ih-copy { display: contents; }
  .ih .crumb { order: -1; }
  .ih-photo { height: 230px; }
  .ih-h1 { font-size: 29px; }
  .ih-sub { font-size: var(--text-sm); line-height: 1.65; }
  .ih-cta .btn { padding: 15px 22px; }

  /* Journey: no separate photo — each step carries its own, at the top of
     the card, and shows it while open (initJourney adds .tab-pic). */
  .step-figure { display: none; }
  .step-tabs .tab { overflow: hidden; }
  .tab .tab-pic { display: block; margin: 0 calc(var(--space-6) * -1) -10px; max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out), margin var(--dur-slow) var(--ease-out); }
  /* A closed step's empty body mustn't add a gap under its title. */
  .tab:not(.on) .tab-body { margin-top: -10px; }
  .tab.on .tab-pic { max-height: 240px; margin: -18px calc(var(--space-6) * -1) 4px; }
  .tab-pic img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
  .tab-pic.on-brand { background: var(--surface-band-sky); }
}

/* ---- Tablet only (761–1080px) — overrides the single-column fallbacks
   above where the tablet has room for the desktop arrangement. ---- */
@media (min-width: 761px) and (max-width: 1080px) {
  /* Hero: cut-out sized to the screen height with the badges over it, as
     on desktop, so they're in view on first load. */
  .hero-vis { display: flex; justify-content: center; padding-bottom: 0; }
  .hero-cut { width: auto; height: clamp(340px, 46vh, 520px); margin: 0; translate: 0 20%; }
  .blob-wrap { position: absolute; inset: 0; display: block; margin: 0; }
  .blob { position: absolute; max-width: 250px; }
  .b1 { top: 6%; left: 0; }
  .b2 { top: 6%; left: auto; right: 0; }
  .b3 { top: 34%; left: 3%; }
  .b4 { top: 34%; bottom: auto; right: 3%; }
  /* Treatments: all four cards in the 2 × 2 grid. */
  .tr-4 { grid-column: auto; }
  /* Reviews: the cut-out stays, the card fills the rest of the box. */
  .rev-shell { padding-top: 34px; }
  .rev-inner { max-width: 62%; }
  .rev-card { max-width: none; }
  .rev-cut { display: block; height: 108%; max-width: 38%; }
  /* Our story / why it matters: copy on the left half, cut-out filling the
     right half of the violet panel (contain: size stops the image setting
     the row height). */
  .ab { grid-template-columns: 1fr 1fr; }
  .ab-l { grid-column: 1 / -1; grid-row: 1; padding-right: calc(50% + var(--space-4)); }
  .ab-cut, .ab-cut-sm { display: block; position: relative; left: auto; transform: none; grid-column: 2; grid-row: 1; align-self: stretch; width: 100%; height: 100%; max-width: none; min-height: 0; contain: size; object-fit: contain; object-position: bottom center; }
  .ab-r { grid-column: 1 / -1; }
  /* Our story's cut-out is a wide frame with her in the middle: crop the
     empty sides so she fills the half-panel's full height. */
  .ab-cut:not(.ab-cut-sm) { object-fit: cover; object-position: 58% bottom; }
  /* Prices: three across, as on desktop, with the cards tightened to fit. */
  .price-grid { gap: var(--space-4); }
  .price-head { padding: var(--space-5) var(--space-3) var(--space-4); min-height: 112px; }
  .price-head h3 { font-size: 17px; }
  .price-amt { font-size: 38px; }
  .price-figure { padding: var(--space-5) var(--space-3) var(--space-3); }
  .price-run { margin: 0 var(--space-3); padding: var(--space-3) var(--space-2); min-height: 84px; }
  .price-run-amt { font-size: 21px; }
  .price-list { padding: 0 var(--space-4); }
  .price > .btn { margin: auto var(--space-4) var(--space-5); min-width: 0; align-self: stretch; }
  /* Journey: photo sticky on the left, steps on the right, so the page
     doesn't jump as the steps open and close. */
  .step-tabs { grid-template-columns: .9fr 1.1fr; gap: var(--space-8); }
  .step-figure { position: sticky; top: calc(var(--header-h) + var(--space-6)); aspect-ratio: 4 / 5; }
  /* NHS: copy left, photo right, as on desktop. */
  .nhs { grid-template-columns: 1.3fr .7fr; }
  .nhs-fig { order: 0; min-height: 0; }
  /* Treatment hero on tablets (site-wide): photo beside the copy, as on desktop. A portrait photo in a wide, short, stacked frame showed only a forehead; in its own tall column the whole face and shoulders show. */
  .ih { grid-template-columns: minmax(290px, .46fr) 1fr; gap: var(--space-8); padding: var(--space-12) 0 var(--space-12) var(--gutter); }
  .ih-photo { height: auto; min-height: 480px; }
  .ih-copy { padding: 0 var(--gutter) 0 var(--space-2); }
}


/* ==========================================================================
   FAQ — two-column band, sticky aside, height-transition accordion
   Kit mechanics (11), dressed in the design: hairline rows, display-face
   questions, a violet chip that fills when its answer is open.
   ========================================================================== */
.faq-grid {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: var(--space-16);
  align-items: start;           /* or sticky has no room to travel */
}
@media (min-width: 1081px) {
  .faq-aside { position: sticky; top: 120px; }
}
.faq-aside { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-8); }
.faq-item { border-bottom: var(--border-hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-h4);
  line-height: var(--lh-heading);
  color: var(--text-primary);
  transition: color var(--dur-base) var(--ease-standard);
}
.faq-item.is-open .faq-q { color: var(--bgo-violet-500); }
.faq-sign {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--bgo-violet-50);
  color: var(--bgo-violet-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.faq-item.is-open .faq-sign { background: var(--bgo-violet-500); color: var(--bgo-paper); }

/* 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; }
/* The answer's bottom space is a pseudo-element, not padding: padding can't
   collapse inside the 0fr row, so a closed answer would leak 24px. */
.faq-a::after { content: ""; display: block; height: var(--space-6); }
.faq-a {
  margin: 0;
  padding: 0;
  max-width: 72ch;
  font-weight: var(--fw-light);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}
@media (max-width: 1080px) {
  .faq-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-a-wrap { transition: none !important; }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.ft { background: var(--bgo-gradient-hero-reverse); color: var(--bgo-paper); }
.ft-in { padding-top: var(--section-y); }
.ft-cta { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; padding-bottom: var(--section-y-tight); border-bottom: 1px solid var(--white-a28); }
.ft-cta h2 { font-size: var(--text-h2); color: var(--bgo-paper); max-width: 22ch; }
.ft-call { padding: var(--space-6) 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.1fr 1.5fr .9fr; gap: var(--space-12); padding: var(--section-y-tight) 0; }
.ft-logo { width: 100%; max-width: 210px; height: auto; margin-bottom: var(--space-6); display: block; }
.ft h3 { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--space-5); color: var(--bgo-paper); }
.ft address { font-style: normal; font-size: var(--text-sm); }
.ft-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--space-6); align-items: start; }
.ft-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px var(--space-6); }
.ft a { color: var(--white-a90); font-size: var(--text-sm); }
.ft a:hover { color: var(--bgo-paper); text-decoration: underline; }
.ft a.link-light { color: var(--bgo-paper); font-weight: var(--fw-bold); font-size: inherit; }
.ft-policies { list-style: none; margin: 0; padding: 0 0 var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.ft-policies a { font-size: var(--text-xs); color: var(--white-a88); white-space: nowrap; }
/* Landscape phones and smaller: the policy links sit in two columns, lined up with the link lists above. */
@media (max-width: 900px) { .ft-policies { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-6); } }
.ft-base { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; padding: var(--space-6) 0 var(--space-10); border-top: 1px solid var(--white-a28); font-size: var(--text-xs); color: var(--white-a85); }
.ft-base a { font-size: inherit; }
@media (max-width: 1080px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  /* Clear of the floating contact buttons (--rail-clear). */
  .ft-base { padding-bottom: var(--rail-clear); }
}
@media (max-width: 760px) {
  .ft-grid { grid-template-columns: 1fr; }
}

/* No booking prompts on thank-you pages (kit 01 §3.2) */
body[data-page^="thank-you"] .rail { display: none; }


/* ==========================================================================
   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,
.swiper-pagination-lock { display: none !important; }


/* ==========================================================================
   Video cards (09) — data-src, hydrated on first interaction
   ========================================================================== */
.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: var(--white-a94);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 14px 34px var(--ink-a28-k); 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 var(--ink-a55);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.map-btn:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px var(--ink-a60);
}
.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; }
}


/* ==========================================================================
   Privacy-policy lightbox overlay — `.pp-lightbox` (built by initPolicyLightbox)
   ========================================================================== */
.pp-lightbox {
  position: fixed;
  inset: 0;
  /* Above the header (2147483003) and the contact rail (2147483004), which
     would otherwise cover the close button. */
  z-index: 2147483005;
  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 var(--ink-a60);
}
.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; }

/* ---- Not-final markers ----
   Flags content that still has to be checked with the client (before/after
   pairs, unverified videos). Every .qa-flag comes out before go-live
   (README §5). */
.qa-flag { display: inline-block; margin: 0; padding: 5px 12px; border-radius: var(--radius-pill); background: linear-gradient(var(--copy-added-bg), var(--copy-added-bg)), var(--bgo-paper); font-weight: var(--fw-bold); font-size: 12px; letter-spacing: .04em; line-height: 1.4; color: var(--bgo-ink); }
.ba .qa-flag { position: absolute; top: var(--space-3); left: 50%; transform: translateX(-50%); z-index: 6; white-space: nowrap; pointer-events: none; }


/* ===================================================================   Added with the patient reviews, membership, find us, fees, FAQs and
   contact pages. Everything below is built from the existing tokens and
   sits beside existing components: a review grid, fee tables, an embedded
   map, grouped FAQs and an info card for the contact page.
   ========================================================================== */

/* Reviews: the same quote card, laid out as a grid. The last row centres,
   whatever the count, so adding a review never leaves a ragged edge. */
.rev-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); width: 100%; }
.rev-grid > .quote-card { flex: 0 1 calc((100% - 2 * var(--grid-gap)) / 3); box-shadow: var(--shadow-slide); }
.rev-grid > [hidden] { display: none; }
.stars-tag { font-weight: var(--fw-bold); font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-violet-500); background: var(--bgo-violet-50); border-radius: var(--radius-pill); padding: 4px 10px; }
.quote-card .stars { flex-wrap: wrap; justify-content: center; }
.quote-card blockquote { flex: 1 1 auto; }

/* Fee tables: real tables (a price in an image is invisible to search and
   to assistants), on the same white card the price cards use. */
.fee-card { position: relative; width: 100%; background: var(--bgo-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); }
.fee-card-head { display: flex; align-items: center; gap: var(--space-4); }
.fee-card-head h3 { margin: 0; }
.fee-card-chip { flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--bgo-violet-50); display: flex; align-items: center; justify-content: center; }
.fee-card > p { margin: 0; font-size: var(--text-sm); line-height: 1.65; color: var(--text-secondary); }
.fee-card > p a, .fee-note a { font-weight: var(--fw-bold); }
.fee-note { margin: 0; font-size: var(--text-sm); line-height: 1.65; color: var(--text-secondary); }
.fee-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.fee-table th, .fee-table td { padding: 13px 10px; text-align: left; vertical-align: top; border-bottom: var(--border-hairline); line-height: 1.5; }
.fee-table thead th { font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-violet-500); padding-top: 0; }
.fee-table tbody th { font-weight: var(--fw-semibold); color: var(--bgo-ink); }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table .fee-amt { text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--bgo-violet-500); }
.fee-table thead .fee-amt { font-family: var(--font-body); }
.fee-table .fee-club { color: var(--bgo-green-deep); }
.fee-sub { display: block; margin-top: 3px; font-weight: var(--fw-light); font-size: var(--text-xs); line-height: 1.55; color: var(--text-secondary); }
.fee-table--facts th { width: 34%; font-size: var(--text-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-violet-500); }
.fee-table--facts td { color: var(--bgo-ink); }
.fee-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--grid-gap); align-items: start; width: 100%; }
.fee-wrap { width: 100%; max-width: 980px; }
.price-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
/* Four tiers (Invisalign): four across on desktop, two by two on tablet. */
.price-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-grid--four .price-head h3 { font-size: 17px; }
@media (min-width: 761px) and (max-width: 1080px) { .price-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tick-list--light li { color: var(--white-a94); }
.get-grid .stack > .row { align-self: flex-start; }
.fee-group { display: flex; flex-direction: column; gap: var(--space-8); }
.fee-h { margin: 0; }
.nhs-copy h3 { margin: 0; }

/* Embedded map: a live Google map in the same frame as the static one. */
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.find-grid .map-frame { position: relative; }

/* FAQs: category headings between the accordion groups. */
.faq-cat { margin: var(--space-12) 0 var(--space-2); color: var(--bgo-violet-500); }
.faq-cat:first-child { margin-top: 0; }

/* Contact: the violet lead card, carrying contact details instead of a form. */
.bk--info { gap: var(--space-6); }
.bk--info .contact-row address, .bk--info .contact-row p { color: var(--white-a94); }
.bk--info .contact-lab { color: var(--white-a82); }
.bk--info .contact-row a { color: var(--bgo-paper); }
.bk--info .contact-row a:hover { color: var(--bgo-cyan-500); }
.bk--info .contact-chip { background: var(--white-a20); }
.bk--info .contact-chip .ico { filter: brightness(0) invert(1); }
.bk--info .hours th { color: var(--bgo-paper); border-bottom-color: var(--white-a34); }
.bk--info .hours td { color: var(--white-a94); border-bottom-color: var(--white-a34); }
.bk--info h3 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h4); color: var(--bgo-paper); }
.bk-pending { margin: 0; padding: var(--space-5); border: 1px dashed var(--white-a60); border-radius: var(--radius-sm); font-size: var(--text-sm); line-height: 1.6; color: var(--bgo-paper); }

/* Breadcrumb on the light booking-style hero card. */
.ch-card .crumb a { color: var(--bgo-violet-500); }
.ch-card .crumb a:hover { color: var(--bgo-violet-700); }
.ch-card .crumb span { color: var(--text-secondary); }
.hero-copy .crumb { margin-bottom: var(--space-2); }

@media (min-width: 1081px) {
  .why-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .rev-grid > .quote-card { flex-basis: calc((100% - var(--grid-gap)) / 2); }
  .fee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .rev-grid > .quote-card { flex-basis: 100%; }
  .price-grid--two, .price-grid--four, .why-grid--two { grid-template-columns: 1fr; }
  .fee-card { padding: var(--space-6) var(--space-4); }
  .fee-table th, .fee-table td { padding: 11px 6px; }
  .fee-table--facts th { width: 40%; }
}
.btn[hidden] { display: none; }

/* ---- Second pass: aligned fee columns, stacked fee rows on phones, video
   grid with treatment filters, FAQ tabs, map buttons, fact boxes. ---- */
.fee-table { table-layout: fixed; }
.fee-table th:first-child { width: 52%; }
.fee-table .fee-amt, .fee-table thead .fee-amt { text-align: left; }
.fee-table--feature td { font-size: 30px; line-height: 1.1; }
.fee-table--feature th { font-size: var(--text-h4); }
.fee-table--feature thead { display: none; }

.vid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); width: 100%; }
.vid-grid > [hidden] { display: none; }
.filter-bar, .faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.filter-chip, .faq-tab { appearance: none; cursor: pointer; border: 1px solid var(--bgo-violet-200); background: var(--bgo-paper); color: var(--bgo-violet-500); font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 13px; letter-spacing: var(--ls-button); text-transform: uppercase; padding: 12px 22px; border-radius: var(--radius-pill); line-height: 1; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.filter-chip:hover, .faq-tab:hover { background: var(--bgo-violet-50); }
.filter-chip.is-on, .faq-tab.active { background: var(--bgo-violet-500); border-color: var(--bgo-violet-500); color: var(--bgo-paper); }
.faq-wide { width: 100%; max-width: 980px; }
.faq-wide .faq-group[hidden] { display: none; }

.map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.map-btn--cta { border: 1px solid var(--bgo-violet-200); font-weight: var(--fw-bold); }
.map-btn--cta .btn-ext { color: var(--bgo-violet-500); font-size: 15px; }

.usp--facts .usp-grid--facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp--facts .usp-item { align-items: center; justify-content: flex-start; }
.usp--facts .usp-item p { font-size: var(--text-sm); font-weight: var(--fw-regular, 400); line-height: 1.55; }
.usp--facts .contact-lab { margin-bottom: 6px; }

@media (min-width: 1081px) {
  .why-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .vid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usp--facts .usp-grid--facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .usp--facts .usp-grid--facts { grid-template-columns: 1fr; }
  .filter-chip, .faq-tab { padding: 10px 16px; font-size: 12px; }
  /* Fee tables become one block per treatment: name, then each labelled figure. */
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table th:first-child { width: 100%; }
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table tbody tr { padding: 12px 6px; border-bottom: var(--border-hairline); }
  .fee-table tbody tr:last-child { border-bottom: 0; }
  .fee-table th, .fee-table td { border: 0; padding: 0; text-align: left; }
  .fee-table tbody th { margin-bottom: 6px; }
  .fee-table td[data-label] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 4px; white-space: normal; }
  .fee-table td[data-label]::before { content: attr(data-label); font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-secondary); min-width: 5.5em; }
  .fee-table td .fee-sub { flex-basis: 100%; margin-top: 0; padding-left: calc(5.5em + 10px); }
  .fee-table--feature td { font-size: 26px; }
}

/* Video filter bar stays in view while the grid scrolls under it. */
.filter-bar--sticky { position: sticky; top: calc(var(--header-h, 72px) + var(--space-3)); z-index: 20; padding: var(--space-3); border-radius: var(--radius-pill); background: var(--white-a92); box-shadow: var(--shadow-slide); backdrop-filter: blur(8px); }
.text-btn { appearance: none; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 14px; letter-spacing: var(--ls-button); text-transform: uppercase; color: var(--bgo-violet-500); text-decoration: underline; text-underline-offset: 6px; padding: var(--space-3) var(--space-4); }
.text-btn:hover { color: var(--bgo-violet-700); }
.text-btn[hidden] { display: none; }
.fee-card > .fee-h { margin-top: var(--space-4); }
/* Phones and landscape phones: one scrubbable row of chips, four cards to start, full width. */
@media (max-width: 900px) {
  .filter-bar--sticky { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--space-3); max-width: 100%; }
  .filter-bar--sticky::-webkit-scrollbar { display: none; }
  .filter-bar--sticky .filter-chip { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .vid-grid { grid-template-columns: 1fr; }
  .vid-grid > .vid-card { width: 100%; }
}
/* FAQs: the topic tabs become the same sticky, scrubbable bar on landscape phones and smaller. Desktop keeps the plain wrapped row. */
@media (max-width: 900px) {
  .faq-tabs { position: sticky; top: calc(var(--header-h, 72px) + var(--space-3)); z-index: 20; width: fit-content; max-width: 100%; margin-inline: auto; padding: var(--space-3); border-radius: var(--radius-pill); background: var(--white-a92); box-shadow: var(--shadow-slide); backdrop-filter: blur(8px); flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--space-3); }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tabs .faq-tab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
}
#went-wrong .get-fig img { object-position: center 28%; }
@media (max-width: 1080px) and (orientation: landscape) { #went-wrong .get-fig { aspect-ratio: 1 / 1; } #went-wrong .get-fig img { object-position: center 12%; } }
/* ---- Meet the team: directory ---- */
/* Team tab bar = the patient reviews filter bar (.filter-bar--sticky + .filter-chip); links, not toggles. */
.team-tabs { width: fit-content; max-width: 100%; margin-inline: auto; }
.team-tabs a.filter-chip { display: inline-block; text-decoration: none; }
.team-tabs a.filter-chip:hover { color: var(--bgo-violet-500); }
.team-tabs a.filter-chip.is-on:hover { color: var(--bgo-paper); }
/* Photo framing in the team page's selfie panels (shifted up on landscape phones/tablets so faces and mouths show). */
#languages .get-fig img, #gdc .get-fig img { object-position: center 30%; }
/* Meet the team 005 on desktop: the six languages in two columns; tablet and smaller keep one. */
@media (min-width: 1081px) { #languages .tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px var(--space-6); } }
@media (max-width: 1080px) { #languages .get-fig img { object-position: center 70%; } #gdc .nhs-fig img { object-position: center 38%; } }
/* iPhone-size portrait: a taller frame so both people show whole, instead of a wide letterbox. */
@media (max-width: 760px) and (orientation: portrait) {
  #languages .get-fig { aspect-ratio: 1 / 1; }
  #languages .get-fig img { object-position: center 45%; }
  .sd-sec#working-here .sd-photo { height: 400px; }
  .sd-sec#working-here .sd-photo img:first-child { object-position: center 88%; }
  .sd-sec#working-here .sd-card { margin-top: -40px; }
}
.team-group { width: 100%; display: flex; flex-direction: column; gap: var(--space-6); scroll-margin-top: calc(var(--header-h) + 72px); }
.team-group-title { margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h3); line-height: var(--lh-heading); color: var(--bgo-ink); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-10) var(--space-6); }
/* Cut-outs stand on their colour tile and rise past its top edge (same as the
   homepage carousel); the grid leaves room above each row for the heads.
   The room above the first row only shows when that row has a cut-out
   (3 cards a row on desktop, 2 on tablet, 1 on phone), so a group of
   initials tiles sits close under its title (Asana, 2026-11-13). */
.team-grid { row-gap: 96px; }
@media (min-width: 1081px) { .team-grid:has(> .team-card:nth-child(-n+3) img) { padding-top: 80px; } }
@media (min-width: 561px) and (max-width: 1080px) { .team-grid:has(> .team-card:nth-child(-n+2) img) { padding-top: 80px; } }
@media (max-width: 560px) { .team-grid:has(> .team-card:nth-child(1) img) { padding-top: 80px; } }
.team-grid .team-tile--initials { overflow: hidden; clip-path: none; }
.team-rail .team-tile--initials { overflow: hidden; clip-path: none; }
.team-tile--initials { display: flex; align-items: center; justify-content: center; color: var(--bgo-ink); }
.team-tile--violet.team-tile--initials { color: var(--bgo-paper); }
.team-initials { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: clamp(40px, 5vw, 64px); letter-spacing: .04em; line-height: 1; }
.team-gdc { font-weight: var(--fw-bold); font-size: 12px; letter-spacing: .06em; color: var(--bgo-ink); }
.team-quals { font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

@media (min-width: 1081px) {
  .why-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- About us, smile gallery and finance (2026-11-02). Existing sections only:
   the before/after slider laid out as a filterable grid rather than a
   carousel, the facts strip in threes, and the treatment cards at seven. ---- */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); width: 100%; }
.ba-grid > [hidden] { display: none; }
.ba-note { font-size: var(--text-fine); line-height: 1.6; }
.usp--facts .usp-grid--facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fee-table--compare th:first-child { width: 28%; }
.fee-table--compare thead .fee-amt { white-space: normal; line-height: 1.4; }
/* Seven cards on tablet: the last one runs full width rather than leaving a gap. */
@media (min-width: 761px) and (max-width: 1080px) {
  .tr-grid--seven .tr-7 { grid-column: 1 / 3; }
  .usp--facts .usp-grid--facts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ba-grid { grid-template-columns: 1fr; }
  .usp--facts .usp-grid--facts-3 { grid-template-columns: 1fr; }
}
/* Five facts in threes (finance 004, deposit box removed 2026-11-13): the last two sit centred under the first three. */
@media (min-width: 1081px) {
  .usp--facts .usp-grid--facts-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .usp--facts .usp-grid--facts-5 > .usp-item { grid-column: span 2; }
  .usp--facts .usp-grid--facts-5 > .usp-item:nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .usp--facts .usp-grid--facts-5 > .usp-item:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--space-6) / 2); }
}

/* Membership 004: the amount columns get room so "From £250" never runs into the Loyalty Club column; on phones each label takes its price's colour. */
#loyalty-club .fee-table th:first-child { width: 36%; }
#loyalty-club .fee-table td.fee-amt { padding-inline: 14px; }
@media (max-width: 760px) {
  #loyalty-club .fee-table th:first-child { width: 100%; }
  #loyalty-club .fee-table td[data-label]::before { color: inherit; min-width: 10.5em; }
  #loyalty-club .fee-table td.fee-amt { padding-inline: 0; }
}

/* Membership on landscape phones and smaller: these photos are anchored to the top of their frames so heads stay in view. */
@media (max-width: 1080px) {
  [data-qa-id="membership-001"] .ih-photo img,
  #worth-it :is(.step-figure, .tab-pic) img[src*="patient-sitting-in-dental-chair-1"],
  #worth-it :is(.step-figure, .tab-pic) img[src*="patient-thumbs-up-in-chair-with-scan-screen-3"],
  #join .nhs-fig img { object-position: center top !important; }
}

/* Membership 007: room under the "30 days' notice" pill so it doesn't touch the card's edge. */
#costs .price-terms { margin-bottom: var(--space-6); }

/* Membership 004: the standard price reads like the rest of the table (body font, same weight and size as the treatment names); the Loyalty Club price keeps its emphasis. */
#loyalty-club .fee-table td.fee-amt:not(.fee-club) { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: inherit; }
/* Phones: receipt rows. Label on the left, price on the right, a dotted leader between them that sits on the text baseline. */
@media (max-width: 760px) {
  #loyalty-club .fee-table td[data-label] { flex-wrap: nowrap; align-items: baseline; gap: 8px; }
  #loyalty-club .fee-table td[data-label]::before { order: -2; flex: 0 0 auto; min-width: 0; }
  #loyalty-club .fee-table td[data-label]::after { content: ''; order: -1; flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted currentColor; opacity: .5; }
  #loyalty-club .fee-table td[data-label] { justify-content: flex-start; }
}

/* Membership 005 item 2: this portrait has headroom, so its face sits a third of the way down rather than at the very top. */
@media (max-width: 1080px) { #worth-it :is(.step-figure, .tab-pic) img[src*="patient-portrait-smiling-3"] { object-position: center 38% !important; } }

/* Booking and contact us heroes: the card sits 45px lower so the front row's faces clear it (Asana, George 2026-11-11; contact us added 2026-11-13). */
.ch-hero { --ch-nudge: 45px; }

/* Contact us and booking heroes: team-group.webp was extended upwards with Nano Banana (2026-11-04), so the team sits high in the band, faces clear of the overlapping card. */
.ch-hero .ch-band img { object-position: center 58%; }
@media (max-width: 760px) {
  .ch-hero .ch-band img { object-position: center 58%; }
  /* Hero buttons stack and stretch to the card's width. */
  .ch-card > .row { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); width: 100%; }
  .ch-card > .row .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Contact us 005: on phones the photo sits a little higher in its frame so the man's face is fully in view. */
#went-wrong .get-fig img { object-position: center 28%; }
@media (max-width: 760px) { #went-wrong .get-fig img { object-position: center 40%; } }

/* About us 004: the facts strip gets the same top and bottom room as other sections so nothing sits against its edges. */
.usp--facts > .wrap { padding-block: var(--section-y); }

/* About us 003 on phones: the cut-out is drawn at its own shape rather than bottom-aligned in a taller box, so there's no empty band between the paragraph and the two patients. */
@media (max-width: 760px) {
  #who-we-are .ab-cut-sm { height: auto; aspect-ratio: 1100 / 778; margin-top: calc(var(--space-6) * -1); }
}

/* Finance: receipt rows on phones (label left, dotted leader, price right), the same treatment as the membership prices; the amounts read in the table's body type. */
.fee-table--receipt td.fee-amt { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: inherit; }
@media (max-width: 760px) {
  .fee-table--receipt td[data-label] { flex-wrap: nowrap; align-items: baseline; gap: 8px; justify-content: flex-start; }
  .fee-table--receipt td[data-label]::before { order: -2; flex: 0 0 auto; min-width: 0; color: inherit; }
  .fee-table--receipt td[data-label]::after { content: ''; order: -1; flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted currentColor; opacity: .5; }
  /* Representative examples: the example name sits above its figure, with room between items so each figure clearly belongs to its name. */
  .fee-table--compare td[data-label] { display: block; margin-top: var(--space-4); }
  .fee-table--compare td[data-label]::before { display: block; min-width: 0; margin-bottom: 4px; }
  .fee-table--compare tbody tr { padding-block: var(--space-5); }
}
/* Finance 003 photo: taller frame on phones so her whole face shows. */
@media (max-width: 760px) { #pay-as-you-go .get-fig { aspect-ratio: 1 / 1; } }
/* Finance 005 on phones: the first photo is anchored towards the bottom of its frame and the frame is a little taller, so her face is clear of the card. */
@media (max-width: 760px) {
  #loyalty-club.sd-sec .sd-photo { height: 340px; }
  #loyalty-club.sd-sec .sd-photo img:first-child { object-position: center 78% !important; }
}
@media (max-width: 760px) { .fee-table--compare tbody th { width: 100%; max-width: none; } }
/* Representative examples on landscape phones (761-900px): the same stacked layout as portrait, each example name above its figure. */
@media (min-width: 761px) and (max-width: 900px) {
  .fee-table--compare, .fee-table--compare tbody, .fee-table--compare tr, .fee-table--compare th, .fee-table--compare td { display: block; width: 100%; }
  .fee-table--compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table--compare tbody tr { padding: var(--space-5) 6px; border-bottom: var(--border-hairline); }
  .fee-table--compare tbody tr:last-child { border-bottom: 0; }
  .fee-table--compare th, .fee-table--compare td { border: 0; padding: 0; text-align: left; }
  .fee-table--compare tbody th { margin-bottom: 6px; width: 100%; }
  .fee-table--compare td[data-label] { display: block; margin-top: var(--space-4); white-space: normal; }
  .fee-table--compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-secondary); }
}

/* Prices: single-price fee tables stack vertically on phones: the item name, then its price underneath, with no "Price" label and no dotted leader. Only tables with two prices get the dotted receipt rows. */
.fee-table--ledger td.fee-amt { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: inherit; }
@media (max-width: 760px) {
  .fee-table--ledger tbody tr { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-block: var(--space-4); }
  .fee-table--ledger tbody th { width: 100%; max-width: none; margin: 0; }
  .fee-table--ledger td[data-label] { display: block; width: 100%; margin-top: 0; text-align: left; }
  .fee-table--ledger td[data-label]::before { display: none; }
}
/* Dotted leaders (membership, finance and prices receipt rows): bigger dots so they read. */
@media (max-width: 760px) {
  #loyalty-club .fee-table td[data-label]::after,
  .fee-table--receipt td[data-label]::after { border-bottom-width: 3px; border-bottom-style: dotted; opacity: .6; }
}
/* Prices: the jump bar sits between the payment explainer and the fee lists, with room above it. */
.price-jump { margin-top: var(--space-12); margin-bottom: var(--space-2); max-width: calc(100% - 2 * var(--gutter, 16px)); }
/* Prices 004 (orthodontic consultations): on landscape phones and smaller the photo sits a little lower in its frame. */
@media (max-width: 1080px) { #consultations .get-fig img { object-position: center 6% !important; } }
@media (max-width: 760px) { .fee-table--ledger td .fee-sub { padding-left: 0; display: block; margin-top: 2px; } }

/* Teeth straightening 006: the patient sits a little further right in the panel's photo (scaled about its left edge). */
#book .nhs-fig { overflow: hidden; }
#book .nhs-fig img { scale: 1.16; transform-origin: 0% 40%; }

/* Treatment cards (.tr) on tablet and phone, site-wide: two lines of copy with the + / - in the bottom-right corner, and a tap anywhere on the
   card opens or closes it (initTreatmentCards); only the always-visible "Explore" link follows the card's link. Cards that open another site
   (target="_blank", e.g. TimeTap) have no + / -, so below 900px they show their full copy instead and the whole card stays a link. */
@media (max-width: 900px) {
  .tr[target="_blank"] .tr-reveal p, .tr[target="_blank"]:not(.tr-expanded):not(.tr-moving) .tr-reveal p { display: block; -webkit-line-clamp: unset; max-height: none; overflow: visible; }
  .tr[target="_blank"] .tr-body { padding-right: var(--space-6); }
}
/* General dentistry */
@media (max-width: 760px) { [data-qa-id="general-dentistry-003"] .tr-4 .tr-img { object-position: center 4% !important; } }
@media (max-width: 900px) {
  [data-qa-id="general-dentistry-004"] .get-fig img { object-position: center top !important; }
  [data-qa-id="general-dentistry-007"] :is(.step-figure, .tab-pic) img { object-position: center top !important; }
}
/* General dentistry 005: every price card's header band is the same height, so the figures, run lines and lists line up across a row even when a title wraps to two lines. */
[data-qa-id="general-dentistry-005"] .price-head { min-height: 168px; }
/* General dentistry 008: room above the team section. */
[data-qa-id="general-dentistry-008"] { padding-top: var(--space-16); }

/* Treatment cards: the photo scales on hover inside a rounded, overflow-hidden card, and the tint's multiply blend adds another compositing layer. Browsers can drop the rounded clip mid-transition, so the bottom corners flicker square. The card now clips with clip-path, which follows the radius through compositing, gets its own stacking context, and the photo is promoted to a steady layer. (Same fix for the map frame's hover zoom.) */
.tr { isolation: isolate; clip-path: inset(0 round var(--radius-card)); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.tr-img { will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(0); }
.tr:hover .tr-img { transform: translateZ(0) scale(1.03); }
.find-grid .map-frame { isolation: isolate; clip-path: inset(0 round var(--radius-media)); }
/* clip-path would hide an outside focus ring, so the ring sits inside the card. */
.tr:focus-visible { outline-offset: -4px; }

/* Opening hours (every Find us block): on landscape phones and smaller the two sessions sit on separate lines, still in 24-hour time with "then" between them: "09:00 – 13:00" over "then 14:00 – 18:00". */
@media (max-width: 900px) {
  .hours td .hrs-a, .hours td .hrs-b { display: block; line-height: 1.5; }
  .hours td .hrs-comma { display: none; }
}
}
/* Find us 004: on landscape phones and smaller the photo sits lower in its frame so the eyes aren't cut off. */
@media (max-width: 900px) { [data-qa-id="find-us-004"] .get-fig img { object-position: center 2% !important; } }

/* Dental implants on landscape phones and smaller: 004 photo top-aligned; the 007 journey photos are nudged so faces sit well in the frame (1 up, 4 down, 5 and 6 top-aligned). */
@media (max-width: 900px) {
  [data-qa-id="dental-implants-004"] .get-fig img { object-position: center top !important; }
  [data-qa-id="dental-implants-007"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-clinician-and-scan-screen-1"] { object-position: center 36% !important; }
  [data-qa-id="dental-implants-007"] :is(.step-figure, .tab-pic) img[src*="patient-sitting-in-dental-chair-2"] { object-position: center 14% !important; }
  [data-qa-id="dental-implants-007"] :is(.step-figure, .tab-pic) img[src*="intraoral-scanner-in-surgery-1"],
  [data-qa-id="dental-implants-007"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-two-clinicians-1"] { object-position: center top !important; }
}

/* Mobile menu button: "Menu" slides out downwards as "Close" drops in from above, the hamburger turns into an X, and the label box keeps one fixed width (the wider word), so nothing beside it moves. */
.menu-lab { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: middle; width: 3.4em; text-align: left; }
.menu-lab > span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .32s var(--ease-out), opacity .24s var(--ease-standard); }
.menu-lab-a { transform: translateY(0); opacity: 1; }
.menu-lab-b { transform: translateY(-110%); opacity: 0; }
.nav-menu-toggle[aria-expanded="true"] .menu-lab-a { transform: translateY(110%); opacity: 0; }
.nav-menu-toggle[aria-expanded="true"] .menu-lab-b { transform: translateY(0); opacity: 1; }
.menu-ico { position: relative; display: inline-block; width: 16px; height: 12px; margin-left: 6px; vertical-align: middle; }
.menu-ico > i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform .32s var(--ease-out), opacity .2s var(--ease-standard), top .32s var(--ease-out); }
.menu-ico > i:nth-child(1) { top: 0; }
.menu-ico > i:nth-child(2) { top: 5px; }
.menu-ico > i:nth-child(3) { top: 10px; }
.nav-menu-toggle[aria-expanded="true"] .menu-ico > i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-menu-toggle[aria-expanded="true"] .menu-ico > i:nth-child(2) { opacity: 0; }
.nav-menu-toggle[aria-expanded="true"] .menu-ico > i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-lab, .menu-lab > span, .menu-ico > i { transition: none; } }

/* Facial aesthetics */
[data-qa-id="facial-aesthetics-003"] .get-fig img { object-position: center top !important; }
/* 001 on phones and tablets: a taller photo box so her head is never cut off, and she reads a little larger. */
@media (max-width: 560px) { [data-qa-id="facial-aesthetics-001"] .ih-photo { height: 360px; } }

/* Treatment hero on landscape phones (site-wide): the screen is too short for a tall portrait column, which left only the top of the face showing. The photo sits beside the copy and is sized to the screen under the header, so the face is in view without scrolling. */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 561px) and (max-width: 1080px) {
  .ih { grid-template-columns: minmax(230px, .42fr) 1fr; gap: var(--space-6); align-items: start; padding: var(--space-6) 0 var(--space-6) var(--gutter); }
  .ih-photo { min-height: 0; height: calc(100vh - var(--header-h) - var(--space-12)); height: calc(100dvh - var(--header-h) - var(--space-12)); max-height: 480px; }
  .ih-copy { display: flex; padding: 0 var(--gutter) 0 var(--space-2); }
  .ih .crumb { order: 0; }
}

/* Composite bonding 004 on landscape phones and smaller: the man sits about 20% higher in his frame so his chin is in view. */
@media (max-width: 900px) { [data-qa-id="composite-bonding-004"] .get-fig img { object-position: center 44% !important; } }

/* Book menu on tablets and phones (≤1080px): anchored to the header, not to the button, so it spans the page width less the side gutters and sits below the bar instead of over it. It stays above the nav menu when both are open. The caret is about 70% larger so it reads as a control. */
@media (max-width: 1080px) {
  .book-wrap { position: static; }
  .book-menu { top: calc(100% + var(--space-2)); left: var(--space-2); right: var(--space-2); min-width: 0; z-index: 5; }
  .mobile-menu-panel { z-index: 1; }
}

/* Header carets (Treatments, About us, Book) are larger on every screen size, not only on tablets and phones. */
.nav-caret { font-size: 1.35em; line-height: 1; }

/* Teeth whitening 007 on landscape phones and tablets: the cut-out no longer sets the row height (its own transparent top made a big empty band under the button), so the patient sits right under the copy. */
@media (min-width: 761px) and (max-width: 1080px) {
  [data-qa-id="teeth-whitening-007"] .ab { grid-template-rows: minmax(300px, auto) auto; }
  [data-qa-id="teeth-whitening-007"] .ab-cut { height: 0; min-height: 100%; }
}

/* Teeth whitening on landscape phones and smaller: 003 photo sits a little higher in its frame; the scan-and-trays journey photo gets a taller frame and sits lower so both people's heads are in. */
@media (max-width: 900px) {
  [data-qa-id="teeth-whitening-003"] .get-fig img { object-position: center 32% !important; }
  [data-qa-id="teeth-whitening-008"] .tab.on:has(img[src*="clinician-selfie-with-intraoral-scanner-1"]) .tab-pic { max-height: 320px; }
  [data-qa-id="teeth-whitening-008"] .tab-pic img[src*="clinician-selfie-with-intraoral-scanner-1"] { aspect-ratio: 4 / 3; object-position: center 12% !important; }
}

/* Teeth whitening 008 on landscape phones and smaller: the scan-and-trays and whitening-at-home photos are bottom-aligned, which lifts the faces into the frame. */
@media (max-width: 900px) {
  [data-qa-id="teeth-whitening-008"] .tab-pic img[src*="clinician-selfie-with-intraoral-scanner-1"],
  [data-qa-id="teeth-whitening-008"] .tab-pic img[src*="male-patient-portrait-smiling-8"] { object-position: center bottom !important; }
}

/* Dental check-ups on landscape phones and smaller: 003 photos 1 and 2 sit slightly lower, photo 3 is bottom-aligned; the 004 photo is 40px taller so her mouth shows. */
@media (max-width: 900px) {
  [data-qa-id="dental-check-ups-003"] :is(.step-figure, .tab-pic) img[src*="male-patient-portrait-smiling-5"] { object-position: center 12% !important; }
  [data-qa-id="dental-check-ups-003"] :is(.step-figure, .tab-pic) img[src*="patient-portrait-smiling-4"] { object-position: center 28% !important; }
  [data-qa-id="dental-check-ups-003"] :is(.step-figure, .tab-pic) img[src*="clinician-selfie-with-intraoral-scanner-1"] { object-position: center bottom !important; }
}
@media (max-width: 760px) { [data-qa-id="dental-check-ups-004"] .sd-photo { height: 340px; } }

/* Night guard 004 on desktop: a 12-column grid, three cards across the top and two wider cards filling the bottom row. */
@media (min-width: 1081px) {
  [data-qa-id="night-guard-004"] .why-grid--five { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  [data-qa-id="night-guard-004"] .why-grid--five > .why { grid-column: span 4; }
  [data-qa-id="night-guard-004"] .why-grid--five > .why:nth-child(n+4) { grid-column: span 6; }
}
/* Night guard 012: photo top-aligned on every size. */
[data-qa-id="night-guard-012"] .nhs-fig img { object-position: center top !important; }

/* Oral hygiene 005: the "At your appointment" card is a shade deeper than the section so it no longer melts into it. */
[data-qa-id="oral-hygiene-005"] .club-a { background: var(--bgo-violet-100, #E3DCFF); box-shadow: 0 0 0 1px var(--bgo-violet-200); }

/* Oral hygiene hero on landscape phones and smaller: top-aligned so all three heads are in the frame. */
@media (max-width: 1080px) { [data-qa-id="oral-hygiene-001"] .ih-photo img { object-position: center top !important; } }

/* Periodontal 005 on landscape phones and smaller: photo 1 (X-rays tab) is top-aligned and photo 3 is bottom-aligned so the heads sit in the frame. */
@media (max-width: 900px) {
  [data-qa-id="periodontal-treatment-005"] :is(.step-figure, .tab-pic) img[src*="monitor-1"] { object-position: center top !important; }
  [data-qa-id="periodontal-treatment-005"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-clinician-and-scan-screen-1"] { object-position: center bottom !important; }
}

/* Braces for teenagers 013: a regular photo of Vanessa fills the white block on the right (no cut-out). */
.ab-r--photo { position: relative; padding: 0; background: var(--surface-band-sky); min-height: 360px; }
.ab-r--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 1080px) { .ab-r--photo { grid-column: 1 / -1; min-height: 340px; } }

/* Common-signs card on a lavender section: a stroke and a shade deeper, so it never melts into the section (root canal 004 and oral hygiene 005). */
.sec.lav .club-a { background: var(--bgo-violet-100); box-shadow: 0 0 0 1px var(--bgo-violet-200); }

/* Root canal 005 on landscape phones and smaller: the Numbing photo is bottom-aligned so faces aren't cut off. */
@media (max-width: 900px) { [data-qa-id="root-canal-treatment-005"] :is(.step-figure, .tab-pic) img[src*="clinician-selfie-with-colleague-in-surgery-1"] { object-position: center bottom !important; } }

/* Clear braces on landscape phones and smaller: 005 photo sits higher so her whole head is in; journey tabs 4, 5 and 6 sit higher so more of each face shows. */
@media (max-width: 900px) {
  [data-qa-id="clear-braces-005"] .get-fig img { object-position: center 40% !important; }
  [data-qa-id="clear-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-with-braces-close-up-selfie-2"] { object-position: center 42% !important; }
  [data-qa-id="clear-braces-010"] :is(.step-figure, .tab-pic) img[src*="male-patient-portrait-smiling-10"] { object-position: center 66% !important; }
  [data-qa-id="clear-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-portrait-smiling-12"] { object-position: center 36% !important; }
}

/* Fixed braces 010 on landscape phones and smaller: each journey photo is framed so every face is in. */
@media (max-width: 900px) {
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-two-clinicians-1"] { object-position: center 12% !important; }
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-scan-screen-4"] { object-position: center 20% !important; }
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="team-selfie-with-braces-model-1"] { object-position: center 43% !important; }
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-thumbs-up-with-clinician-in-surgery-1"],
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-with-clinician-at-bgo-neon-wall-2"],
  [data-qa-id="fixed-braces-010"] :is(.step-figure, .tab-pic) img[src*="patient-with-clinician-holding-gift-2"] { object-position: center top !important; }
}

/* Treatment cards that open another site (the booking system): an external-link badge in the corner where the + sits, on every screen size, so it is clear before hovering. */
.tr[target="_blank"] .tr-toggle { display: none; }
.tr[target="_blank"]::after { content: '\2197'; position: absolute; top: var(--space-5); right: var(--space-5); z-index: 4; width: 38px; height: 38px; border-radius: var(--radius-pill); background: var(--white-a18); border: 1.5px solid var(--white-a70); color: var(--bgo-paper); display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: background var(--dur-base) var(--ease-standard); }
.tr[target="_blank"]:hover::after { background: var(--white-a30); }

/* Home 006 on phones (one photo, under the card): the same-day photo sits higher so the patient's face clears the card. */
@media (max-width: 760px) { [data-qa-id="home-006"] .sd-photo img:first-child { object-position: center 30% !important; } }

/* Home 009 on landscape phones and smaller: photo 2 sits higher in its frame; photo 3 is top-aligned. */
@media (max-width: 900px) {
  [data-qa-id="home-009"] :is(.step-figure, .tab-pic) img[src*="patient-in-chair-with-clinician-and-scan-screen-1"] { object-position: center 50% !important; }
  [data-qa-id="home-009"] :is(.step-figure, .tab-pic) img[src*="patient-with-two-clinicians-in-surgery-1"] { object-position: center top !important; }
}

/* Home 001, phones: the cut-out is nudged down 20% of its own height, so the
   gap to the badges must scale with it (82% wide, 1200x1233 image) — keeps the
   bottom of the image flush with the top of the second badge at every width. */
@media (max-width: 760px) {
  .hero-vis { container-type: inline-size; }
  .blob-wrap { margin-top: calc(16.85cqw - 82.1px); }
}

/* Treatments hub link at the top of the Treatments accordion (phones, tablets). */
.mm-groups > .mm-all { grid-column: 1 / -1; padding-bottom: var(--space-3); }

/* ---- Policy template (every /policy/ page) ----
   Heading block, then one readable column. Only the text inside
   .policy-body changes from policy to policy. */
.policy-wrap { max-width: 860px; margin: 0 auto; }
.policy-head { padding-bottom: var(--space-8); margin-bottom: var(--space-10, 40px); border-bottom: var(--border-hairline); }
.policy-head h1 { margin: 0 0 var(--space-4, 16px); }
.policy-meta { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }
.policy-body { font-size: var(--text-body); line-height: var(--lh-body); color: var(--text-secondary); }
.policy-body > * + * { margin-top: 1.1em; }
.policy-body p { margin-bottom: 0; }
.policy-body h2 { margin-top: 2.2em; font-family: var(--font-display); font-size: var(--text-h2); line-height: 1.15; font-weight: var(--fw-bold); color: var(--text-primary); }
.policy-body h3 { margin-top: 1.8em; font-size: var(--text-h4); line-height: 1.3; font-weight: var(--fw-semibold); color: var(--text-primary); }
.policy-body ul, .policy-body ol { padding-left: 1.3em; }
.policy-body li + li { margin-top: 0.4em; }
.policy-body a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.policy-body a:hover { color: var(--text-link-hover); }
.policy-body table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.5; }
.policy-body th, .policy-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: var(--border-hairline); }
.policy-body th { font-weight: var(--fw-semibold); color: var(--text-primary); }
@media (max-width: 767px) { .policy-body { font-size: 16px; } }

/* Carousel arrows (stories, team, gallery, reviews): a drawn chevron rather
   than the ‹ › text glyph, which sat low in the circle and read thin. The
   chevron is centred in the button and about 40% larger than the old glyph;
   currentColor keeps the hover colour swap. */
.story-arrow, .car-arrow, .rev-arrow { padding: 0; font-size: 0; }
.story-arrow::before, .car-arrow::before, .rev-arrow::before {
  content: ''; display: block; flex: 0 0 auto; width: 58%; height: 58%; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 5 8.5 12l7 7' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 5 8.5 12l7 7' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.story-next::before, .gal-next::before, .team-next::before, .rev-next::before { transform: scaleX(-1); }

/* Same-day photo strips on phones: taller, so the card overlapping the foot
   of the photo no longer covers mouths (Home 006) or the braces (Braces for
   teenagers 005). Height tracks the width so the crop holds up to 760px. */
@media (max-width: 760px) {
  [data-qa-id="home-006"] .sd-photo,
  [data-qa-id="braces-for-teenagers-005"] .sd-photo { height: min(124vw, 640px); }
}

/* Treatment cards on landscape phones and smaller: the copy is always open
   there, so the scrim is darker and starts higher for legibility. */
@media (max-width: 900px) {
  .tr-scrim { background: linear-gradient(180deg, var(--ink-a00) 0%, var(--ink-a34) 22%, var(--ink-a66) 48%, var(--ink-a92) 82%); }
}
/* Fees page: the usual price, crossed out after an offer price
   ("Free £75"). */
.fee-table .fee-was { margin-left: 8px; font-family: var(--font-body); font-weight: var(--fw-light); color: var(--text-secondary); text-decoration: line-through; }

/* ==========================================================================
   Campaign landing pages (README §1.2, landing pages; XD landing page format).
   body.lp + partials/lp-header.html, lp-bar.html, lp-footer.html.
     Desktop header: logo, phone number, Book (to #form). No site nav.
     ≤767px: a 56px bar with the logo, a calendar icon (to #form) and a phone
     icon; a bottom Book / Call us bar appears once the form is scrolled past.
   ========================================================================== */
body.lp { --header-h: 72px; --anchor-offset: 96px; }
.lp-header {
  position: sticky;
  top: 0;
  z-index: 2147483003;
  background: var(--bgo-paper);
  box-shadow: var(--shadow-card);
}
.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
  padding: 0 var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
}
.lp-logo img { height: 46px; width: auto; display: block; }
.lp-util { display: flex; align-items: center; gap: var(--space-5); }
.lp-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: var(--fw-bold); font-size: 16px; color: var(--bgo-ink); white-space: nowrap; text-decoration: none; }
.lp-tel:hover { color: var(--bgo-violet-500); }
.lp-cal { display: none; }
.lp-bar { display: none; }

@media (max-width: 767px) {
  body.lp { --header-h: 56px; --anchor-offset: 72px; }
  .lp-header-inner { gap: var(--space-2); padding: 0 var(--space-4); }
  .lp-logo img { height: 32px; }
  .lp-util { gap: 4px; }
  .lp-tel-num, .lp-book { display: none; }
  .lp-tel, .lp-cal { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); }
  .lp-tel:hover, .lp-cal:hover { background: var(--violet-a11); }

  .lp-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483004;
    padding: 8px var(--space-4) calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--bgo-paper);
    box-shadow: var(--shadow-raised);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base);
  }
  .lp-bar.is-on { transform: none; visibility: visible; transition: transform var(--dur-base) var(--ease-standard), visibility 0s; }
  .lp-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    color: var(--bgo-paper);
    font-weight: var(--fw-bold);
    font-size: 16px;
    text-decoration: none;
  }
  .lp-bar-book { background: var(--bgo-book); }
  .lp-bar-call { background: var(--bgo-ink); }
  .lp-bar a:hover { color: var(--bgo-paper); }
  /* Room under the footer for the bar. */
  body.lp .ft-base { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
.lp-ft-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-8); padding-bottom: var(--space-8); }
.lp-ft-top .ft-logo { margin-bottom: 0; }

/* Landing page hero (ih--lp): photo, H1 and the whole form on load.
   Desktop: photo | H1 and intro | form card. Tablet: photo | copy, form
   full width under them. Phone: short banner photo, H1, intro, form. */
.ih--lp { grid-template-columns: minmax(240px, .3fr) 1fr minmax(340px, .4fr); align-items: center; gap: var(--space-10); padding: var(--space-10) max(var(--gutter), calc((100% - var(--container-wide)) / 2)); }
.ih--lp .ih-photo { align-self: stretch; min-height: 420px; }
.ih--lp .ih-copy { padding: 0; }
.ih--lp .ih-h1 { font-size: clamp(32px, 3.4vw, 52px); }
.ih--lp .bk { box-shadow: var(--shadow-float); padding: var(--space-6); gap: var(--space-3); }
.bk-consent--lp { font-size: 15px; color: var(--bgo-paper); }
@media (min-width: 761px) and (max-width: 1080px) {
  .ih--lp { grid-template-columns: minmax(220px, .42fr) 1fr; gap: var(--space-6) var(--space-8); padding: var(--space-8) var(--gutter); }
  .ih--lp .ih-photo { min-height: 300px; }
  .ih--lp .ih-copy { padding: 0; }
  .ih--lp .bk { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ih--lp { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-4) var(--space-8); }
  .ih--lp .ih-photo { height: 150px; min-height: 0; }
  .ih--lp .ih-h1 { font-size: 28px; }
  .ih--lp .ih-sub { font-size: 15px; }
  .ih--lp .bk { padding: var(--space-5); }
}

/* Five cards (or any count) that centre the last row rather than leave
   a gap: the worries section on the braces landing page. */
.why-grid--wrap { display: flex; flex-wrap: wrap; justify-content: center; }
.why-grid--wrap > .why { flex: 0 1 calc((100% - 2 * var(--grid-gap)) / 3); }
@media (max-width: 1080px) { .why-grid--wrap > .why { flex-basis: calc((100% - var(--grid-gap)) / 2); } }
@media (max-width: 760px) { .why-grid--wrap > .why { flex-basis: 100%; } }

/* .ab without the cut-out between its halves (braces landing page final
   CTA): the copy gets its full half back. */
.ab--nocut .ab-l { padding-right: var(--space-12); }
@media (min-width: 761px) and (max-width: 1080px) { .ab--nocut .ab-l { padding-right: var(--space-10); } }
@media (max-width: 760px) {
  .ab--nocut .ab-l { padding: var(--space-8) var(--space-6); }
  .ab--nocut .row .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* Figures waiting on sign-off: dashed amber frame and a label, so nobody
   mistakes them for confirmed copy. Remove the wrapper (or blank the two
   --tbc tokens) once confirmed. */
.tbc { position: relative; padding: var(--space-6) var(--space-5) var(--space-4); border: 2px dashed var(--tbc-line); border-radius: var(--radius-sm); }
.tbc::before { content: var(--tbc-label); position: absolute; top: 0; left: var(--space-4); transform: translateY(-50%); padding: 2px 10px; border-radius: var(--radius-pill); background: var(--tbc-line); color: var(--bgo-ink); font-weight: var(--fw-bold); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
/* Braces landing page price list: white tick chips on the violet panel. */
.tbc .tick, [data-qa-id="lp-braces-009"] .tick { background: var(--bgo-paper); color: var(--bgo-violet-500); }
/* Accreditation badge at the top of a landing page panel (Invisalign
   Platinum Provider). */
.lp-badge { display: block; align-self: flex-start; width: auto; max-width: 100%; height: 104px; object-fit: contain; }
@media (max-width: 760px) { .lp-badge { height: 84px; } }
/* White tick chips on the violet .ab panel (implants landing page). */
.ab--nocut .tick-list--light .tick { background: var(--bgo-paper); color: var(--bgo-violet-500); }
/* Implants thank-you: the implant assessment is not free, so the shared
   header and footer's "free consultation" items are hidden on this page
   only (Asana: bonding and implant pages must never say "free"). The Book
   now menu keeps its two online booking links. */
body[data-page="thank-you-dental-implants"] .book-menu a[href="/book/consultation/"],
body[data-page="thank-you-dental-implants"] .ft-cta .btn--book-cyan { display: none; }
/* Bonding thank-you: the consultation is not free, as on the implants
   thank-you page. */
body[data-page="thank-you-composite-bonding"] .book-menu a[href="/book/consultation/"],
body[data-page="thank-you-composite-bonding"] .ft-cta .btn--book-cyan { display: none; }
/* Long button labels ("Request a bonding consultation") wrap rather than
   run off a 360px phone, on every landing page. */
@media (max-width: 760px) { body.lp .btn--lg, body.lp .btn--lg > span { white-space: normal; text-align: center; max-width: 100%; } }
/* Landing page footer: the company details wrap at about half the width on
   desktop, with "Last updated" on the right; full width below 1081px. */
@media (min-width: 1081px) { .lp-ft .lp-ft-legal { max-width: 50%; } }

/* Prices + finance: braces table (BGO-7). Member prices sit together under a green "Members" pill; non-member prices follow. */
.fee-pill { display: inline-block; font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 11px; line-height: 1.6; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bgo-green-deep); border: 1.5px solid var(--bgo-green-deep); border-radius: var(--radius-pill); padding: 2px 12px; white-space: nowrap; }
.fee-table--braces thead .fee-amt { white-space: nowrap; line-height: 1.4; }
.fee-table--braces thead .fee-colhead { padding-top: 6px; padding-bottom: 14px; border-bottom: 0; vertical-align: middle; }
.fee-table--braces thead th[rowspan] { vertical-align: bottom; }
.fee-table--braces thead .fee-club { color: var(--bgo-green-deep); }
.fee-table--braces thead .fee-colhead--plain { color: var(--text-secondary); }
.fee-table--braces td .fee-pill { display: none; }
@media (min-width: 761px) { .fee-table--braces thead tr:first-child th:first-child { width: 28%; } }
/* Stacked rows (phones, and the narrow finance card): each price reads "TO START [MEMBERS] ...... From £350". */
@media (max-width: 760px) {
  .fee-table--braces tbody th { width: 100%; max-width: none; }
  .fee-table--braces td[data-label] { white-space: nowrap; }
  .fee-table--braces td .fee-pill { display: inline-block; order: -2; padding: 0 9px; font-size: 10px; }
  .fee-table--braces td[data-label]::before { order: -3; }
}
.fee-card:has(> .fee-table--braces) { container-type: inline-size; }
@container (max-width: 640px) {
  .fee-table--braces, .fee-table--braces tbody, .fee-table--braces tr, .fee-table--braces th, .fee-table--braces td { display: block; width: 100%; }
  .fee-table--braces thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table--braces tbody tr { padding: 12px 6px; border-bottom: var(--border-hairline); }
  .fee-table--braces tbody tr:last-child { border-bottom: 0; }
  .fee-table--braces th, .fee-table--braces td { border: 0; padding: 0; text-align: left; }
  .fee-table--braces tbody th { margin-bottom: 6px; width: 100% !important; }
  .fee-table--braces td[data-label] { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-top: 4px; white-space: nowrap; }
  .fee-table--braces td[data-label]::before { content: attr(data-label); order: -3; flex: 0 0 auto; font-weight: var(--fw-bold); font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: inherit; }
  .fee-table--braces td[data-label]::after { content: ''; order: -1; flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted currentColor; opacity: .5; }
  .fee-table--braces td .fee-pill { display: inline-block; order: -2; padding: 0 9px; font-size: 10px; }
}
