/* =========================================================
   FROM THE BOTTOM TO GRACE
   Bradley Hobbs
   Complete Global Stylesheet
   Homepage + Chapters + Author + Book Resources + Legal
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  background: #0b0907;
}

body {
  min-height: 100vh;
  background: #0b0907;
  color: #f1eadf;
  font-family:
    "Montserrat",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

textarea {
  resize: vertical;
}

::selection {
  background: #c7a15a;
  color: #0b0907;
}


/* =========================================================
   2. ROOT VARIABLES
   ========================================================= */

:root {
  --black: #0b0907;
  --black-soft: #12100d;
  --charcoal: #1a1713;

  --brown-dark: #241a13;
  --brown: #4a3323;
  --brown-light: #6b4a31;

  --gold: #c7a15a;
  --gold-light: #e0c27d;
  --gold-dark: #92733b;

  --cream: #f1eadf;
  --cream-soft: #d9cec0;
  --muted: #a99d90;

  --white: #fffaf2;

  --border-dark: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(199, 161, 90, 0.38);

  --shadow-heavy:
    0 30px 80px rgba(0, 0, 0, 0.55);

  --shadow-soft:
    0 15px 45px rgba(0, 0, 0, 0.25);

  --serif:
    "Cormorant Garamond",
    Georgia,
    "Times New Roman",
    serif;

  --sans:
    "Montserrat",
    "Helvetica Neue",
    Arial,
    sans-serif;

  --max-width: 1180px;
  --reading-width: 790px;
}


/* =========================================================
   3. GLOBAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
}

h1 {
  font-size: clamp(4rem, 9vw, 8.5rem);
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h4 {
  font-size: 1.3rem;
}

p {
  color: var(--cream-soft);
}

strong {
  color: var(--white);
}

em {
  color: inherit;
}


/* =========================================================
   4. CONTAINER
   ========================================================= */

.container {
  width: min(
    calc(100% - 48px),
    var(--max-width)
  );

  margin-inline: auto;
}


/* =========================================================
   5. MAIN
   ========================================================= */

main {
  position: relative;
}

section {
  position: relative;
}

section[id] {
  scroll-margin-top: 25px;
}


/* =========================================================
   6. SITE HEADER
   ========================================================= */

.site-header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 50;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.82),
      rgba(0, 0, 0, 0)
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  min-height: 92px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}


/* =========================================================
   7. SITE LOGO
   ========================================================= */

.site-logo {
  display: flex;

  flex-direction: column;

  gap: 3px;

  font-family: var(--serif);

  color: var(--white);

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.site-logo:hover {
  color: var(--gold-light);
}

.logo-main {
  font-size: 1.35rem;

  font-weight: 500;

  letter-spacing: 0.08em;

  color: var(--white);
}

.logo-sub {
  max-width: 360px;

  font-family: var(--sans);

  font-size: 0.48rem;

  font-weight: 600;

  letter-spacing: 0.12em;

  line-height: 1.4;

  text-transform: uppercase;

  color: var(--gold-light);
}


/* =========================================================
   8. MAIN NAVIGATION
   ========================================================= */

.site-nav {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 28px;
}

.site-nav a {
  position: relative;

  padding: 10px 0;

  font-family: var(--sans);

  font-size: 0.68rem;

  font-weight: 600;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  color:
    rgba(255, 250, 242, 0.82);

  transition:
    color 0.25s ease;
}

.site-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 2px;

  width: 0;
  height: 1px;

  background: var(--gold-light);

  transition:
    width 0.3s ease;
}

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

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}


/* Compatibility with older homepage class names */

.navigation {
  min-height: 92px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.main-navigation {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 32px;
}

.main-navigation a {
  position: relative;

  padding: 10px 0;

  font-family: var(--sans);

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color:
    rgba(255, 250, 242, 0.82);

  transition:
    color 0.25s ease;
}

.main-navigation a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 2px;

  width: 0;
  height: 1px;

  background: var(--gold-light);

  transition:
    width 0.3s ease;
}

.main-navigation a:hover {
  color: var(--gold-light);
}

.main-navigation a:hover::after {
  width: 100%;
}


/* =========================================================
   9. HOMEPAGE HERO
   ========================================================= */

.hero {
  position: relative;

  width: 100%;

  aspect-ratio: 1920 / 1000;

  min-height: 0;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  background-image:
    url(
      "images/80E76825-A05A-4F6D-8243-33623AF44A56.png"
    );

  background-repeat: no-repeat;

  background-size: 100% 100%;

  background-position: center center;

  isolation: isolate;
}


/* =========================================================
   10. HOMEPAGE HERO OVERLAY
   ========================================================= */

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.02) 20%,
      rgba(0, 0, 0, 0.02) 68%,
      rgba(0, 0, 0, 0.34) 100%
    );

  pointer-events: none;
}


/* =========================================================
   11. HOMEPAGE HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: var(--max-width);

  margin-inline: auto;

  padding:
    0
    24px
    45px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.hero-kicker,
.hero h1,
.hero-subtitle,
.hero-author {
  display: none;
}


/* =========================================================
   12. HERO BUTTONS
   ========================================================= */

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 14px;
}


/* =========================================================
   13. BUTTON SYSTEM
   ========================================================= */

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding:
    0
    27px;

  border:
    1px solid transparent;

  font-family: var(--sans);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);

  color: var(--black);

  border-color: var(--gold);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25);
}

.button-gold:hover {
  background: var(--gold-light);

  border-color: var(--gold-light);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.35);
}

.button-outline {
  background:
    rgba(0, 0, 0, 0.32);

  color: var(--cream);

  border-color:
    rgba(241, 234, 223, 0.55);

  backdrop-filter: blur(5px);
}

.button-outline:hover {
  background: var(--gold);

  color: var(--black);

  border-color: var(--gold);
}


/* =========================================================
   14. GENERAL TEXT LINKS
   ========================================================= */

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-top: 20px;

  font-family: var(--sans);

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.13em;

  text-transform: uppercase;

  color: var(--gold-light);

  transition:
    color 0.25s ease,
    gap 0.25s ease;
}

.text-link:hover {
  color: var(--white);

  gap: 17px;
}


/* =========================================================
   15. SECTION FOUNDATION
   ========================================================= */

.section {
  position: relative;

  padding:
    120px 0;
}

.section-warm {
  background:
    linear-gradient(
      135deg,
      #211812 0%,
      #302117 48%,
      #1b130e 100%
    );
}

.section-dark {
  background:
    linear-gradient(
      135deg,
      #17130f 0%,
      #0f0d0a 100%
    );
}

.section-black {
  background: #080705;
}

.section-kicker {
  margin-bottom: 18px;

  font-family: var(--sans);

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.25em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.gold-text {
  color: var(--gold-light);

  font-family: var(--serif);

  font-size: 1.45rem;

  line-height: 1.45;
}

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


/* =========================================================
   16. STORY INTRODUCTION
   ========================================================= */

.story-introduction {
  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(280px, 0.75fr);

  gap: 90px;

  align-items: start;
}

.story-text {
  max-width: 760px;
}

.story-text h2 {
  max-width: 760px;

  margin-bottom: 35px;

  color: var(--cream);
}

.story-text p {
  max-width: 720px;

  margin-bottom: 22px;

  font-size: 1.04rem;

  line-height: 1.9;

  color: var(--cream-soft);
}

.story-quote {
  position: relative;

  margin-top: 48px;

  padding:
    34px
    35px
    34px
    50px;

  border-left:
    2px solid var(--gold);

  background:
    linear-gradient(
      90deg,
      rgba(199, 161, 90, 0.09),
      rgba(199, 161, 90, 0.015)
    );

  font-family: var(--serif);

  font-size:
    clamp(1.65rem, 3vw, 2.45rem);

  line-height: 1.25;

  color: var(--white);
}

.quote-mark {
  position: absolute;

  top: 8px;
  left: 14px;

  font-family: Georgia, serif;

  font-size: 3rem;

  line-height: 1;

  color: var(--gold);

  opacity: 0.7;
}

.story-highlight {
  position: relative;

  margin-top: 85px;

  padding:
    42px
    36px;

  background:
    linear-gradient(
      145deg,
      rgba(9, 7, 5, 0.92),
      rgba(38, 26, 18, 0.94)
    );

  border:
    1px solid var(--border-gold);

  box-shadow:
    var(--shadow-soft);
}

.story-highlight::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--gold-dark),
      var(--gold-light),
      transparent
    );
}

