/* SolVita — a warm, editorial visual system. All media/fonts local. */
:root {
  --white: #fdfbf9;
  --cream: #f5f0eb;
  --champagne: #e8ddd3;
  --gold: #c4a87c;
  --charcoal: #2a2a2a;
  --black: #1a1a1a;
  --muted: #685f58;
  --sage: #b5bfb0;
  --line: #ded4ca;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --gutter: clamp(24px, 5.5vw, 100px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #665137;
  outline-offset: 5px;
}
::selection {
  background: var(--champagne);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(48px, 5vw, 76px);
}
h2 {
  font-size: clamp(36px, 3.3vw, 48px);
}
h3 {
  font-weight: 500;
  line-height: 1.4;
}
p {
  max-width: 75ch;
}
p + p {
  margin-top: 14px;
}
.wrap {
  max-width: 1320px;
  margin-inline: auto;
  width: calc(100% - var(--gutter) * 2);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}
.fine {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
  overflow: hidden;
}
.skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  background: var(--black);
  color: white;
  padding: 12px 20px;
  transform: translateY(-200%);
}
.skip:focus {
  transform: translateY(0);
}
.js-only {
  display: none;
}
.js .js-only {
  display: inline-flex;
}
.site-header {
  height: 124px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.primary-nav {
  display: flex;
  gap: clamp(16px, 1.6vw, 28px);
  align-items: center;
}
.primary-nav a {
  font-size: 12px;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
}
.primary-nav a[aria-current]::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--charcoal);
  position: absolute;
  bottom: 4px;
}
.brand {
  display: block;
  width: 154px;
  text-decoration: none;
}
.brand img {
  width: 100%;
  height: auto;
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 25px;
}
.header-phone {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.language {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  min-width: 28px;
  min-height: 32px;
  display: grid;
  place-items: center;
}
.menu-trigger {
  min-height: 44px;
  border: 0;
  background: none;
  padding: 10px 0;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.js .menu-trigger {
  display: none;
}
.menu-lines {
  width: 19px;
  height: 10px;
  border-block: 1px solid;
  display: inline-block;
}
.hero {
  margin: 0 32px;
  background: var(--cream);
  position: relative;
  min-height: 500px;
  height: clamp(500px, 64vh, 650px);
  isolation: isolate;
  display: flex;
  align-items: center;
  border-radius: 2px;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 65%;
  z-index: -2;
}
.hero-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 0 2px 2px 0;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f5f0eb 25%,
    #f5f0ebf5 38%,
    #f5f0eb85 53%,
    #f5f0eb00 74%
  );
  z-index: -1;
  pointer-events: none;
}
.hero-content {
  padding: 44px clamp(32px, 4.5vw, 86px);
  width: calc(620px + clamp(32px, 4.5vw, 86px));
  max-width: 62%;
}
.hero h1 {
  font-size: clamp(49px, 4.5vw, 78px);
  margin: 23px 0 22px;
  line-height: 1.04;
  white-space: normal;
}
.hero-intro {
  max-width: 410px;
  font-size: 13px;
  line-height: 1.9;
  color: #4d453f;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  background: var(--charcoal);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  border: 1px solid var(--charcoal);
  padding: 13px 22px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    color 0.2s;
}
.button span {
  font-size: 18px;
  line-height: 1;
}
.button:hover {
  background: var(--black);
}
.button:disabled {
  background: #e4ddd7;
  color: #625a53;
  border-color: #c1b4a8;
}
.button.secondary {
  background: transparent;
  color: var(--charcoal);
}
.button.secondary:hover {
  background: var(--champagne);
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  padding: 8px 0;
  display: inline-block;
}
.text-link span {
  display: inline-block;
  margin-left: 10px;
}
.photo-caption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  background: #fdfbf9eb;
  color: #4c443c;
  padding: 3px 9px;
  font-size: 9px;
  letter-spacing: 0.02em;
}
.home-services {
  padding-block: 62px 66px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: 40px;
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 45px 1.1fr 1fr 28px;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.service-row:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.service-index {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--muted);
  line-height: 1;
}
.service-row h3 {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.1;
  max-width: 340px;
}
.service-row p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 350px;
}
.row-arrow {
  font-size: 22px;
  justify-self: end;
}
.team-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  padding-block: 0 76px;
  align-items: center;
  max-width: 1100px;
}
.team-section figure {
  max-width: 360px;
  justify-self: center;
  width: 100%;
}
.team-section figure img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: 50% 31%;
}
.team-copy h2 {
  margin-top: 15px;
}
.team-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 19px;
  max-width: 440px;
}
.doctor {
  padding-top: 18px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.doctor h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.doctor p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.team-copy > .text-link {
  margin-top: 17px;
}
.funding-teaser {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 50px;
}
.funding-teaser h2 {
  font-size: 30px;
  margin-top: 7px;
}
.funding-teaser p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.funding-teaser .text-link {
  white-space: nowrap;
}
.breadcrumbs {
  max-width: 1320px;
  width: calc(100% - var(--gutter) * 2);
  margin: 20px auto 0;
  font-size: 10px;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs li + li:before {
  content: "/";
  margin-right: 10px;
  color: var(--muted);
}
.breadcrumbs a {
  text-decoration: none;
}
.page-intro {
  padding-top: 46px;
  padding-bottom: 48px;
}
.page-intro h1 {
  max-width: 950px;
  margin: 18px 0 24px;
}
.intro-text {
  max-width: 680px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.services-page {
  padding-bottom: 60px;
}
.services-page .service-row {
  padding-block: 35px;
}
.approach {
  padding-top: 44px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 34px 0;
}
.steps h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 16px 0 10px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  align-items: start;
  gap: clamp(50px, 8vw, 130px);
  padding-bottom: 58px;
}
.prose .lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--charcoal);
}
.prose section {
  margin-top: 35px;
}
.prose h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
.prose p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}
.prose > .text-link {
  margin-top: 30px;
}
.detail-aside {
  background: var(--cream);
  padding: 30px;
  position: sticky;
  top: 28px;
}
.detail-aside h2 {
  font-size: 36px;
  margin: 15px 0;
}
.detail-aside > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.8;
}
.detail-aside .button {
  margin: 24px 0 18px;
  width: 100%;
  gap: 12px;
}
.detail-aside > a:not(.button) {
  display: block;
  font-size: 18px;
  text-decoration: none;
}
.detail-aside .fine {
  margin-top: 16px;
}
.related {
  padding: 35px 0 55px;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 32px;
  margin-bottom: 22px;
}
.related > a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  gap: 20px;
}
.gallery-section {
  padding-bottom: 70px;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}
