/* SSEM Network site styles. Mobile-first. Plain CSS, no preprocessor. */

/* =========================================================================
   1. Brand tokens
   ========================================================================= */
:root {
  /* Brand palette per CLAUDE.md */
  --brand-navy: #0D2340;
  --brand-gold: #C9A96E;
  --brand-white: #FFFFFF;

  /* Supporting palette (design discretion, derived from brand) */
  --brand-navy-deep: #061528;
  --brand-navy-700: #1a345a;
  --brand-gold-deep: #B08F50;
  --brand-gold-text: #836A2E; /* AA-compliant gold for text on light backgrounds */
  --brand-gold-soft: #E2CFA3;
  --brand-cream: #FAF7F1;
  --brand-cream-warm: #F4EFE3;

  /* Neutral text tones */
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-on-navy: rgba(255, 255, 255, 0.92);
  --text-on-navy-muted: rgba(255, 255, 255, 0.72);

  /* Surface */
  --surface-card: #FFFFFF;
  --surface-card-hover: #FBFAF6;
  --surface-divider: #E8EAEC;
  --surface-divider-strong: #D4D8DD;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: 0.8125rem;       /* 13 */
  --fs-sm: 0.875rem;        /* 14 */
  --fs-base: 1rem;          /* 16 */
  --fs-md: 1.0625rem;       /* 17 */
  --fs-lg: 1.1875rem;       /* 19 */
  --fs-xl: 1.375rem;        /* 22 */
  --fs-h3: clamp(1.375rem, 1.15rem + 1.1vw, 1.875rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.55rem + 3.5vw, 4.5rem);
  --fs-display: clamp(2.5rem, 1.8rem + 4vw, 5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  --tracking-display: -0.02em;
  --tracking-label: 0.16em;

  /* Spacing scale (8px grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;
  --space-13: 8rem;

  --section-py: clamp(4rem, 3rem + 5vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 880px;
  --container-pad: clamp(1rem, 0.5rem + 2vw, 2rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(13, 35, 64, 0.04), 0 4px 16px rgba(13, 35, 64, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(13, 35, 64, 0.06), 0 16px 32px rgba(13, 35, 64, 0.10);
  --shadow-nav: 0 1px 0 rgba(13, 35, 64, 0.08);
  --shadow-nav-scrolled: 0 2px 12px rgba(13, 35, 64, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 600ms;

  /* Layered z-index */
  --z-base: 1;
  --z-sticky: 50;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;

  /* Header height (used to offset sticky scroll anchors) */
  --header-h: clamp(72px, 8vw, 104px);
  --header-h-scrolled: clamp(60px, 6vw, 84px);
}

/* =========================================================================
   2. Reset and base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, picture { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover, a:focus-visible { color: var(--brand-gold-text); }

:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-navy);
  color: var(--brand-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: var(--z-modal);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus { top: 1rem; color: var(--brand-white); }

/* =========================================================================
   3. Typography
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--brand-navy);
  margin: 0 0 var(--space-5);
}

h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-xl); font-weight: 500; line-height: var(--lh-snug); letter-spacing: -0.005em; }

p { margin: 0 0 var(--space-5); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  max-width: 60ch;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold-text);
  margin: 0 0 var(--space-4);
}

.section-title { margin-top: 0; }

.section-subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  max-width: 56ch;
  margin-block: 0 var(--space-9);
}

/* Visually hidden but available to screen readers and crawlers */
.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;
}

/* =========================================================================
   4. Layout primitives
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

main { display: block; }

section { padding-block: var(--section-py); }

section.section-cream { background: var(--brand-cream); }
section.section-navy {
  background: var(--brand-navy);
  color: var(--text-on-navy);
}
section.section-navy h1,
section.section-navy h2,
section.section-navy h3,
section.section-navy h4 { color: var(--brand-white); }
section.section-navy a { color: var(--brand-gold-soft); }

/* =========================================================================
   5. Buttons and links
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-3) var(--space-7);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--brand-gold-deep);
  border-color: var(--brand-gold-deep);
  color: var(--brand-navy);
  box-shadow: 0 6px 20px rgba(176, 143, 80, 0.3);
}

.btn-secondary {
  background: var(--brand-navy);
  color: var(--brand-white);
  border-color: var(--brand-navy);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--brand-navy-700);
  border-color: var(--brand-navy-700);
  color: var(--brand-white);
}

.btn-outline {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--brand-navy);
  color: var(--brand-white);
}

/* Buttons placed inside .prose: keep their own text colours and no underline
   (prose link styling would otherwise tint the label gold, low-contrast on gold). */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: var(--brand-navy); }
.prose a.btn-secondary { color: var(--brand-white); }
.prose a.btn-outline { color: var(--brand-navy); }
.prose a.btn-outline:hover, .prose a.btn-outline:focus-visible { color: var(--brand-white); }

section.section-navy .btn-outline,
.hero .btn-outline {
  color: var(--brand-white);
  border-color: var(--brand-white);
}
section.section-navy .btn-outline:hover,
.hero .btn-outline:hover {
  background: var(--brand-white);
  color: var(--brand-navy);
}

.btn-ghost {
  padding-inline: var(--space-4);
  background: transparent;
  color: var(--brand-navy);
}

.btn-ghost:hover { color: var(--brand-gold-text); }

/* Icon-leading link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--brand-navy);
  position: relative;
  padding-bottom: 2px;
}

.link-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out);
}

.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }

.link-arrow svg { transition: transform var(--duration-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================================
   6a. Launch banner (above sticky header, dismissible)
   ========================================================================= */
.launch-banner {
  position: relative;
  z-index: calc(var(--z-nav) + 1);
  background: linear-gradient(95deg, var(--brand-navy) 0%, var(--brand-navy-700) 100%);
  color: var(--brand-white);
  font-size: var(--fs-sm);
}

.launch-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  position: relative;
}

.launch-banner__link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: var(--brand-white);
  text-decoration: none;
  text-align: center;
  justify-content: center;
}

.launch-banner__link:hover { color: var(--brand-gold-soft); }
.launch-banner__link:hover .launch-banner__badge { background: var(--brand-gold-soft); }

.launch-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 2px 10px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
  transition: background var(--duration-fast) var(--ease-out);
}

.launch-banner__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-navy);
  box-shadow: 0 0 0 0 rgba(13, 35, 64, 0.4);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .launch-banner__badge::before { animation: none; }
}

.launch-banner__copy { font-weight: 500; }

.launch-banner__arrow { transition: transform var(--duration-fast) var(--ease-out); flex: 0 0 auto; }
.launch-banner__link:hover .launch-banner__arrow { transform: translateX(3px); }

.launch-banner__dismiss {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-white);
  opacity: 0.7;
  transition: opacity var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.launch-banner__dismiss:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }

@media (max-width: 767px) {
  .launch-banner { font-size: var(--fs-xs); }
  .launch-banner__inner { padding-right: 44px; }
  .launch-banner__copy { display: none; }
}

