/* Dr. Animesh Maiti — "The Academic Physician"
   Plain CSS, no framework. Breakpoints: 720px (tablet), 1024px (desktop nav), 1200px (wide). */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #102C3C;
  --teal: #087F79;
  --teal-dark: #066A65;
  --teal-deep: #065F5B;
  --teal-tint: #E4F2F1;
  --teal-hover: #E7F3F2;
  --white: #FFFFFF;
  --grey: #F3F6F8;
  --slate: #526571;
  --ink-2: #22404F;
  --ink-3: #3A5563;
  --brass: #A88B56;
  --brass-on-navy: #C9AE7C;
  --amber-ink: #7A4E0B;
  --amber-tint: #FBF3E4;
  --rule: #DCE3E8;
  --rule-strong: #C9D4DB;
  --control-border: #B7C4CC;
  --on-navy: #C5D2D9;
  --on-navy-strong: #E3EAEE;
  --on-navy-link: #9EDFD8;
  --on-navy-rule: #2B4757;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --content: 1240px;
  --header-h: 76px;
  --radius: 8px;
  --radius-lg: 12px;
  --ease: 200ms ease;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: calc(var(--bar-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, dt, dd, li, address, figcaption { overflow-wrap: break-word; }
/* Single-column default for every grid: minmax(0, 1fr) lets long words wrap instead of widening the page (200% text zoom). */
.hero__grid, .about__grid, .section-head, .identity, .care__list, .clinic-feature, .clinic-row,
.research__top, .pub, .contact__grid, .footer__grid, .timeline__list { grid-template-columns: minmax(0, 1fr); }
svg { flex-shrink: 0; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--on-navy-link); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--navy); color: var(--white);
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; font-weight: 400; }

.eyebrow {
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal);
}
.dark .eyebrow { color: var(--on-navy-link); }

.h-section {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3rem); line-height: 1.1;
}
.h-section--xl { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.625rem); line-height: 1.06; }

.lede { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--slate); }
.small { font-size: 0.9375rem; line-height: 1.6; }

/* ---------- Review banner ---------- */
.review-banner {
  background: var(--amber-tint); color: var(--amber-ink);
  border-bottom: 1px solid #EBD9B5; font-size: 0.875rem; line-height: 1.5;
}
.review-banner .container { padding-block: 8px; display: flex; gap: 10px; align-items: center; }
.review-banner strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--control-border); font-weight: 600; }
.btn--secondary:hover { background: var(--grey); border-color: var(--navy); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--teal-deep); padding: 0 14px; }
.btn--ghost:hover { background: var(--teal-hover); text-decoration: underline; }

/* Labelled phone button: small label over the number */
.call {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 18px; border-radius: var(--radius);
  text-decoration: none; border: 1.5px solid var(--control-border);
  background: var(--white); color: var(--navy);
  transition: background-color var(--ease), border-color var(--ease);
}
.call:hover { background: var(--grey); border-color: var(--navy); color: var(--navy); }
.call svg { color: var(--teal); }
.call__text { display: flex; flex-direction: column; line-height: 1.25; }
.call__label { font-size: 0.84rem; font-weight: 600; color: var(--slate); }
.call__number { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.call--primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
.call--primary svg, .call--primary .call__label { color: var(--white); }
.call--primary .call__label { opacity: 0.95; }
.call--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.site-header__inner { min-height: var(--header-h); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 6px; }
@media (max-height: 520px) { .site-header { position: relative; } }
/* Set by site.js when enlarged text makes the header taller than a quarter of the screen */
.site-header.is-tall { position: relative; }

.wordmark { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; min-height: 44px; }
.wordmark:hover { color: var(--navy); }
.monogram {
  width: 44px; height: 44px; border: 1px solid var(--navy);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.04em;
}
.wordmark__text { display: flex; flex-direction: column; gap: 1px; }
.wordmark__name { font-family: var(--serif); font-size: 1.3125rem; font-weight: 500; line-height: 1.15; }
.wordmark__quals { font-size: 0.8125rem; font-weight: 600; color: var(--slate); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px; background: var(--white);
  border: 1.5px solid var(--control-border); border-radius: var(--radius);
  color: var(--navy); font: 700 0.9375rem var(--sans); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.site-nav__list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: flex; align-items: center; min-height: 56px;
  color: var(--navy); text-decoration: none; font-family: var(--serif); font-size: 1.375rem;
  border-bottom: 1px solid var(--rule);
}
.site-nav__link:hover { color: var(--teal); }
.site-nav__cta { margin-top: 24px; width: 100%; }
.site-nav__note { margin-top: 16px; }

/* Mobile/tablet: nav is a panel below the header (JS toggles it). Without JS it is simply shown. */
.js .site-nav { display: none; }
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--rule);
  padding: 8px var(--gutter) 28px;
  min-height: calc(100dvh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  box-shadow: 0 12px 24px rgba(16, 44, 60, 0.08);
}
html:not(.js) .site-nav { position: static; box-shadow: none; }
html:not(.js) .nav-toggle { display: none; }
.js .site-nav.is-open { display: block; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .wordmark__name { font-size: 1.4375rem; }
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav {
    display: block; position: static; padding: 0; border: 0; box-shadow: none;
    background: none; min-height: 0; max-height: none; overflow: visible;
  }
  .site-nav__list { flex-direction: row; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
  .site-nav__link {
    min-height: 44px; border: 0; font-family: var(--sans); font-size: 0.96875rem; font-weight: 600;
    position: relative;
  }
  .site-nav__link[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--teal);
  }
  .site-nav__cta { margin: 0; width: auto; }
  .site-nav__note { display: none; }
  .site-nav__item--mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 6vw, 96px) clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; gap: 28px; }
