:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --ink: #442a22;
  --muted: #684536;
  --rust: #a62b0c;
  --rust-dark: #7e230d;
  --panel: #eceadf;
  --line: #d7c6b8;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

a {
  color: var(--rust);
  text-underline-offset: .2em;
  text-decoration-thickness: .075em;
}

a:hover { text-decoration-thickness: .13em; }

a:focus-visible {
  outline: 3px solid var(--rust-dark);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: 1rem;
  z-index: 1;
  transform: translateY(-160%);
  padding: .65rem 1rem;
  background: var(--paper);
}

.skip-link:focus { transform: none; }

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

.site-header { border-bottom: 1px solid var(--line); }

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-block: 1.3rem;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.35rem;
}

.wordmark {
  color: var(--rust);
  font: 1.35rem/1.3 var(--display);
  text-decoration: none;
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.75rem);
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4.25rem);
}

.specialty {
  margin: 0 0 .85rem;
  color: var(--rust);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .015em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--rust);
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  font-size: clamp(2.6rem, 5.7vw, 5.25rem);
  letter-spacing: -.04em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

.intro-text {
  max-width: 32rem;
  margin: 1.35rem 0 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border: 1px solid var(--rust);
  border-radius: .4rem;
  padding: .65rem .95rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  gap: .75rem;
  border-color: #0069a8;
  background: #0069a8;
  color: #fff;
}

.button-primary img {
  display: block;
  flex: none;
  width: 4.65rem;
  height: auto;
}

.button-primary:hover {
  border-color: #005488;
  background: #005488;
}

.button-secondary:hover { background: var(--panel); }

.hours {
  padding: clamp(1.3rem, 3.5vw, 2.4rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .8rem;
}

.hours-table {
  width: 100%;
  margin-top: .8rem;
  border-collapse: collapse;
}

.hours-table tr + tr { border-top: 1px solid var(--line); }

.hours-table th,
.hours-table td {
  padding: .55rem 0;
  vertical-align: top;
}

.hours-table th {
  padding-right: .7rem;
  font-weight: 600;
  text-align: left;
}

.hours-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.treatments {
  grid-column: 1 / -1;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.treatments h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  scroll-margin-top: 1.5rem;
}

.treatment-list {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.treatment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1.25rem clamp(2rem, 6vw, 5rem);
}

.treatment:nth-child(even) figure { order: -1; }

.treatment h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}

.treatment ul {
  margin: .85rem 0 0;
  padding-left: 1.2em;
}

.treatment li + li { margin-top: .25rem; }
.treatment li::marker { color: var(--rust); }
.treatment figure { margin: 0; }

.treatment img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1rem;
}

.treatment figcaption {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .85rem;
}

.contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  align-items: start;
  gap: .8rem 1.5rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--line);
}

address { font-style: normal; }

.contact-links {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal {
  width: min(100% - 3rem, 49rem);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.legal h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
.legal h2 { margin-top: 2rem; }
.legal p { max-width: 44rem; }
.legal a { overflow-wrap: anywhere; }

@media (max-width: 52rem) {
  .landing { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact h2 { grid-column: 1 / -1; }
}

@media (max-width: 35rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { padding-block: 1rem; }
  .landing { padding-top: 2.5rem; }
  .actions { flex-direction: column; }
  .treatment { grid-template-columns: minmax(0, 1fr); }
  .treatment:nth-child(even) figure { order: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { align-items: flex-start; }
}