/* =========================================================================
   6. Header and navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--surface-divider);
  box-shadow: var(--shadow-nav-scrolled);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: var(--header-h);
  padding-block: var(--space-2);
  transition: min-height var(--duration-fast) var(--ease-out);
  /* Wider than the standard 1200px container so the desktop nav row (large
     logo + menu + CTA) has room and does not overflow off the right edge.
     Below the nav breakpoint the menu is collapsed to the hamburger anyway. */
  max-width: 1600px;
}

.site-header.is-scrolled .site-header__inner { min-height: var(--header-h-scrolled); }

.site-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-header__logo {
  height: clamp(40px, 4.5vw, 64px);
  width: auto;
  transition: height var(--duration-fast) var(--ease-out);
}

.site-header.is-scrolled .site-header__logo {
  height: clamp(34px, 3.8vw, 52px);
}

/* Header CTA phone icon: bumped well above default 16px so it reads at a glance */
.site-header__cta svg {
  width: 22px;
  height: 22px;
}

.site-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }

.site-nav__list {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 1360px) {
  .site-nav__list { display: flex; }
}

.site-nav__item { position: relative; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand-navy);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.site-nav__link:hover, .site-nav__link:focus-visible,
.site-nav__link[aria-current="page"] {
  background: rgba(13, 35, 64, 0.04);
  color: var(--brand-navy);
}

.site-nav__link[aria-disabled="true"] {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.site-nav__link[aria-disabled="true"] .nav-coming-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold-text);
  margin-left: 0.4rem;
}

/* Dropdown */
.site-nav__caret { width: 12px; height: 12px; transition: transform var(--duration-fast) var(--ease-out); }
.site-nav__item--has-menu:hover .site-nav__caret,
.site-nav__item--has-menu:focus-within .site-nav__caret { transform: rotate(180deg); }

.site-nav__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  padding: var(--space-4);
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
}

/* Invisible bridge across the 4px gap so the dropdown stays open while the
   mouse moves from the trigger down to the menu items. */
.site-nav__menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.site-nav__item--has-menu:hover .site-nav__menu,
.site-nav__item--has-menu:focus-within .site-nav__menu { display: flex; }

.site-nav__menu-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  color: var(--brand-navy);
  line-height: var(--lh-snug);
}

.site-nav__menu-link:hover { background: var(--brand-cream); }

.site-nav__menu-link[aria-disabled="true"] {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.site-nav__menu-link small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.site-nav__menu-link[aria-disabled="true"] small { color: var(--brand-gold-text); font-weight: 600; }

/* Header CTA pinned right */
.site-header__cta { display: none; }
@media (min-width: 1024px) {
  .site-header__cta { display: inline-flex; }
}

/* Mobile menu toggle */
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--brand-navy);
}
.mobile-toggle:hover { background: rgba(13, 35, 64, 0.04); }
.mobile-toggle svg { width: 24px; height: 24px; }

@media (min-width: 1360px) {
  .mobile-toggle { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 100%);
  background: var(--brand-white);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -10px 0 40px rgba(13, 35, 64, 0.18);
}

.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--surface-divider);
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--brand-navy);
}

.mobile-drawer__close:hover { background: rgba(13, 35, 64, 0.04); }

.mobile-drawer__nav {
  list-style: none;
  margin: 0;
  padding: var(--space-4) var(--space-3);
  flex: 1;
}

.mobile-drawer__nav > li { margin: 0; }

.mobile-drawer__link,
.mobile-drawer__group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-3);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--brand-navy);
  border-radius: var(--radius-md);
  text-align: left;
}

.mobile-drawer__link:hover,
.mobile-drawer__group-trigger:hover { background: var(--brand-cream); }

.mobile-drawer__link[aria-disabled="true"] {
  color: var(--text-muted);
  pointer-events: none;
}

.mobile-drawer__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-3) var(--space-5);
  display: none;
}

.mobile-drawer__group[aria-expanded="true"] .mobile-drawer__sub { display: block; }
.mobile-drawer__group[aria-expanded="true"] .mobile-drawer__group-trigger svg { transform: rotate(180deg); }

.mobile-drawer__group-trigger svg {
  transition: transform var(--duration-fast) var(--ease-out);
  flex: 0 0 auto;
}

.mobile-drawer__sub-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--brand-navy);
  border-radius: var(--radius-md);
}

.mobile-drawer__sub-link:hover { background: var(--brand-cream); }

.mobile-drawer__sub-link[aria-disabled="true"] {
  color: var(--text-muted);
  pointer-events: none;
}

.mobile-drawer__cta {
  margin: var(--space-4);
}

.mobile-drawer__cta .btn { width: 100%; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 35, 64, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-overlay);
  transition: opacity var(--duration-base) var(--ease-out);
}

.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

body.has-drawer-open { overflow: hidden; }

/* =========================================================================
   7. Hero
   ========================================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(13, 35, 64, 0.95) 0%, rgba(13, 35, 64, 0.86) 48%, rgba(13, 35, 64, 0.55) 100%),
    url('/images/photos/noosa-ssm-reception.png') center / cover no-repeat;
  color: var(--text-on-navy);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
}

/* Atmosphere canvas: drifting gold motes overlay. Sits between hero gradient and content.
   Fade the motes out near the top/bottom edges so the soft glows clipped by the
   panel's overflow:hidden do not paint a hard gold line at the footer seam. */
.atmosphere-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.hero > .container,
.final-cta > .container { position: relative; z-index: 1; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 167, 110, 0.18), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(201, 167, 110, 0.10), transparent 50%);
  z-index: -1;
}

/* Page-specific hero background photos (draft proofs; swap for finals later).
   Light navy wash on the left only, fading to clear so the photo shows through;
   a text-shadow on the hero text keeps the white copy legible. */
.hero--home {
  background:
    linear-gradient(100deg, rgba(13, 35, 64, 0.92) 0%, rgba(13, 35, 64, 0.84) 42%, rgba(13, 35, 64, 0.45) 56%, rgba(13, 35, 64, 0.1) 70%, rgba(13, 35, 64, 0) 82%),
    url('/images/photos/kw-noosa-river-hero.jpg?v=5') right center / cover no-repeat;
}
/* Banner home hero: the full Noosa River photo stands on its own up top
   (nothing over it), with the headline + CTAs in a navy strip beneath. */
