:root {
  --ivory: #F8F7F5;
  --paper: #FCFBF8;
  --graphite: #3A3A3A;
  --soft: #6F6B67;
  --line: rgba(58, 58, 58, 0.12);
  --teal: #33C7C7;
  --teal-soft: rgba(51, 199, 199, 0.22);
  --shadow: 0 34px 90px rgba(38, 38, 38, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  color: var(--graphite);
  background:
    radial-gradient(circle at 18% 10%, rgba(51,199,199,.14), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(58,58,58,.07), transparent 34%),
    var(--ivory);
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .032;
  z-index: 40;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 82px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(22px);
  background: rgba(248, 247, 245, .74);
  border-bottom: 1px solid rgba(255,255,255,.52);
}

.brand {
  display: block;
  width: clamp(160px, 16vw, 246px);
  opacity: .82;
}

.brand img {
  width: 100%;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 14px;
  opacity: .76;
}

.desktop-nav a:hover { opacity: 1; }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--graphite);
  color: white !important;
  opacity: 1 !important;
}

.hero {
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 7vw, 96px) clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 760;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(54px, 8.5vw, 116px);
  line-height: .9;
  letter-spacing: -.078em;
  font-weight: 680;
  text-wrap: balance;
}

.lead {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: -.03em;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 680;
  letter-spacing: -.015em;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(58,58,58,.12);
}

.primary {
  background: var(--graphite);
  color: white;
}

.secondary {
  color: var(--graphite);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.7);
}

.large {
  min-height: 58px;
  padding: 0 30px;
}

.hero-orbit {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.aurora {
  position: absolute;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.86), transparent 18%),
    radial-gradient(circle at 70% 74%, rgba(51,199,199,.78), transparent 24%),
    linear-gradient(135deg, rgba(58,58,58,.94), rgba(51,199,199,.56), rgba(255,255,255,.52));
  box-shadow:
    inset -50px -60px 120px rgba(58,58,58,.20),
    0 48px 110px rgba(58,58,58,.15),
    0 24px 80px rgba(51,199,199,.18);
  filter: saturate(.98);
  animation: breathe 7.5s ease-in-out infinite;
}

.glass-card {
  position: relative;
  width: min(92%, 440px);
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.68);
  backdrop-filter: blur(30px);
  box-shadow: var(--shadow);
}

.glass-card p {
  color: var(--soft);
  font-size: 13px;
  font-weight: 720;
  margin-bottom: 14px;
}

.glass-card h2 {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 670;
  margin-bottom: 32px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mini-grid span {
  color: var(--soft);
  font-size: 13px;
}

.doctor-section {
  padding: 9vw clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
}

.doctor-image {
  min-height: 620px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eee;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.doctor-copy h2,
.section-head h2,
.final-cta h2 {
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 670;
}

.doctor-copy p {
  max-width: 760px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.7;
}

.credentials {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.credentials span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.7);
  color: var(--graphite);
  font-size: 14px;
}

.leadership,
.specialties,
.testimonials {
  padding: 8vw clamp(22px, 5vw, 72px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 54px;
}

.leadership-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card,
.testimonial {
  min-height: 260px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 20px 52px rgba(58,58,58,.06);
}

.info-card h3 {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-bottom: 18px;
}

.info-card p,
.specialty p,
.testimonial p {
  color: var(--soft);
  line-height: 1.65;
}

.specialty-list {
  border-top: 1px solid var(--line);
}

.specialty {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 26px;
  align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.specialty span {
  color: var(--teal);
  font-weight: 800;
}

.specialty h3 {
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 0;
}

.testimonial p {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.testimonial footer {
  margin-top: 28px;
  color: var(--soft);
  font-size: 14px;
}

.final-cta {
  margin: 5vw clamp(22px, 5vw, 72px) 8vw;
  padding: clamp(50px, 8vw, 92px);
  text-align: center;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(51,199,199,.18), transparent 42%),
    rgba(255,255,255,.60);
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: 0 22px 70px rgba(58,58,58,.08);
}

.final-cta h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
}

.footer {
  padding: 34px clamp(22px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-20px) scale(1.025) rotate(3deg); }
}

@media (max-width: 940px) {
  .desktop-nav a:not(.nav-cta) { display: none; }
  .hero,
  .doctor-section {
    grid-template-columns: 1fr;
  }
  .hero-orbit {
    min-height: 430px;
  }
  .aurora {
    width: min(82vw, 430px);
  }
  .leadership-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .specialty {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .doctor-image,
  .doctor-image img {
    min-height: 520px;
  }
  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 0 18px;
    height: 74px;
  }
  .brand {
    width: 150px;
  }
  .hero {
    min-height: auto;
    padding: 52px 18px 70px;
  }
  h1 {
    font-size: 54px;
  }
  .lead {
    font-size: 19px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .doctor-section,
  .leadership,
  .specialties,
  .testimonials {
    padding-left: 18px;
    padding-right: 18px;
  }
  .doctor-image,
  .doctor-image img {
    min-height: 460px;
  }
  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
    border-radius: 32px;
  }
}
