@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f7fc;
  --surface: #fff;
  --surface-alt: #edf1fa;
  --ink: #17243c;
  --muted: #5b6981;
  --accent: #2458d6;
  --accent-hover: #1946b5;
  --accent-soft: #e9efff;
  --coral: #b64b3b;
  --coral-soft: #fff0eb;
  --line: #dce3ef;
  --shadow: 0 12px 40px rgba(29, 50, 94, .07);
  --header-bg: rgba(255, 255, 255, .94);
  --heading: "Manrope", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --header-h: 80px;
}
body.dark {
  color-scheme: dark;
  --bg: #101827;
  --surface: #172236;
  --surface-alt: #1c2a40;
  --ink: #edf2fc;
  --muted: #a6b4cd;
  --accent: #9dbaff;
  --accent-hover: #bfd1ff;
  --accent-soft: #233958;
  --coral: #ffb3a1;
  --coral-soft: #382c32;
  --line: #2d3c55;
  --shadow: 0 12px 40px rgba(0, 0, 0, .14);
  --header-bg: rgba(16, 24, 39, .95);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 var(--sans); }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.is-hidden { display: none !important; }
.center { display: flex; justify-content: center; margin-top: 32px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 20px; border-radius: 10px; transform: translateY(-160%); background: var(--accent); color: var(--surface); text-decoration: none; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 80; height: var(--header-h); padding-inline: max(32px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(18px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(20, 42, 86, .06); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; flex-shrink: 0; }
.brand__mark { display: grid; place-content: center; width: 44px; height: 44px; flex-shrink: 0; background: #2458d6; border-radius: 13px; color: #fff; text-align: center; font: 800 19px/1 var(--heading); letter-spacing: -.05em; }
.brand__mark span { margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: .18em; }
.brand__copy { display: grid; line-height: 1.4; }
.brand__copy strong { font: 800 16px var(--heading); letter-spacing: -.035em; }
.brand__copy strong > span { color: var(--coral); }
.brand__copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.nav { display: flex; gap: 3px; align-items: center; }
.nav a { padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav .nav__private { margin-left: 7px; color: var(--coral); }
.theme-toggle, .nav-toggle { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--ink); background: var(--surface); font-size: 11px; font-weight: 600; white-space: nowrap; }
.theme-toggle:hover, .nav-toggle:hover { background: var(--surface-alt); }
.nav-toggle { display: none; }

.hero { padding: 78px 0 74px; overflow: clip; }
.hero__layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 62px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px; padding: 7px 12px; background: var(--coral-soft); color: var(--coral); border-radius: 30px; font-size: 11px; font-weight: 600; }
.hero__badge > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 800 clamp(42px, 4.5vw, 66px)/1.12 var(--heading); letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lede { max-width: 420px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: var(--surface); box-shadow: 0 5px 12px rgba(36, 88, 214, .14); }
.button--primary:hover { background: var(--accent-hover); }
.button--primary > span { font-size: 18px; line-height: 1; }
.button--secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button--secondary:hover { border-color: var(--accent); }
.hero__note { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; color: var(--muted); font-size: 11px; }
.avatar-stack { display: flex; padding-left: 6px; }
.avatar-stack img { width: 31px; height: 31px; margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; object-fit: cover; }
.hero__visual { position: relative; min-width: 0; padding: 12px 0 66px; }
.hero__visual::before { content: ""; position: absolute; inset: -12px -16px 90px 20px; border: 1px solid var(--line); border-radius: 28px; transform: rotate(4deg); }
.hero__photo { position: relative; display: block; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-decoration: none; }
.hero__photo > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 15px; }
.hero__photo-caption { display: grid; gap: 4px; padding: 14px 12px 10px; }
.hero__photo-caption > span { color: var(--muted); font-size: 10px; }
.hero__photo-caption > strong { display: flex; justify-content: space-between; font-size: 13px; }
.hero__photo-caption strong > span { color: var(--accent); font-size: 18px; }
.hero__postcard { position: absolute; right: -12px; bottom: 0; width: 205px; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(5deg); }
.hero__postcard img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; }
.hero__postcard span { display: block; padding: 8px 3px 3px; color: var(--ink); font-size: 10px; }
.hero__stamp { position: absolute; bottom: 15px; left: 24px; color: var(--coral); font-size: 11px; line-height: 1.6; }
.hero__stamp strong { font: 800 25px var(--heading); letter-spacing: -.05em; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 0; margin-bottom: 30px; border-block: 1px solid var(--line); }
.numbers article { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 25px; border-right: 1px solid var(--line); }
.numbers article:last-child { border: 0; }
.numbers strong { color: var(--ink); font: 800 34px var(--heading); letter-spacing: -.05em; }
.numbers span { max-width: 100px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.section { padding: 86px 0; }
.section--paper { background: var(--surface); }
.section--dark { background: var(--bg); }
.section--mist { background: var(--surface-alt); }
.section--private { background: var(--bg); }
.section-heading { max-width: 700px; margin-bottom: 35px; }
.section-heading h2 { margin: 0; font: 800 clamp(29px, 3vw, 42px)/1.2 var(--heading); letter-spacing: -.05em; text-wrap: balance; }
.section-heading > p:last-child { max-width: 600px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-heading--split { display: grid; grid-template-columns: 1.2fr .8fr; max-width: none; gap: 70px; align-items: end; }
.section-heading--split > p { justify-self: end; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.chapter { position: relative; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s, border-color .2s; }
.chapter:hover { transform: translateY(-4px); border-color: var(--accent); }
.chapter__number { display: inline-grid; place-content: center; width: 39px; height: 39px; margin-bottom: 32px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.chapter:nth-child(even) .chapter__number { background: var(--coral-soft); color: var(--coral); }
.chapter p { margin: 0 0 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.chapter h3 { margin: 0 0 10px; font: 700 16px/1.4 var(--heading); letter-spacing: -.025em; }
.chapter a { text-decoration: none; }
.chapter a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.chapter a > span { margin-left: 3px; color: var(--accent); }
.chapter div > span { color: var(--muted); font-size: 12px; line-height: 1.8; }

.album-toolbar { margin-bottom: 24px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-chips button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 500; }
.filter-chips button:hover { border-color: var(--accent); color: var(--accent); }
.filter-chips button[aria-pressed="true"] { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.result-count { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.album-toolbar .result-count { margin: 0; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album-card { display: flex; flex-direction: column; min-width: 0; padding: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; text-align: left; transition: transform .22s, box-shadow .22s; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-card__image { position: relative; overflow: hidden; border-radius: 12px; }
.album-card__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .45s; }
.album-card:hover img { transform: scale(1.035); }
.album-card__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; background: rgba(13, 24, 45, .82); color: #fff; border-radius: 7px; font-size: 10px; backdrop-filter: blur(8px); }
.album-card__copy { display: flex; flex-direction: column; padding: 18px 12px 13px; }
.album-card__category { color: var(--accent); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.album-card__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 7px; font: 700 17px/1.4 var(--heading); letter-spacing: -.025em; }
.album-card__title > span { color: var(--accent); font-size: 20px; }
.album-card__description { margin-top: 7px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.text-button { min-height: 44px; padding: 10px 23px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); background: var(--surface); font-size: 12px; font-weight: 700; }
.text-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.quote-band { background: var(--accent-soft); padding: 56px 0; color: var(--ink); text-align: center; }
.quote-band p { max-width: 770px; margin: 0 auto; font: 600 clamp(23px, 3vw, 33px)/1.5 var(--heading); letter-spacing: -.035em; text-wrap: balance; }
.quote-band span { display: block; margin-top: 18px; color: var(--accent); font-size: 10px; letter-spacing: .06em; }

.classroom-toolbar, .directory-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.search-field { display: grid; gap: 8px; width: min(100%, 560px); color: var(--ink); font-size: 11px; font-weight: 600; }
.search-field input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 11px; padding: 13px 16px 13px 43px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2374839c' stroke-width='1.7'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") 15px center no-repeat; color: var(--ink); font-size: 13px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.search-field input:focus { border-color: var(--accent); }
.classroom-tabs { display: flex; flex-shrink: 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.classroom-tabs button { min-height: 38px; padding: 8px 18px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.classroom-tabs button.is-active { background: var(--surface); color: var(--accent); box-shadow: 0 2px 5px rgba(22, 42, 82, .08); }
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.speaker-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.speaker-card > span { display: inline-block; padding: 5px 8px; background: var(--accent-soft); border-radius: 6px; color: var(--accent); font-size: 10px; font-weight: 600; }
.speaker-card h3 { margin: 20px 0 7px; font: 700 16px/1.5 var(--heading); letter-spacing: -.02em; }
.speaker-card p { margin: 0; color: var(--muted); font-size: 12px; }
.speaker-card strong { display: block; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; }
.session-list { display: grid; gap: 10px; }
.session-row { display: grid; grid-template-columns: 110px 145px 1fr .9fr; align-items: start; gap: 22px; padding: 23px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.session-row span { color: var(--muted); font-size: 12px; }
.session-row strong { font-size: 13px; font-weight: 600; }
.empty-state { grid-column: 1/-1; padding: 38px 24px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--muted); background: var(--surface); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font: 700 16px var(--heading); }
.empty-state p { margin: 0; font-size: 13px; }

.sort-field { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 600; }
.sort-field select { min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 12px; }
.directory-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.reset-button { padding: 0 0 8px; min-height: 32px; background: none; border: 0; color: var(--accent); font-size: 12px; font-weight: 600; }
.officer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.officer-card { min-width: 0; padding: 7px 7px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.officer-card__photo { position: relative; aspect-ratio: 4/4.5; overflow: hidden; background: var(--accent-soft); border-radius: 10px; }
.officer-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.officer-card:hover img { transform: scale(1.025); }
.officer-card__initials { display: grid; place-content: center; width: 100%; height: 100%; color: var(--accent); background: var(--accent-soft); font: 600 40px var(--heading); }
.officer-card__photo span { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; color: #fff; background: rgba(18,35,66,.85); font-size: 9px; }
.officer-card h3 { margin: 14px 7px 0; font: 700 14px/1.55 var(--heading); overflow-wrap: anywhere; letter-spacing: -.02em; }
.officer-card p { margin: 4px 7px 0; color: var(--muted); font-size: 11px; }

.private-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.private-intro h2 { margin: 0; font: 800 clamp(30px, 3.4vw, 44px)/1.22 var(--heading); letter-spacing: -.05em; }
.private-intro > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.private-intro p.privacy-note { margin-top: 20px; padding: 14px 16px; background: var(--surface-alt); border-radius: 10px; font-size: 11px; line-height: 1.8; }
.private-intro ul { margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 12px; }
.private-intro li { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.private-intro li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-content: center; background: var(--accent-soft); color: var(--accent); border-radius: 50%; font-size: 10px; }
.vault { min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.vault__gate { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; }
.vault__mark { display: grid; place-content: center; width: 54px; height: 54px; border-radius: 16px; color: var(--accent); background: var(--accent-soft); font: 800 18px var(--heading); }
.vault h3 { margin: 21px 0 7px; font: 700 21px/1.4 var(--heading); letter-spacing: -.04em; }
.vault p { margin: 0; color: var(--muted); font-size: 12px; }
.vault label { width: 100%; display: grid; gap: 7px; margin: 19px 0; color: var(--ink); font-size: 11px; font-weight: 500; }
.vault input, .vault textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 9px; padding: 12px; background: var(--bg); color: var(--ink); font-weight: 400; }
.vault input:focus, .vault textarea:focus { border-color: var(--accent); }
.vault textarea { min-height: 105px; resize: vertical; }
.vault__gate .button { width: 100%; }
.vault small { min-height: 18px; margin-top: 12px; color: var(--coral); font-size: 11px; }
.vault__content { padding: 32px; }
.vault__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.vault__top span { color: var(--accent); font-size: 10px; }
.vault__top h3 { margin-top: 5px; }
.vault__top button { align-self: start; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 11px; }
.memory-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.memory-actions button { min-height: 36px; padding: 6px 0; border: 0; background: none; color: var(--accent); font-size: 11px; font-weight: 600; }
.memory-list { display: grid; gap: 10px; margin-top: 18px; }
.memory-entry { padding: 16px; border-radius: 10px; background: var(--bg); }
.memory-entry p { color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.memory-entry span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.footer { padding: 40px 0; background: var(--surface); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.3fr .8fr 1fr; align-items: start; gap: 50px; }
.footer__inner > div:first-child { display: flex; align-items: center; gap: 15px; }
.footer__inner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer__inner > div:nth-child(2) { display: grid; gap: 3px; font-size: 11px; }
.footer__inner > div:nth-child(2) span { color: var(--muted); }

.modal { width: min(1050px, calc(100% - 32px)); max-height: 90svh; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop, .lightbox::backdrop { background: rgba(8, 18, 36, .75); backdrop-filter: blur(7px); }
.modal__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal__bar p { margin: 0; color: var(--accent); font-size: 10px; }
.modal__bar h2 { margin: 4px 0 0; font: 700 24px var(--heading); letter-spacing: -.04em; }
.modal__bar button, .lightbox__close { min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); font-size: 12px; }
.modal__description { margin: 23px 28px; color: var(--muted); font-size: 13px; }
.modal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 28px 28px; }
.modal__grid button { padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--bg); cursor: zoom-in; }
.modal__grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.modal__grid button:hover img { transform: scale(1.03); }
.lightbox { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 24px; border: 0; background: #0d1627; color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 55px 1fr 55px; grid-template-rows: 46px minmax(0, 1fr) 35px; gap: 12px; align-items: center; }
.lightbox img { grid-column: 2; grid-row: 2; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 8px; }
.lightbox__close { grid-column: 2/4; justify-self: end; background: #1d2c45; border-color: #35435a; color: #fff; }
.lightbox__nav { width: 44px; height: 44px; border: 1px solid #35435a; border-radius: 50%; background: #1d2c45; color: #fff; font-size: 30px; line-height: 1; }
.lightbox__nav--prev { grid-column: 1; grid-row: 2; }
.lightbox__nav--next { grid-column: 3; grid-row: 2; }
.lightbox p { grid-column: 2; grid-row: 3; margin: 0; color: #b7c5de; text-align: center; font-size: 11px; }
.reveal { animation: revealIn .5s ease-out both; }
@keyframes revealIn { from { opacity: .6; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .site-header { gap: 12px; padding-inline: 24px; }
  .nav a { padding-inline: 8px; font-size: 11px; }
  .hero__layout { gap: 36px; }
  .hero h1 { font-size: 49px; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .chapter__number { margin-bottom: 20px; }
  .officer-grid { grid-template-columns: repeat(4, 1fr); }
  .private-shell { gap: 40px; }
}
@media (max-width: 880px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; order: 3; }
  .theme-toggle { margin-left: auto; }
  .nav { display: none; position: absolute; inset: calc(100% + 8px) 20px auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 15px; font-size: 13px; }
  .nav .nav__private { margin-left: 0; }
  .hero { padding-block: 50px; }
  .hero__layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 40px; }
  .hero__badge { margin-bottom: 20px; }
  .hero__lede { font-size: 14px; }
  .hero__postcard { width: 156px; right: 0; }
  .hero__postcard img { height: 62px; }
  .hero__stamp { left: 12px; }
  .numbers article { padding-inline: 15px; gap: 10px; }
  .numbers strong { font-size: 28px; }
  .section { padding-block: 65px; }
  .section-heading--split { gap: 30px; }
  .album-grid, .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .session-row { grid-template-columns: 100px 125px 1fr; gap: 16px; }
  .session-row > span:last-child { grid-column: 3; }
  .officer-grid { grid-template-columns: repeat(3, 1fr); }
  .private-shell { grid-template-columns: 1fr; }
  .private-intro { max-width: 620px; }
  .vault { width: 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__note { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-inline: 18px; gap: 9px; }
  .brand { gap: 8px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
  .brand__copy strong { font-size: 12px; }
  .brand__copy small { font-size: 8px; }
  .theme-toggle, .nav-toggle { padding-inline: 9px; font-size: 10px; }
  .hero { padding-top: 34px; padding-bottom: 40px; }
  .hero__layout { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: clamp(39px, 10.6vw, 60px); }
  .hero__lede { max-width: 380px; font-size: 15px; }
  .hero__note { font-size: 10px; }
  .hero__visual { padding-bottom: 65px; margin-inline: 4px; }
  .hero__visual::before { right: -5px; }
  .hero__postcard { width: 185px; right: 0; }
  .hero__postcard img { height: 70px; }
  .hero__stamp { left: 15px; }
  .numbers { grid-template-columns: repeat(2, 1fr); padding: 0; margin-bottom: 10px; }
  .numbers article { justify-content: start; padding: 20px 12px; border-bottom: 1px solid var(--line); }
  .numbers article:nth-child(2) { border-right: 0; }
  .numbers article:nth-child(3) { border-bottom: 0; }
  .numbers span { max-width: 105px; font-size: 10px; }
  .numbers strong { min-width: 45px; font-size: 29px; }
  .section { padding-block: 54px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 0; }
  .section-heading--split > p { justify-self: start; }
  .section-heading h2 { font-size: 31px; }
  .chapters { gap: 12px; }
  .chapter { padding: 17px; }
  .chapter__number { margin-bottom: 18px; width: 32px; height: 32px; border-radius: 9px; }
  .chapter h3 { font-size: 14px; }
  .chapter div > span { font-size: 11px; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 10px; }
  .filter-chips button { flex-shrink: 0; font-size: 11px; padding-inline: 13px; }
  .album-grid { grid-template-columns: 1fr; gap: 18px; }
  .album-card__image img { aspect-ratio: 16/9; }
  .quote-band { padding-block: 38px; }
  .quote-band p { font-size: 22px; }
  .classroom-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .classroom-tabs { align-self: start; }
  .search-field { width: 100%; }
  .search-field input { font-size: 16px; }
  .speaker-grid { grid-template-columns: 1fr; }
  .session-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; }
  .session-row strong, .session-row > span:last-child { grid-column: 1/-1; }
  .directory-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .sort-field { display: flex; align-items: center; justify-content: space-between; }
  .sort-field select { min-height: 40px; }
  .officer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .officer-card h3 { font-size: 13px; }
  .vault__gate, .vault__content { padding: 24px; }
  .private-shell { gap: 30px; }
  .footer__inner { grid-template-columns: 1fr; }
  .modal { width: calc(100% - 20px); border-radius: 16px; }
  .modal__bar { padding: 18px; }
  .modal__bar h2 { font-size: 20px; }
  .modal__description { margin-inline: 18px; }
  .modal__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 18px 18px; }
  .lightbox { padding: 12px; }
  .lightbox[open] { grid-template-columns: 35px 1fr 35px; gap: 6px; }
  .lightbox__nav { width: 34px; height: 42px; border-radius: 9px; }
}
@media (max-width: 370px) {
  .brand__copy small { display: none; }
  .brand__copy strong { max-width: 70px; font-size: 11px; }
  .site-header { gap: 6px; }
  .hero__actions { gap: 8px; }
  .button { padding-inline: 15px; }
  .chapters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