.hero--banner { background: var(--brand-navy); display: flex; flex-direction: column; padding: 0; }
.hero--banner .hero__media { position: relative; }
.hero--banner .hero__photo {
  display: block; width: 100%; height: auto;
  max-height: 85vh; object-fit: cover; object-position: center 38%;
}
/* Left-to-right navy fade so the wordmark stays legible over the bright water. */
.hero--banner .hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(13, 35, 64, 0.82) 0%,
    rgba(13, 35, 64, 0.58) 22%,
    rgba(13, 35, 64, 0.18) 42%,
    rgba(13, 35, 64, 0) 60%);
}
/* Title plate: left-justified, vertically centred, aligned to the page gutter. */
.hero--banner .hero__plate {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 100%; max-width: 1200px;
  padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: var(--space-4); text-align: left;
  text-shadow: 0 1px 18px rgba(13, 35, 64, 0.6);
}
.hero--banner .hero__plate .hero__mark { margin-bottom: 0; }
.hero--banner .hero__plate h1 { max-width: 14ch; }
.hero--banner .hero__inner {
  max-width: 1200px;
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}
/* Navy strip below the photo: drifting gold motes behind the text. */
.hero--banner .hero__strip { position: relative; background: var(--brand-navy); }
.hero--banner .hero__strip > .container { position: relative; z-index: 1; }
.hero--banner .hero__strip .atmosphere-canvas { display: block; }
.hero--about {
  background:
    linear-gradient(100deg, rgba(13, 35, 64, 0.62) 0%, rgba(13, 35, 64, 0.26) 45%, rgba(13, 35, 64, 0) 100%),
    url('/images/photos/kw-outdoor.jpg?v=4') right center / cover no-repeat;
}
/* Generic photo hero: set the image per page via --hero-photo. */
.hero--photo {
  background:
    linear-gradient(100deg, rgba(13, 35, 64, 0.62) 0%, rgba(13, 35, 64, 0.26) 45%, rgba(13, 35, 64, 0) 100%),
    var(--hero-photo, none) right center / cover no-repeat;
}
/* Keep the white hero text readable over the lighter photo wash. */
.hero--home .hero__inner,
.hero--about .hero__inner,
.hero--photo .hero__inner { text-shadow: 0 1px 16px rgba(13, 35, 64, 0.65); }
/* Photo banners show the photo cleanly: no gold motes, no gold glow vignette. */
.hero--home .atmosphere-canvas,
.hero--about .atmosphere-canvas,
.hero--photo .atmosphere-canvas { display: none; }
.hero--home::before,
.hero--about::before,
.hero--photo::before { display: none; }

.hero__inner {
  display: grid;
  gap: var(--space-7);
  max-width: 880px;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: calc(-1 * var(--space-4)) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-on-navy-muted);
}
.hero__location svg { color: var(--brand-gold); flex-shrink: 0; }

.hero__mark {
  width: clamp(60px, 5.5vw, 76px);
  height: auto;
  margin-bottom: calc(var(--space-6) * -1);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(201, 167, 110, 0.12);
  border: 1px solid rgba(201, 167, 110, 0.35);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(201, 167, 110, 0.6);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow::before { animation: none; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 167, 110, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(201, 167, 110, 0); }
}

.hero h1 {
  color: var(--brand-white);
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-on-navy);
  max-width: 60ch;
  margin: 0;
}

/* Brand tagline that sits below H1, above the longer description.
   Editorial italic in soft white. Carries the brand voice while the H1 carries the SEO keywords. */
.hero__lead {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem);
  line-height: var(--lh-snug);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-style: italic;
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 30ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-7);
  margin-top: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-sm);
  color: var(--text-on-navy-muted);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__trust-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex: 0 0 auto;
}

/* =========================================================================
   8. About section (asymmetric)
   ========================================================================= */
.about {
  background: var(--brand-cream);
}

.about__inner {
  display: grid;
  gap: var(--space-9);
  align-items: center;
}

@media (min-width: 900px) {
  .about__inner { grid-template-columns: 1.2fr 1fr; gap: var(--space-11); }
}

.about__text { max-width: 60ch; }

.about__text h2 { margin-top: 0; }

.about__text .credential-line {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--brand-gold-text);
  margin: 0 0 var(--space-5);
  letter-spacing: 0.02em;
}

.about__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.about__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--brand-navy);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 900px) {
  .about__photo { transform: translateX(2rem); }
}

/* =========================================================================
   9. Who can I help (patient type cards)
   ========================================================================= */
.who-cards {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .who-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .who-cards { grid-template-columns: repeat(4, 1fr); } }

.who-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-gold);
}

.who-card__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: var(--space-4);
  color: var(--brand-gold-text);
}

.who-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 var(--space-2);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.who-card__copy {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
}

/* =========================================================================
   10. Why choose a specialist (comparison cards)
   ========================================================================= */
.why-choose {
  background: var(--brand-white);
}

.why-cards {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
}

@media (min-width: 768px) { .why-cards { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  border: 1px solid transparent;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-gold);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: var(--space-5);
}

.why-card__icon img,
.why-card__icon svg { width: 100%; height: 100%; object-fit: contain; }

.why-card h3 {
  font-size: var(--fs-xl);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.005em;
}

.why-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.why-card li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}

.why-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 1.5px;
  background: var(--brand-gold);
}

/* =========================================================================
   11. Services snapshot grid
   ========================================================================= */
.services {
  background: var(--brand-cream);
}

.services-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
}

@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--brand-white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-divider);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-card-hover);
  color: inherit;
}

.service-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-cream);
  color: var(--brand-gold-text);
}

.service-card__icon svg { width: 22px; height: 22px; }

/* Image (PNG) icon variant: matches the 96px why-card icon size */
.service-card__icon--img { background: transparent; width: 96px; height: 96px; }
.service-card__icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }

.service-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0;
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.service-card__copy {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
  flex: 1;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-gold-text);
  margin-top: var(--space-2);
}

.service-card:hover .service-card__more svg { transform: translateX(4px); }
.service-card__more svg { transition: transform var(--duration-fast) var(--ease-out); }

.services__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-9);
}

/* =========================================================================
   12. Clinics section
   ========================================================================= */
.clinics {
  background: var(--brand-white);
}

.clinic-cards {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
}

@media (min-width: 768px) { .clinic-cards { grid-template-columns: repeat(3, 1fr); } }

/* Single-card variant: centered, max-width, more visual weight when only one clinic is shown */
.clinic-cards--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .clinic-cards--single { grid-template-columns: 1fr; }
}

/* Featured clinic block: photo placeholder + clinic detail panel side by side.
   Higher visual weight than a generic card so the active clinic is unmistakable. */
.clinic-feature {
  display: grid;
  gap: var(--space-9);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .clinic-feature {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-11);
    align-items: start;
  }
}

.clinic-feature__media {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.clinic-feature__photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 167, 110, 0.08), transparent 50%),
    linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-cream-warm) 100%);
  border: none;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-7);
  gap: var(--space-2);
  color: var(--text-muted);
}

.clinic-feature__photo-placeholder svg {
  color: var(--brand-gold-text);
  opacity: 0.7;
  margin-bottom: var(--space-3);
}

.clinic-feature__photo-placeholder span {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 500;
}

.clinic-feature__photo-placeholder small {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.clinic-feature__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  display: block;
}

.clinic-feature__caption {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  margin: 0;
}

.clinic-feature__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.clinic-feature__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold-text);
  background: rgba(201, 167, 110, 0.12);
  border: 1px solid rgba(201, 167, 110, 0.35);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}

.clinic-feature__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(201, 167, 110, 0.6);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .clinic-feature__status::before { animation: none; }
}

.clinic-feature__logo {
  width: clamp(200px, 26vw, 300px);
  height: auto;
  margin-bottom: 0;
}

