/* =========================================================
   HOLLOWRIDGE: THE NURSERY
   Shared stylesheet for /books/hollowridge/
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
  --black: #050608;
  --deep-black: #090b0e;
  --charcoal: #11151a;
  --charcoal-light: #181d23;
  --slate: #252c34;

  --text: #e7e4dd;
  --text-soft: #b9b7b1;
  --text-muted: #8f9296;

  --gold: #b99858;
  --gold-light: #d4b978;
  --gold-dark: #725a30;

  --red: #9d2828;
  --red-light: #d24a43;
  --red-dark: #5c1717;

  --border: rgba(212, 185, 120, 0.2);
  --border-light: rgba(255, 255, 255, 0.09);

  --shadow:
    0 24px 60px rgba(0, 0, 0, 0.45);

  --shadow-soft:
    0 12px 35px rgba(0, 0, 0, 0.3);

  --serif:
    Georgia,
    "Times New Roman",
    Times,
    serif;

  --sans:
    Arial,
    Helvetica,
    sans-serif;

  --container: 1180px;
  --narrow-container: 820px;

  --radius-small: 8px;
  --radius-medium: 14px;
  --radius-large: 22px;

  --transition: 0.3s ease;
}


/* =========================================================
   2. RESET AND BASE STYLES
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(157, 40, 40, 0.09),
      transparent 32%
    ),
    radial-gradient(
      circle at top right,
      rgba(185, 152, 88, 0.06),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #07090c 0%,
      #0b0e12 45%,
      #060709 100%
    );

  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px
    );

  background-size: 42px 42px;
  opacity: 0.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--red);
  color: #ffffff;
}


/* =========================================================
   3. ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;

  padding: 12px 18px;

  background: var(--gold-light);
  color: var(--black);

  border-radius: var(--radius-small);
  font-weight: 700;

  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);

  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}


/* =========================================================
   4. SHARED CONTAINERS
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow-container {
  width: min(calc(100% - 40px), var(--narrow-container));
  margin-inline: auto;
}


/* =========================================================
   5. HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 8, 0.97),
      rgba(5, 6, 8, 0.92)
    );

  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  min-height: 82px;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;

  flex-shrink: 0;
}

.brand-name {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.primary-navigation a {
  position: relative;

  padding: 10px 11px;

  color: var(--text-soft);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  border-radius: 6px;
  transition:
    color var(--transition),
    background var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a.active {
  color: var(--gold-light);
  background: rgba(185, 152, 88, 0.08);
}

.primary-navigation a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;

  height: 1px;
  background: var(--gold);
}

.menu-toggle {
  display: none;

  width: 46px;
  height: 42px;
  padding: 9px;

  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;

  width: 100%;
  height: 2px;
  margin: 5px 0;

  background: var(--text);
  transition:
    transform var(--transition),
    opacity var(--transition);
}


/* =========================================================
   6. PAGE INTRODUCTION
   ========================================================= */

.page-introduction {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0 clamp(75px, 10vw, 130px);
  text-align: center;
  overflow: hidden;
}

.page-introduction::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;

  width: 850px;
  height: 500px;

  background:
    radial-gradient(
      ellipse,
      rgba(157, 40, 40, 0.16),
      transparent 67%
    );

  transform: translateX(-50%);
  filter: blur(20px);
  pointer-events: none;
}

.page-introduction::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;

  width: min(70%, 700px);
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold-dark),
      transparent
    );

  transform: translateX(-50%);
}

.page-introduction .narrow-container {
  position: relative;
  z-index: 1;
}

.page-introduction h1 {
  margin: 15px 0 24px;
  color: #f0eee8;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.8);
}

