/* ==========================================================================
   Sydney Kidney Stone Clinic - single stylesheet
   Brand palette: deep marine blue, warm cream, terracotta accent.
   v1.0 | 2026-04-22
   ========================================================================== */

:root {
  /* Palette */
  --color-primary:        #1F4B7A;
  --color-primary-dark:   #143558;
  --color-primary-soft:   #E6EDF4;
  --color-secondary:      #F7F1E6;
  --color-secondary-deep: #E8DDC4;
  --color-accent:         #C95D3A;
  --color-accent-dark:    #A44A2D;

  --color-text:           #1A2530;
  --color-text-muted:     #5A6672;
  --color-text-inverse:   #FFFFFF;
  --color-line:           #E3E6EA;
  --color-bg:             #FFFFFF;
  --color-bg-soft:        #FBF7F0;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 45, 0.06), 0 1px 3px rgba(15, 35, 45, 0.04);
  --shadow:    0 6px 18px rgba(15, 35, 45, 0.08), 0 2px 6px rgba(15, 35, 45, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 35, 45, 0.14), 0 8px 20px rgba(15, 35, 45, 0.06);

  --container: 1200px;
  --container-narrow: 880px;

  --header-h: 84px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Responsive breakpoints (documented; used via @media rules below).
     --bp-sm 480px: small-phone / phone boundary
     --bp-md 720px: large-phone / small-tablet boundary
     --bp-lg 960px: tablet / laptop boundary (hamburger threshold)
     --bp-xl 1200px: laptop / desktop boundary */
  --bp-sm: 480px;
  --bp-md: 720px;
  --bp-lg: 960px;
  --bp-xl: 1200px;

  /* Fluid horizontal gutter used by every major container. */
  --pad-x: clamp(1rem, 4vw, 1.5rem);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
}

img, svg { max-width: 100%; display: block; height: auto; }

a {
  color: var(--color-primary);
  text-decoration-color: rgba(31, 75, 122, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--space-4); }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--space-4); }
li + li { margin-top: 0.35rem; }

hr { border: 0; height: 1px; background: var(--color-line); margin: var(--space-7) 0; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 3px solid var(--color-accent); }

/* Focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.4rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-accent {
  background: var(--color-accent);
  color: #1a1407;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--color-accent-dark); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-light:hover { background: var(--color-primary-soft); }

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: #fff; }

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

@supports (padding: max(0px)) {
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
}

.top-bar {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 0.85rem;
}
.top-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}
.top-bar-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.15rem;
  min-height: 36px;
}
.top-bar-link:hover { color: #fff; }
.top-bar-link i { color: var(--color-accent); font-size: 0.8rem; }
.top-bar-sep { color: rgba(255, 255, 255, 0.3); }

.main-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-primary);
}
.brand:hover { color: var(--color-primary-dark); }
.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  color: var(--color-primary);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
.brand-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0.15rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Primary nav */
.primary-nav {
  border-top: 1px solid var(--color-line);
  background: #fff;
}
.primary-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-list > li { margin: 0; }
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus-visible {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}
.nav-caret { font-size: 0.65rem; transition: transform 0.2s ease; }
.has-submenu { position: relative; }
.has-submenu:hover .nav-caret,
.has-submenu:focus-within .nav-caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}
.submenu a:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }

.nav-cta { margin-left: auto; padding: 0.5rem 0; }
.nav-cta .btn { padding: 0.65rem 1.1rem; font-size: 0.9rem; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201, 93, 58, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(31, 75, 122, 0.18), transparent 55%),
    linear-gradient(180deg, var(--color-secondary) 0%, #FBF7F0 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--pad-x) clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(14, 95, 107, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero-text h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  margin-bottom: 1.25rem;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--color-primary);
  background: linear-gradient(180deg, transparent 72%, rgba(232, 162, 58, 0.35) 72%);
  padding: 0 0.1em;
}
.hero-text .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.hero-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 620px;
}
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.6rem;
    margin-top: 1.5rem;
  }
  .hero-stat { padding: 0.85rem 0.9rem; }
  .hero-stat-num { font-size: 1.5rem; }
}

/* Shorter landscape phone/tablet viewports: tame hero vertical rhythm so the
   CTAs stay in view. */