.highlight-label {
  margin-bottom: 18px;

  font-family: var(--sans);

  font-size: 0.64rem;

  font-weight: 700;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.story-highlight h3 {
  margin-bottom: 22px;

  font-size:
    clamp(2.3rem, 4vw, 3.6rem);

  color: var(--white);
}

.story-highlight p:not(.highlight-label) {
  font-size: 0.95rem;

  line-height: 1.75;

  color: var(--cream-soft);
}


/* =========================================================
   17. TWO COLUMN / REDEMPTION / AUTHOR
   ========================================================= */

.two-column {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 100px;

  align-items: start;
}

.two-column > div:first-child {
  position: relative;
}

.two-column > div:first-child::before {
  content: "";

  position: absolute;

  top: 0;
  left: -28px;

  width: 2px;
  height: 72px;

  background:
    linear-gradient(
      to bottom,
      var(--gold),
      transparent
    );
}

.two-column h2 {
  max-width: 600px;

  font-size:
    clamp(2.7rem, 5vw, 4.5rem);
}

.section-copy {
  max-width: 680px;
}

.section-copy p {
  margin-bottom: 25px;

  font-size: 1.02rem;

  line-height: 1.9;
}

.redemption-section {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 100px;

  align-items: start;
}

.redemption-heading {
  position: relative;

  padding-left: 30px;
}

.redemption-heading::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 2px;
  height: 110px;

  background:
    linear-gradient(
      to bottom,
      var(--gold),
      rgba(199, 161, 90, 0)
    );
}

.redemption-heading h2 {
  max-width: 520px;

  font-size:
    clamp(2.8rem, 5vw, 4.7rem);
}

.redemption-copy {
  max-width: 700px;
}

.redemption-copy p {
  margin-bottom: 25px;

  font-size: 1.02rem;

  line-height: 1.9;
}

.large-gold-text {
  margin:
    42px
    0
    30px !important;

  font-family: var(--serif);

  font-size:
    clamp(3rem, 6vw, 5.8rem) !important;

  line-height: 0.95 !important;

  color: var(--gold-light) !important;
}

.author-section {
  display: grid;

  grid-template-columns:
    minmax(0, 0.75fr)
    minmax(0, 1.25fr);

  gap: 100px;

  align-items: center;
}

.author-section h2 {
  font-size:
    clamp(3rem, 5vw, 5rem);
}

.author-section > div:last-child {
  max-width: 650px;
}

.author-section > div:last-child p {
  margin-bottom: 30px;

  font-size: 1rem;

  line-height: 1.9;
}


/* =========================================================
   18. SECTION HEADINGS
   ========================================================= */

.section-heading {
  max-width: 750px;

  margin-bottom: 65px;
}

.section-heading h2 {
  margin-bottom: 24px;
}

.section-heading > p:last-child {
  max-width: 650px;

  font-size: 1rem;

  line-height: 1.85;
}

.section-heading::after {
  content: "";

  display: block;

  width: 75px;
  height: 1px;

  margin-top: 34px;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      transparent
    );
}


/* =========================================================
   19. CHAPTER GRID
   ========================================================= */

.chapter-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.chapter-card {
  position: relative;

  min-height: 475px;

  display: flex;

  flex-direction: column;

  padding:
    38px
    34px;

  background:
    linear-gradient(
      145deg,
      #1a130e,
      #0e0b08
    );

  border:
    1px solid rgba(199, 161, 90, 0.20);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.20);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.chapter-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );

  opacity: 0.65;
}

.chapter-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -90px;
  bottom: -90px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(199, 161, 90, 0.12),
      transparent 70%
    );

  pointer-events: none;
}

.chapter-card:hover {
  transform: translateY(-8px);

  border-color:
    rgba(199, 161, 90, 0.55);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.36);
}

.chapter-number {
  margin-bottom: 30px;

  font-family: var(--sans);

  font-size: 0.64rem;

  font-weight: 700;

  letter-spacing: 0.23em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.chapter-card h3 {
  margin-bottom: 24px;

  font-size:
    clamp(2rem, 3vw, 2.7rem);

  color: var(--white);
}

.chapter-card p {
  margin-bottom: 30px;

  font-size: 0.95rem;

  line-height: 1.8;

  color: var(--cream-soft);
}

.chapter-card .button {
  margin-top: auto;

  align-self: flex-start;

  min-height: 48px;

  padding-inline: 22px;

  font-size: 0.63rem;
}


/* =========================================================
   20. FAITH BANNER
   ========================================================= */

.faith-banner {
  position: relative;

  min-height: 620px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(8, 6, 4, 0.82),
      rgba(31, 21, 14, 0.48),
      rgba(8, 6, 4, 0.82)
    ),
    url(
      "images/EB08B521-38D6-4B8B-ADC3-EF0BD18E35BF.png"
    );

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  isolation: isolate;
}

.faith-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    radial-gradient(
      circle at center,
      rgba(199, 161, 90, 0.12),
      transparent 52%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.68)
    );

  pointer-events: none;
}

.faith-content {
  position: relative;

  z-index: 2;

  max-width: 900px;

  padding:
    100px 0;

  text-align: center;
}

.faith-content .section-kicker {
  margin-bottom: 30px;
}

.faith-content blockquote {
  position: relative;

  margin:
    0
    auto
    28px;

  max-width: 850px;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 4.5vw, 4.2rem);

  line-height: 1.2;

  color: var(--white);

  text-shadow:
    0 5px 30px rgba(0, 0, 0, 0.55);
}

.faith-content blockquote::before {
  content: "“";

  display: block;

  margin-bottom: -12px;

  font-family: Georgia, serif;

  font-size: 5rem;

  line-height: 0.7;

  color: var(--gold);

  opacity: 0.75;
}

.faith-content cite {
  font-family: var(--sans);

  font-size: 0.72rem;

  font-weight: 700;

  font-style: normal;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: var(--gold-light);
}


/* =========================================================
   21. FINAL MESSAGE
   ========================================================= */

.final-message {
  position: relative;

  padding:
    150px 0;

  overflow: hidden;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(199, 161, 90, 0.09),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #0b0907 0%,
      #17110c 50%,
      #0b0907 100%
    );
}

.final-message::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: 1px;
  height: 80px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--gold)
    );
}

.final-message .container {
  max-width: 900px;
}

.final-message h2 {
  margin-bottom: 35px;

  font-size:
    clamp(3rem, 6vw, 6rem);

  color: var(--white);
}

.final-message > .container > p:not(.section-kicker):not(.final-line) {
  max-width: 720px;

  margin:
    0
    auto
    35px;

  font-size: 1.05rem;

  line-height: 1.9;

  color: var(--cream-soft);
}

.final-line {
  margin-top: 22px;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 4vw, 3.5rem);

  line-height: 1.15;

  color: var(--cream);
}

.final-line.gold {
  margin-top: 8px;

  color: var(--gold-light);
}


/* =========================================================
   22. CHAPTER HERO
   ========================================================= */

.chapter-hero {
  position: relative;

  min-height: 600px;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(199, 161, 90, 0.16),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #080604 0%,
      #1d140e 48%,
      #090705 100%
    );

  border-bottom:
    1px solid rgba(199, 161, 90, 0.16);

  isolation: isolate;
}

.chapter-hero::before {
  content: "";

  position: absolute;

  width: 650px;
  height: 650px;

  right: -250px;
  top: -260px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(199, 161, 90, 0.12),
      transparent 68%
    );

  pointer-events: none;
}

.chapter-hero::after {
  content: "";

  position: absolute;

  left: 50%;

  bottom: 0;

  width: 1px;
  height: 120px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(199, 161, 90, 0.65)
    );

  opacity: 0.55;
}

.chapter-hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    radial-gradient(
      circle at center,
      rgba(199, 161, 90, 0.05),
      transparent 55%
    );

  pointer-events: none;
}

.chapter-hero-content {
  position: relative;

  z-index: 2;

  padding-top: 180px;
  padding-bottom: 105px;
}

.chapter-number {
  margin-bottom: 25px;

  font-family: var(--sans);

  font-size: 0.64rem;

  font-weight: 700;

  letter-spacing: 0.23em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.chapter-hero h1 {
  max-width: 900px;

  margin-bottom: 28px;

  font-size:
    clamp(3.7rem, 8vw, 7.5rem);

  line-height: 0.95;

  color: var(--white);
}

.chapter-hero-description {
  max-width: 700px;

  margin-top: 25px;

  font-family: var(--serif);

  font-size:
    clamp(1.3rem, 2.5vw, 1.8rem);

  line-height: 1.45;

  color: var(--cream-soft);
}

.chapter-hero-divider {
  width: 90px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      transparent
    );
}


/* =========================================================
   23. CHAPTER INTRODUCTION
   ========================================================= */

.chapter-introduction {
  background:
    linear-gradient(
      135deg,
      #211812 0%,
      #302117 48%,
      #1b130e 100%
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.035);
}

.chapter-introduction .chapter-reading {
  padding-top: 105px;
  padding-bottom: 80px;
}


/* =========================================================
   24. CHAPTER CONTENT
   ========================================================= */

