/* =============================================
   THE GOD STORY — style.css
   ============================================= */

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

:root {
  --bg-page:     #f8f5ee;
  --bg-dark:     #08091a;
  --bg-dark-alt: #0d0f26;
  --bg-offwhite: #f2efe6;
  --text-dark:   #0c0e20;
  --text-body:   #3a3852;
  --text-muted:  #7a789a;
  --gold:        #c89a3a;
  --gold-dark:   #a07a28;
  --gold-light:  #ddb04e;
  --white:       #ffffff;
  --max-width:   860px;
  --nav-height:  64px;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.75;
  min-height: 100vh;
}

/* ---- Typography ---- */

h1, h2, h3 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}

h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

p {
  font-size: 1.05rem;
  line-height: 1.85;
}

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

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

/* ---- Layout ---- */

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

/* ---- Navigation ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(200, 154, 58, 0.2);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-brand:hover {
  color: var(--gold-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

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

/* ---- Hero ---- */

.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.75rem 4rem;
  text-align: center;
  margin-top: var(--nav-height);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 80% at 50% 60%,
    rgba(200, 154, 58, 0.1) 0%,
    rgba(60, 40, 140, 0.07) 50%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.hero-lead {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
}

/* ---- Button ---- */

.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 1px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* ---- Section: CTA band ---- */

.section-cta {
  background: var(--bg-offwhite);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 4rem 1.75rem;
  text-align: center;
}

.section-cta h2 {
  margin-bottom: 1.75rem;
}

/* ---- Section: About Dave ---- */

.section-about {
  padding: 4.5rem 1.75rem;
}

.section-about h2 {
  margin-bottom: 1.25rem;
}

.section-about p {
  color: var(--text-body);
}

/* ---- Generic inner page sections ---- */

.page-hero {
  background: var(--bg-dark);
  padding: 4rem 1.75rem 3.5rem;
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 100% at 30% 50%,
    rgba(200, 154, 58, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  max-width: 640px;
}

.page-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.75rem 6rem;
}

.page-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.page-body p {
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.page-body ul {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.page-body ul li {
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 0.75rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
  background: rgba(200, 154, 58, 0.04);
}

.page-body ul li strong {
  color: var(--text-dark);
}

.page-body .cta-wrap {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ---- Footer ---- */

footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.25rem 1.75rem;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.01em;
}

footer a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
