/* ==========================================================================
   Lincoln Medicine — design system
   Palette aligned with the NYC Health + Hospitals family: navy, blue, teal,
   with the department logo's warm orange as a sparing accent.
   ========================================================================== */
:root {
  --navy: #1d4189;
  --navy-700: #16336d;
  --blue: #2a6ebb;
  --blue-600: #1f5aa0;
  --blue-50: #eaf2fb;
  --teal: #0b7373;
  --brand-blue: #1d4189;
  --teal-50: #e6f4f4;
  --orange: #f78e2e;
  --orange-50: #fdf3e3;
  --ink: #16243a;
  --ink-2: #425366;
  --muted: #5d6c7e;
  --line: #dde4ec;
  --surface: #f4f7fa;
  --surface-2: #e9eef4;
  --white: #ffffff;
  --success: #2f8f5b;

  --font-head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .08);
  --shadow: 0 6px 24px -8px rgba(11, 37, 69, .18);
  --shadow-lg: 0 20px 50px -20px rgba(11, 37, 69, .35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 700; color: var(--navy); background: var(--surface); }
tr:nth-child(even) td { background: #fbfcfd; }
blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--orange); color: var(--ink-2); font-size: 1.1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--wide { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; cursor: pointer; line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: var(--shadow); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--orange-50); color: var(--navy); }

/* ---------- announcement + header ---------- */
.announce { background: #0f2a5e; color: #fff; font-size: .93rem; }
.announce__inner { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; }
.announce p { margin: 0; }
.announce a { color: #ffd79a; font-weight: 600; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; box-shadow: 0 0 0 4px rgba(240,163,58,.25); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--navy); }
.brand__img { height: 48px; width: auto; border-radius: 6px; flex: none; }
.brand__dept { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); line-height: 1.2; max-width: 7.5rem; }
.brand--light .brand__dept { color: #fff; }
.brand--light .brand__img { border-radius: 0; height: 56px; }
@media (max-width: 480px) { .brand__img { height: 40px; } .brand__dept { font-size: .66rem; max-width: 7.2rem; letter-spacing: .1em; } }

.nav-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font: 600 .9rem var(--font-head); color: var(--navy); cursor: pointer; }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { display: inline-block; padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .97rem; }
.site-nav__link:hover, .site-nav__item.is-current > .site-nav__link { color: var(--blue-600); background: var(--blue-50); }
.site-nav__caret { width: 22px; height: 22px; border: 0; background: none; cursor: pointer; margin-left: -.35rem; position: relative; border-radius: 6px; }
.site-nav__caret::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.site-nav__caret[aria-expanded="true"]::after { transform: rotate(225deg); top: 9px; }
.site-nav__item--cta { margin-left: .5rem; }
.site-nav__item--contact { display: none; }

@media (min-width: 1024px) {
.submenu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50; }
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.site-nav__item.is-open > .submenu, .site-nav__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .site-nav__item.has-children:hover > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
}
.submenu__grid { display: grid; grid-template-columns: 230px 1fr; gap: 1.2rem; }
.submenu__grid--wide { min-width: 800px; }
.submenu__col { display: flex; flex-direction: column; gap: .6rem; padding-right: 1.2rem; border-right: 1px solid var(--line); }
.submenu__lead { display: block; text-decoration: none; padding: .7rem .8rem; border-radius: 10px; background: var(--surface); color: var(--navy); }
.submenu__lead:hover { background: var(--blue-50); }
.submenu__lead strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.submenu__lead span { display: block; font-size: .85rem; color: var(--muted); margin-top: .15rem; line-height: 1.35; }
.submenu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; align-content: start; }
.submenu__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.submenu__list a { display: block; padding: .4rem .6rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.submenu__list a:hover { background: var(--blue-50); color: var(--blue-600); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; background: #fff; }
  .site-nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 3rem; transform: translateX(100%); transition: transform .25s ease; }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav__link { flex: 1; padding: .9rem .25rem; font-size: 1.1rem; border-radius: 0; }
  .site-nav__link:hover, .site-nav__item.is-current > .site-nav__link { background: none; }
  .site-nav__caret { width: 44px; height: 44px; margin: 0; }
  .site-nav__caret::after { left: 18px; top: 16px; width: 9px; height: 9px; }
  .submenu { position: static; transform: none; min-width: 0; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 1rem; display: none; opacity: 1; visibility: visible; }
  .site-nav__item.is-open > .submenu, .site-nav__item:focus-within > .submenu { display: block; transform: none; left: auto; }
  .submenu { left: auto; }
  .submenu__grid, .submenu__grid--wide { grid-template-columns: 1fr; min-width: 0; gap: .6rem; }
  .submenu__col { border: 0; padding: 0; }
  .submenu__list--cols { grid-template-columns: 1fr; }
  .submenu__list a { white-space: normal; padding: .55rem .6rem; }
  .site-nav__item--cta { margin: 1rem 0 0; border: 0; }
  .site-nav__item--cta .btn { width: 100%; justify-content: center; }
  .site-nav__item--contact { display: flex; }
}

