/* Layout: one long page, white and pale-sky bands alternating; square edges, chamfered cards, logo gradient as the only flourish. */
:root {
  --navy: #12395c;
  --blue: #2f6f9e;
  --sky: #5fb6e1;
  --sky-pale: #a8dbf2;
  --mist: #eef6fb;
  --white: #ffffff;
  --ink: #0d1b2a;
  --muted: #566778;
  --line: #d7e4ed;
  --grad: linear-gradient(90deg, #163f63 0%, #3d7ea7 48%, #6cc0e6 82%, #a8dbf2 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #eaf5fc 55%, #d6eefa 100%);
  --f-display: "Pretendard", -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --f-body: "Pretendard", -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --f-tech: "Chakra Petch", "Pretendard", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --cut: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
body { overflow-x: clip; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
.eyebrow { font-family: var(--f-tech); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 62ch; }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.nav .brand img { height: 26px; width: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0 0 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 0 1 auto; }
.nav .brand { flex: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a.l { font-size: 14px; color: var(--ink); white-space: nowrap; opacity: .78; }
.nav a.l:hover, .nav a.l.on { opacity: 1; color: var(--navy); }
.nav .cta { font-family: var(--f-tech); font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 8px 14px; background: var(--navy); color: #fff; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.nav .cta:hover { background: var(--blue); color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--grad-soft); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
.hero .logo { width: min(520px, 86%); margin-bottom: clamp(28px, 4vw, 44px); }
.hero h1 { font-size: clamp(36px, 6.4vw, 76px); font-weight: 800; line-height: 1.04; max-width: 15ch; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 22px 0 34px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-weight: 600; font-size: 16px; border: 1px solid var(--navy);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: background .2s, color .2s; }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.6); color: var(--navy); }
.btn.ghost:hover { background: #fff; }
#trace { position: absolute; right: 0; top: 12%; width: 38%; height: 40%; z-index: 0; pointer-events: none; }
@media (max-width: 1200px) { #trace { display: none; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
.stat { padding: 22px 20px 4px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-tech); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
section.band { padding-block: clamp(72px, 10vw, 128px); }
section.band.alt { background: var(--mist); border-block: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.08; }

/* mission */
.mission { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mission p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }
.mission p strong { color: var(--ink); }
.pipeline { border: 1px solid var(--line); background: #fff; }
.pipeline div { display: grid; grid-template-columns: 54px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.pipeline div:last-child { border-bottom: 0; }
.pipeline i { font-style: normal; font-family: var(--f-tech); font-weight: 700; color: #fff; background: var(--grad); height: 100%; display: grid; place-items: center; font-size: 15px; }
.pipeline span { padding: 16px 18px; font-weight: 600; }
.pipeline small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* research areas */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: #fff; padding: 30px 26px 32px; display: grid; gap: 12px; align-content: start; position: relative; }
.area::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.area .no { font-family: var(--f-tech); font-size: 13px; color: var(--sky); font-weight: 600; letter-spacing: .1em; }
.area h3 { font-size: 21px; font-weight: 700; }
.area p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* research detail */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab { font: inherit; font-weight: 600; font-size: 16px; padding: 14px 22px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--sky); }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic { background: #fff; border: 1px solid var(--line); padding: 28px 26px; display: grid; gap: 12px; align-content: start;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.topic h3 { font-size: 20px; font-weight: 700; }
.topic p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--f-tech); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--navy); background: var(--mist); border: 1px solid var(--line); padding: 3px 8px; }

/* director */
.director { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.director > div { background: #fff; padding: clamp(28px, 4vw, 44px); }
.director .id { background: var(--grad); color: #fff; display: grid; align-content: space-between; gap: 32px; min-height: 340px; }
.director .id .eyebrow { color: rgba(255,255,255,.85); }
.director .id h3 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; }
.director .id .kr { font-size: 18px; opacity: .9; }
.director .id dl { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.director .id dt { font-family: var(--f-tech); font-size: 12px; letter-spacing: .14em; opacity: .75; text-transform: uppercase; }
.director .id dd { margin: 0 0 8px; }
.director .id .links { display: flex; flex-wrap: wrap; gap: 8px; }
.director .id .links a { color: inherit; text-decoration: none; font-family: var(--f-tech); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border: 1px solid currentColor; border-radius: 0; opacity: .9; transition: background .2s, opacity .2s; }
.director .id .links a:hover { opacity: 1; background: rgba(255,255,255,.16); }
.director .id a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.timeline { list-style: none; margin: 0 0 28px; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--f-tech); font-size: 14px; color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: 15px; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; }
.interests span { border: 1px solid var(--navy); color: var(--navy); padding: 6px 12px; font-size: 14px; font-weight: 600; }

.group-title { display: flex; align-items: baseline; gap: 14px; margin: 44px 0 18px; }
.group-title h3 { font-size: 22px; }
.group-title span { font-family: var(--f-tech); color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; align-content: start;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.person .top { display: flex; align-items: center; gap: 14px; }
.mono { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-family: var(--f-tech); font-weight: 700; color: #fff; background: var(--grad); font-size: 16px; }
.person h4 { margin: 0; font-size: 18px; }
.person .kr { color: var(--muted); font-size: 14px; }
.badge { font-family: var(--f-tech); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; }
.person .k { font-family: var(--f-tech); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.person ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--ink); }
.person .mail { font-size: 14px; color: var(--blue); word-break: break-all; }
.alumni { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.alumni div { background: #fff; padding: 18px 20px; }
.alumni b { display: block; }
.alumni span { font-size: 14px; color: var(--muted); }
.lab-room { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* publications */
.pubbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); background: #fff; }
.chip { font: inherit; font-family: var(--f-tech); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; padding: 9px 14px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.chip:last-child { border-right: 0; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--navy); }
.search { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; }
.search:focus { outline: 2px solid var(--sky); outline-offset: -1px; }
.count { font-family: var(--f-tech); font-size: 13.5px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pub .n { font-family: var(--f-tech); font-weight: 700; font-size: 20px; color: var(--sky); font-variant-numeric: tabular-nums; }
.pub .t { font-weight: 700; font-size: 17px; line-height: 1.4; }
.pub .a { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.pub .v { font-size: 14.5px; margin-top: 4px; color: var(--ink); }
.pub .v a { word-break: break-all; }
.pub .m { display: grid; justify-items: end; gap: 6px; text-align: right; }
.pub .y { font-family: var(--f-tech); font-weight: 600; font-size: 15px; color: var(--navy); }
.metric { font-family: var(--f-tech); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 3px 8px; white-space: nowrap; border: 1px solid var(--line); color: var(--navy); }
.metric.top { background: var(--grad); color: #fff; border-color: transparent; }
.metric.role { border-color: var(--navy); }
.empty { padding: 32px 0; color: var(--muted); }

/* patents */
.patents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.patent { background: #fff; border: 1px solid var(--line); padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.patent .no { font-family: var(--f-tech); font-weight: 700; font-size: 28px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.patent h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; letter-spacing: -0.01em; }
.patent dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.patent dt { font-family: var(--f-tech); color: var(--muted); letter-spacing: .06em; }
.patent dd { margin: 0; }
.patent .reg { font-family: var(--f-tech); font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

/* news */
.news { display: grid; grid-template-columns: 200px 1fr; gap: 0 48px; }
.news h3 { font-family: var(--f-tech); font-size: 44px; font-weight: 700; color: var(--navy); position: sticky; top: 90px; align-self: start; padding-top: 18px; }
.news ol { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--f-tech); font-weight: 600; color: var(--blue); font-size: 15px; font-variant-numeric: tabular-nums; }
.news p { margin: 0; }

/* join */
.join { background: var(--grad); color: #fff; }
.join .wrap { padding-block: clamp(72px, 10vw, 120px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); }
.join .eyebrow { color: rgba(255,255,255,.85); }
.join h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.05; margin: 14px 0 22px; }
.join p { margin: 0 0 16px; max-width: 58ch; opacity: .95; }
.join .card { background: #fff; color: var(--ink); padding: clamp(26px, 3.5vw, 38px); align-self: start;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.join .card h3 { font-size: 20px; margin-bottom: 14px; }
.join .card ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); }
.join .card .gain { display: grid; gap: 14px; margin-bottom: 22px; }
.join .card .gain b { display: block; color: var(--navy); }
.join .card .gain span { font-size: 15px; color: var(--muted); }
.copy { display: flex; gap: 0; border: 1px solid var(--line); margin-top: 6px; }
.copy code { flex: 1; min-width: 0; padding: 12px 14px; font-family: var(--f-tech); font-size: 15px; overflow-wrap: anywhere; }
.copy button { font: inherit; font-weight: 600; font-size: 14px; border: 0; background: var(--navy); color: #fff; padding: 0 16px; cursor: pointer; }
.copy button:hover { background: var(--blue); }

footer { background: #0c2238; color: #c9d8e4; }
footer .wrap { padding-block: 44px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; font-size: 14px; }
footer img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
footer a { color: #fff; }

@media (max-width: 980px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission, .director, .join .wrap { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .news h3 { position: static; font-size: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav ul { gap: 18px; }
  .nav .cta { display: none; }
  .areas, .topics, .people, .patents { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .pub { grid-template-columns: 1fr; gap: 8px; }
  .pub .m { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; }
  .timeline li, .news li { grid-template-columns: 1fr; gap: 4px; }
  .count { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- previews that fade out, with a way in ---------- */
.preview { position: relative; }
.preview .fade-body { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  pointer-events: none; user-select: none; }
.preview .fade-body a { pointer-events: none; }
.preview .ellipsis { text-align: center; font-family: var(--f-tech); letter-spacing: .5em; color: var(--sky); font-size: 20px; margin: -6px 0 18px; }
.more { display: flex; justify-content: center; }
.more .btn { min-width: 240px; justify-content: center; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- entry cards (click to go in) ---------- */
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.entry { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: end; padding: 28px 28px 26px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: border-color .2s, background .2s; position: relative; }
.entry::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.entry:hover { color: var(--ink); border-color: var(--sky); }
.entry:hover::before { transform: scaleX(1); }
.entry .eyebrow { grid-column: 1 / -1; }
.entry h3 { font-size: 24px; font-weight: 800; }
.entry p { margin: 4px 0 0; color: var(--muted); font-size: 15px; grid-column: 1; }
.entry .big { font-family: var(--f-tech); font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; grid-row: 2 / span 2; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; }
.entry .go { grid-column: 1 / -1; font-weight: 600; color: var(--blue); font-size: 15px; margin-top: 10px; }
.monos { display: flex; gap: 6px; margin-top: 10px; grid-column: 1; }
.monos span { width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--f-tech); font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); }
.entry.wide { grid-column: 1 / -1; }
.entry.wide .latest { grid-column: 1; display: grid; grid-template-columns: 140px 1fr; gap: 16px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.entry.wide .latest time { font-family: var(--f-tech); font-weight: 600; color: var(--blue); font-size: 14.5px; }
.entry.wide .latest p { margin: 0; color: var(--ink); }

/* ---------- sub pages ---------- */
.page-hero { background: var(--grad-soft); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { color: var(--blue); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.subnav a { font-family: var(--f-tech); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 7px 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.subnav a:hover { border-color: var(--sky); }
.anchor-sec { scroll-margin-top: 80px; }

@media (max-width: 760px) {
  .entries { grid-template-columns: 1fr; }
  .entry.wide .latest { grid-template-columns: 1fr; gap: 4px; }
  .entry .big { font-size: 36px; }
}

/* ---------- photos ---------- */
.person .photo { margin: -24px -24px 4px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.person:hover .photo img { transform: scale(1.03); }
.monos img { width: 34px; height: 34px; object-fit: cover; object-position: center 25%; border: 2px solid #fff; margin-left: -8px; box-shadow: 0 1px 0 var(--line); }
.monos img:first-child { margin-left: 0; }
.alumni { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.alum { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.alum-photo { width: 76px; height: 96px; object-fit: cover; object-position: center 25%; }
.alum .org { max-height: 30px; max-width: 140px; width: auto; margin-top: 10px; object-fit: contain; }
.director .id { position: relative; overflow: hidden; }
.director .portrait { width: 132px; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border: 3px solid rgba(255,255,255,.85); }
.topic { padding-top: 0; }
.topic .fig { margin: 0 -26px 6px; background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.topic .fig img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.topic .fig img.photo { object-fit: cover; padding: 0; }
.about-visual { margin-bottom: 20px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); aspect-ratio: 4 / 3; overflow: hidden; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

/* paper first pages, laid out like sheets on a desk */
.covers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 0 clamp(36px, 5vw, 56px); padding: 28px 12px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(168,219,242,.35) 100%); }
.cover { position: relative; display: block; margin-inline: -6%; transform: translateY(calc(var(--i) * 10px - 20px)) rotate(calc((var(--i) - 2) * 2.2deg)); transform-origin: 50% 100%;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), z-index 0s; z-index: calc(5 - (var(--i) - 2) * (var(--i) - 2)); color: var(--ink); }
.cover img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; background: #fff; box-shadow: 0 1px 2px rgba(13,27,42,.12), 0 14px 32px -10px rgba(18,57,92,.35); }
.cover .cap { display: block; font-size: 12.5px; color: var(--muted); padding: 10px 6% 0; opacity: 0; transition: opacity .25s; }
.cover .cap b { display: block; color: var(--navy); font-family: var(--f-tech); font-size: 12px; letter-spacing: .04em; }
.cover:hover, .cover:focus-visible { transform: translateY(-18px) rotate(0deg) scale(1.04); z-index: 10; color: var(--ink); }
.cover:hover .cap, .cover:focus-visible .cap { opacity: 1; }

/* news photos */
.news li > div { display: grid; gap: 12px; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; }
.shot { padding: 0; border: 0; background: none; cursor: zoom-in; width: 112px; height: 84px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,22,36,.88); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 18px; right: 22px; font-size: 34px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

@media (max-width: 760px) {
  .covers { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 56%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 16px; gap: 14px; }
  .cover { margin: 0; transform: none; scroll-snap-align: start; }
  .cover .cap { opacity: 1; }
  .shot { width: 30%; height: auto; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .cover, .cover img, .person .photo img { transition: none; } }
.solo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.solo-row .people { grid-template-columns: 1fr; }
.covers { padding-inline: 5%; }
@media (max-width: 980px) { .solo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .solo-row { grid-template-columns: 1fr; } }
.solo-row .group-title { flex-wrap: wrap; gap: 2px 10px; margin-top: 36px; }
.solo-row .group-title h3 { font-size: 19px; }
/* larger director photo and alumni logos */
.director .portrait { width: min(260px, 72%); aspect-ratio: 4 / 5; object-position: center 22%; }
.alum .org { max-height: 40px; max-width: 160px; }
/* alumni as photo cards: five across, so the row is always full */
.alumni { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; background: none; border: 0; }
.alum { display: grid; grid-template-columns: 1fr; gap: 0; align-content: start; background: #fff; border: 1px solid var(--line); padding: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.alum-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; background: var(--mist); }
.alum > div { padding: 16px 16px 18px; display: grid; gap: 4px; }
.alum b { font-size: 16px; line-height: 1.35; }
.alum b span { font-weight: 500; color: var(--muted); font-size: 14px; }
.alum .org { max-height: 48px; max-width: 100%; margin-top: 10px; justify-self: start; }
@media (max-width: 980px) { .alumni { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .alumni { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alumni .alum { padding: 0; }
.alumni .alum > div { padding: 16px 16px 18px; background: none; }
.alum b span { display: block; }
.alum .org { max-height: 52px; max-width: 90%; }

/* director photo tilt */
.director .portrait { transition: transform .25s ease-out, box-shadow .25s; transform-style: preserve-3d; will-change: transform; cursor: default; }
.director .portrait:hover { box-shadow: 0 18px 40px -12px rgba(8,22,36,.55); }

/* news as photo cards, caption over the image */
#newsList.news { display: block; }
.news-year { display: flex; align-items: baseline; gap: 16px; margin: 8px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.news-year h3 { position: static; font-family: var(--f-tech); font-size: 40px; font-weight: 700; color: var(--navy); padding: 0; }
.ncards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 56px; }
.ncard { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: pointer; text-align: left; color: #fff;
  background: var(--grad); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); font: inherit; }
.ncard.featured { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.ncard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ncard:hover img, .ncard:focus-visible img { transform: scale(1.05); }
.ncard .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,36,0) 35%, rgba(8,22,36,.55) 65%, rgba(8,22,36,.88) 100%); }
.ncard .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 8px; }
.ncard time { font-family: var(--f-tech); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: var(--sky-pale); }
.ncard .t { font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; line-height: 1.45; max-width: 60ch; text-wrap: pretty; }
.ncard.featured .t { font-size: clamp(17px, 2vw, 24px); font-weight: 700; }
.count-badge { position: absolute; top: 16px; left: 16px; font-family: var(--f-tech); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 5px 10px;
  background: rgba(255,255,255,.88); color: var(--navy); }

/* gallery */
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(1200px, 100%); }
.lightbox figure img { max-height: 76vh; }
.lightbox figcaption { color: #e6eef5; font-size: 15px; display: grid; gap: 4px; text-align: center; max-width: 70ch; }
.lightbox figcaption time { font-family: var(--f-tech); color: var(--sky-pale); font-weight: 600; letter-spacing: .08em; }
.lightbox figcaption .n { font-family: var(--f-tech); font-size: 13px; color: #9fb4c6; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 40px; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

@media (max-width: 760px) {
  .ncards { grid-template-columns: 1fr; }
  .ncard, .ncard.featured { aspect-ratio: 4 / 3; }
  .lb-nav { width: 40px; height: 56px; font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .ncard img, .director .portrait { transition: none; } }
.ncard.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .ncard.wide { aspect-ratio: 4 / 3; } }