.chapter-content {
  position: relative;

  background:
    linear-gradient(
      180deg,
      #211812 0%,
      #18110c 48%,
      #0e0b08 100%
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.035);
}


/* =========================================================
   25. CHAPTER READING AREA
   ========================================================= */

.chapter-reading {
  width: min(
    calc(100% - 48px),
    var(--reading-width)
  );

  padding-top: 105px;
  padding-bottom: 120px;
}

.chapter-reading > p {
  margin-bottom: 27px;

  font-family: var(--serif);

  font-size:
    clamp(1.18rem, 1.8vw, 1.35rem);

  line-height: 1.95;

  color: var(--cream-soft);
}

.chapter-reading > p:last-child {
  margin-bottom: 0;
}

.chapter-reading .chapter-opening {
  position: relative;

  margin-bottom: 34px;

  padding-top: 34px;

  font-size:
    clamp(1.35rem, 2vw, 1.55rem);

  color: var(--white);
}

.chapter-reading .chapter-opening::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 80px;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      transparent
    );
}


/* =========================================================
   26. CHAPTER REFLECTION
   ========================================================= */

.chapter-reflection {
  position: relative;

  margin:
    60px
    0;

  padding:
    40px
    42px;

  background:
    linear-gradient(
      135deg,
      rgba(199, 161, 90, 0.10),
      rgba(199, 161, 90, 0.025)
    );

  border:
    1px solid rgba(199, 161, 90, 0.24);

  border-left:
    3px solid var(--gold);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.20);
}

.reflection-label {
  margin-bottom: 15px;

  font-family: var(--sans) !important;

  font-size: 0.62rem !important;

  font-weight: 700;

  letter-spacing: 0.22em;

  line-height: 1.4 !important;

  text-transform: uppercase;

  color: var(--gold-light) !important;
}

.chapter-reflection p:last-child {
  font-family: var(--serif);

  font-size:
    clamp(1.7rem, 3vw, 2.6rem);

  line-height: 1.25;

  color: var(--white);
}


/* =========================================================
   27. CHAPTER EMPHASIS
   ========================================================= */

.chapter-reading > .chapter-emphasis {
  margin:
    42px
    0;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 4vw, 3.4rem);

  line-height: 1.15;

  text-align: center;

  color: var(--gold-light);
}

.chapter-reading > .chapter-emphasis + .chapter-emphasis {
  margin-top: -28px;
}


/* =========================================================
   28. CHAPTER EMPHASIS BLOCK
   ========================================================= */

.chapter-emphasis-block {
  position: relative;

  margin:
    60px
    0;

  padding:
    42px
    35px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(199, 161, 90, 0.10),
      rgba(74, 51, 35, 0.18)
    );

  border-top:
    1px solid rgba(199, 161, 90, 0.32);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.20);
}

.chapter-emphasis-block p {
  margin-bottom: 10px;

  font-family: var(--serif);

  font-size:
    clamp(1.8rem, 3vw, 2.7rem);

  line-height: 1.25;

  color: var(--white);
}

.chapter-emphasis-block p:last-child {
  margin-bottom: 0;

  color: var(--gold-light);
}


/* =========================================================
   29. WORSHIPPER SECTION
   ========================================================= */

.worshipper-section {
  position: relative;

  margin:
    70px
    0;

  padding:
    65px
    55px;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(199, 161, 90, 0.13),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #1d140e,
      #0d0a07
    );

  border-top:
    1px solid rgba(199, 161, 90, 0.25);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.25);
}

.worshipper-section::before {
  content: "“";

  position: absolute;

  top: 15px;
  left: 50%;

  transform: translateX(-50%);

  font-family: Georgia, serif;

  font-size: 5rem;

  line-height: 1;

  color: var(--gold);

  opacity: 0.38;
}

.worshipper-label {
  position: relative;

  z-index: 2;

  margin-bottom: 28px;

  font-family: var(--sans) !important;

  font-size: 0.62rem !important;

  font-weight: 700;

  letter-spacing: 0.22em;

  line-height: 1.4 !important;

  text-transform: uppercase;

  color: var(--gold-light) !important;
}

.worshipper-line {
  position: relative;

  z-index: 2;

  margin-bottom: 14px;

  font-family: var(--serif) !important;

  font-size:
    clamp(1.65rem, 3vw, 2.5rem) !important;

  line-height: 1.3 !important;

  color: var(--white) !important;
}

.worshipper-line:last-child {
  margin-bottom: 0;

  color: var(--gold-light) !important;
}


/* Compatibility if older chapter HTML uses blockquote */

.worshipper-section blockquote {
  max-width: 650px;

  margin-inline: auto;
}

.worshipper-section blockquote p {
  margin-bottom: 15px;

  font-family: var(--serif);

  font-size:
    clamp(1.65rem, 3vw, 2.5rem);

  line-height: 1.3;

  color: var(--white);
}

.worshipper-section blockquote p:last-child {
  margin-bottom: 0;

  color: var(--gold-light);
}


/* =========================================================
   30. CHAPTER CONCLUSION
   ========================================================= */

.chapter-conclusion {
  position: relative;

  margin-top: 80px;

  padding-top: 65px;

  text-align: center;

  border-top:
    1px solid rgba(199, 161, 90, 0.24);
}

