/* GESI 글로벌경제안보연구소 — site.css */
:root {
  --navy-950: #08132a;
  --navy-900: #0d1d3a;
  --navy: #152f52;
  --navy-700: #22416b;
  --navy-50: #eef2f7;
  --slate: #8e9cae;
  --ink: #141d2e;
  --body: #364152;
  --muted: #647083;
  --line: #dde2e9;
  --paper: #f1f4f8;
  --white: #fff;
  /* GESI 포인트 색: 로고의 'I' 막대 회청색(#8E9CAE)을 기준으로, 밝은 바탕용은 같은 계열을 진하게 */
  --accent: #4b6283;
  --accent-soft: #8e9cae;
  --accent-pale: #c4cfdc;
  /* GESI 공식 글꼴: Noto Sans KR. 제목은 굵게, 자간을 좁혀 씁니다. */
  --head: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.36; letter-spacing: -0.04em; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.ic { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; background: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--navy-950); }
.btn-primary:hover { background: var(--accent-pale); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-line-light { border-color: rgba(142,156,174,.7); color: var(--accent-pale); }
.btn-line-light:hover { background: var(--accent-soft); color: var(--navy-950); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  color: #fff; transition: background .35s, box-shadow .35s, height .35s, color .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,12,28,.6), rgba(5,12,28,0)); transition: opacity .35s;
}
.site-header.is-solid { height: 72px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(8,19,42,.35); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 26px; width: auto; }
.logo-dark { display: none; }
.is-solid .logo-light { display: none; }
.is-solid .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 34px; list-style: none; }
.nav ul a { position: relative; display: block; padding: 6px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid rgba(255,255,255,.7); font-size: 15px; font-weight: 600; transition: .25s; }
.nav-cta:hover, .nav-cta[aria-current] { background: #fff; color: var(--navy); }
.is-solid .nav-cta { border-color: var(--navy); color: var(--navy); }
.is-solid .nav-cta:hover, .is-solid .nav-cta[aria-current] { background: var(--navy); color: #fff; }
.nav-channels { display: none; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .site-header.is-solid { height: 64px; }
  .brand img { height: 21px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px;
    padding: 110px var(--gutter) 40px; background: var(--navy-950); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
  }
  .nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .nav ul a { font-family: var(--head); font-size: 26px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav ul a::after { display: none; }
  .nav-cta, .is-solid .nav-cta { border-color: rgba(255,255,255,.7); color: #fff; }
  .nav-channels { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
  .nav-channels a { display: inline-flex; align-items: center; gap: 8px; }
  .nav-channels .ic { width: 18px; height: 18px; }
  .nav-open { overflow: hidden; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: transparent; box-shadow: none; color: #fff; }
  .nav-open .site-header .logo-light { display: block; }
  .nav-open .site-header .logo-dark { display: none; }
  .nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 28%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroZoom 14s var(--ease) both; }
  @keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,19,42,.94) 0%, rgba(8,19,42,.78) 30%, rgba(8,19,42,.25) 58%, rgba(8,19,42,0) 72%),
    linear-gradient(0deg, rgba(8,19,42,.7) 0%, rgba(8,19,42,0) 34%);
}
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(88px, 14vh, 150px); }
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-soft); }
.hero h1 { margin: 22px 0 24px; font-family: var(--head); font-size: clamp(31px, 3.5vw, 54px); text-wrap: balance; font-weight: 700; line-height: 1.38; letter-spacing: -0.055em; color: #fff; }
.hero-lead { max-width: 680px; font-size: clamp(16px, 1.25vw, 18.5px); color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-plate { position: absolute; right: var(--gutter); bottom: clamp(88px, 14vh, 150px); padding-right: 16px; border-right: 2px solid var(--accent-soft); text-align: right; line-height: 1.5; }
.hero-plate strong { display: block; font-family: var(--head); font-size: 18px; font-weight: 700; color: #fff; }
.hero-plate span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 1100px) { .hero-plate { display: none; } }
@media (max-width: 760px) {
  .hero-media img { object-position: 80% 20%; }
  .hero::after { background: linear-gradient(0deg, rgba(8,19,42,.97) 0%, rgba(8,19,42,.88) 40%, rgba(8,19,42,.15) 70%, rgba(8,19,42,.4) 100%); }
  .hero-inner { padding-bottom: 84px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
}

/* ---------- Statement band ---------- */
.statement { background: var(--navy-950); color: #fff; padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.statement-frame { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px); border: 1px solid rgba(142,156,174,.32); }
.statement-frame::before, .statement-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--accent-soft); border-style: solid; }
.statement-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.statement-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.statement-en { margin: 0; font-family: var(--head); font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: #fff; }
.statement-en em { font-style: normal; color: var(--accent-soft); }
.statement-ko { margin: 28px 0 34px; font-family: var(--head); font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.03em; color: rgba(255,255,255,.78); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--navy-950); color: rgba(255,255,255,.78); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 4px; height: 14px; background: var(--accent-soft); }
.dark .kicker, .cta-band .kicker, .section-head.light .kicker { color: var(--accent-soft); }
.section-title { margin-top: 14px; font-family: var(--head); font-size: clamp(27px, 3.1vw, 42px); font-weight: 700; letter-spacing: -0.055em; }
.dark .section-title, .section-head.light .section-title { color: #fff; }
.section-desc { max-width: 780px; margin: 16px 0 0; color: var(--muted); }
.dark .section-desc { color: rgba(255,255,255,.66); }
.more-link { flex: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; transition: color .2s; }
.more-link:hover { color: var(--accent); }
.dark .more-link { color: #fff; }
.note { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--accent-soft); background: var(--navy-50); font-size: 15px; color: var(--body); }
.empty { color: var(--muted); }
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Intro (home) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 96px); align-items: end; padding-bottom: clamp(36px, 4.5vw, 60px); border-bottom: 1px solid var(--line); }
.intro-lead { margin: 0 0 22px; font-size: 18px; line-height: 1.85; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 4vw, 56px); }
.pillar { padding-top: 22px; border-top: 2px solid var(--navy); }
.pillar .ic { width: 30px; height: 30px; margin-bottom: 18px; color: var(--accent); }
.pillar h3 { font-family: var(--head); font-size: 22px; font-weight: 700; }
.pillar p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; align-items: start; gap: 18px; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Research areas (home): 다섯 분야를 한눈에 ---------- */
.area-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 24px 26px; background: #fff; transition: background .3s; }
.area-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover { background: #fbfcfd; }
.area-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; color: var(--navy); }
.area-top .ic { width: 34px; height: 34px; }
.area-no { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--slate); font-variant-numeric: tabular-nums; }
.area-no .area-flag { letter-spacing: 0; }
.area-card h3 { font-size: 19px; letter-spacing: -0.04em; }
.area-en { margin: 4px 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.area-desc { margin: 0 0 22px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.area-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.area-flag { flex: none; padding: 2px 8px; border: 1px solid currentColor; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.area-count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(13,29,58,.5); }
.post-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy) url("../img/gesi-mark-reverse.svg") no-repeat right 22px bottom 20px / 64px auto; }
.post-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0) 55%); }
.thumb-label { position: absolute; left: 24px; right: 24px; top: 24px; font-family: var(--head); font-size: 21px; font-weight: 700; line-height: 1.4; color: #fff; }
.thumb-label::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--accent-soft); }
.post-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb.is-missing img { display: none; }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.series { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .01em; }
.post-card h3 { margin: 12px 0 10px; font-size: 18.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .go { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Videos ---------- */
.video-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.video-row.wide { grid-auto-columns: calc((100% - 2 * 20px) / 3); margin-top: 36px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 20px; }
.video-grid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-card { display: block; scroll-snap-align: start; }
.video-thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.video-card.is-wide .video-thumb { aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video-card:hover .video-thumb img { transform: scale(1.04); opacity: .85; }
.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border-radius: 50%; background: rgba(8,19,42,.55); border: 1px solid rgba(255,255,255,.6); color: #fff; transition: background .3s, transform .3s; }
.play .ic { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .play { background: var(--accent); transform: scale(1.06); }
.tag-en { position: absolute; top: 10px; left: 10px; padding: 2px 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.video-card h3 { margin: 14px 0 4px; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card time { font-size: 12.5px; color: var(--muted); }
.dark .video-card h3 { color: #fff; }
.dark .video-card time { color: rgba(255,255,255,.5); }
@media (max-width: 1000px) { .video-row { grid-auto-columns: 30%; } .video-row.wide { grid-auto-columns: 60%; } }
@media (max-width: 560px) { .video-row { grid-auto-columns: 46%; } .video-row.wide { grid-auto-columns: 85%; } .video-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; } }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 34px 28px 36px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.service-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(13,29,58,.5); }
.service-card .ic { width: 36px; height: 36px; margin: 26px 0 22px; color: var(--navy); }
.service-no { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--slate); }
.service-card h3 { font-size: 19px; }
.service-card p:last-child { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 1000px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; opacity: .5; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,42,.96) 0%, rgba(8,19,42,.8) 55%, rgba(8,19,42,.55) 100%); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin-top: 16px; font-family: var(--head); font-size: clamp(25px, 2.8vw, 38px); font-weight: 700; letter-spacing: -0.05em; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #050d1f; color: rgba(255,255,255,.62); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin: 20px 0 0; max-width: 360px; }
.footer-channels { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-channels a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13.5px; transition: .25s; }
.footer-channels a:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.footer-channels .ic { width: 18px; height: 18px; }
.footer-col h2 { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { padding-top: 26px; padding-bottom: 34px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-legal p { margin: 0 0 4px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 45%; opacity: .6; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,42,.96) 0%, rgba(8,19,42,.78) 50%, rgba(8,19,42,.42) 100%); }
.page-hero h1 { margin-top: 16px; font-family: var(--head); font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.055em; color: #fff; }
.page-hero .lead { max-width: 680px; margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 18.5px); color: rgba(255,255,255,.78); }

/* ---------- Sub navigation ---------- */
.subnav { position: sticky; top: 72px; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 32px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 17px 0; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--navy); border-color: var(--accent); }
@media (max-width: 980px) { .subnav { top: 64px; } .subnav ul { gap: 22px; } }

/* ---------- About ---------- */
.greeting { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.greeting-photo { position: sticky; top: 150px; margin: 0; }
.greeting-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.greeting-photo::after { content: ""; position: absolute; left: -14px; top: -14px; width: 80px; height: 80px; border-left: 2px solid var(--accent-soft); border-top: 2px solid var(--accent-soft); }
.greeting-body { margin-top: 28px; font-size: 17px; }
.greeting-body p { margin-bottom: 1.1em; }
.signature { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature span { font-size: 15px; color: var(--muted); }
.signature strong { font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.career { margin-top: 30px; }
.career h3 { font-size: 16px; margin-bottom: 10px; }
.career ul { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.career li::before { content: "—"; color: var(--accent); margin-right: 10px; }
@media (max-width: 860px) { .greeting { grid-template-columns: 1fr; } .greeting-photo { position: relative; top: 0; max-width: 380px; } }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.mission-text { margin: 18px 0 0; font-family: var(--head); font-size: clamp(22px, 2.3vw, 31px); font-weight: 700; line-height: 1.5; color: var(--ink); letter-spacing: -0.03em; }
.mission-text.small { font-size: clamp(19px, 1.8vw, 24px); color: var(--navy-700); }
.functions { margin-top: 48px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); background: var(--navy-950); color: #fff; }
.fn-core { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 34px; background: var(--navy); }
.fn-core img { width: 120px; height: auto; }
.fn-core span { font-size: 14.5px; color: rgba(255,255,255,.75); }
.fn { padding: 34px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.fn h3 { color: #fff; font-family: var(--head); font-size: 21px; font-weight: 700; }
.fn p { margin: 8px 0 0; font-size: 14.5px; color: rgba(255,255,255,.66); }
@media (max-width: 980px) { .functions { grid-template-columns: 1fr 1fr; } .fn-core { grid-column: 1 / -1; } .fn:nth-child(2) { border-left: 0; } .fn:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 640px) { .mission { grid-template-columns: 1fr; } .functions { grid-template-columns: 1fr; } .fn { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } }

/* Organization chart */
.org { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.org-node { position: relative; width: 100%; max-width: 300px; padding: 20px 22px; text-align: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(13,29,58,.55); }
.org-node .role { margin: 0; font-family: var(--head); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.org-node .role-en { display: block; margin-top: 2px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.org-node .duty { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.org-node .names { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.org-node--lead { max-width: 340px; padding: 26px 24px; background: var(--navy); border-color: var(--navy); }
.org-node--lead .role { color: #fff; font-size: 24px; }
.org-node--lead .role-en { color: var(--accent-soft); }
.org-node--lead .duty { color: rgba(255,255,255,.72); }
.org-node--lead .names { color: #fff; border-color: rgba(255,255,255,.18); }
.org-node--side { background: var(--paper); border-color: var(--slate); box-shadow: none; }
.org-v { width: 1px; height: 34px; background: var(--slate); }
.org-staff { display: grid; grid-template-columns: minmax(0, 260px) minmax(16px, 1fr) 1px minmax(16px, 1fr) minmax(0, 260px); align-items: center; width: 100%; }
.org-staff .org-node { max-width: none; }
.org-h { height: 1px; background: var(--slate); }
.org-c { align-self: stretch; background: var(--slate); }
.org-units { width: 100%; text-align: center; }
.org-units-label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.org-units-row { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.org-units-row::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 1px; background: var(--slate); }
.org-unit { position: relative; padding: 16px 10px; border: 1px dashed var(--slate); background: #fff; font-size: 15px; font-weight: 700; color: var(--navy); }
.org-unit::before { content: ""; position: absolute; left: 50%; top: -25px; width: 1px; height: 24px; background: var(--slate); }
@media (max-width: 640px) {
  .org-node { padding: 16px 14px; }
  .org-node .role { font-size: 19px; }
  .org-staff { grid-template-columns: minmax(0, 1fr) 10px 1px 10px minmax(0, 1fr); }
  .org-staff .duty { font-size: 12.5px; }
  .org-units-row { gap: 8px; }
  .org-unit { font-size: 13px; padding: 12px 4px; }
}


/* Institution info */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.info-list { margin: 0; border-top: 2px solid var(--navy); }
.info-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; color: var(--ink); }
.info-list dd { margin: 0; }
.info-list a { color: var(--navy); border-bottom: 1px solid rgba(21,47,82,.3); }
.info-list.compact > div { grid-template-columns: 110px 1fr; padding: 13px 2px; font-size: 15px; }
.plain { list-style: none; display: grid; gap: 4px; }
.english { padding: 36px; background: #fff; border-top: 3px solid var(--accent-soft); }
.english h3 { margin: 14px 0 14px; font-family: var(--head); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.english p { font-size: 15.5px; }
.english a { color: var(--navy); border-bottom: 1px solid currentColor; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } .info-list > div { grid-template-columns: 110px 1fr; } }

/* ---------- Research ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier { padding: 26px 24px; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.tier:first-child { border-top-color: var(--accent); }
.tier-en { display: block; font-size: 12px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; text-transform: uppercase; color: var(--accent); }
.tier h3 { margin: 4px 0 10px; font-size: 19px; }
.tier p { margin: 0; font-size: 14.5px; color: var(--muted); }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.pub-card { display: block; padding: 28px; border: 1px solid var(--line); background: #fff; transition: border-color .3s; }
.pub-card:hover { border-color: var(--navy); }
.pub-img { margin: -28px -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-50); }
.pub-img img { width: 100%; height: 100%; object-fit: cover; }
.pub-card h3 { margin: 10px 0; font-family: var(--head); font-size: 21px; font-weight: 700; }
.pub-card p { font-size: 15px; color: var(--muted); }
.pub-meta { font-size: 13.5px; color: var(--muted); }
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.filter-groups { display: grid; gap: 12px; margin-bottom: 20px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.chip-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.chip-label { font-size: 13px; font-weight: 700; color: var(--accent); }
.chip-row .search { min-width: 0; max-width: 420px; }
@media (max-width: 640px) { .filter-groups { padding: 16px; } .chip-row { grid-template-columns: 1fr; gap: 8px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: .2s; }
.chip span { font-size: 12px; font-weight: 500; color: var(--muted); }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-on span { color: rgba(255,255,255,.7); }
.search { position: relative; display: flex; align-items: center; min-width: 260px; }
.search .ic { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--line); background: #fff; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--navy); }
.filter-count { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.post-list { list-style: none; border-top: 2px solid var(--navy); background: #fff; }
.post-row { position: relative; display: grid; grid-template-columns: 110px 1fr 40px; gap: 24px; align-items: start; padding: 24px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.post-row:hover { background: var(--navy-50); }
.post-row time { padding-top: 2px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-row h3 { margin: 4px 0 6px; font-size: 18px; line-height: 1.5; }
.post-row h3 a::after { content: ""; position: absolute; inset: 0; }
.post-row p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-go { font-size: 18px; color: var(--navy); text-align: right; }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.more-wrap [hidden] { display: none; }
[data-item][hidden] { display: none !important; }
@media (max-width: 640px) {
  .search { min-width: 0; width: 100%; }
  .post-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  .row-go { display: none; }
}

/* ---------- Briefing detail (블로그 브리핑 요약 페이지) ---------- */
.page-hero--article { padding-bottom: clamp(44px, 5vw, 72px); }
.page-hero--article h1 { max-width: 940px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.42; letter-spacing: -0.045em; }
.brief-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.brief-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.brief-area { padding: 4px 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--accent); transition: .2s; }
.brief-area:hover { border-color: var(--navy); color: var(--navy); }
.brief-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.brief-top.no-thumb, .brief-top:has(.is-missing) { grid-template-columns: minmax(0, 1fr); }
.brief-thumb { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--navy-50); }
.brief-thumb img { width: 100%; height: 100%; object-fit: cover; }
.brief-thumb.is-missing { display: none; }
.brief-label, .brief-points h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.brief-summary { margin: 0; font-size: 17.5px; line-height: 1.85; color: var(--ink); }
.brief-points { padding: 32px 0 24px; border-bottom: 1px solid var(--line); }
.brief-points ol { list-style: none; counter-reset: pt; }
.brief-points li { counter-increment: pt; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.brief-points li:first-child { border-top: 0; }
.brief-points li::before { content: counter(pt, decimal-leading-zero); padding-top: 3px; font-size: 14px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.brief-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 24px; list-style: none; }
.brief-tags li { padding: 3px 10px; background: var(--paper); font-size: 13px; color: var(--muted); }
.brief-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; margin-top: 32px; padding: 28px 30px; background: var(--navy); color: rgba(255,255,255,.78); }
.brief-cta strong { display: block; margin-bottom: 4px; font-size: 17px; color: #fff; }
.brief-cta p { margin: 0; font-size: 14.5px; }
.brief-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.brief-nav a { display: block; min-width: 0; padding: 18px 20px; border: 1px solid var(--line); transition: border-color .2s; }
.brief-nav a:hover { border-color: var(--navy); }
.brief-nav span, .brief-aside li span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.brief-nav strong, .brief-aside li strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.brief-nav .next { grid-column: 2; text-align: right; }
.brief-aside { position: sticky; top: 100px; padding: 26px 24px; background: var(--paper); }
.brief-aside h2 { margin-bottom: 6px; font-size: 17px; }
.brief-aside ul { list-style: none; margin-bottom: 22px; }
.brief-aside li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brief-aside li a:hover strong { color: var(--navy); text-decoration: underline; }
@media (max-width: 960px) { .brief-layout { grid-template-columns: minmax(0, 1fr); } .brief-aside { position: static; } }
@media (max-width: 560px) {
  .brief-top { grid-template-columns: minmax(0, 1fr); }
  .brief-thumb { max-width: 220px; }
  .brief-nav { grid-template-columns: minmax(0, 1fr); }
  .brief-nav .next { grid-column: auto; text-align: left; }
  .brief-cta { padding: 24px 20px; }
  .brief-cta .btn { width: 100%; }
}

/* ---------- Media ---------- */
.channel-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-bottom: 48px; padding: 28px 32px; border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.channel-bar img { width: 96px; height: auto; }
.channel-bar h2 { font-family: var(--head); font-size: 22px; font-weight: 700; }
.channel-bar p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.channel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.block-title { margin: 64px 0 24px; font-family: var(--head); font-size: 24px; }
.media-coop { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
@media (max-width: 760px) { .channel-bar { grid-template-columns: 1fr; gap: 16px; padding: 24px; } }

.video-modal { width: min(420px, 92vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-modal::backdrop { background: rgba(5,12,28,.86); }
.vm-inner { position: relative; }
.vm-frame { aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto; background: #000; }
.vm-frame iframe { width: 100%; height: 100%; border: 0; }
.vm-close { position: absolute; right: -6px; top: -48px; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.vm-link { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: rgba(255,255,255,.85); }
.video-modal.is-wide { width: min(960px, 94vw); }
.video-modal.is-wide .vm-frame { aspect-ratio: 16 / 9; }

/* ---------- Services page ---------- */
.service-rows { border-top: 2px solid var(--navy); }
.service-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.service-row-head { display: grid; grid-template-columns: 56px 52px 1fr; grid-template-rows: auto auto; align-content: start; align-items: start; }
.service-row-head .service-no { grid-column: 1; grid-row: 1 / 3; font-size: 30px; line-height: 1.1; }
.service-row-head .ic { grid-column: 2; grid-row: 1 / 3; width: 38px; height: 38px; color: var(--navy); }
.service-row-head h3 { grid-column: 3; grid-row: 1; font-family: var(--head); font-size: 25px; font-weight: 700; line-height: 1.3; }
.service-row-head .area-en { grid-column: 3; grid-row: 2; margin: 6px 0 0; }
.service-row-body p { font-size: 16.5px; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; } }
.table-wrap { overflow-x: auto; background: #fff; border-top: 2px solid var(--navy); }
.topics { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.topics th, .topics td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.topics thead th { font-size: 13px; letter-spacing: .1em; color: var(--muted); background: var(--navy-50); }
.topics tbody th { color: var(--navy); white-space: nowrap; }
.topics tbody td:nth-child(2) { font-weight: 600; color: var(--ink); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 28px 18px 26px; border-top: 3px solid var(--line); font-weight: 700; color: var(--ink); font-size: 16px; }
.steps li::before { content: ""; position: absolute; left: 0; top: -3px; width: 36px; height: 3px; background: var(--accent); }
.steps span { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--slate); }
.coop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.coop { padding: 28px; background: var(--paper); }
.coop h3 { font-size: 19px; margin-bottom: 8px; }
.coop p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(3, 1fr); } .coop-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info .section-title { margin-bottom: 18px; }
.contact-info .info-list { margin-top: 32px; }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: var(--paper); border-top: 3px solid var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfd6df; background: #fff; font-size: 16px; font-weight: 400; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,47,82,.12); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form .agree { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--body); }
.contact-form .agree input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--navy); }
.contact-form .agree a { color: var(--navy); border-bottom: 1px solid currentColor; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--navy); }
.form-note.is-error { color: #a1332a; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

/* ---------- Prose / publications ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2em 0 .7em; font-family: var(--head); font-size: 24px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 19px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--navy); border-bottom: 1px solid rgba(21,47,82,.35); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-soft); font-family: var(--head); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.pub-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pub-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.prose figure { margin: 2em 0; }
.prose figure img, .pub-cover img { width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose img { max-width: 100%; height: auto; }
.prose code { padding: 1px 6px; background: var(--navy-50); font-size: .92em; }
.prose .table-wrap { margin: 1.6em 0; }
.topics.md { min-width: 0; }
.topics.md tbody td:nth-child(2) { font-weight: 400; color: inherit; }
.topics.md tbody th, .topics.md tbody td:first-child { color: var(--ink); font-weight: 600; }
.pub-cover { margin: 0 0 28px; }
.pub-summary { padding: 22px 24px; background: var(--paper); border-left: 3px solid var(--navy); font-size: 17px; color: var(--ink); }
.cite { margin-top: 48px; padding: 22px 24px; background: var(--navy-50); font-size: 14.5px; }
.cite h2 { margin: 0 0 6px; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.cite p { margin: 0; }
@media (max-width: 860px) { .pub-layout { grid-template-columns: 1fr; } .pub-aside { position: static; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .site-header, .site-footer, .cta-band, .subnav, .hero-actions, .scroll-cue { display: none !important; }
  .page-hero, .hero, .section.dark { background: #fff !important; color: #000 !important; }
}
