@font-face {
  font-family: 'Golos Text';
  src: url('../design/media/golos-text-variable.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1e3a50;
  --body: #354a5a;
  --muted: #63717b;
  --burgundy: #901d36;
  --burgundy-hover: #74162b;
  --blue: #193e59;
  --soft: #f3f5f6;
  --soft-blue: #edf1f4;
  font: 400 16px/1.55 'Golos Text', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
body { min-width: 0; font-size: 1.125rem; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
input { border: 0; min-width: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
button, a, input { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5086a4; outline-offset: 4px; }
::selection { background: #e8c9d0; color: #1b3043; }

.wrap { width: min(1380px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 8px; transform: translateY(-150%); padding: 12px 20px; background: var(--blue); color: #fff; }
.skip-link:focus { transform: none; }
.ui-icon { width: 26px; height: 26px; flex: none; object-fit: contain; filter: brightness(0) saturate(100%) invert(20%) sepia(16%) saturate(1465%) hue-rotate(163deg) brightness(92%) contrast(92%); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 4px; font-size: 1rem; font-weight: 600; line-height: 1.4; text-align: center; transition: background .18s, color .18s; }
.button--primary { background: var(--burgundy); color: #fff; }
.button--primary:hover { background: var(--burgundy-hover); }
.button--navy { background: var(--blue); color: #fff; }
.button--navy:hover { background: #102f46; }
.button--navy .ui-icon, .button--primary .ui-icon { filter: brightness(0) invert(1); width: 24px; height: 24px; }
.button--soft { background: var(--soft-blue); }
.button--soft:hover { background: #e1e8ed; }
.icon-button { display: inline-grid; width: 44px; height: 48px; place-items: center; flex: none; border-radius: 4px; }
.icon-button:hover { background: var(--soft-blue); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1rem; font-weight: 500; color: var(--blue); line-height: 1.45; }
.text-link:hover { color: var(--burgundy); }
.phone-link { font-weight: 600; white-space: nowrap; }
.phone-link:hover { color: var(--burgundy); }

/* Header: complete institutional functions, readable navigation. */
.site-header { position: relative; z-index: 5; background: #fff; }
.service-bar { background: var(--soft); font-size: .875rem; }
.service-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.institution-label { color: var(--muted); font-size: .875rem; }
.service-links { display: flex; align-items: center; gap: 22px; }
.service-links > a { display: flex; align-items: center; min-height: 36px; }
.service-links a:hover { color: var(--burgundy); }
.languages { display: flex; gap: 12px; font-size: .875rem; font-weight: 600; }
.languages a { color: var(--muted); }
.social-menu { position: relative; }
.social-menu summary { display: flex; align-items: center; gap: 7px; min-height: 36px; }
.social-menu .ui-icon { width: 16px; height: 16px; }
.social-menu ul { position: absolute; right: 0; top: 100%; width: 230px; padding: 8px; background: #fff; box-shadow: 0 12px 40px #193e591a; z-index: 8; }
.social-menu li a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 1rem; }
.social-menu li a:hover { background: var(--soft); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 110px; padding-block: 20px; }
.brand-group { display: flex; align-items: center; gap: 22px; flex: none; }
.identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-crest { width: 48px; height: 60px; object-fit: contain; background: var(--blue); padding: 4px; border-radius: 3px; flex: none; }
.identity > span { display: block; min-width: 0; }
.identity strong { display: block; font-size: 1.375rem; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.identity small { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.header-award { display: flex; align-items: center; gap: 10px; font-size: .8125rem; line-height: 1.4; }
.header-award img { width: 46px; height: 53px; object-fit: contain; flex: none; }
.header-award:hover { color: var(--burgundy); }
.header-phone { display: grid; gap: 4px; flex: none; }
.header-phone > span { color: var(--muted); font-size: .8125rem; }
.header-phone .phone-link { color: var(--burgundy); font-size: 1.25rem; }
.masthead-actions { display: flex; align-items: center; gap: 10px; }
.account { padding-inline: 18px; }
.type-toggle[aria-pressed=true] { background: var(--soft-blue); }
.mobile-menu-toggle { display: none; }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; }
.all-sections { display: grid; place-items: center; width: 36px; height: 48px; flex: none; }
.all-sections .ui-icon { width: 28px; height: 28px; }
.nav-group summary { display: flex; align-items: center; gap: 7px; padding-block: 18px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.nav-group summary > .ui-icon { width: 16px; height: 16px; }
.nav-group summary:hover, .nav-group[open] summary { color: var(--burgundy); }
.nav-group[open] summary > .ui-icon { transform: rotate(180deg); }
.nav-contact { font-size: 1.0625rem; font-weight: 600; padding-block: 18px; }
.nav-contact:hover { color: var(--burgundy); }
.nav-panel { position: absolute; top: 100%; left: 0; right: 0; padding: 28px 32px 32px; background: #fff; box-shadow: 0 18px 35px #183e591a; max-height: min(650px, calc(100dvh - 200px)); overflow: auto; }
.nav-panel-title { display: block; margin-bottom: 20px; font-size: 1.5rem; font-weight: 600; }
.nav-panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 26px; }
.nav-panel a { display: flex; align-items: center; min-height: 46px; padding: 8px 12px; font-size: 1.0625rem; line-height: 1.5; }
.nav-panel a:hover { background: var(--soft); color: var(--burgundy); }

/* Hero: the institution and clinic lead; founder has a quarter-width column. */
.hero { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .36fr); gap: 24px; }
.hero-feature { display: grid; grid-template-columns: 1fr; align-content: start; gap: 22px; min-width: 0; }
.hero-intro { min-width: 0; }
.hero-intro h1 { font-size: 3rem; font-weight: 650; line-height: 1.06; letter-spacing: -.045em; }
.hero-intro h1 br { display: none; }
.hero-intro > p { max-width: 760px; margin-top: 16px; font-size: 1.125rem; line-height: 1.55; color: var(--body); }
.hero-building { min-width: 0; }
.hero-building img { width: 100%; height: clamp(290px, 25vw, 380px); object-fit: cover; object-position: center; }
.hero-building figcaption { font-size: 1rem; line-height: 1.45; color: var(--muted); margin-top: 12px; }
.founder-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px; background: var(--burgundy); color: #fff; }
.founder-person { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.founder-portrait { width: 68px; height: 86px; flex: none; object-fit: cover; object-position: center 20%; }
.founder-name { font-size: 1.125rem; font-weight: 400; line-height: 1.35; }
.founder-name strong { font-size: 1.375rem; font-weight: 600; }
.founder-role { margin-top: 9px; font-size: 1rem; line-height: 1.4; color: #f6e8ed; }
.founder-card blockquote { font-size: 1.125rem; line-height: 1.5; font-weight: 400; }
.founder-link { margin-top: auto; padding-top: 20px; font-size: 1rem; line-height: 1.45; font-weight: 500; min-height: 44px; }
.founder-link:hover { color: #f4d7df; }
.founder-card :focus-visible { outline-color: #fff; }
.patient-tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.task-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; background: var(--soft); padding: 22px 24px; transition: background .18s; }
.task-card:hover { background: #e7edf0; }
.task-card h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.task-card p { margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--body); }
.task-card:hover h2 { color: var(--burgundy); }

/* Main content. Body 18 px, links and supporting copy 16 px. */
.section { padding-block: 48px; }
.section h2 { font-size: 2.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.section h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.eyebrow { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.section-head .eyebrow { margin-bottom: 10px; }
.about-section { padding-top: 56px; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.about-layout > * { min-width: 0; }
.about-copy { padding: 32px; background: var(--soft); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p { font-size: 1.125rem; line-height: 1.6; color: var(--body); }
.about-copy > p + p { margin-top: 16px; }
.about-links { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 20px; }
.centre-carousel { min-width: 0; }
.centre-slide { width: 100%; height: 350px; object-fit: cover; object-position: center; background: var(--soft); }
.centre-carousel figcaption { font-size: 1rem; color: var(--muted); line-height: 1.45; margin-top: 12px; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.carousel-dots { display: flex; align-items: center; gap: 3px; }
.carousel-dot { width: 28px; height: 44px; display: grid; place-items: center; }
.carousel-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c2ccd3; }
.carousel-dot[aria-pressed=true]::before { background: var(--burgundy); width: 9px; height: 9px; }
.carousel-step { display: flex; align-items: center; gap: 18px; font-size: 1rem; color: var(--muted); }
.carousel-step button { min-height: 44px; font-size: 1rem; font-weight: 500; color: var(--blue); }
.carousel-step button:hover { color: var(--burgundy); }
.treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.treatment-grid li { min-width: 0; }
.treatment-grid a { display: flex; align-items: flex-start; flex-direction: column; height: 100%; min-height: 160px; padding: 28px; background: var(--soft); transition: background .18s; }
.treatment-grid p { font-size: 1.125rem; color: var(--body); line-height: 1.5; margin-top: 13px; }
.treatment-grid a:hover { background: var(--soft-blue); }
.treatment-grid a:hover h3 { color: var(--burgundy); }
.help-section { background: var(--soft); margin-block: 28px; }
.help-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
.help-layout > * { min-width: 0; }
.help-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.help-tabs button { text-align: left; padding: 17px 20px; min-height: 58px; font-size: 1.125rem; line-height: 1.4; font-weight: 500; }
.help-tabs button[aria-selected=true] { background: var(--blue); color: #fff; }
.help-tabs button:hover:not([aria-selected=true]) { background: #e7ecef; }
.help-description { font-size: 1.125rem; line-height: 1.55; color: var(--body); max-width: 760px; margin: 3px 0 22px; }
.help-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.help-links a { display: flex; align-items: center; min-height: 72px; padding: 17px 22px; background: #fff; font-size: 1.0625rem; line-height: 1.45; font-weight: 500; height: 100%; }
.help-links a:hover { color: var(--burgundy); background: #ecf0f3; }
.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.doctor-card { background: var(--soft); min-width: 0; }
.doctor-card a { display: block; height: 100%; }
.doctor-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 28%; background: #e7ebee; }
.doctor-copy { padding: 25px 26px 28px; }
.doctor-copy p { margin-top: 16px; font-size: 1.125rem; line-height: 1.5; color: var(--body); }
.doctor-copy > span { display: block; margin-top: 12px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.doctor-card:hover h3 { color: var(--burgundy); }
.media-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.media-tabs button { padding: 12px 20px; font-size: 1.0625rem; font-weight: 500; min-height: 48px; line-height: 1.35; }
.media-tabs button[aria-selected=true] { background: var(--blue); color: #fff; }
.media-tabs button:hover:not([aria-selected=true]) { background: var(--soft); }
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story a { display: flex; flex-direction: column; height: 100%; background: var(--soft); }
.story-photo { position: relative; }
.story-photo > img { width: 100%; height: 230px; object-fit: cover; }
.story-copy { padding: 24px 26px 28px; }
.story-date { font-size: 1rem; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }
.story a:hover h3 { color: var(--burgundy); }
.archive-link { margin-top: 20px; }
.play-button { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 50px; height: 50px; background: var(--blue); border-radius: 50%; }
.play-button .ui-icon { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.academic-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.education-feature { min-width: 0; }
.education-feature img { width: 100%; height: 340px; object-fit: cover; object-position: center 40%; }
.education-feature h3 { font-size: 1.625rem; margin-top: 22px; }
.education-feature > a:hover h3 { color: var(--burgundy); }
.education-links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin-top: 16px; }
.education-links a { display: flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 500; }
.education-links a:hover { color: var(--burgundy); }
.academic-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.academic-topic { padding: 28px 26px; background: var(--soft); min-width: 0; }
.academic-topic > p { margin-top: 16px; font-size: 1.125rem; line-height: 1.55; color: var(--body); }
.academic-topic ul { display: grid; gap: 17px; margin-top: 26px; }
.academic-topic li a { display: block; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; }
.academic-topic a:hover { color: var(--burgundy); }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.research-grid li { min-width: 0; }
.research-grid a { display: flex; align-items: flex-start; flex-direction: column; height: 100%; padding: 28px; background: var(--soft); transition: background .18s; }
.publication-label { font-size: 1rem; color: var(--muted); line-height: 1.45; margin-bottom: 18px; }
.research-grid h3 { font-size: 1.3125rem; line-height: 1.45; font-weight: 500; }
.publication-author { display: block; padding-top: 26px; margin-top: auto; font-size: 1rem; color: var(--burgundy); font-weight: 500; }
.research-grid a:hover { background: var(--soft-blue); }
.research-grid a:hover h3 { color: var(--burgundy); }
.journal-strip { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 30px; align-items: center; margin-top: 28px; padding: 30px; background: var(--soft); }
.journal { display: flex; align-items: center; gap: 24px; min-width: 0; }
.journal > img { width: 80px; height: 110px; object-fit: contain; flex: none; }
.journal > span { font-size: 1.0625rem; line-height: 1.5; }
.journal:hover { color: var(--burgundy); }
.life-grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 20px; }
.life-photo { display: block; background: var(--soft); }
.life-photo img { width: 100%; height: 270px; object-fit: cover; }
.life-photo h3 { padding: 24px 26px; }
.life-photo:hover h3 { color: var(--burgundy); }
.award-feature { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; background: var(--soft); }
.award-feature img { width: 100px; height: 110px; object-fit: contain; margin-bottom: 22px; }
.award-feature h3 { font-size: 1.375rem; }
.award-feature p { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.award-feature:hover h3 { color: var(--burgundy); }
.contacts-section { background: var(--soft); margin-top: 24px; }
.contacts-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; }
.contacts-layout > * { min-width: 0; }
.contact-main h3 { font-size: 1.625rem; line-height: 1.4; }
.contact-main .phone-link { display: block; font-size: 1.625rem; margin-top: 24px; color: var(--burgundy); }
.contact-main > p { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.contact-main > .button { margin-top: 24px; }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.branch-title { font-size: 1.125rem; font-weight: 600; line-height: 1.4; display: inline-block; }
.branch-title:hover { color: var(--burgundy); }
.branch-address { font-size: 1rem; color: var(--body); margin-top: 12px; line-height: 1.5; }
.branch-hours { display: grid; gap: 5px; font-size: 1rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.site-footer { background: #eaf0f3; padding-block: 44px 30px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr .8fr; gap: 32px; }
.site-footer .identity { align-self: start; }
.site-footer .identity strong { font-size: 1.25rem; }
.site-footer .identity small { font-size: .8125rem; }
.footer-group { min-width: 0; }
.footer-group h2 { font-size: 1.125rem; line-height: 1.4; margin-bottom: 22px; font-weight: 600; }
.footer-group a { font-size: 1rem; line-height: 1.5; }
.footer-group a:hover { color: var(--burgundy); }
.footer-group li + li { margin-top: 14px; }
.footer-bottom { display: grid; gap: 18px; margin-top: 40px; color: var(--muted); }
.footer-bottom p:first-child { font-size: 1rem; }
.footer-bottom p:last-child { font-size: .875rem; line-height: 1.5; max-width: 940px; }
.mobile-actions { display: none; }

/* Modal interfaces. */
.site-dialog { border: 0; width: min(1160px, calc(100% - 64px)); max-height: calc(100dvh - 48px); padding: 30px 36px; color: var(--ink); background: #fff; overflow: auto; }
.site-dialog::backdrop { background: #102f48b8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dialog-head h2 { font-size: 1.875rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.dialog-head form { flex: none; }
.search-dialog { width: min(850px, calc(100% - 48px)); }
.search-form { display: flex; gap: 12px; }
.search-form input[type=search] { min-height: 58px; flex: 1; background: var(--soft); padding: 16px 20px; font-size: 1.125rem; }
.search-form > .button { min-width: 120px; }
.search-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; font-size: 1.0625rem; }
.search-shortcuts a { min-height: 40px; display: flex; align-items: center; }
.search-shortcuts a:hover { color: var(--burgundy); }
.all-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.menu-section { min-width: 0; }
.menu-section summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.375rem; font-weight: 600; line-height: 1.4; margin-bottom: 18px; }
.menu-section summary .ui-icon { display: none; }
.all-menu-grid a { display: block; font-size: 1.0625rem; line-height: 1.5; min-height: 38px; padding-block: 5px; }
.all-menu-grid a:hover { color: var(--burgundy); }
.all-menu-grid li + li { margin-top: 5px; }
.menu-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 36px; padding: 22px; background: var(--soft); font-size: 1rem; }
.menu-contact a { display: flex; align-items: center; min-height: 40px; }
.menu-contact a:hover { color: var(--burgundy); }
.gallery { width: min(1160px, calc(100% - 48px)); }
.gallery figure > img { width: 100%; max-height: min(65dvh, 650px); object-fit: contain; background: var(--soft); }
.gallery figcaption { font-size: 1.0625rem; margin-top: 16px; line-height: 1.5; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 1rem; }

@media (min-width:1500px) {
  .hero-intro h1 { font-size: 3.5rem; }
  .hero-building img { height: 380px; }
}

@media (max-width:1190px) {
  .wrap { width: calc(100% - 48px); }
  .institution-label { display: none; }
  .service-inner { justify-content: flex-end; }
  .masthead { flex-wrap: wrap; gap: 18px; }
  .header-phone { margin-left: auto; }
  .masthead-actions { width: 100%; justify-content: flex-end; }
  .header-award { font-size: .875rem; }
  .hero-feature { grid-template-columns: 1fr; gap: 22px; }
  .hero-intro h1 { font-size: 3rem; }
  .hero-intro h1 br { display: none; }
  .hero-intro > p { margin-top: 18px; max-width: 650px; }
  .hero-building img { height: 260px; }
  .hero-main { align-items: start; }
  .founder-card { align-self: stretch; }
  .patient-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-card { padding: 22px 26px; }
  .about-layout { gap: 28px; grid-template-columns: 1fr 1.1fr; }
  .academic-layout { grid-template-columns: 1fr; }
  .education-feature img { height: 390px; }
  .education-feature h3 { max-width: none; }
  .journal-strip { grid-template-columns: 1fr 1fr; }
  .journal-strip > h3 { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 44px; }
  .footer-top > .identity { grid-column: 1 / -1; }
}

@media (max-width:900px) {
  .wrap { width: calc(100% - 36px); }
  .service-links { width: 100%; justify-content: space-between; gap: 14px; }
  .rss-link { display: none !important; }
  .masthead { min-height: 0; padding-block: 20px 14px; gap: 14px 10px; }
  .brand-group { width: 100%; justify-content: space-between; gap: 18px; }
  .identity strong { font-size: 1.5rem; }
  .identity small { font-size: .875rem; }
  .header-award span { font-size: 1rem; }
  .header-phone { margin: 0; }
  .header-phone > span { display: none; }
  .header-phone .phone-link { font-size: 1.125rem; }
  .masthead-actions { width: auto; margin-left: auto; gap: 6px; }
  .header-booking, .account, .nav-shell { display: none; }
  .mobile-menu-toggle { display: inline-grid; }
  .masthead-actions .ui-icon { width: 28px; height: 28px; }
  .hero-main { grid-template-columns: 1fr; gap: 22px; }
  .hero-feature { grid-template-columns: .85fr 1.15fr; gap: 24px; }
  .hero-intro h1 { font-size: 3rem; }
  .hero-intro h1 br { display: initial; }
  .hero-building img { height: 280px; }
  .founder-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 28px; }
  .founder-person { grid-row: 1 / 3; margin: 0; align-self: start; }
  .founder-portrait { width: 76px; height: 96px; }
  .founder-link { grid-column: 2; margin: 0; padding-top: 16px; }
  .section { padding-block: 40px; }
  .section h2 { font-size: 2rem; }
  .section-head { flex-wrap: wrap; align-items: flex-start; gap: 14px 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { padding: 30px; }
  .centre-slide { height: 360px; }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-layout { grid-template-columns: 1fr; gap: 24px; }
  .help-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-tabs button { padding: 15px; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-card a { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
  .doctor-card img { height: 100%; min-height: 260px; aspect-ratio: auto; }
  .stories-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-photo > img { height: 310px; }
  .story-copy { padding: 26px; }
  .research-grid { grid-template-columns: 1fr; gap: 16px; }
  .life-grid { grid-template-columns: 1fr 1fr; }
  .life-photo img { height: 230px; }
  .award-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 100px 1fr; gap: 14px 28px; text-align: left; }
  .award-feature img { grid-row: 1 / 3; margin: 0; }
  .award-feature p { margin: 0; }
  .contacts-layout { grid-template-columns: 1fr; gap: 36px; }
  .branch-grid { gap: 30px; }
  .site-footer { padding-bottom: 110px; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; position: fixed; bottom: 0; inset-inline: 0; z-index: 10; background: #fff; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 25px #13364b0d; }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: var(--soft-blue); font-size: 1rem; font-weight: 500; border-radius: 4px; }
  .mobile-actions a:last-child { background: var(--burgundy); color: #fff; }
  .mobile-actions .ui-icon { width: 24px; height: 24px; }
  .mobile-actions a:last-child .ui-icon { filter: brightness(0) invert(1); }
  .site-dialog { width: calc(100% - 28px); padding: 24px; max-height: calc(100dvh - 28px); }
  .all-menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .menu-section { background: var(--soft); }
  .menu-section summary { font-size: 1.25rem; min-height: 62px; margin: 0; padding: 17px 20px; }
  .menu-section summary .ui-icon { display: block; width: 22px; height: 22px; }
  .menu-section[open] summary .ui-icon { transform: rotate(180deg); }
  .menu-section ul { padding: 0 20px 18px; }
  .all-menu-grid a { font-size: 1.125rem; }
  .all-menu .dialog-head { position: sticky; top: -24px; z-index: 2; background: #fff; padding-block: 12px; margin-top: -12px; }
  .menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
}

@media (max-width:600px) {
  .service-bar { font-size: .875rem; }
  .service-links { gap: 10px; }
  .social-menu summary { gap: 4px; }
  .languages { gap: 10px; }
  .masthead { padding-block: 18px 12px; }
  .identity strong { font-size: 1.375rem; }
  .brand-crest { width: 44px; height: 56px; }
  .header-award img { width: 42px; height: 48px; }
  .header-award span { display: none; }
  .hero { gap: 18px; margin-top: 20px; }
  .hero-main { display: contents; }
  .hero-feature { order: 0; grid-template-columns: 1fr; gap: 24px; }
  .hero-intro h1 { font-size: 2.625rem; }
  .hero-intro h1 br { display: none; }
  .hero-intro > p { font-size: 1.125rem; margin-top: 18px; }
  .hero-building img { height: 250px; }
  .hero-building figcaption { font-size: 1rem; }
  .patient-tasks { order: 1; gap: 12px; }
  .task-card { padding: 20px; }
  .task-card h2 { font-size: 1.25rem; }
  .founder-card { order: 2; display: flex; padding: 26px; }
  .founder-person { margin-bottom: 22px; gap: 20px; }
  .founder-name { font-size: 1.25rem; }
  .founder-name strong { font-size: 1.5rem; }
  .founder-role { font-size: 1rem; }
  .founder-portrait { width: 78px; height: 98px; }
  .founder-card blockquote { font-size: 1.125rem; line-height: 1.55; }
  .founder-link { font-size: 1rem; padding-top: 22px; }
  .section { padding-block: 34px; }
  .section h2 { font-size: 1.875rem; line-height: 1.25; }
  .section h3 { font-size: 1.375rem; }
  .section-head { margin-bottom: 24px; }
  .about-section { padding-top: 38px; }
  .about-copy { padding: 26px; }
  .about-copy h2 { margin-bottom: 20px; }
  .about-links { gap: 8px 24px; }
  .centre-slide { height: 260px; }
  .carousel-controls { gap: 0; }
  .carousel-dots { gap: 0; }
  .carousel-dot { width: 26px; }
  .carousel-step { width: 100%; justify-content: space-between; gap: 12px; }
  .treatment-grid { grid-template-columns: 1fr; gap: 14px; }
  .treatment-grid a { min-height: 0; padding: 26px; }
  .treatment-grid p { margin-top: 12px; }
  .help-tabs { grid-template-columns: 1fr; gap: 6px; }
  .help-tabs button { min-height: 52px; padding: 14px 18px; }
  .help-links { grid-template-columns: 1fr; }
  .help-links a { font-size: 1.125rem; min-height: 62px; padding: 16px 20px; }
  .doctor-card a { display: block; }
  .doctor-card img { height: auto; min-height: 0; aspect-ratio: 1; }
  .doctor-copy { padding: 26px; }
  .story-photo > img { height: 250px; }
  .media-tabs { gap: 4px; width: 100%; }
  .media-tabs button { padding: 12px 16px; }
  .academic-topics { grid-template-columns: 1fr; gap: 16px; }
  .academic-topic { padding: 26px; }
  .education-feature img { height: 260px; }
  .education-feature h3 { font-size: 1.625rem; }
  .research-grid a { padding: 26px; }
  .research-grid h3 { font-size: 1.3125rem; }
  .journal-strip { grid-template-columns: 1fr; padding: 26px; gap: 28px; }
  .journal-strip > h3 { grid-column: auto; }
  .life-grid { grid-template-columns: 1fr; gap: 20px; }
  .life-photo img { height: 260px; }
  .life-photo h3 { padding: 24px 26px; }
  .award-feature { grid-column: auto; padding: 26px; grid-template-columns: 82px minmax(0, 1fr); gap: 12px 22px; }
  .award-feature img { width: 80px; height: 90px; }
  .award-feature h3 { font-size: 1.25rem; }
  .contact-main h3, .contact-main .phone-link { font-size: 1.5rem; }
  .branch-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-top > .identity { grid-column: auto; }
  .footer-group h2 { margin-bottom: 16px; }
  .footer-bottom { margin-top: 32px; }
  .dialog-head h2 { font-size: 1.625rem; }
  .dialog-head { margin-bottom: 24px; gap: 12px; }
  .search-form { flex-wrap: wrap; }
  .search-form input[type=search] { width: 100%; flex-basis: 100%; padding-inline: 16px; }
  .search-form > .button { width: 100%; }
  .search-shortcuts { gap: 8px 22px; }
  .menu-contact { grid-template-columns: 1fr; }
  .gallery figcaption { font-size: 1rem; }
}

@media (max-width:420px) {
  .patient-tasks { grid-template-columns: 1fr; gap: 10px; }
  .task-card { min-height: 66px; padding: 19px 22px; justify-content: center; }
  .task-card h2 { font-size: 1.375rem; }
  .task-card p { display: none; }
  .mobile-actions { padding-inline: 14px; gap: 8px; }
  .mobile-actions a { font-size: 1rem; gap: 8px; }
  .mobile-actions .ui-icon { width: 22px; height: 22px; }
}

@media (max-width:380px) {
  .wrap { width: calc(100% - 28px); }
  .identity strong { font-size: 1.25rem; max-width: 170px; }
  .identity small { font-size: .8125rem; }
  .identity { gap: 10px; }
  .brand-group { gap: 10px; }
  .brand-crest { width: 38px; height: 50px; }
  .header-award img { width: 36px; height: 44px; }
  .masthead-actions { gap: 0; }
  .masthead-actions .icon-button { width: 40px; }
  .header-phone .phone-link { font-size: 1rem; }
  .service-links { font-size: .8125rem; gap: 7px; }
  .languages { font-size: .8125rem; gap: 8px; }
  .hero-intro h1 { font-size: 2.375rem; }
  .hero-building img { height: 220px; }
  .founder-card { padding: 23px; }
  .founder-person { gap: 15px; }
  .founder-portrait { width: 64px; height: 82px; }
  .founder-name { font-size: 1.125rem; }
  .founder-name strong { font-size: 1.375rem; }
  .section h2 { font-size: 1.75rem; }
  .contact-main .phone-link { font-size: 1.375rem; }
  .site-dialog { padding: 20px; }
  .all-menu .dialog-head { top: -20px; }
  .mobile-actions a { font-size: .9375rem; }
  .mobile-actions a:last-child .ui-icon { display: none; }
  .journal { flex-direction: column; align-items: flex-start; gap: 16px; }
  .award-feature { display: flex; align-items: flex-start; gap: 16px; }
}

/* Enlarged reading mode preserves all functions and reflows dense content. */
.large-type { font-size: 20px; }
.large-type .masthead { flex-wrap: wrap; }
.large-type .brand-group { flex-wrap: wrap; }
.large-type .masthead-actions { flex-wrap: wrap; }
.large-type .site-nav { flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; }
.large-type .hero-main, .large-type .hero-feature { grid-template-columns: 1fr; }
.large-type .hero-building img { height: 320px; }
.large-type .hero-intro h1 { font-size: 2.5rem; }
.large-type .patient-tasks, .large-type .treatment-grid, .large-type .doctor-grid, .large-type .stories-grid, .large-type .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.large-type .about-layout, .large-type .academic-layout { grid-template-columns: 1fr; }
.large-type .academic-topics, .large-type .footer-top { grid-template-columns: 1fr 1fr; }
.large-type .contacts-layout { grid-template-columns: 1fr; }
.large-type .journal { flex-direction: column; align-items: flex-start; }
.large-type :is(h1, h2, h3, p, a, span) { overflow-wrap: anywhere; }
@media (max-width:900px) {
  .large-type .identity { flex: 1; }
  .large-type .brand-group { flex-wrap: nowrap; }
  .large-type .identity strong { font-size: 1rem; }
  .large-type .identity small { font-size: .7rem; }
  .large-type .header-phone { width: 100%; }
  .large-type .founder-card { display: flex; }
  .large-type .founder-person { margin-bottom: 20px; }
  .large-type .patient-tasks, .large-type .treatment-grid, .large-type .doctor-grid, .large-type .stories-grid, .large-type .research-grid, .large-type .academic-topics, .large-type .help-tabs, .large-type .help-links, .large-type .branch-grid, .large-type .footer-top { grid-template-columns: minmax(0, 1fr); }
  .large-type .doctor-card a { display: block; }
  .large-type .doctor-card img { height: auto; aspect-ratio: 1; }
  .large-type .hero-intro h1 { font-size: 2rem; letter-spacing: -.045em; }
  .large-type .founder-name { font-size: 1rem; }
  .large-type .founder-name strong { font-size: 1.15rem; }
  .large-type .founder-role { font-size: .9rem; }
  .large-type .founder-portrait { width: 64px; height: 82px; }
  .large-type .founder-person { gap: 15px; }
}
@media (prefers-reduced-motion:reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