.clinic-feature__intro {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0;
  max-width: 50ch;
}

.clinic-feature__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-7);
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-gold);
  margin-bottom: 0;
}

.clinic-feature__row strong {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--brand-gold-text);
  margin-bottom: 4px;
  font-weight: 700;
}

.clinic-feature__row p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: var(--lh-normal);
}

.clinic-feature__row p a {
  color: var(--brand-navy);
  font-weight: 600;
}

.clinic-feature__row p small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.clinic-feature__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.clinic-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--brand-cream);
  border: 1.5px solid transparent;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.clinic-card--active {
  background: linear-gradient(165deg, rgba(201, 167, 110, 0.10), rgba(201, 167, 110, 0.04));
  border-color: var(--brand-gold);
}

.clinic-card--active:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.clinic-card--coming {
  background: var(--brand-cream);
  opacity: 0.7;
}

.clinic-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold-text);
  width: fit-content;
}

.clinic-card--active .clinic-card__status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(201, 167, 110, 0.6);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .clinic-card--active .clinic-card__status::before { animation: none; }
}

.clinic-card--coming .clinic-card__status { color: var(--text-muted); }

.clinic-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--brand-navy);
  margin: 0;
  line-height: var(--lh-snug);
}

.clinic-card__address {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--lh-normal);
}

.clinic-card__phone {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--brand-navy);
}

.clinic-card__ivr {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
}

.clinic-card__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.clinic-card--coming .clinic-card__placeholder {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
}

/* Two-clinic chooser: two equal cards, centered */
.clinic-cards--two { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .clinic-cards--two { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin-inline: auto; }
}

.clinic-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: block;
}

/* =========================================================================
   12b. Why a Network: 3-point editorial block + locations graphic
   ========================================================================= */
.why-network { background: var(--brand-cream); }

.why-network-grid {
  display: grid;
  gap: var(--space-9);
  grid-template-columns: 1fr;
  margin-top: var(--space-9);
}

@media (min-width: 768px) {
  .why-network-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
}

.why-network-card {
  position: relative;
  padding-top: var(--space-2);
}

.why-network-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem);
  font-weight: 600;
  color: var(--brand-gold-text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.why-network-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-3);
  letter-spacing: -0.005em;
}

.why-network-card p {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.network-locations {
  margin-top: var(--space-11);
  padding-top: var(--space-9);
  border-top: 1px solid rgba(13, 35, 64, 0.10);
}

.network-locations__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold-text);
  margin: 0 0 var(--space-7);
}

.network-locations__svg {
  display: block;
  margin-inline: auto;
  width: 100%;
  max-width: 720px;
  height: auto;
}

.network-locations__pulse {
  transform-origin: 80px 50px;
  animation: network-pulse 2.6s var(--ease-out) infinite;
}

@keyframes network-pulse {
  0% { r: 18; opacity: 0.55; }
  100% { r: 42; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .network-locations__pulse { animation: none; }
}

/* =========================================================================
   13. Brisbane 2032 banner
   ========================================================================= */
.banner-2032 {
  background: var(--brand-navy);
  color: var(--text-on-navy);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  text-align: center;
}

.banner-2032 h3 {
  color: var(--brand-white);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  margin: 0 0 var(--space-3);
  max-width: 30ch;
  margin-inline: auto;
}

.banner-2032 p {
  color: var(--text-on-navy-muted);
  margin: 0 0 var(--space-7);
  font-size: var(--fs-md);
}

.banner-2032__logo {
  display: block;
  max-height: 120px;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

/* =========================================================================
   14. Affiliations row
   ========================================================================= */
/* Brisbane 2032 banner */
.brisbane-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1a3a52 50%, #24475D 100%);
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.brisbane-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,169,110,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201,169,110,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.brisbane-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  position: relative;
  z-index: 1;
}
.brisbane-banner__text { max-width: 60ch; }
.brisbane-banner__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  color: var(--text-on-navy);
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
}
.brisbane-banner__sub {
  color: var(--text-on-navy-muted);
  font-size: var(--fs-md);
}
.brisbane-banner__logo { flex-shrink: 0; }
.brisbane-banner__logo img { display: block; }

.affiliations { background: var(--brand-cream); padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }

.affiliations h3 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 var(--space-7);
}

.logo-scroller {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* Wrapper holds two identical tracks side by side and animates as one unit.
   Animating to -50% scrolls exactly one track-width, looping seamlessly. */
.logo-track-wrapper {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scroll-logos 50s linear infinite;
}

.logo-track-wrapper:hover { animation-play-state: paused; }

.logo-track {
  display: flex;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
  padding-right: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track-wrapper {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .logo-track {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
  .logo-scroller { mask-image: none; -webkit-mask-image: none; }
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item img {
  height: 48px;
  width: auto;
  opacity: 0.65;
  transition: opacity var(--duration-base) var(--ease-out);
  filter: grayscale(20%);
}

.logo-track:hover .logo-item img { opacity: 1; filter: grayscale(0); }

/* =========================================================================
   15. FAQ accordion
   ========================================================================= */
.faq { background: var(--brand-white); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--container-narrow);
  margin: var(--space-7) auto 0;
}

.faq-item {
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-white);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.faq-item[open] { border-color: var(--brand-gold); }

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  line-height: var(--lh-snug);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-text);
  border: 1.5px solid var(--brand-gold);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--brand-gold-deep);
  border-radius: 1px;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; }

.faq-question { position: relative; }
.faq-question:hover { background: var(--brand-cream); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-base);
}

.faq-answer p { margin-bottom: var(--space-4); }
.faq-answer ul { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
.faq-answer li { margin-bottom: var(--space-2); }
.faq-answer a { color: var(--brand-gold-text); font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }

.faq__cta-row { text-align: center; margin-top: var(--space-9); }

/* =========================================================================
   16. Final CTA section
   ========================================================================= */
.final-cta {
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: var(--text-on-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Glow centred within the panel (not on the bottom edge) so it fades out
     before the footer seam and does not read as a gold line. */
  background: radial-gradient(circle at 50% 55%, rgba(201, 167, 110, 0.16), transparent 62%);
  pointer-events: none;
}

.final-cta__inner {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}

.final-cta h2 {
  color: var(--brand-white);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  margin: 0 0 var(--space-5);
}

.final-cta p {
  color: var(--text-on-navy);
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-9);
}

.final-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  color: var(--brand-gold);
  text-decoration: none;
  margin-block: var(--space-3);
  font-family: var(--font-display);
}

.final-cta__phone:hover { color: var(--brand-gold-soft); }

.final-cta__ivr {
  font-size: var(--fs-sm);
  color: var(--text-on-navy-muted);
  margin-top: var(--space-2);
}

/* =========================================================================
   17. Footer
   ========================================================================= */
.site-footer {
  background: var(--brand-navy-deep);
  color: var(--text-on-navy);
  padding-block: var(--space-11) var(--space-7);
  position: relative;
  overflow: hidden;
}

/* Removed background watermark mark: rendered as a faint smudge instead of brand presence.
   Footer brand presence now lives in the foreground lockup (icon + wordmark) instead. */

