/* NestCare — restrained Nordic editorial system for an adult medical audience */
:root {
  --paper: #faf8ec;
  --paper-2: #f0e4d6;
  --surface: #fcf8f5;
  --ink: #242620;
  --ink-2: #53564e;
  --ink-3: #77796f;
  --sage: #97a7a6;
  --sage-deep: #5e6d66;
  --sage-pale: #d8e3dd;
  --gold: #d8b06a;
  --urgent: #8c4e42;
  --urgent-pale: #f7ece6;
  --night: #34423c;
  --night-2: #44554d;
  --line: rgba(36, 38, 32, .15);
  --line-strong: rgba(36, 38, 32, .28);
  --line-light: rgba(249, 247, 241, .2);
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading: "Helvetica Neue", Arial, sans-serif;
  --shell: 1240px;
  --header: 78px;
  --ease: cubic-bezier(.2, .65, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--urgent); outline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 236, .94);
  backdrop-filter: blur(18px);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand__mark { display: block; width: 42px; height: auto; margin-right: 10px; }
.brand__name { font: 600 1.55rem/1 var(--heading); letter-spacing: .01em; }
.brand__place {
  margin: 2px 0 0 11px;
  padding-left: 11px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.primary-nav a {
  color: var(--ink-2);
  font-size: .75rem;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--ink); }