/* Phones: the portrait leads (identifies the doctor), cropped shorter so the name and actions stay close */
.hero__portrait { order: -1; }
.hero__portrait .portrait__frame { aspect-ratio: 16 / 10; }
.hero__portrait .portrait__frame img { object-position: 50% 8%; }
.hero .hero__portrait figcaption { display: none; }
.hero__name {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.25rem); line-height: 1.04; margin-top: 16px;
}
.hero__quals { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 700; }
.rule-brass { width: 56px; height: 2px; background: var(--brass); margin-block: 24px 22px; border: 0; }
.hero__post { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); line-height: 1.55; max-width: 36ch; }
.hero__tagline {
  margin-top: 14px; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3125rem, 1.1rem + 0.8vw, 1.5625rem); line-height: 1.4; color: var(--slate); max-width: 30ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__session { margin-top: 24px; color: var(--slate); font-size: 0.96875rem; max-width: 52ch; }
.hero__session strong { color: var(--navy); }

.portrait { display: flex; flex-direction: column; gap: 12px; }
.portrait__frame {
  position: relative; width: 100%; max-width: 470px; aspect-ratio: 470 / 407;
  background: #E9EFF2; border: 1px solid #D3DDE3; overflow: hidden;
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--slate); text-align: center; padding: 16px;
}
.portrait__placeholder .monogram { width: 68px; height: 68px; font-size: 1.5rem; border-color: #8FA2AE; color: var(--slate); }
.portrait__placeholder span { font-size: 0.875rem; font-weight: 600; line-height: 1.5; }
.portrait figcaption {
  width: 100%; max-width: 470px; display: flex; justify-content: space-between;
  font-size: 0.875rem; color: var(--slate); border-top: 1px solid var(--rule); padding-top: 10px;
}

@media (min-width: 720px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; column-gap: 40px; }
  .hero__portrait { order: 0; align-items: flex-end; }
  .hero__portrait .portrait__frame { aspect-ratio: 470 / 407; }
  .hero__portrait .portrait__frame img { object-position: 50% 30%; }
  .hero .hero__portrait figcaption { display: flex; }
}
@media (min-width: 1200px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .hero__text { grid-column: 1 / span 7; }
  .hero__portrait { grid-column: 8 / span 5; position: relative; }
  .portrait__frame::before { content: none; }
  .hero__portrait::before {
    content: ""; position: absolute; top: 22px; right: 484px; width: 1px; height: 120px; background: var(--brass);
  }
}