.site-footer__grid {
  display: grid;
  gap: var(--space-9);
  grid-template-columns: 1fr;
  position: relative;
  align-items: start;
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* Footer brand lockup: icon mark + horizontal gold divider + stacked wordmark.
   Using HTML text wordmark so it renders cleanly in white on navy without needing
   a separate white logo asset. Mirrors the design of the master logo. */
.site-footer__lockup {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.site-footer__mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  image-rendering: auto;
  /* Lift the mark so it lines up with the column titles (its mass sits lower
     than the small title text otherwise). */
  margin-top: -14px;
}
@media (max-width: 767px) { .site-footer__mark { margin-top: 0; } }

.site-footer__divider {
  display: none;
  width: 1px;
  height: 80px;
  background: rgba(201, 167, 110, 0.5);
  flex: 0 0 auto;
}

@media (min-width: 480px) {
  .site-footer__divider { display: block; }
}

.site-footer__wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-white);
}

.site-footer__brand img:not(.site-footer__mark) {
  width: clamp(220px, 22vw, 320px);
  height: auto;
  margin-bottom: var(--space-5);
}

/* Visit Us footer column: address + phone block, not a link list */
.site-footer__address {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-on-navy);
  margin: 0 0 var(--space-5);
}

.site-footer__address strong {
  display: block;
  color: var(--brand-white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: var(--fs-base);
}

.site-footer__address strong a {
  color: var(--brand-gold);
}
.site-footer__address strong a:hover {
  color: var(--brand-white);
}

.site-footer__phone {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-on-navy);
  margin: 0;
}

.site-footer__phone a {
  color: var(--brand-gold);
  font-weight: 600;
  font-size: var(--fs-md);
}

.site-footer__phone a:hover { color: var(--brand-gold-soft); }

.site-footer__phone small {
  color: var(--text-on-navy-muted);
  font-size: 0.78rem;
  display: block;
  margin-top: var(--space-2);
}

.site-footer__tagline {
  color: var(--text-on-navy-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-3);
  max-width: 36ch;
}

.site-footer__credential {
  font-size: var(--fs-xs);
  color: var(--text-on-navy-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-gold);
  margin: 0 0 var(--space-5);
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__list a {
  color: var(--text-on-navy);
  font-size: var(--fs-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__list a:hover { color: var(--brand-gold); }

.site-footer__list small {
  display: block;
  color: var(--text-on-navy-muted);
  font-size: 0.7rem;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-footer__contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-7) 0;
  margin-top: var(--space-9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-sm);
  color: var(--text-on-navy);
  position: relative;
}

@media (min-width: 768px) {
  .site-footer__contact-row { grid-template-columns: 3.3fr 1fr; gap: var(--space-7); }
}

.site-footer__contact-row p { margin: 0; line-height: var(--lh-normal); }

.site-footer__contact-row a { color: var(--brand-white); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__contact-row a:hover { color: var(--brand-white); text-decoration-color: var(--brand-gold-soft); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--text-on-navy-muted);
  position: relative;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__legal-links a { color: var(--text-on-navy-muted); }
.site-footer__legal-links a:hover { color: var(--brand-gold); }

.site-footer__disclaimer { max-width: 60ch; line-height: var(--lh-relaxed); margin: 0; }

/* =========================================================================
   18. Mobile sticky CTA
   ========================================================================= */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--brand-navy);
  padding: var(--space-3);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(13, 35, 64, 0.18);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
}

.mobile-cta.is-visible { transform: translateY(0); }

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-6);
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: var(--fs-md);
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.mobile-cta a svg { width: 20px; height: 20px; }

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* =========================================================================
   19. Back to top
   ========================================================================= */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-sticky);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13, 35, 64, 0.20);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-navy-700); }
.back-to-top svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .back-to-top { bottom: 88px; }
  .back-to-top.is-hidden-by-cta { opacity: 0; pointer-events: none; }
}

/* =========================================================================
   20. Noosa location page specifics
   ========================================================================= */
.location-hero { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }

.location-hero h1 { max-width: 22ch; }

/* H1-as-logo: brand mark replaces text H1 visually, alt text serves as H1 for SEO/SR */
.hero__brand-h1 {
  margin: 0 0 var(--space-6);
  line-height: 1;
}

.hero__brand-logo {
  width: clamp(280px, 38vw, 480px);
  height: auto;
  display: block;
}

/* Logo sits between the H2 and the body copy, separating the heading from the
   rest of the block (navy logo on cream background). */
.location-info__logo {
  width: clamp(220px, 28vw, 320px);
  height: auto;
  display: block;
  margin-block: var(--space-5) var(--space-6);
}

/* Logo above the final CTA H2 (navy background, white logo) */
.final-cta__logo {
  width: clamp(240px, 30vw, 360px);
  height: auto;
  display: block;
  margin: 0 auto var(--space-7);
}

.location-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-on-navy-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.location-hero__breadcrumb a { color: var(--brand-gold); }
.location-hero__breadcrumb a:hover { color: var(--brand-gold-soft); }
.location-hero__breadcrumb span[aria-current] { color: var(--text-on-navy); }

.location-detail {
  background: var(--brand-cream);
}

.location-detail__inner {
  display: grid;
  gap: var(--space-9);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .location-detail__inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-11); }
}

.location-info p { margin: 0 0 var(--space-4); }
.location-info p strong { color: var(--brand-navy); font-weight: 600; }

.location-info__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--brand-white);
  margin-block: var(--space-6);
  border: 1px solid var(--surface-divider);
}

.location-info__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: var(--fs-md);
}

.location-info__row svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--brand-gold-text);
  margin-top: 2px;
}

.location-info__row strong { color: var(--brand-navy); display: block; margin-bottom: 2px; }
.location-info__row p { color: var(--text-secondary); margin: 0; line-height: var(--lh-normal); font-size: var(--fs-sm); }

.location-info__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.location-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-divider);
  background: var(--brand-white);
  box-shadow: var(--shadow-card);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

@media (min-width: 900px) {
  .location-map { min-height: 520px; height: 100%; }
}

.areas-served {
  background: var(--brand-white);
}

.areas-served__intro { max-width: 60ch; }

/* Diversity-of-movement icon strip: navy line icons of people of different ages,
   abilities and sports, to add visual interest above the suburb list. */
.move-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(var(--space-4), 4vw, var(--space-9));
  margin: var(--space-8) auto var(--space-2);
  max-width: 820px;
}
.move-strip img {
  width: clamp(40px, 6vw, 58px);
  height: auto;
  opacity: 0.9;
}

/* Suburb chips: a tidy aligned grid (equal-width cells) instead of a ragged
   flex cloud, so the rows and columns line up cleanly. */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
  list-style: none;
  padding: 0;
}

.areas-list__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--brand-cream);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.areas-list__item:hover { border-color: var(--brand-gold); }

.areas-list__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex: 0 0 auto;
}

/* =========================================================================
   20b. Prose utilities for text-heavy interior pages
   (FAQ, What to Expect, Pricing, Services overview, Injuries overview, etc.)
   ========================================================================= */
