:root {
  --bg: #fbfbf8;
  --bg-soft: #f2f4ef;
  --panel: #ffffff;
  --line: #dde3d8;
  --text: #1e2a24;
  --muted: #66746e;
  --sage: #6d8a7a;
  --sage-deep: #3f5f52;
  --apricot: #f0c7a4;
  --shadow: 0 14px 28px rgba(30, 42, 36, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 248, 0.92);
  border-bottom: 1px solid rgba(221, 227, 216, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-board {
  padding: 34px 0 24px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
}

.board-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.board-panel-intro {
  grid-column: span 2;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(109, 138, 122, 0.12), rgba(240, 199, 164, 0.16)),
    var(--panel);
}

.board-panel-intro h1 {
  margin: 0 0 14px;
  font-size: 2.6rem;
  line-height: 1.18;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow,
.panel-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(109, 138, 122, 0.12);
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-list,
.check-list,
.notice-list,
.notice-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-list {
  display: grid;
  gap: 14px;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.metric-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric-list strong {
  font-size: 1.3rem;
}

.metric-list span,
.section-note,
.result-count,
.fair-card .meta,
.summary,
.notice-panel ul {
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}

.chip.is-active {
  border-color: var(--sage);
  background: var(--sage);
  color: #ffffff;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 14px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--apricot);
}

.section {
  padding: 56px 0 84px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.2;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

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

.fair-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.fair-card[hidden] {
  display: none;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(109, 138, 122, 0.12);
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.fair-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.fair-card .meta {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.summary {
  margin: 0;
}

.notice-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.notice-list {
  border-top: 1px solid var(--line);
}

.notice-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.notice-list span {
  min-width: 54px;
  color: var(--sage-deep);
  font-weight: 700;
}

.notice-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.notice-panel ul {
  padding-left: 18px;
}

.notice-panel li + li {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

@media (max-width: 1120px) {
  .board-grid {
    grid-template-columns: 1fr 1fr;
  }

  .board-panel-intro {
    grid-column: span 2;
  }

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

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-grid,
  .fair-grid,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .board-panel-intro {
    grid-column: span 1;
  }

  .board-panel-intro h1 {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .top-board {
    padding-top: 24px;
  }

  .section {
    padding: 44px 0 64px;
  }

  .board-panel,
  .fair-card,
  .notice-panel {
    padding: 18px;
  }

  .board-panel-intro h1 {
    font-size: 1.72rem;
  }
}
