:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #151515;
  --muted: #6b6b6b;
  --line: #d9d9d9;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Inter", "Noto Sans KR", sans-serif;
}

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

.page-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--panel);
  border: 0;
  border-radius: 0;
  padding: 20px 20px 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-link {
  display: inline-flex;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  font-size: 16px;
  color: #171717;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-main {
  min-height: 600px;
  flex: 1;
  padding-bottom: 78px;
}

.contact-main {
  min-height: unset;
  padding-bottom: 36px;
}

.hero {
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: start;
}

.hero-title {
  margin: 0;
  max-width: 410px;
  font-size: clamp(56px, 6vw, 90px);
  line-height: 0.93;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-wordmark {
  width: min(100%, 500px);
  height: auto;
  display: block;
}

.hero-right p {
  margin: 138px 0 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  margin-top: auto;
  padding-top: 17px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-icons {
  width: 84px;
  height: auto;
  object-fit: contain;
}

.footer-text {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.35;
}

.section {
  width: 100%;
  margin: 0;
  padding: 28px 0 0;
  background: var(--panel);
  border: 0;
  border-radius: 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
}

.page-content {
  padding-top: 26px;
  flex: 1;
}

.tab-gap {
  padding-top: 78px;
}

.pubs-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.pub-year {
  border-top: 0;
  padding-top: 0;
  display: block;
}

.pub-year h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.pub-year ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pub-year li {
  margin: 0;
  color: #323232;
  font-size: 16px;
  line-height: 1.48;
}

.pub-entry {
  margin: 0 0 18px;
}

.pub-entry:last-child {
  margin-bottom: 0;
}

.pub-entry-title,
.pub-entry-authors,
.pub-entry-venue {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.45;
}

.pub-entry-title {
  font-weight: 600;
}

.pub-entry-authors {
  color: #222;
}

.pub-entry-venue {
  color: var(--muted);
  margin-bottom: 0;
}

.pub-source {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 220px));
  justify-content: center;
  gap: 20px;
}

.member-card {
  width: 100%;
  text-align: center;
}

.member-card h3 {
  margin: 6px 0 3px;
  font-size: 16px;
  font-weight: 700;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.member-photo {
  width: 82%;
  aspect-ratio: 1 / 1;
  border: 1px solid #cfcfcf;
  background: #fafafa;
  margin: 0 auto;
  overflow: hidden;
}

.member-photo.empty {
  background: linear-gradient(135deg, #f4f4f4 0%, #fcfcfc 100%);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-hero {
  padding-top: 74px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-lede {
  margin: 0 0 0 -3px;
  max-width: 560px;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-left: 0;
}

.contact-line-one,
.contact-line-two {
  display: block;
  white-space: nowrap;
}


.contact-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.contact-copy {
  margin-top: 0;
}

.contact-reach-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-reach-title .contact-card-icon {
  width: 1em;
  height: 1em;
}

.contact-copy p:last-child {
  margin-bottom: 0;
}

.contact-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.list-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fbfbfb;
}

@media (max-width: 900px) {
  .page-shell {
    margin: 0 auto;
    padding: 12px 14px 8px;
  }

  .section {
    margin: 0 auto;
    padding: 10px 0 0;
  }

  .section.tab-gap {
    padding-top: 96px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 15px;
  }

  .home-main {
    min-height: unset;
    padding-bottom: 62px;
  }

  .contact-main {
    padding-bottom: 26px;
  }

  .hero {
    padding-top: 46px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-right p {
    margin-top: 0;
    font-size: 16px;
  }

  .site-footer {
    gap: 12px;
  }

  .footer-text {
    font-size: 14px;
  }

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

  .people-grid {
    grid-template-columns: repeat(2, minmax(160px, 220px));
    justify-content: center;
    gap: 14px;
  }

  .member-card {
    max-width: 100%;
  }

  .member-photo {
    width: 80%;
  }

  .pub-year {
    display: block;
  }

  .contact-hero {
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-lede {
    margin-left: 0;
    max-width: none;
    font-size: 24px;
    line-height: 1.1;
  }

  .contact-copy {
    margin-top: 0;
  }

  .contact-reach-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .pub-entry {
    margin-bottom: 16px;
  }
}

@media (max-width: 680px) {
  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 14px;
  }

  .section.tab-gap {
    padding-top: 92px;
  }

  .contact-main {
    padding-bottom: 20px;
  }

  .people-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .member-photo {
    width: min(78%, 220px);
  }

  .pub-year h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .pub-entry-title,
  .pub-entry-authors,
  .pub-entry-venue {
    font-size: 15px;
    line-height: 1.42;
  }

  .contact-lede {
    font-size: 20px;
    line-height: 1.1;
  }

  .contact-reach-title {
    font-size: 20px;
  }

  .contact-copy p {
    font-size: 15px;
    line-height: 1.42;
  }
}

@media (max-width: 540px) {
  .site-header {
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
    max-width: 76%;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-wordmark {
    width: min(100%, 420px);
  }
}
