:root {
  --ink: #123d39;
  --deep: #0b2b29;
  --paper: #fbfaf6;
  --cream: #f3ede1;
  --orange: #e67945;
  --orange-deep: #b9542a;
  --muted: #5f6d69;
  --line: rgba(18, 61, 57, .14);
  --light-line: rgba(255, 255, 255, .16);
  --pad: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--deep);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 var(--pad);
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--ink); font-size: 17px; }
.brand b { color: var(--orange); font-weight: 800; }
.menu { display: none; }
.top-cta {
  margin-left: auto; padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
}

/* ---------- common ---------- */
.block, .hero { padding: 64px var(--pad); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-deep); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
h2 { font-size: 27px; line-height: 1.32; letter-spacing: -.035em; font-weight: 700; margin-bottom: 18px; }
.sub { font-size: 18px; font-weight: 700; margin: 40px 0 8px; letter-spacing: -.02em; }
.body { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 10px; }

.btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; margin-top: 28px; padding: 16px 20px;
  border: 0; border-radius: 14px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-light { background: var(--orange); color: #fff; justify-content: center; }

/* ---------- 1. hero ---------- */
.hero { padding-top: 48px; padding-bottom: 56px; }
.eyebrow { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.hero h1 { font-size: 24px; line-height: 1.4; letter-spacing: -.035em; font-weight: 700; }
.hero-num {
  display: block; margin-bottom: 10px;
  font-size: 76px; line-height: 1; letter-spacing: -.055em; font-weight: 800; color: var(--ink);
}
.hero-num small { font-size: 26px; letter-spacing: -.03em; margin-left: 4px; color: var(--orange); font-weight: 700; }
.lead { margin-top: 20px; color: var(--muted); }
.hero-facts {
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; margin: 36px 0 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-facts div { padding: 14px 0; }
.hero-facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: 12px; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- 2. timeline ---------- */
#history { background: var(--cream); }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; }
.timeline li {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 16px 0 16px; border-top: 1px solid var(--line);
}
.t-when { font-weight: 800; color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.timeline strong { font-size: 17px; letter-spacing: -.02em; }
.timeline p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.timeline .is-now .t-when { color: var(--orange-deep); }
.timeline .is-now strong::after {
  content: "지금"; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px;
}

/* ---------- dark blocks ---------- */
.block-deep { background: var(--deep); color: #fff; }
.block-deep .kicker { color: #f0a47e; }
.note-light { color: rgba(255, 255, 255, .68); font-size: 14px; }

/* ---------- 3. map ---------- */
.map { margin: 28px -8px 0; }
.map svg { width: 100%; height: auto; display: block; }
.map-land { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .18); stroke-dasharray: 3 5; }
.map-dot circle { fill: rgba(230, 121, 69, .28); stroke: #f0a47e; stroke-width: 1.2; }
.map-dot-main circle { fill: rgba(230, 121, 69, .55); }
.map-dot text { fill: #fff; font-size: 13px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.map-dot-main text { font-size: 17px; }
.map figcaption { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 4px; }
.places { list-style: none; margin: 28px 0 0; padding: 0; }
.places li {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px;
  padding: 11px 0; border-top: 1px solid var(--light-line);
  font-size: 14px; color: rgba(255, 255, 255, .72);
}
.places b { color: #fff; }

/* ---------- 4. together ---------- */
.meeting {
  margin-top: 24px; padding: 18px 20px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
}
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 700;
}
.meeting-date { font-size: 20px; font-weight: 700; margin-top: 8px; letter-spacing: -.02em; }
.meeting-place { color: var(--muted); font-size: 14px; }
.clubs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.club {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  min-height: 118px; display: flex; flex-direction: column;
}
.club:hover, .club:focus-visible { border-color: var(--orange); outline: none; }
.club-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.club-desc { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.club-status { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 600; color: var(--orange-deep); }
.club-status.is-on { color: var(--ink); }

/* ---------- 5. again ---------- */
.block-warm { background: var(--cream); }
.again-ways { margin-top: 28px; display: grid; gap: 10px; }
.way {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
}
.way-mark {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.03em;
}
.way strong { font-size: 17px; letter-spacing: -.02em; }
.way p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.way em { font-style: normal; color: var(--orange-deep); font-weight: 700; }
.classes ul { list-style: none; margin: 12px 0 0; padding: 0; }
.classes li {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.class-date { font-size: 22px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.2; }
.class-date small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.class-info strong { letter-spacing: -.02em; }
.class-info p { font-size: 14px; color: var(--muted); }

/* ---------- 6. voice ---------- */
.voice { margin-top: 28px; display: grid; gap: 16px; }
.voice label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.opt { font-weight: 400; color: rgba(255, 255, 255, .5); font-size: 12px; }
.voice select, .voice textarea, .voice input {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--deep);
  padding: 13px 14px; border-radius: 10px; border: 1px solid transparent; background: #fff;
}
.voice textarea { resize: vertical; }
.voice :focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.row { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.voice .btn { margin-top: 4px; }
.form-msg { font-size: 14px; color: #f0a47e; min-height: 1.4em; text-align: center; }

/* ---------- footer ---------- */
.foot { padding: 40px var(--pad) 48px; font-size: 14px; color: var(--muted); }
.foot .brand { font-size: 20px; margin-bottom: 6px; }
.foot-small { font-size: 12px; margin-top: 4px; }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  :root { --pad: max(40px, calc((100vw - 880px) / 2)); }
  .menu { display: flex; gap: 22px; margin-left: 32px; font-size: 14px; }
  .menu a { text-decoration: none; color: var(--muted); }
  .menu a:hover { color: var(--ink); }
  .block, .hero { padding-top: 96px; padding-bottom: 96px; }
  h2 { font-size: 38px; }
  .hero h1 { font-size: 34px; }
  .hero-num { font-size: 132px; }
  .hero-num small { font-size: 40px; }
  .clubs { grid-template-columns: repeat(4, 1fr); }
  .again-ways { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .btn { width: auto; display: inline-flex; gap: 24px; }
  .voice .btn { width: 100%; }
  .map { max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ---------- PC: 섹션 2단 배치 (휴대폰 화면에는 영향 없음) ---------- */
@media (min-width: 1024px) {
  :root { --pad: max(56px, calc((100vw - 1160px) / 2)); }
  .split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 80px;
    align-items: start;
  }
  .sec-head { position: sticky; top: 104px; }
  .sec-body { margin-top: 0; }
  .block, .hero { padding-top: 120px; padding-bottom: 120px; }

  /* 첫 화면 */
  .hero { align-items: center; padding-top: 96px; }
  .hero .sec-head { position: static; }
  .hero-num { font-size: 148px; }
  .hero-facts { grid-template-columns: 1fr; border-bottom: 0; margin: 0; }
  .hero-facts div { padding: 28px 0; border-bottom: 1px solid var(--line); }
  .hero-facts div + div { padding-left: 0; border-left: 0; }
  .hero-facts dt { font-size: 14px; }
  .hero-facts dd { font-size: 34px; letter-spacing: -.04em; }

  /* 이어온 시간 */
  .timeline { margin-top: 0; }
  .timeline li { grid-template-columns: 80px 1fr; padding: 24px 0; }
  .timeline li:last-child { border-bottom: 1px solid var(--line); }
  .t-when, .timeline strong { font-size: 20px; }
  .timeline p { font-size: 15px; }

  /* 동문이 있는 곳: 왼쪽 글·목록, 오른쪽 지도 */
  .split-map { grid-template-rows: auto 1fr; }
  .split-map .sec-head { position: static; grid-column: 1; grid-row: 1; }
  .split-map .places { grid-column: 1; grid-row: 2; margin-top: 36px; }
  .split-map .map { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; max-width: none; }

  /* 함께하는 자리 */
  #together .sec-body .sub { margin-top: 0; }
  .clubs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .club { min-height: 150px; padding: 22px; }
  .club-name { font-size: 22px; }

  /* 다시 듣기 */
  .again-ways { grid-template-columns: 1fr; margin-top: 0; }
  .btn { width: 100%; display: flex; }

  /* 전하기 */
  .voice { margin-top: 0; }
}
