:root {
  --ink: #17201d;
  --muted: #65716d;
  --line: #d9e1dc;
  --surface: #ffffff;
  --soft: #f6f4ef;
  --brand: #0f6b5f;
  --brand-dark: #174139;
  --accent: #d85f35;
  --warning: #b48628;
  --paper: #fffdf7;
  --graph: #d7c9ad;
  --shadow: 0 24px 70px rgba(37, 43, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper);
  background:
    linear-gradient(135deg, transparent 0 34%, rgba(255, 255, 255, 0.18) 34% 38%, transparent 38%),
    var(--brand-dark);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #31413c;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: 620px;
  padding: 84px 6vw 72px;
  background:
    linear-gradient(90deg, rgba(215, 201, 173, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(215, 201, 173, 0.22) 1px, transparent 1px),
    linear-gradient(120deg, rgba(15, 107, 95, 0.11), rgba(216, 95, 53, 0.07)),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero-content h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.editorial-hero {
  border-bottom: 1px solid var(--line);
}

.local-map-panel {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 500px;
  padding: 26px;
  background: #fefaf0;
  border: 1px solid #cabd9f;
  box-shadow: var(--shadow);
}

.local-map-panel::before {
  content: "TOWN114 FIELD NOTES";
  position: absolute;
  top: 24px;
  right: 24px;
  writing-mode: vertical-rl;
  color: rgba(23, 32, 29, 0.45);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.map-frame {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(15, 107, 95, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 107, 95, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  border: 1px solid rgba(15, 107, 95, 0.2);
  overflow: hidden;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--paper);
  background: var(--brand-dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(23, 65, 57, 0.22);
}

.node-seoul {
  top: 36px;
  left: 42px;
}

.node-gyeonggi {
  top: 138px;
  right: 64px;
  background: var(--accent);
}

.node-incheon {
  bottom: 48px;
  left: 96px;
  background: #495b4d;
}

.node-busan {
  right: 28px;
  bottom: 34px;
  background: #b48628;
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: rgba(23, 32, 29, 0.44);
  transform-origin: left center;
}

.line-one {
  width: 260px;
  top: 120px;
  left: 126px;
  transform: rotate(16deg);
}

.line-two {
  width: 230px;
  top: 250px;
  left: 172px;
  transform: rotate(-25deg);
}

.line-three {
  width: 190px;
  bottom: 118px;
  left: 178px;
  transform: rotate(12deg);
}

.map-caption {
  display: grid;
  gap: 8px;
  padding-top: 20px;
}

.map-caption strong {
  font-size: 28px;
}

.map-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-board {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(rgba(10, 26, 49, 0.2), rgba(10, 26, 49, 0.35)),
    linear-gradient(135deg, #0d3b75, #147c72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.board-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-board strong {
  display: block;
  font-size: 30px;
}

.hero-board p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.hero-board ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-board li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.results-section,
.content-hub,
.region-section,
.original-section,
.service-band,
.split-section,
.faq-section,
.notice-section {
  padding: 58px 6vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 850px;
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
}

.result-grid,
.service-grid,
.article-grid,
.region-grid,
.original-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.result-card,
.service-card,
.article-card,
.region-card,
.original-card,
.info-list article {
  min-height: 158px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 0;
}

.result-card {
  display: grid;
  gap: 8px;
}

.result-card mark {
  justify-self: start;
  padding: 4px 8px;
  color: var(--brand-dark);
  background: #e9f1ff;
  border-radius: 999px;
  font-weight: 800;
}

.result-card strong,
.service-card strong,
.info-list strong {
  font-size: 18px;
}

.result-card p,
.service-card p,
.info-list p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 28px;
}

.content-hub {
  background: #fff;
}

.region-section {
  background: #eef2ec;
}

.original-section {
  background: #fffaf0;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.region-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding-top: 54px;
  border-left: 5px solid var(--brand);
}

.region-code {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.region-card strong {
  font-size: 22px;
}

.region-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.region-card em {
  align-self: end;
  color: var(--brand-dark);
  font-weight: 800;
  font-style: normal;
}

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

.original-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(15, 107, 95, 0.04), rgba(216, 95, 53, 0.04)),
    #fff;
  border-bottom: 4px solid var(--accent);
}

.original-card span {
  justify-self: start;
  padding: 5px 9px;
  color: var(--brand-dark);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  padding: 0;
}

.original-card strong {
  font-size: 21px;
  line-height: 1.45;
}

.original-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
}

.article-card span {
  justify-self: start;
  padding: 5px 9px;
  color: var(--brand-dark);
  background: #e9f1ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.article-card strong {
  font-size: 20px;
  line-height: 1.45;
}

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

.service-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #c99f81;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(215, 201, 173, 0.24) 1px, transparent 1px),
    var(--soft);
  background-size: 52px 52px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.notice-list a {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notice-list span {
  color: var(--warning);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 38px 6vw;
  color: #fff;
  background: #1d2722;
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.plain-page {
  padding: 56px 6vw;
  background: #fff;
}

.content-page {
  max-width: 860px;
  margin: 0 auto;
}

.content-page h1 {
  margin: 10px 0 22px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
}

.content-page h2 {
  margin-top: 34px;
  font-size: 25px;
}

.content-page p,
.content-page li {
  color: #344154;
  font-size: 18px;
  line-height: 1.85;
}

.content-page ul,
.content-page ol {
  padding-left: 24px;
}

.contact-box {
  margin: 24px 0;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  color: var(--muted);
  font-weight: 700;
}

.article-meta span {
  padding: 5px 10px;
  background: #eef5ff;
  border-radius: 999px;
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-links a {
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq-list details {
  padding: 18px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

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

  .local-map-panel {
    min-height: 420px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .service-grid,
  .article-grid,
  .region-grid,
  .original-grid,
  .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }

  .hero,
  .results-section,
  .region-section,
  .original-section,
  .service-band,
  .split-section,
  .faq-section,
  .notice-section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .notice-list a,
  .result-grid,
  .service-grid,
  .article-grid,
  .region-grid,
  .original-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

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

  .local-map-panel {
    min-height: 360px;
    padding: 18px;
  }

  .map-frame {
    min-height: 270px;
  }

  .map-node {
    width: 82px;
    height: 82px;
    font-size: 11px;
  }

  .line-one,
  .line-two,
  .line-three {
    width: 150px;
  }
}