.chapter-conclusion::before {
  content: "";

  position: absolute;

  top: -1px;
  left: 50%;

  width: 90px;
  height: 2px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.chapter-conclusion p {
  margin-bottom: 18px;

  font-family: var(--serif);

  font-size:
    clamp(1.45rem, 2.5vw, 2rem);

  line-height: 1.5;

  color: var(--cream-soft);
}

.chapter-conclusion p:last-child {
  margin-bottom: 0;
}

.conclusion-divider {
  width: 70px;
  height: 1px;

  margin:
    32px
    auto;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.conclusion-line {
  margin-bottom: 15px;

  font-family: var(--serif);

  font-size:
    clamp(1.8rem, 3vw, 2.7rem);

  color: var(--white);
}

.conclusion-final {
  font-family: var(--serif) !important;

  font-size:
    clamp(1.65rem, 3vw, 2.4rem) !important;

  line-height: 1.3 !important;

  color: var(--gold-light) !important;
}


/* =========================================================
   31. CHAPTER NAVIGATION
   ========================================================= */

.chapter-navigation {
  position: relative;

  background:
    linear-gradient(
      135deg,
      #0d0a07,
      #18110c
    );

  border-top:
    1px solid rgba(255, 255, 255, 0.04);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.14);
}

.chapter-navigation-inner {
  min-height: 150px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 35px;
}

.chapter-nav-link {
  display: flex;

  flex-direction: column;

  gap: 5px;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.chapter-nav-link:hover {
  color: var(--gold-light);

  transform: translateY(-2px);
}

.chapter-nav-title {
  font-family: var(--serif);

  font-size: 1.5rem;

  font-weight: 500;

  line-height: 1.2;

  color: var(--cream);
}

.chapter-nav-label {
  font-family: var(--sans);

  font-size: 0.6rem;

  font-weight: 700;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.chapter-nav-next {
  align-items: flex-end;

  text-align: right;
}

.chapter-nav-center {
  display: flex;

  align-items: center;

  gap: 15px;

  font-family: var(--sans);

  font-size: 0.58rem;

  font-weight: 600;

  letter-spacing: 0.13em;

  text-transform: uppercase;

  color: #81766b;

  white-space: nowrap;
}

.chapter-nav-home {
  color: #81766b;

  transition: color 0.25s ease;
}

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

.chapter-nav-divider {
  display: block;

  width: 35px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold-dark)
    );
}

.chapter-nav-center .chapter-nav-divider:last-child {
  background:
    linear-gradient(
      90deg,
      var(--gold-dark),
      transparent
    );
}


/* =========================================================
   32. AUTHOR / SUPPORTING PAGE HERO
   ========================================================= */

.author-hero {
  background:
    radial-gradient(
      circle at 25% 30%,
      rgba(199, 161, 90, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(74, 51, 35, 0.25),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #080604,
      #1d140e 50%,
      #090705
    );
}


/* =========================================================
   33. SUPPORTING PAGE SPECIAL STYLES
   ========================================================= */

.dedication-page {
  background:
    radial-gradient(
      circle at center,
      rgba(199, 161, 90, 0.06),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #211812,
      #120d09
    );
}

.dedication-reading {
  text-align: center;
}

.dedication-reading p {
  max-width: 680px;

  margin-left: auto;
  margin-right: auto;
}

.dedication-opening {
  max-width: 720px !important;

  font-family: var(--serif) !important;

  font-size:
    clamp(1.65rem, 3vw, 2.4rem) !important;

  line-height: 1.45 !important;

  color: var(--white) !important;
}

.dedication-divider {
  width: 75px;
  height: 1px;

  margin:
    55px
    auto;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.dedication-emphasis {
  margin:
    55px
    auto !important;

  font-family: var(--serif) !important;

  font-size:
    clamp(1.8rem, 3.5vw, 3rem) !important;

  line-height: 1.3 !important;

  color: var(--gold-light) !important;
}

.dedication-highlight {
  margin:
    65px
    auto;
}

.dedication-conclusion {
  max-width: 700px;

  margin:
    75px
    auto
    0;
}

.dedication-signature {
  margin-top: 60px;

  text-align: center;
}

.dedication-signature p {
  margin-bottom: 3px !important;

  font-family: var(--serif) !important;

  font-size: 1.7rem !important;

  color: var(--white) !important;
}

.dedication-signature span {
  font-family: var(--sans);

  font-size: 0.6rem;

  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: var(--gold-light);
}


/* =========================================================
   34. PUBLICATION PAGE
   ========================================================= */

.publication-details {
  margin:
    45px
    0
    65px;

  border-top:
    1px solid rgba(199, 161, 90, 0.22);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.22);
}

.publication-detail {
  display: grid;

  grid-template-columns:
    minmax(130px, 0.4fr)
    minmax(0, 1fr);

  gap: 30px;

  padding:
    20px
    0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);
}

.publication-detail:last-child {
  border-bottom: 0;
}

.publication-label {
  font-family: var(--sans);

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.publication-value {
  font-family: var(--serif);

  font-size: 1.2rem;

  line-height: 1.45;

  color: var(--cream);
}


/* =========================================================
   35. CONTACT PAGE
   ========================================================= */

.contact-details {
  margin:
    45px
    0
    65px;

  padding:
    5px
    0;

  border-top:
    1px solid rgba(199, 161, 90, 0.22);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.22);
}

.contact-detail {
  display: grid;

  grid-template-columns:
    minmax(100px, 0.35fr)
    minmax(0, 1fr);

  gap: 30px;

  align-items: center;

  padding:
    22px
    0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail:last-child {
  border-bottom: 0;
}

.contact-label {
  font-family: var(--sans);

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.contact-value {
  font-family: var(--serif);

  font-size: 1.25rem;

  line-height: 1.4;

  color: var(--cream);
}

.contact-email {
  color: var(--gold-light);

  transition: color 0.25s ease;
}

.contact-email:hover {
  color: var(--white);
}


/* =========================================================
   36. LEGAL PAGES
   ========================================================= */

.legal-page {
  background:
    linear-gradient(
      180deg,
      #211812 0%,
      #17100c 45%,
      #0e0b08 100%
    );
}

.legal-page .chapter-reading {
  max-width: 790px;
}

.legal-page h2 {
  margin:
    65px
    0
    20px;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.15;

  color: var(--white);
}

.legal-page h2:first-of-type {
  margin-top: 25px;
}

.legal-page .chapter-opening {
  font-family: var(--sans) !important;

  font-size: 0.68rem !important;

  font-weight: 700;

  letter-spacing: 0.13em;

  text-transform: uppercase;

  color: var(--gold-light) !important;
}

.legal-page a {
  color: var(--gold-light);

  text-decoration: underline;

  text-decoration-color:
    rgba(224, 194, 125, 0.35);

  text-underline-offset: 4px;

  transition: color 0.25s ease;
}

.legal-page a:hover {
  color: var(--white);
}

.legal-contact {
  margin-top: 65px;

  padding-top: 35px;

  border-top:
    1px solid rgba(199, 161, 90, 0.20);
}

.legal-contact p {
  font-family: var(--serif);

  font-size: 1.05rem;

  line-height: 1.7;
}


/* =========================================================
   37. 404 PAGE
   ========================================================= */

.error-navigation {
  width: 100%;

  min-height: 0;

  margin:
    65px
    0;

  padding:
    35px
    0;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 15px;

  border-top:
    1px solid rgba(199, 161, 90, 0.20);

  border-bottom:
    1px solid rgba(199, 161, 90, 0.20);
}

.error-navigation .chapter-nav-link {
  min-height: 105px;

  justify-content: center;

  padding:
    18px
    20px;

  border:
    1px solid rgba(199, 161, 90, 0.13);

  background:
    rgba(199, 161, 90, 0.035);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.error-navigation .chapter-nav-link:hover {
  background:
    rgba(199, 161, 90, 0.09);

  border-color:
    rgba(199, 161, 90, 0.42);
}


/* =========================================================
   38. FOOTER
   ========================================================= */

.site-footer {
  background:
    linear-gradient(
      180deg,
      #0a0806 0%,
      #050403 100%
    );

  border-top:
    1px solid rgba(199, 161, 90, 0.18);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.5fr
    0.7fr
    0.7fr;

  gap: 80px;

  padding:
    75px 0
    65px;
}


/* New footer structure */

.footer-inner {
  padding:
    65px
    0
    0;
}

.footer-brand {
  margin-bottom: 45px;
}

.footer-title {
  margin-bottom: 12px;

  font-family: var(--serif);

  font-size:
    clamp(1.7rem, 3vw, 2.25rem);

  line-height: 1.05;

  letter-spacing: 0.04em;

  color: var(--white);
}

.footer-subtitle {
  max-width: 480px;

  font-family: var(--serif);

  font-size: 1rem;

  line-height: 1.5;

  color: var(--muted);
}

.footer-links {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    45px
    70px;

  padding-bottom: 50px;
}

.footer-resource-group {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-resource-title {
  margin-bottom: 18px;

  font-family: var(--sans);

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.footer-links a {
  display: block;

  width: fit-content;

  margin-bottom: 9px;

  font-family: var(--sans);

  font-size: 0.78rem;

  line-height: 1.5;

  color: var(--muted);

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--cream);

  transform: translateX(3px);
}


/* Older footer columns remain supported */

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-column h4 {
  margin-bottom: 20px;

  font-family: var(--sans);

  font-size: 0.65rem;

  font-weight: 700;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--gold-light);
}

.footer-column a {
  margin-bottom: 10px;

  font-family: var(--sans);

  font-size: 0.82rem;

  color: var(--muted);

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column a:hover {
  color: var(--cream);

  transform: translateX(3px);
}


/* =========================================================
   39. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;

  padding:
    22px 0
    25px;

  border-top:
    1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p {
  font-family: var(--sans);

  font-size: 0.65rem;

  letter-spacing: 0.08em;

  color: #776e65;
}


/* =========================================================
   40. SECTION DIVIDERS
   ========================================================= */

.section-warm + .section-dark,
.section-dark + .section-warm,
.section-black + .section-warm {
  border-top:
    1px solid rgba(255, 255, 255, 0.035);
}

.story-introduction::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  right: -250px;
  top: 20%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(199, 161, 90, 0.07),
      transparent 68%
    );

  pointer-events: none;
}


/* =========================================================
   41. TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .container {
    width:
      min(
        calc(100% - 40px),
        var(--max-width)
      );
  }

  .header-inner {
    gap: 25px;
  }

  .site-nav {
    gap: 20px;
  }

  .story-introduction {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .story-highlight {
    max-width: 600px;

    margin-top: 0;
  }

  .two-column {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .two-column h2 {
    max-width: 800px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .chapter-card {
    min-height: auto;

    padding: 38px;
  }

  .chapter-card h3 {
    max-width: 600px;
  }

  .chapter-card p {
    max-width: 650px;
  }

  .redemption-section {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .redemption-heading h2 {
    max-width: 800px;
  }

  .author-section {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .chapter-hero {
    min-height: 520px;
  }

  .chapter-hero-content {
    padding-top: 160px;
    padding-bottom: 85px;
  }

  .chapter-reading {
    width:
      min(
        calc(100% - 60px),
        var(--reading-width)
      );
  }

  .chapter-navigation-inner {
    grid-template-columns:
      1fr
      auto
      1fr;

    gap: 20px;
  }

  .footer-grid {
    grid-template-columns:
      1.4fr
      0.8fr
      0.8fr;

    gap: 45px;
  }
}


/* =========================================================
   42. MOBILE
   ========================================================= */

@media (max-width: 700px) {

  html {
    scroll-padding-top: 20px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width:
      calc(100% - 32px);
  }

  .section {
    padding:
      82px 0;
  }


  /* Header */

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 0;

    display: block;

    padding-top: 18px;
    padding-bottom: 15px;
  }

  .site-logo {
    align-items: center;

    margin-bottom: 13px;

    text-align: center;
  }

  .logo-main {
    font-size: 1.05rem;
  }

  .logo-sub {
    max-width: 320px;

    font-size: 0.39rem;

    letter-spacing: 0.09em;
  }

  .site-nav {
    display: flex;

    justify-content: flex-start;

    gap: 18px;

    overflow-x: auto;

    padding-bottom: 4px;

    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex:
      0 0 auto;

    font-size: 0.55rem;

    letter-spacing: 0.11em;
  }


  /* Older nav */

  .navigation {
    min-height: 72px;

    display: block;

    padding-top: 18px;
    padding-bottom: 15px;
  }

  .main-navigation {
    display: flex;

    justify-content: center;

    gap: 17px;

    overflow-x: auto;

    padding-bottom: 4px;

    scrollbar-width: none;
  }

  .main-navigation::-webkit-scrollbar {
    display: none;
  }

  .main-navigation a {
    flex:
      0 0 auto;

    font-size: 0.58rem;

    letter-spacing: 0.12em;
  }


  /* Homepage hero */

  .hero {
    aspect-ratio: 1920 / 1000;

    min-height: 0;

    width: 100%;

    align-items: flex-end;

    background-size: 100% 100%;

    background-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.40) 0%,
        rgba(0, 0, 0, 0.00) 28%,
        rgba(0, 0, 0, 0.05) 65%,
        rgba(0, 0, 0, 0.28) 100%
      );
  }

  .hero-content {
    width: 100%;

    padding:
      0
      16px
      18px;
  }

  .hero-buttons {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 9px;
  }

  .button {
    min-height: 48px;

    padding:
      0
      18px;

    font-size: 0.59rem;
  }


  /* Story */

  .story-introduction {
    gap: 40px;
  }

  .story-text h2 {
    margin-bottom: 25px;
  }

  .story-text p {
    font-size: 0.96rem;

    line-height: 1.8;
  }

  .story-quote {
    margin-top: 35px;

    padding:
      28px
      22px
      28px
      38px;

    font-size: 1.7rem;
  }

  .quote-mark {
    left: 9px;

    font-size: 2.5rem;
  }

  .story-highlight {
    padding:
      32px
      26px;
  }

  .story-highlight h3 {
    font-size: 2.5rem;
  }


  /* Two column */

  .two-column {
    gap: 38px;
  }

  .two-column > div:first-child::before {
    left: -15px;

    height: 58px;
  }

  .two-column h2 {
    font-size: 2.65rem;
  }

  .section-copy p {
    font-size: 0.96rem;

    line-height: 1.8;
  }

  .gold-text {
    font-size: 1.3rem;
  }


  /* Section heading */

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2 {
    font-size: 2.8rem;
  }

  .section-heading > p:last-child {
    font-size: 0.96rem;

    line-height: 1.8;
  }


  /* Chapter cards */

  .chapter-grid {
    gap: 16px;
  }

  .chapter-card {
    padding:
      31px
      26px;
  }

  .chapter-number {
    margin-bottom: 20px;

    font-size: 0.58rem;
  }

  .chapter-card h3 {
    margin-bottom: 18px;

    font-size: 2.2rem;
  }

  .chapter-card p {
    margin-bottom: 25px;

    font-size: 0.92rem;

    line-height: 1.75;
  }

  .chapter-card .button {
    width: 100%;
  }


  /* Redemption */

  .redemption-section {
    gap: 40px;
  }

  .redemption-heading {
    padding-left: 20px;
  }

  .redemption-heading::before {
    height: 80px;
  }

  .redemption-heading h2 {
    font-size: 2.8rem;
  }

  .redemption-copy p {
    font-size: 0.96rem;

    line-height: 1.8;
  }

  .large-gold-text {
    margin:
      35px
      0
      25px !important;

    font-size:
      3.8rem !important;
  }


  /* Faith */

  .faith-banner {
    min-height: 520px;

    background-position: center center;
  }

  .faith-content {
    padding:
      75px 0;
  }

  .faith-content blockquote {
    font-size: 2.15rem;

    line-height: 1.22;
  }

  .faith-content blockquote::before {
    font-size: 4rem;
  }

  .faith-content cite {
    font-size: 0.6rem;

    letter-spacing: 0.16em;
  }


  /* Final */

  .final-message {
    padding:
      105px 0;
  }

  .final-message::before {
    height: 55px;
  }

  .final-message h2 {
    font-size: 3rem;

    line-height: 1.05;
  }

  .final-message > .container > p:not(.section-kicker):not(.final-line) {
    font-size: 0.96rem;

    line-height: 1.8;
  }

  .final-line {
    font-size: 2.25rem;
  }


  /* Author */

  .author-section {
    gap: 30px;
  }

  .author-section h2 {
    font-size: 3.2rem;
  }

  .author-section > div:last-child p {
    font-size: 0.96rem;

    line-height: 1.8;
  }

  .author-section .button {
    width: 100%;
  }


  /* Chapter hero */

  .chapter-hero {
    min-height: 570px;

    align-items: flex-end;
  }

  .chapter-hero::after {
    left: 50%;

    height: 75px;
  }

  .chapter-hero-content {
    padding-top: 175px;
    padding-bottom: 75px;
  }

  .chapter-number {
    margin-bottom: 18px;

    font-size: 0.59rem;
  }

  .chapter-hero h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;

    font-size:
      clamp(2.65rem, 11vw, 4.25rem);

    line-height: 0.98;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .chapter-hero-description {
    max-width: 100%;

    margin-top: 20px;

    font-size: 1.15rem;

    line-height: 1.45;
  }


  /* Chapter introduction */

  .chapter-introduction .chapter-reading {
    padding-top: 70px;
    padding-bottom: 65px;
  }


  /* Chapter reading */

  .chapter-reading {
    width:
      calc(100% - 32px);

    padding-top: 70px;
    padding-bottom: 85px;
  }

  .chapter-reading > p {
    margin-bottom: 23px;

    font-size: 1.13rem;

    line-height: 1.9;
  }

  .chapter-reading .chapter-opening {
    margin-bottom: 28px;

    padding-top: 28px;

    font-size: 1.22rem;

    line-height: 1.85;
  }

  .chapter-reading .chapter-opening::before {
    width: 65px;
  }


  /* Reflection */

  .chapter-reflection {
    margin:
      48px
      0;

    padding:
      30px
      24px;
  }

  .reflection-label {
    margin-bottom: 12px;

    font-size: 0.57rem !important;
  }

  .chapter-reflection p:last-child {
    font-size: 1.75rem;

    line-height: 1.25;
  }


  /* Emphasis */

  .chapter-reading > .chapter-emphasis {
    margin:
      34px
      0;

    font-size: 2.2rem;

    line-height: 1.15;
  }

  .chapter-reading > .chapter-emphasis + .chapter-emphasis {
    margin-top: -17px;
  }

  .chapter-emphasis-block {
    margin:
      45px
      0;

    padding:
      32px
      20px;
  }

  .chapter-emphasis-block p {
    font-size: 1.75rem;
  }


  /* Worshipper */

  .worshipper-section {
    margin:
      52px
      0;

    padding:
      55px
      22px;
  }

  .worshipper-section::before {
    top: 13px;

    font-size: 4rem;
  }

  .worshipper-label {
    margin-bottom: 27px;

    font-size: 0.56rem !important;
  }

  .worshipper-line {
    font-size: 1.65rem !important;

    line-height: 1.3 !important;
  }

  .worshipper-section blockquote p {
    font-size: 1.65rem;

    line-height: 1.3;
  }


  /* Conclusion */

  .chapter-conclusion {
    margin-top: 60px;

    padding-top: 50px;
  }

  .chapter-conclusion p {
    font-size: 1.35rem;
  }

  .conclusion-final {
    font-size: 1.7rem !important;
  }


  /* Chapter navigation */

  .chapter-navigation-inner {
    min-height: 0;

    display: grid;

    grid-template-columns:
      1fr
      1fr;

    gap: 0;

    padding:
      30px
      0;
  }

  .chapter-nav-center {
    display: none;
  }

  .chapter-nav-title {
    font-size: 1.25rem;
  }

  .chapter-nav-label {
    font-size: 0.56rem;
  }

  .chapter-nav-next {
    align-items: flex-end;

    text-align: right;
  }


  /* Supporting pages */

  .dedication-reading {
    text-align: center;
  }

  .dedication-divider {
    margin:
      42px
      auto;
  }

  .dedication-emphasis {
    margin:
      42px
      auto !important;

    font-size: 2rem !important;
  }

  .dedication-highlight {
    margin:
      48px
      auto;
  }

  .dedication-conclusion {
    margin-top: 55px;
  }


  /* Publication */

  .publication-details {
    margin:
      35px
      0
      50px;
  }

  .publication-detail {
    grid-template-columns: 1fr;

    gap: 7px;

    padding:
      18px
      0;
  }

  .publication-label {
    font-size: 0.56rem;
  }

  .publication-value {
    font-size: 1.12rem;
  }


  /* Contact */

  .contact-details {
    margin:
      35px
      0
      50px;
  }

  .contact-detail {
    grid-template-columns: 1fr;

    gap: 7px;

    padding:
      18px
      0;
  }

  .contact-label {
    font-size: 0.56rem;
  }

  .contact-value {
    font-size: 1.15rem;

    overflow-wrap: anywhere;
  }


  /* Legal */

  .legal-page h2 {
    margin:
      50px
      0
      18px;

    font-size: 2rem;
  }

  .legal-page h2:first-of-type {
    margin-top: 15px;
  }

  .legal-page .chapter-opening {
    font-size: 0.58rem !important;
  }

  .legal-contact {
    margin-top: 50px;
  }


  /* 404 */

  .error-navigation {
    grid-template-columns: 1fr;

    margin:
      50px
      0;

    gap: 10px;
  }

  .error-navigation .chapter-nav-link {
    min-height: 85px;
  }


  /* Footer */

  .footer-inner {
    padding-top: 52px;
  }

  .footer-brand {
    margin-bottom: 35px;
  }

  .footer-title {
    font-size: 1.7rem;
  }

  .footer-subtitle {
    font-size: 0.92rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;

    gap:
      35px
      25px;

    padding-bottom: 40px;
  }

  .footer-resource-title {
    margin-bottom: 14px;

    font-size: 0.56rem;
  }

  .footer-links a {
    margin-bottom: 8px;

    font-size: 0.72rem;
  }

  .footer-bottom {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    padding:
      20px 0
      25px;
  }

  .footer-bottom p {
    font-size: 0.56rem;

    line-height: 1.5;
  }
}