/* ---------- hero blocks ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.92) 0%, rgba(11,37,69,.78) 45%, rgba(11,37,69,.35) 100%); }
.hero__inner { position: relative; padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange); border-radius: 2px; }
.hero .eyebrow { color: #ffd79a; }

.page-hero { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.8rem, 4vw, 3rem); display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.page-hero--with-media .page-hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.page-hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 62ch; margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs span { margin: 0 .4rem; }
@media (max-width: 860px) { .page-hero--with-media .page-hero__inner { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--tight { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__head p { color: var(--ink-2); max-width: 60ch; margin: .25rem 0 0; }
.section__head h2 { margin: 0; }
.section__link { font-family: var(--font-head); font-weight: 700; text-decoration: none; white-space: nowrap; }
.section__link::after { content: " →"; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 1.4rem 1.5rem; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--blue); letter-spacing: -.02em; line-height: 1; }
.stat__label { color: var(--ink-2); margin-top: .4rem; font-size: .95rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d5e3; }
.card__media { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card__meta { font-size: .85rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.card__more { margin-top: auto; padding-top: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--blue-600); font-size: .95rem; }
.card__more::after { content: " →"; }
.card--accent { border-top: 4px solid var(--teal); }
.card--link { padding: 1.25rem 1.3rem; }
.card--link .card__title { font-size: 1.05rem; }

.tile { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.tile strong { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.tile span { color: var(--ink-2); font-size: .93rem; line-height: 1.45; }

/* ---------- people ---------- */
.people { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.person { text-align: center; padding: 1.25rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person__photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center top; margin: 0 auto .8rem; background: var(--surface-2); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.person__initials { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto .8rem; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--teal-50)); color: var(--navy); font: 800 2rem var(--font-head); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.person__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.25; }
.person__title { color: var(--ink-2); font-size: .9rem; margin-top: .3rem; line-height: 1.4; }
.person__sub { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.person--sm .person__photo, .person--sm .person__initials { width: 96px; height: 96px; font-size: 1.5rem; }
.person--sm { padding: 1rem .75rem; }

.profile { display: grid; grid-template-columns: 180px 1fr; gap: 1.6rem; align-items: start; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.profile + .profile { margin-top: 1.25rem; }
.profile__photo { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--surface-2); }
.profile__name { margin: 0 0 .15rem; font-size: 1.35rem; }
.profile__title { color: var(--teal); font-family: var(--font-head); font-weight: 700; margin-bottom: .8rem; }
.profile__bio p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .profile { grid-template-columns: 1fr; } .profile__photo { width: 140px; } }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; padding-top: .2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); }
.prose li + li { margin-top: .3rem; }
.prose table { display: block; overflow-x: auto; }
.prose > :first-child { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.sidebar__box { background: var(--surface); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.sidebar__box h3 { font-size: 1rem; margin-bottom: .7rem; }
.sidebar__box ul { list-style: none; margin: 0; padding: 0; }
.sidebar__box li + li { border-top: 1px solid var(--line); }
.sidebar__box li a { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); font-size: .96rem; }
.sidebar__box li a:hover, .sidebar__box li.is-current a { color: var(--blue-600); font-weight: 600; }
.sidebar__box--cta { background: var(--navy); color: #fff; }
.sidebar__box--cta h3 { color: #fff; }
.sidebar__box--cta p { color: rgba(255,255,255,.85); font-size: .95rem; }
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0 2rem; }
.facts div { background: #fff; padding: .9rem 1rem; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-head); font-weight: 700; }
.facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--navy); }

.downloads { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.downloads a { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.downloads a:hover { border-color: var(--blue); color: var(--blue-600); }
.downloads a::before { content: "↓"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); font-weight: 700; flex: none; }

.callout { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.2rem 1.4rem; border-radius: var(--radius-lg); background: var(--orange-50); border: 1px solid #f6d9a8; margin: 1.5rem 0; }
.callout::before { content: "i"; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 800 1rem var(--font-head); }
.callout p { margin: 0; }

/* ---------- gallery ---------- */
.photo-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.photo-grid--lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--surface-2); border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo:hover img { transform: scale(1.05); }
.photo--wide { aspect-ratio: 4 / 3; }
.album { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.album__head h2, .album__head h3 { margin: 0; font-size: 1.3rem; }
.album__count { color: var(--muted); font-size: .9rem; }
.album[data-collapsed] .photo-grid .photo:nth-child(n + 13) { display: none; }
.album__more { margin-top: .8rem; }
.year-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.year-tabs a { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.year-tabs a:hover { border-color: var(--blue); color: var(--blue-600); }
.year-tabs li.is-current a { background: var(--navy); color: #fff; border-color: var(--navy); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,30,.94); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: .6rem; justify-items: center; }
.lightbox__figure img { max-height: calc(100vh - 7rem); max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: rgba(255,255,255,.85); font-size: .95rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }

/* ---------- misc components ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.testimonial::before { content: "“"; position: absolute; top: .4rem; right: 1.2rem; font: 800 5rem/1 var(--font-head); color: var(--blue-50); }
.testimonial__quote { font-size: 1.05rem; color: var(--ink); margin: 0; position: relative; }
.testimonial__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testimonial__who img, .testimonial__who .person__initials { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; font-size: 1rem; margin: 0; box-shadow: none; }
.testimonial__who strong { display: block; font-family: var(--font-head); color: var(--navy); }
.testimonial__who span { color: var(--muted); font-size: .9rem; }

.reasons { counter-reset: r; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.reason { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.reason::before { content: counter(r, decimal-leading-zero); font: 800 1.1rem var(--font-head); color: var(--orange); background: var(--orange-50); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.reason h3 { font-size: 1.05rem; margin: .2rem 0 .3rem; }
.reason p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.filterbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 0 1.5rem; }
.filterbar label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.filterbar select, .filterbar input { font: inherit; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 180px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.chip b { color: var(--navy); }
.tag { display: inline-block; padding: .2rem .6rem; border-radius: 6px; background: var(--teal-50); color: var(--teal); font: 700 .78rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }

.news-list { display: grid; gap: 1rem; }
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 1.4rem; align-items: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.news-item__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item time { font-size: .85rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.news-item h2, .news-item h3 { font-size: 1.3rem; margin: .25rem 0 .4rem; }
.news-item h2 a, .news-item h3 a { text-decoration: none; color: var(--navy); }
.news-item h2 a:hover, .news-item h3 a:hover { color: var(--blue-600); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

.article__images { display: grid; gap: 1rem; margin: 1.5rem 0; }
.article__images img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.article__meta { color: var(--muted); font-family: var(--font-head); font-weight: 600; margin-bottom: 1rem; }

.video { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; }
.map { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; }
.timeline b { font-family: var(--font-head); color: var(--blue); font-size: 1.1rem; }

.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #1b4a7a 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 600; }
.pagination span.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }

.site-footer { background: var(--brand-blue); color: rgba(255,255,255,.85); margin-top: clamp(3rem, 7vw, 6rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffd79a; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer__tag { margin: 1.2rem 0; max-width: 42ch; color: rgba(255,255,255,.75); }
.site-footer__address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.8); }
.site-footer__h { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: rgba(255,255,255,.6); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .announce, .site-footer, .nav-toggle, .cta-band, .lightbox { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- fixes ---------- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-content: start; }
.mosaic img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
.mosaic img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.card__media--placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: rgba(255,255,255,.9); }
.card__media--placeholder svg { width: 56px; height: 56px; opacity: .8; }
.hero__media img { object-position: center 40%; }
