:root {
  --ink: #17211c;
  --muted: #596760;
  --paper: #fbfaf4;
  --paper-deep: #f1ecdf;
  --forest: #173f35;
  --teal: #2f766e;
  --sage: #d8e1d0;
  --clay: #b96f45;
  --amber: #d8a039;
  --line: rgba(23, 33, 28, 0.14);
  --shadow: 0 18px 48px rgba(23, 33, 28, 0.13);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 28, 0.1);
  background: rgba(251, 250, 244, 0.88);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 32%, var(--amber) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--forest), var(--teal));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}
.brand-text span:first-child { font-size: 0.98rem; }
.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest);
  background: rgba(47, 118, 110, 0.1);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  align-items: center;
  gap: 48px;
  padding: 62px 0 56px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
}
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 6vw, 5.45rem);
  font-weight: 850;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.16rem; }
.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #314039;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}
.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { color: #fff; background: var(--forest); }
.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}
.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--sage);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
}
.section.alt { background: var(--paper-deep); }
.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  margin-bottom: 38px;
}
.section-head p,
.page-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
}
.card p {
  margin: 12px 0 0;
  color: var(--muted);
}
.meta {
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 800;
}
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: 80px 0 58px;
  background:
    linear-gradient(120deg, rgba(216, 224, 208, 0.72), rgba(251, 250, 244, 0.92)),
    var(--paper);
}
.page-intro {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}
.page-intro h1 {
  max-width: 860px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}
.page-intro p {
  max-width: 760px;
  margin-top: 22px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile { border-top: 3px solid var(--teal); }
.placeholder-name {
  color: var(--muted);
  font-weight: 700;
}
.timeline { display: grid; gap: 18px; }
.event-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.88);
  padding: 42px 0;
}
.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-inner a { color: #fff; }
.footer-name {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 850;
}
.footer-note {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav { position: relative; }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    border-radius: 6px;
    padding: 12px;
  }
  .hero-inner,
  .section-head,
  .grid.three,
  .grid.two,
  .profile-grid,
  .event-row {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 46px; }
  .hero-visual { min-height: 300px; }
}

@media (max-width: 560px) {
  .brand-text span:last-child { display: none; }
  h1 {
    font-size: 1.96rem;
    line-height: 1.24;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .lead { font-size: 1rem; }
  .section,
  .page-hero { padding: 52px 0; }
  .footer-inner { flex-direction: column; }
}