/* =========================================================
   43. SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

  .container {
    width:
      calc(100% - 26px);
  }

  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 0.52rem;
  }

  .main-navigation {
    gap: 13px;
  }

  .main-navigation a {
    font-size: 0.53rem;
  }


  .hero {
    aspect-ratio: 1920 / 1000;

    min-height: 0;
  }

  .hero-content {
    padding-bottom: 14px;
  }

  .button {
    min-height: 46px;

    font-size: 0.56rem;
  }

  .section {
    padding:
      70px 0;
  }

  .story-text h2,
  .two-column h2,
  .redemption-heading h2 {
    font-size: 2.45rem;
  }

  .story-highlight h3 {
    font-size: 2.25rem;
  }

  .chapter-card h3 {
    font-size: 2rem;
  }

  .faith-content blockquote {
    font-size: 1.9rem;
  }

  .final-message h2 {
    font-size: 2.65rem;
  }

  .final-line {
    font-size: 2rem;
  }


  /* Chapter */

  .chapter-hero {
    min-height: 535px;
  }

  .chapter-hero-content {
    padding-top: 165px;
    padding-bottom: 62px;
  }

  .chapter-hero h1 {
    font-size: 2.95rem;
  }

  .chapter-hero-description {
    font-size: 1.05rem;
  }

  .chapter-introduction {
    font-size: 1.08rem;
  }

  .chapter-reading {
    width:
      calc(100% - 26px);

    padding-top: 60px;
    padding-bottom: 70px;
  }

  .chapter-reading > p {
    font-size: 1.08rem;

    line-height: 1.86;
  }

  .chapter-reading .chapter-opening {
    font-size: 1.16rem;
  }

  .chapter-reflection {
    margin:
      42px
      0;

    padding:
      27px
      20px;
  }

  .chapter-reflection p:last-child {
    font-size: 1.55rem;
  }

  .chapter-reading > .chapter-emphasis {
    font-size: 2rem;
  }

  .chapter-emphasis-block {
    margin:
      40px
      0;

    padding:
      28px
      17px;
  }

  .chapter-emphasis-block p {
    font-size: 1.55rem;
  }

  .worshipper-section {
    margin:
      45px
      0;

    padding:
      50px
      18px;
  }

  .worshipper-line {
    font-size: 1.48rem !important;
  }

  .worshipper-section blockquote p {
    font-size: 1.48rem;
  }

  .chapter-conclusion {
    margin-top: 52px;

    padding-top: 43px;
  }

  .chapter-conclusion p {
    font-size: 1.25rem;
  }

  .conclusion-final {
    font-size: 1.5rem !important;
  }

  .chapter-nav-title {
    font-size: 1.12rem;
  }


  /* Supporting pages */

  .dedication-opening {
    font-size: 1.55rem !important;
  }

  .dedication-emphasis {
    font-size: 1.75rem !important;
  }

  .publication-value,
  .contact-value {
    font-size: 1.05rem;
  }

  .legal-page h2 {
    font-size: 1.8rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-title {
    font-size: 1.55rem;
  }
}


