/* ----------------------------------------------------------------
   Dr Sarah Kraus — Brand & Site Stylesheet
   Palette pulled from the source presentation
   ---------------------------------------------------------------- */

:root {
  --sage: #539285;
  --sage-deep: #3d6f64;
  --sage-mute: #6da99c;
  --blush: #fae3d9;
  --blush-pale: #fcdbce;
  --blush-warm: #f4cdc0;
  --coral: #fbaaa4;
  --coral-deep: #e6857d;
  --cream: #fff9f6;
  --cream-warm: #fff3ec;
  --ink: #1f2926;
  --ink-soft: #4b5854;
  --line: #ead9cf;
  --line-soft: #f1e3da;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: 'Manrope', sans-serif; letter-spacing: 0.02em; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage);
}

em.serif-em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

a { color: inherit; text-decoration: none; }

/* ----------------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------------- */

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }

section { padding: 110px 0; position: relative; }
section.tight { padding: 80px 0; }

.section-cream { background: var(--cream); }
.section-blush { background: var(--blush); }
.section-blush-pale { background: var(--cream-warm); }
.section-sage { background: var(--sage); color: var(--cream); }
.section-sage h2, .section-sage h3, .section-sage h1 { color: var(--cream); }
.section-sage .eyebrow { color: var(--blush-pale); }
.section-dark { background: #1e2d2a; color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark h1 { color: var(--cream); }
.section-dark .eyebrow { color: var(--coral); }

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 249, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }

.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  height: 40px;
  width: auto;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.brand-sub { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sage); margin-top: 2px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Mobile menu toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--sage);
  background: var(--sage);
  color: var(--cream);
  transition: all .25s ease;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--sage); }
.btn-ghost:hover { background: var(--sage); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--sage); border-color: var(--cream); }
.btn-light:hover { background: var(--blush); border-color: var(--blush); color: var(--sage-deep); transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */

.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(251, 170, 164, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(83, 146, 133, 0.10), transparent 70%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 36px; height: 1px; background: var(--sage);
}

.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { font-style: italic; color: var(--sage); font-weight: 300; }

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  display: flex; gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  max-width: 540px;
}
.hero-meta .item { flex: 1; }
.hero-meta .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 300;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta .lbl {
  font-size: 0.78rem; color: var(--ink-soft);
  line-height: 1.4;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--blush);
  box-shadow: 0 30px 60px -20px rgba(60, 80, 75, 0.25);
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-portrait-frame {
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1.5px solid var(--sage);
  border-radius: 8px;
  z-index: -1;
}
.hero-portrait-wrap { position: relative; }
.hero-badge {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  padding: 20px 26px;
  border-radius: 4px;
  box-shadow: 0 12px 28px -10px rgba(60, 80, 75, 0.2);
  max-width: 280px;
}
.hero-badge .lbl {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sage);
  margin-bottom: 6px;
}
.hero-badge .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; line-height: 1.3;
  color: var(--ink);
}

/* ----------------------------------------------------------------
   Section heads
   ---------------------------------------------------------------- */

.section-head {
  text-align: center;
  margin-bottom: 72px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.section-head .eyebrow { margin-bottom: 18px; display: inline-block; }
.section-head h2 { margin-bottom: 20px; }
.section-head p {
  font-size: 1.05rem; color: var(--ink-soft);
  max-width: 600px; margin: 0 auto;
}

.section-head.left { text-align: left; margin-left: 0; max-width: 720px; }

/* ----------------------------------------------------------------
   Expertise grid
   ---------------------------------------------------------------- */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.exp-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 40px 36px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(60, 80, 75, 0.18);
  border-color: var(--sage-mute);
}

.exp-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blush);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--sage-deep);
}
.exp-card h3 { margin-bottom: 14px; font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.exp-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.exp-tag {
  margin-top: 22px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  font-weight: 600;
}

.note-card {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--cream-warm);
  border-left: 3px solid var(--coral);
  border-radius: 2px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.note-card strong { color: var(--ink); font-weight: 600; }
.note-card .note-title {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--coral-deep);
  margin-bottom: 10px;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   About / quote
   ---------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-aside h2 {
  font-style: italic;
  color: var(--sage-deep);
}
.about-aside p.intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 24px;
}

.about-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 22px;
}

/* ----------------------------------------------------------------
   Care pathway
   ---------------------------------------------------------------- */

.pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 40px;
}

