/* ============================================================
   DESIGN TOKENS — navy-dominant, emerald as sharp accent
   ============================================================ */
:root {
  --navy:          #1B2A4A;
  --navy-dark:     #0f1820;
  --navy-deep:     #080f17;
  --navy-mid:      #1e3058;
  --emerald:       #2D7A6F;
  --cta-orange:      #FF6B35;
  --emerald-light: #4A9C8E;
  --emerald-glow:  rgba(74, 156, 142, 0.18);
  --taupe:         #8B8573;
  --taupe-light:   #a8a293;
  --cream:         #F5F3F0;
  --cream-dim:     rgba(245, 243, 240, 0.72);
  --off-white:     #faf9f7;
  --text:          #1a1918;
  --text-soft:     #4a4845;
  --hairline:      rgba(139, 133, 115, 0.22);
  --hairline-dark: rgba(245, 243, 240, 0.11);

  /* Modular type scale — clamp-based, dramatic contrast */
  --ff-display: "DM Serif Display", Georgia, serif;
  --ff-serif-quotes: "Spectral", Georgia, serif;
  --ff-serif-numbers: "IBM Plex Serif", Georgia, serif;
  --ff-body:    "Crimson Text", Georgia, serif;
  --ff-ui:      "Lora", Georgia, serif;

  --fs-micro: 11px;
  --fs-xs:    13px;
  --fs-sm:    15px;
  --fs-base:  18px;
  --fs-md:    21px;
  --fs-lg:    clamp(22px, 2vw, 28px);
  --fs-xl:    clamp(28px, 2.6vw, 38px);
  --fs-2xl:   clamp(40px, 4vw, 62px);
  --fs-3xl:   clamp(54px, 6vw, 88px);
  --fs-hero:  clamp(72px, 12vw, 196px);  /* monument */

  /* 8-point spacing system */
  --s-0: 0;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 140px;
  --s-9: 200px;

  /* Layout */
  --max-w: 1280px;
  --gutter: 28px;

  /* Motion — no linear, no default ease */
  --e-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --e-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --e-out-quint: cubic-bezier(0.22, 1, 0.36, 1);

  --intake-h: 52px;
}

/* ============================================================
   INTAKE NOTICE BANNER — sticky top, dismissible
   ============================================================ */
.intake-notice {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cta-orange);
  color: var(--cream);
  height: var(--intake-h);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.intake-notice-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
}
.intake-notice-icon {
  font-size: 17px;
  flex-shrink: 0;
  opacity: 0.9;
  line-height: 1;
}
.intake-notice p {
  font-family: var(--ff-ui);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin: 0;
  flex: 1;
  color: var(--cream);
}
.intake-notice p strong {
  font-weight: 600;
  letter-spacing: 0.06em;
}
.intake-notice p a {
  color: var(--cream);
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 243, 240, 0.55);
  padding-bottom: 1px;
  transition: border-color .3s;
}
.intake-notice p a:hover { border-bottom-color: var(--cream); }
.intake-notice-close {
  background: none;
  border: 1px solid rgba(245, 243, 240, 0.45);
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background .2s, border-color .2s;
  border-radius: 2px;
}
.intake-notice-close:hover {
  background: rgba(245, 243, 240, 0.15);
  border-color: var(--cream);
}
@media (max-width: 600px) {
  .intake-notice { height: auto; min-height: var(--intake-h); padding: 10px 0; }
  .intake-notice-inner { flex-wrap: wrap; gap: var(--s-2); }
}

/* Nudge nav down when notice is visible — JS toggles .notice-visible on body */
body.notice-visible .nav { top: var(--intake-h); }
@media (max-width: 600px) {
  body.notice-visible .nav { top: 0; }
}

/* ============================================================
   RESET + GLOBALS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--cream);
  background: var(--navy-dark);
  overflow-x: hidden;
}
/* subtle grain/noise for atmosphere — frontend-design: "create atmosphere" */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--e-out-quart); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }

