@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf6ef;
  --ivory: #fffdf8;
  --blush: #f2e3d9;
  --terra: #99513f;
  --terra-dark: #783e32;
  --ink: #32251f;
  --muted: #66544a;
  --line: #dfcabe;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5.75rem);
  --section: clamp(4rem, 7.4vw, 7.5rem);
  --ease: cubic-bezier(.2,.65,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terra-dark); outline-offset: 5px; }
:target { scroll-margin-top: 6rem; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.25rem, 5.5vw, 6.45rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2.55rem, 4.45vw, 4.75rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.55rem, 2.25vw, 2.15rem); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--terra); font-weight: 400; }
.wrap { max-width: 93rem; padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  padding: .65rem 1rem;
  background: var(--ivory);
  transform: translateY(-250%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ivory);
  border-bottom: 1px solid #e9dbcf;
}
.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand img { flex: none; object-fit: contain; }
.brand strong { display: block; font: 400 2.05rem/.91 var(--display); letter-spacing: -.075em; }
.brand small {
  display: block;
  margin-top: .38rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.35vw, 2.75rem); }
.site-nav a {
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--terra-dark); text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle {
  display: none;
  color: var(--terra-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: .45rem 1rem;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: fit-content;
  min-height: 3.1rem;
  padding: .64rem 1.45rem;
  border: 1px solid var(--terra);
  border-radius: 2rem;
  background: var(--terra);
  color: #fffdf8;
  font-weight: 650;
  font-size: .9375rem;
  text-align: center;
  text-decoration: none;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s var(--ease);
}
.button:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-2px); }
.button-outline { color: var(--terra-dark); background: transparent; }
.button-outline:hover { color: var(--ivory); }
.header-action { align-self: center; min-height: 2.7rem; white-space: nowrap; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(31rem, 44vw, 43rem);
  background: var(--paper);
}
.hero-content {
  display: grid;
  align-items: center;
  justify-items: start;
  padding: clamp(3.1rem, 6vw, 6.1rem) clamp(1.25rem, 3.2vw, 4rem)
    clamp(3.1rem, 6vw, 6.1rem) max(var(--gutter), calc((100vw - 93rem) / 2 + var(--gutter)));
  background: radial-gradient(ellipse at 2% 100%, #f0e1d5, transparent 68%);
}
.hero-copy { animation: appear .75s var(--ease) both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--terra-dark);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow span { width: 1.85rem; height: 1px; background: currentColor; }
.hero h1 { margin-top: 1.05rem; }
.hero-description { max-width: 27rem; margin: 1.5rem 0 1.7rem; color: var(--muted); font-size: 1.0625rem; }
.hero-visual { position: relative; min-height: 0; overflow: hidden; background: #c69d7d; }
.hero-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-signature {
  position: absolute;
  right: var(--gutter);
  bottom: 1.6rem;
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
}
.care-strip { border-block: 1px solid #e6d4c9; background: var(--blush); }
.care-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 4.3vw, 4.2rem);
  min-height: 4.05rem;
  color: var(--terra-dark);
  text-align: center;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.care-items i { color: var(--terra); font-size: .78rem; }
.section-intro { margin-bottom: clamp(1.8rem, 3.8vw, 3.55rem); }
.section-intro h2, .experience h2, .visit h2, .testimonials h2 { margin: .6rem 0 .85rem; }
.section-intro > p:last-child { color: var(--muted); }
.procedure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.15vw, 2rem); }
.procedure-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6d6ca;
  border-radius: 1.2rem;
  background: var(--ivory);
  transition: box-shadow .28s ease, border-color .28s ease;
}
.procedure-card:hover { border-color: #cbad9e; box-shadow: 0 1rem 2rem #59332410; }
.card-photo { width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; object-position: center 46%; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1.1rem, 2.15vw, 2rem); }
.card-copy h3 { margin: .6rem 0 .7rem; }
.card-copy > p:nth-of-type(2) { margin-bottom: 1rem; color: var(--muted); }
.text-link {
  color: var(--terra-dark);
  font-size: .95rem;
  font-weight: 700;
  text-underline-offset: .28em;
  text-decoration-color: #ae7665;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.card-copy .text-link { margin-top: auto; }
.procedure-details { display: grid; gap: 1.5rem; margin-top: 2rem; }
.procedure-details p { max-width: 65ch; margin-top: .5rem; }
.experience { padding-block: var(--section); background: var(--paper); }
.experience-grid, .visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7.35rem);
}
.experience-photo, .visit-grid > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 1.25rem;
  background: var(--blush);
}
.steps { display: grid; gap: .05rem; margin-top: 1.5rem; }
.steps > div { padding: .8rem 0; border-top: 1px solid var(--line); }
.steps > div:last-child { border-bottom: 1px solid var(--line); }
.steps dt, .visit-info dt { color: var(--ink); font-weight: 700; }
.steps dd, .visit-info dd { color: var(--muted); }
.testimonials { background: var(--blush); text-align: center; }
.testimonial-inner { max-width: 65rem; }
.testimonials .eyebrow { justify-content: center; }
.quote-mark { height: 3.35rem; margin-top: .8rem; color: var(--terra); font: 400 6.15rem/.96 var(--display); }
.quotes { display: grid; align-items: start; }
.quote { padding-block: .5rem; }
.quotes.is-carousel .quote { grid-area: 1 / 1; }
.quotes.is-carousel .quote[aria-hidden="true"] { visibility: hidden; }
.quote.is-active { animation: appear .35s var(--ease) both; }
.quote blockquote { font: 400 clamp(1.3rem, 2.45vw, 2rem)/1.42 var(--display); }
.quote figcaption { margin-top: 1rem; color: var(--terra-dark); font-weight: 650; }
.quote figcaption span { padding-inline: .35rem; }
.quote-controls { display: flex; justify-content: center; gap: .25rem; margin-top: .5rem; }
.quote-controls button {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.quote-controls button::after {
  display: block;
  width: .62rem;
  height: .62rem;
  margin: auto;
  border: 1px solid var(--terra-dark);
  border-radius: 50%;
  content: "";
  transition: background .2s ease, transform .2s ease;
}
.quote-controls button:hover::after { transform: scale(1.22); }
.quote-controls button[aria-pressed="true"]::after { background: var(--terra-dark); }
.visit-grid {
  overflow: hidden;
  gap: .25rem;
  border: 1px solid #e6d6ca;
  border-radius: 1.25rem;
  background: var(--paper);
}
.visit-copy { padding: clamp(1.65rem, 5vw, 5rem); }
.visit-grid > img { height: 100%; min-height: 19rem; border-radius: 0; }
.visit-info { display: grid; gap: .95rem; margin-top: 1.55rem; }
.visit-info address { font-style: normal; }
.site-footer { border-top: 1px solid #e6d6ca; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.5rem; }
.footer-inner > p { color: var(--muted); font-size: .9rem; }
dialog {
  width: min(33rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
dialog[open] { animation: appear .27s var(--ease) both; }
dialog::backdrop { background: #2e211bb3; }
.dialog-inner { position: relative; padding: clamp(1.4rem, 5vw, 2.65rem); }
.dialog-inner h2 { margin: .8rem 2rem .85rem 0; font-size: clamp(2rem, 5vw, 2.8rem); }
.dialog-inner > p:nth-of-type(2) { color: var(--muted); margin-bottom: 1.25rem; }
.close-dialog {
  position: absolute;
  top: .65rem;
  right: .65rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--terra-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes appear {
  from { opacity: 0; transform: translateY(.65rem); }
  to { opacity: 1; transform: none; }
}
.reveal.is-visible { animation: appear .65s var(--ease) both; }
.procedure-card.is-visible:nth-child(2) { animation-delay: .06s; }
.procedure-card.is-visible:nth-child(3) { animation-delay: .12s; }

@media (max-width: 58rem) {
  .header-action { display: none; }
  .hero h1 { font-size: clamp(2.85rem, 5.85vw, 4.45rem); }
  .procedure-grid { gap: .8rem; }
}

@media (max-width: 42rem) {
  :target { scroll-margin-top: 4.7rem; }
  .header-inner { position: relative; min-height: 4.3rem; flex-wrap: wrap; padding-block: .75rem; }
  .brand strong { font-size: 1.85rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .6rem 1.2rem; }
  .nav-ready .menu-toggle { display: block; }
  .nav-ready .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: .45rem var(--gutter) 1rem;
  }
  .nav-ready .site-nav.is-open { display: grid; gap: 0; animation: appear .22s var(--ease) both; }
  .nav-ready .site-nav a { padding: .65rem 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 3rem var(--gutter); }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.5rem); }
  .hero-description { margin: 1.15rem 0 1.35rem; }
  .hero-visual { min-height: clamp(16rem, 74vw, 29rem); }
  .hero-signature { bottom: 1rem; }
  .care-items { gap: .5rem; font-size: .875rem; letter-spacing: .04em; min-height: 4rem; }
  .procedure-grid, .experience-grid, .visit-grid { grid-template-columns: 1fr; }
  .procedure-grid { gap: 1.25rem; }
  .card-copy { padding: 1.25rem; }
  .experience-grid { gap: 1.5rem; }
  .experience-photo { aspect-ratio: 1.5; }
  .visit-grid { gap: 0; }
  .visit-grid > img { min-height: 0; aspect-ratio: 1.4; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > p { order: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