/* Image placeholders: replaced with real photos/graphics before launch */
.img-placeholder {
  background: var(--brand-cream-warm);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-6);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
  margin-block: var(--space-7);
}
.img-placeholder::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background: var(--brand-gold-soft);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.img-placeholder--wide  { aspect-ratio: 16/6; width: 100%; }
.img-placeholder--half  { aspect-ratio: 4/3; max-width: 520px; }
.img-placeholder--square { aspect-ratio: 1; max-width: 360px; }
.img-placeholder--portrait { aspect-ratio: 3/4; max-width: 300px; }

/* Related links: contextual "see also" panel within prose */
.related-links {
  background: var(--brand-navy);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-7);
  margin-block: var(--space-8);
}
.related-links__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: var(--space-4);
}
.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.related-links li { margin: 0; }
.related-links a {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: var(--text-on-navy);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s, border-color 0.15s;
}
.related-links a {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(226,207,163,0.55);
  color: var(--brand-white);
  font-weight: 600;
}
.related-links a:hover,
.related-links a:focus-visible {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy);
}
/* Related-links sits inside .prose on sub-pages: neutralise the prose link underline
   and the gold list-bullets so the "See also" pills render cleanly and legibly. */
.prose .related-links ul li { padding-left: 0; }
.prose .related-links ul li::before { content: none; }
.prose .related-links a { color: var(--brand-white); text-decoration: none; font-weight: 600; }
.prose .related-links a:hover,
.prose .related-links a:focus-visible { color: var(--brand-navy); text-decoration: none; }

.page-back {
  background: var(--brand-cream);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
}
.page-back__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand-navy);
  text-decoration: none;
  transition: color 0.15s;
}
.page-back__link:hover { color: var(--brand-gold-text); }

.prose-section {
  background: var(--brand-white);
  padding-block: var(--section-py);
}
/* Tighter top spacing (e.g. team intro) to reduce the gap under the hero. */
.prose-section--tight { padding-block-start: clamp(1.5rem, 1rem + 2vw, 2.75rem); }

.prose-section--cream { background: var(--brand-cream); }

/* Collapse the top padding only when two same-coloured bands stack, to avoid a
   doubled gap. When the background flips (white <-> cream) keep full top padding
   so the heading has breathing room from the colour-change line. */
.prose-section:not(.prose-section--cream) + .prose-section:not(.prose-section--cream),
.prose-section--cream + .prose-section--cream { padding-top: 0; }

.prose-section__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.prose-section__inner--wide { max-width: 1040px; }

.prose {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--text-primary);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--brand-navy);
  margin: var(--space-10) 0 var(--space-5);
  letter-spacing: var(--tracking-display);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--brand-navy);
  margin: var(--space-8) 0 var(--space-4);
}

.prose h4 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--brand-navy);
  margin: var(--space-7) 0 var(--space-3);
}

.prose p {
  margin: 0 0 var(--space-5);
  color: var(--text-secondary);
}

.prose strong { color: var(--brand-navy); font-weight: 600; }

.prose a {
  color: var(--brand-gold-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--brand-navy); }

.prose ul,
.prose ol {
  margin: 0 0 var(--space-5);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.prose ul li,
.prose ol li {
  margin-bottom: var(--space-3);
  line-height: var(--lh-relaxed);
}

.prose ul { list-style: none; padding-left: 0; }

.prose ul li {
  position: relative;
  padding-left: var(--space-6);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.prose ol { padding-left: var(--space-6); }

.prose ol li::marker {
  color: var(--brand-gold-text);
  font-weight: 600;
}

.prose blockquote {
  margin: var(--space-7) 0;
  padding: var(--space-5) var(--space-7);
  border-left: 3px solid var(--brand-gold);
  background: var(--brand-cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-primary);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose hr {
  border: 0;
  height: 1px;
  background: var(--surface-divider);
  margin: var(--space-9) 0;
}

.prose .prose__lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-7);
}

/* In-page table of contents */
.prose__toc {
  background: linear-gradient(180deg, var(--brand-white) 0%, var(--brand-cream) 100%);
  border: 1px solid rgba(201, 169, 110, 0.30);
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  margin: 0 0 var(--space-9);
  box-shadow: var(--shadow-card);
}

.prose__toc-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--brand-gold-text);
  font-weight: 700;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.prose__toc-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--brand-gold);
  flex: 0 0 auto;
}

.prose__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.prose__toc ul li::before { display: none; }

.prose__toc ul li { padding-left: 0; margin-bottom: 0; }

.prose__toc a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-base);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.prose__toc a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(201, 167, 110, 0.45);
  transition: box-shadow var(--duration-fast) var(--ease-out);
}

.prose__toc a:hover { background: rgba(201, 167, 110, 0.14); color: var(--brand-navy); }

.prose__toc a:hover::before { box-shadow: 0 0 0 4px rgba(201, 167, 110, 0.20); }

@media (min-width: 720px) {
  .prose__toc ul { grid-template-columns: 1fr 1fr; gap: var(--space-1) var(--space-6); }
}

/* Callout block */
.prose__callout {
  margin: var(--space-7) 0;
  padding: var(--space-6) var(--space-7);
  background: var(--brand-cream);
  border-left: 3px solid var(--brand-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose__callout-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--brand-gold-text);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.prose__callout p:last-child { margin-bottom: 0; }

.prose__callout--navy {
  background: var(--brand-navy);
  border-left-color: var(--brand-gold);
  color: var(--text-on-navy);
}

.prose__callout--navy .prose__callout-label { color: var(--brand-gold); }

.prose__callout--navy p { color: var(--text-on-navy); }

.prose__callout--navy strong { color: var(--brand-white); }

.prose__callout--navy a { color: var(--brand-gold-soft); }

/* Emergency notice */
.prose__emergency {
  margin: var(--space-7) 0;
  padding: var(--space-6) var(--space-7);
  background: #fff7e6;
  border: 1px solid #d97706;
  border-left-width: 4px;
  border-radius: var(--radius-md);
}

.prose__emergency-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: #92400e;
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.prose__emergency p { color: #5c2e07; margin-bottom: var(--space-3); }
.prose__emergency p:last-child { margin-bottom: 0; }
.prose__emergency strong { color: #5c2e07; }
.prose__emergency a { color: #92400e; }

/* Tables */
.prose__table {
  width: 100%;
  margin: var(--space-7) 0;
  border-collapse: collapse;
  font-size: var(--fs-base);
  background: var(--brand-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.prose__table thead { background: var(--brand-navy); }

.prose__table th {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-white);
  letter-spacing: 0.02em;
}

.prose__table td {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--surface-divider);
  color: var(--text-primary);
  vertical-align: top;
}

.prose__table tr:nth-child(even) td { background: var(--brand-cream); }

.prose__table strong { color: var(--brand-navy); }

@media (max-width: 600px) {
  /* Let wide tables scroll within their own box instead of stretching the page. */
  .prose__table { font-size: var(--fs-sm); display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose__table th, .prose__table td { padding: var(--space-3) var(--space-4); }
}

/* Two-column card grid for overview pages (services, injuries) */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (min-width: 700px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .topic-grid { grid-template-columns: 1fr 1fr 1fr; } }

.topic-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.topic-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.topic-card__icon { display: block; margin-bottom: var(--space-4); }
.topic-card__icon img { width: 96px; height: 96px; object-fit: contain; display: block; }

.topic-card__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--brand-gold-text);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.topic-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 var(--space-3);
  line-height: var(--lh-snug);
  /* Reserve two lines so card summaries line up even when titles wrap. */
  min-height: calc(2 * var(--lh-snug) * 1em);
}
@media (max-width: 640px) {
  .topic-card__title { min-height: 0; }
}

.topic-card__summary {
  color: var(--text-secondary);
  margin: 0 0 var(--space-5);
  flex: 1;
}

.topic-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-gold-text);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topic-card__more::after {
  content: '\2192';
  transition: transform var(--duration-fast) var(--ease-out);
}

.topic-card:hover .topic-card__more::after { transform: translateX(4px); }

/* Pricing fee table layout (no prices, MBS rebate facts only) */
.fee-card {
  margin: var(--space-7) 0;
  padding: var(--space-7);
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.fee-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 var(--space-2);
}

.fee-card__sub {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0 0 var(--space-5);
}

.fee-card__rows {
  display: grid;
  gap: var(--space-3);
}

.fee-card__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--surface-divider);
}

