@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Serif+Display:ital@0;1&family=Literata:ital,opsz,wght@0,7..72,300;0,7..72,400;0,7..72,500;1,7..72,300;1,7..72,400&display=swap');

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --ink:        #0d0d0d;
  --ivory:      #f5f0e8;
  --paper:      #faf7f2;
  --gold:       #a07840;
  --gold-pale:  #d4b483;
  --muted:      #6b6258;
  --faint:      #e4ddd2;
  --navy:       #0f1923;
  --nav-h:      68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'Literata', Georgia, serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────── */
.cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, background .25s, opacity .2s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold);
  transform: translate(-50%,-50%);
  transition: transform .12s ease, width .25s, height .25s, opacity .3s;
  opacity: .55;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor,
button:hover ~ .cursor { width: 18px; height: 18px; }

/* ─────────────────────────────────────────────
   READING PROGRESS BAR (left edge)
───────────────────────────────────────────── */
.progress-bar {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 300;
  width: 3px; background: var(--faint);
}
.progress-fill {
  width: 100%; background: var(--gold);
  height: 0%; transition: height .05s linear;
  transform-origin: top;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--faint);
}
.nav-wrap {
  width: min(1200px, 94vw); margin: 0 auto;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; letter-spacing: .06em;
  color: var(--ink);
}
.brand em { font-style: italic; font-weight: 400; }
.site-nav {
  display: flex; align-items: center; gap: 36px;
  font-family: 'Literata', serif;
  font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ─────────────────────────────────────────────
   HERO — FULL BLEED WITH FINE-GRAIN TEXTURE
───────────────────────────────────────────── */
.article-hero {
  position: relative;
  height: 96vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  will-change: transform;
  transition: transform 14s cubic-bezier(.05,.8,.1,1);
}
.hero-bg.loaded { transform: scale(1.0); }
.hero-bg { transform: scale(1.06); }

/* Layered overlays for depth */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,13,13,.92) 0%, rgba(13,13,13,.4) 45%, transparent 72%),
    linear-gradient(to right, rgba(13,13,13,.18) 0%, transparent 50%);
}
/* Grain texture via SVG filter */
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative; z-index: 2;
  width: min(1200px, 94vw); margin: 0 auto;
  padding: 0 0 72px;
  display: grid; grid-template-columns: 1fr 520px; align-items: end; gap: 60px;
}
.hero-left { color: white; }
.hero-category {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Literata', serif;
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: #e0c9a0; margin-bottom: 24px;
}
.hero-category::before {
  content: ''; width: 40px; height: 1px; background: var(--gold);
  display: inline-block; flex-shrink: 0;
}
.article-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 74px);
  line-height: .96; letter-spacing: -.03em;
  font-weight: 400; color: white;
  max-width: 760px;
}
.hero-meta {
  margin-top: 28px;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex; flex-wrap: wrap; gap: 22px;
}
.hero-meta span { white-space: nowrap; }
.hero-meta span + span::before { content: '·'; margin-right: 22px; opacity: .4; }

/* Right side stat block in hero */
.hero-stat-block {
  align-self: end;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 40px; color: white;
}
.hero-stat { margin-bottom: 28px; }
.hero-stat:last-child { margin-bottom: 0; }
.hero-stat .num {
  font-family: 'DM Serif Display', serif;
  font-size: 52px; line-height: 1; color: var(--gold-pale);
  display: block;
}
.hero-stat .label {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-top: 4px; display: block;
}

/* ─────────────────────────────────────────────
   ARTICLE LAYOUT — ASYMMETRIC EDITORIAL GRID
───────────────────────────────────────────── */
.article-outer {
  background: var(--paper);
  position: relative;
}
/* Subtle paper texture */
.article-outer::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.022'/%3E%3C/svg%3E");
  background-size: 300px;
}

.article-grid {
  position: relative; z-index: 1;
  width: min(1200px, 94vw); margin: 0 auto;
  display: grid;
  grid-template-columns: 72px 1fr 300px;
  gap: 0 56px;
  padding: 96px 0 120px;
  align-items: start;
}

/* Margin column — section labels live here */
.margin-col { position: sticky; top: 108px; }
.section-marker {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  font-family: 'Literata', serif;
  opacity: 0; transition: opacity .5s;
}
.section-marker.visible { opacity: 1; }

/* Body column */
.article-body { min-width: 0; }

.article-body .lede {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.42; letter-spacing: -.02em;
  color: var(--ink); font-weight: 400; font-style: italic;
  padding-bottom: 56px; margin-bottom: 56px;
  border-bottom: 1px solid var(--faint);
}

.article-body h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08; letter-spacing: -.025em;
  font-weight: 400; color: var(--ink);
  margin: 64px 0 22px;
  display: flex; align-items: center; gap: 18px;
}
.article-body h2::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--gold); flex-shrink: 0;
  margin-top: 4px;
}

