@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+KR:wght@400;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #2a2520;
  --paper: #fbf6e9;
  --paper-warm: #f5ecd8;
  --paper-soft: #fdfaf0;
  --vermilion: #c84c3e;
  --vermilion-deep: #9a3528;
  --celadon: #6b9694;
  --celadon-deep: #3f6664;
  --gold: #d1a455;
  --saek-red: #c84c3e;
  --saek-orange: #d77c4a;
  --saek-yellow: #d1a455;
  --saek-green: #739562;
  --saek-blue: #5a7d96;
  --saek-indigo: #5a5d8a;
  --saek-violet: #875476;
  --surface: rgba(255,255,255,0.86);
  --text: #2a2520;
  --text-soft: #5e5240;
  --text-muted: #8e7d60;
  --line: rgba(26, 20, 16, 0.12);
  --line-strong: rgba(26, 20, 16, 0.22);
  --font-display: 'Noto Serif KR', serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.06), 0 1px 3px rgba(26, 20, 16, 0.04);
  --shadow-md: 0 6px 20px rgba(26, 20, 16, 0.08), 0 4px 10px rgba(26, 20, 16, 0.05);
  --shadow-lg: 0 24px 48px rgba(26, 20, 16, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper-soft);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.saekdong-band {
  display: flex;
  height: 4px;
  width: 100%;
}
.saekdong-band > span { flex: 1; }
.saekdong-band > span:nth-child(1) { background: var(--saek-red); }
.saekdong-band > span:nth-child(2) { background: var(--saek-orange); }
.saekdong-band > span:nth-child(3) { background: var(--saek-yellow); }
.saekdong-band > span:nth-child(4) { background: var(--saek-green); }
.saekdong-band > span:nth-child(5) { background: var(--saek-blue); }
.saekdong-band > span:nth-child(6) { background: var(--saek-indigo); }
.saekdong-band > span:nth-child(7) { background: var(--saek-violet); }

.hanji-bg {
  background-color: var(--paper);
  background-image: url('./hanji-texture.png');
  background-size: 512px 512px;
  background-repeat: repeat;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 250, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand svg {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__copy strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand__copy span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}
.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}
.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--vermilion);
}

.hero {
  padding: 46px 0 34px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow__line {
  width: 28px;
  height: 1px;
  background: var(--vermilion);
}
.hero h1,
.section-head h2,
.promise-copy h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ink);
}
.hero h1 {
  font-size: clamp(56px, 8vw, 104px);
}
.hero h1 em,
.section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--vermilion);
}
.hero p,
.promise-copy p,
.info-card p,
.promise-card p,
.city-card__body p,
.footer__copy,
.search-field span,
.search-field strong {
  color: var(--text-soft);
}
.hero p {
  max-width: 540px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #3a3226;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(245, 236, 216, 0.75);
}
.btn-vermilion {
  background: var(--vermilion);
  color: var(--paper-soft);
  box-shadow: var(--shadow-sm);
}
.btn-vermilion:hover {
  background: var(--vermilion-deep);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.03em;
}
.hero__stats span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
}
.map-card {
  position: relative;
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.38));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.map-card::before,
.map-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(42,37,32,0.55);
  pointer-events: none;
}
.map-card::before {
  left: 18px;
  top: 18px;
  border-left: 1px solid;
  border-top: 1px solid;
}
.map-card::after {
  right: 18px;
  top: 18px;
  border-right: 1px solid;
  border-top: 1px solid;
}
.map-card__svg {
  display: block;
  width: 100%;
  height: 100%;
  padding: 18px;
}
.map-card__points text {
  font-family: var(--font-display);
  font-size: 13px;
  fill: var(--celadon-deep);
}

