/* Joint Well — Design System v1.1
   Mr. David Milligan | Consultant Trauma & Orthopaedic Surgeon
   Static, file://-friendly. No build step required. */

:root {
  --navy: #0F2C4A;
  --navy-deep: #0A1F35;
  --sage: #5C7C7A;
  --sage-soft: #E8EFEE;
  --offwhite: #F8F6F3;
  --surface: #FFFFFF;
  --charcoal: #1F2A36;
  --slate: #5A6A7A;
  --body: #3A4A58;
  --muted: #8A8A8A;
  --border: #D8D4CF;
  --border-soft: #E5E2DC;
  --warm-tint: #F1EDE6;
  --forest: #3D6B4F;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgb(15 44 74 / 0.04);
  --shadow-md: 0 8px 24px -8px rgb(15 44 74 / 0.08), 0 2px 8px -2px rgb(15 44 74 / 0.04);
  --shadow-lg: 0 20px 40px -12px rgb(15 44 74 / 0.12), 0 8px 16px -8px rgb(15 44 74 / 0.06);
  --max: 1120px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Focus — visible for keyboard, clean for mouse */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Typography */
.heading-serif {
  font-family: var(--font-serif);
  font-feature-settings: "kern", "liga";
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1, h2, h3, h4 { margin: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.section--white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--navy {
  background: var(--navy);
  color: white;
}

.section--navy .heading-serif { color: white; }

/* —— Navigation —— */
/* z-index 70 > .mobile-menu (60) so the hamburger/close control stays
   visible and clickable when the full-screen overlay is open. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

body.menu-open .site-nav {
  background: var(--surface);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 1px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 15px;
  color: var(--body);
}

.nav-desktop a {
  transition: color 0.15s var(--ease);
  position: relative;
}

.nav-desktop a:hover { color: var(--sage); }

.nav-desktop a.is-active {
  color: var(--navy);
  font-weight: 600;
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--sage);
  border-radius: 1px;
}

.nav-cta { display: none; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--navy);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.menu-toggle:hover { background: var(--warm-tint); border-color: var(--border-soft); }

.menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile menu overlay — sits under sticky nav so #mobile-menu-btn stays hittable */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60; /* below .site-nav (70) */
  background: var(--surface);
  padding-top: var(--nav-h);
  overflow-y: auto;
  pointer-events: auto;
}

.mobile-menu.is-open { display: block; }

.mobile-menu__inner {
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.25rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.15s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a.is-active { color: var(--navy); font-weight: 600; }

.mobile-menu__cta {
  margin-top: 1.5rem;
  border-bottom: none !important;
  padding: 0 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: white;
  border: 1.5px solid var(--navy);
}

.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-1px);
}

.btn--light {
  background: white;
  color: var(--navy);
  border: 1.5px solid white;
}

.btn--light:hover {
  background: var(--offwhite);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

.btn--block { width: 100%; }

/* Hero */
.hero {
  background: var(--surface);
  padding: 3.5rem 0 3rem;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 4.5rem; }
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--body);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero__meta {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

.hero__meta strong {
  color: var(--charcoal);
  font-weight: 500;
}

/* Portrait — real photo via <img class="portrait__photo">, or monogram fallback */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(92, 124, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(15, 44, 74, 0.12), transparent 50%),
    linear-gradient(155deg, #EDE9E3 0%, #D8D4CF 45%, #C5C0B8 100%);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .portrait { aspect-ratio: 4 / 4.6; }
}

/* Real headshot: put file at images/portrait.jpg (see images/README.txt) */
.portrait__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
}

.portrait--has-photo {
  background: var(--warm-tint);
}

.portrait--has-photo .portrait__inner {
  display: none;
}

.portrait__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  z-index: 0;
}

.portrait__monogram {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 44, 74, 0.2);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.portrait__label {
  font-size: 13px;
  color: var(--slate);
  max-width: 12rem;
  line-height: 1.45;
}

.portrait__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius-xl) - 4px);
  pointer-events: none;
  z-index: 2;
}