.page-introduction h1 span {
  display: block;
  margin-top: 7px;

  color: var(--gold-light);
  font-size: 0.52em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.page-introduction p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.page-introduction .opening-line {
  margin-bottom: 19px;

  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-style: italic;
}


/* =========================================================
   7. EYEBROWS AND SECTION HEADINGS
   ========================================================= */

.eyebrow {
  display: inline-block;

  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 18px;
  color: var(--text);
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}


/* =========================================================
   8. BUTTONS AND LINKS
   ========================================================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;

  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 24px;

  border: 1px solid transparent;
  border-radius: var(--radius-small);

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      var(--red),
      var(--red-dark)
    );

  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);

  box-shadow:
    0 12px 30px rgba(157, 40, 40, 0.24);
}

.button-primary:hover {
  background:
    linear-gradient(
      135deg,
      var(--red-light),
      var(--red)
    );

  box-shadow:
    0 15px 38px rgba(157, 40, 40, 0.38);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold-light);
  border-color: var(--border);
}

.button-secondary:hover {
  background: rgba(185, 152, 88, 0.09);
  border-color: rgba(212, 185, 120, 0.45);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: 7px;

  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.025em;

  transition:
    color var(--transition),
    gap var(--transition);
}

.text-link span {
  font-size: 1.1em;
}

.text-link:hover {
  color: #edd59a;
  gap: 14px;
}


/* =========================================================
   9. ALTERNATING STORY SECTIONS
   ========================================================= */

.story-section {
  position: relative;
  padding: clamp(70px, 9vw, 125px) 0;
}

.story-section:nth-of-type(even) {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.01),
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.01)
    );
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.story-section-reverse .story-image {
  order: 2;
}

.story-section-reverse .story-card {
  order: 1;
}

.story-image {
  position: relative;
}

.story-image::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;

  border: 1px solid var(--border);
  border-radius: var(--radius-large);
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: var(--radius-large);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.25);

  pointer-events: none;
}

.story-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: var(--shadow);
}

.story-image img[src*="book-cover"] {
  width: min(100%, 430px);
  aspect-ratio: auto;
  margin-inline: auto;
  object-fit: contain;
}

.story-card {
  position: relative;
  padding: clamp(28px, 5vw, 52px);

  background:
    linear-gradient(
      145deg,
      rgba(24, 29, 35, 0.94),
      rgba(12, 15, 19, 0.96)
    );

  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 110px;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--red),
      var(--gold),
      transparent
    );
}

.story-card h2 {
  margin: 13px 0 22px;
  color: var(--text);
}

.story-card p {
  color: var(--text-soft);
}


/* =========================================================
   10. FEATURE CARDS
   ========================================================= */

.feature-section {
  padding: clamp(85px, 10vw, 140px) 0;

  background:
    radial-gradient(
      circle at center,
      rgba(157, 40, 40, 0.07),
      transparent 52%
    ),
    var(--deep-black);

  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 275px;
  padding: 30px 25px;

  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: var(--border);
  background:
    linear-gradient(
      160deg,
      rgba(185, 152, 88, 0.07),
      rgba(255, 255, 255, 0.015)
    );
}

.feature-number {
  display: inline-block;
  margin-bottom: 36px;

  color: var(--red-light);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 14px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}


/* =========================================================
   11. QUOTE SECTION
   ========================================================= */

.quote-section {
  position: relative;
  padding: clamp(90px, 12vw, 165px) 0;
  overflow: hidden;
}

.quote-section::before {
  content: "“";
  position: absolute;
  top: 5%;
  left: 50%;

  color: rgba(185, 152, 88, 0.08);
  font-family: var(--serif);
  font-size: 22rem;
  line-height: 1;

  transform: translateX(-50%);
}

.quote-section blockquote {
  position: relative;
  z-index: 1;

  margin: 0;
  padding: 0;
  text-align: center;
}

.quote-section blockquote p {
  margin: 0;

  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}


/* =========================================================
   12. RECOMMENDED BOOKS
   ========================================================= */