.path-step {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 28px 22px 26px;
  position: relative;
  display: flex; flex-direction: column;
}
.path-step .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.path-step .step-num::before {
  content: ''; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
}
.path-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.path-step p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}

.pathway-counselling {
  margin-top: 20px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 6px;
  padding: 26px 32px;
  display: flex; align-items: center; gap: 22px;
}
.pathway-counselling .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 249, 246, 0.15);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pathway-counselling .lbl {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--blush-pale); margin-bottom: 4px;
}
.pathway-counselling .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   What to expect (first consultation)
   ---------------------------------------------------------------- */

.consult-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.consult-steps { display: flex; flex-direction: column; gap: 8px; }
.consult-step {
  display: flex; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.consult-step:last-child { border-bottom: 0; }
.consult-step .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--sage);
  font-weight: 300;
  line-height: 1;
  min-width: 56px;
}
.consult-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}
.consult-step p { color: var(--ink-soft); font-size: 0.95rem; }

.consult-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blush);
}
.consult-image img { width: 100%; height: 100%; object-fit: cover; }
.consult-image::after {
  content: ''; position: absolute;
  inset: auto auto -30px -30px;
  width: 120px; height: 120px;
  background: var(--sage);
  opacity: 0.1;
  border-radius: 50%;
}

/* ----------------------------------------------------------------
   Treatment goals
   ---------------------------------------------------------------- */

.treatment-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.treat-h {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 16px;
}
.treat-p {
  color: var(--blush-pale);
  line-height: 1.7;
  font-size: 0.95rem;
}

.causes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.cause-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 249, 246, 0.08);
  border: 1px solid rgba(255, 249, 246, 0.14);
  border-radius: 6px;
  padding: 14px 16px;
}
.treat-ic {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--coral);
  display: grid; place-items: center;
  color: var(--coral);
  flex-shrink: 0;
}
.cause-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.complications {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.comp-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 249, 246, 0.08);
  border-radius: 6px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 249, 246, 0.14);
}
.comp-card .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--coral);
  display: grid; place-items: center;
  color: var(--coral);
  flex-shrink: 0;
}
.comp-card h4 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}
.comp-card p { color: var(--blush-pale); font-size: 0.88rem; line-height: 1.55; }

/* ----------------------------------------------------------------
   Therapies
   ---------------------------------------------------------------- */

.therapy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.therapy-col {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 44px 40px;
}
.therapy-col .label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--sage); font-weight: 600;
  margin-bottom: 14px;
}
.therapy-col h3 { margin-bottom: 18px; }
.therapy-col .desc { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 28px; line-height: 1.65; }
.therapy-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.therapy-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 14px;
  font-size: 0.95rem;
  align-items: start;
  color: var(--ink);
}
.therapy-list li::before {
  content: ''; width: 8px; height: 8px;
  background: var(--coral); border-radius: 50%;
  margin-top: 9px;
}
.therapy-list li strong { font-weight: 600; }
.therapy-list li span { color: var(--ink-soft); display: block; font-size: 0.88rem; margin-top: 2px; }

/* ----------------------------------------------------------------
   Family screening
   ---------------------------------------------------------------- */

.family-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
  position: relative;
}
.family-step {
  background: rgba(255, 249, 246, 0.95);
  border-radius: 6px;
  padding: 32px 26px;
  position: relative;
  border: 1px solid var(--line-soft);
}
.family-step .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.family-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 12px;
  line-height: 1.25;
}
.family-step p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }

/* ----------------------------------------------------------------
   Bio & qualifications
   ---------------------------------------------------------------- */

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.bio-photo {
  position: sticky;
  top: 100px;
}
.bio-photo .frame {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--blush);
  position: relative;
}
.bio-photo .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-photo .caption {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.bio-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 22px;
}
.bio-body p strong { font-weight: 600; color: var(--sage-deep); }

.qual-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.qual-list h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.qual-list table {
  width: 100%;
  border-collapse: collapse;
}
.qual-list td {
  padding: 16px 0;
  vertical-align: top;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.5;
}
.qual-list td.year {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--sage);
  width: 110px;
  font-size: 1.05rem;
}
.qual-list td .deg { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.qual-list td .inst { color: var(--ink-soft); font-size: 0.88rem; }

/* Team member (Sybil) */
.team-member {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
  margin-top: 90px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.team-photo { position: sticky; top: 100px; }
.team-photo .frame {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--blush);
}
.team-photo .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin: 14px 0 8px;
}
.team-role {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  margin-bottom: 28px;
}
.team-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 20px;
}
.team-body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   Testimonials
   ---------------------------------------------------------------- */