.header__tools { display: flex; align-items: center; gap: 22px; flex: none; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .67rem; letter-spacing: .12em; }
.lang__btn { appearance: none; padding: 6px 2px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.lang__btn.is-active { color: var(--ink); }
.menu-toggle { display: none; width: 34px; height: 34px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }

/* Shared type and components */
.eyebrow {
  margin: 0 0 16px;
  color: var(--sage-deep);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; color: var(--ink); }
h1 { margin: 0; font-size: clamp(1.75rem, 2.8vw, 2.9rem); line-height: 1.05; letter-spacing: -.025em; }
h2 { margin: 0; font-size: clamp(1.4rem, 2.1vw, 2.15rem); line-height: 1.08; letter-spacing: -.02em; }
h3 { margin: 0; font-size: .93rem; line-height: 1.35; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--sage-deep);
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button--primary { background: var(--sage-deep); color: var(--surface); }
.button--primary:hover { background: var(--night-2); border-color: var(--night-2); }
.button--quiet { background: transparent; color: var(--sage-deep); }
.button--quiet:hover { background: var(--sage-pale); }
.image-frame { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-frame figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 70%;
  padding: 11px 15px;
  background: rgba(36, 38, 32, .9);
  color: var(--surface);
  font-size: .66rem;
  letter-spacing: .04em;
}
.step-index { color: var(--sage-deep); font: 500 .7rem/1 var(--sans); letter-spacing: .12em; }

/* Hero — desktop editorial composition */
.hero {
  min-height: min(820px, calc(100svh - var(--header)));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: stretch;
  column-gap: clamp(44px, 6vw, 92px);
  padding-top: 52px;
  padding-bottom: 52px;
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 50px 0; }
.hero__copy .eyebrow { margin-bottom: 25px; }
.hero__lede { max-width: 660px; margin: 34px 0 0; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.72; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.clinical-note { max-width: 620px; margin: 30px 0 0; padding-left: 15px; border-left: 2px solid var(--gold); color: var(--ink-3); font-size: .75rem; line-height: 1.6; }
.hero__media { min-height: 0; aspect-ratio: 4 / 5; align-self: center; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { object-position: right center; }
.mobile-quick { display: none; }

/* Practical clinic information stays visible near the top */
.location-quick {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr 1.2fr auto auto auto;
  align-items: stretch;
  margin-top: 8px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.location-quick > div { display: flex; flex-direction: column; justify-content: center; min-height: 82px; padding: 15px 19px; border-right: 1px solid var(--line); }
.location-quick__title { flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 10px; background: var(--sage-pale); }
.location-quick__title img { width: 29px; height: auto; flex: none; }
.location-quick__title span, .location-quick__title strong, .location-quick__title small { display: block; }
.location-quick small { color: var(--ink-3); font-size: .59rem; letter-spacing: .04em; }
.location-quick strong { margin-top: 4px; font-size: .69rem; font-weight: 500; line-height: 1.45; }
.location-quick > a { display: grid; place-items: center; padding: 15px 22px; background: var(--sage-deep); color: var(--surface); font-size: .66rem; text-align: center; text-decoration: none; }
.location-quick > a:hover { background: var(--night-2); }
.location-quick > a.location-quick__contact { background: var(--surface); color: var(--sage-deep); border-left: 1px solid var(--line); }
.location-quick > a.location-quick__contact:hover { background: var(--sage-pale); color: var(--night-2); }

/* First check */
.decision-strip { display: grid; grid-template-columns: 230px 1fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.decision-strip__heading { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.decision-strip__heading h2 { margin-top: 9px; font: 500 1.25rem/1.2 var(--sans); letter-spacing: -.01em; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.check-grid li { min-height: 126px; padding: 27px 22px; border-right: 1px solid var(--line); }
.check-grid li:last-child { border-right: 0; }
.check-grid strong, .check-grid span { display: block; }
.check-grid strong { margin-bottom: 9px; font-size: .81rem; }
.check-grid span { color: var(--ink-3); font-size: .73rem; line-height: 1.5; }

/* Emergency */
.urgent {
  display: grid;
  grid-template-columns: .8fr 1.35fr .55fr;
  gap: 38px;
  margin-top: 62px;
  padding: 42px;
  border-top: 3px solid var(--urgent);
  background: var(--urgent-pale);
}
.eyebrow--urgent { color: var(--urgent); }
.urgent h2 { font: 500 clamp(1.35rem, 1.8vw, 1.65rem)/1.08 var(--heading); }
.urgent__signs { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #4d3a36; font-size: .8rem; }
.urgent__signs li { position: relative; padding-left: 19px; }
.urgent__signs li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; background: var(--urgent); }
.urgent__actions { display: grid; align-content: center; gap: 9px; }
.emergency-call { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid rgba(140, 78, 66, .35); text-decoration: none; }
.emergency-call span { min-width: 50px; color: var(--urgent); font: 600 1.4rem/1 var(--sans); }
.emergency-call small { color: #6a514b; font-size: .65rem; line-height: 1.3; }

/* Sections */
.section { padding-top: clamp(92px, 10vw, 138px); padding-bottom: clamp(92px, 10vw, 138px); }
.section--tint { background: var(--paper-2); }
.section-heading--split { display: grid; grid-template-columns: 1fr minmax(320px, .7fr); gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading--split > p { max-width: 530px; margin: 0 0 5px; color: var(--ink-2); font-size: .88rem; line-height: 1.7; }

/* Age navigator */
.care-layout { display: grid; grid-template-columns: minmax(270px, .42fr) minmax(0, 1.58fr); gap: 34px; align-items: stretch; }
.care-layout__image { min-height: 560px; }
.care-layout__image img { object-position: 49% center; }
.age-navigator { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 560px; border: 1px solid var(--line-strong); background: var(--surface); }
.age-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.age-tab { flex: 1; min-height: 64px; appearance: none; padding: 12px 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-3); text-align: left; font-size: .75rem; cursor: pointer; }
.age-tab:last-child { border-bottom: 0; }
.age-tab:hover { color: var(--ink); }
.age-tab.is-active { background: var(--sage-pale); color: var(--ink); box-shadow: inset 3px 0 0 var(--sage-deep); }
.age-panels { min-width: 0; }
.age-panel { height: 100%; padding: clamp(26px, 3.5vw, 48px); }
.age-panel__top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 38px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.age-panel__top span { color: var(--ink-3); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.age-panel__top strong { color: var(--sage-deep); font: 500 1.12rem/1.3 var(--heading); text-align: right; }
.age-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; height: calc(100% - 80px); }
.age-panel__grid > div { padding: 6px 24px; border-right: 1px solid var(--line); }
.age-panel__grid > div:first-child { padding-left: 0; }
.age-panel__grid > div:last-child { padding-right: 0; border-right: 0; }
.age-panel__grid h3 { margin-bottom: 16px; color: var(--ink); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.age-panel__grid p { margin: 0; color: var(--ink-2); font-size: .78rem; line-height: 1.72; }
.age-panel__alert h3 { color: var(--urgent); }
.age-panel__alert p { color: #604741; }

/* Problems */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.problem-card { border-top: 1px solid var(--line-strong); background: rgba(249, 247, 241, .54); }
.problem-card[open] { background: var(--sage-pale); }
.problem-card summary { position: relative; min-height: 94px; display: flex; flex-direction: column; justify-content: center; padding: 19px 54px 19px 22px; cursor: pointer; list-style: none; }
.problem-card summary::-webkit-details-marker { display: none; }
.problem-card summary::after { content: "+"; position: absolute; right: 22px; top: 50%; color: var(--ink-3); font: 300 1.5rem/1 var(--sans); transform: translateY(-50%); }
.problem-card[open] summary::after { content: "−"; }
.problem-card summary span { font: 500 1.24rem/1.25 var(--heading); }
.problem-card summary small { margin-top: 6px; color: var(--ink-3); font-size: .66rem; letter-spacing: .05em; }
.problem-card__body { padding: 0 42px 27px 22px; }
.problem-card__body ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; }
.problem-card__body li { color: var(--ink-2); font-size: .76rem; line-height: 1.65; }
.problem-card__body a { color: var(--urgent); font-weight: 500; }

/* Daily */
.today-layout { display: grid; grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr); gap: clamp(52px, 8vw, 110px); align-items: center; }
.today-layout__image { aspect-ratio: 4 / 5; }
.today-layout__content { max-width: 660px; }
.today-layout__content h2 { max-width: 560px; }
.today__date { margin: 26px 0 0; color: var(--ink-3); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.daily-card { margin-top: 25px; padding: 32px; border-top: 3px solid var(--gold); background: var(--surface); }
.daily-card__label { color: var(--sage-deep); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.daily-card > p:not(.daily-card__focus) { margin: 17px 0 0; font: 500 clamp(1.45rem, 2.2vw, 2rem)/1.28 var(--heading); }
.daily-card__focus { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .75rem; }
.history-card { margin-top: 12px; padding: 25px 30px; border: 1px solid var(--line); }
.history-card > div { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-3); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.history-card p { margin: 15px 0 12px; color: var(--ink-2); font-size: .8rem; }
.history-card a { color: var(--sage-deep); font-size: .67rem; }
.today__method { margin: 17px 0 0; color: var(--ink-3); font-size: .65rem; line-height: 1.6; }

/* Public health links */
.section--dark { overflow: hidden; background: var(--night); color: #d8d8d0; }
.section--dark h2 { color: var(--surface); }
.section--dark .eyebrow { color: #b4c0ac; }
.esy-intro { display: grid; grid-template-columns: .78fr 1.22fr; gap: 65px; align-items: end; }
.esy-intro > div > p:last-child { max-width: 570px; margin: 27px 0 0; color: #b8bbb3; font-size: .83rem; }
.esy-intro__image { margin: 0; aspect-ratio: 16 / 7; overflow: hidden; }
.esy-intro__image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.service-links { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.service-links a { min-height: 172px; display: flex; flex-direction: column; padding: 22px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); text-decoration: none; transition: background .2s var(--ease); }
.service-links a:hover { background: var(--night-2); }
.service-links a > span { margin-bottom: auto; color: #8f978a; font-size: .62rem; letter-spacing: .1em; }
.service-links strong { margin-top: 28px; color: var(--surface); font: 500 1.06rem/1.25 var(--heading); }
.service-links small { margin-top: 7px; color: #a9ada4; font-size: .63rem; line-height: 1.4; }
.esy-numbers { display: flex; gap: 34px; margin-top: 35px; }
.esy-numbers a { display: flex; align-items: baseline; gap: 12px; color: var(--surface); text-decoration: none; }
.esy-numbers strong { font-size: .95rem; }
.esy-numbers span { color: #9da198; font-size: .68rem; }

/* Visit preparation */
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.visit-card { min-height: 390px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-card > span:first-child { color: var(--ink-3); font-size: .64rem; letter-spacing: .1em; }
.visit-card h3 { margin-top: 70px; font: 500 1.35rem/1.25 var(--heading); }
.visit-card ul { display: grid; gap: 11px; margin: 23px 0 0; padding-left: 17px; }
.visit-card li { color: var(--ink-2); font-size: .72rem; }
.visit-card--caution { background: var(--urgent-pale); }
.visit-card--caution h3 { color: var(--urgent); }
.text-button { margin-top: 24px; appearance: none; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: .68rem; cursor: pointer; }
.copy-status { margin-left: 8px; color: var(--sage-deep); font-size: .65rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(65px, 9vw, 130px); }
.faq-layout > div:first-child > p:last-child { max-width: 330px; margin: 24px 0 0; color: var(--ink-2); font-size: .8rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; list-style: none; font: 500 1.05rem/1.4 var(--heading); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 22px; right: 4px; color: var(--ink-3); font-family: var(--sans); font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -3px 0 27px; color: var(--ink-2); font-size: .78rem; line-height: 1.72; }

/* Practice */
.practice-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(55px, 9vw, 125px); align-items: start; }
.practice__content h2 { max-width: 720px; }
.practice__content > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: var(--ink-2); font-size: .88rem; }
.practice__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.access-card { padding: 32px; border-top: 3px solid var(--gold); background: var(--sage-pale); }
.access-card h3 { margin-top: 15px; font: 500 1.65rem/1.2 var(--heading); }
.access-card dl { margin: 26px 0 0; }
.access-card dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.access-card dt { color: var(--ink-3); font-size: .65rem; }
.access-card dd { margin: 0; color: var(--ink-2); font-size: .72rem; }
.map { width: 100%; height: 340px; margin-top: 46px; overflow: hidden; border: 1px solid var(--line-strong); }
.map iframe { width: 100%; height: 100%; display: block; border: 0; filter: grayscale(.42) saturate(.6) contrast(.96); }

/* Sources */
.sources { display: grid; grid-template-columns: .42fr 1.58fr; gap: 90px; padding-top: 62px; padding-bottom: 74px; border-top: 1px solid var(--line-strong); }
.sources h2 { font-size: clamp(1.4rem, 2.1vw, 2.15rem); }
.sources__content > p { max-width: 820px; margin: 0; color: var(--ink-2); font-size: .74rem; }
.sources__content ul { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 24px 0 0; padding: 0; list-style: none; }
.sources__content li { font-size: .66rem; }
.sources__content a { color: var(--sage-deep); }
.sources__content .review-date { margin-top: 24px; color: var(--ink-3); font-size: .63rem; }

/* Footer */
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 150px; gap: 35px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 38px; height: auto; }
.footer__brand span, .footer__brand strong, .footer__brand small { display: block; }
.footer__brand strong { font: 600 1.15rem/1 var(--heading); }
.footer__brand small { margin-top: 5px; color: var(--ink-3); font-size: .58rem; letter-spacing: .06em; }
.footer__legal p { margin: 0; color: var(--ink-3); font-size: .62rem; }
.footer__legal p + p { margin-top: 5px; }
.foot__by { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: var(--ink-3); font-size: .58rem; letter-spacing: .07em; text-decoration: none; }
.foot__tile { display: grid; place-items: center; width: 118px; height: 118px; padding: 7px; background: #e3ddd2; border: 1px solid rgba(180, 156, 115, .32); }
.foot__tile img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.08); }

/* Tablet */
@media (max-width: 1040px) {
  .shell { width: min(calc(100% - 44px), var(--shell)); }
  .primary-nav { gap: 15px; }
  .primary-nav a:nth-child(2), .primary-nav a:nth-child(4) { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); column-gap: 42px; }
  .hero__media { min-height: 0; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid li:nth-child(2) { border-right: 0; }
  .check-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .urgent { grid-template-columns: .8fr 1.2fr; }
  .urgent__actions { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .care-layout { grid-template-columns: 1fr; }
  .care-layout__image { min-height: 360px; max-height: 440px; }
  .age-navigator { min-height: 500px; }
  .service-links { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-card { min-height: 340px; }
}

/* Mobile — deliberately recomposed, not scaled-down desktop */
@media (max-width: 760px) {
  :root { --header: 62px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { backdrop-filter: blur(12px); }
  .header__inner { gap: 12px; }
  .brand__mark { width: 34px; margin-right: 8px; }
  .brand__name { font-size: 1.3rem; }
  .brand__place { display: none; }
  .header__tools { margin-left: auto; gap: 11px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 14px 16px 20px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--surface);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a, .primary-nav a:nth-child(2), .primary-nav a:nth-child(4) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .78rem; }
  .primary-nav a:last-child { border-bottom: 0; }

  h1 { font-size: clamp(1.4rem, 5.5vw, 1.65rem); line-height: 1.08; }
  h2 { font-size: clamp(1.25rem, 5vw, 1.5rem); line-height: 1.12; }
  .eyebrow { margin-bottom: 12px; font-size: .61rem; }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 45px;
    padding-bottom: 28px;
  }
  .hero__copy { padding: 0; }
  .hero__lede { margin-top: 22px; font-size: .94rem; line-height: 1.65; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; }
  .hero__actions .button { padding-inline: 12px; font-size: .7rem; }
  .hero__actions .button--primary, .practice__actions .button--primary { grid-column: 1 / -1; }
  .clinical-note { margin-top: 23px; font-size: .68rem; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media img { object-position: right center; }
  .image-frame figcaption { display: none; }

  .mobile-quick {
    position: sticky;
    top: var(--header);
    z-index: 20;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(250, 248, 236, .97);
    scrollbar-width: none;
  }
  .mobile-quick::-webkit-scrollbar { display: none; }
  .mobile-quick a { flex: none; padding: 13px 16px; color: var(--ink-2); font-size: .64rem; letter-spacing: .05em; text-decoration: none; }

  .location-quick { grid-template-columns: 1fr 1fr; margin-top: 20px; margin-bottom: 24px; }
  .location-quick > div { min-height: 76px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
  .location-quick > div:nth-child(3) { border-right: 0; }
  .location-quick__title { grid-column: 1 / -1; border-right: 0 !important; }
  .location-quick > div:nth-child(4) { grid-column: 1 / -1; border-right: 0; }
  .location-quick > a { grid-column: 1 / -1; min-height: 46px; }
  .location-quick > a.location-quick__contact { border-left: 0; border-bottom: 1px solid var(--line); }

  .decision-strip { grid-template-columns: 1fr; }
  .decision-strip__heading { display: flex; align-items: baseline; gap: 15px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-strip__heading h2 { margin: 0; font-size: 1rem; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid li { min-height: 110px; padding: 19px 13px; }
  .check-grid strong { font-size: .72rem; }
  .check-grid span { font-size: .64rem; }

  .urgent { grid-template-columns: 1fr; gap: 23px; margin-top: 36px; padding: 27px 22px; }
  .urgent h2 { font-size: 1.35rem; }
  .urgent__signs { gap: 10px; font-size: .72rem; }
  .urgent__actions { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .emergency-call { display: block; padding: 12px; }
  .emergency-call span, .emergency-call small { display: block; }
  .emergency-call small { margin-top: 5px; }

  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .section-heading--split > p { font-size: .78rem; }
  .care-layout { gap: 16px; }
  .care-layout__image { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .age-navigator { display: block; min-height: 0; border: 0; background: transparent; }
  .age-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    overflow-x: hidden;
    padding: 0 0 13px;
    border: 0;
  }
  .age-tab { flex: 1 1 calc((100% - 14px) / 3); max-width: calc((100% - 14px) / 3); min-width: 0; min-height: 44px; padding: 10px 8px; border: 1px solid var(--line-strong); background: var(--surface); text-align: center; white-space: nowrap; }
  .age-tab:last-child { border-bottom: 1px solid var(--line-strong); }
  .age-tab.is-active { background: var(--sage-deep); color: var(--surface); box-shadow: none; border-color: var(--sage-deep); }
  .age-panels { width: 100%; min-width: 0; max-width: 100%; border: 1px solid var(--line-strong); background: var(--surface); }
  .age-panel { width: 100%; min-width: 0; max-width: 100%; padding: 24px 20px 22px; }
  .age-panel__top { display: block; min-width: 0; max-width: 100%; margin-bottom: 25px; padding-bottom: 17px; }
  .age-panel__top span, .age-panel__top strong { display: block; text-align: left; }
  .age-panel__top strong { margin-top: 8px; overflow-wrap: anywhere; }
  .age-panel__grid { grid-template-columns: 1fr; min-width: 0; max-width: 100%; height: auto; }
  .age-panel__grid > div, .age-panel__grid > div:first-child, .age-panel__grid > div:last-child { min-width: 0; max-width: 100%; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .age-panel__grid > div:first-child { padding-top: 0; }
  .age-panel__grid > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .age-panel__grid h3 { margin-bottom: 8px; }
  .age-panel__grid p { font-size: .74rem; overflow-wrap: anywhere; }

  .problem-grid { grid-template-columns: 1fr; gap: 8px; }
  .problem-card summary { min-height: 82px; padding: 16px 46px 16px 17px; }
  .problem-card summary::after { right: 17px; }
  .problem-card summary span { font-size: 1.12rem; }
  .problem-card__body { padding: 0 24px 22px 17px; }

  .today-layout { grid-template-columns: 1fr; gap: 35px; }
  .today-layout__image { aspect-ratio: 16 / 10; }
  .today-layout__image img { object-position: center 56%; }
  .daily-card { padding: 24px 20px; }
  .daily-card > p:not(.daily-card__focus) { font-size: 1.43rem; }
  .history-card { padding: 21px 20px; }

  .esy-intro { grid-template-columns: 1fr; gap: 30px; }
  .esy-intro__image { aspect-ratio: 16 / 9; }
  .service-links { grid-template-columns: 1fr; margin-top: 34px; }
  .service-links a { min-height: 125px; padding: 17px; }
  .service-links strong { margin-top: 20px; }
  .esy-numbers { display: grid; gap: 15px; }
  .esy-numbers a { align-items: flex-start; flex-direction: column; gap: 2px; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-card { min-height: 0; padding: 22px; }
  .visit-card h3 { margin-top: 28px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-list summary { font-size: 1rem; }

  .practice-layout { grid-template-columns: 1fr; gap: 38px; }
  .practice__content > p:not(.eyebrow) { font-size: .79rem; }
  .practice__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .access-card { padding: 24px 20px; }
  .access-card dl > div { grid-template-columns: 94px 1fr; gap: 12px; }
  .map { height: 290px; margin-top: 27px; }

  .sources { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; padding-bottom: 55px; }
  .sources h2 { font-size: 1.4rem; }
  .sources__content ul { display: grid; gap: 9px; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__legal { text-align: center; }
  .foot__by { justify-self: center; align-items: center; }
  .foot__tile { width: 82px; height: 82px; padding: 5px; }
}

@media (max-width: 390px) {
  .hero__actions, .practice__actions { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid li, .check-grid li:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .check-grid li:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .mobile-quick, .hero__media, .hero__actions, .urgent__actions, .section--dark, .map, .site-footer { display: none !important; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  .section { padding: 32px 0; }
  details > * { display: block !important; }
}
