:root {
  --ink: #3b2d32;
  --muted: #75686c;
  --soft: #fff3ef;
  --paper: #fffaf6;
  --teal: #4f8f89;
  --mint: #e7f1ec;
  --coral: #c97878;
  --rose: #f7deda;
  --gold: #b98a4b;
  --line: #eadbd5;
  --shadow: 0 12px 34px rgba(93, 58, 53, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(270px, 440px) 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 246, 0.94);
  border-bottom: 1px solid rgba(234, 219, 213, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 1px solid rgba(201, 120, 120, 0.24);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f7deda);
  box-shadow: 0 10px 26px rgba(93, 58, 53, 0.1);
}

.growth-stem {
  position: absolute;
  bottom: 13px;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: var(--teal);
}

.growth-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-one {
  top: 13px;
  background: var(--coral);
}

.dot-two {
  top: 26px;
  left: 16px;
  background: var(--gold);
}

.dot-three {
  top: 26px;
  right: 16px;
  background: var(--teal);
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text strong {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.34rem, 2vw, 1.74rem);
  line-height: 1.02;
}

.brand-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a,
.location-card a {
  text-decoration: none;
}

.site-nav a:hover,
.location-card a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.menu-toggle {
  display: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #fff;
  background: #4f8f89;
}

.button.secondary {
  color: var(--ink);
  background: #f8e2dc;
  border-color: rgba(201, 120, 120, 0.24);
}

.button.ghost {
  color: #8d5757;
  background: #fff;
  border-color: var(--line);
}

