/* ─── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A0A0A;
  --surface:   #141414;
  --border:    #222;
  --red:       #C8102E;
  --red-dim:   rgba(200,16,46,0.12);
  --red-rim:   rgba(200,16,46,0.28);
  --gold:      #F0B429;
  --text:      #F5F0E8;
  --muted:     #8A8A8A;
  --body-text: #D4CFC8;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body-text);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ─── TICKER ─────────────────────────────────── */
.ticker-wrap {
  background: var(--red);
  height: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 45s linear infinite;
}
.ticker-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 2.5rem;
  line-height: 1;
}
.ticker-sep { color: rgba(255,255,255,0.4); line-height: 1; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── NAV ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  transition: color 160ms ease;
}
.site-nav a:hover { color: #000; }
.nav-divider { color: rgba(0,0,0,0.15); font-size: 9px; }
.nav-book {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.12em !important;
  color: #000 !important;
  background: var(--red);
  padding: 0.55rem 1.3rem !important;
  transition: background 160ms ease !important;
}
.nav-book:hover { background: #a50d24 !important; color: #000 !important; }

/* ─── Article Layout ────────────────────────── */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ─── Article Header ─────────────────────────── */
.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.article-category {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.article-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.article-excerpt {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 28px;
  max-width: 620px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.byline-divider { color: var(--border); }

/* ─── Hero Image ──────────────────────────────── */
.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 40px 0 52px;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ─── Body Text ──────────────────────────────── */
.article-body {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--body-text);
}

.article-body p { margin-bottom: 1.6em; }

.article-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  margin: 2.8em 0 0.9em;
  line-height: 1;
  letter-spacing: 0.03em;
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}

.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2.2em 0 0.8em;
}

.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(240,180,41,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-body a:hover { text-decoration-color: var(--gold); }

.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { font-style: italic; color: #b0aa9f; }

/* ─── In-Article Images ──────────────────────── */
.article-image { margin: 2.4em 0; }
.article-image img { width: 100%; display: block; }
.article-image figcaption {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  font-style: italic;
}

/* ─── Sarama Player Widget ───────────────────── */
.sarama-player {
  border-left: 3px solid var(--red);
  background: var(--surface);
  padding: 20px 24px;
  margin: 2.2em 0;
}
.sarama-player-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.sarama-player-desc {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.6;
}
.sarama-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-btn {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #888;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.sp-btn:hover { border-color: rgba(240,180,41,0.4); color: var(--text); }
.sp-btn.active { border-color: var(--gold); color: var(--gold); }
.sp-time {
  margin-left: auto;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── Article Footer ─────────────────────────── */
.article-foot {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.back-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text); }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
}

/* ─── Subscribe Strip ─────────────────────────── */
.article-subscribe {
  background: var(--red);
  padding: 56px 40px;
  margin: 64px 0 0;
  text-align: center;
}
.article-subscribe .subscribe-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1;
}
.article-subscribe p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.article-subscribe .subscribe-btn {
  background: #fff;
  color: var(--red);
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: 14px 36px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.article-subscribe .subscribe-btn:hover { opacity: 0.9; }

/* ─── Footer ─────────────────────────────────── */
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-divider {
  color: rgba(200,16,46,0.4);
  margin-bottom: 1.25rem;
}
.footer-logo {
  height: 34px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.75;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(0,0,0,0.35);
  letter-spacing: 0.06em;
}
.footer-copy a { color: rgba(0,0,0,0.35); text-decoration: underline; }

/* ─── Subscribe Modal ────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--red-rim);
  padding: 2.5rem;
  position: relative;
  max-width: 520px;
  width: 92%;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.modal-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.beehiiv-embed { display: block; margin: 0 auto !important; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 640px) {
  .site-nav a:not(.nav-book) { display: none; }
  .header-inner { padding: 0 1rem; }
  .article-wrap { padding: 0 16px 60px; }
  .article-header { padding: 36px 0 28px; }
  .article-subscribe { padding: 40px 20px; }
  .modal-overlay { align-items: flex-end; }
  .modal-box {
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