@media (max-height: 560px) and (orientation: landscape) {
  .hero-inner {
    padding-block: 2rem;
    gap: 1.5rem;
  }
  .hero-media { max-width: 280px; }
}

/* Phone / large-phone: flip hero-media to a landscape ratio so it does not
   dominate the fold. */
@media (max-width: 720px) {
  .hero-media {
    aspect-ratio: 3 / 2;
    max-width: 520px;
  }
}
.hero-stat {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(14, 95, 107, 0.15);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}
.hero-stat-label { font-size: 0.85rem; color: var(--color-text-muted); }

/* ==========================================================================
   Section primitives
   ========================================================================== */

.section {
  padding: clamp(2.25rem, 5vw, 5.5rem) var(--pad-x);
}
.section-soft { background: var(--color-bg-soft); }
.section--tint { background: var(--color-bg-soft); }
.section-primary {
  background: var(--color-primary);
  color: #fff;
}
.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary h4 { color: #fff; }
.section-primary p { color: rgba(255, 255, 255, 0.88); }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-inner-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-muted); font-size: 1.05rem; }
.section-accent {
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  margin: 1rem auto 1.25rem;
  border-radius: 2px;
}

/* ==========================================================================
   Treatment tile grid
   ========================================================================== */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.75rem 1.6rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
  color: var(--color-text);
}
.tile:hover::before { transform: translateX(0); }

.tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.2rem;
}
.tile h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--color-primary-dark);
}
.tile p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}
.tile-link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
}
.tile:hover .tile-link i { transform: translateX(3px); }
.tile-link i { transition: transform 0.2s ease; }

/* ==========================================================================
   Page hero (sub-pages)
   ========================================================================== */

.page-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 162, 58, 0.15), transparent 60%),
    linear-gradient(180deg, var(--color-secondary) 0%, #FBF8F2 100%);
  padding: clamp(2rem, 5vw, 4.5rem) var(--pad-x) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--color-line);
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs i { font-size: 0.6rem; margin: 0 0.4rem; color: var(--color-text-muted); opacity: 0.6; }
.breadcrumbs [aria-current] { color: var(--color-primary-dark); font-weight: 500; }

.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.75rem;
  max-width: 22ch;
}
.page-hero .lede {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0;
}

/* ==========================================================================
   Prose / body content
   ========================================================================== */

.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.prose p,
.prose li { font-size: clamp(1rem, 0.6vw + 0.9rem, 1.08rem); line-height: 1.75; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }

.callout {
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.callout strong { color: var(--color-primary-dark); }

.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #fff8e8;
  border: 1px dashed var(--color-accent);
  color: #7a5511;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin: 1.25rem 0;
}
.placeholder-note i { color: var(--color-accent-dark); margin-top: 0.15rem; }

/* Key-points panel */
.keypoints {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.keypoints h3 { margin-top: 0; color: var(--color-primary-dark); font-size: 1.15rem; }
.keypoints ul { list-style: none; padding: 0; margin: 0; }
.keypoints li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0.6rem 0;
}
.keypoints li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--color-accent);
  font-size: 0.85rem;
}

/* ==========================================================================
   About / portrait
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.portrait-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 1.1rem;
  position: relative;
}
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15), transparent 55%);
}
.portrait-card--photo { background: var(--color-surface, #f4f4f4); }
.portrait-card--photo::after { content: none; }
.portrait-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-caption {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
}

.credentials {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.credentials li {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.credentials li i { color: var(--color-accent); margin-top: 0.2rem; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: var(--space-6);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-card h3 i { color: var(--color-accent); font-size: 0.95rem; }
.contact-card p { margin-bottom: 0.4rem; color: var(--color-text-muted); font-size: 0.95rem; }
.contact-card a { color: var(--color-primary); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
}
.contact-channel:hover { border-color: var(--color-primary); }
.contact-channel i {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.contact-channel-label { display: block; font-size: 0.8rem; color: var(--color-text-muted); }
.contact-channel-value { font-weight: 600; color: var(--color-primary-dark); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 162, 58, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.cta-band-text { max-width: 620px; }
.cta-band-text h2 { color: #fff; margin-bottom: 0.5rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.cta-band-text p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 720px) {
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .cta-band-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .cta-band-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   Feature / highlight blocks
   ========================================================================== */

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 480px) {
  .feature-row { grid-template-columns: 1fr; }
}
.feature {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-align: left;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232, 162, 58, 0.16);
  color: var(--color-accent-dark);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.feature h3 { font-size: 1.1rem; color: var(--color-primary-dark); margin-bottom: 0.35rem; }