.fee-card__row:first-child { border-top: 0; padding-top: 0; }

.fee-card__row-label { font-weight: 600; color: var(--brand-navy); font-size: var(--fs-base); }
.fee-card__row-value { color: var(--text-secondary); font-size: var(--fs-base); }

@media (min-width: 600px) {
  .fee-card__row { grid-template-columns: 1fr 1fr; align-items: baseline; gap: var(--space-5); }
  .fee-card__row-value { text-align: right; }
}

/* Legal page metadata block (version, effective date, ABN, next review) */
.prose__legal-meta {
  margin: var(--space-7) 0 var(--space-9);
  padding: var(--space-5) var(--space-6);
  background: var(--brand-cream);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border: 1px solid rgba(201, 169, 110, 0.18);
}

.prose__legal-meta dl {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.prose__legal-meta dt {
  font-weight: 600;
  color: var(--brand-navy);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prose__legal-meta dd { margin: 0 0 var(--space-3); color: var(--text-primary); }
.prose__legal-meta dd:last-of-type { margin-bottom: 0; }

@media (min-width: 640px) {
  .prose__legal-meta dl {
    grid-template-columns: max-content 1fr;
    gap: var(--space-2) var(--space-7);
  }
  .prose__legal-meta dt { font-size: var(--fs-xs); align-self: baseline; padding-top: 2px; }
  .prose__legal-meta dd { margin: 0; align-self: baseline; }
}

/* What-to-expect step list */
.steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-7) 0;
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding: var(--space-6) var(--space-7) var(--space-6) calc(var(--space-7) + var(--space-9));
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--space-7);
  top: var(--space-6);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-gold);
  letter-spacing: 0;
  line-height: 1;
}

.steps-list li::after { display: none; }

.steps-list h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 var(--space-3);
  line-height: var(--lh-snug);
}

.steps-list p {
  color: var(--text-secondary);
  margin: 0;
}

.steps-list p + p { margin-top: var(--space-3); }

/* =========================================================================
   20c. Forms (contact page; reusable for any future enquiry forms)
   ========================================================================= */
.contact-form {
  margin: var(--space-7) 0;
  padding: var(--space-8);
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.contact-form__intro {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.form-row { display: grid; gap: var(--space-5); margin-bottom: var(--space-5); }

@media (min-width: 600px) {
  .form-row--two { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-navy);
  letter-spacing: 0.01em;
}

.form-field label .form-required {
  color: var(--brand-gold-text);
  margin-left: 2px;
}

.form-field label .form-optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: var(--fs-xs);
  margin-left: var(--space-2);
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-white);
  border: 1px solid var(--surface-divider-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  width: 100%;
  min-height: 48px;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: var(--lh-relaxed);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%230D2340' stroke-width='1.5'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-9);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
}

/* Keyboard focus: a clearly visible ring (AA non-text contrast) in addition to
   the soft glow above, which alone is too faint for keyboard users. */
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid var(--brand-gold-text);
  outline-offset: 1px;
}

.form-field__hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.form-actions .btn { min-width: 200px; }

.form-fineprint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: var(--space-5) 0 0;
  line-height: var(--lh-normal);
}

.form-status {
  margin: var(--space-5) 0 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  display: none;
}

.form-status[data-state="success"] {
  display: block;
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
}

.form-status[data-state="error"] {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Honeypot: visually hidden but accessible to bots that fill all fields */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================================
   21a. Blog list and cards
   ========================================================================= */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--section-py);
  max-width: var(--container-prose, 720px);
  margin: 0 auto;
}

.blog-card {
  background: var(--brand-white);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow-card-hover, 0 8px 32px rgba(0,0,0,0.1)); }

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.blog-card__tag {
  background: var(--brand-cream);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2em 0.65em;
  border-radius: var(--radius-sm, 4px);
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}

.blog-card__title a {
  color: var(--brand-navy);
  text-decoration: none;
}

.blog-card__title a:hover { color: var(--brand-gold-text); }

.blog-card__summary {
  color: var(--text-secondary);
  margin: 0 0 var(--space-5);
  font-size: var(--fs-base);
  line-height: 1.65;
}

/* =========================================================================
   20c. About page (Dr Wells) components
   ========================================================================= */

/* Bio intro: headshot + text */
.about-intro__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
.about-intro__photo { margin: 0; max-width: 340px; }
.about-intro__photo img {
  width: 100%; height: auto; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover); border: 3px solid var(--brand-gold-soft);
}
.about-intro__photo figcaption { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); text-align: center; }
@media (min-width: 768px) { .about-intro__grid { grid-template-columns: 340px 1fr; gap: var(--space-10); } }

/* Credential chips */
.about-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.about-chips li {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); background: var(--brand-cream);
  border: 1px solid var(--surface-divider); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--brand-navy);
}
.about-chips li::before { content: none; display: none; }
.acsep-logo { display: block; max-width: 340px; width: 100%; height: auto; margin: var(--space-7) 0 0; }

/* Beyond the clinic: ACSEP logo as a faint background watermark behind the text */
.beyond-watermark { position: relative; overflow: hidden; }
.beyond-watermark > :not(.acsep-watermark) { position: relative; z-index: 1; }
.acsep-watermark { position: absolute; right: 0; bottom: 0; width: clamp(150px, 34%, 320px); height: auto; opacity: 0.08; z-index: 0; pointer-events: none; user-select: none; }

