/* ============================================
   PASTOR RON SMITH — GOD AND COMPUTERS
   Design tokens
   ============================================ */
:root {
  --black: #030509;
  --navy-deep: #070C16;
  --navy: #0C1626;
  --navy-mid: #12203A;
  --navy-light: #1B2F52;
  --gold: #D4A94A;
  --gold-bright: #F2C879;
  --gold-dim: #8A6B26;
  --ivory: #F3EEE3;
  --ivory-dim: #C7C3B8;
  --muted: #7C879C;
  --circuit-blue: #3E6E95;
  --line: rgba(212, 169, 74, 0.16);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, button { font-family: inherit; font-size: 1rem; }
::selection { background: var(--gold); color: var(--black); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================
   BACKGROUND CANVAS (particles)
   ============================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ============================================
   SIGNATURE ELEMENT — the circuit spine
   ============================================ */
.spine {
  position: fixed;
  left: clamp(1rem, 3vw, 2.5rem);
  top: 0;
  height: 100vh;
  width: 2px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.spine-line {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.spine-progress {
  position: absolute;
  top: 12%;
  left: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold));
  box-shadow: 0 0 8px var(--gold), 0 0 2px var(--gold-bright);
  transition: height 0.15s linear;
}
.spine-node {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1px solid var(--gold-dim);
  transition: all 0.4s var(--ease);
}
.spine-node.active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px 2px var(--gold-bright);
}
.spine-node[data-node="home"] { top: 12%; }
.spine-node[data-node="about"] { top: 31.5%; }
.spine-node[data-node="book"] { top: 51%; }
.spine-node[data-node="connect"] { top: 70.5%; }
.spine-node[data-node="contact"] { top: 90%; }

@media (max-width: 900px) {
  .spine { display: none; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(3, 5, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 169, 74, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--ivory);
  font-weight: 500;
}
.logo-text em { font-style: italic; color: var(--gold-bright); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a:not(.btn) {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  font-weight: 400;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ivory); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 101;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--gold-bright);
  transition: all 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem 2.5rem;
    gap: 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links .btn { margin-top: 0.5rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-dim));
  color: var(--black);
  box-shadow: 0 4px 22px -4px rgba(212, 169, 74, 0.45);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -4px rgba(212, 169, 74, 0.65);
}
.btn-ghost {
  color: var(--ivory);
  border-color: rgba(243, 238, 227, 0.25);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.btn-outline:hover { border-color: var(--gold-bright); background: rgba(212,169,74,0.08); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.72rem; }
.btn-lg { padding: 1.05rem 2.5rem; font-size: 0.85rem; }

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.eyebrow.center { justify-content: center; }
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 1.4rem;
}
.section-title.center { text-align: center; }
.section-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-top: -0.8rem;
  margin-bottom: 2.5rem;
}
.section-subtitle.center { text-align: center; }
.lead {
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 1.3rem;
}
p { color: var(--ivory-dim); margin-bottom: 1.1rem; font-size: 0.98rem; }
em { font-style: italic; color: var(--gold-bright); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(62, 110, 149, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 169, 74, 0.08), transparent),
    linear-gradient(180deg, var(--black) 0%, var(--navy-deep) 100%);
}
.hero-glow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(242, 200, 121, 0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: 3rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.6rem;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--ivory-dim);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 0.6rem;
}
.hero-meta-sep { color: var(--gold-dim); }

.hero-visual { display: flex; justify-content: center; }
.book-frame {
  position: relative;
  width: min(360px, 80vw);
}
.book-frame-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(242, 200, 121, 0.28), transparent 65%);
  filter: blur(24px);
  z-index: 0;
  animation: pulse-glow 5s ease-in-out infinite;
}
.book-cover-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 3px;
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.7),
    0 0 0 1px rgba(212,169,74,0.25),
    0 0 40px rgba(212,169,74,0.15);
  animation: float-book 6s ease-in-out infinite;
}
@keyframes float-book {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.orbit-ring {
  position: absolute;
  inset: -40px;
  z-index: 0;
  animation: rotate-slow 40s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 3px;
  margin-left: -1.5px;
  background: var(--gold-bright);
  border-radius: 50%;
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move {
  0% { top: 7px; opacity: 1; }
  70% { opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-block: 2rem 4rem; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .book-frame { width: min(280px, 65vw); }
}

/* ============================================
   ABOUT THE AUTHOR
   ============================================ */
.about {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.portrait-frame {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
}
.portrait-svg {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,169,74,0.2);
}
.portrait-caption {
  text-align: center;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.mission-card {
  position: relative;
  margin-top: 2rem;
  padding: 2rem 2.2rem;
  background: linear-gradient(160deg, rgba(212,169,74,0.07), rgba(212,169,74,0.02));
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
}
.mission-mark {
  position: absolute;
  top: -0.6rem; left: 1.4rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold-dim);
  opacity: 0.5;
  line-height: 1;
}
.mission-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ivory);
  margin-bottom: 0.8rem;
}
.mission-card cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-style: normal;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT THE BOOK
   ============================================ */
.book-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--navy);
  overflow: hidden;
}
.section-bg-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}
.book-header { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.book-overview {
  max-width: 760px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  z-index: 1;
}
.book-overview p { font-size: 1.05rem; color: var(--ivory-dim); }

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.theme-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,169,74,0.14);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem;
  transition: all 0.4s var(--ease);
}
.theme-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,169,74,0.45);
  box-shadow: 0 20px 40px -20px rgba(212,169,74,0.25);
}
.theme-icon {
  width: 42px; height: 42px;
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
}
.theme-icon svg { width: 100%; height: 100%; }
.theme-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.theme-card p { font-size: 0.9rem; margin-bottom: 0; color: var(--muted); }

