@font-face {
  font-family: 'InterRegular';
  src: url("../fonts/Inter_18pt-Regular.ttf");
}

@font-face {
  font-family: 'InterBold';
  src: url("../fonts/Inter_18pt-Bold.ttf");
}


/* =========================================
   LORA
   ========================================= */
@font-face {
  font-family: 'LoraRegular';
  src: url("../fonts/Lora-Regular.ttf");
}

@font-face {
  font-family: 'LoraItalic';
  src: url("../fonts/Lora-Italic.ttf");
}


/* =========================================
   PLAYFAIR DISPLAY
   ========================================= */
@font-face {
  font-family: 'PlayfairDisplayRegular';
  src: url("../fonts/PlayfairDisplay-Regular.ttf");
}

@font-face {
  font-family: 'PlayfairDisplayItalic';
  src: url("../fonts/PlayfairDisplay-Italic.ttf");
}

@font-face {
  font-family: 'PlayfairDisplayBold';
  src: url("../fonts/PlayfairDisplay-Bold.ttf");
}

/* Variables & Fonts */
:root {
  --font-heading: 'PlayfairDisplayRegular', serif;
  --font-accent: 'LoraRegular', serif;
  --font-body: 'InterRegular', sans-serif;
  --primary: #1A2530;
  --primary-dark: #0F1A24;
  --secondary: #F8F6F1;
  --accent: #4A8FA8;
  --accent-hover: #3A7A94;
  --white: #FFFFFF;
  --nav-link-color: rgba(255, 255, 255, 0.85);
  --nav-link-hover: #FFFFFF;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--secondary);
  background-color: var(--primary);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none !important;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
  z-index: 1050;
}

.navbar.scrolled {
  background: #212C36;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.brand-main {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.navbar-nav-desktop {
  gap: 8px;
}

.navbar-nav-desktop .nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--nav-link-color);
  padding: 8px 14px;
  letter-spacing: 0.03em;
  transition: color var(--transition-base);
  position: relative;
}

.navbar-nav-desktop .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: var(--accent);
  transition: transform var(--transition-base);
  transform-origin: center;
}

.navbar-nav-desktop .nav-link:hover {
  color: var(--nav-link-hover);
}

.navbar-nav-desktop .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-nav-desktop .nav-link.active {
  color: var(--white);
}

.navbar-nav-desktop .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--white);
  border-radius: 4px;
  padding: 9px 22px;
  margin-left: 12px;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  text-transform: capitalize;
  background: var(--accent);
}

.nav-btn:hover {
  background: transparent;
  border: 1px solid white;
  color: var(--white);
}

/* Hamburger Toggle */
.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1060;
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.sidebar-toggle.active .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sidebar-toggle.active .toggle-bar:nth-child(2) {
  opacity: 0;
}

.sidebar-toggle.active .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   SIDEBAR (Mobile/Tablet)
   ========================================= */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background: var(--primary-dark);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-base);
  z-index: 10;
}

.sidebar-close:hover {
  color: var(--white);
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 24px 30px;
  gap: 2px;
}

.sidebar-brand .brand-main {
  font-size: 1.25rem;
}

.sidebar-brand .brand-accent {
  font-size: 1.05rem;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
}

.sidebar-link {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--nav-link-color);
  padding: 12px 24px;
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
  width: 100%;
  text-align: center;
  border-radius: 6px;
}

.sidebar-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-link.active {
  color: var(--white);
  background: rgba(74, 143, 168, 0.12);
}

.sidebar-footer {
  padding: 24px;
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
}

.sidebar-btn {
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 220px;
  padding: 12px 24px;
}

/* Sidebar link staggered animation */
.sidebar.active .sidebar-link {
  animation: sidebarLinkFade 0.4s ease forwards;
  opacity: 0;
}

.sidebar.active .sidebar-link:nth-child(1) {
  animation-delay: 0.1s;
}

.sidebar.active .sidebar-link:nth-child(2) {
  animation-delay: 0.15s;
}

.sidebar.active .sidebar-link:nth-child(3) {
  animation-delay: 0.2s;
}

.sidebar.active .sidebar-link:nth-child(4) {
  animation-delay: 0.25s;
}

