:root {
  --ink: #17201f;
  --muted: #5e6865;
  --line: #d9dfdc;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --wash: #eef4f1;
  --teal: #0f6f66;
  --teal-dark: #06443f;
  --red: #b84c3d;
  --gold: #b68b43;
  --shadow: 0 18px 48px rgba(18, 32, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.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: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 251, 247, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 20, 0.88) 0%, rgba(7, 21, 20, 0.56) 45%, rgba(7, 21, 20, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 21, 20, 0.62) 0%, rgba(7, 21, 20, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  padding: 154px 0 88px clamp(20px, 5vw, 72px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b66b;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 116px;
  padding: 26px clamp(18px, 3vw, 36px);
  background: var(--surface);
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: 15px;
}

.metric span {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr);
  gap: clamp(32px, 6vw, 96px);
}

.section-body {
  color: var(--muted);
  font-size: 18px;
}

.section-body p {
  margin: 0;
}

.section-body p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.info-card {
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(18, 32, 30, 0.04);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.info-card:nth-child(2) .card-icon {
  background: var(--teal);
}

.info-card:nth-child(3) .card-icon {
  background: var(--red);
}

.info-card:nth-child(4) .card-icon {
  background: var(--gold);
}

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

.muted {
  background: var(--wash);
}

.project-list {
  border-top: 1px solid rgba(23, 32, 31, 0.18);
}

.project-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 32, 31, 0.18);
}

.project-item p,
.project-item span {
  margin: 0 0 6px;
  color: var(--teal);
  font-weight: 800;
}

.project-item span {
  margin: 0;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.publication {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.publication span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.publication strong {
  margin-top: 26px;
  font-size: 22px;
  line-height: 1.35;
}

.publication small {
  color: var(--muted);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  color: #ffffff;
  background: var(--ink);
}

.contact p:not(.section-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .card-grid,
  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    color: var(--ink);
    background: rgba(251, 251, 247, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 21, 20, 0.9) 0%, rgba(7, 21, 20, 0.62) 72%, rgba(7, 21, 20, 0.36) 100%),
      linear-gradient(0deg, rgba(7, 21, 20, 0.68) 0%, rgba(7, 21, 20, 0) 46%);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 128px 0 62px 18px;
  }

  h1 {
    font-size: 40px;
  }

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

  .button {
    width: 100%;
  }

  .card-grid,
  .publication-grid,
  .intro-band {
    grid-template-columns: 1fr;
  }

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

  .project-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    flex-direction: column;
  }
}
