:root {
  --ink: #1f1f1c;
  --muted: #686860;
  --paper: #f5f3ee;
  --cream: #ebe6dc;
  --sand: #d8cbb8;
  --sage: #a8b5a2;
  --olive: #5f715d;
  --olive-dark: #475744;
  --olive-soft: #e4eadf;
  --detail: #d8cbb8;
  --white: #ffffff;
  --line: rgba(95, 113, 93, 0.22);
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(70px, 13vw, 158px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: 0;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 203, 184, 0.2), transparent 28%),
    var(--olive);
  color: var(--paper);
  pointer-events: none;
  transition: opacity 0.75s ease, transform 0.75s ease, visibility 0.75s ease;
}

.intro-loader-inner {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  width: min(900px, 100%);
  text-align: center;
}

.intro-loader span,
.intro-loader strong {
  position: absolute;
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}

.intro-loader span {
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.05;
}

.intro-loader strong {
  font-family: var(--font-heading);
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 500;
  line-height: 1;
}

.intro-loader span:nth-child(1) {
  animation: introWord 1s ease 0.15s forwards;
}

.intro-loader span:nth-child(2) {
  animation: introWord 1s ease 1s forwards;
}

.intro-loader span:nth-child(3) {
  animation: introWord 1s ease 1.85s forwards;
}

.intro-loader strong {
  animation: introBrand 1.1s ease 2.75s forwards;
}

.intro-loader.is-hidden {
  opacity: 0;
  transform: translateY(-18px);
  visibility: hidden;
}

@keyframes introWord {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  24%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@keyframes introBrand {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  38%,
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px) scale(1);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 243, 238, 0.86);
  border-bottom: 1px solid rgba(95, 113, 93, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand img {
  width: clamp(134px, 13vw, 178px);
  height: auto;
}

.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  content: "";
}

.nav a:hover,
.text-link:hover {
  color: var(--olive);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  min-width: 106px;
  padding: 10px 18px;
  background: var(--olive);
  color: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--olive);
  color: var(--white);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.03);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(rgba(31, 31, 28, 0.48), rgba(31, 31, 28, 0.48)),
    linear-gradient(90deg, rgba(31, 31, 28, 0.28), rgba(31, 31, 28, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 18px 92px;
  text-align: center;
}

.hero-content p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.48;
}

.hero .button.primary {
  background: var(--olive);
  color: var(--white);
}

.hero .button.primary:hover {
  background: var(--olive-dark);
  color: var(--white);
}

.hero .button.secondary {
  background: rgba(245, 243, 238, 0.92);
  border-color: rgba(245, 243, 238, 0.45);
  color: var(--olive-dark);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.doctor .eyebrow {
  color: var(--sand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

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

.contact .button.primary {
  background: var(--olive);
  color: var(--white);
}

.contact .button.primary:hover,
.header-action:hover {
  background: var(--sage);
  color: var(--ink);
}

.button:hover,
.header-action:hover {
  transform: scale(1.02);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.contact .button.secondary {
  border-color: rgba(17, 63, 60, 0.22);
  color: var(--olive);
}

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

.hero-actions {
  justify-content: center;
}

.statement {
  padding: clamp(76px, 12vw, 152px) clamp(18px, 8vw, 122px);
  background: var(--paper);
}

.statement h2 {
  max-width: 1180px;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 6vw, 92px);
  background: var(--cream);
}

.split-copy p {
  max-width: 670px;
  color: #4f544c;
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.72;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--olive);
  font-weight: 700;
  transition: all 0.3s ease;
}

.text-link:hover {
  transform: translateY(-1px);
}

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

.method-list article {
  display: grid;
  grid-template-columns: 70px 0.65fr 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.method-list article,
.program-grid article {
  transition: opacity 0.75s ease, transform 0.75s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.method-list span,
.program-grid span {
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 24px;
}

.method-list h3,
.method-list p,
.program-grid p,
.experience-grid p {
  margin-bottom: 0;
}

.method-list p,
.program-grid p,
.experience-grid p {
  color: #4f544c;
  font-size: 17px;
  line-height: 1.72;
}

.method-list h3 {
  font-size: 28px;
}

.visual-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
}

.media-frame,
.media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--cream);
  border-radius: 8px;
}

.media-frame img,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card {
  min-height: 470px;
  border: 1px solid rgba(95, 113, 93, 0.18);
}

.media-card.portrait {
  min-height: 580px;
}

.media-card.wide {
  grid-column: span 2;
}

.media-card figcaption {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  background: rgba(245, 243, 238, 0.88);
  border: 1px solid rgba(216, 203, 184, 0.7);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.media-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-card figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 500;
  line-height: 1.08;
}

.programs,
.experience,
.clinic-gallery {
  padding: clamp(76px, 10vw, 130px) clamp(18px, 6vw, 92px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 46px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.program-grid article {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.program-grid article:hover {
  background: rgba(255, 255, 255, 0.58);
}

.program-grid h3 {
  margin-top: 64px;
}

.doctor {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 6vw, 92px);
  background: var(--olive);
  color: var(--white);
}

.doctor-photo {
  margin: 0;
  min-height: 640px;
}

.doctor-photo img {
  object-position: center top;
}

.doctor-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.72;
}

.credentials {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.experience {
  background: var(--paper);
}

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

.experience-grid div {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.clinic-gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.8fr;
  gap: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 28px;
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(18px, 6vw, 92px);
  background: var(--olive-soft);
}

.contact p {
  max-width: 720px;
  color: #4f544c;
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.72;
}

.contact-info {
  display: grid;
  gap: 4px;
  max-width: 520px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(95, 113, 93, 0.22);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  font-style: normal;
}

.contact-info strong {
  color: var(--ink);
}

.contact-actions {
  justify-content: flex-end;
}

.fine-print {
  width: 100%;
  color: var(--muted);
  font-size: 15px;
  text-align: right;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.footer img {
  width: 146px;
  height: auto;
  flex: 0 0 auto;
}

.footer p {
  margin: 0;
}

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

  .nav {
    display: none;
  }

  .split,
  .doctor,
  .contact {
    grid-template-columns: 1fr;
  }

  .visual-row,
  .program-grid,
  .experience-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-card.wide {
    grid-column: auto;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .fine-print {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 122px;
  }

  .brand small {
    max-width: 86px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .header-action {
    min-width: 88px;
    padding: 9px 14px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 104px 0 72px;
  }

  .hero-photo img {
    object-position: 72% center;
  }

  h1 {
    font-size: clamp(58px, 19vw, 88px);
  }

  h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 19px;
    line-height: 1.55;
  }

  .split-copy p,
  .doctor-copy p,
  .contact p,
  .method-list p,
  .program-grid p,
  .experience-grid p {
    font-size: 18px;
    line-height: 1.68;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .media-card,
  .media-card.portrait,
  .doctor-photo {
    min-height: 390px;
  }

  .program-grid article {
    min-height: 245px;
    padding: 24px;
  }

  .program-grid h3 {
    margin-top: 36px;
  }

  .media-card figcaption {
    inset: auto 12px 12px;
    padding: 14px;
  }

  .footer {
    display: block;
  }

  .footer img {
    margin-bottom: 12px;
  }

  .footer p + p {
    margin-top: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .intro-loader {
    display: none;
  }

  .hero-photo img,
  .reveal-item,
  .reveal-item.is-visible {
    transform: none;
  }

  .reveal-item {
    opacity: 1;
  }
}