.header-cta svg,
.button svg,
.doctor-info-row svg,
.download-card svg,
.care-grid svg,
.location-card svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100svh - 150px);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 5vw, 72px) clamp(24px, 4vw, 38px);
  background:
    linear-gradient(112deg, rgba(255, 250, 246, 0.99) 0%, rgba(255, 244, 239, 0.96) 54%, rgba(232, 242, 237, 0.94) 100%),
    linear-gradient(155deg, transparent 0 58%, rgba(247, 222, 218, 0.42) 58% 72%, transparent 72%),
    linear-gradient(24deg, transparent 0 68%, rgba(185, 138, 75, 0.12) 68% 82%, transparent 82%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 42%),
    repeating-linear-gradient(90deg, rgba(79, 143, 137, 0.045) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 720px;
  color: #65565b;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.doctor-card,
.location-card,
.care-grid article,
.visit-steps article,
.credential-list {
  border: 1px solid rgba(234, 219, 213, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.doctor-card {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  display: grid;
  overflow: hidden;
  width: min(100%, 350px);
}

.doctor-photo {
  margin: 0;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: var(--rose);
  border-bottom: 1px solid rgba(234, 219, 213, 0.74);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.doctor-card-info {
  display: grid;
  gap: 0;
  padding: 0;
  background: rgba(255, 250, 246, 0.96);
}

.doctor-info-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 24px;
}

.doctor-info-row + .doctor-info-row {
  border-top: 1px solid rgba(234, 219, 213, 0.74);
}

.doctor-info-row svg {
  margin-top: 2px;
  color: var(--coral);
}

.doctor-card-info span,
.credential-list span,
.visit-steps span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.doctor-card-info strong,
.credential-list strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.doctor-card-info p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: #fffdf9;
  border-top: 1px solid rgba(234, 219, 213, 0.9);
  border-bottom: 1px solid rgba(234, 219, 213, 0.9);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 16px 12px;
  color: #6b4a35;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.trust-strip span + span {
  border-left: 1px solid rgba(234, 219, 213, 0.9);
}

.section-pad {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: linear-gradient(180deg, #fff7f2, #fff0eb);
}

.intro > p {
  margin-bottom: 0;
  color: #6b5d60;
  font-size: 1.18rem;
}

.care {
  background: #fffaf6;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.care-grid article {
  min-height: 238px;
  padding: 32px;
}

.care-grid svg {
  margin-bottom: 22px;
  color: #4f8f89;
}

.care-grid p,
.visit-steps p,
.infographic-card p,
.credentials-copy p,
.contact-copy p {
  color: var(--muted);
}

.patient-info {
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 250, 246, 0.28), transparent 34%),
    linear-gradient(135deg, #c97878 0%, #a96371 46%, #4f8f89 100%) !important;
  color: #fffaf6 !important;
}

.patient-info .eyebrow {
  color: #ffe7df !important;
}

.patient-info h2 {
  color: #fffaf6 !important;
}

.medical-note {
  max-width: 760px;
  margin: -12px 0 34px;
  padding: 18px 22px;
  color: rgba(255, 250, 246, 0.9);
  font-weight: 800;
  border: 1px solid rgba(255, 250, 246, 0.24);
  border-radius: 8px;
  background: rgba(59, 45, 50, 0.32);
}

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

.infographic-card {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 246, 0.28);
  border-radius: 8px;
  background: rgba(59, 45, 50, 0.58) !important;
  box-shadow: 0 12px 28px rgba(59, 45, 50, 0.14);
  backdrop-filter: blur(10px);
}

.infographic-card > a {
  display: block;
  background: rgba(59, 45, 50, 0.36) !important;
}

.infographic-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.infographic-card div {
  padding: 18px 20px 22px;
  background: rgba(59, 45, 50, 0.3) !important;
}

.infographic-card h3 {
  color: #fffaf6 !important;
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.2;
}

.infographic-card p {
  color: rgba(255, 250, 246, 0.86) !important;
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.infographic-card div a {
  display: inline-flex;
  color: #fffaf6 !important;
  font-weight: 800;
  text-decoration: none;
}

.infographic-card div a:hover {
  color: #ffe7df;
}

.download-panel {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 250, 246, 0.28);
  border-radius: 8px;
  background: rgba(59, 45, 50, 0.42);
  box-shadow: 0 18px 44px rgba(59, 45, 50, 0.16);
}

.download-heading {
  margin-bottom: 22px;
}

.download-heading .eyebrow {
  margin-bottom: 8px;
}

.download-heading h3 {
  margin-bottom: 0;
  color: #fffaf6;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.download-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 250, 246, 0.78);
  font-weight: 700;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 116px;
  padding: 18px;
  color: #fffaf6;
  text-decoration: none;
  border: 1px solid rgba(255, 250, 246, 0.26);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.12);
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.download-card:hover {
  background: rgba(255, 250, 246, 0.2);
  transform: translateY(-2px);
}

.download-card svg {
  margin-top: 2px;
  color: #ffe7df;
}

.download-card strong,
.download-card small {
  display: block;
}

.download-card strong {
  line-height: 1.2;
}

.download-card small {
  margin-top: 8px;
  color: rgba(255, 250, 246, 0.74);
  font-weight: 700;
}

.credentials {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: linear-gradient(135deg, #f8e2dc, #e7f1ec);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  align-self: start;
  overflow: visible;
  background: #fffaf6;
}

.credentials .credential-list div {
  padding: 16px 18px;
  border: 1px solid rgba(210, 190, 181, 0.85);
  border-radius: 8px;
  background: #fffdf9;
}

.credentials .credential-list span {
  color: #9a6635;
  font-size: 0.7rem;
  line-height: 1.25;
}

.credentials .credential-list strong {
  color: #2f2529;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
}

.visit {
  background: #fff7f2;
}

.visit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.visit-steps article {
  padding: 32px;
  background: rgba(255, 255, 255, 0.86);
}

.visit-steps span {
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 1.3rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: linear-gradient(135deg, #4b353b, #416a66);
  color: #fff;
}

.contact .eyebrow {
  color: #f3c7ba;
}

.contact-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.location-card {
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--rose);
  border-bottom: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-details {
  padding: 30px 34px 34px;
}

.location-card svg {
  color: var(--coral);
}

.location-card p {
  color: var(--muted);
}

.location-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #557173;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.topic-main {
  background: var(--paper);
}

.topic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(112deg, rgba(255, 250, 246, 0.99), rgba(255, 244, 239, 0.94) 58%, rgba(232, 242, 237, 0.92)),
    linear-gradient(24deg, transparent 0 68%, rgba(185, 138, 75, 0.12) 68% 82%, transparent 82%);
}

.topic-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.topic-summary {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(234, 219, 213, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.topic-summary span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topic-summary strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

.topic-content {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.topic-copy {
  display: grid;
  gap: 24px;
}

.topic-copy article,
.topic-side {
  padding: 30px;
  border: 1px solid rgba(234, 219, 213, 0.74);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.topic-copy p,
.topic-copy li,
.topic-side p {
  color: var(--muted);
}

.topic-copy ul {
  margin: 0;
  padding-left: 1.2rem;
}

.topic-copy li + li {
  margin-top: 8px;
}

.topic-side {
  align-self: start;
  position: sticky;
  top: 110px;
}

.topic-side .button {
  width: 100%;
  margin-top: 16px;
}

.topic-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

.care-grid .reveal:nth-child(2),
.visit-steps .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.care-grid .reveal:nth-child(3),
.visit-steps .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.care-grid .reveal:nth-child(4) {
  transition-delay: 40ms;
}

.care-grid .reveal:nth-child(5) {
  transition-delay: 130ms;
}

.care-grid .reveal:nth-child(6) {
  transition-delay: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
  }

  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav a {
    padding: 14px 6px;
    border-top: 1px solid var(--line);
  }

  .hero,
  .intro,
  .credentials,
  .contact,
  .topic-hero,
  .topic-content {
    grid-template-columns: 1fr;
  }

  .topic-side {
    position: static;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip span:nth-child(3) {
    border-left: 0;
  }

  .trust-strip span:nth-child(n + 3) {
    border-top: 1px solid rgba(234, 219, 213, 0.9);
  }

  .hero-copy,
  .doctor-card {
    grid-column: 1;
    grid-row: auto;
  }

  .doctor-card {
    align-self: stretch;
    justify-self: start;
    max-width: 560px;
    width: 100%;
  }

  .care-grid,
  .visit-steps,
  .infographic-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding-inline: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .growth-stem {
    bottom: 10px;
    height: 22px;
    width: 3px;
  }

  .growth-dot {
    width: 8px;
    height: 8px;
  }

  .dot-one {
    top: 9px;
  }

  .dot-two {
    top: 20px;
    left: 12px;
  }

  .dot-three {
    top: 20px;
    right: 12px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .brand-text span {
    max-width: 205px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.15rem);
  }

  .doctor-card-info {
    display: none;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .doctor-photo {
    border: 0;
  }

  .doctor-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-position: center 20%;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .care-grid,
  .visit-steps,
  .infographic-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

  .care-grid article,
  .visit-steps article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