/* =========================================================
   44. LANDSCAPE MOBILE
   ========================================================= */

@media (
  max-width: 900px
) and (
  orientation: landscape
) {

  .hero {
    aspect-ratio: 1920 / 1000;

    min-height: 0;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-buttons {
    display: flex;
  }

  .hero-buttons .button {
    width: auto;
  }

  .chapter-hero {
    min-height: 520px;
  }

  .chapter-hero-content {
    padding-top: 145px;
    padding-bottom: 65px;
  }
}


/* =========================================================
   45. ACCESSIBILITY
   ========================================================= */

a:focus-visible {
  outline:
    2px solid var(--gold-light);

  outline-offset: 5px;
}


/* =========================================================
   46. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }
}


/* =========================================================
   47. FORCED COLORS
   ========================================================= */

@media (forced-colors: active) {

  .button,
  .chapter-card,
  .story-highlight,
  .chapter-reflection,
  .worshipper-section,
  .chapter-emphasis-block,
  .publication-detail,
  .contact-detail {
    border:
      1px solid CanvasText;
  }

  .site-nav a::after,
  .main-navigation a::after {
    background: CanvasText;
  }
}


/* =========================================================
   48. PRINT
   ========================================================= */

@media print {

  .site-header,
  .hero-buttons,
  .site-nav,
  .main-navigation,
  .site-footer,
  .chapter-navigation {
    display: none;
  }

  body {
    background: white;

    color: black;
  }

  .section,
  .final-message,
  .chapter-hero,
  .chapter-content,
  .chapter-introduction {
    padding:
      30px 0;

    background:
      white !important;
  }

  h1,
  h2,
  h3,
  h4,
  p {
    color:
      black !important;
  }

  .chapter-reading > p {
    color:
      black !important;
  }
}


/* =========================================================
   END OF COMPLETE STYLESHEET
   ========================================================= */

/* =========================================================
   RESPONSIVE TOP NAVIGATION
   ========================================================= */

.mobile-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(199, 161, 90, 0.35);
  background: rgba(15, 13, 11, 0.72);
  color: var(--cream);
  width: 46px;
  height: 42px;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: var(--gold-light);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 700px) {
  .site-header {
    z-index: 1000;
  }

  .navigation {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .site-logo {
    margin: 0;
    text-align: left;
  }

  .mobile-menu-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 8px;
    background: rgba(13, 11, 9, 0.98);
    border: 1px solid rgba(199, 161, 90, 0.22);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    display: block;
    width: 100%;
    padding: 15px 14px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-align: left;
  }

  .main-navigation a::after {
    display: none;
  }

  .main-navigation a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header.menu-open {
    background: rgba(13, 11, 9, 0.97);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 701px) {
  .main-navigation {
    display: flex;
  }
}


/* =========================================================
   HOMEPAGE MOBILE POLISH
   Keep the artwork unobstructed on phones.
   ========================================================= */

@media (max-width: 700px) {
  .homepage-header .site-logo {
    display: none;
  }

  .homepage-header .navigation {
    min-height: 64px;
    justify-content: flex-end;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .homepage-header .mobile-menu-toggle {
    width: 44px;
    height: 40px;
  }

  .homepage-header .main-navigation {
    top: calc(100% - 1px);
  }

  .hero {
    margin-bottom: 118px;
  }

  .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -108px;
    width: 100%;
    padding: 0 16px;
  }

  .hero-buttons {
    width: 100%;
    gap: 9px;
  }

  .hero-buttons .button {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .hero {
    margin-bottom: 110px;
  }

  .hero-content {
    bottom: -100px;
  }
}


/* =========================================================
   HOMEPAGE HERO ACTIONS
   Keep calls to action completely below the book artwork.
   ========================================================= */

.hero-actions {
  position: relative;
  z-index: 3;
  padding: 24px 0 30px;
  background:
    linear-gradient(
      180deg,
      #17110c 0%,
      #0b0907 100%
    );
  border-bottom: 1px solid rgba(199, 161, 90, 0.12);
}

.hero-actions .hero-buttons {
  justify-content: center;
}

@media (max-width: 700px) {
  .hero {
    margin-bottom: 0;
  }

  .hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
  }

  .hero-actions {
    padding: 12px 0 22px;
  }

  .hero-actions .hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }
}