.t-carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.t-slide {
  display: none;
}
.t-slide.active {
  display: block;
  animation: tFade 0.45s ease;
}

@keyframes tFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.t-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  line-height: 0.6;
  color: var(--coral);
  opacity: 0.5;
  margin-bottom: 32px;
  display: block;
  user-select: none;
}

.t-body p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 249, 246, 0.88);
  margin-bottom: 20px;
}
.t-body p:last-child { margin-bottom: 0; }

.t-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.t-list li {
  position: relative;
  padding-left: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 249, 246, 0.88);
  margin-bottom: 8px;
}
.t-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 249, 246, 0.12);
  position: relative;
}

.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 249, 246, 0.2);
  background: transparent;
  color: rgba(255, 249, 246, 0.6);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .25s ease;
  flex-shrink: 0;
}
.t-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(251, 170, 164, 0.08);
}

.t-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 249, 246, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}
.t-dot.active {
  background: var(--coral);
  width: 24px;
  border-radius: 4px;
}

.t-counter {
  position: absolute;
  right: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 249, 246, 0.35);
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.contact-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 56px 48px;
  border: 1px solid var(--line-soft);
}
.contact-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 36px;
  color: var(--sage-deep);
}

.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-list .row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; }
.contact-list .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  display: grid; place-items: center;
  color: var(--sage);
}
.contact-list .lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); margin-bottom: 3px; }
.contact-list .val { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ink); }
.contact-list a.val:hover { color: var(--sage); }

.locations h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}
.loc-card {
  background: rgba(255, 249, 246, 0.10);
  border: 1px solid rgba(255, 249, 246, 0.16);
  border-radius: 6px;
  padding: 28px 30px;
  margin-bottom: 16px;
}
.loc-card .name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--cream); margin-bottom: 6px; }
.loc-card .city { font-size: 0.85rem; color: var(--blush-pale); letter-spacing: 0.08em; text-transform: uppercase; }
.loc-card .addr { font-size: 0.9rem; color: var(--blush-pale); line-height: 1.6; }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0 36px;
}
footer .ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 249, 246, 0.1);
}
footer .ft-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream); font-weight: 400; font-size: 1.6rem; margin-bottom: 8px;
}
footer .ft-brand .sub { color: var(--coral); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 24px; }
footer .ft-brand p { color: rgba(255,249,246,0.65); font-size: 0.92rem; line-height: 1.7; max-width: 340px; }

footer h5 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--coral); margin-bottom: 18px; font-weight: 600;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: rgba(255,249,246,0.75); font-size: 0.92rem; transition: color .2s; }
footer ul a:hover { color: var(--cream); }

footer .ft-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,249,246,0.55);
}

/* ----------------------------------------------------------------
   Decorative
   ---------------------------------------------------------------- */

.divider-mark {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; margin: 0 auto;
}
.divider-mark .line { flex: 1; height: 1px; background: var(--line); max-width: 80px; }
.divider-mark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner .btn-sm { margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 34px -20px rgba(60, 80, 75, 0.3);
    padding: 8px 0;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 15px 32px; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-portrait-frame { display: none; }
  .hero-badge { left: auto; right: 20px; bottom: -20px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .pathway { grid-template-columns: repeat(2, 1fr); }
  .consult-grid { grid-template-columns: 1fr; gap: 50px; }
  .therapy-grid { grid-template-columns: 1fr; }
  .family-flow { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo { position: static; max-width: 360px; }
  .team-member { grid-template-columns: 1fr; gap: 40px; margin-top: 60px; padding-top: 50px; }
  .team-photo { position: static; max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .treatment-intro { grid-template-columns: 1fr; }
  .causes-grid { grid-template-columns: repeat(2, 1fr); }
  footer .ft-grid { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .brand-text { display: none; }
  .pathway { grid-template-columns: 1fr; }
  .family-flow { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Genetic Testing page (genetics.html)
   ---------------------------------------------------------------- */

.gx-hero {
  padding: 180px 0 90px;
  background:
    radial-gradient(1100px 560px at 82% 12%, rgba(251, 170, 164, 0.18), transparent 60%),
    radial-gradient(820px 480px at 8% 92%, rgba(83, 146, 133, 0.10), transparent 70%),
    var(--cream);
}
.gx-hero .eyebrow { display: inline-block; margin-bottom: 20px; }
.gx-hero h1 { max-width: 780px; }
.team-hero h1 { max-width: none; }
@media (min-width: 760px) { .team-hero h1 { white-space: nowrap; } }

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.partner-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 28px;
}
.partner-image {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 44px -18px rgba(60, 80, 75, 0.28);
}
.partner-image img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) {
  .partner-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Video embeds (Media page) */
.video-embeds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 44px -18px rgba(60, 80, 75, 0.28);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.video-facade:hover img { transform: scale(1.03); opacity: 0.92; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(31, 41, 38, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-left: 3px;
  transition: background .25s ease, transform .25s ease;
}
.video-facade:hover .video-play {
  background: var(--sage);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 18px 0 0;
}
@media (max-width: 820px) {
  .video-embeds { grid-template-columns: 1fr; gap: 28px; }
}
.gx-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 26px 0 38px;
}

.gx-prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 720px;
}
.gx-prose p strong { color: var(--sage-deep); font-weight: 600; }

.gx-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.gx-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 32px;
}
.gx-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin-bottom: 16px;
}
.gx-card p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.gx-card p:last-child { margin-bottom: 0; }

.gx-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 780px;
}
.gx-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-soft);
}
.gx-step:last-child { border-bottom: none; }
.gx-step .n {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  color: var(--sage);
  line-height: 1;
}
.gx-step h4 { margin-bottom: 12px; }
.gx-step p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.gx-step p:last-child { margin-bottom: 0; }
.gx-step p strong { color: var(--sage-deep); font-weight: 600; }

