:root {
  --navy: #071c26;
  --navy-soft: #0c2a35;
  --green: #00856f;
  --green-light: #15b99a;
  --mint: #d9f2ec;
  --paper: #f5f4ef;
  --white: #ffffff;
  --ink: #152527;
  --muted: #657274;
  --line: rgba(17, 43, 47, 0.15);
  --font-display: "DM Sans", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(7, 28, 38, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green-light);
  border-radius: 50%;
}

.brand-mark::before { left: 2px; top: 3px; }
.brand-mark::after { right: 2px; top: 3px; }
.brand-mark span:nth-child(1) { left: 13px; bottom: 2px; }
.brand-mark span:nth-child(2) {
  left: 8px;
  top: 10px;
  width: 19px;
  height: 2px;
  border-radius: 0;
  transform: rotate(58deg);
}
.brand-mark span:nth-child(3) {
  left: 7px;
  top: 10px;
  width: 19px;
  height: 2px;
  border-radius: 0;
  transform: rotate(-58deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.66);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--green-light);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 0;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px 0;
  background: white;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 100vh;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/chemistry-lab-hero.png");
  background-position: center;
  background-size: cover;
  animation: heroScale 14s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 24, 33, 0.98) 0%, rgba(5, 24, 33, 0.86) 36%, rgba(5, 24, 33, 0.18) 72%),
    linear-gradient(0deg, rgba(5, 24, 33, 0.45) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(90%, 1240px);
  margin: 56px auto 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: #6ddac7;
  font-style: normal;
}

.hero-description {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 25px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--green);
}

.button-primary:hover {
  background: #079d84;
}

.button-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 46px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 17px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.section {
  padding: 120px max(5vw, calc((100vw - 1240px) / 2));
}

