/*
Theme Name: Cult of Peptides
Theme URI: https://cultofpeptides.com
Author: Cult of Peptides
Description: Official theme for Cult of Peptides — Scripture for the Engineered Self
Version: 1.0.0
License: Proprietary
Text Domain: cult-of-peptides
*/

/* ───────────────────────────────────────────
   COLOR SYSTEM
   Background:  #0d0b0a  — warm near-black
   Surface:     #17140f  — slightly raised, warm
   Parchment:   #efe7d4  — bone/cream primary text
   Muted:       #8a8578  — secondary text (warm stone)
   Oxblood:     #7a1f1c  — primary accent, liturgical
   Oxblood+:    #a02a24  — hover state
   Amber:       #d4a74c  — chemical / lab accent
   Rule:        #2a231d  — hairline dividers
   ─────────────────────────────────────────── */

:root {
  --bg: #0d0b0a;
  --surface: #17140f;
  --surface-2: #1f1a14;
  --parchment: #efe7d4;
  --parchment-dim: #c9c1b0;
  --muted: #8a8578;
  --muted-deep: #5a554c;
  --oxblood: #7a1f1c;
  --oxblood-bright: #a02a24;
  --amber: #d4a74c;
  --amber-dim: #8a6e32;
  --rule: #2a231d;
  --rule-bright: #3f352b;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Newsreader", "Georgia", serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ═══════════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════════ */

.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seal {
  width: 38px;
  height: 38px;
  color: var(--parchment);
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--parchment);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.issue-stamp {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.issue-stamp .live {
  color: var(--oxblood-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oxblood-bright);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  padding: 96px 32px 72px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-content { max-width: 760px; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 36px;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 144;
}

.hero-heading em {
  font-style: italic;
  color: var(--oxblood-bright);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 300;
}

.hero-deck {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--parchment-dim);
  max-width: 580px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-deck strong {
  color: var(--parchment);
  font-weight: 500;
  background: linear-gradient(transparent 62%, rgba(212, 167, 76, 0.18) 62%);
  padding: 0 2px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--oxblood);
  color: var(--parchment);
  border: 1px solid var(--oxblood);
}

.btn-primary:hover {
  background: var(--oxblood-bright);
  border-color: var(--oxblood-bright);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--parchment);
}

.btn-ghost {
  background: transparent;
  color: var(--parchment);
  border: 1px solid var(--rule-bright);
}

.btn-ghost:hover {
  border-color: var(--parchment);
  background: var(--surface);
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.peptide-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  color: var(--parchment);
}

.figure-caption {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   DATELINE
   ═══════════════════════════════════════════ */

.dateline {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.dateline .accent { color: var(--amber); }
.dateline .sep { margin: 0 14px; color: var(--muted-deep); }

/* ═══════════════════════════════════════════
   SECTION FRAMEWORK
   ═══════════════════════════════════════════ */

.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  border-bottom: 1px solid var(--rule-bright);
  padding-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--parchment);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 80;
}

.section-title em {
  font-style: italic;
  color: var(--amber);
}

.section-roman {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 400;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-bright);
  padding-bottom: 4px;
  transition: all 0.2s;
}

.section-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ═══════════════════════════════════════════
   LEAD STORY
   ═══════════════════════════════════════════ */

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
  position: relative;
}

.lead-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--oxblood);
  color: var(--parchment);
  margin-bottom: 24px;
}

.lead-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 24px;
  font-variation-settings: "SOFT" 30, "opsz" 80;
  text-decoration: none;
}

.lead-headline a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.lead-headline a:hover {
  color: var(--amber);
}

.lead-deck {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--parchment-dim);
  margin-bottom: 28px;
  font-weight: 300;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-meta .byline { color: var(--parchment-dim); }
.article-meta .sep { color: var(--muted-deep); }

.lead-figure {
  background: var(--surface);
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.lead-figure svg {
  width: 80%;
  height: auto;
  color: var(--amber);
  z-index: 2;
  position: relative;
}

.lead-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}

.lead-figure-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}

.lead-figure-label::before {
  content: "◆";
  margin-right: 8px;
  color: var(--oxblood-bright);
}

/* ═══════════════════════════════════════════
   ARTICLE GRID
   ═══════════════════════════════════════════ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.article-card {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  position: relative;
}

.article-card:nth-child(3n) { border-right: none; }

.article-card:hover {
  background: var(--surface);
}

.article-card:hover .article-headline {
  color: var(--amber);
}

.article-number {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-deep);
  margin-bottom: 16px;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-tag::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--amber);
}

.article-headline {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--parchment);
  margin-bottom: 14px;
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "opsz" 48;
  transition: color 0.2s;
}

.article-deck {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: auto;
  padding-bottom: 24px;
  font-weight: 300;
}

.article-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

/* ═══════════════════════════════════════════
   THE CYCLE — live tracker
   ═══════════════════════════════════════════ */

