/* ── TOKENS ── */
:root {
  --void:    #0D0905;
  --deep:    #150F0A;
  --dark:    #1C1410;
  --surface: #221A13;
  --garnet:  #8B1A1A;
  --garnet-l:#A82020;
  --gold:    #D4A84B;
  --gold-dim:#9A7A3A;
  --parchment: #EDE0C8;
  --parchment-dim: #B8A888;
  --muted:   #6A5A48;
  --rule:    #2A1E15;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--parchment);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITY ── */
.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--garnet);
}
.gold-rule {
  width: 48px; height: 1px;
  background: linear-gradient(to right, var(--garnet), var(--gold-dim));
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,9,5,.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-drop {
  width: 30px; height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-top {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.nav-main {
  font-family: 'IM Fell English', serif;
  font-size: 1rem;
  color: var(--parchment);
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(237,224,200,.4);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--parchment); }

.nav-cta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--garnet);
  color: var(--garnet);
  text-decoration: none;
  transition: all .25s;
  background: transparent;
}
.nav-cta:hover {
  background: var(--garnet);
  color: var(--parchment);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--parchment-dim);
  transition: all .25s;
}

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 36px;
  background: var(--garnet);
  color: var(--parchment);
  font-family: 'Josefin Sans', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--garnet);
  cursor: pointer;
  transition: all .28s;
  display: inline-block;
}
.btn-primary:hover { background: var(--garnet-l); border-color: var(--garnet-l); box-shadow: 0 0 28px rgba(139,26,26,.4); }
.btn-ghost {
  padding: 14px 36px;
  background: transparent;
  color: var(--parchment-dim);
  font-family: 'Josefin Sans', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rule);
  transition: all .28s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--parchment-dim); color: var(--parchment); }

/* ── SECTION STRUCTURE ── */
.section-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.05;
  margin-top: 12px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  margin-top: 14px;
  max-width: 480px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── ARTICLE LAYOUT ── */
.article-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 152px 24px 64px;
  text-align: center;
}
.article-breadcrumb {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--gold); }
.article-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--parchment);
  margin: 18px 0 22px;
}
.article-title em { font-style: italic; color: var(--gold); }
.article-dek {
  font-size: 1rem;
  color: var(--parchment-dim);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 28px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-meta span { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.article-meta time { white-space: nowrap; }
.article-meta span:not(:last-child)::after { content: '·'; margin-left: 18px; color: var(--rule); }

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 96px;
}
.article-body p {
  font-size: .98rem;
  color: var(--parchment-dim);
  line-height: 1.95;
  margin-bottom: 24px;
}
.article-body p:first-of-type {
  font-size: 1.1rem;
  color: var(--parchment);
}
.article-body h2 {
  font-family: 'IM Fell English', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--parchment);
  margin: 56px 0 22px;
  line-height: 1.2;
}
.article-body h2 em { font-style: italic; color: var(--gold); }
.article-body h3 {
  font-family: 'IM Fell English', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--parchment);
  margin: 36px 0 16px;
}
.article-body strong { color: var(--parchment); font-weight: 400; }
.article-body em { color: var(--gold); font-style: italic; }
.article-body ul, .article-body ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  font-size: .94rem;
  color: var(--parchment-dim);
  line-height: 1.8;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.article-body ul li::before {
  content: '✦';
  position: absolute;
  left: 0; top: 13px;
  color: var(--garnet);
  font-size: .6rem;
}
.article-body ol { counter-reset: step; }
.article-body ol li {
  counter-increment: step;
}
.article-body ol li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 10px;
  font-family: 'IM Fell English', serif;
  color: var(--garnet);
  font-size: 1.1rem;
  line-height: 1;
}
.article-callout {
  background: var(--surface);
  border-left: 2px solid var(--garnet);
  padding: 24px 28px;
  margin: 36px 0;
}
.article-callout p {
  font-size: .88rem;
  color: var(--parchment-dim);
  margin-bottom: 0;
  font-style: italic;
}
.article-callout p strong { color: var(--gold); font-style: normal; }

.article-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 48px auto;
  width: 220px;
}
.article-divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--garnet)); }
.article-divider-line.r { background: linear-gradient(to left, transparent, var(--garnet)); }
.article-divider-gem { color: var(--garnet); font-size: .85rem; }

.article-cta {
  background: var(--deep);
  border: 1px solid var(--rule);
  padding: 40px;
  text-align: center;
  margin-top: 56px;
}
.article-cta .eyebrow { margin-bottom: 12px; }
.article-cta h3 {
  font-family: 'IM Fell English', serif;
  font-size: 1.6rem;
  color: var(--parchment);
  margin-bottom: 12px;
}
.article-cta h3 em { font-style: italic; color: var(--gold); }
.article-cta p {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
  flex-wrap: wrap;
}
.article-nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  transition: color .2s;
}
.article-nav-links a:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--void);
  border-top: 1px solid var(--rule);
  padding: 64px 48px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand-name {
  font-family: 'IM Fell English', serif;
  font-size: 1.3rem;
  color: var(--parchment);
  margin-top: 10px;
  margin-bottom: 14px;
}
.footer-brand-desc {
  font-size: .77rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 260px;
}
.footer-col-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--garnet);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover { color: var(--parchment); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}
.footer-copy {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}
.footer-social a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 24px 32px; }
  .article-hero { padding: 132px 24px 48px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .article-meta { flex-direction: column; gap: 8px; }
  .article-meta span:not(:last-child)::after { display: none; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--garnet); }