/* Journey timeline */
.about-timeline { position: relative; margin: var(--space-10) 0 0; padding-left: var(--space-8); }
.about-timeline__photo { margin: var(--space-4) 0 0; max-width: 400px; }
.about-timeline__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: block; }
.about-timeline__photo figcaption { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--text-muted); }
.about-timeline__photo--logo { max-width: 200px; }
.about-timeline__photo--logo img { box-shadow: none; }
/* Row of multiple photos within one timeline era (e.g. fellowship / training),
   uniform height with top-anchored crop so faces are kept. */
.about-timeline__photos { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); }
.about-timeline__photos .about-timeline__photo { margin-top: 0; max-width: 280px; flex: 1 1 200px; min-width: 170px; }
.about-timeline__photos .about-timeline__photo img { height: clamp(190px, 22vw, 240px); object-fit: cover; object-position: center 25%; }

/* Button row inside prose sections (e.g. referrers scope -> services/injuries) */
.prose__btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }

/* Section motif icon at the top of a sub-page's first prose band (navy line icon
   on white), to break up otherwise text-heavy pages. */
.prose__icon { width: clamp(60px, 8vw, 84px); height: auto; display: block; margin: 0 0 var(--space-5); }
.about-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--brand-gold-soft); }
.about-timeline__item { position: relative; margin-bottom: var(--space-8); }
.about-timeline__item:last-child { margin-bottom: 0; }
.about-timeline__item::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-8) + 1px); top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--brand-gold);
  border: 3px solid var(--brand-white); box-shadow: 0 0 0 2px var(--brand-gold-soft);
}
.about-timeline__year {
  display: inline-block; font-family: var(--font-display); font-size: var(--fs-lg);
  color: var(--brand-gold-text); font-weight: 600; margin-bottom: var(--space-1);
}
.about-timeline__item h3 { margin: 0 0 var(--space-2); font-size: var(--fs-xl); color: var(--brand-navy); }
.about-timeline__item p { margin: 0; color: var(--text-secondary); }

/* Photo gallery with captions */
.about-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); margin: var(--space-9) 0; }
.about-figure { margin: 0; }
.about-figure { display: flex; flex-direction: column; }
.about-figure img {
  width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: block;
}
.about-figure figcaption { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.about-figure figcaption strong { color: var(--brand-navy); }
/* Standalone feature photo inside a prose band (capped width, not full-bleed) */
.about-figure--wide { max-width: 560px; margin: var(--space-7) 0; }

/* Sunshine Coast / Noosa feature */
.about-feature__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; }
@media (min-width: 768px) { .about-feature__grid { grid-template-columns: 1.3fr 1fr; gap: var(--space-10); } }
.about-feature__media { margin: 0; }
.about-feature__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover); aspect-ratio: 4 / 3; object-fit: cover; }
.about-feature__media figcaption { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); text-align: center; font-style: italic; }

/* Approach value cards */
.about-values { display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin: var(--space-9) 0 0; }
@media (min-width: 600px) { .about-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .about-values { grid-template-columns: repeat(3, 1fr); } }
.about-value { background: var(--surface-card); border: 1px solid var(--surface-divider); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.about-value__icon {
  width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.about-value__icon img { width: 100%; height: 100%; object-fit: contain; }
.about-value__icon svg { width: 24px; height: 24px; }
.about-value h3 { margin: 0 0 var(--space-2); font-size: var(--fs-lg); color: var(--brand-navy); }
.about-value p { margin: 0; color: var(--text-secondary); font-size: var(--fs-base); }

/* Team grid (Meet the Team) */
.team-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-top: var(--space-8); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { margin: 0; text-align: center; }
.team-card__photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); margin: 0 0 var(--space-4);
  background: linear-gradient(135deg, var(--brand-cream), var(--brand-cream-warm));
  border: none;
  display: grid; place-items: center; color: var(--text-muted); font-size: var(--fs-sm); font-style: italic;
}
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); }
/* Match a looser-framed headshot to the tighter one (zoom in to equalise face size). */
.team-card__photo--zoom img { transform: scale(1.18); transform-origin: 50% 18%; }
.team-card__name { margin: 0 0 var(--space-1); font-size: var(--fs-xl); color: var(--brand-navy); }
.team-card__role { margin: 0; color: var(--text-secondary); font-size: var(--fs-sm); }
.team-card__photo-link { display: block; transition: opacity var(--duration-fast) var(--ease-out); }
.team-card__photo-link:hover { opacity: 0.9; }
.team-card__name a { color: inherit; text-decoration: none; }
.team-card__name a:hover { color: var(--brand-gold-text); }

/* Lead/support split: Dr Wells featured above the support team. */
.team-support-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--brand-gold-text);
  font-weight: 700;
  margin: var(--space-10) 0 var(--space-5);
}
@media (min-width: 640px) {
  .team-grid--lead { grid-template-columns: minmax(0, 300px); justify-content: center; }
  .team-grid--support { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-inline: auto; }
}

/* =========================================================================
   20d. "Sports medicine for everyone" — clean icon band (no labels)
   ========================================================================= */
.sport-cluster { background: var(--brand-cream); padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.sport-cluster__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 940px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.5rem, 1rem + 2.2vw, 3.25rem);
}
.sport-cluster__list li { line-height: 0; }
.sport-cluster__list img {
  width: clamp(40px, 4vw, 56px); height: auto; display: block; opacity: 0.82;
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.sport-cluster__list li:hover img { opacity: 1; transform: translateY(-4px); }

/* =========================================================================
   21. Print styles
   ========================================================================= */
@media print {
  .site-header, .site-nav, .mobile-cta, .back-to-top, .nav-overlay, .mobile-drawer { display: none !important; }
  .hero { background: var(--brand-white); color: var(--brand-navy); padding-block: 1rem; }
  .hero h1, .hero__subtitle { color: var(--brand-navy); }
  body { font-size: 11pt; }
}

/* ---------------------------------------------------------------------------
   Cookie / analytics consent banner (injected by /js/consent.js)
   --------------------------------------------------------------------------- */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--brand-navy-deep);
  color: var(--brand-cream);
  border-top: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 -8px 30px rgba(6, 21, 40, 0.35);
  animation: consentRise 0.35s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner { animation: none; }
}
@keyframes consentRise {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.consent-banner__inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.consent-banner__text {
  margin: 0;
  flex: 1 1 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(250, 247, 241, 0.92);
}
.consent-banner__text a {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-banner__text a:hover { color: var(--brand-gold-soft); }
.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.consent-banner__btn {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.consent-banner__btn--accept {
  background: var(--brand-gold);
  color: var(--brand-navy-deep);
}
.consent-banner__btn--accept:hover { background: var(--brand-gold-soft); }
.consent-banner__btn--ghost {
  background: transparent;
  color: var(--brand-cream);
  border-color: rgba(250, 247, 241, 0.45);
}
.consent-banner__btn--ghost:hover { border-color: var(--brand-cream); background: rgba(250, 247, 241, 0.08); }
.consent-banner__btn:focus-visible {
  outline: 2px solid var(--brand-gold-soft);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .consent-banner__actions { width: 100%; }
  .consent-banner__btn { flex: 1 1 auto; text-align: center; }
}
