﻿/* Respiratory PhysiO2 — site styles */
:root {
  --navy: #0b2036;
  --navy-2: #12304f;
  --brand: #1f5f96;
  --blue: #176bbd;
  --sky: #8ec5ff;
  --mist: #e9f2fb;
  --mist-2: #f4f8fc;
  --line: #d5e2ef;
  --ink: #0b2036;
  --body: #33475c;
  --muted: #5d7187;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 32, 54, .06), 0 8px 28px rgba(11, 32, 54, .08);
  --airway: linear-gradient(90deg, #1e8ae8, #22b8c8 30%, #7cc242 55%, #f2c318 72%, #f7931e 86%, #e8472d);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--body); background: var(--white); text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9em;
}
.lead { font-size: 1.2rem; color: var(--body); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.airway-bar { height: 4px; width: 84px; border-radius: 4px; background: var(--airway); margin: 0 0 1.4rem; }
.center .airway-bar { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--sans); padding: .95em 1.5em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #135fa8; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: skewX(-20deg); animation: shimmer 4s ease-in-out infinite;
  animation-delay: -3s; /* negative delay = first shine starts as soon as the page loads */
}
@keyframes shimmer { 0%, 75% { left: -60%; } 100% { left: 140%; } }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9dcef; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-items { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar .tb-hide { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { flex: none; display: block; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a.nl, .nav button.nl {
  display: block; padding: .6em .7em; border-radius: 8px; font: 600 .97rem/1.2 var(--sans); white-space: nowrap;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a.nl:hover, .nav button.nl:hover, .nav a.nl[aria-current="page"] { color: var(--blue); background: var(--mist-2); }
.nav .has-sub { position: relative; }
.nav .has-sub > .nl::after { content: ""; display: inline-block; margin-left: 6px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.sub a { display: block; padding: .55em .8em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.sub a:hover { background: var(--mist); color: var(--brand); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav .btn { margin-left: 10px; padding: .8em 1.25em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 1240px) {
  .brand img { height: 48px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: #fff; visibility: hidden; flex-direction: column; align-items: stretch;
    padding: 12px 20px 40px; overflow-y: auto; overflow-x: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nl, .nav button.nl { padding: .9em .4em; font-size: 1.1rem; width: 100%; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  /* Accordion: sections start closed, a chevron shows they can be opened */
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 8px; min-width: 0; display: none; }
  .has-sub.open .sub { display: block; animation: sub-open .22s ease-out both; }
  @keyframes sub-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav .has-sub > .nl { display: flex; align-items: center; justify-content: space-between; }
  .nav .has-sub > .nl::after {
    content: ""; display: block; flex: none; width: 30px; height: 30px; margin: 0; border: 0; transform: none; border-radius: 50%;
    background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f96' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat;
    transition: transform .22s ease, background-color .22s ease;
  }
  .nav .has-sub.open > .nl { color: var(--blue); }
  .nav .has-sub.open > .nl::after { transform: rotate(180deg); background-color: #d6e7f8; }
  .sub a { font-size: 1.02rem; padding: 0 .6em; min-height: 44px; display: flex; align-items: center; border-radius: 10px; }
  .sub li:last-child a { color: var(--blue); }
  .nav .btn { margin: 18px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.bg-mist { background: var(--mist); }
.bg-soft { background: var(--mist-2); }
.bg-navy { background: var(--navy); color: #c9dcef; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: var(--sky); }
.bg-navy a:not(.btn) { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split > *, .grid > * { min-width: 0; }
.info-list a, .site-footer a { overflow-wrap: anywhere; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); background: linear-gradient(180deg, var(--mist-2), #fff); overflow: hidden; }
.airway-line { position: absolute; left: 0; right: 0; top: 0; height: 4px; overflow: hidden; }
.airway-line::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%;
  /* mirrored so the loop is seamless: blue → red → blue, repeated twice */
  background: linear-gradient(90deg, #1e8ae8 0%, #22b8c8 7%, #7cc242 14%, #f2c318 18%, #f7931e 22%, #e8472d 25%, #f7931e 28%, #f2c318 32%, #7cc242 36%, #22b8c8 43%, #1e8ae8 50%, #22b8c8 57%, #7cc242 64%, #f2c318 68%, #f7931e 72%, #e8472d 75%, #f7931e 78%, #f2c318 82%, #7cc242 86%, #22b8c8 93%, #1e8ae8 100%);
  animation: airway-flow 40s linear infinite; will-change: transform;
}
@keyframes airway-flow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .52s; }
.hero-media { animation: rise .9s cubic-bezier(.2,.7,.2,1) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.breath {
  position: absolute; inset: -12% -10% -8% -14%; border-radius: 50% 45% 55% 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(30,138,232,.28), rgba(30,138,232,.08) 60%, transparent 75%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
.hero-media .photo { position: relative; z-index: 1; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Staggered reveal for grids */
.grid > .reveal:nth-child(2), .pills > :nth-child(2) { transition-delay: .07s; }
.grid > .reveal:nth-child(3) { transition-delay: .14s; }
.grid > .reveal:nth-child(4) { transition-delay: .21s; }
.grid > .reveal:nth-child(5) { transition-delay: .28s; }
.grid > .reveal:nth-child(6) { transition-delay: .35s; }
.stat b { transition: transform .3s ease; }
.stat:hover b { transform: scale(1.08); }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead { font-size: 1.25rem; margin-bottom: 1.8em; }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.6; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: -28px; bottom: 32px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: 300px;
}
.hero-card img { width: 52px; height: 52px; }
.hero-card strong { display: block; color: var(--ink); line-height: 1.3; }
.hero-card span { font-size: .9rem; color: var(--muted); }
.hero-lung { position: absolute; right: -140px; top: -120px; width: 520px; opacity: .07; pointer-events: none; }
@media (max-width: 960px) { .hero-media .photo { aspect-ratio: 4 / 3; } }

.review-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--body); text-decoration: none; box-shadow: 0 1px 3px rgba(11,32,54,.06);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.review-badge:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--body); }
.review-badge .stars { color: #f2b31a; letter-spacing: 1px; font-size: .95rem; }
.review-badge strong { color: var(--ink); }
.review-badge .rb-cta { color: var(--blue); font-weight: 700; padding-left: 10px; border-left: 1px solid var(--line); }
.download-card { padding: 18px 20px 22px; }
.download-thumb { background: var(--mist-2); border-radius: 12px; padding: 14px; margin-bottom: 16px; display: grid; place-items: center; height: 220px; overflow: hidden; }
.download-thumb img { height: 100%; width: auto; object-fit: contain; box-shadow: 0 6px 18px rgba(11,32,54,.14); border-radius: 6px; transition: transform .3s ease; }
.download-card:hover .download-thumb img { transform: translateY(-4px); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.trust b { color: var(--ink); }
.check-inline { display: inline-flex; align-items: center; gap: 8px; }
.check-inline::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #c9dcef; padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #c9dcef; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero .hero-lung { opacity: .12; right: -80px; top: -60px; width: 460px; }
.page-hero .btn-row { margin-top: 26px; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #9fb7cf; }
.crumbs a { color: #c9dcef; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; height: 100%;
}
a.card { display: block; text-decoration: none; color: var(--body); }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #b7cfe7; }
a.card:hover h3 { color: var(--brand); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: 1rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--blue); font-size: .95rem; }
.icon-dot { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; margin-bottom: 18px; color: var(--brand); transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1); }
.icon-dot svg { width: 24px; height: 24px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
a.card:hover .icon-dot { background: var(--blue); color: #fff; transform: translateY(-3px) rotate(-6deg) scale(1.08); }
a.card:hover .icon-dot svg { transform: scale(1.12); }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-block; padding: .6em 1.15em; border: 2px solid var(--brand); border-radius: 999px;
  color: var(--ink); font-weight: 700; text-decoration: none; background: #fff; font-size: .98rem; letter-spacing: .01em;
}
a.pill { transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.pill:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 95, 150, .28); }
.pills-lg { gap: 14px; max-width: 900px; margin: 0 auto; }
.pills-lg .pill { font-size: 1.12rem; padding: .75em 1.5em; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.bg-navy .ticks li::before { background-color: var(--blue); }
.dots { list-style: none; padding: 0; margin: 0 0 1.2em; }
.dots li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.stat { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 18px 12px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--blue); line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 1.1em; }
.stat span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }

/* Timetable */
.timetable { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.timetable th, .timetable td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.timetable th { width: 110px; color: var(--ink); }
.timetable td { color: var(--brand); font-weight: 600; }
.timetable tr.off th, .timetable tr.off td { color: #95a6b8; font-weight: 400; font-style: italic; }

/* Fees table */
.fees { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.fees th, .fees td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.fees thead th { background: var(--brand); color: #fff; font-weight: 700; }
.fees td:last-child, .fees th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }
.fees thead th:last-child { color: #fff; }
.fees tbody tr:nth-child(even) { background: var(--mist-2); }
.fees tbody tr:last-child td { border-bottom: 0; }
.fees small { display: block; color: var(--muted); font-weight: 400; }

/* Referral table + form callout */
.referral-table td:last-child { vertical-align: top; }
.ref-tag { display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.ref-no { background: #e5f5e8; color: #1f6b33; }
.ref-yes { background: #fff2dc; color: #8a5300; }
.prose .referral-table { margin: 14px 0 8px; }
.form-callout { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 18px; margin: 14px 0 8px; background: var(--mist-2); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--body); transition: border-color .15s ease, box-shadow .15s ease; }
.form-callout:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--body); }
.form-callout img { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 4px 14px rgba(11,32,54,.14); background: #fff; }
.form-callout strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }
.form-callout em { display: block; font-style: normal; font-weight: 700; color: var(--blue); margin-top: 8px; }
@media (max-width: 520px) { .form-callout { grid-template-columns: 80px 1fr; gap: 14px; } .form-callout img { width: 80px; } }

/* Photos */
.photo-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(11,32,54,.78); color: #fff; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* Team */
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--body);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #b7cfe7; }
.team-card img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--mist); border: 4px solid var(--mist); box-shadow: 0 6px 18px rgba(11,32,54,.12); }
.team-card .tc-body { padding: 18px 0 0; }
.team-card h3 { margin-bottom: 2px; font-size: 1.25rem; }
.team-card .role, .bio-full .role { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.team-card .quals, .bio-full .quals { font-size: .88rem; color: var(--brand); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: .97rem; margin: 0; }
.team-card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.team-grid { gap: 20px; }
.team-row { display: flex; align-items: center; gap: 0; }
.team-row img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 2px 8px rgba(11,32,54,.15); }
.team-row img:first-child { margin-left: 0; }
.bio-full { display: grid; grid-template-columns: 200px 1fr; gap: 36px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 110px; }
.bio-full:last-child { border-bottom: 0; }
.bio-full img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 5px solid #fff; box-shadow: var(--shadow); }
.bio-full p { max-width: 70ch; }
@media (max-width: 760px) { .bio-full { grid-template-columns: 1fr; gap: 18px; } .bio-full img { width: 150px; height: 150px; } }

/* Callouts */
.callout { border-left: 4px solid var(--blue); background: #fff; border-radius: 12px; padding: 22px 26px; box-shadow: var(--shadow); }
.callout .eyebrow { margin-bottom: .4em; }
.callout p:last-child { margin-bottom: 0; }
.notice { background: var(--mist); border-radius: 14px; padding: 18px 22px; font-size: .98rem; }

/* Prose (condition/service pages) */
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside .card { padding: 24px; }
.aside h3 { font-size: 1.1rem; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.aside li:last-child a { border-bottom: 0; }
.aside li a:hover, .aside li a[aria-current="page"] { color: var(--blue); }
.book-card { background: var(--navy); color: #c9dcef; border: 0; }
.book-card h3 { color: #fff; }
.book-card .btn { width: 100%; margin-top: 10px; }
@media (max-width: 960px) { .prose-layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* Quiz (one question at a time) */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px clamp(20px, 4vw, 40px) 34px; box-shadow: var(--shadow); }
.quiz-progress { height: 6px; background: var(--mist); border-radius: 6px; overflow: hidden; }
.quiz-bar { height: 100%; width: 0; background: var(--airway); border-radius: 6px; transition: width .4s ease; }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quiz-back { background: none; border: 0; color: var(--brand); font: 600 .9rem var(--sans); cursor: pointer; padding: 6px 8px; border-radius: 8px; text-transform: none; letter-spacing: 0; }
.quiz-back:hover { background: var(--mist-2); color: var(--blue); }
.quiz-stage { position: relative; min-height: 220px; overflow: hidden; }
.quiz-card { padding: 22px 0 6px; }
.quiz-body { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; min-height: 150px; margin-bottom: 26px; will-change: transform, opacity; }
.quiz-icon { width: 96px; height: 96px; border-radius: 24px; background: var(--mist); color: var(--brand); display: grid; place-items: center; }
.quiz-icon svg { width: 66px; height: 66px; }
.quiz-q { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ink); font-weight: 600; margin: 0; }
@media (max-width: 600px) {
  .quiz-body { grid-template-columns: 1fr; gap: 14px; justify-items: start; min-height: 250px; align-content: start; }
  .quiz-icon { width: 76px; height: 76px; border-radius: 20px; }
  .quiz-icon svg { width: 52px; height: 52px; }
}
.quiz-answers { display: flex; gap: 12px; flex-wrap: wrap; }
.quiz-answers .btn { min-width: 140px; font-size: 1.05rem; padding: 1em 2em; }
.quiz-result { padding-top: 18px; opacity: 0; transform: translateY(12px); }
.quiz-result.is-in { animation: rise .5s ease both; }
.quiz-result[data-tier="3"] h2 { color: var(--blue); }
@media (max-width: 520px) { .quiz-answers .btn { flex: 1; } }

/* Checklist page */
.checklist-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .checklist-layout { grid-template-columns: 1fr; } .checklist-layout .aside { position: static; } }
.alert-red { background: #fff3f2; border: 1px solid #f3c4bf; border-left: 4px solid #e8472d; border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; color: #6b1d12; font-size: .97rem; }
.checklist { display: grid; gap: 10px; }
.cl-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 1.02rem; color: var(--ink); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.cl-item:hover { border-color: #b7cfe7; box-shadow: var(--shadow); }
.cl-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-box { flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--brand); border-radius: 7px; background: #fff; position: relative; transition: background .15s ease; }
.cl-box::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat; opacity: 0; transform: scale(.6); transition: .15s ease; }
.cl-item input:checked ~ .cl-box { background: var(--blue); border-color: var(--blue); }
.cl-item input:checked ~ .cl-box::after { opacity: 1; transform: none; }
.cl-item:has(input:checked) { background: var(--mist-2); border-color: var(--blue); }
.cl-item input:focus-visible ~ .cl-box { outline: 3px solid var(--sky); outline-offset: 2px; }
.cl-result { transition: border-color .3s ease, background .3s ease; }
.cl-result[data-tier="2"] { border-color: var(--blue); }
.cl-result[data-tier="3"] { border-color: var(--blue); background: var(--mist-2); box-shadow: var(--shadow); }
.cl-count { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 8px; color: var(--muted); font-size: .95rem; }
.cl-count b { font-family: var(--serif); font-size: 2.4rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.cl-links-head { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
#cl-links .pill { font-size: .88rem; padding: .45em .9em; margin: 0 6px 6px 0; }
#cl-actions .btn { width: 100%; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 8px; }

/* CTA band */
.cta-band { background: var(--navy); border-radius: 28px; padding: clamp(36px, 5vw, 64px); color: #c9dcef; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .eyebrow, .book-card .eyebrow, .site-footer .eyebrow { color: var(--sky); }
.cta-band .hero-lung { opacity: .14; right: -60px; top: -40px; width: 380px; }
.cta-band > :not(.hero-lung) { position: relative; }

/* Contact */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li b { color: var(--blue); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.bg-navy .info-list li { border-color: rgba(255,255,255,.12); }
.bg-navy .info-list li b { color: var(--sky); }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: 20px; background: var(--mist); }
.contact-side { position: sticky; top: 100px; }
@media (max-width: 960px) { .contact-side { position: static; } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.hours tr.today td { color: var(--blue); }

/* Products */
.product-grid { gap: 20px; }
.product { display: flex; flex-direction: column; padding: 20px 22px 24px; }
.product-img { background: var(--mist-2); border-radius: 14px; padding: 14px; margin-bottom: 16px; aspect-ratio: 1; display: grid; place-items: center; transition: background .2s ease; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product:hover .product-img { background: var(--mist); }
.product:hover .product-img img { transform: scale(1.05); }
.product-cat { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.product h3 { font-size: 1.12rem; }
.product p { font-size: .95rem; }
.product .price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin-top: auto; padding-top: 14px; font-weight: 600; line-height: 1.1; }
.product .price small { display: block; font: 500 .82rem/1.4 var(--sans); color: var(--muted); margin-top: 3px; }
@media (max-width: 1100px) { .g4.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .g4.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .g4.product-grid { grid-template-columns: 1fr; } }

/* Booking */
.book-section { background: linear-gradient(180deg, var(--mist) 0, var(--mist-2) 60%, #fff); padding-top: 44px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.booking-shell { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 20px 50px rgba(11,32,54,.14), 0 2px 6px rgba(11,32,54,.06); min-height: 600px; }
.booking-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.booking-head strong { display: block; color: var(--ink); }
.booking-head span { font-size: .85rem; color: var(--muted); }
.booking-shell iframe { display: block; border-radius: 14px; }
.book-aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.book-aside .card { padding: 22px 24px; }
.book-aside h3 { font-size: 1.05rem; }
.book-aside p, .book-aside li { font-size: .95rem; }
.book-aside .ticks li { margin-bottom: .5em; }
.book-aside .btn { width: 100%; }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; } .book-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* Footer */
.site-footer { background: var(--navy); color: #a9c1d8; padding: 72px 0 30px; font-size: .96rem; }
.site-footer .airway-bar { width: 100%; height: 3px; margin-bottom: 56px; opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: #d7e6f4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { width: 220px; margin-bottom: 18px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #7f98b2; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,32,54,.08); }
  .mobile-bar .btn { padding: .85em 1em; }
  body { padding-bottom: 76px; }
}

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

@media print { .site-header, .topbar, .mobile-bar, .site-footer, .btn { display: none !important; } }

.footer-legal { color: #a9c1d8; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal:hover { color: #fff; }


/* =====================================================================
   PHONE LAYOUT (max-width 760px) — desktop is unaffected.
   Follows Apple's Human Interface Guidelines for iPhone:
   - Text: body 17pt, lead 17pt, headings on the iOS scale
     (Large Title 34 / Title 1 28 / Title 2 22 / Title 3 20 / Headline 17),
     nothing smaller than 11pt.
   - Tap targets at least 44x44pt with about 12pt between controls.
   - 16pt side margins.
   - Motion kept short and purposeful; all motion off with Reduce Motion.
   ===================================================================== */
@media (max-width: 760px) {
  :root { --radius: 16px; }
  body { font-size: 17px; line-height: 1.5; -webkit-tap-highlight-color: rgba(30, 138, 232, .15); overscroll-behavior-x: none; }
  /* No accidental double-tap zoom, and taps register immediately. Pinch-to-zoom still works,
     so anyone who needs bigger text can still get it. */
  a, button, summary, label, .btn, .pill, .card { touch-action: manipulation; }
  .wrap { padding: 0 16px; }
  section { padding: 44px 0; }
  h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.01em; }
  h2 { font-size: 28px; line-height: 1.2; }
  h3 { font-size: 19px; line-height: 1.3; }
  .lead, .hero .lead { font-size: 17px; line-height: 1.5; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; margin-bottom: .7em; }
  .section-head { margin-bottom: 24px; }
  p { overflow-wrap: break-word; }

  /* Top bar + header */
  .topbar .wrap { min-height: 36px; justify-content: center; }
  .topbar a { font-size: 15px; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 42px; }
  .menu-toggle { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 11px; }
  .nav { height: calc(100vh - 64px); height: calc(100dvh - 64px); padding: 4px 16px 32px; }
  .nav a.nl, .nav button.nl { min-height: 54px; padding: 0 4px; font-size: 18px; display: flex; align-items: center; }
  body.nav-open .mobile-bar { display: none; }
  .menu-toggle { display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .menu-toggle span { margin: 0; }
  .nav .btn { min-height: 50px; }

  /* Buttons: full-width, 50pt tall, easy to hit */
  .btn { min-height: 50px; padding: 0 20px; font-size: 17px; }
  .btn-row { gap: 12px; }
  .btn-row > .btn { flex: 1 1 100%; }
  .btn svg { width: 20px; height: 20px; }

  /* Home hero */
  .hero { padding: 28px 0 36px; }
  .hero .split { gap: 24px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { margin-bottom: 20px; }
  .hero .hero-lung { width: 300px; right: -120px; top: -60px; }
  .hero-media .photo { aspect-ratio: 16 / 10; border-radius: 18px; animation: none; }
  .breath { inset: -8% -6%; }
  .trust { gap: 8px 16px; margin-top: 20px; padding-top: 18px; font-size: 15px; }
  .review-badge { font-size: 14px; min-height: 44px; }

  /* Inner page hero */
  .page-hero { padding: 28px 0 32px; }
  .page-hero h1 { font-size: 32px; max-width: none; }
  .page-hero .lead { font-size: 17px; }
  .page-hero .hero-lung { width: 260px; right: -110px; top: -40px; }
  .page-hero .btn-row { margin-top: 18px; }
  .crumbs { font-size: 13px; margin-bottom: 12px; }

  /* Conditions on the home page: tidy 2-column grid, all visible */
  .pills-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .pills-lg .pill { font-size: 15px; line-height: 1.25; padding: 8px 10px; min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; border-width: 1.5px; }
  .pills { gap: 8px; }
  .pill { font-size: 15px; padding: .5em .95em; }
  .center .btn { white-space: normal; text-align: center; width: 100%; }
  .pills-lg .pill:last-child:nth-child(odd) { grid-column: span 2; }
  p > .btn:only-child { width: 100%; }

  /* Service / info cards with icons become compact iOS-style list rows */
  .grid:has(> a.card .icon-dot) { gap: 10px; }
  a.card:has(.icon-dot) {
    display: grid; grid-template-columns: 44px 1fr 16px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px;
    align-items: center; padding: 14px 14px 14px 16px; border-radius: 14px;
  }
  a.card:has(.icon-dot) .icon-dot { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  a.card:has(.icon-dot) .icon-dot svg { width: 22px; height: 22px; }
  a.card:has(.icon-dot) h3 { grid-column: 2; margin: 0; font-size: 17px; font-weight: 600; }
  a.card:has(.icon-dot) p { grid-column: 2; font-size: 15px; line-height: 1.35; color: var(--muted); }
  a.card:has(.icon-dot) .more { display: none; }
  a.card:has(.icon-dot)::after {
    content: ""; grid-column: 3; grid-row: 1 / span 2; width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb3c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat;
  }
  a.card:hover { transform: none; }

  /* Plain cards */
  .card { padding: 18px; }
  .card p { font-size: 16px; }
  a.card .more { margin-top: 10px; }

  /* Photos: shorter so they don't take over the screen */
  .split { gap: 24px; }
  .photo-frame { border-radius: 16px; }
  .split > .photo-frame { aspect-ratio: 16 / 10 !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
  .gallery .tall { grid-row: span 1; }
  .gallery:not([style*="repeat(3"]) > figure:first-child:nth-last-child(odd) { grid-column: span 2; }
  .gallery .wide { grid-column: span 2; }
  .gallery figcaption { font-size: 12px; left: 8px; bottom: 8px; }
  .gallery[style*="repeat(3"] { grid-template-columns: repeat(3, 1fr) !important; grid-auto-rows: 96px !important; }

  /* Stats (4–8 / 60 / $30) */
  .stats { gap: 8px; margin: 18px 0; }
  .stat { padding: 12px 6px; border-radius: 12px; }
  .stat b { font-size: 28px; }
  .stat { display: flex; flex-direction: column; justify-content: center; min-height: 86px; }
  .stat span { font-size: 11px; letter-spacing: .04em; line-height: 1.3; }

  /* Lists and tables */
  .ticks li { padding-left: 32px; margin-bottom: .55em; }
  .ticks li::before { width: 20px; height: 20px; top: .18em; }
  .dots li { padding-left: 22px; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .info-list li b { font-size: 12px; }
  .fees th, .fees td { padding: 13px 14px; font-size: 16px; }
  .fees small { font-size: 13px; line-height: 1.4; margin-top: 2px; }
  .hours td { padding: 10px 0; font-size: 16px; }
  .ref-tag { white-space: normal; text-align: center; max-width: 92px; font-size: 12px; line-height: 1.25; padding: .35em .7em; }
  .referral-table td:last-child { width: 1%; }
  .prose .grid.g2 a.card { padding: 16px; }
  .prose .grid.g2 { gap: 10px; }
  .timetable th, .timetable td { font-size: 16px; padding: 11px 2px; }
  .timetable th { width: 96px; }
  .team-row img { width: 48px; height: 48px; }

  /* Maps */
  .map, iframe.map { height: 260px !important; min-height: 0 !important; border-radius: 16px; }

  /* Products: 2 per row, compact */
  .g4.product-grid, .product-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .product { padding: 10px 10px 14px; }
  .product-img { padding: 8px; margin-bottom: 10px; border-radius: 10px; }
  .product-cat { font-size: 11px; letter-spacing: .06em; line-height: 1.3; margin-bottom: 4px; }
  .product h3 { font-size: 16px; line-height: 1.25; margin-bottom: 4px; }
  .product p { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product .price { font-size: 22px; padding-top: 8px; }
  .product .price small { font-size: 12px; }

  /* Downloads + form callout */
  .download-card { padding: 14px; }
  .download-thumb { height: 150px; padding: 10px; }

  /* Condition / service article pages */
  .prose h2 { font-size: 22px; margin-top: 1.4em; }
  .prose h3 { font-size: 19px; }
  .prose-layout { gap: 28px; }
  .aside { gap: 12px; }

  /* FAQ: whole row is a 44pt+ target */
  .faq summary { padding: 14px 40px 14px 0; font-size: 17px; min-height: 48px; }
  .faq details p { font-size: 16px; }

  /* CTA band */
  .cta-band { padding: 28px 20px; border-radius: 20px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band .hero-lung { width: 220px; right: -80px; top: -30px; }

  /* Team: compact rows, photo left */
  .team-grid { gap: 10px; }
  .team-card { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px; }
  .team-card img { width: 76px; height: 76px; border-width: 3px; }
  .team-card .tc-body { padding: 0; }
  .team-card h3 { font-size: 18px; }
  .team-card .role { font-size: 11px; letter-spacing: .08em; }
  .team-card .quals { font-size: 13px; margin-bottom: 4px; line-height: 1.35; }
  .team-card p { font-size: 14px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .team-card .more { margin-top: 4px; font-size: 14px; }
  .bio-full { padding: 28px 0; }
  .bio-full h2 { font-size: 24px !important; }

  /* Booking page */
  .book-section { padding-top: 20px; }
  .booking-shell { padding: 4px; border-radius: 16px; }
  .booking-head { padding: 8px 10px 10px; }

  /* Quiz */
  .quiz { padding: 20px 16px 24px; border-radius: 18px; }
  .quiz-q { font-size: 22px; }
  .quiz-answers .btn { min-height: 56px; }
  .alert-red { font-size: 15px; padding: 14px 16px; }

  /* Footer: bigger tap targets, calmer spacing */
  .site-footer { padding: 44px 0 24px; font-size: 16px; }
  .site-footer .airway-bar { margin-bottom: 32px; }
  .footer-grid { gap: 28px; }
  .site-footer li { margin: 0; }
  .site-footer li a { display: flex; align-items: center; min-height: 44px; }
  .site-footer .logo { width: 190px; }
  .footer-base { margin-top: 28px; font-size: 13px; flex-direction: column; gap: 6px; }

  /* The Call / Book box is hidden on phones: the fixed bar at the bottom already does the job */
  .cta-section { display: none; }

  /* Sticky bottom bar */
  .mobile-bar { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
  .mobile-bar .btn { min-height: 48px; font-size: 16px; padding: 0 10px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* Phone motion: short and purposeful */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(10px); transition-duration: .4s; }
  .grid > .reveal:nth-child(n) { transition-delay: 0s; }
}

/* Back-to-top button: phones only, sits above the Call/Book bar where the right thumb rests */
.to-top { display: none; }
@media (max-width: 760px) {
  .to-top {
    display: grid; place-items: center; position: fixed; z-index: 55;
    right: 16px; bottom: calc(82px + env(safe-area-inset-bottom));
    width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    color: #fff; background: rgba(11, 32, 54, .55);
    -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
    box-shadow: 0 4px 14px rgba(11, 32, 54, .18);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .15s ease;
  }
  .to-top svg { width: 22px; height: 22px; }
  .to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .15s ease; }
  .to-top:active { background: rgba(11, 32, 54, .8); transform: scale(.94); }
  body.nav-open .to-top { opacity: 0; visibility: hidden; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .to-top, .to-top.show { transform: none; }
}

/* =====================================================================
   LIGHT / DARK MODE
   Dark colours are chosen for WCAG AA contrast (4.5:1+ for body text).
   ===================================================================== */

/* Toggle button (sun <-> moon). Desktop: after "Book online". Phone: beside the menu button. */
.brand .logo-dark { display: none; }
.site-header .wrap > .brand { order: 0; }
.site-header .wrap > .nav { order: 1; }
.site-header .wrap > .theme-toggle { order: 2; }
.site-header .wrap > .menu-toggle { order: 3; }
.theme-toggle {
  flex: none; width: 44px; height: 44px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle:active { transform: scale(.92); }
/* Sun and moon are two separate shapes that cross-fade: no CSS geometry properties,
   so it renders the same on iOS Safari, Android and desktop. */
.theme-toggle svg { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity .35s ease, transform .45s cubic-bezier(.4,0,.2,1); }
.tt-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.tt-moon { opacity: 0; transform: rotate(-70deg) scale(.5); }
:root[data-theme="dark"] .tt-sun { opacity: 0; transform: rotate(70deg) scale(.5); }
:root[data-theme="dark"] .tt-moon { opacity: 1; transform: rotate(0deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .theme-toggle svg { transition: none; transform: none !important; } }
@media (max-width: 1240px) {
  .site-header .wrap > .theme-toggle { margin-left: auto; }
  .site-header .wrap { gap: 10px; }
}

/* Theme switch animation */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root.theme-fade, :root.theme-fade * { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }

/* Light tokens used by the dark overrides */
:root { --surface: #fff; --header-bg: rgba(255,255,255,.96); }

/* Dark palette */
:root[data-theme="dark"] {
  color-scheme: dark;
  --white: #0e1827;         /* page background */
  --surface: #15233a;       /* cards */
  --mist-2: #111d30;        /* soft sections */
  --mist: #18283f;          /* tinted sections, icon tiles */
  --line: #2a3d57;
  --ink: #eef4fb;           /* headings  (15.9:1 on page) */
  --body: #c7d4e2;          /* body text (11.6:1 on page, 9.9:1 on cards) */
  --muted: #9cb0c6;         /* secondary text (7.2:1 on cards) */
  --brand: #8cc4ff;         /* links (9.6:1) */
  --blue: #3d9bf0;          /* accents, eyebrows (6.0:1) */
  --sky: #9fd0ff;
  --navy: #081220;          /* banners / footer: darker than the page */
  --navy-2: #1b3452;
  --header-bg: rgba(14, 24, 39, .92);
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.35);
}
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }

/* Surfaces that were hard-coded white */
:root[data-theme="dark"] .site-header { background: var(--header-bg); }
:root[data-theme="dark"] .sub,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .team-card,
:root[data-theme="dark"] .stat,
:root[data-theme="dark"] .fees,
:root[data-theme="dark"] .callout,
:root[data-theme="dark"] .quiz,
:root[data-theme="dark"] .cl-item,
:root[data-theme="dark"] .review-badge,
:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .btn-ghost { background: var(--surface); }
:root[data-theme="dark"] .book-card { background: var(--navy); border: 1px solid var(--line); }
:root[data-theme="dark"] .fees tbody tr:nth-child(even) { background: #182841; }
:root[data-theme="dark"] .fees thead th { background: #1f5f96; }
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, #111d30, var(--white)); }
:root[data-theme="dark"] .hero .hero-lung { opacity: .12; }
:root[data-theme="dark"] .book-section { background: linear-gradient(180deg, var(--mist) 0, var(--mist-2) 60%, var(--white)); }
:root[data-theme="dark"] .booking-shell { background: var(--surface); box-shadow: var(--shadow); }
:root[data-theme="dark"] .page-hero, :root[data-theme="dark"] .bg-navy, :root[data-theme="dark"] .cta-band { border-bottom: 1px solid #1c2c44; }
:root[data-theme="dark"] .cta-band { border: 1px solid #1c2c44; }
:root[data-theme="dark"] .site-footer { border-top: 1px solid #1c2c44; }

/* Buttons */
:root[data-theme="dark"] .btn-dark { background: #2b4c73; color: #fff; }
:root[data-theme="dark"] .btn-dark:hover { background: #355b88; }
:root[data-theme="dark"] .btn-primary { background: #1a6fc0; }
:root[data-theme="dark"] .btn-primary:hover { background: #1f7bd2; }
:root[data-theme="dark"] .btn-ghost { color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .btn-ghost:hover { border-color: var(--blue); color: var(--brand); }

/* Pills, ticks, checkboxes, tags */
:root[data-theme="dark"] .pill { border-color: #4f8fd0; color: var(--ink); }
:root[data-theme="dark"] a.pill:hover { background: #1f5f96; border-color: #1f5f96; color: #fff; }
:root[data-theme="dark"] .ticks li::before { background-color: #1f7fd6; }
:root[data-theme="dark"] .cl-box { background: var(--surface); border-color: var(--brand); }
:root[data-theme="dark"] .ref-no { background: #173d27; color: #9be3b0; }
:root[data-theme="dark"] .ref-yes { background: #45300c; color: #ffd08a; }
:root[data-theme="dark"] .alert-red { background: #3a1714; border-color: #6e2a23; border-left-color: #ff6b57; color: #ffd4cd; }
:root[data-theme="dark"] .timetable tr.off th, :root[data-theme="dark"] .timetable tr.off td { color: #7f93a9; }
:root[data-theme="dark"] a.card:hover, :root[data-theme="dark"] .team-card:hover, :root[data-theme="dark"] .cl-item:hover { border-color: #3d5a80; }
:root[data-theme="dark"] .nav .has-sub.open > .nl::after { background-color: #22406a; }
:root[data-theme="dark"] .nav .has-sub > .nl::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cc4ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .menu-toggle { border-color: var(--line); }
:root[data-theme="dark"] .menu-toggle span { background: var(--ink); }

/* Photos, portraits, product images */
:root[data-theme="dark"] .team-row img, :root[data-theme="dark"] .bio-full img { border-color: var(--surface); }
:root[data-theme="dark"] .team-card img { border-color: var(--mist); }
:root[data-theme="dark"] .product-img { background: #eef3f9; }         /* keep product cut-outs on a light tile so white devices stay visible */
:root[data-theme="dark"] .product:hover .product-img { background: #e2ebf5; }
:root[data-theme="dark"] .download-thumb, :root[data-theme="dark"] .form-callout { background: var(--mist-2); }
:root[data-theme="dark"] img:not([src*="logo"]):not([src*="icon"]):not([src*="products"]):not([src*="handouts"]) { filter: brightness(.92); }
:root[data-theme="dark"] .map { filter: brightness(.85) contrast(1.05); }

/* Phone-only surfaces */
@media (max-width: 1240px) {
  :root[data-theme="dark"] .nav { background: var(--white); }
}
@media (max-width: 760px) {
  :root[data-theme="dark"] .mobile-bar { background: var(--surface); border-top-color: var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.4); }
  :root[data-theme="dark"] .to-top { background: rgba(238, 244, 251, .22); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
  :root[data-theme="dark"] .to-top:active { background: rgba(238, 244, 251, .35); }
}

/* =====================================================================
   BURGER MENU MOTION (phones / tablets)
   Panel glides in on an iOS-style ease, items settle in one after another,
   and the burger icon turns into an X. Short and subtle, ~0.4s in total.
   ===================================================================== */
@media (max-width: 1240px) {
  .nav {
    /* Fades and drops in, rather than sliding in from off-screen: an off-screen panel makes
       the whole page draggable sideways on iOS. */
    opacity: 0;
    transform: translateY(-10px);
    transition: transform .3s cubic-bezier(.4, 0, .6, 1), opacity .2s ease, visibility 0s linear .3s;
  }
  .nav.open {
    opacity: 1;
    transform: translateY(0);
    transition: transform .42s cubic-bezier(.32, .72, 0, 1), opacity .22s ease, visibility 0s;
  }
  .nav.open > ul > li, .nav.open > .btn { animation: menu-item .42s cubic-bezier(.32, .72, 0, 1) both; }
  .nav.open > ul > li:nth-child(1) { animation-delay: .06s; }
  .nav.open > ul > li:nth-child(2) { animation-delay: .10s; }
  .nav.open > ul > li:nth-child(3) { animation-delay: .14s; }
  .nav.open > ul > li:nth-child(4) { animation-delay: .18s; }
  .nav.open > ul > li:nth-child(5) { animation-delay: .22s; }
  .nav.open > ul > li:nth-child(6) { animation-delay: .26s; }
  .nav.open > ul > li:nth-child(7) { animation-delay: .30s; }
  .nav.open > .btn { animation-delay: .34s; }
  @keyframes menu-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* Burger turns into an X */
  .menu-toggle span { transition: transform .34s cubic-bezier(.32,.72,0,1), opacity .2s ease; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Submenu opening inside the menu */
  .has-sub.open .sub { animation: sub-open .28s cubic-bezier(.32, .72, 0, 1) both; }
}
@media (max-width: 1240px) and (prefers-reduced-motion: reduce) {
  .nav, .nav.open { transition: opacity .15s ease, visibility 0s; transform: none; }
  .nav.open > ul > li, .nav.open > .btn, .has-sub.open .sub { animation: none; }
  .menu-toggle span { transition: none; }
}

/* "Send referrals to" email on the GP page */
.referral-email { margin: 0 0 14px; font-size: clamp(1.05rem, 2.2vw, 1.5rem); line-height: 1.25; }
.referral-email a { color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; border-bottom: 2px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.referral-email a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 760px) { .referral-email { font-size: 1.05rem; } }

/* Tidy, evenly sized condition pills (desktop / tablet).
   Equal widths and a centred last row, instead of ragged wrapping. */
@media (min-width: 761px) {
  .pills-lg { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; }
  .pills-lg .pill {
    flex: 0 1 calc(25% - 9px); display: flex; align-items: center; justify-content: center;
    text-align: center; min-height: 56px; padding: .55em 1em; font-size: 1.02rem; line-height: 1.25;
  }
  .pills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
  .pills-grid .pill {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 50px; padding: .5em .8em; font-size: .95rem; line-height: 1.25;
  }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .pills-lg .pill { flex-basis: calc(33.333% - 8px); }
}

/* =====================================================================
   DEVICE GUIDE PAGES (/products/<device>)
   ===================================================================== */
.device-hero { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; }
.device-shot { background: #fff; border-radius: 20px; padding: 18px; display: grid; place-items: center; box-shadow: var(--shadow); }
.device-shot img { width: 100%; height: auto; }
.device-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; margin-top: 18px; }
.device-price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; }
.device-price small { display: block; font: 500 .85rem/1.4 var(--sans); color: #9fb7cf; margin-top: 4px; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.4em; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mist); color: var(--brand); font: 700 1rem/34px var(--sans); text-align: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.steps li strong { color: var(--ink); }

/* Care / replace panels */
.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 8px; }
.care-card { background: var(--mist-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.care-card h3 { font-size: 1.05rem; margin-bottom: .5em; display: flex; align-items: center; gap: 8px; }
.care-card ul { margin: 0; padding-left: 1.1em; font-size: .98rem; }
.care-card li { margin-bottom: .45em; }
.device-note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 34px; padding-top: 16px; }
.device-note a { color: var(--brand); }
.warn-list { list-style: none; padding: 0; margin: 0; }
.warn-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.warn-list li::before {
  content: "!"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: #f7931e; color: #fff; font: 700 .8rem/20px var(--sans); text-align: center;
}
:root[data-theme="dark"] .device-shot { background: #eef3f9; }
:root[data-theme="dark"] .care-card { background: var(--surface); }

@media (max-width: 760px) {
  .device-hero { grid-template-columns: 1fr; gap: 18px; }
  .device-shot { padding: 14px; border-radius: 16px; max-width: 200px; }
  .device-price { font-size: 1.7rem; }
  .care-grid { grid-template-columns: 1fr; gap: 12px; }
  .care-card { padding: 16px 18px; }
  .steps li { padding-left: 46px; padding-bottom: 16px; }
  .steps li::before { width: 30px; height: 30px; line-height: 30px; font-size: .95rem; }
  .steps li:not(:last-child)::after { left: 15px; top: 32px; }
}

/* =====================================================================
   BOOKING FRONT DOOR — list rows (mock)
   ===================================================================== */
.book-rows { display: grid; gap: 12px; margin: 0 0 12px; }
.book-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.book-row:hover { border-color: #b7cfe7; box-shadow: var(--shadow); }
.book-row .icon-dot { width: 56px; height: 56px; margin: 0; border-radius: 16px; }
.book-row .icon-dot svg { width: 28px; height: 28px; }
.book-row h3 { margin: 0 0 3px; font-size: 1.18rem; }
.book-row p { margin: 0 0 8px; font-size: .98rem; color: var(--muted); max-width: 52ch; }
.row-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; background: var(--mist); color: var(--brand); white-space: nowrap;
}
.chip-price { background: var(--mist-2); color: var(--ink); border: 1px solid var(--line); }
.chip-free { background: #e5f5e8; color: #1f6b33; }
.book-row .row-action { display: grid; gap: 6px; justify-items: stretch; min-width: 168px; }
.book-row .btn { width: 100%; }
.row-sub { font-size: .8rem; color: var(--muted); text-align: center; }
.book-row.phone-only { background: var(--mist-2); }
.book-row.phone-only .icon-dot { background: #fff2dc; color: #8a5300; }
:root[data-theme="dark"] .chip-free { background: #173d27; color: #9be3b0; }
:root[data-theme="dark"] .book-row.phone-only .icon-dot { background: #45300c; color: #ffd08a; }
:root[data-theme="dark"] .book-row:hover { border-color: #3d5a80; }

/* Practitioner strip */
.prac-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.prac-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.prac-chip:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.prac-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center 20%; }

@media (max-width: 760px) {
  .book-row { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; row-gap: 12px; }
  .book-row .icon-dot { width: 44px; height: 44px; border-radius: 13px; }
  .book-row .icon-dot svg { width: 22px; height: 22px; }
  .book-row h3 { font-size: 17px; }
  .book-row p { font-size: 15px; }
  .book-row .row-action { grid-column: 1 / -1; min-width: 0; }
  .chip { font-size: 13px; }
  .prac-chip { font-size: 15px; }
}

/* Practitioner photo inside a booking row */
.book-row .prac-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--mist); }
@media (max-width: 760px) { .book-row .prac-photo { width: 44px; height: 44px; } }

/* Buttons under the embedded booking widget */
.booking-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 10px 6px; border-top: 1px solid var(--line); margin-top: 8px; }
.booking-foot .btn { flex: 1 1 auto; }
@media (max-width: 760px) { .booking-foot { padding: 12px 4px 4px; } .booking-foot .btn { flex: 1 1 100%; } }

/* Landing on a booking step: show the options, not the banner */
#choose { scroll-margin-top: 92px; }
@media (max-width: 760px) { #choose { scroll-margin-top: 76px; } }

/* Slim header for booking steps: options are visible immediately, no scroll jump */
.page-strip { background: var(--navy); color: #c9dcef; padding: 14px 0 18px; position: relative; overflow: hidden; }
.page-strip .crumbs { margin-bottom: 8px; }
.page-strip h1 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 6px; max-width: 26ch; }
.page-strip p { color: #c9dcef; font-size: 1rem; margin: 0; max-width: 70ch; }
.page-strip .hero-lung { width: 260px; right: -90px; top: -70px; opacity: .1; }
@media (max-width: 760px) {
  .page-strip { padding: 10px 0 14px; }
  .page-strip h1 { font-size: 21px; }
  .page-strip p { font-size: 15px; }
  .page-strip .hero-lung { display: none; }
}

/* Section labels for screen readers (keeps heading order h1 > h2 > h3 on card pages) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   NO SIDEWAYS SCROLLING (iOS especially)
   Pinch-to-zoom still works; the page just can't be dragged off to one side.
   ===================================================================== */
html, body { max-width: 100%; overflow-x: clip; }
/* Older iOS (before Safari 16) doesn't understand overflow: clip */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
@media (max-width: 1024px) {
  /* Vertical scrolling and pinch-zoom allowed; horizontal panning of the page is not. */
  body { touch-action: pan-y pinch-zoom; }
}

/* Booking page: breathing room around the rows, their chips and the cards underneath */
.book-note { font-size: .95rem; margin: 18px auto 0; max-width: 60ch; }
.book-rows { gap: 14px; }
.book-row .row-meta { gap: 8px 10px; margin-top: 10px; }
.book-row .chip { padding: 5px 13px; }
.book-row p { margin-bottom: 0; }
.book-layout, .book-rows + .split { margin-top: 44px; }
.book-rows ~ .split .card { padding: 26px 28px; }
.book-rows ~ .split { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .book-rows { gap: 12px; }
  .book-row { padding: 18px 16px; row-gap: 14px; }
  .book-row .row-meta { gap: 8px; margin-top: 12px; }
  .book-row .chip { padding: 6px 12px; }
  .book-note { font-size: 15px; margin-top: 16px; }
  .book-rows ~ .split { gap: 14px; grid-template-columns: 1fr; margin-top: 32px; }
  .book-rows ~ .split .card { padding: 20px; }
}

/* "Not sure which one you need?" card: roomier text, buttons centred at the bottom */
.book-rows ~ .split { align-items: stretch !important; }
.book-rows ~ .split .card { display: flex; flex-direction: column; }
.book-rows ~ .split .card:first-child { text-align: center; align-items: center; padding: 30px 28px; }
.book-rows ~ .split .card:first-child h3 { font-size: 1.22rem; margin-bottom: .7em; }
.book-rows ~ .split .card:first-child p { margin: 0 0 24px; max-width: 42ch; line-height: 1.6; }
.book-rows ~ .split .card:first-child .btn-row { margin-top: auto; justify-content: center; width: 100%; gap: 12px; }
.book-rows ~ .split .card:first-child .btn { flex: 1 1 0; min-width: 0; padding: .9em 1em; }
.book-rows ~ .split .card:last-child h3 { margin-bottom: .8em; }
.book-rows ~ .split .card:last-child .ticks li { margin-bottom: .55em; }
@media (max-width: 760px) {
  .book-rows ~ .split .card:first-child { padding: 24px 20px; }
  .book-rows ~ .split .card:first-child p { margin-bottom: 20px; }
  .book-rows ~ .split .card:first-child .btn { flex: 1 1 100%; }
}

/* Booking step 2: physiotherapist rows and the notes beneath them */
.book-rows--people { gap: 16px; }
.step-note { margin: 26px auto 0; max-width: 62ch; }
.step-back { margin: 22px auto 0; max-width: 62ch; }
@media (max-width: 760px) {
  .book-rows--people { gap: 14px; }
  .step-note { margin-top: 22px; font-size: 15px; }
  .step-back { margin-top: 18px; font-size: 15px; }
}

/* =====================================================================
   PHONE: slimmer, frosted-glass Call / Book bar (iOS style)
   ===================================================================== */
@media (max-width: 760px) {
  .mobile-bar {
    gap: 8px;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(11, 32, 54, .08);
    box-shadow: 0 -1px 10px rgba(11, 32, 54, .05);
  }
  .mobile-bar .btn { min-height: 40px; font-size: 15px; padding: 0 12px; border-radius: 12px; }
  .mobile-bar .btn svg { width: 16px; height: 16px; }
  .mobile-bar .btn-ghost { background: rgba(255, 255, 255, .5); border-color: rgba(11, 32, 54, .13); }
  .mobile-bar .btn-primary { background: rgba(23, 107, 189, .95); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(68px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  :root[data-theme="dark"] .mobile-bar {
    background: rgba(14, 24, 39, .7);
    border-top-color: rgba(255, 255, 255, .1);
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .3);
  }
  :root[data-theme="dark"] .mobile-bar .btn-ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: var(--ink); }
  :root[data-theme="dark"] .mobile-bar .btn-primary { background: rgba(26, 111, 192, .95); }
}
/* Fallback for browsers without backdrop blur: keep it solid so text stays readable */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (max-width: 760px) {
    .mobile-bar { background: #fff; }
    :root[data-theme="dark"] .mobile-bar { background: var(--surface); }
  }
}

/* =====================================================================
   OUR TEAM: compact cards so the whole team is visible at a glance,
   then clicking someone scrolls down to their full bio.
   ===================================================================== */
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team-card { padding: 22px 16px 20px; }
.team-card img { width: 104px; height: 104px; }
.team-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.team-card .role { font-size: .68rem; letter-spacing: .1em; margin-bottom: 3px; }
.team-card .quals { font-size: .8rem; line-height: 1.35; margin-bottom: 8px; }
.team-card p { font-size: .92rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-card .more { margin-top: 10px; font-size: .88rem; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) and (min-width: 761px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The bio a visitor clicked through to gets a brief highlight so they can see where they landed */
.bio-full:target, .bio-full.flash { animation: bio-flash 1.6s ease-out 1; }
@keyframes bio-flash {
  from { background: var(--mist); box-shadow: 0 0 0 12px var(--mist); }
  to { background: transparent; box-shadow: 0 0 0 12px transparent; }
}
@media (prefers-reduced-motion: reduce) { .bio-full:target, .bio-full.flash { animation: none; } }

@media (max-width: 760px) {
  /* Phone keeps the single-column rows set earlier */
  .team-grid { grid-template-columns: 1fr; }
  .team-card img { width: 76px; height: 76px; }
}

/* Small, quiet button (used at the end of each physiotherapist's bio) */
.btn-sm { min-height: 0; padding: .55em 1.1em; font-size: .9rem; border-width: 1px; }
.btn-sm svg { width: 15px; height: 15px; }
.bio-full .btn-sm { margin-top: 4px; }
@media (max-width: 760px) {
  .btn-sm { min-height: 40px; font-size: 15px; padding: 0 16px; }
  .bio-full .btn-sm { margin-top: 8px; }
}

/* =====================================================================
   FOR GPs: three steps up top, then collapsible detail
   ===================================================================== */
.gp-how { background: var(--mist-2); padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: gp; }
.how-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; position: relative; }
.how-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font: 700 .95rem/1 var(--sans); margin-bottom: 14px;
}
.how-steps h3 { font-size: 1.1rem; margin-bottom: .4em; }
.how-steps p { font-size: .97rem; color: var(--muted); margin: 0; }
.how-steps .btn-sm { margin-top: 14px; }
:root[data-theme="dark"] .how-steps li { background: var(--surface); }
:root[data-theme="dark"] .how-num { background: #1f7fd6; }

/* Collapsible detail: reuse the FAQ styling, a little tighter */
.gp-faq { border-top: 1px solid var(--line); }
.gp-faq details { border-bottom: 1px solid var(--line); }
.gp-faq summary { font-size: 1.05rem; padding: 15px 40px 15px 0; }
.gp-faq p, .gp-faq li { font-size: .98rem; }
.gp-faq .ticks, .gp-faq .dots { margin-bottom: 1em; }

/* Contact card sticks alongside on desktop */
.gp-card { border-radius: 24px; padding: 32px; position: sticky; top: 100px; }

@media (max-width: 1080px) { .how-steps { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 960px) { .gp-card { position: static; } }
@media (max-width: 760px) {
  .gp-how { padding: 26px 0 28px; }
  .how-steps li { padding: 18px 18px 20px; }
  .how-steps h3 { font-size: 17px; }
  .how-steps p { font-size: 15px; }
  .how-num { width: 30px; height: 30px; margin-bottom: 10px; }
  .gp-card { padding: 22px 20px; border-radius: 18px; }
  .gp-faq summary { font-size: 17px; min-height: 48px; }
  .gp-faq p, .gp-faq li { font-size: 16px; }
}

/* =====================================================================
   CALL-BACK / FEEDBACK FORM
   ===================================================================== */
.cb-form { background: var(--mist-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px 22px; margin: 18px 0 8px; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.cb-form label { display: block; font: 600 .88rem/1.4 var(--sans); color: var(--ink); margin-bottom: 14px; }
.cb-form input, .cb-form select, .cb-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font: 400 1rem/1.4 var(--sans);
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cb-form textarea { resize: vertical; min-height: 96px; }
.cb-form input:focus, .cb-form select:focus, .cb-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 107, 189, .16);
}
.cb-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7187' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.cb-note { font-size: .88rem; color: var(--muted); margin: 2px 0 16px; }
.cb-form .btn-row { margin: 0; }
:root[data-theme="dark"] .cb-form { background: var(--mist-2); }
:root[data-theme="dark"] .cb-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cb0c6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

@media (max-width: 760px) {
  .cb-form { padding: 18px 16px 16px; border-radius: 16px; }
  .cb-row { grid-template-columns: 1fr; gap: 0; }
  .cb-form label { font-size: 15px; }
  /* 16px minimum stops iOS zooming in when a field is tapped */
  .cb-form input, .cb-form select, .cb-form textarea { font-size: 16px; padding: 12px 14px; min-height: 46px; }
  .cb-note { font-size: 14px; }
  .cb-form .btn-row .btn { flex: 1 1 100%; }
}

/* Narrow content column, used for the call-back form on the contact page */
.wrap.narrow { max-width: 820px; }

/* "Last updated" stamp, e.g. under the pulmonary rehab class timetable */
.updated {
  margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); letter-spacing: .01em;
}
.updated time { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .updated { font-size: 13px; } }

/* =====================================================================
   SLIMMER CLOSING CTA BAND
   It appears at the foot of nearly every page, so it should read as a
   sign-off rather than a second hero. Phones hide it entirely (above),
   so these only apply from tablet up.
   ===================================================================== */
@media (min-width: 761px) {
  .cta-section { padding: clamp(40px, 5vw, 64px) 0; }
  .cta-band { padding: clamp(28px, 3.2vw, 40px) clamp(28px, 3.6vw, 48px); border-radius: 22px; }
  .cta-band .eyebrow { font-size: .72rem; margin-bottom: .5em; }
  .cta-band h2 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); max-width: 24ch; margin-bottom: .35em; }
  .cta-band .lead { font-size: 1rem; max-width: 56ch; }
  .cta-band .hero-lung { width: 260px; right: -50px; top: -30px; opacity: .11; }
}

/* =====================================================================
   PULMONARY REHAB CLASS TIMES CARD
   Give the headings under the timetable room to breathe, so "Cost &
   rebates" and "How to join" read as separate sections.
   ===================================================================== */
.class-card { padding: 30px; }
.class-card .updated { margin-top: 14px; padding-top: 12px; }
.class-card h3 { margin: 30px 0 .5em; font-size: 1.12rem; }
.class-card h3 + p { margin-top: 0; }
.class-card p { margin: 0 0 4px; line-height: 1.6; }
.class-card .btn-row { margin-top: 26px; }
@media (max-width: 760px) {
  .class-card { padding: 20px 18px; }
  .class-card h3 { margin-top: 26px; font-size: 18px; }
}

/* On wide screens the closing band puts its buttons beside the text rather
   than under it, which roughly halves its height without losing anything. */
@media (min-width: 1000px) {
  .cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .cta-band > .eyebrow, .cta-band > h2, .cta-band > .lead { grid-column: 1; }
  .cta-band > .btn-row { grid-column: 2; grid-row: 1 / -1; align-self: center; margin-top: 0; flex-wrap: nowrap; }
  .cta-band > .lead { margin-bottom: 0; }
}
@media (min-width: 761px) and (max-width: 999px) {
  .cta-band .btn-row { margin-top: 18px; }
}

/* Closing band, final layout: copy on the left, buttons on the right and
   vertically centred once there is room for them side by side. */
.cta-band > .cta-copy > :last-child { margin-bottom: 0; }
@media (min-width: 1000px) {
  .cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .cta-band > .btn-row { margin-top: 0; flex-wrap: nowrap; }
}
@media (max-width: 999px) {
  .cta-band > .btn-row { margin-top: 18px; }
}

/* =====================================================================
   PHONE TAP TARGETS
   Standalone links that sat under Apple's 44pt minimum. The text stays
   the same size; only the tappable area grows, using padding and a
   negative margin so nothing shifts on the page.
   ===================================================================== */
@media (max-width: 1024px) {
  /* Top bar "Call ..." link */
  .topbar .wrap > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
  .topbar { padding-top: 0; padding-bottom: 0; }

  /* Footer legal links sit in a row, so give them height and space apart */
  .footer-legal { display: inline-block; padding: 12px 4px; margin: -12px 0; }
  .footer-base span { line-height: 1.5; }

  /* Contact / clinic detail rows: phone, email and "get directions" links */
  .info-list li a { display: inline-block; min-height: 44px; line-height: 44px; }
  .info-list li span a { line-height: 1.5; min-height: 0; }
  .info-list li > a { line-height: 44px; }
}

/* Breadcrumb links are standalone navigation, so give them a real tap area on phones */
@media (max-width: 1024px) {
  .crumbs a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
}