@media (min-width: 701px) {
  .hero-actions .hero-buttons {
    display: flex;
    flex-wrap: wrap;
  }
}


/* =========================================================
   HOMEPAGE HEADER / BANNER SEPARATION
   The navigation has its own space so the book banner
   always begins underneath it.
   ========================================================= */

.homepage-header {
  position: relative;
  background:
    linear-gradient(
      180deg,
      #0b0907 0%,
      #17110c 100%
    );
  border-bottom: 1px solid rgba(199, 161, 90, 0.16);
}

@media (max-width: 700px) {
  .homepage-header {
    position: relative;
    background: #0b0907;
  }

  .homepage-header .navigation {
    min-height: 64px;
  }
}


/* =========================================================
   CHAPTER NAVIGATION — EDITORIAL BOOK STYLE
   ========================================================= */

.chapter-navigation {
  background:
    linear-gradient(
      180deg,
      #100c09 0%,
      #0b0907 100%
    );
  border-top: 1px solid rgba(199, 161, 90, 0.18);
  border-bottom: 1px solid rgba(199, 161, 90, 0.18);
}

.chapter-navigation-inner {
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 55px 0;
}

.chapter-nav-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
  color: var(--cream);
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.chapter-nav-link:hover {
  color: var(--gold-light);
  transform: translateY(-3px);
}

.chapter-nav-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.chapter-nav-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
}

.chapter-nav-next {
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}

.chapter-nav-spacer {
  min-width: 0;
}

@media (max-width: 700px) {
  .chapter-navigation-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 42px 0 48px;
  }

  .chapter-nav-link {
    gap: 13px;
    max-width: 100%;
  }

  .chapter-nav-label {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .chapter-nav-title {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  .chapter-nav-next {
    justify-self: stretch;
    align-items: flex-start;
    text-align: left;
  }

  .chapter-nav-spacer {
    display: none;
  }
}


/* =========================================================
   BOOK NAVIGATION — SIMPLE EDITORIAL SYSTEM
   Chapters, supporting pages, and legal pages use
   separate wrappers but share one restrained visual language.
   ========================================================= */

.chapter-navigation,
.support-navigation,
.legal-navigation {
  position: relative;
  background:
    linear-gradient(
      180deg,
      #100c09 0%,
      #0b0907 100%
    );
  border-top: 1px solid rgba(199, 161, 90, 0.16);
  border-bottom: 1px solid rgba(199, 161, 90, 0.16);
}

.book-navigation-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 70px;
  row-gap: 38px;
  padding: 52px 0 30px;
}

.book-nav-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  color: var(--cream);
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.book-nav-link:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
}

.book-nav-next {
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}

.book-nav-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.book-nav-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
}

.book-nav-home {
  grid-column: 1 / -1;
  justify-self: center;
  padding-top: 8px;
  color: #81766b;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  border-top: 1px solid rgba(199, 161, 90, 0.12);
  padding-left: 35px;
  padding-right: 35px;
  transition: color 0.25s ease;
}

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

.book-nav-spacer {
  min-width: 0;
}

@media (max-width: 700px) {
  .book-navigation-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0 30px;
  }

  .book-nav-link {
    max-width: 100%;
    gap: 10px;
  }

  .book-nav-next {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .book-nav-label {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .book-nav-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.1;
  }

  .book-nav-home {
    grid-column: auto;
    justify-self: center;
    margin-top: 4px;
    padding-top: 16px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 0.54rem;
    letter-spacing: 0.17em;
  }

  .book-nav-spacer {
    display: none;
  }
}


/* =========================================================
   RESPONSIVE HOMEPAGE ALIGNMENT FIX
   Keep the banner, navigation, and action buttons aligned
   across desktop, tablet, and mobile layouts.
   ========================================================= */
.homepage-header,
.homepage-header .navigation,
.hero,
.hero-actions,
.hero-actions > .container {
  width: 100%;
  max-width: 100%;
}

.homepage-header .navigation {
  box-sizing: border-box;
}

.hero {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1000;
  min-height: 0;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero .hero-content {
  display: none;
}

.hero-actions {
  margin: 0;
  box-sizing: border-box;
}

.hero-actions > .container {
  box-sizing: border-box;
}

.hero-actions .hero-buttons {
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

.hero-actions .button {
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (min-width: 701px) {
  .homepage-header .navigation {
    min-height: 88px;
    gap: clamp(16px, 3vw, 40px);
  }

  .homepage-header .site-logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .homepage-header .main-navigation {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    gap: clamp(14px, 2.5vw, 32px);
  }

  .hero-actions .hero-buttons {
    flex-direction: row;
  }

  .hero-actions .button {
    width: auto;
  }
}

@media (max-width: 700px) {
  .homepage-header .navigation {
    width: calc(100% - 32px);
    min-height: 64px;
    margin-inline: auto;
    padding: 10px 0;
  }

  .homepage-header .mobile-menu-toggle {
    margin-left: auto;
  }

  .homepage-header .main-navigation {
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero {
    width: 100%;
    aspect-ratio: 1920 / 1000;
    min-height: 0;
    background-size: contain;
    background-position: center top;
    background-color: #0b0907;
  }

  .hero-actions {
    padding: 16px 0 24px;
  }

  .hero-actions > .container {
    width: calc(100% - 32px);
  }

  .hero-actions .hero-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    line-height: 1.35;
  }
}

@media (max-width: 390px) {
  .homepage-header .navigation,
  .hero-actions > .container {
    width: calc(100% - 26px);
  }

  .hero-actions .button {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
}


/* =========================================================
   READABILITY PASS
   Improve small supporting text, navigation, and buttons
   across desktop, tablet, and phone screens.
   ========================================================= */
body {
  font-size: 16px;
}

p,
.section-copy p,
.story-text p,
.chapter-card p,
.author-section > div:last-child p {
  font-size: 1rem;
  line-height: 1.8;
}

.section-kicker,
.chapter-number,
.highlight-label,
.footer-resource-title,
.book-nav-label,
.chapter-nav-label {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.main-navigation a,
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.button {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.footer-links a,
.footer-bottom p,
.footer-subtitle,
.book-nav-home {
  font-size: 0.8rem;
  line-height: 1.65;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  p,
  .section-copy p,
  .story-text p,
  .chapter-card p,
  .author-section > div:last-child p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .section-kicker,
  .chapter-number,
  .highlight-label,
  .footer-resource-title,
  .book-nav-label,
  .chapter-nav-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .main-navigation a {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .button,
  .hero-actions .button {
    font-size: 0.76rem;
    letter-spacing: 0.07em;
  }

  .footer-links a,
  .footer-bottom p,
  .footer-subtitle,
  .book-nav-home {
    font-size: 0.82rem;
  }

  .chapter-nav-title,
  .book-nav-title {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  .main-navigation a {
    font-size: 0.82rem;
  }

  .button,
  .hero-actions .button {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }

  .footer-links a,
  .footer-bottom p {
    font-size: 0.8rem;
  }
}


/* =========================================================
   SITE-WIDE FOOTER REDESIGN
   Consistent spacing, hierarchy, and responsive columns
   ========================================================= */
.site-footer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #100c08 0%, #080604 100%);
  border-top: 1px solid rgba(199, 161, 90, 0.28);
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.8fr);
  align-items: start;
  column-gap: clamp(36px, 6vw, 88px);
  row-gap: 36px;
  width: min(calc(100% - 64px), 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding: 54px 0 0;
}
.site-footer .footer-brand {
  min-width: 0;
  margin: 0;
}
.site-footer .footer-title {
  max-width: 330px;
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}
.site-footer .footer-subtitle {
  max-width: 320px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b8aa98;
}
.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
  padding: 4px 0 34px;
}
.site-footer .footer-resource-group {
  min-width: 0;
  align-items: flex-start;
}
.site-footer .footer-resource-title {
  margin: 0 0 16px;
  font-size: 0.7rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}
.site-footer .footer-links a {
  max-width: 100%;
  margin: 0 0 11px;
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: #b8aa98;
}
.site-footer .footer-links a:hover {
  color: #f1eadf;
}
.site-footer .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-width: 0;
  margin: 0;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.025em;
  color: #948779;
}
@media (max-width: 1000px) {
  .site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
    width: min(calc(100% - 48px), 820px);
    padding-top: 44px;
  }
  .site-footer .footer-brand {
    max-width: 560px;
  }
  .site-footer .footer-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 28px;
  }
}
@media (max-width: 700px) {
  .site-footer .footer-inner {
    width: calc(100% - 36px);
    row-gap: 28px;
    padding-top: 36px;
  }
  .site-footer .footer-title {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }
  .site-footer .footer-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .site-footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
    padding: 0 0 28px;
  }
  .site-footer .footer-resource-title {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .site-footer .footer-links a {
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 0 22px;
  }
  .site-footer .footer-bottom p {
    font-size: 0.76rem;
  }
}
@media (max-width: 360px) {
  .site-footer .footer-inner { width: calc(100% - 28px); }
  .site-footer .footer-links { column-gap: 14px; }
  .site-footer .footer-links a { font-size: 0.84rem; }
}


/* =========================================================
   CHAPTER-TO-CHAPTER NAVIGATION REDESIGN
   Clear previous/next controls with a dedicated home link
   ========================================================= */
.chapter-navigation {
  padding: 0;
  background: linear-gradient(135deg, #100c08 0%, #1a120c 52%, #0b0907 100%);
  border-top: 1px solid rgba(199, 161, 90, 0.22);
  border-bottom: 1px solid rgba(199, 161, 90, 0.22);
}
.chapter-navigation .book-navigation-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  width: min(calc(100% - 64px), 1180px);
  min-height: 0;
  margin-inline: auto;
  padding: 30px 0 20px;
}
.chapter-navigation .book-nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid rgba(199, 161, 90, 0.22);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.chapter-navigation .book-nav-link:hover {
  border-color: rgba(199, 161, 90, 0.65);
  background: rgba(199, 161, 90, 0.07);
  transform: translateY(-2px);
}
.chapter-navigation .book-nav-prev { grid-column: 1; grid-row: 1; }
.chapter-navigation .book-nav-next { grid-column: 2; grid-row: 1; align-items: flex-end; text-align: right; }
.chapter-navigation .book-nav-label {
  display: block;
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0.13em;
  color: #e0c27d;
}
.chapter-navigation .book-nav-title {
  display: block;
  max-width: 100%;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.chapter-navigation .book-nav-home {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid rgba(199, 161, 90, 0.2);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: center;
  color: #c6b6a3;
}
.chapter-navigation .book-nav-home:hover {
  color: #e0c27d;
  border-color: rgba(199, 161, 90, 0.55);
}
.chapter-navigation .book-nav-spacer { display: none; }
@media (max-width: 700px) {
  .chapter-navigation .book-navigation-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: calc(100% - 32px);
    padding: 22px 0 18px;
  }
  .chapter-navigation .book-nav-prev,
  .chapter-navigation .book-nav-next {
    grid-column: 1;
    grid-row: auto;
    align-items: flex-start;
    text-align: left;
    min-height: 0;
    padding: 18px 18px;
  }
  .chapter-navigation .book-nav-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    line-height: 1.25;
  }
  .chapter-navigation .book-nav-label {
    font-size: 0.68rem;
  }
  .chapter-navigation .book-nav-home {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    margin-top: 2px;
    padding: 12px 16px;
    font-size: 0.7rem;
  }
}

/* =========================================================
   CALM, CONSISTENT READING SYSTEM
   Simplifies visual differences across the whole book website.
   ========================================================= */
:root {
  --black: #11100f;
  --black-soft: #171513;
  --charcoal: #1d1a17;
  --brown-dark: #211b16;
  --gold: #b69a63;
  --gold-light: #d0b77f;
  --cream: #f2ede5;
  --cream-soft: #e1d9ce;
  --muted: #b8afa4;
  --reading-width: 740px;
}

html, body {
  background: #11100f;
  color: var(--cream);
}

body {
  font-size: 16px;
  line-height: 1.75;
}

.site-header {
  background: rgba(17, 16, 15, 0.96);
  border-bottom: 1px solid rgba(182, 154, 99, 0.18);
  backdrop-filter: none;
}

.site-header .navigation,
.homepage-header .navigation {
  min-height: 78px;
}

.site-logo,
.site-logo:hover {
  color: var(--cream);
}

.site-logo span,
.logo-sub {
  color: var(--gold-light);
}

.main-navigation,
.site-nav {
  gap: clamp(14px, 2vw, 26px);
}

.main-navigation a,
.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #e1d9ce;
}

.main-navigation a:hover,
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-light);
}