::selection { background: var(--cta-orange); color: var(--cream); }
::-moz-selection { background: var(--cta-orange); color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--emerald-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS — sharp, not rounded; branded, not generic
   ============================================================ */
.btn {
  display: inline-block;
  padding: 18px 38px;
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all .4s var(--e-out-expo);
  position: relative;
}
.btn-primary {
  background: var(--cta-orange);
  color: #FFFFFF;
  border: 1px solid var(--cream);
}
.btn-primary:hover {
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--cream);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 243, 240, 0.35);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--cream);
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost-dark:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ============================================================
   NAVIGATION — floating, lightweight on scroll
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 24, 32, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background .5s var(--e-out-quart), backdrop-filter .5s var(--e-out-quart), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15, 24, 32, 0.85);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--hairline-dark);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-3) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

/* Custom typographic EM monogram lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}
.brand .monogram {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  position: relative;
}
.brand .monogram svg {
  width: 100%;
  height: 100%;
}
.brand-text {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-text small {
  display: block;
  font-family: var(--ff-ui);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--emerald-light);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--ff-ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-items: center;
}
/* Link group separators — subtle visual break between nav sections */
.nav-links-group {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links-group::after {
  content: '';
  width: 1px;
  height: 18px;
  background: var(--hairline-dark);
  margin: 0 8px;
}
.nav-links-group:last-child::after { display: none; }

.nav-links a {
  color: var(--cream);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--e-out-quart);
}
/* Animated underline — slides in from left on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--emerald-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--e-out-expo);
}
/* Active state — persistent underline for current page */
.nav-links a.current {
  color: var(--emerald-light);
}
.nav-links a.current::after {
  transform: scaleX(1);
}
.nav-links a:hover {
  color: var(--emerald-light);
}
.nav-links a:hover::after {
  width: 100%;
}

/* CTA button with arrow animation */
.nav-cta {
  font-size: 12px;
  padding: 14px 38px 14px 26px;
  letter-spacing: 0.18em;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Arrow indicator inside button */
.nav-cta::after {
  content: '→';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  font-size: 14px;
  transition: transform .3s var(--e-out-quart);
  opacity: 0;
}
.nav-cta:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}
/* Subtle pulse animation on page load */
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
}
.nav-cta { animation: pulse-cta 2.5s ease-in-out; }

/* Secondary button — de-emphasized but accessible */
.btn-ghost {
  border-radius: 6px;
  border: 1.5px solid var(--emerald-light);
  color: var(--emerald-light);
  background: transparent;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-family: var(--ff-ui);
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .4s var(--e-out-expo);
}
.btn-ghost:hover {
  background: var(--emerald-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   HERO — monument scale, grid-breaking, orchestrated load
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, var(--emerald-glow), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(139, 133, 115, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  padding: var(--s-9) var(--gutter) var(--s-7);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 1040px) {
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: var(--s-7); }
}

/* Eyebrow with emerald rule */
.hero-eyebrow {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--emerald-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--s-4);
}
.hero-eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--emerald-light);
  display: inline-block;
}

/* Hero headline — monument scale with orchestrated reveal */
.hero-headline {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  color: var(--cream);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-4);
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  color: var(--emerald-light);
  display: inline-block;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--e-out-expo),
    transform 1s var(--e-out-expo);
}
.hero.loaded .hero-headline .word { opacity: 1; transform: none; }
.hero.loaded .hero-headline .word:nth-child(1) { transition-delay: .1s; }
.hero.loaded .hero-headline .word:nth-child(2) { transition-delay: .22s; }
.hero.loaded .hero-headline .word:nth-child(3) { transition-delay: .34s; }
.hero.loaded .hero-headline .word:nth-child(4) { transition-delay: .46s; }
.hero.loaded .hero-headline .word:nth-child(5) { transition-delay: .58s; }

