:root {
  --ink: #f5f2eb;
  --paper: #000000;
  --accent: #de5b3b;
  --line: #303030;
  --muted: #aaa7a0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
}

.page { max-width: 1040px; margin: auto; padding: 28px 40px 0; }

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.brand {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--paper);
  background: var(--ink);
  padding: 5px 9px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}

.eyebrow, .section-number {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(4rem, 12vw, 8.8rem);
  letter-spacing: -.09em;
  line-height: .95;
}

h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.05em; }

.affiliation { margin-bottom: 34px; font-weight: 700; }
.intro { max-width: 540px; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.section {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 24px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.section > div { max-width: 620px; }
.section p:not(.section-number) { font-size: 1.08rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-list li { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; }

.course-name { margin-bottom: 2px; font-weight: 700; }
.muted { color: var(--muted); font-size: .9rem !important; }

.contact {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 80px 0 42px;
}

.contact h2 { margin: 0; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.contact a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.contact a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .page { padding: 20px 22px 0; }
  .hero { min-height: 64vh; }
  .section { grid-template-columns: 1fr; gap: 0; padding: 58px 0; }
  .contact { flex-direction: column; padding: 58px 0 32px; }
  .contact-links { align-items: flex-start; }
}