.book-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  z-index: 1;
}
.book-cta-note {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .themes-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  position: relative;
  padding: clamp(5rem, 10vw, 7.5rem) 0;
  background: linear-gradient(180deg, var(--navy-deep), var(--black));
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,169,74,0.14), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}
.cta-sub { font-size: 1.05rem; color: var(--ivory-dim); margin-bottom: 2.4rem; max-width: 55ch; margin-inline: auto; }
.cta-buttons { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--navy-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gold-dim);
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
}
.contact-list li span:last-child { color: var(--ivory-dim); font-size: 0.92rem; }

.contact-form {
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,169,74,0.14);
  border-radius: 4px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.form-row { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(243,238,227,0.15);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--ivory);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted); }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,169,74,0.12);
}
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-success {
  display: none;
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--gold-bright);
  text-align: center;
}
.form-success.visible { display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-top: clamp(4rem, 8vw, 5.5rem);
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: 0; left: 50%;
  width: 900px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,169,74,0.08), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-tagline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}
.footer-links, .footer-newsletter { display: flex; flex-direction: column; }
.footer-links h4, .footer-newsletter h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
}
.footer-links a {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  width: fit-content;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-newsletter p { font-size: 0.88rem; margin-bottom: 1.2rem; }
.newsletter-form { display: flex; border: 1px solid rgba(243,238,227,0.15); border-radius: 2px; overflow: hidden; }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--ivory);
  min-width: 0;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: none;
  width: 46px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease);
}
.newsletter-form button:hover { opacity: 0.85; }
.newsletter-form button svg { width: 18px; height: 18px; }
.newsletter-success {
  display: none;
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--gold-bright);
}
.newsletter-success.visible { display: block; }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.8rem;
}
.footer-bottom p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer-book-name { font-style: italic; }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* WordPress / Elementor integration */
body.admin-bar .nav-wrap { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav-wrap { top: 46px; } }
.ron-wordpress-content, .ron-wordpress-content > .elementor { position: relative; z-index: 1; }
.ron-elementor-shell, .ron-elementor-shell > .elementor-container, .ron-elementor-shell > .elementor-container > .elementor-column, .ron-elementor-shell .elementor-widget-wrap { max-width: none !important; width: 100% !important; padding: 0 !important; gap: 0 !important; }
.ron-elementor-shell > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-element { margin: 0 !important; }
.elementor-widget-ron-global-styles { height: 0; min-height: 0; }
.elementor-editor-active .elementor-widget-ron-global-styles { height: 32px; min-height: 32px; background: #0c1626; outline: 1px dashed rgba(242,200,121,.45); }
.elementor-editor-active .elementor-widget-ron-global-styles::before { content: 'Ron Smith Global Styles — edit colors here'; display: block; color: #f2c879; font: 12px/32px 'IBM Plex Mono', monospace; text-align:center; }
.elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
.elementor-editor-active #bg-canvas, .elementor-editor-active .spine { display: none; }
.elementor-editor-active .nav-wrap { position: relative; top: 0 !important; }
.elementor-editor-active .hero { min-height: 760px; padding-top: 20px; }
.form-success.error, .newsletter-success.error { color: #ff9a9a; }
.ron-contact-form button:disabled, .ron-newsletter-form button:disabled { opacity: .6; cursor: wait; }
.ron-author-image { width: 100%; aspect-ratio: 320/380; object-fit: cover; border-radius: 3px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6), 0 0 0 1px rgba(212,169,74,.2); }
.theme-icon i { font-size: 34px; line-height: 42px; }
.ron-standard-page { background: var(--navy-deep); min-height: 100vh; }

/* ============================================
   ELEMENTOR V2 FULL-WIDTH COMPATIBILITY
   ============================================ */
.ron-front-page,
.ron-front-page > .elementor,
.ron-front-page > .elementor > .elementor-element,
.ron-front-page .ron-elementor-shell,
.ron-front-page .e-con.ron-elementor-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ron-front-page .e-con.ron-elementor-shell {
  --container-max-width: 100%;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --gap: 0px;
}
.ron-front-page [class*="elementor-widget-ron-"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.ron-front-page [class*="elementor-widget-ron-"] > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.home.page-template-default .ron-wordpress-content {
  margin: 0 !important;
  padding: 0 !important;
}