.portrait--has-photo .portrait__frame {
  border-color: rgba(255, 255, 255, 0.25);
}

/* Trust bar */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar__list {
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

.trust-bar__sep {
  display: none;
  width: 1px;
  height: 12px;
  background: var(--border);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .trust-bar__sep { display: block; }
}

/* Premium professional profile panel (humans + AI-clear facts) */
.profile-panel {
  padding: 0.5rem 0 0;
}

.profile-panel__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.profile-panel__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--sage) 100%);
}

.profile-panel__header {
  padding: 2rem 2rem 1.5rem 2.25rem;
  border-bottom: 1px solid var(--border-soft);
  background:
    linear-gradient(135deg, rgb(232 239 238 / 0.55) 0%, transparent 55%),
    var(--surface);
}

.profile-panel__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.profile-panel__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.profile-panel__role {
  margin: 0.45rem 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.01em;
}

.profile-panel__summary {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

.profile-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

@media (min-width: 700px) {
  .profile-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-panel__item {
  background: var(--surface);
  padding: 1.35rem 1.75rem 1.35rem 2.25rem;
}

.profile-panel__kicker {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.profile-panel__value {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
}

.profile-panel__sub {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.45;
}

.profile-panel__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.15rem 1.75rem 1.2rem 2.25rem;
  background: var(--navy);
  color: rgb(255 255 255 / 0.9);
}

.profile-panel__meta-line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.profile-panel__meta-line strong {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.profile-panel__meta-line--contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.profile-panel__meta-line--contact strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.profile-panel__phone {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius-full);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.profile-panel__phone:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.5);
}

/* About page — full-width "At a glance" strip (not nested in bio column) */
.glance-strip {
  margin: 0 0 3.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .glance-strip {
    padding: 2rem 2rem 1.75rem;
    margin-bottom: 1rem;
  }
}

.glance-strip__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.glance-strip__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.glance-strip__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.glance-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .glance-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .glance-strip__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.85rem;
  }
}

.glance-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1.1rem 1.15rem;
  background: var(--offwhite);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.glance-tile__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  line-height: 1.2;
}

.glance-tile__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

a.glance-tile--cta {
  background: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

a.glance-tile--cta .glance-tile__label {
  color: rgb(255 255 255 / 0.7);
}

a.glance-tile--cta .glance-tile__value {
  color: #fff;
  font-weight: 600;
}

a.glance-tile--cta:hover {
  background: var(--navy-deep);
}

a.glance-tile--cta:hover .glance-tile__value span {
  display: inline-block;
  transform: translateX(3px);
}

/* Doctify / independent reviews — calm, not salesy */
.reviews-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.reviews-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.reviews-strip__copy h2 {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.reviews-strip__copy p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  max-width: 36rem;
}

.reviews-strip__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: min(100%, 280px);
  padding-right: 1.5rem; /* room for scaled badge */
}

.reviews-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.reviews-strip__link:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

.reviews-strip__link span {
  color: var(--sage);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Doctify widgets */
.doctify-widget-mount {
  width: 100%;
  max-width: 360px;
  min-height: 140px;
}

.doctify-widget-mount--rating {
  max-width: 380px;
  min-height: 160px;
  transform: scale(1.2);
  transform-origin: left center;
  margin: 0.5rem 0 1.25rem;
}

.doctify-widget-mount--rating iframe.doctify-widget {
  display: block;
  width: 100%;
  min-height: 140px;
  border: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .doctify-widget-mount--rating {
    transform: scale(1.35);
    margin-bottom: 1.5rem;
  }
}

.doctify-contact {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  max-width: 28rem;
}

.doctify-contact__label {
  margin: 0 0 0.75rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.doctify-contact__note {
  margin: 0.85rem 0 0;
  font-size: 14px;
}

#jw-doctify-contact-micro {
  min-height: 40px;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  display: block;
  height: 100%;
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #C8D4D3;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--warm-tint);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.15s var(--ease);
}

a.card:hover .card__title { color: var(--sage); }

.card__text {
  margin-top: 0.6rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.card__meta {
  margin-top: 1rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.card__date {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--muted);
}

/* Section headers */
.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.55;
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--sage);
  transition: color 0.15s var(--ease);
  white-space: nowrap;
}