/* ---------- Identity rule ---------- */
.identity { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--rule); display: grid; }
.identity__item { padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.identity__item + .identity__item { border-top: 1px solid var(--rule); }
.identity__label { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.identity__value { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.35; }
@media (min-width: 720px) {
  .identity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity__item { padding: 24px 24px 24px 0; }
  .identity__item + .identity__item { border-top: 0; }
  .identity__item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .identity__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (min-width: 1200px) {
  .identity { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .identity__item { padding: 26px 28px; }
  .identity__item:first-child { padding-left: 0; }
  .identity__item:last-child { padding-right: 0; }
  .identity__item + .identity__item { border-left: 1px solid var(--rule); }
  .identity__item:nth-child(n + 3) { border-top: 0; }
  .identity__value { font-size: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--grey { background: var(--grey); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .section-head__title { grid-column: 1 / span 5; }
  .section-head__aside { grid-column: 7 / span 6; }
}

/* About */
.about__grid { display: grid; gap: 28px; }
.about__body { display: flex; flex-direction: column; gap: 20px; font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.7; color: var(--ink-2); }
.about__lead { font-family: var(--serif); font-size: clamp(1.3125rem, 1.15rem + 0.6vw, 1.5rem); line-height: 1.5; color: var(--navy); }
@media (min-width: 1200px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .about__grid .section-head__title { grid-column: 1 / span 4; }
  .about__body { grid-column: 6 / span 7; }
}

.timeline { margin-top: clamp(48px, 6vw, 72px); }
.timeline__heading { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 24px; }
.timeline__list { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--navy); display: grid; gap: 26px; }
.timeline__item { position: relative; display: flex; flex-direction: column; gap: 6px; }
.timeline__item::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--navy);
}
.timeline__item--current::before { background: var(--teal); border-color: var(--teal); width: 13px; height: 13px; left: -31px; }
.timeline__label { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.timeline__item--current .timeline__label { color: var(--teal-deep); font-weight: 700; }
.timeline__place { font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem); line-height: 1.35; }
@media (min-width: 1024px) {
  .timeline__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; padding: 0; border-left: 0; border-top: 1px solid var(--navy); }
  .timeline__item { padding-top: 26px; }
  .timeline__item::before { left: 0; top: -6px; }
  .timeline__item--current::before { left: 0; top: -7px; }
}

/* Areas of care */
.care__list { list-style: none; margin: 0; padding: 0; display: grid; }
.care__item { border-top: 1px solid var(--rule-strong); padding: 26px 0 34px; display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; }
.care__item:nth-child(-n + 1) { border-top-color: var(--navy); }
.care__num { font-family: var(--serif); font-size: 1.5rem; color: var(--teal); line-height: 1.25; }
.care__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem); font-weight: 500; line-height: 1.2; }
.care__text { margin-top: 10px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-3); }
.care__note { margin-top: 24px; color: var(--slate); }
@media (min-width: 720px) {
  .care__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
  .care__item:nth-child(-n + 2) { border-top-color: var(--navy); }
  .care__item { grid-template-columns: 64px 1fr; padding-bottom: 44px; }
  .care__num { font-size: 1.75rem; }
}

