:root {
  --ink: #231f20;
  --muted: #6d6267;
  --line: #eadfe3;
  --paper: #fff9f7;
  --surface: #ffffff;
  --rose: #b84d67;
  --rose-dark: #7f2942;
  --gold: #bd8b3d;
  --green: #326a5f;
  --shadow: 0 18px 50px rgba(62, 38, 48, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 249, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--rose-dark);
  border-radius: 50%;
  font-family: Georgia, serif;
}

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

.top-nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--rose-dark);
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(35, 31, 32, 0.18), rgba(35, 31, 32, 0)),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1400&q=82") center / cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 96px);
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--rose-dark);
}

.button.secondary {
  color: var(--rose-dark);
  background: #fff;
  border-color: #e3cbd3;
}

.quick-panel {
  display: grid;
  max-width: 1120px;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: -38px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.quick-panel a {
  padding: 18px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.section-heading {
  max-width: 980px;
  margin: 88px auto 26px;
  padding: 0 20px;
}

.section-heading p {
  color: var(--muted);
}

.fair-grid,
.guide-list,
.article-grid,
.region-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.fair-card,
.guide-item,
.info-box,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(62, 38, 48, 0.07);
}

.fair-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

dt {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--rose-dark);
  font-weight: 800;
}

.conversion-band {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 74px auto 0;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-dark), #412536);
  border-radius: 8px;
}

.conversion-band .eyebrow,
.conversion-band p {
  color: #f7dce5;
}

.conversion-band .button {
  flex: 0 0 auto;
  color: var(--rose-dark);
  background: #fff;
}

.guide-list {
  display: grid;
  gap: 14px;
  margin-bottom: 92px;
}

.guide-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  text-decoration: none;
}

.guide-item span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.guide-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: 82px 20px 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.article-body {
  width: min(920px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}

.article-body {
  padding: 46px 20px 90px;
}

.article-body p,
.article-body li {
  color: #4f4549;
  font-size: 1.02rem;
}

.article-body h2 {
  margin-top: 44px;
  font-size: 1.8rem;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.info-box {
  margin: 32px 0;
  padding: 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
  margin-bottom: 80px;
}

.article-card {
  padding: 22px;
  text-decoration: none;
}

.article-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.region-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  padding: 46px 0 86px;
}

.region-main {
  display: grid;
  gap: 16px;
}

.side-note {
  align-self: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-note p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: #f8edf0;
  background: #241a1f;
}

.site-footer p {
  margin: 6px 0 0;
  color: #cfbdc3;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .conversion-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 280px;
  }

  .quick-panel,
  .fair-grid,
  .article-grid,
  .region-layout {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: 20px;
  }

  .fair-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 36px 20px 54px;
  }

  .guide-item {
    grid-template-columns: 1fr;
  }

  .conversion-band,
  .fair-grid,
  .guide-list,
  .article-grid,
  .region-layout {
    width: calc(100% - 28px);
  }
}
