:root {
  --ink: #11211d;
  --muted: #596660;
  --paper: #fbfbf7;
  --soft: #eef3ea;
  --mint: #d5e7d2;
  --teal: #0b5d62;
  --leaf: #2f7d45;
  --sun: #f2b84b;
  --clay: #b55f3b;
  --line: rgba(17, 33, 29, 0.14);
  --shadow: 0 22px 70px rgba(24, 45, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, #f4f8f0 46%, var(--paper) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #263c36;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.header-action,
.button,
.contents-grid a,
footer a {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
footer a:hover {
  color: var(--teal);
}

.header-action {
  justify-self: end;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.header-action:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  max-height: 900px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 21, 0.84) 0%, rgba(7, 24, 21, 0.58) 40%, rgba(7, 24, 21, 0.1) 100%),
    linear-gradient(0deg, rgba(7, 24, 21, 0.46) 0%, rgba(7, 24, 21, 0) 52%);
  z-index: -1;
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(42px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: white;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p:not(.kicker) {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  background: var(--sun);
  color: #1d1606;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: white;
}

.button:hover,
.contents-grid a:hover {
  transform: translateY(-2px);
}

.contents,
.program-section,
.impact,
.join {
  padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 790px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.contents-grid a {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 1.04rem;
  font-weight: 900;
}

.contents-grid span {
  color: var(--clay);
  font-size: 0.84rem;
}

.band {
  margin: 0 clamp(12px, 3vw, 36px);
  padding: clamp(64px, 10vw, 124px) clamp(20px, 5vw, 72px);
  border-radius: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 84% 18%, rgba(242, 184, 75, 0.13), transparent 30%),
    linear-gradient(135deg, #18342d 0%, #0b5d62 100%);
  color: white;
}

.band.light {
  background:
    linear-gradient(135deg, rgba(213, 231, 210, 0.86), rgba(251, 251, 247, 0.94));
  color: var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.body-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

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

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 54px;
}

.stat-row div {
  flex: 1 1 210px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.stat-row strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat-row span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.place-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
  margin: clamp(44px, 7vw, 84px) 0 0;
}

.place-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: clamp(24px, 4vw, 48px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.place-visual figcaption {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.program-card,
.partner-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(17, 33, 29, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(33, 55, 49, 0.07);
  backdrop-filter: blur(10px);
}

.program-card {
  height: 100%;
}

.program-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 900;
}

.program-card h3,
.timeline h3,
.flagship-papers h3,
.dashboard h3,
.partner-grid h3 {
  margin-bottom: 9px;
  font-size: 1.16rem;
}

.program-card p,
.timeline p,
.flagship-papers p,
.partner-grid p,
.measure-list span,
.join p {
  color: var(--muted);
}

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

.timeline article {
  min-height: 250px;
  padding: 26px;
  border-left: 3px solid rgba(11, 93, 98, 0.35);
  border-radius: 28px;
  background: rgba(251, 251, 247, 0.76);
  box-shadow: 0 14px 42px rgba(33, 55, 49, 0.06);
}

.timeline article:nth-child(even) {
  transform: none;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-subtitle {
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.timeline p strong {
  color: var(--ink);
}

.flagship-papers {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  margin-top: clamp(58px, 8vw, 96px);
  padding-top: clamp(28px, 5vw, 58px);
  border-top: 1px solid rgba(17, 33, 29, 0.12);
}

.flagship-papers h3 {
  max-width: 520px;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.flagship-papers > div:first-child p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 1.04rem;
  text-align: justify;
  text-align-last: left;
}

.paper-list {
  display: grid;
  gap: 16px;
}

.paper-list article {
  display: grid;
  grid-template-columns: minmax(76px, 0.2fr) minmax(0, 1fr);
  gap: 10px 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(17, 33, 29, 0.13);
}

.paper-list article > div {
  grid-column: 1 / -1;
}

.paper-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.paper-list span {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-list h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 1.08rem;
}

.paper-list p {
  margin: 0;
  max-width: none;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.impact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.declaration-visual {
  margin: 0 0 clamp(34px, 6vw, 72px);
}

.declaration-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.declaration-visual figcaption {
  max-width: 900px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  text-align: center;
}

.measure-list {
  display: grid;
  gap: 0;
}

.measure-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.measure-list strong {
  color: var(--teal);
}

.dashboard {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, #203f36, #0b5d62);
  color: white;
  box-shadow: var(--shadow);
}

.dashboard h3 {
  margin-bottom: 20px;
}

.target {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.target span {
  color: rgba(255, 255, 255, 0.7);
}

.target strong {
  font-size: 1.6rem;
  line-height: 1;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-grid article {
  min-height: 170px;
  box-shadow: none;
}

.funding-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.funding-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.funder-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}

.funder-logo {
  display: block;
  width: auto;
  max-width: min(280px, 42vw);
  height: 74px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: white;
  border-radius: 16px;
  object-fit: contain;
}

.funder-logo.yonsei {
  width: 210px;
}

.funder-logo.bk21 {
  width: 250px;
}

.join {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.join > div {
  max-width: 760px;
}

.signup {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(33, 55, 49, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #33433e;
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea,
button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

input,
select,
textarea {
  padding: 0 13px;
  background: var(--paper);
  color: var(--ink);
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

button {
  margin-top: 4px;
  border-color: var(--teal);
  background: var(--teal);
  color: white;
  font-weight: 900;
  cursor: pointer;
  border-radius: 999px;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status[data-type="success"] {
  color: var(--leaf);
}

.form-status[data-type="error"] {
  color: var(--clay);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    order: 3;
  }

  .contents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .two-column,
  .place-visual,
  .impact-layout,
  .flagship-papers,
  .join {
    grid-template-columns: 1fr;
  }

  .dashboard {
    position: static;
  }

  .funding-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .funder-logos {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    gap: 14px;
  }

  .brand span:last-child {
    max-width: 160px;
    line-height: 1.1;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .contents-grid,
  .program-grid,
  .timeline,
  .stat-row,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .declaration-visual img {
    aspect-ratio: 4 / 3;
  }

  .place-visual img {
    aspect-ratio: 4 / 3;
  }

  .measure-list div {
    grid-template-columns: 1fr;
  }

  .paper-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    flex-direction: column;
  }
}