.feature p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0a3d45;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) 1.5rem;
  font-size: 0.95rem;
}
.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
@media (max-width: 1200px) {
  .site-footer-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}
/* Footer at 960 and below falls to 2 cols via the nav breakpoint block;
   1 col at 480 and below via the small-phone block. */
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-brand .brand-main { color: #fff; }
.footer-brand .brand-sub  { color: rgba(255,255,255,0.6); }
.footer-brand .brand-mark { color: var(--color-accent); }
.footer-blurb {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin: 0.35rem 0; }
.footer-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-list a:hover { color: var(--color-accent); }
.footer-list--contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-list--contact i { color: var(--color-accent); margin-top: 0.25rem; font-size: 0.85rem; }

.site-footer-base {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-disclaimer { max-width: 58ch; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet landscape / small laptop: stack hero, tighten footer to 2 cols. */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 440px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-card { max-width: 360px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }

  /* Hamburger threshold - desktop nav hidden at <=960px so tablet portrait
     (768-820) and small laptops (900-960) never show the full nav. */
  .top-bar-link--hide-sm,
  .top-bar-sep--hide-sm { display: none; }

  .menu-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(380px, 92vw);
    background: #fff;
    border-left: 1px solid var(--color-line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.2,.7,.3,1);
    z-index: 200;
    padding: calc(env(safe-area-inset-top, 0px) + 4.5rem) 1.25rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 0;
  }
  .primary-nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li > a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--color-line);
    width: 100%;
    min-height: 48px;
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.5rem 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .has-submenu.open .submenu { max-height: 1600px; }
  .has-submenu > a {
    justify-content: space-between;
    position: relative;
  }
  .has-submenu > a .nav-caret {
    margin-left: auto;
    padding: 0.75rem;
    margin: -0.75rem -0.75rem -0.75rem auto;
    font-size: 0.75rem;
  }
  .submenu a { min-height: 40px; }
  .nav-cta {
    margin: 1rem 0 0;
    padding: 0;
  }
  .nav-cta .btn { width: 100%; padding: 0.9rem 1rem; }

  /* Mobile nav overlay backdrop */
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 35, 0.5);
    z-index: 150;
    backdrop-filter: blur(2px);
  }
}

/* Large phone / tablet portrait: centre top bar, tighten header. */
@media (max-width: 720px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .top-bar-inner { justify-content: center; font-size: 0.82rem; gap: 0.2rem 0.8rem; }
}

/* Small phone: collapse footer to 1 col, shrink brand and header padding. */
@media (max-width: 480px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .cta-band-inner { justify-content: flex-start; }
  .brand-sub { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-main { font-size: 1.15rem; }
  .main-header-inner { padding: 0.65rem var(--pad-x); gap: 0.5rem; }
  .top-bar-inner { padding: 0.4rem var(--pad-x); }
}

/* ==========================================================================
   Grouped mega-menu variant used by the Treatments dropdown
   ========================================================================== */

.has-submenu--wide .submenu--grouped {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem 1rem;
  width: min(780px, calc(100vw - 2.5rem));
  min-width: 0;
  padding: 1rem 1.1rem;
}
.submenu-group { margin: 0; min-width: 0; }
.submenu-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.submenu-col li { margin: 0; }
.submenu-head {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.15rem 0.5rem 0.45rem;
  margin: 0 0 0.35rem;
  border-bottom: 1px solid var(--color-line);
  pointer-events: none;
}

@media (max-width: 1200px) and (min-width: 961px) {
  .has-submenu--wide .submenu--grouped {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(480px, calc(100vw - 2.5rem));
  }
}

@media (max-width: 960px) {
  .has-submenu--wide .submenu--grouped {
    display: block;
    width: auto;
    padding: 0 0 0.5rem 0.5rem;
  }
  .submenu-group + .submenu-group { margin-top: 0.4rem; }
  .submenu-head {
    border-bottom: 0;
    padding: 0.6rem 0.25rem 0.1rem;
    color: var(--color-text-muted);
    margin: 0;
  }
}

/* Button size variant */
.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Stats strip
   Used on: Home, About, Outcomes, treatment pages.
   Renders a row of large numeric figures with short labels.
   ========================================================================== */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.1rem;
  margin: 0 auto;
  max-width: var(--container);
}
@media (max-width: 480px) {
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
}
.stats-strip--boxed {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center;
  padding: 0.6rem 0.75rem;
  border-right: 1px solid var(--color-line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-primary-dark);
  line-height: 1.05;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.stat-num em {
  font-style: normal;
  color: var(--color-accent-dark);
}
.stat-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  display: block;
}
.section-primary .stat-num { color: #fff; }
.section-primary .stat-num em { color: var(--color-accent); }
.section-primary .stat-label { color: rgba(255,255,255,0.78); }
.section-primary .stat { border-right-color: rgba(255,255,255,0.15); }

@media (max-width: 720px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--color-line); padding-bottom: 1rem; }
  .stat:last-child { border-bottom: 0; }
  .section-primary .stat { border-bottom-color: rgba(255,255,255,0.15); }
}