.recommended-section {
  padding: clamp(85px, 10vw, 140px) 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.012),
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.012)
    );

  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.book-card {
  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      145deg,
      rgba(24, 29, 35, 0.93),
      rgba(10, 12, 15, 0.95)
    );

  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);
  overflow: hidden;

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.book-card:hover {
  transform: translateY(-7px);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.book-cover {
  padding: 30px 30px 0;
}

.book-cover img {
  width: min(100%, 230px);
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;

  border-radius: 5px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.book-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 27px;
}

.book-card-content h3 {
  margin-bottom: 13px;
}

.book-card-content p {
  flex: 1;
  color: var(--text-soft);
  font-size: 0.95rem;
}


/* =========================================================
   13. PURCHASE SECTION
   ========================================================= */

.purchase-section {
  position: relative;
  padding: clamp(90px, 11vw, 155px) 0;

  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(157, 40, 40, 0.14),
      transparent 35%
    );
}

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.purchase-cover img {
  width: min(100%, 410px);
  margin-inline: auto;

  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.62);
}

.purchase-content h2 {
  margin: 12px 0 21px;
}

.purchase-content > p {
  color: var(--text-soft);
}

.purchase-content .button-row {
  justify-content: flex-start;
}

.purchase-list {
  display: grid;
  gap: 11px;

  margin: 27px 0 0;
  padding: 0;

  list-style: none;
}

.purchase-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}

.purchase-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;

  color: var(--gold);
  font-size: 0.8rem;
}

.purchase-note {
  margin-top: 18px;
  color: var(--text-muted) !important;
  font-size: 0.8rem;
  font-style: italic;
}


/* =========================================================
   14. FAQ SECTION
   ========================================================= */

.faq-section {
  padding: clamp(85px, 10vw, 140px) 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.012),
      rgba(255, 255, 255, 0.025)
    );

  border-top: 1px solid var(--border-light);
}

.faq-list {
  display: grid;
  gap: 15px;
}

.faq-list details {
  background:
    linear-gradient(
      145deg,
      rgba(24, 29, 35, 0.86),
      rgba(12, 15, 19, 0.9)
    );

  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);
  overflow: hidden;

  transition: border-color var(--transition);
}

.faq-list details[open] {
  border-color: var(--border);
}

.faq-list summary {
  position: relative;

  padding: 22px 58px 22px 24px;

  color: var(--text);
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 700;

  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;

  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;

  transform: translateY(-50%);
  transition: transform var(--transition);
}

.faq-list details[open] summary::after {
  transform:
    translateY(-50%)
    rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 24px;

  color: var(--text-soft);
}


/* =========================================================
   15. FINAL CALL TO ACTION
   ========================================================= */

.final-cta {
  position: relative;
  padding: clamp(100px, 13vw, 175px) 0;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(157, 40, 40, 0.15),
      transparent 48%
    );
}

.final-cta .narrow-container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 14px 0 21px;
}

.final-cta h2 span {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}

.final-cta p {
  max-width: 660px;
  margin-inline: auto;

  color: var(--text-soft);
  font-size: 1.05rem;
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.site-footer {
  padding: 75px 0 30px;

  background: #040507;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 60px;

  padding-bottom: 50px;
}

.footer-about h2 {
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 2rem;
}

.footer-about p {
  max-width: 510px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links h3 {
  margin-bottom: 9px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.91rem;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding-top: 25px;

  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  margin: 0;
  color: #696d72;
  font-size: 0.78rem;
}


/* =========================================================
   17. GENERAL INNER-PAGE SUPPORT
   ========================================================= */

.content-section {
  padding: clamp(75px, 9vw, 125px) 0;
}

.content-section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.01),
      rgba(255, 255, 255, 0.025)
    );

  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.content-card {
  padding: clamp(28px, 5vw, 52px);

  background:
    linear-gradient(
      145deg,
      rgba(24, 29, 35, 0.92),
      rgba(10, 12, 15, 0.94)
    );

  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-soft);
}

