:root {
  color-scheme: light;
  --paper: #f7f5eb;
  --forest: #15392c;
  --deep: #102e23;
  --moss: #4c6145;
  --sage: #e9eddf;
  --line: #d6d6c5;
  --gold: #946f34;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: system-ui, sans-serif;
  color: var(--forest);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.07;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 5vw, 3.65rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.55rem, 3vw, 2rem); }
p { line-height: 1.7; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.no-wrap { white-space: nowrap; }

.wrap {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1;
  inset: 1rem auto auto 1rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding-block: 1.1rem;
  text-align: center;
}

.brand {
  font: 400 1.65rem/1.05 var(--serif);
  text-decoration: none;
}
.brand small {
  display: block;
  margin-top: .28rem;
  font: 650 .8rem/1.3 system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .2rem clamp(.85rem, 4vw, 2.25rem);
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; text-underline-offset: .35em; }

.hero, .services, .provider-contact {
  padding-block: clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.hero-crest {
  position: relative;
  width: clamp(8.5rem, 21vw, 12rem);
  aspect-ratio: 3 / 2;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}
.hero-crest img {
  /* The crest occupies the top middle third of the clinic logo. */
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  max-width: none;
  height: auto;
}

.hero h1 {
  font-size: clamp(2.85rem, 9vw, 6.25rem);
  letter-spacing: -.055em;
}
.hero h1 span {
  display: block;
  margin-top: .42rem;
  font-size: .5em;
  letter-spacing: -.025em;
}
.tagline, .eyebrow {
  color: var(--gold);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-wrap: balance;
}
.tagline { margin-top: 1.25rem; }
.tagline span { padding-inline: .2rem; }
.section-copy {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: var(--moss);
  font-size: 1.0625rem;
  text-wrap: pretty;
}
.hero-action {
  margin-top: 1.55rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-action p { font-weight: 600; }

.button {
  display: inline-block;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  background: var(--forest);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.button:hover { background: #28513e; }

.wellness {
  padding-block: clamp(2.25rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
  background: #efecde;
  text-align: center;
}
.wellness-inner { max-width: 58rem; }
.wellness-banner {
  padding: clamp(1.5rem, 4vw, 2.6rem) 1rem;
  background: var(--deep);
  color: var(--paper);
}
.wellness-banner h2 { font-size: clamp(1.9rem, 5vw, 3.15rem); }
.wellness-banner p { margin-top: .6rem; }
.wellness-photo {
  width: 100%;
  height: clamp(11rem, 34vw, 23rem);
  margin-top: .55rem;
  object-fit: cover;
  object-position: center 43%;
  background: #d4c9ad;
}
.wellness-copy {
  padding: clamp(1.6rem, 4vw, 2.65rem) 1rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
}
.wellness-copy .tagline { margin-top: .75rem; }

.services h2 { margin: .6rem auto 0; }
.application-button {
  padding: .95rem 1.65rem;
  font-size: 1.0625rem;
}
.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 2rem .75rem;
  text-align: left;
}
.topics article {
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: #fbf9f0;
}
.topics h3 {
  margin-bottom: .65rem;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.topics p, .accordion p { color: var(--moss); }

.questions {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--sage);
}
.questions .wrap { max-width: 46rem; }
.questions h2 { margin-bottom: 1.4rem; text-align: center; }
.accordion details { border-bottom: 1px solid #bac5b1; }
.accordion details:first-child { border-top: 1px solid #bac5b1; }
.accordion summary {
  position: relative;
  padding: 1rem 2.4rem 1rem 0;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+" / "";
  position: absolute;
  right: .25rem;
  top: .9rem;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}
.accordion details[open] summary::after { content: "−" / ""; }
.accordion p { padding: 0 1rem 1rem 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #efecde;
}

.policy {
  max-width: 45rem;
  padding-block: clamp(3rem, 7vw, 6.25rem);
}
.policy h1 { font-size: clamp(2.7rem, 7vw, 4.85rem); letter-spacing: -.045em; }
.policy h2 { margin: 1.9rem 0 .55rem; font-size: clamp(1.45rem, 4vw, 1.95rem); }
.policy p { color: var(--moss); }
.policy-intro { margin-top: 1rem; font-size: 1.12rem; }
.policy-draft { margin-bottom: .9rem; }

@media (max-width: 52rem) {
  .topics {
    grid-template-columns: 1fr;
    max-width: 40rem;
    margin-inline: auto;
  }
}

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