/* ---------- Clinics ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px;
  border-radius: 6px; font-size: 0.875rem; font-weight: 700; line-height: 1.3;
}
.chip--listed { background: var(--teal-tint); color: var(--teal-deep); }
.chip--confirm { background: var(--amber-tint); color: var(--amber-ink); }

.clinic-feature { border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); overflow: hidden; display: grid; }
.clinic-feature__main { padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.clinic-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.clinic-feature__area { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.clinic-feature__name { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 500; line-height: 1.15; }
.address { font-style: normal; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.schedule { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; border-top: 1px solid var(--rule); margin-top: 4px; }
.schedule dt, .schedule dd { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
.schedule dt { font-weight: 700; }
.schedule dd { margin: 0; }
.confirm-note { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; }
.confirm-note svg { color: var(--teal); }
.clinic-feature__contacts {
  background: var(--grey); border-top: 1px solid var(--rule);
  padding: clamp(20px, 4vw, 44px) clamp(20px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px;
}
.clinic-feature__contacts .call { width: 100%; }
.clinic-feature__contacts .btn--ghost { justify-content: flex-start; min-height: 48px; }
@media (min-width: 900px) {
  .clinic-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .clinic-feature__contacts { border-top: 0; border-left: 1px solid var(--rule); }
}

.clinic-list { margin-top: clamp(40px, 5vw, 56px); }
.clinic-list__head {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--navy);
}
.clinic-list__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem); font-weight: 500; }
.clinic-row { padding: 26px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 12px; }
.clinic-row__area { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.clinic-row__name { font-family: var(--serif); font-size: clamp(1.375rem, 1.25rem + 0.4vw, 1.5rem); font-weight: 500; line-height: 1.25; margin-top: 4px; }
.clinic-row .address { font-size: 1rem; }
.clinic-row__actions { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.clinic-row__actions .call { flex: 1 1 220px; }
@media (min-width: 720px) {
  .clinic-row__actions .call { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .clinic-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: 30px 0; }
  .clinic-row__id { grid-column: 1 / span 4; }
  .clinic-row .address { grid-column: 5 / span 3; }
  .clinic-row__actions { grid-column: 8 / span 5; justify-content: flex-end; }
}

.notice {
  margin-top: 32px; display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; background: var(--grey); border-radius: 10px;
  font-size: 1rem; line-height: 1.6; color: var(--ink-2);
}
.notice strong { color: var(--navy); }
.notice svg { margin-top: 2px; color: var(--navy); }

/* ---------- Research (dark) ---------- */
.dark { background: var(--navy); color: var(--white); }
/* Teal on the grey surfaces is 4.47:1 — use the deeper teal there to meet 4.5:1. */
.section--grey .eyebrow, .section--grey .care__num, .site-footer a { color: var(--teal-deep); }
.dark a { color: var(--on-navy-link); }
.dark a:hover { color: var(--white); }
.research__top { display: grid; gap: 40px; margin-bottom: clamp(48px, 6vw, 72px); }
.research__intro { display: flex; flex-direction: column; gap: 20px; }
.research__intro p { color: var(--on-navy); font-size: 1.0625rem; line-height: 1.7; }
.interests { border-top: 1px solid var(--brass); }
.interests__heading { margin: 20px 0 6px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy); }
.interests__list { list-style: none; margin: 0; padding: 0; }
.interests__list li { padding: 14px 0; font-family: var(--serif); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.45; }
.interests__list li + li { border-top: 1px solid var(--on-navy-rule); }
@media (min-width: 1024px) {
  .research__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .research__intro { grid-column: 1 / span 5; }
  .interests { grid-column: 7 / span 6; }
}

.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid #5C7482; }
.pub { padding: 28px 0; border-bottom: 1px solid var(--on-navy-rule); display: grid; gap: 10px; }
.pub:last-child { border-bottom: 0; }
.pub__year { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--brass-on-navy); }
.pub__year--pending { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--on-navy); line-height: 1.5; }
.pub__body { display: flex; flex-direction: column; gap: 8px; }
.pub__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem); font-weight: 500; line-height: 1.35; }
.pub__cite { font-size: 0.96875rem; line-height: 1.6; color: var(--on-navy); }
.pub__summary { font-size: 1rem; line-height: 1.6; color: var(--on-navy-strong); }
.pub__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 20px; }
.pub__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 0.96875rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
}
.pub__link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .pub { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 34px 0; }
  .pub__year { grid-column: 1 / span 2; font-size: 1.625rem; }
  .pub__body { grid-column: 3 / span 7; }
  .pub__links { grid-column: 10 / span 3; flex-direction: column; align-items: flex-start; }
}

/* Contact */
.contact__grid { display: grid; gap: 24px; }
.contact__body { display: flex; flex-direction: column; gap: 24px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .contact__grid .section-head__title { grid-column: 1 / span 5; }
  .contact__body { grid-column: 7 / span 6; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); border-top: 1px solid var(--rule); padding-block: 56px 32px; }