.cycle {
  background: var(--surface);
  border-top: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}

.cycle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 167, 76, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(122, 31, 28, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cycle-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.cycle-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule-bright);
  padding-bottom: 32px;
}

.cycle-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood-bright);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cycle-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 80;
  color: var(--parchment);
  max-width: 780px;
}

.cycle-title em {
  font-style: italic;
  color: var(--amber);
}

.cycle-day-counter {
  text-align: right;
  font-family: var(--font-display);
  line-height: 1;
}

.cycle-day-counter .big {
  font-size: 72px;
  color: var(--parchment);
  font-weight: 300;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}

.cycle-day-counter .small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.cycle-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
}

.protocol-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.protocol-item {
  padding: 24px 24px 24px 0;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.protocol-item:nth-child(2n) { padding-right: 0; border-right: none; padding-left: 24px; }
.protocol-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }

.protocol-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--parchment);
  margin-bottom: 4px;
  font-weight: 400;
}

.protocol-formula {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.protocol-stats {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--parchment-dim);
  line-height: 1.6;
  font-weight: 300;
}

.protocol-stats .label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
}

.protocol-stats .label:first-child { margin-top: 0; }

.cycle-notes {
  background: var(--bg);
  border: 1px solid var(--rule-bright);
  padding: 28px;
  align-self: start;
}

.cycle-notes-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.note-entry {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--rule);
}

.note-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.note-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.note-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--parchment-dim);
  font-weight: 300;
  font-style: italic;
}

.cycle-cta {
  margin-top: 40px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

/* ═══════════════════════════════════════════
   TENETS
   ═══════════════════════════════════════════ */

.tenets {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.tenets-header {
  text-align: center;
  margin-bottom: 80px;
}

.tenets-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.tenets-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 300;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  color: var(--parchment);
  font-style: italic;
}

.tenets-list {
  max-width: 920px;
  margin: 0 auto;
  list-style: none;
}

.tenet {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.3s ease;
}

.tenet:first-child { border-top: 1px solid var(--rule); }

.tenet:hover { padding-left: 16px; }

.tenet:hover .tenet-numeral { color: var(--oxblood-bright); }

.tenet-numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.tenet-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--parchment);
  font-variation-settings: "SOFT" 30, "opsz" 60;
}

.tenet-text em {
  font-style: italic;
  color: var(--parchment-dim);
}

/* ═══════════════════════════════════════════
   CONGREGATION — email capture
   ═══════════════════════════════════════════ */

.congregation {
  background: var(--oxblood);
  color: var(--parchment);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}

.congregation::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 24px,
      rgba(0,0,0,0.06) 24px,
      rgba(0,0,0,0.06) 25px
    );
  pointer-events: none;
}

.congregation-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.congregation-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 32px;
  color: var(--parchment);
  opacity: 0.9;
}

.congregation-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0.75;
}

.congregation-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin-bottom: 32px;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
}

.congregation-title em { font-style: italic; }

.congregation-deck {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 48px;
  font-weight: 300;
  opacity: 0.92;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 24px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(239, 231, 212, 0.25);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 20px 24px;
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.email-input::placeholder {
  color: rgba(239, 231, 212, 0.5);
  font-style: italic;
}

.email-submit {
  background: var(--parchment);
  color: var(--oxblood);
  border: none;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.email-submit:hover {
  background: var(--bg);
  color: var(--parchment);
}

.congregation-fineprint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 20px;
}

.congregation-fineprint .count {
  color: var(--amber);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: var(--bg);
  padding: 72px 32px 32px;
  border-top: 1px solid var(--rule);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand .wordmark {
  font-size: 20px;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.4;
  font-weight: 300;
  margin-top: 16px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--parchment-dim);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--amber); }

.colophon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.colophon .accent { color: var(--amber); }