.link-arrow:hover { color: var(--navy); }

/* Approach */
.approach-list {
  max-width: 42rem;
}

.approach-list p {
  margin: 0 0 1.25rem;
  font-size: 17px;
  color: var(--body);
  line-height: 1.7;
}

.approach-list p:last-child { margin-bottom: 0; }

/* Bottom CTA */
.cta-panel h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  max-width: 28rem;
  letter-spacing: -0.02em;
}

.cta-panel p {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
  line-height: 1.55;
}

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .cta-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  font-size: 14px;
  color: var(--slate);
}

.site-footer__row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer__links a {
  transition: color 0.15s var(--ease);
}

.site-footer__links a:hover { color: var(--navy); }

.site-footer__disclaimer {
  margin: 1.75rem 0 0;
  font-size: 12px;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.5;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--surface);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
}

.page-hero__lead {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--body);
  max-width: 40rem;
  line-height: 1.5;
}

/* About layout */
.about-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
    padding: 4rem 0;
  }
}

/* Only direct bio paragraphs — never cascade into nested components */
.about-bio > p {
  margin: 0 0 1.25rem;
  font-size: 17px;
  color: var(--body);
  line-height: 1.7;
}

.about-bio > p:last-child {
  margin-bottom: 0;
}

.cred-block {
  margin-bottom: 2rem;
}

.cred-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cred-block ul,
.cred-block p {
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.6;
}

.cred-block li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.cred-block li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.locations {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .locations { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.location h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0;
}

.location p {
  margin: 0.35rem 0 0;
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}

/* Contact */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .booking-card { padding: 2.75rem 3rem; }
}

.booking-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-card > p {
  margin: 0.75rem 0 0;
  color: var(--body);
  max-width: 36rem;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 480px) {
  .booking-actions { flex-direction: row; flex-wrap: wrap; }
}

.booking-note {
  margin: 1rem 0 0;
  font-size: 13px;
  color: var(--slate);
}

.info-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.info-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.info-item p {
  margin: 0;
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}

.expect-list {
  margin-top: 1.25rem;
}

.expect-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
  font-size: 15px;
  color: var(--body);
  line-height: 1.5;
}

.expect-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* Insights list */
.insight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.insight-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.insight-item:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

a.insight-item:hover h3 {
  color: var(--sage-dark, var(--sage));
}

.insight-item:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

.insight-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.insight-item h3 {
  margin-top: 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.insight-item p {
  margin: 0.5rem 0 0;
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}

/* Condition article */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.5rem;
}

.article__body {
  margin-top: 2rem;
  font-size: 17px;
  color: var(--body);
  line-height: 1.75;
}

.article__body p { margin: 0 0 1.25rem; }

.article__body h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
  letter-spacing: 0;
}

.article__body ul {
  margin: 0 0 1.25rem;
  padding-left: 0;
}

.article__body li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
}

.article__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.callout li {
  font-size: 15px;
  margin-bottom: 0.4rem;
}

/* Success page */
.success {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success__icon svg { width: 28px; height: 28px; }

.success h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-serif);
}

.success p {
  margin: 0.75rem 0 0;
  color: var(--body);
  font-size: 1.05rem;
}

.success__actions { margin-top: 2rem; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-0 { margin-top: 0; }
.hidden-mobile { display: none; }

@media (min-width: 768px) {
  .hidden-mobile { display: inline; }
  .hidden-desktop { display: none !important; }
}

/* Pathway cards on home next-step */
.pathway-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pathway-grid { grid-template-columns: 1fr 1fr; }
}

.pathway {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.pathway h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.pathway p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.pathway a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s var(--ease);
}

.pathway a:hover { border-color: white; }
