:root {
  --paper: #f5f4ef;
  --card: #fffefa;
  --ink: #20211e;
  --muted: #777971;
  --line: #deded7;
  --accent: #315efb;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  padding: 48px 20px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.card {
  position: relative;
  width: min(100%, 780px);
  padding: clamp(32px, 6vw, 64px);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(32, 33, 30, 0.06);
}

.intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--ink);
}

.label {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.06em;
}

.name-en { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.current {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 13px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.current p { margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.current strong { display: block; margin-bottom: 5px; font-size: 19px; font-weight: 600; }
.current span { color: var(--muted); font-size: 13px; }

.history { padding: 34px 0 40px; }
.history h2 { margin: 0 0 25px; font-size: 12px; font-weight: 600; }
.history ol { margin: 0; padding: 0; list-style: none; }
.history li { display: grid; grid-template-columns: 105px 1fr; padding: 13px 0; }
.history time { color: var(--muted); font-size: 12px; }
.history strong { display: block; margin-bottom: 3px; font-size: 14px; font-weight: 500; }
.history span { color: var(--muted); font-size: 12px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
}

footer p { margin: 0; color: var(--muted); }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer a span { color: var(--accent); }

@media (max-width: 560px) {
  body { padding: 0; place-items: stretch; background: var(--card); }
  .card { min-height: 100vh; border: 0; box-shadow: none; }
  .intro { padding-bottom: 34px; }
  .history li { grid-template-columns: 88px 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
