/* ============================================================
   THE COVENANT RECLAIMED — MASTER STYLESHEET
   Design System: Editorial | Masculine | Serious | Timeless
   ============================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  /* Colors */
  --charcoal: #1a1a1a;
  --charcoal-mid: #2c2c2c;
  --charcoal-light: #3d3d3d;
  --off-white: #f5f1eb;
  --warm-white: #faf8f4;
  --gold: #b8962e;
  --gold-light: #d4b04a;
  --gold-dark: #8a6e1e;
  --burgundy: #6b2737;
  --burgundy-light: #8a3345;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #767676;
  --border: #d8d0c4;
  --border-light: #e8e2d8;
  --rule: #c8bc9e;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;

  /* Widths */
  --max-width: 1200px;
  --content-width: 760px;
  --narrow-width: 620px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  padding-left: 1.5em;
}

/* ─── TYPOGRAPHY SCALE ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2em;
  color: var(--text-secondary);
}

p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.label-gold {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
}

blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* ─── LAYOUT UTILITIES ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: var(--space-md) 0;
}

hr.rule-thick {
  border: none;
  border-top: 2px solid var(--charcoal);
  margin: var(--space-md) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--off-white);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--charcoal-light);
  color: var(--off-white);
  border-color: var(--charcoal-light);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--warm-white);
  border-color: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--off-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}

.btn-outline-light:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.72rem;
}

/* ─── SITE HEADER / NAV ─── */
.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  text-decoration: none;
}

.site-logo .logo-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  display: block;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.site-logo .logo-sub {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8c0b0;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
  display: block;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
}

.main-nav .nav-cta a {
  background: var(--gold-dark);
  color: var(--off-white);
  padding: 0.5rem 1rem;
}

.main-nav .nav-cta a:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all 0.3s ease;
}

/* ─── HERO SECTION ─── */
.hero {
  background: var(--charcoal);
  color: var(--off-white);
  padding: var(--space-xxl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--off-white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #b8b0a0;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── HOMEPAGE GRID ─── */
.homepage-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Left pillar column */
.pillar-column {
  padding-top: 0.5rem;
}

.pillar-column-title {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--charcoal);
  margin-bottom: 1rem;
  display: block;
}

.pillar-card {
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--warm-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: block;
  text-decoration: none;
}

.pillar-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  color: inherit;
}

.pillar-card-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 0.4rem;
}

.pillar-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.pillar-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-family: var(--font-body);
  margin: 0;
}

/* Right main column */
.main-column {}

/* Featured article spotlight */
.featured-spotlight {
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  background: var(--off-white);
}