/* ==========================================================================
   Location cards (multi-room)
   Used on: Home, Contact, For GPs.
   ========================================================================== */

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.location-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.location-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.location-card-banner {
  height: 110px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  color: #fff;
  overflow: hidden;
}
.location-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(232, 162, 58, 0.3), transparent 60%);
}
.location-card-banner h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.location-card-banner i {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-size: 1.4rem;
  color: var(--color-accent);
  opacity: 0.9;
}
.location-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.location-card-body address {
  font-style: normal;
  color: var(--color-text);
  font-size: 0.97rem;
  line-height: 1.55;
}
.location-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}
.location-card-meta a {
  color: var(--color-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.location-card-meta a:hover { color: var(--color-primary); }
.location-card-meta i { color: var(--color-accent); width: 16px; text-align: center; }
.location-card-actions {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   Outcomes / data callout
   Used on: Outcomes page and select treatment pages.
   ========================================================================== */

.outcomes-panel {
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 100%);
  border: 1px solid rgba(14, 95, 107, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem 1.9rem;
  margin: 2rem 0;
}
.outcomes-panel h3 {
  color: var(--color-primary-dark);
  margin-top: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.outcomes-panel h3 i { color: var(--color-accent); }
.outcomes-panel .outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.outcomes-panel .outcome {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}
.outcomes-panel .outcome-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  line-height: 1;
}
.outcomes-panel .outcome-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}
.outcomes-panel .outcomes-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}

/* ==========================================================================
   FAQ accordion (vanilla <details>)
   Used on: treatment pages, Patients > FAQ, Second Opinion.
   ========================================================================== */

.faq {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(14, 95, 107, 0.3);
  box-shadow: var(--shadow-sm);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  transition: transform 0.2s ease;
}
.faq-item[open] > summary::after { transform: rotate(180deg); }
.faq-item > summary:hover { background: var(--color-primary-soft); }
.faq-item-body {
  padding: 0 1.2rem 1.1rem;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   GP referrer card
   Used on: For GPs, treatment pages, Contact.
   ========================================================================== */

.gp-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.9rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}
.gp-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -15%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232, 162, 58, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.gp-card h3 {
  color: #fff;
  margin-top: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.gp-card h3 i { color: var(--color-accent); }
.gp-card p { color: rgba(255, 255, 255, 0.9); position: relative; }
.gp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
  position: relative;
}
.gp-card-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(4px);
}
.gp-card-item .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.2rem;
}
.gp-card-item .value,
.gp-card-item a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.gp-card-item a:hover { color: var(--color-accent); }
.gp-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  position: relative;
}

/* ==========================================================================
   Patient-journey timeline
   Used on: Patients > What to Expect, treatment pages.
   ========================================================================== */

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: 2px;
}
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 3rem;
  margin: 0;
  counter-increment: step;
}
@media (max-width: 480px) {
  .timeline::before { left: 14px; }
  .timeline li { padding: 0 0 1.25rem 2.4rem; }
  .timeline li::before { width: 26px; height: 26px; left: 2px; font-size: 0.85rem; }
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 4px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-bg);
}
.timeline h4 {
  margin: 0 0 0.35rem;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
}
.timeline p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.97rem;
}
.timeline .time-meta {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   Publications / media grid
   Used on: Media page, About.
   ========================================================================== */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0;
}
.media-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.media-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(14, 95, 107, 0.3);
}
.media-card .media-type {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 600;
}
.media-card h4 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  line-height: 1.3;
}
.media-card .media-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
}
.media-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.media-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin: 0;
}
.media-list li:last-child { border-bottom: 0; }
.media-list .media-year {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent-dark);
  min-width: 3.5rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Video strip (placeholder tiles for future patient videos)
   ========================================================================== */

