/* GNU Geophysics Lab. Common foundations followed by responsive page styles. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', system-ui, sans-serif; color: var(--text-body); background: white; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--text-main); }
#navbar { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--gray-line); }
#navbar .nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
#navbar .nav-logo-img { border-radius: 50%; object-fit: contain; flex-shrink: 0; }
#navbar .nav-logo-text-main { color: var(--text-main); line-height: 1.2; font-weight: 700; }
#navbar .nav-logo-text-sub { color: var(--text-sub); line-height: 1; }
.nav-link { color: var(--text-sub); text-decoration: none; font-weight: 500; }
#hamburger span { background: var(--text-main); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; background: var(--blue); font-weight: 600; text-decoration: none; transition: background .15s; }
.btn-primary:hover { background: var(--blue-dark); }
.section-py { padding-block: 80px; }
.section-title { font-weight: 700; margin-bottom: 32px; }
.page-hero { border-bottom: 1px solid var(--gray-line); }
.page-hero-sub { color: var(--text-sub); margin-top: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-sub); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--blue); }
.news-item { display: flex; border-bottom: 1px solid var(--gray-line); }
.news-item:last-child { border-bottom: 0; }
.pub-item { border-bottom: 1px solid var(--gray-line); }
.pub-authors, .pub-journal { color: var(--text-sub); }
.pub-doi { color: var(--blue); }
.pub-doi:hover { text-decoration: underline; }
.filter-btn { border: 1px solid var(--gray-line); background: white; color: var(--text-sub); cursor: pointer; font-weight: 500; }
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.gallery-item { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; background: var(--gray-bg); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(22,53,75,.55); opacity: 0; display: flex; align-items: flex-end; padding: 20px; }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: white; font-size: 15px; }
.bg-gray { background: var(--gray-bg); }
.map-container { border: 1px solid var(--gray-line); overflow: hidden; border-radius: 6px; }
footer { color: var(--text-sub); border-top: 1px solid var(--gray-line); }
footer a { color: inherit; }
footer a:hover { color: var(--blue); }
@media(max-width:700px) { .section-py { padding-block: 48px; } }

/* 2026 research-led redesign. Existing research diagrams retain their styles. */
:root {
  --blue: #135D86; --blue-dark: #104C6D; --blue-lt: #EEF4F7;
  --gray-bg: #F4F7F9; --gray-line: #DCE5EB;
  --text-main: #16354B; --text-body: #203747; --text-sub: #526879;
}
[hidden] { display: none !important; }
body { font-size: 16px; line-height: 1.8; }
a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid #135D86; outline-offset: 5px; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
main { outline: none; }
section[id], article[id] { scroll-margin-top: 108px; }
.container { width: min(1180px, calc(100% - 64px)); max-width: 1180px; margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; background: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
#navbar { box-shadow: none; background: #fff; }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
#navbar .nav-logo-img { width: 48px; height: 48px; border: 0; padding: 0; }
#navbar .nav-logo-text-main { display: block; font-family: Georgia, serif; font-size: 21px; letter-spacing: -.4px; }
#navbar .nav-logo-text-sub { display: block; font-size: 11px; margin-top: 8px; }
.desktop-nav { display: flex; gap: 12px; }
.nav-link { font-size: 15px; border-radius: 0; padding: 10px 8px; }
.nav-link.active, .nav-link:hover { background: transparent; color: var(--blue); }
.nav-link.active { box-shadow: inset 0 -2px var(--blue); }
#mobile-menu { display: none; }
#hamburger { display: none; border: 0; background: transparent; padding: 12px; cursor: pointer; }
#hamburger span { display: block; width: 24px; height: 2px; margin: 5px 0; transition: transform .2s; }
#hamburger[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
#hamburger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
#hamburger[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.btn-primary { padding: 13px 22px; border-radius: 4px; box-shadow: none; font-size: 15px; }
.btn-primary:hover { box-shadow: none; transform: none; }
.text-link { display: inline-block; color: var(--blue); font-weight: 600; text-decoration: underline; }
.home-intro { padding-block: 64px 56px; text-align: center; }
.intro-copy { max-width: 800px; margin-inline: auto; }
.intro-english { font-family: Georgia, serif; font-size: 24px; color: var(--text-sub); margin-top: 12px; }
.institution { color: var(--text-sub); font-size: 15px; margin-bottom: 18px; }
.intro-copy h1 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: -.045em; }
.intro-links { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.latest-research { background: var(--text-main); color: #E7EFF4; padding-block: 40px; }
.latest-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.section-kicker { font-size: 16px; font-weight: 600; }
.paper-date { font-size: 14px; margin-top: 6px; color: #B8D0DF; }
.latest-research h2 { font-size: clamp(20px, 2vw, 27px); color: white; max-width: 780px; font-weight: 500; line-height: 1.45; }
.latest-research p { font-size: 14px; margin-top: 12px; }
.latest-research .pub-doi { color: #DAEDF9; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 38px; }
.section-heading p { color: var(--text-sub); margin-top: 12px; }
.research-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.research-themes article { border-top: 3px solid var(--blue); padding-top: 24px; }
.research-themes h3 { font-size: 22px; margin-bottom: 16px; }
.research-themes p { color: var(--text-sub); margin-bottom: 20px; }
.research-themes a { display: block; color: var(--blue); font-size: 15px; text-decoration: underline; margin-top: 10px; }
.news-section { background: var(--gray-bg); }
.news-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; }
.news-list { margin-top: 24px; }
.news-item { gap: 28px; padding-block: 22px; }
.news-item time { color: var(--text-sub); font-size: 14px; white-space: nowrap; padding-top: 2px; }
.news-item a { font-size: 15px; line-height: 1.8; display: block; }
.news-item a:hover { color: var(--blue); text-decoration: underline; }
.news-category { color: var(--text-sub); font-size: 12px; }
.join-panel { padding-left: 40px; border-left: 1px solid var(--gray-line); }
.join-panel h2 { font-size: 27px; line-height: 1.5; }
.join-panel p { margin-block: 24px; color: var(--text-sub); }
.join-panel .text-link { display: block; margin-top: 20px; }
.page-hero { padding-block: 44px; background: var(--gray-bg); }
.page-hero::after, .section-title::after { display: none; }
.page-hero-title { font-size: 38px; }
.page-hero-sub { font-size: 16px; }
.section-title { padding-bottom: 0; font-size: 28px; }
.breadcrumb { font-size: 13px; }
.publications-section { max-width: 1040px; }
.publication-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.filter-btn { font-size: 14px; min-height: 44px; padding: 8px 17px; border-radius: 4px; }
.result-count, .publication-note { font-size: 14px; color: var(--text-sub); }
.pub-item { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding-block: 30px; }
.pub-year { font-size: 17px; color: var(--text-sub); padding-top: 2px; }
.pub-content { min-width: 0; }
.pub-title { font-size: 18px; line-height: 1.6; font-weight: 600; margin-bottom: 10px; }
.pub-authors, .pub-journal { font-size: 14px; margin-bottom: 8px; }
.pub-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 15px; }
.pub-doi { font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.publication-note { margin-top: 32px; }
.gallery-empty { max-width: 620px; margin: 30px auto 60px; text-align: center; }
.gallery-empty p { margin-block: 24px 32px; color: var(--text-sub); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { border: 0; padding: 0; }
.lightbox { max-width: 95vw; max-height: 95vh; padding: 24px; background: white; border: 0; border-radius: 6px; }
.lightbox::backdrop { background: rgba(12, 30, 44, .85); }
.lightbox img { max-width: 85vw; max-height: 72vh; object-fit: contain; }
.lightbox p { margin-top: 16px; }
.lightbox-close { display: block; margin: 0 0 16px auto; padding: 8px 16px; cursor: pointer; color: var(--blue); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-lead { margin-block: 24px; color: var(--text-sub); max-width: 440px; }
.contact-details { display: grid; grid-template-columns: 90px 1fr; gap: 18px; margin-block: 32px; font-size: 15px; }
.contact-details dt { color: var(--text-sub); }
.contact-details dd { overflow-wrap: anywhere; }
.contact-details a { text-decoration: underline; }
.contact-note { font-size: 14px; margin-block: 24px; color: var(--text-sub); }
.contact-layout .map-container { margin-top: 24px; box-shadow: none; }
.research-update { background: var(--blue-lt); padding: 20px; border-left: 3px solid var(--blue); margin-bottom: 24px; font-size: 16px; }
.research-update a { text-decoration: underline; }
main .text-xs { font-size: 13px; line-height: 1.7; }
main .text-sm { font-size: 15px; line-height: 1.8; }
.card, .member-card { box-shadow: none; }
.card:hover { transform: none; box-shadow: none; }
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
.animate-fade-up { animation: none; }
footer { background: white; font-size: 14px; padding-top: 48px; }
.footer-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; }
.footer-brand { font-family: Georgia, serif; font-size: 22px; margin-bottom: 14px; }
.footer-layout address { font-style: normal; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 4px 20px; }
.footer-links .nav-link { padding: 4px 0; font-size: 14px; box-shadow: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--gray-line); padding-block: 24px; margin-top: 40px; }
@media (min-width: 960px) { #mobile-menu.open { display: none; } }
@media (max-width: 959px) {
  .desktop-nav { display: none; }
  #hamburger { display: block; }
  #mobile-menu { display: flex; flex-wrap: wrap; flex-direction: row; gap: 6px; padding-block: 12px; }
  .nav-ready #mobile-menu { display: none; }
  .nav-ready #mobile-menu.open { display: flex; }
  #mobile-menu .nav-link { padding: 12px; border: 0; }
  .home-intro { padding-block: 48px; }
  .intro-copy h1 { font-size: 38px; }
  .news-layout, .contact-layout { gap: 40px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .nav-row { min-height: 76px; gap: 10px; }
  #navbar .nav-logo { gap: 8px; }
  #navbar .nav-logo-img { width: 38px; height: 38px; }
  #navbar .nav-logo-text-main { font-size: 18px; }
  #navbar .nav-logo-text-sub { font-size: 10px; }
  .home-intro, .latest-layout, .news-layout, .contact-layout { grid-template-columns: 1fr; }
  .home-intro { padding-block: 40px; }
  .intro-copy h1 { font-size: 34px; }
  .institution { margin-bottom: 18px; }
  .latest-layout { gap: 20px; }
  .latest-research { padding-block: 32px; }
  .latest-research h2 { font-size: 23px; }
  .section-heading { display: block; }
  .section-heading > a { margin-top: 20px; }
  .research-themes { grid-template-columns: 1fr; gap: 34px; }
  .news-item { gap: 20px; }
  .join-panel { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--gray-line); }
  .page-hero { padding-block: 32px; }
  .page-hero-title { font-size: 32px; }
  .pub-item { grid-template-columns: 1fr; gap: 8px; }
  .pub-title { font-size: 17px; }
  .pub-links { gap: 12px; }
  .pub-year { font-size: 14px; }
  .footer-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
p, li, dd { word-break: keep-all; overflow-wrap: anywhere; }
.figure-detail { display: block; }

.research-overview { border-top: 1px solid var(--gray-line); }
.campus-banner { margin-bottom: 56px; }
.campus-banner > a { display: block; }
.campus-banner img { display: block; width: 100%; height: auto; border-radius: 6px; }
@media(max-width:700px) { .campus-banner { margin-bottom: 36px; } }

.research-areas { padding-bottom: 24px; }
.research-area { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; border-top: 1px solid var(--gray-line); padding-block: 48px; }
.research-area h2 { font-size: 29px; }
.area-english { font-size: 15px; margin-top: 12px; color: var(--text-sub); }
.area-content p { color: var(--text-sub); margin-bottom: 20px; }
.area-content ul { list-style: disc; padding-left: 20px; color: var(--text-body); }
.area-content li { margin-top: 8px; }
.research-publications-link { padding-bottom: 64px; }
@media(max-width:700px) { .research-area { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; } .research-area h2 { font-size: 26px; } }

.image-credit { font-size: 11px; line-height: 1.6; padding-bottom: 20px; }
.image-credit a { text-decoration: underline; }



.members-list { padding-block: 36px 48px; }
.member-profile { display: grid; grid-template-columns: 245px 1fr; gap: 48px; padding-block: 0 32px; }
.profile-identity { min-width: 0; }
.member-role-heading { font-size: 22px; margin-bottom: 20px; }
.profile-photo { display: block; width: 120px; height: auto; margin-bottom: 18px; border-radius: 4px; }
.profile-identity-text h3 { font-size: 27px; line-height: 1.25; }
.profile-english { font-family: Georgia, serif; font-size: 18px; margin-top: 4px; }
.profile-rank { font-weight: 600; color: var(--blue); margin-top: 8px; }
.profile-identity-text > p, .profile-identity-text > a { font-size: 14px; line-height: 1.7; }
.profile-specialization { color: var(--text-sub); }
.profile-identity .text-link { margin-top: 6px; }
.profile-details { min-width: 0; padding-top: 4px; }
.profile-focus { margin-bottom: 20px; }
.profile-focus h3 { font-size: 18px; margin-bottom: 8px; }
.profile-focus p { font-size: 15px; color: var(--text-sub); line-height: 1.7; }
.profile-history { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding-block: 12px; border-top: 1px solid var(--gray-line); }
.profile-history > h3 { font-size: 18px; padding-top: 5px; }
.profile-timeline { list-style: none; margin: 0; padding: 0; }
.profile-timeline li { display: grid; grid-template-columns: 137px 1fr; gap: 16px; padding-block: 5px; align-items: baseline; }
.profile-period { font-size: 13px; white-space: nowrap; color: var(--text-sub); }
.profile-timeline p { margin: 0; font-size: 14px; line-height: 1.7; }
.profile-publications { font-size: 14px; margin-top: 12px; }
.researchers-section { border-top: 1px solid var(--gray-line); padding-top: 28px; }
.researchers-section > h2 { font-size: 25px; margin-bottom: 24px; }
.researchers-list:empty { min-height: 70px; }
.researchers-list .member-profile + .member-profile { border-top: 1px solid var(--gray-line); padding-top: 28px; }
.research-area:first-child { border-top: 0; }
@media(max-width:959px) { .member-profile { grid-template-columns: 195px 1fr; gap: 30px; } .profile-history { grid-template-columns: 1fr; gap: 8px; } .profile-timeline li { grid-template-columns: 1fr; gap: 2px; } }
@media(max-width:700px) { .members-list { padding-block: 28px; } .member-profile { grid-template-columns: 1fr; gap: 26px; } .profile-photo { width: 100px; } .profile-identity-text h3 { font-size: 25px; } .profile-history > h3 { padding-top: 0; } .profile-timeline li { padding-block: 6px; } .researchers-list:empty { min-height: 48px; } }