.article-body p {
  font-size: .95rem; line-height: 1.88;
  color: #2e2a25; margin-bottom: 24px;
  font-optical-sizing: auto;
}

.article-body p strong { font-weight: 500; color: var(--ink); }

.article-body ul {
  list-style: none; margin: 0 0 32px;
}
.article-body ul li {
  font-size: .93rem; line-height: 1.75;
  color: #2e2a25;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid var(--faint);
  padding-left: 24px;
  position: relative;
}
.article-body ul li::before {
  content: ''; display: block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  position: absolute; left: 0; top: 22px;
}
.article-body ul li:first-child { border-top: 1px solid var(--faint); }

/* ─────────────────────────────────────────────
   PULL QUOTE — THE UNFORGETTABLE MOMENT
   Bleeds into margin, breaks the grid
───────────────────────────────────────────── */
.pull-quote-wrap {
  margin: 72px 0 72px -128px; /* intentional bleed into margin */
  padding: 0;
}
.pull-quote-inner {
  border-top: 1px solid var(--gold);
  padding-top: 32px;
  position: relative;
}
.pull-quote-inner blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.1; letter-spacing: -.04em;
  color: var(--ink); font-weight: 400; font-style: italic;
}
.pull-quote-inner cite {
  display: block; margin-top: 20px;
  font-family: 'Literata', serif;
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  font-style: normal;
}

/* ─────────────────────────────────────────────
   INTERSTITIAL — FULL BLEED TEXT ON DARK
───────────────────────────────────────────── */
.interstitial {
  background: var(--navy);
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.interstitial::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  background-size: 300px; pointer-events: none;
}
.interstitial-inner {
  position: relative; z-index: 1;
  width: min(860px, 90vw); margin: 0 auto; text-align: center;
}
.interstitial-inner .overline {
  font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 36px;
}
.interstitial-inner .overline::before,
.interstitial-inner .overline::after {
  content: ''; flex: 1; max-width: 80px;
  height: 1px; background: var(--gold);
}
.interstitial-inner h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06; letter-spacing: -.03em;
  color: white; font-weight: 400; margin-bottom: 24px;
}
.interstitial-inner p {
  font-size: .95rem; color: rgba(255,255,255,.6);
  line-height: 1.75; max-width: 520px; margin: 0 auto;
}

/* ─────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────── */
.article-sidebar { padding-top: 0; }

.cta-block {
  background: var(--navy);
  padding: 36px 32px; margin-bottom: 28px;
}
.cta-block .overline {
  font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 18px;
}
.cta-block h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px; line-height: 1.1;
  color: white; font-weight: 400; margin-bottom: 14px;
}
.cta-block p {
  font-size: .82rem; color: rgba(255,255,255,.6);
  line-height: 1.65; margin-bottom: 24px;
}
.cta-btn {
  display: block; text-align: center;
  padding: 13px 22px;
  background: var(--gold); color: white;
  font-family: 'Literata', serif;
  font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.cta-btn:hover { background: #8a6530; transform: translateY(-1px); }
.cta-btn.outline {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2); margin-top: 10px;
}
.cta-btn.outline:hover { background: rgba(255,255,255,.06); transform: none; }

.related-block { padding: 0; }
.related-block .overline {
  font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 4px;
  padding-bottom: 14px; border-bottom: 1px solid var(--faint);
}
.related-list { list-style: none; }
.related-list li { border-bottom: 1px solid var(--faint); }
.related-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: .82rem;
  color: var(--ink); transition: color .2s;
  font-family: 'Literata', serif;
  line-height: 1.4;
}
.related-list a:hover { color: var(--gold); }
.related-list a::after {
  content: '→'; font-size: 12px;
  color: var(--gold-pale); flex-shrink: 0; margin-left: 12px;
}

/* ─────────────────────────────────────────────
   SCROLL REVEALS — horizontal slide, not generic fade-up
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.from-right {
  transform: translateX(14px);
}
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.article-footer {
  background: var(--ink); color: rgba(255,255,255,.4);
  padding: 48px 0; font-size: 12px; letter-spacing: .06em;
}
.footer-inner {
  width: min(1200px, 94vw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; letter-spacing: .08em;
  color: rgba(255,255,255,.6);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1060px) {
  .article-grid { grid-template-columns: 1fr 260px; gap: 0 40px; }
  .margin-col { display: none; }
  .pull-quote-wrap { margin-left: 0; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stat-block { display: none; }
}
@media (max-width: 780px) {
  .article-grid { grid-template-columns: 1fr; padding: 64px 0 80px; }
  .article-sidebar { border-top: 1px solid var(--faint); padding-top: 48px; margin-top: 48px; }
  .pull-quote-wrap { margin-left: 0; }
  .site-nav { display: none; }
}
