:root {
  --paper: #f5efe2;
  --paper-strong: #efe4d1;
  --ink: #171717;
  --ink-soft: #4b4b4b;
  --teal: #0d5c63;
  --teal-deep: #08363b;
  --orange: #ff6b35;
  --gold: #bf8f50;
  --line: rgba(23, 23, 23, 0.12);
  --white: #fffdf9;
  --shadow: 0 20px 60px rgba(16, 24, 40, 0.11);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", "SUIT Variable", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(13, 92, 99, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f4ecdd 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

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

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 239, 226, 0.82);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #cf4f23 75%);
  box-shadow: var(--shadow);
}

.brand-copy small,
.eyebrow,
.meta-line,
.section-kicker,
.ticker-label,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.brand-copy span {
  display: block;
  font-size: 1.1rem;
}

.nav-links,
.utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.utility-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-links a:hover,
.utility-links a:hover {
  color: var(--teal);
}

.hero {
  padding: 48px 0 24px;
}

.hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.95fr;
  gap: 24px;
}

.feature-panel,
.side-panel,
.content-card,
.story-card,
.stat-card,
.brief-card,
.data-card,
.article-shell,
.related-card,
.cta-panel,
.faq-card,
.guide-card,
.timeline-card,
.quote-card,
.table-card,
.info-panel {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.feature-panel {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.feature-panel::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 92, 99, 0.2), transparent 70%);
}

.eyebrow-row,
.story-meta,
.meta-line,
.byline,
.page-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip-accent {
  background: rgba(255, 107, 53, 0.12);
  color: #9f3d1d;
}

.chip-calm {
  background: rgba(13, 92, 99, 0.12);
  color: var(--teal);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  margin-top: 16px;
}

h2 {
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 68ch;
}

.hero-actions,
.filter-row,
.story-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button-accent {
  background: linear-gradient(135deg, var(--orange), #d7521e);
  color: var(--white);
}

.side-panel {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.brief-card,
.data-card,
.guide-card,
.timeline-card,
.table-card,
.faq-card {
  padding: 20px;
}

.stat-card strong,
.big-number {
  display: block;
  font-size: 1.7rem;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.ticker {
  margin: 26px 0 12px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

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

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

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

.story-card,
.related-card {
  padding: 22px;
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.story-card strong,
.related-card strong {
  font-size: 1.28rem;
  line-height: 1.22;
}

.story-card p,
.related-card p {
  font-size: 0.98rem;
}

.story-card[data-hidden="true"] {
  display: none;
}

.section-band {
  margin: 28px 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(13, 92, 99, 0.95), rgba(8, 54, 59, 0.92));
  color: var(--white);
  box-shadow: var(--shadow);
}

.section-band p,
.section-band a {
  color: rgba(255, 255, 255, 0.82);
}

.band-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding-bottom: 50px;
}

.article-shell {
  padding: 32px;
}

.article-shell section + section {
  margin-top: 34px;
}

.article-shell h2 {
  margin-bottom: 16px;
}

.article-shell h3 {
  margin: 22px 0 10px;
}

.article-shell ul,
.article-shell ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--ink-soft);
}

.article-shell li + li {
  margin-top: 8px;
}

.article-shell blockquote {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 107, 53, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink);
  font-weight: 600;
}

.article-aside {
  display: grid;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 98px;
}

.key-points {
  display: grid;
  gap: 12px;
}

.key-point {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.key-point:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding-left: 18px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.14);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: -18px;
  width: 1px;
  background: rgba(23, 23, 23, 0.14);
}

.timeline-item:last-child::after {
  display: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  color: var(--ink);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quote-card {
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(191, 143, 80, 0.08));
}

.quote-card strong {
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-card details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq-card details:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.newsletter-form input {
  flex: 1 1 260px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.88);
  padding: 0 18px;
  font: inherit;
}

.filter-button {
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .article-hero-grid,
  .article-layout,
  .band-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, var(--max-width));
  }

  .header-row {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links,
  .utility-links {
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .feature-panel,
  .side-panel,
  .article-shell,
  .cta-panel {
    padding: 22px;
  }

  .mini-metrics,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

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