.gallery-filters {
  flex-wrap: wrap;
  gap: 5px;
}
.gallery-filters button {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 11px;
  min-height: 40px;
}
.gallery-filters button[aria-pressed="true"] {
  border-color: #8e7d6e;
  background: var(--cream);
}
.gallery-toolbar > p {
  font-size: 11px;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.gallery-item[hidden] {
  display: none;
}
.gallery-open {
  display: block;
  position: relative;
  background: var(--cream);
}
.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 35%;
}
.gallery-item[data-category="team"] img {
  object-position: center 27%;
}
.gallery-item figcaption {
  font-size: 11px;
  color: var(--muted);
  padding: 12px 0;
}
.photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--white);
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.lightbox {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  width: min(1000px, calc(100% - 48px));
  max-height: calc(100dvh - 40px);
}
dialog::backdrop {
  background: #1a1a1a90;
}
.lightbox-top,
.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  font-size: 12px;
}
.lightbox button {
  background: transparent;
  border: 0;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
}
.lightbox-bottom p {
  text-align: center;
  font-size: 11px;
}
.lightbox-image {
  height: min(65vh, 680px);
  background: var(--cream);
}
.lightbox-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 130px);
  padding-bottom: 65px;
}
.contact-information dl {
  margin: 0;
}
.contact-information dl > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-information dt {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-information dd {
  margin: 8px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-information dd a {
  text-decoration: none;
}
.contact-information .large-contact {
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1.2;
}
.emergency {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 15px;
}
.contact-form-section {
  background: var(--cream);
  padding: 32px;
}
.contact-form-section h2 {
  font-size: 36px;
  margin: 12px 0 18px;
}
.contact-form-section > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
}
.contact-form-section .fine {
  margin-top: 12px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field {
  margin-top: 20px;
  min-width: 0;
}
.field label {
  font-size: 11px;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #8e7d6e;
  border-radius: 0;
  background: var(--white);
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.5;
}
input:not([type="checkbox"]),
select {
  min-height: 46px;
}
select {
  padding-right: 25px;
}
textarea {
  resize: vertical;
}
.checkbox {
  font-size: 11px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}
.checkbox input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  accent-color: var(--charcoal);
}
.form-status {
  font-size: 12px;
  line-height: 1.8;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin: 22px 0;
}
.form-status[data-state="error"] {
  border-color: #8a342f;
  color: #762e29;
}
.form-status[data-state="success"] {
  border-color: #40583a;
  color: #354a30;
}
.honeypot {
  display: none;
}
.map-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 45px 0 65px;
}
.map-section h2 {
  margin: 12px 0 20px;
}
.map-section p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.map-section .map-address {
  margin-top: 20px;
  color: var(--charcoal);
}
.map-section .text-link {
  margin-top: 15px;
}
.map-placeholder {
  min-height: 280px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 26px;
  gap: 20px;
  border: 1px solid var(--line);
}
.map-placeholder > p {
  font-size: 11px !important;
  max-width: 240px;
}
.map-sun {
  color: #84724f;
  font-size: 45px;
  line-height: 1;
}
.map-placeholder iframe {
  width: 100%;
  height: 280px;
  border: 0;
}
.map-placeholder.loaded {
  padding: 0;
}
.legal-prose {
  max-width: 850px;
  padding-bottom: 70px;
}
.legal-prose section:first-child {
  margin-top: 0;
}
.legal-prose section {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.legal-prose h2 {
  font-size: 30px;
}
.funding-banner {
  margin-top: 32px;
}
.funding-banner img {
  width: 100%;
  height: auto;
  background: white;
}
.funding-banner + .page-intro {
  padding-top: 40px;
}
.not-found {
  padding-block: 60px 100px;
}
.not-found h1 {
  margin: 20px 0;
}
.not-found > p {
  max-width: 650px;
}
footer {
  background: var(--cream);
  padding: 38px var(--gutter) 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.65fr;
  align-items: center;
  gap: 35px;
  max-width: 1320px;
  margin: 0 auto;
  padding-bottom: 28px;
}
.footer-top .brand {
  width: 116px;
  margin-bottom: 14px;
}
.footer-top p {
  font-size: 11px;
  color: var(--muted);
}
.footer-top a:not(.brand) {
  display: block;
  font-size: 12px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-top .footer-phone {
  font-size: 20px !important;
  margin-bottom: 7px;
  font-family: var(--serif);
}
.footer-top p + p {
  margin-top: 5px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #d9cdc1;
  max-width: 1320px;
  margin: auto;
  padding-top: 18px;
  font-size: 9px;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom a {
  text-decoration: none;
}
.mobile-menu {
  padding: 0;
  border: 0;
  margin: 0 0 0 auto;
  width: min(460px, 92vw);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--cream);
  color: var(--charcoal);
}
.drawer-panel {
  padding: 24px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.drawer-head .brand {
  width: 124px;
}
.drawer-close {
  background: none;
  border: 0;
  font-size: 12px;
  padding: 12px 0 12px 12px;
}
.drawer-close span {
  font-size: 24px;
  vertical-align: middle;
  margin-left: 10px;
}
.mobile-menu nav {
  display: grid;
  margin: 45px 0;
}
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 37px;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current] {
  color: #6d583c;
}
.drawer-bottom {
  margin-top: auto;
  padding-bottom: 12px;
}
.drawer-bottom p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.drawer-bottom a {
  display: block;
  font-size: 13px;
  margin-top: 10px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.modal-open {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .hero-content {
    width: calc(720px + clamp(32px, 4.5vw, 86px));
    max-width: 60%;
  }
  .hero-intro {
    max-width: 460px;
  }
  .hero {
    max-height: 700px;
  }
}
@media (max-width: 1150px) {
  .site-header {
    padding-inline: 24px;
    gap: 16px;
  }
  .primary-nav {
    gap: 16px;
  }
  .primary-nav a {
    font-size: 11px;
  }
  .header-right {
    gap: 18px;
  }
  .hero {
    margin-inline: 24px;
  }
  .hero-content {
    max-width: 65%;
    padding-left: 38px;
    padding-right: 20px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-intro {
    max-width: 350px;
  }
  .hero-actions {
    gap: 20px;
  }
  .service-row {
    grid-template-columns: 32px 1.1fr 1fr 24px;
    gap: 18px;
  }
  .service-row h3 {
    font-size: 26px;
  }
  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .contact-layout {
    gap: 48px;
  }
  .contact-form-section {
    padding: 27px;
  }
  .footer-top {
    gap: 25px;
  }
  .footer-bottom nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: 105px;
  }
  .header-phone {
    display: none;
  }
  .hero-content {
    max-width: 69%;
    padding: 30px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-intro {
    max-width: 310px;
  }
  .hero-actions {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-photo {
    width: 69%;
  }
  .hero:after {
    background: linear-gradient(
      90deg,
      #f5f0eb 23%,
      #f5f0ebed 42%,
      #f5f0eb60 65%,
      transparent 85%
    );
  }
  .team-section {
    gap: 40px;
  }
  .contact-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .map-section {
    gap: 38px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:last-child {
    grid-column: 2;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .detail-layout {
    gap: 40px;
    grid-template-columns: 1.3fr 1fr;
  }
  .detail-aside {
    padding: 24px;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 94px;
    grid-template-columns: 1fr auto 1fr;
    padding-inline: 22px;
  }
  .site-header > .brand {
    grid-column: 2;
    grid-row: 1;
    width: 130px;
  }
  .header-right {
    grid-column: 3;
    grid-row: 1;
  }
  .header-right .language {
    position: absolute;
    left: 22px;
  }
  .primary-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    padding-bottom: 15px;
  }
  .site-header:has(.primary-nav) {
    height: auto;
    min-height: 104px;
    padding-top: 12px;
  }
  .js .primary-nav {
    display: none;
  }
  .js .site-header {
    height: 94px;
    min-height: 0;
    padding-top: 0;
  }
  .js .menu-trigger {
    display: inline-flex;
  }
  .hero {
    margin: 0 20px;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    z-index: 0;
    order: 0;
  }
  .hero-photo img {
    object-position: center 40%;
    border-radius: 2px 2px 0 0;
  }
  .hero:after {
    display: none;
  }
  .hero-content {
    order: 1;
    width: 100%;
    max-width: 100%;
    padding: 32px 26px 38px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 52px;
    line-height: 1.03;
    margin: 18px 0;
  }
  .hero-intro {
    max-width: 440px;
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 25px;
  }
  .hero .photo-caption {
    top: 228px;
    bottom: auto;
    right: 10px;
    z-index: 1;
  }
  .home-services {
    padding-block: 42px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    margin-top: 14px;
    font-size: 36px;
  }
  .service-row {
    grid-template-columns: 30px 1fr 25px;
    gap: 16px;
    padding: 24px 0;
  }
  .service-row h3 {
    font-size: 28px;
    max-width: none;
  }
  .service-row p {
    grid-column: 2;
    grid-row: 2;
    max-width: 520px;
  }
  .service-row .row-arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .service-row .service-index {
    align-self: start;
    padding-top: 3px;
  }
  .team-section {
    gap: 35px;
    padding-bottom: 45px;
    grid-template-columns: 0.8fr 1fr;
  }
  .team-section figure img {
    height: 340px;
  }
  .team-copy h2 {
    font-size: 35px;
  }
  .doctor h3 {
    font-size: 14px;
  }
  .funding-teaser {
    margin-bottom: 35px;
  }
  .funding-teaser h2 {
    font-size: 28px;
  }
  .page-intro {
    padding-top: 32px;
    padding-bottom: 35px;
  }
  .page-intro h1 {
    font-size: 54px;
    max-width: 650px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    padding-bottom: 45px;
  }
  .contact-information dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .contact-information .emergency {
    max-width: 650px;
  }
  .contact-form-section {
    padding: 30px;
  }
  .field-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .map-section {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .map-placeholder {
    min-height: 300px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .detail-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .detail-aside .eyebrow,
  .detail-aside h2,
  .detail-aside > p {
    grid-column: 1;
  }
  .detail-aside .button {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    align-self: start;
  }
  .detail-aside > a:not(.button) {
    grid-column: 2;
    grid-row: 3;
  }
  .detail-aside .fine {
    grid-row: 4;
  }
  .gallery-item img {
    height: 290px;
  }
  .steps {
    gap: 30px;
  }
  .steps h3 {
    font-size: 26px;
  }
  .gallery-grid {
    gap: 24px;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 24px;
  }
  body {
    font-size: 14px;
  }
  .site-header {
    padding-inline: 20px;
  }
  .header-right .language {
    left: 20px;
  }
  .js .site-header {
    height: 86px;
  }
  .site-header > .brand {
    width: 118px;
  }
  .menu-trigger {
    font-size: 11px;
    gap: 8px;
  }
  .menu-lines {
    width: 16px;
  }
  .hero {
    margin-inline: 14px;
  }
  .hero-photo {
    height: 205px;
  }
  .hero .photo-caption {
    top: 176px;
    font-size: 8px;
  }
  .hero-content {
    padding: 29px 19px 32px;
  }
  .hero h1 {
    font-size: clamp(37px, 10vw, 46px);
    letter-spacing: -0.04em;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-intro {
    font-size: 12px;
    line-height: 1.85;
    max-width: 340px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
  }
  .hero-actions .button {
    width: auto;
    min-width: 220px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .button {
    font-size: 11px;
    gap: 20px;
    min-height: 47px;
    padding: 12px 19px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .service-row {
    grid-template-columns: 24px 1fr 20px;
    gap: 11px;
    padding: 22px 0;
  }
  .service-row h3 {
    font-size: 26px;
  }
  .service-row p {
    font-size: 11px;
  }
  .service-index {
    font-size: 20px;
  }
  .row-arrow {
    font-size: 19px;
  }
  .team-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .team-section figure {
    max-width: none;
    width: 100%;
  }
  .team-section figure img {
    height: 325px;
    object-position: 50% 25%;
  }
  .team-copy {
    width: 100%;
  }
  .team-copy h2 {
    font-size: 36px;
  }
  .team-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .doctor h3 {
    font-size: 15px;
  }
  .funding-teaser {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 24px;
  }
  .funding-teaser h2 {
    font-size: 29px;
  }
  .funding-teaser .eyebrow {
    font-size: 9px;
  }
  .funding-teaser p:not(.eyebrow) {
    font-size: 10px;
  }
  .page-intro {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .page-intro h1 {
    font-size: 44px;
    margin: 15px 0 20px;
  }
  .intro-text {
    font-size: 13px;
    line-height: 1.85;
  }
  .breadcrumbs {
    font-size: 9px;
    margin-top: 14px;
  }
  .breadcrumbs ol {
    gap: 7px;
  }
  .breadcrumbs li + li:before {
    margin-right: 7px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .services-page {
    padding-bottom: 38px;
  }
  .services-page .service-row {
    padding-block: 25px;
  }
  .approach {
    padding-top: 30px;
    padding-bottom: 38px;
  }
  .approach h2 {
    font-size: 36px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 28px 0;
  }
  .steps > div {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 8px 14px;
  }
  .steps h3 {
    font-size: 27px;
    margin: 0;
    grid-column: 2;
  }
  .steps .service-index {
    padding-top: 5px;
  }
  .steps p {
    grid-column: 2;
    font-size: 12px;
  }
  .detail-layout {
    padding-bottom: 35px;
  }
  .prose .lead {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 30px;
  }
  .prose p {
    font-size: 13px;
  }
  .prose section {
    margin-top: 28px;
  }
  .detail-aside {
    display: block;
    padding: 25px;
  }
  .detail-aside .button {
    width: 100%;
    margin: 20px 0 15px;
  }
  .detail-aside h2 {
    font-size: 34px;
  }
  .related {
    padding: 30px 0 40px;
  }
  .related > a {
    font-size: 12px;
  }
  .gallery-toolbar {
    margin-bottom: 22px;
    gap: 15px;
  }
  .gallery-filters {
    gap: 0;
  }
  .gallery-filters button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .gallery-toolbar > p {
    font-size: 10px;
  }
  .gallery-grid {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 340px;
  }
  .gallery-item figcaption {
    font-size: 10px;
    padding-block: 10px;
  }
  .gallery-section {
    padding-bottom: 40px;
  }
  .lightbox {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .lightbox-image {
    height: 58vh;
  }
  .lightbox-top,
  .lightbox-bottom {
    padding: 8px 12px;
    gap: 10px;
  }
  .lightbox-bottom p {
    font-size: 10px;
  }
  .contact-information dl {
    grid-template-columns: 1fr;
  }
  .contact-information dl > div {
    padding-block: 17px;
  }
  .contact-information .large-contact {
    font-size: 37px;
  }
  .contact-information dd {
    font-size: 13px;
  }
  .contact-layout {
    gap: 26px;
  }
  .contact-form-section {
    padding: 25px 20px;
    margin-inline: -6px;
  }
  .contact-form-section h2 {
    font-size: 34px;
  }
  .contact-form-section > p:not(.eyebrow) {
    font-size: 11px;
  }
  .contact-form-section .fine {
    font-size: 10px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field {
    margin-top: 19px;
  }
  .checkbox {
    font-size: 10px;
    gap: 10px;
  }
  .form-status {
    font-size: 11px;
  }
  .map-section {
    grid-template-columns: 1fr;
    padding: 32px 0 40px;
  }
  .map-section h2 {
    font-size: 36px;
  }
  .map-section p:not(.eyebrow) {
    font-size: 12px;
  }
  .map-placeholder {
    min-height: 250px;
  }
  .map-section .text-link {
    font-size: 11px;
  }
  .legal-prose {
    padding-bottom: 45px;
  }
  .legal-prose h2 {
    font-size: 29px;
  }
  .legal-prose p {
    font-size: 12px;
  }
  .funding-banner {
    width: calc(100% - 28px);
    margin-top: 24px;
  }
  .funding-banner + .page-intro {
    padding-top: 28px;
  }
  .not-found {
    padding: 45px 0 65px;
  }
  .not-found h1 {
    font-size: 45px;
  }
  .not-found > p {
    font-size: 13px;
  }
  footer {
    padding-top: 30px;
    padding-bottom: 22px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }
  .footer-top > div:last-child {
    grid-column: auto;
  }
  .footer-top .brand {
    width: 110px;
    margin-bottom: 10px;
  }
  .footer-top > div:last-child {
    display: flex;
    gap: 14px;
    justify-content: space-between;
  }
  .footer-top p + p {
    margin-top: 0;
  }
  .footer-top a:not(.brand) {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 14px;
  }
  .footer-bottom nav {
    gap: 9px 17px;
  }
  .footer-bottom a {
    padding-block: 5px;
  }
  .drawer-panel {
    padding: 22px;
  }
  .drawer-head .brand {
    width: 115px;
  }
  .mobile-menu nav {
    margin-block: 35px;
  }
  .mobile-menu nav a {
    font-size: 34px;
  }
  .drawer-bottom a {
    font-size: 12px;
  }
  .drawer-bottom p {
    font-size: 11px;
  }
}
@media (min-width: 821px) and (max-height: 650px) {
  .site-header {
    height: 96px;
  }
  .hero {
    height: 450px;
    min-height: 450px;
  }
  .hero h1 {
    font-size: clamp(47px, 4vw, 66px);
    margin-block: 18px;
  }
  .hero-content {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-intro {
    font-size: 12px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
}
/* Final editorial refinements: legible small print and unambiguous portraits. */
.nowrap {
  white-space: nowrap;
}
.team-section figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.service-row p {
  font-size: 13px;
}
.footer-bottom {
  font-size: 10px;
}
.footer-top p {
  font-size: 12px;
}
.photo-caption {
  font-size: 10px;
}
.contact-form-section form > .button {
  margin-top: 24px;
}
.hero:after {
  background: linear-gradient(
    90deg,
    #f5f0eb 25%,
    #f5f0ebf5 38%,
    #f5f0eb80 50%,
    #f5f0eb00 66%
  );
}
@media (max-width: 820px) {
  .hero:after {
    display: none;
  }
}
@media (max-width: 560px) {
  .service-row p {
    font-size: 12px;
  }
  .team-section figcaption {
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 10px;
    line-height: 1.8;
  }
  .footer-bottom nav {
    gap: 8px 18px;
  }
  .footer-top p {
    font-size: 12px;
  }
  .photo-caption {
    font-size: 9px;
  }
  .contact-form-section .fine {
    font-size: 11px;
  }
  .checkbox {
    font-size: 11px;
  }
  .funding-teaser p:not(.eyebrow) {
    font-size: 11px;
  }
  .gallery-item figcaption {
    font-size: 11px;
  }
  .hero-intro {
    max-width: 310px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