/* ═══════════════════════════════════════════
   HAMBURGER MENU
   ═══════════════════════════════════════════ */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--parchment-dim);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 380px; margin: 0 auto; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-figure { order: 2; max-width: 500px; margin: 0 auto; }
  .lead-text { order: 1; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .article-card:nth-child(2n) { border-right: none; }
  .cycle-grid { grid-template-columns: 1fr; }
  .cycle-header { grid-template-columns: 1fr; }
  .cycle-day-counter { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .masthead {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
    position: relative;
  }
  .nav-burger { display: flex; }
  .issue-stamp { display: none; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--rule-bright);
    padding: 8px 20px 16px;
    flex-direction: column;
    gap: 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-open .nav { display: flex; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav li:last-child { border-bottom: none; }
  .nav a { display: block; padding: 14px 0; font-size: 12px; }

  .hero { padding: 56px 20px 48px; }
  .hero-heading { font-size: 48px; }
  .section { padding: 64px 20px; }
  .cycle { padding: 64px 20px; }
  .tenets { padding: 72px 20px; }
  .congregation { padding: 72px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { border-right: none !important; min-height: 280px; }
  .protocol-list { grid-template-columns: 1fr; }
  .protocol-item { padding: 20px 0 !important; border-right: none !important; }
  .tenet { grid-template-columns: 50px 1fr; gap: 20px; padding: 24px 0; }
  .email-form { flex-direction: column; }
  .email-submit { padding: 16px; width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .colophon { flex-direction: column; text-align: center; gap: 8px; }
  .cycle-day-counter .big { font-size: 52px; }
  .congregation-title { font-size: clamp(32px, 8vw, 52px); }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 40px; }
  .lead-headline { font-size: 28px; }
  .masthead-left .wordmark { font-size: 14px; }
}

/* ═══════════════════════════════════════════
   LOAD-IN ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }
.reveal-5 { animation-delay: 0.7s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .live-dot { animation: none; }
}

/* ═══════════════════════════════════════════
   SINGLE ARTICLE PAGE
   ═══════════════════════════════════════════ */

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 120px;
}

.article-page-header {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.article-page-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-page-category::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--amber);
}

.article-page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 28px;
  font-variation-settings: "SOFT" 30, "opsz" 80;
}

.article-page-deck {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--parchment-dim);
  margin-bottom: 28px;
  font-weight: 300;
  font-style: italic;
}

.article-disclaimer {
  background: var(--surface);
  border-left: 3px solid var(--oxblood);
  padding: 16px 22px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.article-disclaimer strong {
  color: var(--oxblood-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ═══════════════════════════════════════════
   WORDPRESS ENTRY CONTENT
   ═══════════════════════════════════════════ */

.entry-content {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--parchment-dim);
  font-weight: 300;
}

.entry-content p { margin-bottom: 1.5em; }

.entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--parchment);
  margin: 2.5em 0 0.75em;
  font-variation-settings: "SOFT" 40, "opsz" 60;
}

.entry-content h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--parchment);
  margin: 2em 0 0.6em;
  font-variation-settings: "SOFT" 30, "opsz" 48;
}

.entry-content h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 2em 0 0.6em;
}

.entry-content strong {
  color: var(--parchment);
  font-weight: 500;
}

.entry-content em {
  font-style: italic;
  color: var(--parchment);
}

.entry-content a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--amber-dim);
  transition: color 0.2s, border-color 0.2s;
}

.entry-content a:hover {
  color: var(--parchment);
  border-color: var(--parchment);
}

.entry-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 4px 28px;
  margin: 2em 0;
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--parchment);
  font-weight: 300;
}

.entry-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--amber);
  background: var(--surface);
  padding: 2px 6px;
}

.entry-content pre {
  background: var(--surface);
  border: 1px solid var(--rule-bright);
  padding: 24px;
  overflow-x: auto;
  margin: 1.5em 0;
}

.entry-content pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--parchment-dim);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.entry-content li { margin-bottom: 0.5em; }

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
}

.entry-content figure { margin: 2em 0; }

.entry-content figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

.entry-content hr {
  border: none;
  border-top: 1px solid var(--rule-bright);
  margin: 3em 0;
}

/* Post-article subscription CTA */
.article-subscribe-cta {
  background: var(--oxblood);
  padding: 48px;
  margin-top: 72px;
  text-align: center;
}

.article-subscribe-cta h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--parchment);
  margin-bottom: 16px;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 60;
}

.article-subscribe-cta p {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(239,231,212,0.85);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   STATIC PAGE TEMPLATE
   ═══════════════════════════════════════════ */

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 120px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  font-variation-settings: "SOFT" 30, "opsz" 80;
}

/* ═══════════════════════════════════════════
   ARCHIVE / BLOG INDEX
   ═══════════════════════════════════════════ */

.archive-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  border-bottom: 1px solid var(--rule);
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 12px;
  font-variation-settings: "SOFT" 30, "opsz" 80;
}

.archive-description {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
}

.archive-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 96px;
}

/* ═══════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════ */

.error-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  font-weight: 300;
  color: var(--oxblood);
  font-variation-settings: "SOFT" 30, "opsz" 144;
  font-style: italic;
  margin-bottom: 24px;
}

.error-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 40, "opsz" 60;
}

.error-message {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 48px;
  font-weight: 300;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 1px solid var(--rule-bright);
  color: var(--parchment-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--parchment);
}

/* ───────────────────────────────────────────
   CONTACT / TIPS PAGES
   ─────────────────────────────────────────── */

.contact-email-block {
  margin: 40px 0;
  padding: 36px 40px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--oxblood);
  background: var(--surface);
}

a.contact-email-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

a.contact-email-link:hover {
  color: var(--parchment);
}

.contact-email-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  text-transform: uppercase;
}

.page-lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--parchment-dim);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 32px;
  margin-bottom: 48px;
}