.sidebar.active .sidebar-link:nth-child(5) {
  animation-delay: 0.3s;
}

.sidebar.active .sidebar-btn {
  animation: sidebarLinkFade 0.4s ease forwards;
  animation-delay: 0.35s;
  opacity: 0;
}

@keyframes sidebarLinkFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tagline-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.tagline-line-bold {
  border: 0.5px solid var(--accent);
  display: inline-block;
  width: 60px;
  height: 1px;
}

.tagline-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #7FBBD4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-title,
.hero-section-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero-section-title {
  font-size: 3rem;
}

.hero-title-accent,
.hero-section-title-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 3.8rem;
  color: #7FBBD4;
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero-section-title-accent {
  font-size: 3rem;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: #ADB3B9;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 14px 32px;
  transition: all var(--transition-base);
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 143, 168, 0.35);
}

.btn-hero-outline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 14px 32px;
  transition: all var(--transition-base);
}

.btn-hero-outline:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

/* =========================================
   PAGE HERO (sub-pages)
   ========================================= */
.page-hero {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 170px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--white);
  margin: 0;
}

/* =========================================
   SHARED SECTION HELPERS
   ========================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-label.center {
  justify-content: center;
}

.section-label .label-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.section-label .label-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.text-accent-bar {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 22px;
}

.pill,
.tag-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 8px 18px;
  border-radius: 30px;
  letter-spacing: 0.02em;
}

.pill {
  color: var(--accent);
  border: 1px solid rgba(74, 143, 168, 0.4);
  background: rgba(74, 143, 168, 0.06);
}

.tag-pill {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--primary-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.stat-item {
  flex: 1 1 0;
  padding: 0 24px;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

/* =========================================
   THE BOOK SECTION
   ========================================= */
.book-section {
  background: var(--secondary);
  color: var(--primary);
  padding: 100px 0;
}

.book-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto !important;
}

.book-heading {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--primary);
  max-width: 780px;
  margin-bottom: 60px;
}

.book-content-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
}

.book-cover-wrap {
  flex: 0 0 280px;
}

.book-cover {
  background-color: #E8E0D0;
  width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(26, 37, 48, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: auto;
  text-align: center;
  padding: 25px;
}

.inverse-book-cover {
  background-color: #212F3B;
}

.book-cover-img {
  width: 100%;
}

.book-cover-caption {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(26, 37, 48, 0.55);
  letter-spacing: 0.04em;
  margin-top: 16px;
}

.book-quick-facts {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dotted rgba(26, 37, 48, 0.2);
}

.quick-fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 37, 48, 0.08);
}

.quick-fact-row:last-child {
  border-bottom: none;
}

.quick-fact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26, 37, 48, 0.45);
  flex: 0 0 auto;
}

.quick-fact-value {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(26, 37, 48, 0.75);
  text-align: right;
}

.book-cover-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 22px;
}



.book-text-subhead {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--primary);
  margin: 0 0 22px;
}

.book-text-col {
  flex: 1;
  min-width: 0;
  max-width: 620px;
}

.book-text-col p {
  font-family: var(--font-accent);
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(26, 37, 48, 0.75);
  margin-bottom: 20px;
}

.book-text-col em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--primary);
}

.available-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(26, 37, 48, 0.5);
  margin: 26px 0 14px;
}

.available-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================
   SIX THREADS SECTION
   ========================================= */
.threads-section {
  background: #F8F6F1;
  padding: 100px 0;
}

.threads-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: black;
  margin-bottom: 50px;
  max-width: 720px;
}

.threads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.thread-card {
  background: white;
  border-left: 2.5px solid var(--accent);
  border-radius: 3px;
  padding: 30px 26px;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}


.thread-card h3 {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: #1A2530;
  margin: 0 0 12px;
}

.thread-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #34495E;
  margin: 0;
}

/* =========================================
   FOUR THINGS / MEMOIR SECTION
   ========================================= */
.memoir-section {
  background: #212F3B;
  padding: 100px 0;
}

.memoir-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 56px;
}

.memoir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  text-align: left;
}

.memoir-card {
  background: #2A3743;
  border-radius: 4px;
  padding: 30px;
  transition: background var(--transition-base), transform var(--transition-base);
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 25px;
}

