@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap');

:root {
  --ink: #062f38;
  --ink-2: #0a4148;
  --gold: #d7aa5b;
  --cream: #f2eee5;
  --paper: #faf8f2;
  --white: #ffffff;
  --muted: #62777a;
  --line: rgba(6, 47, 56, .16);
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 28px 70px rgba(0, 18, 24, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: #fff;
  padding: .75rem 1rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Header / Nav */
.site-header {
  height: 82px;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  transition: background .25s ease;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(3, 35, 42, .94);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
  font: 1rem/1.2 var(--serif);
  letter-spacing: .045em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 1.45rem; }
.site-nav a { text-decoration: none; font-size: .84rem; }
.site-nav > a:not(.button):hover { color: var(--gold); }
.nav-toggle { display: none; border: 0; background: none; color: #fff; cursor: pointer; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: .75rem 1.45rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #092f36;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 600;
  transition: .25s;
}
.button:hover { background: #ebc980; transform: translateY(-2px); }
.button-small { min-height: 40px; padding: .55rem 1rem; }
.text-link {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-underline-offset: 5px;
}

/* Hero */
.hero {
  min-height: 980px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(1, 30, 38, .98) 0%, rgba(3, 42, 48, .88) 38%, rgba(3, 42, 48, .08) 74%),
    url('/static/assets/front-artwork.webp') center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, var(--ink));
}
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: 8%;
  top: 8%;
  background: rgba(255, 202, 111, .22);
  filter: blur(90px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  min-height: 870px;
  padding-top: 110px;
}
.hero-copy { max-width: 680px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.hero h1, .section h2, .cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
.hero h1 { font-size: clamp(3.3rem, 6.2vw, 6.7rem); margin: 0; }
.hero-kicker {
  color: #efcc88;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-style: italic;
  margin: 1rem 0;
}
.hero-intro { font-size: 1.1rem; max-width: 520px; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2rem; }
.book-stage { justify-self: end; text-align: center; }
.book {
  position: relative;
  width: 364px;
  aspect-ratio: 3075 / 4592;
  overflow: hidden;
  background: #062f38;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .35);
}
.book:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 8%, transparent 92%, rgba(0, 0, 0, .12));
  pointer-events: none;
}
.book img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-question {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 1.7rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
}
.hero-question strong { color: #efca81; font-weight: 400; }

/* Sections */
.section { padding: 120px 0; scroll-margin-top: 82px; }
.section h2 { font-size: clamp(2.7rem, 5vw, 5rem); margin: 0 0 2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.body-large { font-size: 1.15rem; color: #344f53; }
.body-large em { color: var(--gold); font-style: normal; }
.book-about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.about-grid h2 { font-size: clamp(2.6rem, 4.3vw, 4.6rem); }

/* Phases */
.phases { background: var(--ink); color: #fff; }
.phases h2 { max-width: 700px; }
.phase-list { list-style: none; padding: 0; margin: 4rem 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.phase-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.phase-list li > span { color: var(--gold); font-size: .78rem; letter-spacing: .15em; }
.phase-list h3 { font: 2rem var(--serif); margin: 0; }
.phase-list p { color: rgba(255, 255, 255, .67); margin: .35rem 0 0; }

/* Topics */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 4rem; }
.section-heading > p { max-width: 400px; color: var(--muted); margin-bottom: 2rem; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.topic-grid article {
  min-height: 260px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: .25s;
}
.topic-grid article:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.topic-grid span { color: var(--gold); font-size: .75rem; }
.topic-grid h3 { font: 1.8rem var(--serif); margin: 2.5rem 0 .6rem; }
.topic-grid p { font-size: .92rem; color: var(--muted); }
.topic-grid article:hover p { color: rgba(255, 255, 255, .68); }

/* Audience */
.audience { background: var(--cream); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.audience-grid > div > p:last-child { color: var(--muted); max-width: 500px; }
.audience ul { list-style: none; padding: 0; margin: 0; }
.audience li {
  padding: 1.15rem 0 1.15rem 2.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.audience li:before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* Scripture */
.scripture {
  min-height: 650px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(1, 34, 41, .62), rgba(1, 34, 41, .82)),
    url('/static/assets/front-artwork.webp') center/cover fixed;
}
.scripture-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; max-width: 900px; }
.quote-mark { font: 8rem/1 var(--serif); color: var(--gold); }
blockquote { margin: 0; }
blockquote p { font: clamp(2rem, 4vw, 4rem) / 1.2 var(--serif); margin: 0; }
blockquote cite {
  display: block;
  margin-top: 2rem;
  color: var(--gold);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
}
.narrow { max-width: 900px; text-align: center; margin-inline: auto; }
.why p:last-child { max-width: 680px; margin-inline: auto; color: var(--muted); }

/* Author */
.author { background: var(--cream); }
.author-grid { display: grid; grid-template-columns: 350px 1fr; gap: 8vw; align-items: center; }
.author-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
  box-shadow: 0 24px 55px rgba(3, 31, 37, .18);
}
.author-grid p { max-width: 650px; }
.previous { color: var(--muted); }
.previous a { text-underline-offset: 4px; }

/* CTA */
.cta {
  position: relative;
  padding: 140px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(3, 40, 47, .7), rgba(3, 40, 47, .86)),
    url('/static/assets/front-artwork.webp') center/cover;
}
.cta-inner { max-width: 900px; margin-inline: auto; }
.cta h2 { font-size: clamp(3rem, 6vw, 6rem); margin: 0 0 2rem; }
.cta p:not(.eyebrow) { max-width: 720px; margin: 0 auto 2rem; color: rgba(255, 255, 255, .76); }
.cta p em { color: var(--gold); font-style: normal; }

/* Footer */
footer { padding: 2.5rem 0; background: #031f25; color: rgba(255, 255, 255, .7); font-size: .8rem; }
.footer-grid { display: flex; justify-content: space-between; }
.footer-grid div:last-child { text-align: right; }
.footer-grid p { margin: .3rem 0; }
.footer-grid a { text-underline-offset: 4px; }
.footer-grid strong {
  display: block;
  color: var(--gold);
  font: 1rem/1.2 var(--serif);
  letter-spacing: .045em;
  margin-bottom: .55rem;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scripture { background-attachment: scroll; }
}

/* Breakpoints */
@media (max-width: 850px) {
  :root { --shell: min(100% - 28px, 720px); }
  .site-header { height: 70px; padding-inline: 16px; }
  .brand { font-size: .86rem; max-width: 70%; }
  .nav-toggle { display: grid; gap: 6px; padding: 10px; }
  .nav-toggle span:not(.sr-only) { width: 24px; height: 1px; background: #fff; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: #052f37;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 140px 0 70px; }
  .hero-copy { text-align: center; margin: auto; }
  .hero-actions { justify-content: center; }
  .book-stage { justify-self: center; }
  .book { width: 300px; }
  .hero-question { justify-content: center; text-align: center; }
  .section { padding: 80px 0; }
  .split, .about-grid, .audience-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { display: block; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .author-grid { grid-template-columns: 240px 1fr; gap: 2rem; }
  .scripture { min-height: 560px; background-attachment: scroll; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-actions { flex-direction: column; gap: 1rem; }
  .about-grid { display: block; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-grid article { min-height: 210px; }
  .phase-list li { grid-template-columns: 44px 1fr; gap: .5rem; }
  .phase-list h3 { font-size: 1.5rem; }
  .scripture-inner { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { height: 70px; }
  .author-grid { grid-template-columns: 1fr; }
  .author-portrait { max-width: 260px; }
  .footer-grid { display: block; }
  .footer-grid div:last-child { text-align: left; margin-top: 1.5rem; }
}
