:root {
  --ink: #2d2028;
  --muted: #62535b;
  --paper: #fffcf9;
  --wash: #faf0eb;
  --line: #eddcd6;
  --accent: #efc4b8;
  --rose-gold: #d69b89;
  --rose-light: #f6d7c9;
  --rose-copper: #a76655;
  --rose-gradient: linear-gradient(115deg, var(--rose-gold), var(--rose-light) 48%, var(--rose-gold));
  --wine: #723747;
  --wine-hover: #592735;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 2; background: white; padding: .75rem; }
.skip:focus { top: 1rem; }
.header {
  background: var(--paper);
  border-bottom: 2px solid var(--rose-gold);
  border-image: var(--rose-gradient) 1;
}
.footer { background: var(--ink); color: var(--paper); }
.footer a:focus-visible, .hero a:focus-visible, .location-intro a:focus-visible { outline-color: var(--accent); }
.header .wrap, .footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem; flex-wrap: wrap; }
.brand { display: block; width: min(100%, 16.875rem); }
.brand img { width: 100%; height: auto; }
.header .brand img { filter: brightness(.45); }
@supports (mask-image: url("logo-ampliclinic.png")) {
  .brand { position: relative; }
  .brand img { opacity: 0; }
  .brand::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    mask: url("logo-ampliclinic.png") center / 100% 100% no-repeat;
    background: linear-gradient(110deg, var(--rose-copper), var(--rose-gold) 15%, var(--rose-copper) 28%, var(--ink) 28%);
  }
  .footer .brand::after {
    background: linear-gradient(110deg, var(--rose-gold), var(--rose-light) 15%, var(--rose-gold) 28%, var(--accent) 28%);
  }
}
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(31rem, 47vw, 44rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #2d2028 1%, #2d2028f5 30%, #2d2028a3 54%, #2d20281f 83%);
}
.hero-copy {
  align-self: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 3rem) clamp(3rem, 6vw, 6rem) max(1.5rem, calc((100vw - 72rem) / 2));
}
.hero-doctor {
  position: relative;
  align-self: stretch;
  margin: 0;
}
.hero-doctor img {
  position: absolute;
  inset: auto 0 0;
  margin-inline: auto;
  width: min(100%, 35rem);
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 .25rem 1.2rem #24121c55);
}
.hero-doctor figcaption {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .3rem .75rem;
  border-radius: 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .8rem;
}
.clinic-photo { filter: brightness(1.07); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 1.5rem); max-width: 42rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .75rem; }
.gallery figcaption { margin-top: .5rem; font-weight: 600; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.06; font-weight: 500; letter-spacing: -.04em; margin: 0 0 .65em; }
h1 { font-size: clamp(2.7rem, 5.7vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
p { margin: 0 0 1rem; }
.eyebrow { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
.hero .eyebrow, .location-intro .eyebrow { color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 32rem; color: var(--wash); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.hero .actions { margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .63rem 1.13rem; border-radius: 2rem; background: var(--wine); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--wine-hover); }
.hero .button, .location-intro .button { background: var(--rose-gradient); color: var(--ink); }
.hero .button:hover, .location-intro .button:hover { background: var(--rose-light); }
.band { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.wash { background: var(--wash); }
.lead { color: var(--muted); max-width: 42rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.card { border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2.3rem); background: #fff; }
.card .actions { margin-top: 1.15rem; }
.card p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; }
details { padding-block: .8rem; border-bottom: 1px solid var(--line); }
details p { margin: .6rem 0 0; }
summary { cursor: pointer; font-weight: 700; }
.breadcrumb { margin-bottom: 1.5rem; }
.location-intro { background: var(--ink); color: var(--paper); }
.location-intro .lead { color: var(--wash); }
.location-intro h1 { max-width: 16ch; }
@media (max-width: 720px) {
  .hero, .cards, .split { grid-template-columns: 1fr; }
  .hero { --portrait-row: clamp(17rem, 82vw, 25rem); grid-template-rows: var(--portrait-row) auto; }
  .hero-doctor { grid-row: 1; }
  .hero-copy { grid-row: 2; padding: 1.65rem 1.5rem 2.6rem; }
  .hero-backdrop { height: calc(var(--portrait-row) + 2rem); object-position: center 64%; }
  .hero::before { background: linear-gradient(180deg, #2d202830, #2d202828 6rem, #2d2028 calc(var(--portrait-row) + 1rem)); }
  .header .wrap { gap: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.city-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.treatment-cards .card > p { color: var(--muted); }
.treatment-cards .card[id] { scroll-margin-top: 1rem; }
.treatment-list { display: grid; gap: .45rem; margin: 0; padding-left: 1.25rem; }