.memoir-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.memoir-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: rgba(74, 143, 168, 0.5);
}

.memoir-card h3 {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: #5BA4C7;
  margin: 0 0 12px;
}

.memoir-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(248, 246, 241, 0.65);
  margin: 0;
}

/* =========================================
   ABOUT THE AUTHOR SECTION
   ========================================= */
.about-section {
  background: var(--primary);
  padding: 100px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px dotted rgba(74, 143, 168, 0.5);
}

.about-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
}

.about-photo-wrap {
  flex: 0 0 320px;
}

.about-photo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: block;
}

.about-text-col {
  flex: 1;
  min-width: 0;
  max-width: 640px;
}

.about-quote {
  font-family: playfair, serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--accent);
  margin: 0 0 28px;
}

.about-text-col p {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(248, 246, 241, 0.7);
  margin-bottom: 18px;
}

.about-text-col p em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--white);
}

.about-role {
  font-family: var(--font-body);
  line-height: 1.85;
  color: rgba(248, 246, 241, 0.7);
  margin-bottom: 18px;
}

.about-name {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  margin: 22px 0 2px;
}

.about-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 22px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================
   ABOUT HERO (photo hero variant)
   ========================================= */
.about-hero {
  min-height: 62vh;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.about-hero-title .accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  color: #7FBBD4;
}

.about-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* =========================================
   THANK YOU PAGE
   ========================================= */
.thankyou-hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.thankyou-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(74, 143, 168, 0.15);
  border: 1px solid rgba(74, 143, 168, 0.45);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 0 0 8px rgba(74, 143, 168, 0.08);
}

/* =========================================
   BIO ARTICLE SECTION
   ========================================= */
.bio-section {
  background: var(--primary);
  padding: 100px 0;
}

.bio-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
}

.bio-sidebar {
  flex: 0 0 260px;
  position: sticky;
  top: 110px;
}

.bio-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  text-align: center;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}

.bio-name {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 4px;
}

.bio-role {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.bio-meta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(248, 246, 241, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.bio-meta-dot {
  margin: 0 6px;
}

.bio-tags {
  justify-content: center;
  gap: 8px;
}

.bio-tags .tag-pill {
  font-size: 0.68rem;
  padding: 6px 12px;
}

.bio-article {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}

.bio-heading {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.35;
  color: var(--white);
  margin: 0 0 36px;
}

.bio-article h3 {
  font-family: 'PlayfairDisplayItalic';
  font-size: 1.15rem;
  color: var(--accent);
  margin: 34px 0 12px;
}

.bio-article h3:first-of-type {
  margin-top: 0;
}

.bio-article p {
  font-family: 'LORAREGULAR';
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(248, 246, 241, 0.7);
  margin: 0;
}

/* =========================================
   TIMELINE SECTION
   ========================================= */
.timeline-section {
  background: #212F3B;
  padding: 100px 0;
}

.timeline-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 50px;
}

.timeline {
  max-width: 820px;
  margin: auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
}

.timeline-year {
  flex: 0 0 64px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--accent);
  padding-top: 3px;
}

.timeline-dot-col {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  display: flex;
  justify-content: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(74, 143, 168, 0.15);
}

.timeline-dot-col::after {
  content: '';
  position: absolute;
  top: 18px;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(74, 143, 168, 0.25);
}

.timeline-item:last-child .timeline-dot-col::after {
  display: none;
}

.timeline-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 42px;
}

.timeline-content h3 {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  margin: 0 0 8px;
}

.timeline-content p {
  font-family: 'LoraRegular';
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(248, 246, 241, 0.65);
  margin: 0;
}

/* =========================================
   BOOK TRAILER SECTION
   ========================================= */
.trailer-section {
  background: var(--white);
  color: var(--primary);
  padding: 100px 0;
}

.trailer-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.trailer-subtext {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: rgba(26, 37, 48, 0.6);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.trailer-video-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(26, 37, 48, 0.25);
}

.trailer-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  padding-left: 5px;
}

.trailer-play-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.08);
}

.trailer-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* =========================================
   PRAISE SECTION
   ========================================= */
.praise-section {
  background: var(--secondary);
  color: var(--primary);
  padding: 100px 0;
}