.hero-sub {
  font-family: var(--ff-serif-quotes);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--cream-dim);
  margin-bottom: var(--s-5);
  max-width: 32ch;
  line-height: 1.3;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--e-out-expo) .9s, transform 1s var(--e-out-expo) .9s;
}
.hero.loaded .hero-sub { opacity: 1; transform: none; }

.hero-body {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: rgba(245, 243, 240, 0.88);
  max-width: 56ch;
  margin-bottom: var(--s-4);
  opacity: 0;
  transition: opacity 1s var(--e-out-expo) 1.1s;
}
.hero.loaded .hero-body { opacity: 1; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s var(--e-out-expo) 1.3s, transform .9s var(--e-out-expo) 1.3s;
}
.hero.loaded .hero-ctas { opacity: 1; transform: none; }

.hero-meta {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline-dark);
  opacity: 0;
  transition: opacity 1s var(--e-out-expo) 1.5s;
}
.hero.loaded .hero-meta { opacity: 1; }
.hero-meta-item {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
  text-transform: uppercase;
  font-weight: 500;
}
.hero-meta-item strong {
  display: block;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  font-size: 13px;
}

/* Grid-breaking accent — emerald horizontal rule escaping to viewport edge */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: var(--s-7);
  width: 100px;
  height: 1.5px;
  background: linear-gradient(to right, var(--emerald) 0%, transparent 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--e-out-expo) 1.6s, opacity 1s var(--e-out-expo) 1.6s;
  pointer-events: none;
}
.hero.loaded::after {
  transform: scaleX(3);
  opacity: 1;
}

/* ============================================================
   POSITIONING STRIP — grid-breaking, scale-shift
   ============================================================ */
.strip {
  background: var(--cream);
  color: var(--navy);
  padding: var(--s-6) var(--gutter);
  position: relative;
  overflow: hidden;
}
.strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
  position: relative;
}
@media (min-width: 800px) {
  .strip-inner { grid-template-columns: auto 1fr auto; gap: var(--s-5); }
}
.strip-label {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  white-space: nowrap;
}
.strip-quote {
  font-family: var(--ff-serif-quotes);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--navy);
  max-width: 52ch;
  letter-spacing: -0.005em;
}
.strip-quote em { color: var(--emerald); font-weight: 400; }
.strip-attr {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: right;
  line-height: 1.5;
  font-weight: 500;
}
.strip-attr strong { color: var(--navy); font-weight: 500; }

/* ============================================================
   PROGRAMS — editorial grid, asymmetric rhythm
   ============================================================ */
.programs {
  background: var(--navy-deep);
  padding: var(--s-7) var(--gutter) var(--s-7);
  position: relative;
  overflow: hidden;
}
.programs::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  max-width: 900px;
  height: 60vw;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-glow), transparent 60%);
  pointer-events: none;
  opacity: 0.5;
}
.programs-header {
  max-width: var(--max-w);
  margin: 0 auto var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .programs-header {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--s-6);
  }
}
.programs-kicker {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.programs-title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.programs-title em { font-style: italic; color: var(--emerald-light); }
.programs-intro {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--cream-dim);
  max-width: 48ch;
  line-height: 1.6;
}
.programs-intro em { color: var(--emerald-light); font-style: italic; }

.programs-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
@media (min-width: 760px) {
  .programs-grid { grid-template-columns: 1fr 1fr; }
}
.program-card {
  padding: var(--s-5) var(--s-4);
  position: relative;
  transition: background .5s var(--e-out-quart);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 320px;
  color: var(--cream);
  border-right: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.program-card:nth-child(2n) { border-right: none; }
.program-card:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 759px) {
  .program-card { border-right: none; }
  .program-card:last-child { border-bottom: none; }
}
.program-card:hover { background: rgba(74, 156, 142, 0.04); }

