@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

:root {
  --paper: #faf8f4;
  --ink: #272320;
  --muted: #5b534d;
  --brick: #8a3d31;
  --rule: #dcd3c9;
  font: 17px/1.55 "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--brick); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--paper); padding: 10px; }
.skip:focus { top: 8px; }
.demo { background: #eee7df; font-size: .875rem; }
.demo-inner, .demo-inner > div, .clinic-header, nav, .clinic-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.demo-inner, .clinic-header, .clinic-footer { justify-content: space-between; }
.demo-inner { padding-block: 8px; }
.demo a, nav a, footer a { display: inline-flex; min-height: 44px; align-items: center; }
.clinic-header { padding-block: 18px; border-bottom: 1px solid var(--rule); }
.clinic-name { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
nav { font-size: .94rem; }
.intro, .section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(32px, 5vw, 72px); }
.intro { align-items: center; }
h1 { font: normal clamp(2.5rem, 5vw, 4.25rem)/1.03 Georgia, serif; letter-spacing: -.035em; max-width: 12ch; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; }
p, dd { color: var(--muted); }
.intro p, .section p { margin-top: 16px; max-width: 45ch; }
picture { display: block; aspect-ratio: 3 / 2; background: #eee7df; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1px solid var(--brick); border-radius: 4px; font: inherit; font-weight: 500; background: var(--brick); color: white; text-decoration: none; cursor: pointer; }
.button:hover { background: #703126; color: white; }
.intro .button { margin-top: 24px; }
.section, .clinic-footer { border-top: 1px solid var(--rule); }
.service-list > div + div, .hours > div + div { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
dt { font-weight: 600; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
select { padding: 8px 12px; min-height: 48px; width: 100%; border: 1px solid #8b8077; border-radius: 4px; font: inherit; background: white; color: var(--ink); }
label:not(:first-child), fieldset button { margin-top: 8px; }
fieldset button { justify-self: start; }
button:disabled { opacity: .65; cursor: default; }
#sample-confirmation { min-height: 1.55em; }
.clinic-footer { padding-block: 20px; color: var(--muted); font-size: .875rem; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .demo-inner { gap: 0; align-items: start; flex-direction: column; }
  .clinic-header { gap: 0; }
  .intro, .section { grid-template-columns: minmax(0, 1fr); }
  h1 { max-width: 16ch; }
}
