:root {
  --paper: #f6f3eb;
  --ink: #1f2b2c;
  --muted: #66706d;
  --line: #d8d0c3;
  --teal: #16636b;
  --green: #70844f;
  --clay: #b5684d;
  --white: #fffaf2;
  --shadow: 0 18px 50px rgba(31, 43, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 235, 0.94);
  border-bottom: 1px solid rgba(216, 208, 195, 0.85);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: white;
  font-weight: 800;
}
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { color: var(--muted); font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); color: #344241; font-size: 15px; font-weight: 800; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 800;
}

.hero { position: relative; min-height: calc(100vh - 72px); overflow: hidden; }
.hero img { width: 100%; height: calc(100vh - 72px); min-height: 610px; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 35, 34, 0.82), rgba(19, 35, 34, 0.28) 56%, rgba(19, 35, 34, 0.08));
}
.hero-content {
  position: absolute;
  left: clamp(20px, 7vw, 92px);
  bottom: clamp(54px, 11vh, 118px);
  width: min(760px, calc(100% - 40px));
  color: white;
}
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffd7bd; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 82px); line-height: 1.06; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(29px, 4.2vw, 50px); line-height: 1.16; letter-spacing: 0; }
h3 { margin: 8px 0 10px; font-size: 23px; line-height: 1.3; }
.hero-copy { max-width: 680px; margin: 22px 0 0; font-size: clamp(19px, 2.5vw, 28px); font-weight: 700; line-height: 1.42; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
}
.button.primary { background: var(--teal); color: white; box-shadow: 0 12px 30px rgba(22, 99, 107, 0.25); }
.button.ghost { border-color: rgba(255, 255, 255, 0.65); color: white; background: rgba(255, 255, 255, 0.12); }
.button.secondary { border-color: var(--line); background: var(--white); }

.section-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.intro-band, .case-band, .info-band, .page-hero { padding: clamp(46px, 7vw, 92px) 0; }
.intro-band { background: var(--white); }
.intro-grid, .info-grid, .contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
}
.intro-grid p, .section-heading p, .contact p, .article-body p, .page-copy { color: var(--muted); font-size: 17px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: clamp(42px, 6vw, 70px) 0; }
.metrics article { min-height: 190px; padding: 30px; background: var(--ink); color: white; }
.metrics strong { color: #f2c6ac; font-size: 15px; }
.metrics span { display: block; margin-top: 28px; font-size: 25px; font-weight: 900; }
.metrics p { color: rgba(255, 255, 255, 0.74); }

.section-inner > .section-heading, .section-heading { max-width: 760px; margin-bottom: 30px; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(54px, 8vw, 104px); }
.article-card {
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-card span { color: var(--green); font-size: 13px; font-weight: 900; }
.article-card p { color: var(--muted); margin-bottom: 0; }
.info-band { background: var(--ink); color: white; }
.info-band .section-kicker { color: #f2c6ac; }
.topic-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.topic-list li { padding: 16px 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 800; }
.contact { padding: clamp(54px, 8vw, 104px) 0; align-items: start; }
.contact-actions { justify-content: flex-end; margin-top: 0; }

.page-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .section-inner { max-width: 940px; }
.page-hero h1 { color: var(--ink); font-size: clamp(38px, 5vw, 64px); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; padding: clamp(42px, 7vw, 88px) 0; }
.article-body, .policy-body {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.article-body h2, .policy-body h2 { margin-top: 34px; font-size: clamp(25px, 3vw, 34px); }
.article-body h2:first-child, .policy-body h2:first-child { margin-top: 0; }
.article-body ul, .policy-body ul { padding-left: 22px; color: var(--muted); }
.notice {
  margin-top: 28px;
  padding: 18px;
  background: #eef4ef;
  border: 1px solid #cdddcf;
  color: #40504d;
  font-weight: 700;
}
.sidebar {
  position: sticky;
  top: 94px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
}
.sidebar h2 { font-size: 20px; }
.sidebar a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 800; }
.list-page { padding: clamp(42px, 7vw, 88px) 0; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(246, 243, 235, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .hero, .hero img { min-height: 680px; }
  .intro-grid, .info-grid, .contact, .content-layout { grid-template-columns: 1fr; }
  .metrics, .article-grid { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
  .sidebar { position: static; }
  .site-footer { display: block; }
}
@media (max-width: 560px) {
  .brand strong { max-width: 180px; font-size: 15px; }
  .hero, .hero img { min-height: 640px; height: 640px; }
  .hero img { object-position: 58% center; }
  .button { width: 100%; }
}