.content-card h2,
.content-card h3 {
  color: var(--text);
}

.content-card p,
.content-card li {
  color: var(--text-soft);
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
}

.content-card li {
  margin-bottom: 10px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: var(--radius-large);
  border: 1px solid var(--border-light);

  box-shadow: var(--shadow);
}

.warning-card {
  padding: 25px;

  background: rgba(157, 40, 40, 0.08);
  border: 1px solid rgba(210, 74, 67, 0.28);
  border-left: 4px solid var(--red-light);
  border-radius: var(--radius-small);
}

.warning-card p {
  color: var(--text-soft);
}

.divider {
  width: min(100%, 630px);
  height: 1px;
  margin: 60px auto;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold-dark),
      transparent
    );
}


/* =========================================================
   18. TABLET RESPONSIVE STYLES
   ========================================================= */

@media (max-width: 1050px) {

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .primary-navigation {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    max-height: calc(100vh - 74px);
    padding: 14px 20px 24px;

    background:
      linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.99),
        rgba(9, 11, 14, 0.99)
      );

    border-bottom: 1px solid var(--border-light);
    overflow-y: auto;
  }

  .primary-navigation.navigation-open {
    display: flex;
  }

  .primary-navigation a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  }

  .primary-navigation a.active::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"]
  span:not(.sr-only):nth-of-type(2) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]
  span:not(.sr-only):nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]
  span:not(.sr-only):nth-of-type(4) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

  .story-grid {
    gap: 42px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 230px;
  }

}


/* =========================================================
   19. MOBILE AND SMALL TABLET STYLES
   ========================================================= */

@media (max-width: 800px) {

  body {
    font-size: 16px;
  }

  .container,
  .narrow-container {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand-tagline {
    display: none;
  }

  .page-introduction {
    padding-top: 80px;
  }

  .story-grid,
  .purchase-grid {
    grid-template-columns: 1fr;
  }

  .story-section-reverse .story-image,
  .story-section-reverse .story-card {
    order: initial;
  }

  .story-image {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .story-image::before {
    inset: 10px -10px -10px 10px;
  }

  .story-card {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }

  .book-cover {
    padding: 24px 0 24px 24px;
  }

  .book-card-content {
    padding: 24px;
  }

  .purchase-content {
    text-align: center;
  }

  .purchase-content .button-row {
    justify-content: center;
  }

  .purchase-list {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .two-column-grid,
  .three-column-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   20. SMALL MOBILE STYLES
   ========================================================= */

@media (max-width: 560px) {

  .container,
  .narrow-container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .primary-navigation {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .page-introduction {
    padding: 68px 0 75px;
  }

  .page-introduction h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .page-introduction h1 span {
    font-size: 0.48em;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .story-section {
    padding: 67px 0;
  }

  .story-grid {
    gap: 31px;
  }

  .story-card {
    padding: 27px 22px;
  }

  .story-image img {
    border-radius: var(--radius-medium);
  }

  .story-image::before {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .quote-section::before {
    font-size: 14rem;
  }

  .book-card {
    display: flex;
  }

  .book-cover {
    padding: 25px 25px 0;
  }

  .book-cover img {
    width: min(100%, 210px);
  }

  .purchase-cover img {
    width: min(88%, 350px);
  }

  .faq-list summary {
    padding: 19px 50px 19px 19px;
    font-size: 1rem;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list details p {
    padding: 0 19px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    text-align: left;
  }

}


/* =========================================================
   21. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}


/* =========================================================
   22. PRINT STYLES
   ========================================================= */

@media print {

  .site-header,
  .site-footer,
  .button-row,
  .final-cta {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .story-card,
  .feature-card,
  .book-card,
  .content-card,
  .faq-list details {
    background: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
    box-shadow: none;
  }

  p,
  .story-card p,
  .feature-card p,
  .book-card p,
  .content-card p {
    color: #222222;
  }

}