.program-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.program-number {
  font-family: var(--ff-serif-numbers);
  font-weight: 200;
  font-size: 72px;
  line-height: 0.9;
  color: var(--emerald-light);
  opacity: 0.5;
  letter-spacing: -0.04em;
  transition: opacity .5s var(--e-out-quart), transform .5s var(--e-out-expo);
}
.program-card:hover .program-number {
  opacity: 1;
  transform: translateX(-4px);
}
.program-status {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.program-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  flex-shrink: 0;
}
.program-status.soon { color: var(--taupe-light); }
.program-status.soon::before { background: transparent; border: 1.5px solid var(--taupe-light); }

.program-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--cream);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: var(--s-2);
}
.program-desc {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 48ch;
}
.program-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline-dark);
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-light);
  font-weight: 500;
  transition: gap .4s var(--e-out-expo);
}
.program-arrow .glyph {
  transition: transform .4s var(--e-out-expo);
}
.program-card:hover .program-arrow .glyph { transform: translateX(6px); }

/* ============================================================
   PHYSICIAN — editorial spread, magazine-dense
   ============================================================ */
.physician {
  background: var(--cream);
  color: var(--navy);
  padding: var(--s-7) var(--gutter);
  position: relative;
  overflow: hidden;
}
.physician-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 900px) {
  .physician-inner { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-7); align-items: start; }
}
.physician-portrait {
  position: relative;
}
.portrait-frame {
  aspect-ratio: 4 / 5;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(27, 42, 74, 0.45);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 1.8s var(--e-out-expo);
}
.physician:hover .portrait-frame img { transform: scale(1.02); }
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,24,32,0) 55%, rgba(15,24,32,0.18) 100%),
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(74,156,142,0.05), transparent 60%);
}
.portrait-caption {
  font-family: var(--ff-ui);
  font-style: italic;
  font-size: 12px;
  color: var(--taupe);
  margin-top: var(--s-2);
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.physician-content {
  max-width: 60ch;
}
.physician-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-1) 0;
  border-top: 1.5px solid var(--navy);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-4);
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.physician-title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
  max-width: 18ch;
  text-wrap: balance;
}
.physician-title em { font-style: italic; color: var(--emerald); }

.physician-lead {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  margin-bottom: var(--s-4);
}
.physician-lead::first-letter {
  font-family: var(--ff-display);
  font-size: 4.8em;
  float: left;
  line-height: 0.88;
  padding: 10px 12px 0 0;
  color: var(--emerald);
}

.physician-pullquote {
  font-family: var(--ff-serif-quotes);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--navy);
  padding: var(--s-4) 0;
  margin: var(--s-4) 0;
  border-top: 1px solid var(--emerald);
  border-bottom: 1px solid var(--emerald);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.physician-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin: var(--s-4) 0;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.physician-fact {
  font-family: var(--ff-ui);
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.physician-fact strong {
  display: block;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 4px;
}

.physician-cta {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--emerald);
  transition: gap .4s var(--e-out-expo);
}
.physician-cta:hover { gap: 20px; }

/* ============================================================
   HOW IT WORKS — numbered editorial, horizontal on desktop
   ============================================================ */
.howworks {
  background: var(--navy);
  color: var(--cream);
  padding: var(--s-7) var(--gutter);
  position: relative;
  overflow: hidden;
}
.howworks::before {
  content: 'The Plan';
  position: absolute;
  top: 40px;
  right: 28px;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-light);
  font-weight: 500;
}
.howworks-header {
  max-width: var(--max-w);
  margin: 0 auto var(--s-6);
}
.howworks-header h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: var(--s-3);
}
.howworks-header h2 em { font-style: italic; color: var(--emerald-light); }
.howworks-header p {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--cream-dim);
  max-width: 48ch;
  line-height: 1.6;
}
.steps {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline-dark);
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: none; }
}
.step {
  padding: var(--s-5) var(--s-3);
  border-bottom: 1px solid var(--hairline-dark);
  position: relative;
}
@media (min-width: 860px) {
  .step {
    padding: var(--s-5) var(--s-4);
    border-bottom: none;
    border-right: 1px solid var(--hairline-dark);
    border-top: 1px solid var(--hairline-dark);
  }
  .step:last-child { border-right: none; }
}
.step-number {
  font-family: var(--ff-serif-numbers);
  font-weight: 200;
  font-size: clamp(64px, 7vw, 96px);
  color: var(--emerald-light);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-3);
  opacity: 0.85;
}
.step-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 28px);
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
  max-width: 22ch;
}
.step-body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 42ch;
}