.praise-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 56px;
}

.praise-row {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.praise-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  padding: 36px 30px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(26, 37, 48, 0.08);
  max-height: 320px;
  overflow: hidden;
  cursor: pointer;
  transform-origin: top center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), max-height 0.4s ease;
}

.praise-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(26, 37, 48, 0.14);
}

.praise-card.has-overflow:hover {
  max-height: 900px;
}

.stars {
  color: #E0A458;
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  flex: 0 0 auto;
}

.praise-quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 7em;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(26, 37, 48, 0.78);
  margin-bottom: 22px;
  transition: -webkit-line-clamp 0.1s;
}

.praise-card:hover .praise-quote {
  -webkit-line-clamp: unset;
  overflow: visible;
  min-height: 0;
}

.praise-author {
  flex: 0 0 auto;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--primary);
}

/* =========================================
   PRAISE SWIPER (Testimonials Carousel)
   ========================================= */
.praise-swiper {
  padding: 6px 6px 10px;
}

.praise-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.praise-swiper .praise-card {
  width: 100%;
}

.praise-swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}

.praise-nav-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 37, 48, 0.15);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.praise-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.praise-swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.praise-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(26, 37, 48, 0.25);
  opacity: 1;
  margin: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.praise-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* =========================================
   DISPATCHES SECTION
   ========================================= */
.dispatches-section {
  background: #1A2530;
  padding: 100px 0;
}

.dispatches-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 50px;
}

.dispatches-row {
  display: flex;
  gap: 26px;
}

.dispatch-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  padding: 30px 26px;
  transition: background var(--transition-base), transform var(--transition-base);
}

.dispatch-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.dispatch-card h3 {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
}

.dispatch-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.6);
  margin: 0;
}

/* =========================================
   CONTACT / ORDER SECTION
   ========================================= */
.contact-section {
  background: #212F3B;
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-subtext {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: rgba(248, 246, 241, 0.6);
  max-width: 560px;
  margin: 0 auto 50px;
  line-height: 1.75;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  text-align: left;
}

.form-row-2 {
  display: flex;
  gap: 22px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.required-mark {
  color: #e57373;
}

.optional-mark {
  color: rgba(248, 246, 241, 0.35);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.68rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(248, 246, 241, 0.55);
  margin-bottom: 8px;
}

.contact-form .form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(248, 246, 241, 0.35);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A8FA8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.contact-form select.form-control option {
  background: var(--primary);
  color: rgba(248, 246, 241, 0.35);
}

.contact-form .form-control::placeholder {
  color: rgba(248, 246, 241, 0.35);
}

#enquiryType {
  color: rgba(248, 246, 241, 0.35);
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form .form-control.is-invalid {
  border-color: #d9534f;
}

.invalid-feedback {
  display: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #e57373;
  margin-top: 6px;
}

.form-message {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 6px;
}

.form-message.success {
  background: rgba(74, 143, 168, 0.15);
  border: 1px solid rgba(74, 143, 168, 0.4);
  color: var(--accent);
}

.contact-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}

.contact-info-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.info-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.info-value,
.info-value a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #BCC1C4;
}

.info-value a:hover {
  color: #999b9c;
}

/* =========================================
   CONTACT INFO CARDS SECTION
   ========================================= */
.info-cards-section {
  background: #212F3B;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-cards-row {
  display: flex;
  gap: 24px;
}

.info-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 34px 26px;
  text-align: center;
  transition: transform var(--transition-base), background var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}

.info-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(74, 143, 168, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.info-card-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.info-card-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}

.info-card-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(248, 246, 241, 0.5);
}

/* =========================================
   CONTACT MAIN (FORM + SIDEBAR)
   ========================================= */
.contact-main-section {
  background: var(--primary);
  padding: 100px 0;
}

.contact-main-row {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.contact-form-col {
  flex: 1.6;
  min-width: 0;
}

.contact-form-heading {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 0 10px;
}

.contact-form-subtext {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(248, 246, 241, 0.55);
  margin: 0 0 28px;
  line-height: 1.7;
}

.contact-form-col .contact-form {
  margin: 0;
  max-width: none;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.contact-submit-row .contact-submit {
  width: auto;
  flex: 0 0 auto;
  padding: 14px 32px;
}

.contact-submit-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.4);
}

