*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a1a; background: #fff; font-size: 15px; line-height: 1.6; }

/* NAV */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem; height: 62px; background: #fff; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 100; }
.nav-logo { font-size: 15px; font-weight: 600; color: #1a1a1a; text-decoration: none; }
.nav-logo span { color: #185FA5; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: 13px; color: #555; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: #185FA5; }

/* HERO */
.hero { background: #042C53; padding: 4.5rem 2.5rem 4rem; }
.hero-inner { max-width: 940px; margin: 0 auto; display: flex; gap: 3rem; align-items: center; }
.hero h1 { font-size: 28px; font-weight: 600; color: #fff; line-height: 1.35; margin-bottom: .75rem; }
.hero h1 small { display: block; font-size: 14px; font-weight: 400; opacity: .7; margin-bottom: 6px; }
.hero p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 500px; margin-bottom: 1.25rem; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 11px; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25); }
.av { width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 600; color: #fff; flex-shrink: 0; }
.hero-img-wrap { flex-shrink: 0; width: 260px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25); overflow: hidden; position: relative; }
.slideshow { width: 260px; height: 260px; position: relative; }
.slideshow .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.8s ease; }
.slideshow .slide.active { opacity: 1; }
.slide-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 6px; background: rgba(0,0,0,.2); }
.slide-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; }
.slide-dots .dot.active { background: #fff; }

/* PAGE HERO (sub-pages) */
.page-hero { background: #042C53; padding: 2.5rem 2.5rem; }
.page-hero-inner { max-width: 940px; margin: 0 auto; }
.page-hero h1 { font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.page-hero p { font-size: 14px; color: rgba(255,255,255,.75); }

/* LAYOUT */
.wrap { max-width: 940px; margin: 0 auto; padding: 3rem 2.5rem; }
.sec-head { margin-bottom: 1.5rem; }
.sec-head h2 { font-size: 20px; font-weight: 600; color: #1a1a1a; margin-bottom: 7px; }
.underline { width: 32px; height: 3px; background: #185FA5; border-radius: 2px; }
.divider { height: 1px; background: #f0f0f0; max-width: 940px; margin: 0 auto; }
.more-btn { display: inline-block; font-size: 13px; color: #185FA5; text-decoration: none; font-weight: 500; border: 1px solid #185FA5; padding: 6px 16px; border-radius: 8px; transition: background .15s, color .15s; }
.more-btn:hover { background: #185FA5; color: #fff; }

/* CARDS */
.card { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 1.25rem; }
.r-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.r-icon { width: 36px; height: 36px; border-radius: 8px; background: #E6F1FB; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.r-icon svg { width: 18px; height: 18px; stroke: #185FA5; fill: none; stroke-width: 1.6; }
.card h3 { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.card p { font-size: 13px; color: #666; line-height: 1.65; }

/* PUBLICATIONS */
.pub-list { display: flex; flex-direction: column; gap: 12px; }
.pub { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 1.1rem 1.25rem; }
.pub-yr { font-size: 12px; font-weight: 600; color: #185FA5; min-width: 36px; padding-top: 3px; flex-shrink: 0; }
.pub-fig { flex-shrink: 0; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid #e8e8e8; background: #f7f8fa; }
.pub-fig-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pub-fig-inner svg { width: 22px; height: 22px; stroke: #ccc; fill: none; stroke-width: 1.2; }
.pub-fig-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub h4 { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; line-height: 1.45; }
.pub p { font-size: 13px; color: #666; line-height: 1.5; }
.ptag { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 20px; background: #E6F1FB; color: #0C447C; margin-top: 6px; margin-right: 4px; }
.ptag.review { background: #FFF3CD; color: #856404; }
.ptag.book { background: #E1F5EE; color: #085041; }
.pub a.pub-link { font-size: 12px; color: #185FA5; text-decoration: none; margin-top: 5px; display: inline-block; }
.pub a.pub-link:hover { text-decoration: underline; }

/* YEAR HEADER */
.year-header { font-size: 17px; font-weight: 600; color: #042C53; margin: 2rem 0 .75rem; border-bottom: 2px solid #E6F1FB; padding-bottom: .5rem; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 1.25rem 1rem; text-align: center; }
.member-photo { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 10px; background: #f0f0f0; border: 1px solid #ddd; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { font-size: 22px; font-weight: 600; }
.bl { background: #E6F1FB; color: #0C447C; }
.tl { background: #E1F5EE; color: #085041; }
.pr { background: #EEEDFE; color: #3C3489; }
.am { background: #FAEEDA; color: #633806; }
.member h4 { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 3px; }
.member p { font-size: 12px; color: #888; line-height: 1.4; }
.member .detail { font-size: 11px; color: #aaa; margin-top: 3px; }

/* ALUMNI */
.alumni-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.alumni-item { display: flex; gap: 12px; align-items: flex-start; padding: .75rem 1rem; background: #fafafa; border: 1px solid #f0f0f0; border-radius: 10px; }
.alumni-num { font-size: 12px; color: #aaa; min-width: 24px; padding-top: 1px; }
.alumni-info h4 { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.alumni-info p { font-size: 12px; color: #888; }

/* TEAM PREVIEW (index) */
.m-av { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }

/* NEWS */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: .9rem 1.25rem; }
.ndate { font-size: 12px; color: #888; min-width: 50px; padding-top: 2px; flex-shrink: 0; }
.ntext { font-size: 13px; color: #1a1a1a; line-height: 1.55; }
.ntag { font-size: 11px; padding: 2px 8px; border-radius: 20px; margin-left: 6px; display: inline-block; }
.np { background: #EAF3DE; color: #27500A; }
.na { background: #FAEEDA; color: #633806; }
.ne { background: #EEEDFE; color: #3C3489; }
.nr { background: #FCEBEB; color: #791F1F; }
.news-expand { cursor: pointer; }
.news-expand:hover { border-color: #b5d4f4; background: #fafcff; }
.expand-toggle { display: inline-block; margin-left: 8px; font-size: 12px; color: #185FA5; font-weight: 500; user-select: none; }
.expand-body { display: none; font-size: 13px; color: #444; line-height: 1.8; }
.expand-body a { color: #185FA5; }
.news-expand.open .expand-body { display: inline; }
.news-expand.open .expand-toggle { color: #888; }

/* GALLERY */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gcell { border-radius: 10px; background: #f7f7f7; border: 1px solid #ebebeb; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.gcell svg { width: 24px; height: 24px; stroke: #bbb; fill: none; stroke-width: 1.2; }
.gcell span { font-size: 11px; color: #bbb; }

/* JOIN */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jbtn { display: inline-block; margin-top: 12px; font-size: 13px; padding: 6px 16px; border-radius: 8px; background: #185FA5; color: #fff; border: none; cursor: pointer; text-decoration: none; transition: background .15s; }
.jbtn:hover { background: #0C447C; }

/* FOOTER */
footer { background: #f7f8fa; border-top: 1px solid #ebebeb; padding: 2.5rem 2.5rem 1.5rem; margin-top: 1rem; }
.footer-in { max-width: 940px; margin: 0 auto; display: flex; gap: 3rem; justify-content: space-between; flex-wrap: wrap; }
footer h4 { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; }
footer p, footer a { font-size: 13px; color: #777; text-decoration: none; line-height: 1.9; display: block; }
footer a:hover { color: #185FA5; }
.footer-bot { max-width: 940px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid #e8e8e8; font-size: 12px; color: #aaa; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-inner { flex-direction: column; gap: 1.5rem; }
  .join-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in { flex-direction: column; gap: 1.5rem; }
  .wrap { padding: 2rem 1.25rem; }
}