.chapter-hero,
.chapter-content,
.chapter-introduction,
.chapter-reading,
.legal-page {
  background: #11100f;
}

.chapter-hero {
  min-height: 390px;
  background-color: #171513;
  background-image: none;
  border-bottom: 1px solid rgba(182, 154, 99, 0.14);
}

.chapter-hero-overlay {
  background: linear-gradient(180deg, rgba(17,16,15,0.28), rgba(17,16,15,0.86));
}

.chapter-hero-content {
  width: min(calc(100% - 40px), 900px);
  padding-top: 145px;
  padding-bottom: 56px;
}

.chapter-number,
.section-kicker,
.reflection-label {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.chapter-hero h1,
.chapter-hero-content h1,
h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: none;
}

.chapter-hero h1 span {
  color: inherit;
}

.chapter-hero-divider {
  width: 56px;
  height: 1px;
  margin: 22px 0;
  background: var(--gold);
}

.chapter-hero-description,
.chapter-introduction .chapter-hero-description {
  max-width: 660px;
  color: var(--cream-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.chapter-content {
  background: #11100f;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chapter-reading {
  width: min(calc(100% - 40px), var(--reading-width));
  padding-top: 58px;
  padding-bottom: 68px;
}

.chapter-reading > p,
.chapter-introduction .chapter-reading > p,
.story-text p,
.section-copy p,
.chapter-card p,
.legal-page p {
  margin-bottom: 1.35em;
  color: var(--cream-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
}

.chapter-reading .chapter-opening,
.chapter-reading > p.chapter-opening {
  margin-bottom: 1.5em;
  padding-top: 0;
  border-top: 0;
  color: var(--cream);
  font-size: 1.18rem;
  line-height: 1.85;
}

.chapter-reading h2,
.chapter-reading h3,
.chapter-content h2,
.chapter-content h3 {
  margin: 2em 0 0.8em;
  color: var(--cream);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.chapter-emphasis,
.chapter-emphasis-block,
.chapter-reflection,
.worshipper-section,
.chapter-conclusion {
  background: transparent;
  box-shadow: none;
}

.chapter-emphasis-block,
.chapter-reflection,
.worshipper-section {
  margin: 2.2em 0;
  padding: 1.25em 1.4em;
  border: 1px solid rgba(182, 154, 99, 0.22);
  border-left: 2px solid var(--gold);
}

.chapter-emphasis,
.chapter-emphasis-block p,
.chapter-reflection p:last-child,
.worshipper-line,
.worshipper-section blockquote p,
.chapter-conclusion p {
  color: var(--cream);
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: normal;
}

.chapter-conclusion {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(182, 154, 99, 0.24);
}

.button,
.hero-actions .button {
  min-height: 46px;
  border-radius: 2px;
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.site-footer {
  background: #0d0c0b;
  border-top: 1px solid rgba(182, 154, 99, 0.2);
}

.site-footer .footer-inner {
  padding-top: 42px;
  row-gap: 28px;
}

.site-footer .footer-title {
  font-size: 1.55rem;
}

.site-footer .footer-subtitle,
.site-footer .footer-links a,
.site-footer .footer-bottom p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.chapter-navigation .book-nav-prev,
.chapter-navigation .book-nav-next {
  background: #171513;
  border: 1px solid rgba(182, 154, 99, 0.22);
  box-shadow: none;
}

.chapter-navigation .book-nav-title {
  color: var(--cream);
  font-size: 1.18rem;
  line-height: 1.4;
}

.chapter-navigation .book-nav-label {
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.chapter-navigation .book-nav-home {
  color: var(--cream-soft);
  border-color: rgba(182, 154, 99, 0.22);
  box-shadow: none;
}

a:focus-visible,
button:focus-visible {
  outline-color: var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .site-header .navigation,
  .homepage-header .navigation {
    min-height: 70px;
  }

  .chapter-hero {
    min-height: 330px;
  }

  .chapter-hero-content {
    padding-top: 120px;
    padding-bottom: 38px;
  }

  .chapter-hero h1,
  .chapter-hero-content h1,
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .chapter-reading {
    width: calc(100% - 36px);
    padding-top: 38px;
    padding-bottom: 46px;
  }

  .chapter-reading > p,
  .chapter-introduction .chapter-reading > p,
  .story-text p,
  .section-copy p,
  .chapter-card p,
  .legal-page p {
    font-size: 1.06rem;
    line-height: 1.8;
  }

  .chapter-reading .chapter-opening,
  .chapter-reading > p.chapter-opening {
    font-size: 1.1rem;
  }

  .chapter-emphasis-block,
  .chapter-reflection,
  .worshipper-section {
    margin: 1.7em 0;
    padding: 1em;
  }
}

@media (prefers-contrast: more) {
  body,
  .chapter-reading > p,
  .chapter-introduction .chapter-reading > p {
    color: #fff;
  }
}