.spotlight-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: var(--shadow-md);
}
.spotlight-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
}
.spotlight-card span {
  color: rgba(253,250,240,0.68);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spotlight-card__count {
  text-align: right;
}
.spotlight-card__count strong {
  color: var(--gold);
}

.review-card {
  position: absolute;
  top: 30px;
  right: -12px;
  width: min(230px, 44%);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(26,20,16,0.08);
  box-shadow: var(--shadow-md);
  transform: rotate(2deg);
}
.review-card__stars {
  color: var(--vermilion);
  letter-spacing: 0.12em;
  font-size: 12px;
}
.review-card p {
  margin: 10px 0 8px;
  line-height: 1.5;
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
}
.review-card span {
  font-size: 11px;
  color: var(--text-muted);
}

.search-wrap {
  padding: 6px 0 44px;
  background: var(--paper-soft);
}
.search-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-md);
}
.search-field {
  padding: 16px 22px;
  min-width: 0;
}
.search-field + .search-field {
  border-left: 1px solid var(--line);
}
.search-field__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.search-field strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  color: var(--ink);
}
.search-field span:last-child {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}
.search-panel__cta {
  min-height: 74px;
  margin-left: 8px;
  border-radius: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}
.chips__label {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.chip:hover,
.chip--active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-soft);
}

.section {
  padding: 52px 0;
}
.section--muted {
  background: var(--paper-warm);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
}
.text-link {
  color: var(--vermilion-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 76, 62, 0.3);
}

.city-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.city-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-md);
}
.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
}
.city-card--large {
  min-height: 430px;
}
.city-card--seoul {
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.28), transparent 18%),
    linear-gradient(180deg, #d86d60 0%, #b3493d 100%);
}
.city-card--busan {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.28), transparent 18%),
    linear-gradient(180deg, #6b9694 0%, #3f6664 100%);
}
.city-card--jeju {
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,0.25), transparent 18%),
    linear-gradient(180deg, #819c63 0%, #567046 100%);
}
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 18%, rgba(0,0,0,0.58) 100%);
}
.city-card__tag,
.city-card__body {
  position: absolute;
  z-index: 1;
}
.city-card__tag {
  top: 24px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.city-card__body {
  left: 28px;
  right: 28px;
  bottom: 28px;
}
.city-card__body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.96;
  color: var(--paper-soft);
}
.city-card__body h3 span {
  display: inline-block;
  margin-left: 10px;
  font-size: 24px;
  color: rgba(255,255,255,0.72);
}
.city-card__body p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.info-card,
.promise-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-sm);
}
.info-card__num,
.promise-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(209,164,85,0.18);
  color: var(--vermilion-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.info-card h3,
.promise-card h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
}
.info-card p,
.promise-card p {
  margin: 0;
  line-height: 1.6;
}

.promise-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.promise-copy {
  position: sticky;
  top: 104px;
}
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--vermilion);
  color: var(--paper-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 0 2px var(--paper-soft), 0 0 0 3px var(--vermilion-deep);
  transform: rotate(-3deg);
}
.promise-copy h2 {
  margin-top: 22px;
  font-size: clamp(38px, 5vw, 58px);
}
.promise-copy p {
  max-width: 420px;
  line-height: 1.7;
  margin: 18px 0 26px;
}
.promise-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.footer {
  padding: 58px 0 28px;
  background: var(--ink);
  color: var(--paper-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand--footer {
  color: var(--paper-soft);
}
.brand--footer svg {
  color: var(--paper-soft);
}
.brand--footer .brand__copy span {
  color: rgba(253,250,240,0.58);
}
.footer__copy {
  max-width: 320px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(253,250,240,0.7);
}
.footer__title {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(253,250,240,0.72);
  font-size: 13px;
}
.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: rgba(253,250,240,0.45);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .hero__grid,
  .promise-grid,
  .city-grid,
  .tips-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel__cta {
    grid-column: 1 / -1;
    margin: 8px 0 0;
  }

  .promise-copy {
    position: static;
  }

  .promise-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 24px);
  }

  .topbar__inner {
    min-height: 78px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .map-card {
    min-height: 540px;
  }

  .review-card {
    position: static;
    width: auto;
    transform: none;
    margin: 0 18px 18px;
  }

  .spotlight-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-panel,
  .promise-cards {
    grid-template-columns: 1fr;
  }

  .search-field + .search-field {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-card__body h3 {
    font-size: 38px;
  }

  .footer__meta {
    flex-direction: column;
  }
}