/* ============================================================
   PRICING — confident table
   ============================================================ */
.pricing-snap {
  background: var(--cream);
  color: var(--navy);
  padding: var(--s-7) var(--gutter);
}
.pricing-snap-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 900px) {
  .pricing-snap-inner { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-7); }
}
.pricing-snap-left .kicker {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.pricing-snap-left h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: var(--s-3);
}
.pricing-snap-left h2 em { font-style: italic; color: var(--emerald); }
.pricing-snap-left .lead {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: var(--s-4);
  max-width: 44ch;
}
.pricing-snap-left .assure {
  font-family: var(--ff-ui);
  font-style: italic;
  font-size: 14px;
  color: var(--taupe);
  border-left: 2px solid var(--emerald);
  padding-left: var(--s-2);
  margin-bottom: var(--s-4);
  line-height: 1.55;
}
.pricing-snap-left .assure strong { color: var(--navy); font-style: normal; font-weight: 500; }
.pricing-arrow-link {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--emerald);
  padding-bottom: 2px;
  transition: gap .4s var(--e-out-expo);
}
.pricing-arrow-link:hover { gap: 20px; }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1.5px solid var(--navy);
}
.pricing-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--hairline);
}
.pricing-list .item {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--navy);
}
.pricing-list .item small {
  display: block;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 3px;
  line-height: 1.45;
}
.pricing-list .price {
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-align: right;
}
.pricing-list .price em {
  display: block;
  font-family: var(--ff-ui);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--taupe);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================================
   FINAL CTA — dramatic, low-key restrained
   ============================================================ */
