:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #151515;
  --muted: #6b6b6b;
  --line: #d9d9d9;
  --shell-pad-top: 20px;
  --shell-pad-x: 20px;
  --shell-pad-bottom: 20px;
  --home-edge-gap: clamp(56px, 8vh, 92px);
  --home-section-gap: clamp(52px, 8vh, 84px);
  --footer-gap: 22px;
}

* {
  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: var(--shell-pad-top) var(--shell-pad-x) var(--shell-pad-bottom);
  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 {
  flex: 1;
  min-height: 0;
  padding-top: var(--home-edge-gap);
  padding-bottom: var(--home-edge-gap);
}

.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;
}

.home-hero,
.home-explore {
  display: grid;
  grid-template-columns: 356px 128px minmax(0, 1fr);
  align-items: start;
  column-gap: 0;
}

.home-hero {
  padding-top: 0;
}

.home-hero-wordmark {
  padding-top: 0;
}

.home-wordmark-image {
  width: min(100%, 356px);
  height: auto;
  display: block;
}

.home-hero-line,
.home-explore-line {
  padding-top: 6px;
  display: flex;
  justify-content: center;
}

.home-hero-line img,
.home-explore-line img {
  width: 79px;
  height: auto;
  display: block;
}

.home-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  text-align: justify;
}

.home-explore {
  margin-top: var(--home-edge-gap);
}

.home-explore-question h2,
.home-explore-copy h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.home-explore-question h2 {
  max-width: 364px;
}

.home-diagram-image {
  display: block;
  width: min(100%, 315px);
  height: auto;
  margin-top: 28px;
}

.home-explore-copy {
  padding-top: 2px;
}

.home-explore-item {
  margin-top: 24px;
}

.home-explore-item h3 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.home-explore-item h3 img {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-explore-item p {
  margin: 4px 0 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  text-align: justify;
}

.home-explore-item-goal h3 {
  font-weight: 500;
}

.site-footer-home {
  border-top: 1px solid #ececec;
  padding-top: var(--footer-gap);
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.site-footer-home .footer-icons {
  width: 104px;
}

.site-footer-home .footer-text {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(10px, 1.28vw, 16px);
}

.site-footer {
  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 h3 a {
  text-decoration: none;
  text-underline-offset: 3px;
  transition: text-decoration-color 140ms ease, opacity 140ms ease;
}

.member-card h3 a:hover,
.member-card h3 a:focus-visible {
  text-decoration: underline;
}

.member-card h3 a:focus-visible {
  outline: none;
  opacity: 0.8;
}

.member-profile-link {
  width: 28px;
  height: 28px;
  margin: 12px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 140ms ease, opacity 140ms ease;
}

.member-profile-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.member-profile-link:hover,
.member-profile-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.8;
}

.member-profile-link:focus-visible {
  outline: none;
}

@media (max-width: 680px) {
  .page-shell {
    --shell-pad-top: 18px;
    --shell-pad-x: 16px;
    --shell-pad-bottom: 18px;
    --home-edge-gap: 42px;
    --home-section-gap: 38px;
    --footer-gap: 18px;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 48px;
  }

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

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

.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;
  text-align: justify;
}

.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;
}

.profile-main {
  padding: 18px 0 10px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 78px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.profile-name {
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ececec;
}

.profile-meta {
  margin-top: 10px;
}

.profile-pronunciation {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--ink);
}

.profile-role {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
}

.profile-affiliation {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.profile-side-section {
  margin-top: 42px;
}

.profile-side-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-bottom: 14px;
}

.profile-copy {
  padding-top: 34px;
  max-width: 760px;
}

.profile-copy p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

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

.profile-lede {
  font-size: 17px;
  font-weight: 500;
}

.profile-copy em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 0;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #d6d0dc;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.profile-button-secondary {
  background: #ffffff;
  color: var(--ink);
}

.profile-button:hover,
.profile-button:focus-visible {
  background: #1b1b1b;
  color: #ffffff;
  border-color: #1b1b1b;
}

.profile-teaching {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.profile-teaching li {
  font-size: 14px;
  line-height: 1.35;
}

.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;
  }

  .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;
  }

  .home-hero,
  .home-explore {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .home-hero-line,
  .home-explore-line {
    display: none;
  }

  .home-hero-copy p,
  .home-explore-copy,
  .home-explore-question h2 {
    max-width: none;
  }

  .home-hero-copy p,
  .home-explore-item p {
    text-align: left;
  }

  .home-diagram-image {
    width: min(100%, 280px);
    margin-top: 22px;
  }

  .site-footer-home {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer-home .footer-text {
    white-space: nowrap;
    font-size: clamp(10px, 1.9vw, 14px);
  }

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

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: none;
  }

  .profile-copy {
    padding-top: 0;
    max-width: none;
  }

  .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;
  }

  .home-hero {
    padding-top: 0;
  }

  .home-wordmark-image {
    width: min(100%, 290px);
  }

  .home-explore {
    margin-top: var(--home-edge-gap);
  }

  .home-diagram-image {
    width: min(100%, 250px);
  }

  .home-explore-question h2,
  .home-explore-copy h2,
  .home-explore-item h3,
  .home-explore-item p,
  .home-hero-copy p {
    font-size: 15px;
    line-height: 1.42;
  }

  .site-footer-home .footer-icons {
    width: 92px;
  }

  .site-footer-home .footer-text {
    font-size: clamp(9px, 2.5vw, 12px);
  }

  .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;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-image {
    width: min(100%, 280px);
  }

  .profile-copy p,
  .profile-button,
  .profile-teaching li {
    font-size: 14px;
    line-height: 1.42;
  }

  .profile-buttons {
    margin-bottom: 28px;
  }
}

@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);
  }
}
