:root {
  --ink: #0a1612;
  --moss: #14342a;
  --pine: #1f4a3b;
  --sage: #6e7d75;
  --cream: #f3f4ef;
  --paper: #e7eae0;
  --bone: #fafbf7;
  --card: #ffffff;
  --gold: #b8883e;
  --gold-deep: #7a5a20;
  --sun: #d9a14b;
  --accent: #2a8a5f;
  --hairline: rgba(10, 22, 18, 0.08);
  --hairline-strong: rgba(10, 22, 18, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss03", "cv11";
}

::selection { background: var(--moss); color: var(--cream); }
a { color: inherit; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  background: rgba(20, 52, 42, 0.92);
  border-bottom: 1px solid rgba(243, 244, 239, 0.08);
}

.logo {
  font-family: 'Geist', sans-serif;
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun), var(--gold-deep) 70%, var(--moss));
  box-shadow: 0 0 0 1px rgba(243, 244, 239, 0.25), 0 0 18px rgba(233, 181, 74, 0.5);
}

.logo em {
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: rgba(243, 244, 239, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 20px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--sun); transform: translateY(-1px); }
.nav-cta svg { width: 12px; height: 12px; }

/* ============ ARTICLE ============ */
.article-wrap {
  padding: 140px 48px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}
.crumb:hover { color: var(--moss); }
.crumb svg { width: 12px; height: 12px; }

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.article-eyebrow .tag {
  padding: 4px 10px;
  background: rgba(184, 136, 62, 0.12);
  border: 1px solid rgba(184, 136, 62, 0.25);
  border-radius: 100px;
  color: var(--gold-deep);
}

.article-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-title em {
  font-style: normal;
  color: var(--gold-deep);
}

.article-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--sage);
  margin-bottom: 36px;
  max-width: 640px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--sage);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sage); opacity: 0.5; }

.article-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.article-visual.t-pine { background: linear-gradient(135deg, var(--pine), var(--moss)); }
.article-visual.t-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink); }
.article-visual.t-moss { background: linear-gradient(135deg, var(--moss), var(--ink)); }
.article-visual.t-paper { background: linear-gradient(135deg, var(--paper), var(--cream)); color: var(--moss); }
.article-visual.t-ink { background: linear-gradient(135deg, var(--ink), var(--moss)); }
.article-visual.t-sun { background: linear-gradient(135deg, var(--sun), var(--gold)); color: var(--ink); }
.article-visual svg { width: 38%; height: auto; max-width: 220px; opacity: 0.92; }

.prose { color: var(--ink); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  font-family: 'Geist', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  margin-top: 48px;
  color: var(--moss);
}
.prose h3 {
  font-family: 'Geist', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 32px;
  color: var(--ink);
}
.prose p { color: rgba(10, 22, 18, 0.82); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol {
  padding-left: 22px;
  color: rgba(10, 22, 18, 0.82);
}
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--moss);
  font-size: 18px;
}

.callout {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--moss);
}
.callout strong { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }

/* ============ CTA ============ */
.article-cta {
  margin-top: 80px;
  padding: 48px;
  background: var(--moss);
  color: var(--cream);
  border-radius: 20px;
  text-align: center;
}
.article-cta h3 {
  font-family: 'Geist', sans-serif;
  font-size: 26px;
  font-weight: 450;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-cta h3 em { font-style: normal; color: var(--sun); }
.article-cta p {
  color: rgba(243, 244, 239, 0.65);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.article-cta a:hover { background: var(--sun); transform: translateY(-1px); }
.article-cta a svg { width: 14px; height: 14px; }

/* ============ RELATED ============ */
.related {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}
.related-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.related-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.related-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
  transition: padding 0.2s ease, color 0.2s ease;
}
.related-list a:hover { padding-left: 8px; color: var(--gold-deep); }
.related-list a svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: rgba(243, 244, 239, 0.6);
  padding: 80px 48px 32px;
  border-top: 1px solid rgba(243, 244, 239, 0.1);
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 20px; }
.footer-brand .logo em { color: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; font-size: 14px; }
.footer-col li { margin-bottom: 10px; line-height: 1.5; }
.footer-col a { color: rgba(243, 244, 239, 0.6); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 244, 239, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(243, 244, 239, 0.4);
}
.footer-bottom-r { display: flex; gap: 24px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .nav { padding: 16px 22px; }
  .nav-links { display: none; }
  .logo { font-size: 17px; gap: 9px; }
  .logo-mark { width: 22px; height: 22px; }
  .nav-cta { padding: 9px 14px; font-size: 12.5px; }

  .article-wrap { padding: 110px 22px 60px; }
  .article-title { font-size: 30px; }
  .article-lead { font-size: 17px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }

  .article-cta { padding: 32px 22px; }
  .article-cta h3 { font-size: 22px; }

  footer { padding: 60px 22px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