.cta-final {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--s-8) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, var(--emerald-glow), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(139, 133, 115, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-final-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-final-kicker {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--emerald-light);
  font-weight: 500;
  margin-bottom: var(--s-4);
  display: inline-block;
  position: relative;
}
.cta-final-kicker::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--emerald-light);
  margin: 16px auto 0;
}
.cta-final-line {
  font-family: var(--ff-serif-quotes);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.cta-final-stakes {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--cream-dim);
  max-width: 54ch;
  margin: 0 auto var(--s-5);
  line-height: 1.6;
}
.cta-final-stakes em { color: var(--emerald-light); font-style: italic; }
.cta-final-ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-final-primary {
  background: var(--cta-orange);
  color: var(--cream);
  border: 1px solid var(--cream);
}
.cta-final-primary:hover {
  background: var(--cream);
  color: var(--navy-deep);
  border: 1px solid var(--cream);
}
.cta-final-contact {
  font-family: var(--ff-ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  margin-top: var(--s-4);
  text-transform: uppercase;
  font-weight: 500;
}
.cta-final-contact a {
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
  padding-bottom: 1px;
}
.cta-final-contact a:hover { border-bottom-color: var(--emerald-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: var(--cream-dim);
  padding: var(--s-6) var(--gutter) var(--s-4);
  border-top: 1px solid var(--hairline-dark);
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--hairline-dark);
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
}
.footer-brand .brand { color: var(--cream); margin-bottom: var(--s-2); }
.footer-brand p {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(245, 243, 240, 0.6);
  max-width: 36ch;
  line-height: 1.6;
  margin: var(--s-2) 0 0;
}
.footer h4 {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a {
  color: rgba(245, 243, 240, 0.7);
  font-family: var(--ff-ui);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .3s, border-color .3s;
}
.footer a:hover { color: var(--emerald-light); border-bottom-color: var(--emerald-light); }
.footer-legal {
  max-width: var(--max-w);
  margin: var(--s-3) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  font-size: 12px;
  color: rgba(245, 243, 240, 0.5);
  font-family: var(--ff-ui);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
@media (min-width: 720px) {
  .footer-legal { grid-template-columns: auto 1fr; }
}
.footer-legal .disclaimer { font-style: italic; }

/* Mobile pricing layout — card-based instead of table */
@media (max-width: 600px) {
  .pricing-list li {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    grid-template-columns: 1fr;
    background: rgba(245, 243, 240, 0.5);
    padding: var(--s-3) !important;
    margin-bottom: var(--s-2) !important;
    border: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline) !important;
    border-radius: 4px;
  }

  .pricing-list .item {
    font-size: 15px;
  }

  .pricing-list .item small {
    font-size: 12px;
  }

  .pricing-list .price {
    text-align: left;
    font-size: 18px;
  }

  .pricing-list .price em {
    display: inline;
    font-size: 12px;
    margin-left: 4px;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--e-out-expo), transform 1s var(--e-out-expo);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d-1 { transition-delay: .05s; }
.reveal.d-2 { transition-delay: .15s; }
.reveal.d-3 { transition-delay: .25s; }
.reveal.d-4 { transition-delay: .35s; }

/* ============================================================
   HAMBURGER — mobile nav toggle
   ============================================================ */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--e-out-expo);
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: all .4s var(--e-out-expo);
}
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 24, 32, 0.98) 0%, rgba(15, 24, 32, 1) 100%);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 120px var(--gutter) var(--gutter);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--e-out-expo);
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
/* Mobile nav grouping — clearer hierarchy on small screens */
.mobile-nav-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.mobile-nav-group:last-child {
  border-bottom: none;
  padding-bottom: 32px;
}
.mobile-nav-group-label {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}
.mobile-nav a {
  color: var(--cream);
  font-family: var(--ff-ui);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 0;
  text-align: left;
  transition: color .3s var(--e-out-quart);
  display: block;
  position: relative;
}
.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--emerald-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--e-out-quart);
}
.mobile-nav a.current {
  color: var(--emerald-light);
}
.mobile-nav a.current::before {
  transform: scaleX(1);
}
.mobile-nav a:hover {
  color: var(--emerald-light);
}
.mobile-nav a:hover::before {
  width: 100%;
}
.mobile-nav .btn {
  margin-top: 48px;
  display: block;
  text-align: center;
  width: 100%;
}
@media (min-width: 961px) {
  .hamburger-btn { display: none !important; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 960px) {
  .hamburger-btn { display: flex; }
  .nav-links { display: none; }
  .brand-text small { display: none; }
  .nav-inner {
    gap: var(--s-3);
    padding: var(--s-2) var(--gutter);
  }
  .brand-text {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .nav-inner {
    padding: var(--s-2) var(--s-2);
  }
  .brand {
    gap: 10px;
  }
  .brand .monogram {
    width: 36px;
    height: 44px;
  }
  .brand-text {
    font-size: 16px;
  }

  /* Mobile sticky CTA button — always visible in thumb-zone */
  .hero-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 0;
    flex-wrap: nowrap;
  }

  .hero-ctas .btn {
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    position: relative;
  }

  .hero-ctas .btn::before {
    content: '→';
    font-size: 20px;
    position: static;
  }

  .hero-ctas .btn-ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-headline .word { opacity: 1 !important; transform: none !important; }
  .hero-sub, .hero-body, .hero-ctas, .hero-meta { opacity: 1 !important; transform: none !important; }
  .hero::after { opacity: 1 !important; width: 30vw !important; }
}
