/* ── SHARED STYLES — denzelgrootboom.co.za ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --yellow: #E1FF01;
  --black: #0A0A0A;
  --white: #FAFAFA;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --border: #E8E8E8;
  --off: #F4F4F4;
  --serif: 'DM Serif Display', serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* Primary CTA (yellow) — index */
.nav-cta {
  background: var(--yellow); color: var(--ink);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 20px; text-decoration: none;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.8; }

/* Secondary CTA (dark) — interests back button */
.nav-back {
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 10px 20px; text-decoration: none;
  transition: background 0.2s;
}
.nav-back:hover { background: #333; }

/* Hamburger */
.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s; }

/* ── SECTION COMMON ── */
section { border-top: 1px solid var(--border); }
.section-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 48px;
}
.section-label {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 56px;
}

/* ── SCRIPTURE (shared between pages) ── */
.scripture-section,
.scripture-block {
  background: var(--ink);
  border-top: 1px solid var(--border);
}
.scripture-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px;
  display: grid; grid-template-columns: 180px 1fr;
  gap: 80px; align-items: center;
}
.scripture-ref {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  line-height: 1.8;
}
.scripture-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.55; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  font-style: normal;
}
.scripture-text em { font-style: italic; color: rgba(255,255,255,0.6); }
.scripture-text span { color: var(--yellow); font-style: normal; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.foot-copy {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.25);
}
.foot-links {
  display: flex; gap: 28px; list-style: none;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.foot-links a { color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: rgba(255,255,255,0.6); }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── MOB MENU ── */
.mob-menu {
  position: fixed; inset: 0; background: var(--white); z-index: 99;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.mob-menu.active { opacity: 1; visibility: visible; pointer-events: auto; }
.mob-menu a {
  font-family: var(--serif); font-size: 2.8rem;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em; line-height: 1;
  transition: color 0.2s;
}
.mob-menu a:hover { color: var(--muted); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1; transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── RESPONSIVE — shared ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta, .nav-back { display: none; }
  .nav-ham { display: flex; }
  .section-inner { padding: 72px 24px; }
  .scripture-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .section-inner { padding: 56px 20px; }
  footer { padding: 20px; }
}
