:root {
  --lg-red: #A50034;
  --lg-red-dark: #7A0026;
  --lg-red-soft: rgba(165, 0, 52, 0.08);
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", "Apple SD Gothic Neo", sans-serif;
}

[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-elev: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E5E5E5;
  --hero-grad: linear-gradient(135deg, #1f1f1f 0%, #3a3a3a 100%);
}

[data-theme="dark"] {
  --bg: #0E0E0F;
  --bg-elev: #161618;
  --text: #F5F5F7;
  --text-muted: #9B9B9F;
  --border: #2A2A2D;
  --hero-grad: linear-gradient(135deg, #2a2a2a 0%, #0e0e0f 100%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-logo {
  background: var(--lg-red);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-divider { width: 1px; height: 16px; background: var(--border); }
.brand-name { font-size: 15px; font-weight: 600; color: var(--text); }

.theme-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.theme-btn {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.theme-btn.active {
  background: var(--text);
  color: var(--bg);
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lg-red);
  margin: 0 0 16px;
  font-weight: 600;
}

.article-title {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.article-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.meta-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lg-red);
  margin-bottom: 4px;
  font-weight: 600;
}

.hero, .inline {
  margin: 40px 0;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--hero-grad);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.hero-img::after {
  content: "M5";
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-size: 64px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.04em;
}

.inline-img {
  width: 100%;
  aspect-ratio: 21/9;
  background: linear-gradient(120deg, #2c1a1f 0%, #5a2a36 50%, #A50034 100%);
  border-radius: 12px;
  opacity: 0.85;
}

figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

.block { margin: 36px 0; }

.block h2 {
  font-size: 26px;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.block p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 14px;
  color: var(--text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  border-left: 3px solid var(--lg-red);
  padding-left: 20px;
}

.feature-list li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.pull-quote {
  font-size: 22px !important;
  line-height: 1.5 !important;
  font-style: italic;
  border-left: 3px solid var(--lg-red);
  padding-left: 20px;
  margin: 24px 0 !important;
  color: var(--text) !important;
}

.credits p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 600px) {
  .article-title { font-size: 32px; }
  .article-subtitle { font-size: 17px; }
  .article { padding: 32px 18px 60px; }
  .site-header { padding: 14px 18px; }
}