.section-label {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label.light {
  color: var(--green-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12vw;
  margin-top: 60px;
}

.intro-heading h2,
.section-heading h2,
.publication-header h2,
.contact-content h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.intro-copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.65;
}

.intro-copy > p:not(.lead) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  margin-top: 18px;
  padding-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 100px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.stats div {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 500;
  line-height: 1.2;
}

.stats span {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.research-section,
.publication-section {
  color: white;
  background: var(--navy);
}

.section-heading,
.publication-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 65px;
}

.section-heading h2,
.publication-header h2 {
  margin-top: 16px;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.research-list {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.research-card {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-columns: 80px 150px 1fr 40px;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: background 0.25s ease, padding 0.25s ease;
}

.research-card:hover {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.035);
}

.card-number,
.card-kicker {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.research-card h3 {
  margin: 5px 0 10px;
  font-size: 23px;
}

.research-card p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.research-card > a {
  font-size: 24px;
}

.research-icon {
  position: relative;
  width: 110px;
  height: 100px;
}

.molecule-icon i {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #32bea5;
  border: 3px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #32bea5;
}

.molecule-icon i::after {
  position: absolute;
  top: 3px;
  left: 8px;
  z-index: -1;
  width: 47px;
  height: 1px;
  content: "";
  background: rgba(90, 226, 201, 0.65);
  transform-origin: left;
}

.molecule-icon i:nth-child(1) { top: 42px; left: 48px; }
.molecule-icon i:nth-child(2) { top: 6px; left: 16px; }
.molecule-icon i:nth-child(2)::after { transform: rotate(48deg); }
.molecule-icon i:nth-child(3) { top: 8px; right: 10px; }
.molecule-icon i:nth-child(3)::after { transform: rotate(132deg); }
.molecule-icon i:nth-child(4) { bottom: 5px; left: 9px; }
.molecule-icon i:nth-child(4)::after { transform: rotate(-45deg); }
.molecule-icon i:nth-child(5) { right: 5px; bottom: 4px; }
.molecule-icon i:nth-child(5)::after { transform: rotate(225deg); }

.crystal-icon {
  transform: rotate(30deg);
}

.crystal-icon i {
  position: absolute;
  width: 55px;
  height: 55px;
  border: 1px solid rgba(57, 212, 184, 0.75);
}

.crystal-icon i:nth-child(1) { top: 20px; left: 22px; }
.crystal-icon i:nth-child(2) { top: 8px; left: 42px; }
.crystal-icon i:nth-child(3) { top: 36px; left: 52px; }

.spectrum-icon {
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 18px;
}

.spectrum-icon i {
  width: 6px;
  background: var(--green-light);
}

.spectrum-icon i:nth-child(1) { height: 18px; opacity: 0.3; }
.spectrum-icon i:nth-child(2) { height: 35px; opacity: 0.5; }
.spectrum-icon i:nth-child(3) { height: 70px; }
.spectrum-icon i:nth-child(4) { height: 44px; opacity: 0.75; }
.spectrum-icon i:nth-child(5) { height: 26px; opacity: 0.45; }
.spectrum-icon i:nth-child(6) { height: 57px; opacity: 0.85; }

.people-section,
.news-section {
  background: #eeede7;
}

.dark-heading > p {
  color: var(--muted);
}

.professor-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  min-height: 530px;
  background: white;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at 50% 35%, #c7d9d4 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 50% 84%, #b2ccc5 0 29%, transparent 29.5%),
    linear-gradient(145deg, #234a4c, #0e272e);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
}

.portrait-placeholder::after {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.professor-photo {
  display: flex;
  align-items: center;
  background: var(--navy);
}

.professor-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.professor-photo::after {
  display: none;
}

.professor-copy {
  padding: 70px clamp(40px, 7vw, 100px);
}

.professor-copy h3 {
  margin: 0;
  font-size: 34px;
}

.professor-copy h3 small {
  margin-left: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.professor-field {
  margin: 8px 0 26px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 12px;
}

.professor-copy > p:not(.eyebrow):not(.professor-field) {
  max-width: 610px;
  color: var(--muted);
}

.professor-copy dl {
  margin: 30px 0 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.professor-copy dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
}

.professor-copy dt {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.professor-copy dd {
  margin: 0;
  font-size: 13px;
}

.member-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  margin-top: 24px;
  background: var(--navy-soft);
  color: white;
}

.member-summary > div,
.member-summary > a {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.member-summary strong {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.25;
}

.member-summary span {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 10px;
}

.member-summary > a {
  gap: 25px;
  flex-direction: row;
  color: var(--green-light);
  font-size: 13px;
}

.publication-header {
  align-items: center;
}

.publication-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.publication-item {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 30px;
  padding: 36px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.publication-item.has-figure {
  grid-template-columns: 72px 210px minmax(0, 1fr) 40px;
  gap: 28px;
}

.publication-figure {
  align-self: start;
  width: 210px;
  height: 145px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background: white;
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.publication-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.publication-figure-empty {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.publication-figure-empty:hover {
  transform: none;
  box-shadow: none;
}

.pub-year,
.journal {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.publication-item h3 {
  margin: 5px 0 9px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.publication-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.publication-item .journal {
  color: var(--green-light);
}

.pub-link {
  align-self: center;
  font-size: 20px;
}

.sample-notice {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(27, 53, 48, 0.09);
}

.news-visual {
  position: relative;
  height: 225px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: center;
}

.news-visual-one {
  background:
    radial-gradient(circle at 30% 35%, rgba(29, 207, 171, 0.45), transparent 18%),
    radial-gradient(circle at 70% 60%, rgba(51, 136, 193, 0.38), transparent 28%),
    linear-gradient(140deg, #073138, #0a1d2b);
}

.news-visual-two {
  background:
    repeating-linear-gradient(60deg, transparent 0 22px, rgba(70, 218, 190, 0.12) 23px 24px),
    linear-gradient(135deg, #315d58, #102b32);
}

.news-visual-three {
  background:
    linear-gradient(115deg, transparent 45%, rgba(88, 222, 197, 0.22) 46% 47%, transparent 48%),
    linear-gradient(40deg, #0d242c, #416e67);
}

.news-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 31px;
}

.news-copy time {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
}

.news-copy h3 {
  min-height: 78px;
  margin: 11px 0 22px;
  font-size: 16px;
  line-height: 1.65;
}

.news-copy a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  border-top: 1px solid var(--line);
}

.contact-section {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 10vw;
  padding: 100px max(5vw, calc((100vw - 1240px) / 2));
  color: white;
  background:
    radial-gradient(circle at 75% 25%, rgba(24, 167, 140, 0.21), transparent 23%),
    linear-gradient(120deg, #0a3038, #061923 68%);
}

.contact-content > p:not(.eyebrow) {
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.contact-details {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details > div {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details span {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.contact-details p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 25px 5vw;
  color: rgba(255, 255, 255, 0.5);
  background: #04141b;
  font-family: var(--font-display);
  font-size: 10px;
}

.footer-brand {
  color: white;
}

.back-to-top {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroScale {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

@media (max-width: 960px) {
  .site-header {
    height: 72px;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(78vw, 380px);
    height: 100vh;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 90px 50px;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 17px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 24, 33, 0.95), rgba(5, 24, 33, 0.42));
  }

  .intro-grid {
    gap: 7vw;
  }

  .research-card {
    grid-template-columns: 50px 120px 1fr 30px;
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-card.featured {
    grid-column: auto;
    display: block;
  }

  .contact-section {
    gap: 6vw;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > p {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 24, 33, 0.96), rgba(5, 24, 33, 0.7));
  }

  .hero-content {
    width: 88%;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 85px 6vw;
  }

  .intro-grid,
  .professor-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 45px;
    margin-top: 35px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 30px 0;
    margin-top: 65px;
  }

  .stats div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .section-heading,
  .publication-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .research-card {
    grid-template-columns: 42px 1fr 24px;
    min-height: 210px;
  }

  .research-icon {
    display: none;
  }

  .professor-card {
    min-height: auto;
  }

  .portrait-placeholder {
    min-height: 390px;
  }

  .professor-copy {
    padding: 45px 30px;
  }

  .member-summary {
    grid-template-columns: 1fr 1fr;
  }

  .member-summary > a {
    grid-column: 1 / -1;
    min-height: 90px;
  }

  .publication-item {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .publication-item.has-figure {
    grid-template-columns: 58px 1fr;
  }

  .publication-item.has-figure .publication-figure {
    grid-column: 2;
    width: min(100%, 320px);
    height: 190px;
    margin-bottom: 6px;
  }

  .publication-item.has-figure .publication-figure-empty {
    display: none;
  }

  .publication-item.has-figure > div {
    grid-column: 2;
  }

  .pub-link {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-column: auto;
    display: block;
  }

  .contact-section {
    gap: 70px;
    padding: 85px 6vw;
  }

  footer {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-direction: column;
    padding: 40px 6vw;
  }

  .back-to-top {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Multi-page layouts */
.main-nav a.active:not(.nav-contact)::after {
  width: 100%;
}

.main-nav .nav-contact.active {
  color: var(--navy);
  background: var(--green-light);
  border-color: var(--green-light);
}

.inner-header {
  background: rgba(7, 28, 38, 0.97);
  backdrop-filter: blur(12px);
}

.page-hero {
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  padding: 150px max(5vw, calc((100vw - 1240px) / 2)) 85px;
  color: white;
  background:
    radial-gradient(circle at 78% 35%, rgba(21, 185, 154, 0.2), transparent 22%),
    linear-gradient(120deg, #0a3038, #061923 68%);
}

.page-hero > div {
  width: 100%;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.page-hero > div > p:last-child {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.home-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  align-items: start;
}

.home-intro-copy {
  position: sticky;
  top: 120px;
}

.home-intro-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.home-intro-copy > p:last-child {
  color: var(--muted);
}

.home-page-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-page-card {
  position: relative;
  min-height: 230px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, background 0.25s ease;
}

.home-page-card:hover {
  color: white;
  background: var(--navy-soft);
}

.home-page-card > span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
}

.home-page-card h3 {
  margin: 48px 0 5px;
  font-family: var(--font-display);
  font-size: 22px;
}

.home-page-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.home-page-card:hover p {
  color: rgba(255, 255, 255, 0.55);
}

.home-page-card i {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 20px;
  font-style: normal;
}

.standalone-section,
.standalone-light {
  padding-top: 95px;
}

.research-process {
  margin-top: 80px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.research-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin-bottom: 70px;
}

.research-overview p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.research-overview .lead-light {
  color: white;
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.6;
}

.research-process > span {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.research-process > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.research-process strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 500;
}

.research-process i {
  color: var(--green-light);
  font-style: normal;
}

.values-section {
  background: #eeede7;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  min-height: 280px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
}

.value-card h3 {
  margin: 65px 0 12px;
  font-family: var(--font-display);
  font-size: 25px;
}

.value-card p {
  color: var(--muted);
  font-size: 13px;
}

.members-heading {
  margin: 95px 0 35px;
}

.members-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 50px);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-card {
  padding-bottom: 22px;
  background: white;
}

.member-photo {
  height: 285px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(145deg, #275853, #0b2931);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.member-photo.alt {
  background: linear-gradient(145deg, #4f706d, #15343a);
}

.member-card h3 {
  margin: 20px 22px 3px;
  font-size: 18px;
}

.member-card p {
  margin: 0 22px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
}

.dark-notice {
  color: var(--muted);
}

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 100px;
}

.cv-section h2,
.awards-section h2 {
  margin: 12px 0 35px;
  font-size: clamp(30px, 3vw, 42px);
}

.cv-section article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.cv-section time,
.awards-list time {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.cv-section h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.cv-section article p,
.awards-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.awards-section {
  margin-top: 100px;
}

.awards-list {
  border-top: 1px solid var(--line);
}

.awards-list article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.recruit-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 100px;
  padding: 55px;
  color: white;
  background: var(--navy-soft);
}

.recruit-strip h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
}

.recruit-strip div > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.publication-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.publication-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.scholar-link {
  flex: 0 0 auto;
  padding: 9px 0;
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 11px;
  border-bottom: 1px solid var(--green-light);
}

.profile-links {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
}

.publication-item h3 a {
  transition: color 0.2s ease;
}

.publication-item h3 a:hover {
  color: var(--green-light);
}

.publication-item .pub-authors {
  line-height: 1.7;
}

.publication-item .pub-authors strong {
  color: rgba(255, 255, 255, 0.85);
}

.author-note {
  display: block;
  margin-top: 4px;
  color: var(--green-light);
  font-size: 10px;
}

.publication-item .publication-summary {
  max-width: 880px;
  margin-top: 15px;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.75;
  border-left: 2px solid var(--green);
}

.publication-item[hidden] {
  display: none;
}

.publication-source {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.publication-filter button {
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.publication-filter button.active,
.publication-filter button:hover {
  color: var(--navy);
  background: var(--green-light);
  border-color: var(--green-light);
}

.contact-page-hero {
  min-height: 440px;
}

.contact-page-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10vw;
  padding: 110px max(5vw, calc((100vw - 1240px) / 2));
  color: white;
  background: var(--navy);
}

.contact-invitation h2 {
  margin: 0;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.contact-invitation > p:not(.eyebrow) {
  max-width: 570px;
  margin: 28px 0 35px;
  color: rgba(255, 255, 255, 0.56);
}

.contact-info-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-info-panel > div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-info-panel span {
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.contact-info-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.map-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 50px;
  color: white;
  background:
    linear-gradient(rgba(5, 28, 34, 0.75), rgba(5, 28, 34, 0.75)),
    repeating-linear-gradient(45deg, #50716c 0 2px, #69827e 2px 24px);
  text-align: center;
}

.map-placeholder div {
  padding: 35px 55px;
  background: rgba(7, 28, 38, 0.86);
}

.map-placeholder span {
  display: block;
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.map-placeholder strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
}

.map-placeholder p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

@media (max-width: 960px) {
  .home-intro {
    grid-template-columns: 1fr;
  }

  .home-intro-copy {
    position: static;
  }

  .member-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }

  .publication-item.has-figure {
    grid-template-columns: 70px 170px minmax(0, 1fr) 28px;
    gap: 20px;
  }

  .publication-figure {
    width: 170px;
    height: 125px;
  }
}

@media (max-width: 700px) {
  .page-hero {
    min-height: 390px;
    padding: 135px 6vw 65px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .publication-item.has-figure {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .publication-item.has-figure .publication-figure {
    grid-column: 2;
    width: min(100%, 320px);
    height: 190px;
  }

  .publication-item.has-figure .publication-figure-empty {
    display: none;
  }

  .publication-item.has-figure > div {
    grid-column: 2;
  }

  .home-page-links,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .home-page-card {
    min-height: 190px;
  }

  .member-grid {
    grid-template-columns: 1fr;
  }

  .member-photo {
    height: 340px;
  }

  .research-process > div {
    align-items: flex-start;
    gap: 13px;
    flex-direction: column;
  }

  .research-overview {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cv-section article,
  .awards-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .recruit-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 28px;
  }

  .research-process i {
    transform: rotate(90deg);
  }

  .contact-page-content {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 85px 6vw;
  }

  .publication-toolbar {
    flex-direction: column;
    margin-bottom: 35px;
  }

  .publication-filter {
    margin-bottom: 0;
  }

  .publication-item .publication-summary {
    font-size: 12px;
  }
}
