/*
 * decision-gospel.css
 * Shared styles for every page under /decision-gospel/*.html.
 *
 * Only rules that apply to the whole mini-site live here. Page-unique styles
 * (pyramid diagram, horsemen palette, commandments grid, etc.) remain in the
 * page's own inline <style> block. Pages may also override individual
 * properties here (line-height, p margin, page-header gradient color) by
 * defining the same selector in their inline styles, which win because of
 * document order.
 */

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

:root {
  --ink: #0e0c09;
  --parchment: #f5f0e8;
  --gold: #b8922a;
  --gold-light: #d4a843;
  --gold-dim: #7a5f1a;
  --red: #8b1a1a;
  --muted: #5a5040;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.9;
}

/* NAV */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gold-dim);
  background: rgba(14, 12, 9, 0.97);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 13px;
  transition: color 0.2s, background 0.2s;
  border-right: 1px solid rgba(184, 146, 42, 0.15);
}

nav a:first-child { border-left: 1px solid rgba(184, 146, 42, 0.15); }
nav a:hover,
nav a.active { color: var(--gold-light); background: rgba(184, 146, 42, 0.04); }

/* PAGE HEADER */
.page-header {
  text-align: center;
  padding: 72px 24px 56px;
  border-bottom: 1px solid rgba(184, 146, 42, 0.2);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184, 146, 42, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 32px;
  display: block;
}

.breadcrumb a { color: var(--gold-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }

.page-label {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
  display: block;
}

h1 {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-intro {
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* MAIN + PROSE DEFAULTS */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

p { margin-bottom: 1.4em; }
em { color: var(--gold-light); font-style: italic; }

/* CHAPTER BREAKS (used on prose pages like genesis.html / origins.html / practitioner.html) */
.chapter-break {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.chapter-break-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184, 146, 42, 0.25));
}

.chapter-break-line.right {
  background: linear-gradient(to left, transparent, rgba(184, 146, 42, 0.25));
}

.chapter-break-glyph {
  font-family: 'IM Fell English', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* FOOTER */
.page-footer {
  border-top: 1px solid var(--gold-dim);
  text-align: center;
  padding: 40px 24px;
}

.page-footer a {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s;
}

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

/* MOTION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-header { animation: fadeUp 0.7s ease both; }
main { animation: fadeUp 0.7s ease both 0.15s; }