.footer__grid { display: grid; gap: 36px; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.footer__meta { margin-top: 6px; font-size: 0.9375rem; color: var(--slate); line-height: 1.6; }
.footer__heading { font-size: 0.875rem; font-weight: 700; margin-bottom: 4px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 0.96875rem; }
.footer__links a:hover { color: var(--teal); text-decoration: underline; }
.footer__privacy p { font-size: 0.9375rem; line-height: 1.65; color: var(--ink-3); }
.footer__privacy a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.footer__base {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: var(--slate);
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .footer__id { grid-column: 1 / span 4; }
  .footer__nav { grid-column: 6 / span 3; }
  .footer__privacy { grid-column: 9 / span 4; }
}

/* ---------- Mobile quick-action bar ---------- */
.quickbar { display: none; }
@media (max-width: 719.98px) {
  :root { --bar-h: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--rule-strong);
    box-shadow: 0 -4px 16px rgba(16, 44, 60, 0.08);
  }
  .quickbar .btn { min-height: 52px; padding: 0 10px; font-size: 0.96875rem; text-align: center; line-height: 1.2; }
  body.nav-open .quickbar { display: none; }
}

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding-block: clamp(48px, 8vw, 104px); }
.prose { max-width: 68ch; }
.prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.1; letter-spacing: -0.01em; margin-top: 14px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.3; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose .updated { margin-top: 16px; color: var(--slate); font-size: 0.9375rem; }
.page-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .quickbar, .review-banner, .skip-link, .hero__actions { display: none !important; }
  .dark { background: #fff; color: #000; }
  .dark a, a { color: #000; }
  body { padding: 0; }
}

/* Pending-date label keeps its small size at every breakpoint */
.pub__year.pub__year--pending { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--on-navy); line-height: 1.5; }

/* Narrow phones: drop the monogram, then the visible 'Menu' word, so the header stays on one line */
@media (max-width: 479.98px) {
  .wordmark .monogram { display: none; }
  .site-header__inner { gap: 8px 12px; }
}
@media (max-width: 359.98px) {
  .nav-toggle { padding: 0 11px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wordmark__quals { font-size: 0.75rem; }
}

/* Small laptops (1024–1199px): keep the desktop nav on one line */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .wordmark .monogram { display: none; }
  .site-nav__list { gap: 20px; }
  .site-nav__cta { padding: 0 16px; }
}
.h-section, .hero__name { hyphens: manual; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.breadcrumb ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.875rem; color: var(--slate); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--control-border); }
.breadcrumb a { color: var(--slate); display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb [aria-current="page"] { display: inline-flex; align-items: center; min-height: 44px; }
.page-title {
  margin-top: 14px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(2.375rem, 1.5rem + 3.4vw, 3.875rem); line-height: 1.06; max-width: 22ch;
}
.page-intro { margin-top: 18px; max-width: 62ch; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.page--tight { padding-block: clamp(32px, 5vw, 64px); }
.h-section--sm { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.more { margin-top: 32px; }
.dark .more__link { color: var(--on-navy-link); }
.more__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; color: var(--teal-deep); }
.more__link:hover { text-decoration: underline; }
.section--grey .more__link { color: var(--teal-deep); }
.about__side .portrait { align-items: flex-start; }
.about__side .portrait__frame { aspect-ratio: 470 / 407; }
.about__side .portrait figcaption { display: flex; }
@media (min-width: 1200px) {
  .about__side { grid-column: 1 / span 4; }
}
@media (min-width: 720px) and (max-width: 1199.98px) {
  .about__grid:has(.about__side) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; }
}
.topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.topic-list li { padding: 18px 0; border-bottom: 1px solid var(--rule-strong); font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem); line-height: 1.45; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--navy); }
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1200px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cta-band { display: grid; gap: 24px; align-items: center; }
.cta-band .lede { margin-top: 10px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card { border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.contact-card__name { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); font-weight: 500; line-height: 1.2; }
.contact-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.contact-card__actions .btn--ghost { justify-content: flex-start; }
.contact-note { margin-top: 28px; max-width: 70ch; }
.footer__base a { color: var(--teal-deep); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Portrait: transparent cut-out on a soft panel (v1.2) ---------- */
.portrait__frame { background: none; border: 0; overflow: visible; isolation: isolate; }
.portrait__frame::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: 14%;
  background: #E3ECEF; border-radius: 12px;
}
.portrait__frame::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-strong);
}
.portrait__frame img { position: relative; object-fit: contain; object-position: 50% 100%; }
/* Phones: shorter frame, head kept in view, shoulders run off the panel's lower edge */
.hero__portrait .portrait__frame { overflow: hidden; border-radius: 12px; }
.hero__portrait .portrait__frame img { object-fit: cover; object-position: 50% 0; }
@media (min-width: 720px) {
  .hero__portrait .portrait__frame { overflow: visible; border-radius: 0; }
  .hero__portrait .portrait__frame img { object-fit: contain; object-position: 50% 100%; }
}
.about__side .portrait__frame { overflow: visible; border-radius: 0; }
.about__side .portrait__frame img { object-fit: contain; object-position: 50% 100%; }
.about__side .hero__portrait::before { display: none; }