.gx-outcomes {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.gx-outcome {
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
  padding: 20px 22px;
  background: var(--cream);
}
.gx-outcome.positive { border-left-color: var(--sage); }
.gx-outcome.negative { border-left-color: var(--coral-deep); }
.gx-outcome.vus      { border-left-color: var(--blush-warm); }
.gx-outcome .tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 8px;
}
.gx-outcome.negative .tag { color: var(--coral-deep); }
.gx-outcome.vus .tag { color: var(--ink-soft); }
.gx-outcome p { margin-bottom: 0; }

@media (max-width: 760px) {
  .gx-cards { grid-template-columns: 1fr; }
  .gx-step { grid-template-columns: 1fr; gap: 10px; }
  .gx-hero { padding: 150px 0 70px; }
}

/* ----------------------------------------------------------------
   Media page (media.html)
   ---------------------------------------------------------------- */

.media-grid { display: grid; gap: 30px; }
.media-grid-podcast { grid-template-columns: repeat(2, 1fr); }
.media-grid-video { grid-template-columns: repeat(3, 1fr); }

.media-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.08);
  border-color: var(--line-soft);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  background:
    radial-gradient(140% 120% at 20% 10%, rgba(251, 170, 164, 0.35), transparent 55%),
    linear-gradient(135deg, var(--blush) 0%, var(--blush-pale) 100%);
}
.media-thumb.audio {
  color: var(--sage-deep);
  background:
    radial-gradient(140% 120% at 80% 10%, rgba(83, 146, 133, 0.22), transparent 55%),
    linear-gradient(135deg, var(--cream-warm) 0%, var(--blush-pale) 100%);
}
.media-card.is-placeholder .media-thumb {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0 12px, rgba(255,255,255,0) 12px 24px),
    linear-gradient(135deg, var(--blush) 0%, var(--blush-pale) 100%);
}

.media-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: rgba(255, 249, 246, 0.85);
  padding: 5px 10px;
  border-radius: 100px;
}

.media-play {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 249, 246, 0.9);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(31, 41, 38, 0.12);
}
.media-play svg { margin-left: 3px; }

.media-info { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.media-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  margin-bottom: 12px;
}
.media-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.media-info p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}
.media-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.02em;
}
.media-card.is-placeholder .media-link { color: var(--ink-soft); font-style: italic; font-weight: 500; }

@media (max-width: 860px) {
  .media-grid-video { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .media-grid-podcast,
  .media-grid-video { grid-template-columns: 1fr; }
}

/* Media page header — full-bleed photographic background with cream scrim */
.media-hero {
  min-height: 74vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(255, 249, 246, 0.80), rgba(255, 249, 246, 0.74)),
    url("assets/media-header.jpeg") center 66% / cover no-repeat;
  border-bottom: 1px solid var(--line-soft);
}
.media-hero > .wrap-narrow { width: 100%; }
@media (max-width: 760px) {
  .media-hero { min-height: 60vh; }
}
