/* ============ 디자인 기본값 ============ */
:root {
  --navy: #0b2e5e;
  --navy-deep: #071f42;
  --blue: #1e5bb8;
  --blue-soft: #e7eef9;
  --sky: #f3f7fc;
  --ink: #14243a;
  --body: #34465c;
  --muted: #5d6e83;
  --line: #dce4ee;
  --white: #ffffff;
  --radius: 4px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(11, 46, 94, .06), 0 8px 24px rgba(11, 46, 94, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ============ 공통 요소 ============ */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.section { padding: 112px 0; }
.section-tint { background: var(--sky); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  min-height: 40px; padding: 0 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  color: var(--body); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  background: var(--blue-soft); border-radius: 999px;
  color: var(--navy); font-size: 13px; font-weight: 600;
}

/* 스크롤 시 나타나기 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============ 헤더 ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11, 46, 94, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-text small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 16px;
  color: var(--ink); font-size: 16px; font-weight: 600;
}
.site-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.site-nav a:hover { text-decoration: none; color: var(--navy); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ============ 첫 화면 ============ */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 780px);
  min-height: min(calc(100svh - var(--header-h)), 780px);
  overflow: hidden;
  background: var(--navy);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 66, .86) 0%, rgba(7, 31, 66, .62) 42%, rgba(7, 31, 66, .08) 78%),
    linear-gradient(0deg, rgba(7, 31, 66, .35), transparent 40%);
}
.hero-content { position: relative; padding-top: 80px; padding-bottom: 96px; color: #fff; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 24px; padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
}
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 72px); font-weight: 700; line-height: 1.18; letter-spacing: -0.035em; }
.hero-lead { max-width: 560px; margin-top: 24px; color: rgba(255, 255, 255, .88); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ============ 숫자 ============ */
.stats { border-bottom: 1px solid var(--line); }
.stats-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-list li { padding: 44px 32px; text-align: center; }
.stats-list li + li { border-left: 1px solid var(--line); }
.stats-value { color: var(--navy); font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.stats-value small { margin-left: 4px; font-size: .42em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stats-label { margin-top: 8px; color: var(--muted); font-size: 15px; }
.stats-note { padding: 0 0 20px; color: #8796a8; font-size: 13px; text-align: center; }

/* ============ IB 소개 ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about-text h2 { font-size: clamp(30px, 3.4vw, 42px); }
.lead { margin-top: 20px; color: var(--muted); font-size: 18px; }
.feature-list { margin-top: 40px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature-num { flex: none; width: 36px; padding-top: 2px; color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.feature-list h3 { font-size: 19px; font-weight: 700; }
.feature-list p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ============ 여정 ============ */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.journey::before {
  content: ""; position: absolute; top: 9px; left: 10px; right: calc(25% - 28px);
  height: 2px; background: linear-gradient(90deg, var(--navy) 0 66.6%, var(--line) 66.6%);
}
.journey-item { position: relative; padding-top: 44px; }
.journey-dot {
  position: absolute; top: 0; left: 0;
  width: 20px; height: 20px;
  background: #fff; border: 5px solid var(--navy); border-radius: 50%;
}
.journey-item.upcoming .journey-dot { border-color: #b7c4d6; border-style: dashed; border-width: 3px; }
.journey-date { color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.journey-item.upcoming .journey-date { color: var(--muted); }
.journey-item h3 { margin-top: 6px; font-size: 20px; }
.journey-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ============ 이야기 타임라인 ============ */
.filter-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: -24px 0 40px; padding: 14px 20px;
  background: var(--blue-soft); border-radius: var(--radius);
  color: var(--navy); font-size: 15px;
}
.filter-status[hidden] { display: none; }
.filter-status strong { font-weight: 700; }
.filter-status button {
  margin-left: auto; padding: 6px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  color: var(--navy); font-size: 14px; font-weight: 600; cursor: pointer;
}
.filter-status button:hover { border-color: var(--navy); }

.year-group { display: grid; grid-template-columns: 140px 1fr; gap: 40px; }
.year-group + .year-group { margin-top: 72px; }
.year-label { position: relative; }
.year-label span {
  position: sticky; top: calc(var(--header-h) + 32px);
  display: block;
  color: var(--navy); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em;
}
.year-label span::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 16px; background: var(--blue); }
.story-list { display: grid; gap: 32px; border-left: 1px solid var(--line); padding-left: 40px; }

.story-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  width: 100%; padding: 0; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--body); overflow: hidden; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.story-card:hover { text-decoration: none; border-color: #b8c7da; box-shadow: var(--shadow); transform: translateY(-2px); }
.story-card:hover .story-thumb img { transform: scale(1.03); }
.story-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sky); }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-count {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(7, 31, 66, .78); border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600;
}
.media-count svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.story-body { display: flex; flex-direction: column; padding: 32px 32px 28px; }
.story-meta { color: var(--blue); font-size: 14px; font-weight: 700; }
.story-meta span { margin: 0 6px; color: var(--line); }
.story-body h3 { margin-top: 10px; font-size: clamp(21px, 2vw, 25px); font-weight: 700; }
.story-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.story-desc { margin-top: 14px; font-size: 16px; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.story-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 22px;
  color: var(--navy); font-size: 15px; font-weight: 700;
}
.story-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .25s var(--ease); }
.story-card:hover .story-more svg { transform: translateX(4px); }
.story-empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* 사진이 아직 없을 때 */
.placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(circle at 78% 22%, rgba(30, 91, 184, .10) 0 18%, transparent 18.5%),
    radial-gradient(circle at 18% 88%, rgba(11, 46, 94, .07) 0 24%, transparent 24.5%),
    linear-gradient(135deg, #eaf1fa, #f6f9fd);
  color: #7d8ea4;
}
.placeholder svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.placeholder span { font-size: 14px; font-weight: 600; }

/* ============ 학습자상 ============ */
.profile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.profile-card {
  display: flex; flex-direction: column;
  width: 100%; height: 100%; padding: 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.profile-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.profile-card[disabled] { cursor: default; }
.profile-card[disabled]:hover { border-color: var(--line); box-shadow: none; }
.profile-en { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.profile-card h3 { margin-top: 8px; font-size: 18px; }
.profile-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.profile-count { margin-top: auto; padding-top: 16px; color: var(--navy); font-size: 13px; font-weight: 700; }
.profile-card[disabled] .profile-count { color: #9aa8b9; font-weight: 500; }

/* ============ 갤러리 ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item button {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--sky); border: 0; border-radius: var(--radius); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(7, 31, 66, .82), transparent);
  color: #fff; font-size: 15px; font-weight: 600; text-align: left;
}
.gallery-caption small { display: block; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 500; }

/* ============ 더 많은 기록 ============ */
.archive { background: var(--navy); color: rgba(255, 255, 255, .82); }
.archive-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.archive h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.archive p { margin-top: 10px; }
.archive-links { display: flex; flex-wrap: wrap; gap: 10px; }
.archive-links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius);
  color: #fff; font-size: 15px; font-weight: 600;
}
.archive-links a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; text-decoration: none; }

/* ============ 푸터 ============ */
.site-footer { padding: 56px 0 40px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 52px; width: auto; }
.footer-ib { padding-left: 20px; border-left: 1px solid var(--line); box-sizing: content-box; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.footer-contact div { display: flex; gap: 8px; }
.footer-contact dt { color: var(--ink); font-weight: 600; }
.footer-contact dd { margin: 0; }
.footer-disclaimer { max-width: 900px; margin-top: 28px; line-height: 1.75; }
.footer-copy { margin-top: 20px; color: #8796a8; font-size: 13px; }

/* ============ 스토리 뷰어 ============ */
.viewer {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: #08172d; color: #fff;
  animation: viewer-in .3s var(--ease);
}
.viewer[hidden] { display: none; }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer-top { display: flex; align-items: center; gap: 20px; padding: 16px 20px 12px; }
.viewer-progress { flex: 1; display: flex; gap: 4px; }
.viewer-progress span { flex: 1; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.viewer-progress span.done { background: #fff; }
.viewer-close {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%; cursor: pointer;
}
.viewer-close:hover { background: rgba(255, 255, 255, .18); }
.viewer svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viewer-body { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.viewer-media { position: relative; display: flex; min-height: 0; }
.viewer-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 8px 72px 24px; touch-action: pan-y; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; animation: slide-in .45s var(--ease); }
.viewer-stage .video-wrap { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; animation: slide-in .45s var(--ease); }
.viewer-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 2px; }
@keyframes slide-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.viewer-stage .placeholder { position: relative; inset: auto; width: min(100%, 880px); aspect-ratio: 16 / 10; border-radius: 2px; }
.viewer-nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px;
  background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color .2s;
}
.viewer-nav:hover { background: rgba(255, 255, 255, .22); }
.viewer-nav[disabled] { opacity: .25; cursor: default; }
.viewer-nav.prev { left: 12px; }
.viewer-nav.next { right: 12px; }
.viewer-panel {
  display: flex; flex-direction: column;
  padding: 28px 32px 32px;
  background: #fff; color: var(--body);
  overflow-y: auto;
}
.viewer-panel .story-meta { font-size: 13px; }
.viewer-panel h2 { margin-top: 10px; font-size: 24px; }
.viewer-panel .story-sub { font-size: 14px; }
.viewer-caption { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.viewer-counter { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 600; }
.viewer-panel .story-tags { margin-top: 20px; }
.viewer-links { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; }
.viewer-links a, .viewer-links button {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; padding: 0 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--navy); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
}
.viewer-links a:hover, .viewer-links button:hover { border-color: var(--navy); text-decoration: none; }
.viewer-links .next-story { background: var(--navy); border-color: var(--navy); color: #fff; }
.viewer-links .next-story:hover { background: var(--navy-deep); }
.viewer-links .next-story small { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 500; }

/* ============ 반응형 ============ */
@media (max-width: 1100px) {
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .viewer-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer-panel { max-height: 42vh; padding: 22px 24px 24px; }
  .viewer-links { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 20px; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey::before { display: none; }
  .year-group { grid-template-columns: 1fr; gap: 20px; }
  .year-label span { position: static; font-size: 36px; }
  .story-list { border-left: 0; padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-inner { flex-direction: column; align-items: flex-start; }

  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .25s, background-color .25s;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11, 46, 94, .08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p:not(.eyebrow), .lead { font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 11px; }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 31, 66, .9) 0%, rgba(7, 31, 66, .55) 55%, rgba(7, 31, 66, .25) 100%); }
  .hero { align-items: flex-end; min-height: 600px; }
  .hero-content { padding-bottom: 56px; }
  .br-wide { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats-list { grid-template-columns: 1fr; }
  .stats-list li { padding: 24px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-align: left; }
  .stats-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stats-label { margin-top: 0; order: -1; }
  .stats-note { text-align: left; }
  .journey { grid-template-columns: 1fr; row-gap: 0; }
  .journey-item { padding: 0 0 32px 40px; }
  .journey-item::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
  .journey-item:last-child::before { display: none; }
  .story-card { grid-template-columns: 1fr; }
  .story-body { padding: 22px 20px 20px; }
  .profile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-card { padding: 18px 16px; }
  .profile-card p { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-caption { padding: 28px 10px 10px; font-size: 13px; }
  .gallery-caption small { display: none; }
  .footer-ib { height: 40px; }
  .viewer-top { padding: 10px 12px 8px; }
  .viewer-stage { padding: 4px 0 12px; }
  .viewer-nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(8, 23, 45, .55); }
  .viewer-nav.prev { left: 6px; }
  .viewer-nav.next { right: 6px; }
  .viewer-panel { max-height: 48vh; padding: 18px 16px 20px; }
  .viewer-panel h2 { font-size: 20px; }
  .viewer-caption { margin-top: 14px; padding-top: 14px; font-size: 15px; }
  .viewer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .viewer, .hero-actions, .archive { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