.featured-spotlight-header {
  background: var(--charcoal);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-spotlight-header span {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.featured-spotlight-body {
  padding: 2rem;
}

.featured-spotlight-body .category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
  display: block;
}

.featured-spotlight-body h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.featured-spotlight-body h2 a {
  color: var(--charcoal);
  text-decoration: none;
}

.featured-spotlight-body h2 a:hover {
  color: var(--gold-dark);
}

.featured-spotlight-body .excerpt {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-meta {
  font-family: var(--font-label);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── ARTICLE GRID ─── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  border: 1px solid var(--border);
  background: var(--warm-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.article-card-body {
  padding: 1.5rem;
}

.article-card .category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-card h3 a {
  color: var(--charcoal);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--gold-dark);
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-card-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card-footer .date {
  font-family: var(--font-label);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── SECTION HEADERS ─── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid var(--charcoal);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.section-header a {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
  margin-left: 1rem;
}

.section-header a:hover {
  color: var(--gold);
}

/* ─── BOOKS SECTION ─── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.book-card {
  border: 1px solid var(--border);
  background: var(--warm-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.book-cover-placeholder {
  text-align: center;
  padding: 2rem;
}

.book-cover-placeholder .cover-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.book-cover-placeholder .cover-author {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-cover-placeholder .cover-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0.75rem auto;
}

.book-card-body {
  padding: 1.5rem;
}

.book-card .book-category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.book-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.book-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.book-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ─── EMAIL SIGNUP BLOCKS ─── */
.email-block {
  background: var(--charcoal);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.email-block-inner {
  max-width: 560px;
  margin: 0 auto;
}

.email-block .label-gold {
  margin-bottom: 1rem;
  display: block;
}

.email-block h2 {
  color: var(--off-white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.email-block p {
  color: #b8b0a0;
  font-size: 0.97rem;
  margin-bottom: 2rem;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  border: 1px solid #555;
  background: rgba(255,255,255,0.07);
  color: var(--off-white);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-form input[type="email"]::placeholder {
  color: #888;
}

.email-form input[type="email"]:focus {
  border-color: var(--gold);
}

.email-form button {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--gold-light);
}

.email-privacy {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #666;
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* Inline email block (inside articles) */
.email-block-inline {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  margin: 3rem 0;
}

.email-block-inline h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.email-block-inline p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.email-block-inline .email-form {
  margin: 0;
  max-width: 100%;
}

.email-block-inline .email-form input[type="email"] {
  background: var(--warm-white);
  color: var(--charcoal);
  border-color: var(--border);
}

.email-block-inline .email-form input[type="email"]:focus {
  border-color: var(--gold-dark);
}

/* ─── ABOUT STRIP ─── */
.about-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
}

.about-photo-placeholder {
  aspect-ratio: 1;
  background: var(--charcoal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
}

.about-photo-placeholder span {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  text-align: center;
  padding: 1rem;
}

.about-strip-text .label {
  display: block;
  margin-bottom: 0.75rem;
}

.about-strip-text h2 {
  margin-bottom: 1rem;
}

.about-strip-text p {
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

/* ─── PAGE HEADER (interior pages) ─── */
.page-header {
  background: var(--charcoal);
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: 2px solid var(--gold-dark);
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header .eyebrow {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.page-header h1 {
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #b8b0a0;
  max-width: 600px;
  font-size: 1.05rem;
}

/* ─── ARTICLE / TEACHING FULL PAGE ─── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
}

.article-body {
  min-width: 0;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-header .category {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 0.75rem;
}

.article-header h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-header .deck {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.article-meta {
  font-family: var(--font-label);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.4em;
  color: var(--text-secondary);
}

.article-content .pull-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 600;
  color: var(--charcoal);
  border-top: 2px solid var(--charcoal);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin: 2.5rem 0;
  line-height: 1.4;
}

.article-content .scripture {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1rem;
}

.article-content .scripture cite {
  display: block;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.article-content .footnote-marker {
  font-size: 0.75em;
  vertical-align: super;
  color: var(--gold-dark);
  font-family: var(--font-label);
}

.footnotes {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.footnotes h4 {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footnotes ol {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Article sidebar */
.article-sidebar {}

.sidebar-widget {
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  background: var(--off-white);
}

.sidebar-widget-header {
  background: var(--charcoal);
  padding: 0.6rem 1rem;
}

.sidebar-widget-header span {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-widget-body {
  padding: 1.25rem;
}

.sidebar-widget-body p {
  font-size: 0.87rem;
  margin-bottom: 1rem;
}

.related-link {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.87rem;
  transition: color 0.2s ease;
}

.related-link:hover {
  color: var(--gold-dark);
}

.related-link:last-child {
  border-bottom: none;
}

.related-link span {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

/* ─── ABOUT PAGE ─── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
  align-items: start;
}

.about-main h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}

.about-main p {
  font-size: 1.02rem;
  margin-bottom: 1.25em;
}

.about-sidebar {}

.platform-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-links li {
  border-bottom: 1px solid var(--border-light);
}

.platform-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.platform-links a:hover {
  color: var(--gold-dark);
}

.platform-links .link-icon {
  width: 32px;
  height: 32px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
}

.contact-form-group {
  margin-bottom: 1.5rem;
}

.contact-form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
  border-color: var(--gold-dark);
}

.contact-form-group textarea {
  min-height: 180px;
  resize: vertical;
}

/* ─── SUBSCRIBE PAGE ─── */
.subscribe-page {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
}

.subscribe-benefits {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.subscribe-benefits li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.97rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.subscribe-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ─── TEACHINGS PAGE ─── */
.teachings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.teaching-card {
  border: 1px solid var(--border);
  background: var(--warm-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.teaching-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.teaching-card-body {
  padding: 1.5rem;
}

.teaching-card .series-label {
  font-family: var(--font-label);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.teaching-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.teaching-card h3 a {
  color: var(--charcoal);
  text-decoration: none;
}

.teaching-card h3 a:hover {
  color: var(--gold-dark);
}

.teaching-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.teaching-card-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── COVENANT PAGE ─── */
.covenant-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.covenant-pillar {
  border: 1px solid var(--border);
  padding: 2rem;
  background: var(--warm-white);
  transition: border-color 0.2s ease;
}

.covenant-pillar:hover {
  border-color: var(--gold);
}

.covenant-pillar .pillar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.covenant-pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.covenant-pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ─── LEGAL PAGES ─── */
.legal-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-lg) 2rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal);
  color: var(--off-white);
  padding: var(--space-lg) 0 var(--space-sm);
  border-top: 2px solid var(--gold-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem var(--space-md);
}

.footer-brand .logo-main {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--off-white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-sub {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: #8a8070;
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-brand .footer-email-mini {
  display: flex;
  gap: 0;
}

.footer-brand .footer-email-mini input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border: 1px solid #444;
  background: rgba(255,255,255,0.06);
  color: var(--off-white);
  outline: none;
  min-width: 0;
}

.footer-brand .footer-email-mini input::placeholder { color: #666; }

.footer-brand .footer-email-mini input:focus { border-color: var(--gold); }

.footer-brand .footer-email-mini button {
  padding: 0.65rem 1rem;
  background: var(--gold-dark);
  color: var(--off-white);
  border: none;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: #8a8070;
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--off-white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: var(--space-sm) 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin: 0;
}

.footer-bottom a {
  color: #666;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.pagination a,
.pagination span {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--charcoal);
  color: var(--off-white);
  border-color: var(--charcoal);
}

.pagination .current {
  background: var(--charcoal);
  color: var(--off-white);
  border-color: var(--charcoal);
}

/* ─── NOTICE / ALERT ─── */
.notice {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  background: var(--off-white);
  margin: 2rem 0;
}

.notice p {
  font-size: 0.9rem;
  margin: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .homepage-grid {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .homepage-grid {
    grid-template-columns: 1fr;
  }

  .pillar-column {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal-mid);
    border-top: 1px solid #333;
    z-index: 99;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .main-nav a {
    padding: 0.75rem 1.5rem;
  }

  .hero {
    padding: var(--space-lg) 0;
  }

  .email-form {
    flex-direction: column;
  }

  .books-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container, .container-narrow {
    padding: 0 1.25rem;
  }

  .homepage-grid {
    padding: 0 1.25rem;
  }

  .article-layout {
    padding: var(--space-md) 1.25rem;
  }

  .about-content,
  .contact-grid {
    padding: var(--space-md) 1.25rem;
  }
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .article-sidebar,
  .email-block, .email-block-inline { display: none; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
