@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --tagline-font: "Instrument Serif", Georgia, serif;
  --ui: "DM Sans", Arial, sans-serif;
  --page-title: clamp(2.375rem, 4.25vw, 3.75rem);
  --section-title: clamp(2.125rem, 3.65vw, 3.25rem);
  --item-title: clamp(1.3125rem, 1.75vw, 1.625rem);
  --body-size: 1rem;
  --control-size: .9375rem;
  --label-size: .875rem;
  --gutter: clamp(1.25rem, 5.1vw, 6rem);
  --content-width: min(calc(100% - 2 * var(--gutter)), 78rem);
  --header-height: clamp(4.5rem, 8vw, 6rem);
  --section-space: clamp(3.5rem, 7vw, 6.5rem);
  --group-space: clamp(1.75rem, 3vw, 2.5rem);
}
body {
  font: 400 var(--body-size)/1.55 var(--ui);
  color: var(--ink);
}
h1, h2, h3 {
  font-family: var(--ui);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--page-title); line-height: 1.12; letter-spacing: -.03em; }
h2 { font-size: var(--section-title); line-height: 1.12; letter-spacing: -.03em; }
h3 { font-size: var(--item-title); line-height: 1.26; letter-spacing: -.012em; }

/* The single-line signature approved on Start Here, including its original typeface. */
.wordmark {
  display: inline-block;
  flex: none;
  font: 400 1.25rem/1.2 system-ui, -apple-system, sans-serif;
  letter-spacing: .22em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
@media (max-width: 650px) {
  .wordmark { font-size: 1rem; }
}

/* Shared header geometry for the compact care pages and the full navigation. */
.top .top-inner, .care-header {
  width: var(--content-width);
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: 0;
}
.care-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.care-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 3vw, 2.5rem);
  font-size: var(--control-size);
}
.care-header nav > a:first-child { text-decoration: none; }

.care-header nav a { white-space: nowrap; }

@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .care-header, .care-header nav { gap: .6rem; }
  .care-header nav { font-size: var(--label-size); }
}

/* Two-line clinic signature in both full and compact headers. */
a.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: .26rem;
  align-items: flex-start;
  line-height: 1;
}
.wordmark-subtitle {
  font: 400 .64rem/1.2 var(--ui);
  letter-spacing: .075em;
  color: var(--deep-slate);
}
@media (max-width: 650px) {
  .wordmark-subtitle { font-size: .6rem; letter-spacing: .035em; }
}