.contact-sidebar-col {
  flex: 1;
  min-width: 0;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 26px;
}

.sidebar-book-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.sidebar-book-thumb {
  flex: 0 0 56px;
  width: 56px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: block;
}

.sidebar-book-info {
  flex: 1;
  min-width: 140px;
}

.sidebar-book-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 4px;
}

.sidebar-book-meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(248, 246, 241, 0.5);
  margin: 0;
}

.sidebar-book-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.6);
  margin: 16px 0 14px;
  flex-basis: 100%;
}

.sidebar-book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-basis: 100%;
}

.sidebar-book-tags .tag-pill {
  font-size: 0.68rem;
  padding: 6px 12px;
}

.sidebar-card-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.sidebar-events-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.6);
  margin: 0 0 18px;
}

.sidebar-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-events-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: rgba(248, 246, 241, 0.75);
}

.sidebar-events-list .event-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 143, 168, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-note-card {
  background: rgba(74, 143, 168, 0.06);
  border-color: rgba(74, 143, 168, 0.25);
}

.sidebar-note-heading {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 12px;
}

.sidebar-note-card p {
  font-family: var(--font-body);
  font-size: 0.83rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.65);
  margin: 0;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  background: #212F3B;
  padding: 100px 0;
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 46px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(74, 143, 168, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  cursor: pointer;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 22px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(248, 246, 241, 0.6);
}

.faq-answer p {
  margin: 0;
}

/* =========================================
   QUOTE SECTION
   ========================================= */
.quote-section {
  background: var(--primary-dark);
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.quote-mark-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.quote-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(248, 246, 241, 0.9);
  max-width: 760px;
  margin: 26px auto;
}

.quote-author {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 26px;
}

/* =========================================
   ORDER / CONTACT MODAL
   ========================================= */
.order-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 36, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.order-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.order-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 44px 40px 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.06);
}

.order-modal::-webkit-scrollbar {
  width: 8px;
}

.order-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.order-modal::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

.order-modal::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

.order-modal-overlay.active .order-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.order-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 246, 241, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.order-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.order-modal-head {
  text-align: center;
  margin-bottom: 28px;
}

.order-modal-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 0 12px;
}

.order-modal-subtext {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.6);
  margin: 0;
}

.order-modal-form.contact-form {
  background: transparent;
  border: none;
  padding: 0;
  max-width: none;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================
   SITE FOOTER
   ========================================= */
.site-footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--accent);
  padding: 44px 0 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 26px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(248, 246, 241, 0.65);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(248, 246, 241, 0.35);
  letter-spacing: 0.02em;
  margin: 0;
}


/* THE BOOK Page Section */
.the-book-sec {
  background: #1A2530;
  /* color: var(--secondary); */
}

.the-book-heading {
  font-size: 2rem;
  color: white;
  line-height: 1.3;
  max-width: 60%;
  margin-bottom: 20px;
}

.book-subheading {
  font-size: 1.2rem;
  font-family: PlayFairDisplayItalic;
  color: var(--accent);
  max-width: 50%;
}

.the-book-content p {
  color: #A8ACB0;
}

/* =========================================
   INVERSE (DARK THEME) OVERRIDES
   ========================================= */

.book-quick-facts-inverse {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
  row-gap: 20px;
  border-top: none; /* Removes the top border from the original class */
  padding-top: 0;
}

.book-quick-facts-inverse .quick-fact-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Faint white line */
}

/* Ensure bottom borders stay consistent in the grid layout */
.book-quick-facts-inverse .quick-fact-row:last-child,
.book-quick-facts-inverse .quick-fact-row:nth-last-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
}

.book-quick-facts-inverse .quick-fact-label {
  color: rgba(255, 255, 255, 0.45); /* Muted slate/grey */
  text-align: left;
}

.book-quick-facts-inverse .quick-fact-value {
  color: rgba(255, 255, 255, 0.85); /* Off-white for high readability */
  text-align: left;
  line-height: 1.4;
}


/* =========================================
   ANIMATION UTILITIES
   ========================================= */
[data-aos] {
  will-change: transform, opacity;
}