.video-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.video-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.video-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.video-tile::before {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px;
}
.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.video-tile span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 0.98rem;
}

/* ==========================================================================
   Two-column content split (used on treatment pages and hubs)
   ========================================================================== */

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.content-split aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.aside-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
}
.aside-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
}
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin: 0.3rem 0; }
.aside-card a {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-size: 0.95rem;
}
.aside-card a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .content-split { grid-template-columns: 1fr; }
  .content-split aside { position: static; }
}

/* ==========================================================================
   Verify marker (for unverified Dr-Kooner-specific claims in draft content)
   ========================================================================== */

.verify {
  display: inline-block;
  background: #fff4e0;
  border: 1px dashed var(--color-accent-dark);
  color: #7a5511;
  padding: 0.05rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.verify::before { content: "[VERIFY] "; font-weight: 700; }

/* ==========================================================================
   Chip row (area-of-interest pills / procedure tags)
   ========================================================================== */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(14, 95, 107, 0.14);
}
.chip:hover { background: var(--color-primary); color: #fff; }
.chip i { font-size: 0.72rem; }

/* ==========================================================================
   Section footer links (related services / see also)
   ========================================================================== */

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.related-item {
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.related-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
  color: var(--color-text);
}
.related-item i {
  color: var(--color-accent-dark);
  font-size: 0.85rem;
}
.related-item strong {
  display: block;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.98rem;
}
.related-item span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

/* ==========================================================================
   Checklist (used on Second Opinion, What to Expect)
   ========================================================================== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  margin: 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: #fff;
  background: var(--color-primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ==========================================================================
   Small utility spacing helpers used on new pages
   ========================================================================== */

.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }

/* ==========================================================================
   Shims: support simpler markup used on homepage / contact / second-opinion
   ========================================================================== */

/* Simple location-card (no banner/body wrapper) */
.location-card { padding: 1.4rem 1.5rem; }
.location-card > h3 {
  margin: 0 0 0.6rem;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
}
.location-card .location-address {
  margin: 0 0 0.8rem;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--color-text);
}
.location-card .location-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
}
.location-card .location-meta a {
  color: var(--color-primary-dark);
  text-decoration: none;
}
.location-card .location-meta a:hover { color: var(--color-primary); }
.location-card .location-meta i {
  color: var(--color-accent);
  width: 16px;
  text-align: center;
  margin-right: 0.3rem;
}

/* FAQ using vanilla <details> directly inside .faq */
.faq > details {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq > details[open] {
  border-color: rgba(14, 95, 107, 0.3);
  box-shadow: var(--shadow-sm);
}
.faq > details > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
}
.faq > details > summary::-webkit-details-marker { display: none; }
.faq > details > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  transition: transform 0.2s ease;
}
.faq > details[open] > summary::after { transform: rotate(180deg); }
.faq > details > summary:hover { background: var(--color-primary-soft); }
.faq > details > *:not(summary) {
  padding: 0 1.2rem 1.1rem;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq > details > p:last-child { margin-bottom: 0; }

/* Outcomes list (alongside outcomes-panel prose) */
.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.outcomes-list li {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.outcomes-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 960px) {
  .outcomes-panel { grid-template-columns: 1fr; }
}

/* Media card kind/title (simpler markup used on Home/About) */
.media-card .media-kind {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 700;
}
.media-card h3 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
}

/* Career timeline variant (same look as .timeline) */
.timeline--career { /* inherits from .timeline */ }

/* GP referrer card contact column */
.gp-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.gp-card .gp-card-contact {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  color: #fff;
}
.gp-card .gp-card-contact h3 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.gp-card .gp-card-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.94rem;
}
.gp-card .gp-card-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gp-card .gp-card-contact i {
  color: var(--color-accent);
  width: 18px;
  text-align: center;
  margin-right: 0.3rem;
}
@media (max-width: 960px) {
  .gp-card { grid-template-columns: 1fr; }
}


/* v1.0 2026-04-19 12:55:00 */
/* Resource-card pattern for linking downloadable PDF brochures. Rendered by
   any <section class="procedure-resources"> containing a .resource-grid of
   .resource-card anchor elements. */

.procedure-resources {
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--pad-x);
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-line);
}

.procedure-resources-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.procedure-resources h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.6rem);
  color: var(--color-primary-dark);
  margin: 0 0 6px;
}

.procedure-resources h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 8px;
  border-radius: 1px;
  margin-bottom: 18px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.resource-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--color-text);
  text-decoration: none;
}

.resource-card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.resource-card-icon.has-thumb {
  background: transparent;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.resource-card-icon.has-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.resource-card-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.3;
}

.resource-card-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.resource-card-action {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.resource-card:hover .resource-card-action {
  color: var(--color-accent-dark);
}

@media print {
  .procedure-resources {
    padding: 0;
    background: #fff;
    border: none;
  }
}

/* v1.1 2026-04-19 */
/* Full BAUS brochure index: table of contents, category section wrappers,
   and subgroup headings on top of the shared .resource-grid pattern. */
.brochure-toc {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.brochure-toc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
}

.brochure-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 20px;
}

.brochure-toc-list a {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  padding: 3px 0;
  font-size: 0.95rem;
}

.brochure-toc-list a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.brochure-toc-count {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-left: 2px;
}

.brochure-category {
  margin-top: 36px;
  scroll-margin-top: 90px;
}

.brochure-category-head {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.6vw + 0.6rem, 1.7rem);
  color: var(--color-primary-dark);
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
}

.brochure-subgroup-head {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 22px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.resource-card--weblink .resource-card-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

/* ---------------------------------------------------------------
   Content figures - in-prose diagrams and illustrations
   --------------------------------------------------------------- */
.content-figure {
  margin: 2rem 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #f6f6f6;
}
.content-figure figcaption {
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-line);
  background: #FBF8F2;
}
.content-figure figcaption strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}
.prose .content-figure + h2,
.prose .content-figure + h3 {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Print
   Strip site chrome so patients printing a treatment or brochure page get a
   clean, text-focused result.
   ========================================================================== */

@media print {
  :root { --pad-x: 0; }
  html, body { background: #fff; color: #000; font-size: 11pt; }

  .site-header,
  .primary-nav,
  .menu-toggle,
  .top-bar,
  .cta-band,
  .site-footer,
  .hero-actions,
  .nav-cta,
  .skip-link { display: none !important; }

  main, .section, .page-hero, .prose {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    background: #fff !important;
    color: #000 !important;
  }

  a { color: #000; text-decoration: underline; }
  .btn, .chip { border: 1px solid #000; color: #000 !important; background: #fff !important; box-shadow: none !important; }

  .tile, .feature, .location-card, .contact-card, .media-card, .faq-item,
  .resource-card, .outcomes-panel, .gp-card, .callout, .keypoints {
    break-inside: avoid;
    box-shadow: none !important;
  }

  h1, h2, h3 { color: #000 !important; }
}

/* ==========================================================================
   Stone-site additions: table of contents, data tables, urgent hero variant
   ========================================================================== */

.toc {
  background: var(--color-primary-soft);
  border: 1px solid rgba(31, 75, 122, 0.18);
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-radius: 10px;
  margin: 0 0 2rem 0;
  font-size: 0.95rem;
}

.toc strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.toc li {
  break-inside: avoid;
  padding: 0.15rem 0;
}

.toc a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.toc a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .toc ul { columns: 1; }
}

.treatment-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(14, 30, 56, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.treatment-table th,
.treatment-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(14, 30, 56, 0.08);
  vertical-align: top;
}

.treatment-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.treatment-table tr:last-child td { border-bottom: none; }

.treatment-table tr:nth-child(even) td { background: var(--color-bg-soft); }

.page-hero--urgent {
  background:
    linear-gradient(135deg, rgba(201, 93, 58, 0.16) 0%, rgba(247, 241, 230, 0.6) 60%),
    var(--color-secondary);
  border-top: 4px solid var(--color-accent);
}

