
/* Responsive Media Reset */
img, picture, svg, video {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ==========================================================================
   FRJPHEATH.COM — PATH C: THE HYBRID PROTOTYPE
   Design System: Scandinavian Exhibition + Gutenberg Block Patterns
   Blends V2 Structural Simplicity with V3 Cinematic Storytelling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
  /* Archival Palette */
  --canvas: #FBF9F5;
  --canvas-alt: #F4EFEA;
  --canvas-card: #FFFFFF;
  --canvas-muted: #ECE6DE;
  --canvas-dark: #161A1D;
  --canvas-dark-card: #20262B;

  --ink: #191C1E;
  --ink-secondary: #4A5157;
  --ink-muted: #727B83;
  --ink-light: #FBF9F5;
  --ink-light-muted: #A3ADB6;

  --accent-terracotta: #A15942;
  --accent-slate: #2B4154;
  --accent-harbour: #79A3C2;

  --rule: #E5DFD6;
  --rule-dark: #2D353C;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography Scales */
  --text-title: clamp(2.4rem, 4.8vw, 4.2rem);
  --text-h2: clamp(1.8rem, 3.2vw, 2.6rem);
  --text-lead: clamp(1.12rem, 1.5vw, 1.35rem);
  --text-body: 1.05rem;
  --text-caption: 0.86rem;
  --text-archival: 0.76rem;

  --container-cinema: 1320px;
  --container-wide: 1200px;
  --container-reading: 720px;
  --container-pad-desktop: 2.5rem;
  --container-pad-tablet: 1.75rem;
  --container-pad-mobile: 1.25rem;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent-terracotta);
  outline-offset: 4px;
}

/* Persistent Header */
.hybrid-header, .v3-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid var(--rule);
  background-color: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
}

.hybrid-header.scrolled, .v3-header.scrolled {
  padding: 0.85rem 2.5rem;
}

.hybrid-header.dark-section {
  color: var(--ink-light);
}

.hybrid-header.dark-section.scrolled {
  background-color: rgba(22, 26, 29, 0.94);
  border-bottom-color: var(--rule-dark);
}

.brand-area {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-meta {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hybrid-header.dark-section .brand-meta {
  color: var(--ink-light-muted);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links-desktop a {
  position: relative;
  padding: 0.25rem 0;
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: inherit;
}

/* Mobile Navigation Drawer styles are defined in the Navigation section */

/* ==========================================================================
   PROLOGUE (OPENING VIEWPORT)
   ========================================================================== */
.hybrid-prologue {
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem 2.5rem 3rem 2.5rem;
  max-width: var(--container-cinema);
  margin: 0 auto;
}

.prologue-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
  margin: auto 0;
}

.prologue-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.prologue-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--accent-terracotta);
}

.prologue-name {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.prologue-name span {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.prologue-vocations {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.prologue-vocations span {
  color: var(--ink-muted);
}

.prologue-lead {
  font-family: var(--font-serif);
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 580px;
  border-left: 2px solid var(--rule);
  padding-left: 1.5rem;
}

.portrait-plinth {
  background-color: var(--canvas-alt);
  padding: 1rem;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-subtle);
}

.portrait-plinth img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.portrait-meta {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.prologue-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   THE 4 EDITORIAL ANCHORS
   ========================================================================== */
.editorial-anchor {
  padding: 7rem 2.5rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow-x: clip;
}

.anchor-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.anchor-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.anchor-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.anchor-lead {
  font-family: var(--font-serif);
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: var(--container-reading);
  margin-bottom: 3.5rem;
}

/* ANCHOR 1: ROOTS & CALLING */
.anchor-roots {
  background-color: var(--canvas);
}

.roots-calling-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.ordination-dates {
  display: flex;
  gap: 3rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.date-block-year {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}

.date-block-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ANCHOR 2: THE MARGINS & GLOBAL MINISTRY */
.anchor-margins-world {
  background-color: var(--canvas-alt);
}

.margins-banner {
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  padding: 3rem;
  margin-bottom: 4rem;
}

.year-2000-callout {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.world-interactive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.atlas-box {
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  padding: 2rem;
}

.atlas-svg-route {
  width: 100%;
  height: auto;
  stroke: var(--ink-muted);
  fill: none;
}

.atlas-arc-line {
  stroke: var(--accent-terracotta);
  stroke-dasharray: 4, 4;
  animation: routeDash 12s linear infinite;
}

@keyframes routeDash {
  to { stroke-dashoffset: -80; }
}

.media-gallery-card {
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  padding: 1rem;
}

.media-gallery-card picture img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.media-gallery-caption {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ANCHOR 3: BALTIC HARBOUR OF MALMÖ (MARITIME SLATE) */
.anchor-maritime {
  background-color: var(--canvas-dark);
  color: var(--ink-light);
  border-bottom-color: var(--rule-dark);
}

.anchor-maritime .anchor-eyebrow {
  color: var(--accent-harbour);
}

.anchor-maritime .anchor-lead {
  color: var(--ink-light-muted);
}

.maritime-deck-container {
  margin: 3rem 0;
  border: 1px solid var(--rule-dark);
  overflow: hidden;
}

.maritime-deck-container img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.seafarer-quote-box {
  background-color: var(--canvas-dark-card);
  border-left: 3px solid var(--accent-harbour);
  padding: 2.5rem;
  max-width: var(--container-reading);
  margin-top: -3.5rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.seafarer-quote-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.seafarer-quote-author {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
}

/* ANCHOR 4: THE SHARED TABLE & WRITING STRIP */
.anchor-table-writing {
  background-color: var(--canvas);
}

.abundance-quote-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 5rem auto;
}

.scripture-pill {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.scripture-monumental {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.table-narrative-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.writing-strip-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.writing-filter-buttons {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.pill-button {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--rule);
  background: var(--canvas);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.pill-button.active, .pill-button:hover {
  background: var(--ink);
  color: var(--ink-light);
  border-color: var(--ink);
}

.writing-featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.featured-article-card {
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card-topic-meta {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.75rem;
}

.card-title-link {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.card-excerpt-text {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-action-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.cta-center-row {
  text-align: center;
  margin-top: 2rem;
}

.btn-primary-archive {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background-color: var(--ink);
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary-archive:hover {
  background-color: var(--accent-terracotta);
  transform: translateY(-2px);
}

/* AUTHORED BOOKS (TWO VOLUMES) */
.books-section {
  background-color: var(--canvas-alt);
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.books-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.book-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  padding: 3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(30, 42, 56, 0.2);
}

.book-media-wrap {
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.book-media-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.book-media-caption {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-muted);
  padding: 0.6rem 0.8rem;
  background: #FAF8F5;
  border-top: 1px solid var(--rule);
  line-height: 1.4;
}

.book-card-body {
  display: flex;
  flex-direction: column;
}

.book-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem 0;
  font-weight: 500;
  color: var(--ink);
}

.book-subtitle {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.book-description {
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.book-quote-box {
  border-left: 2px solid var(--accent-terracotta);
  padding: 0.75rem 1.25rem;
  background: rgba(196, 92, 59, 0.04);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}

.book-quote-box cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-style: normal;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-amazon-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--ink);
  color: var(--canvas) !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-amazon-buy:hover {
  background-color: var(--accent-terracotta);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 92, 59, 0.25);
}

.btn-amazon-buy svg {
  stroke: currentColor;
}

.btn-amazon-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--ink-secondary) !important;
  border: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-amazon-preview:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
  background-color: rgba(30, 42, 56, 0.04);
}

.book-cover-link {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: #FFFFFF;
}

.book-cover-link img {
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}

.book-cover-link:hover img {
  transform: scale(1.025);
}

.book-meta-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* REVERENT COLOPHON */
.hybrid-colophon {
  background-color: var(--canvas-dark);
  color: var(--ink-light);
  padding: 5rem 2.5rem 3rem 2.5rem;
}

.colophon-container {
  max-width: var(--container-cinema);
  margin: 0 auto;
}

.colophon-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.colophon-columns h4 {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  margin-bottom: 1.5rem;
}

.colophon-columns ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.colophon-columns a {
  color: var(--ink-light);
}

.colophon-columns a:hover {
  color: var(--accent-harbour);
}

.colophon-endline {
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-light-muted);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .prologue-layout,
  .roots-calling-grid,
  .world-interactive-grid,
  .table-narrative-split,
  .book-card-grid,
  .book-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links-desktop {
    gap: 1.25rem;
    font-size: 0.75rem;
  }

  .writing-featured-strip {
    grid-template-columns: 1fr 1fr;
  }

  .colophon-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hybrid-header {
    padding: 1rem 1.5rem;
  }

  .nav-links-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hybrid-prologue {
    padding: 5.5rem 1.5rem 2rem 1.5rem;
  }

  .editorial-anchor {
    padding: 4.5rem 1.5rem;
  }

  .books-section {
    padding: 4rem 1.5rem;
  }

  .book-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .book-media-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .writing-featured-strip {
    grid-template-columns: 1fr;
  }

  .writing-strip-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ordination-dates {
    flex-direction: column;
    gap: 1.5rem;
  }
}

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

  .atlas-arc-line {
    animation: none !important;
  }

  .featured-article-card:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   08. EDITORIAL ARTICLE PAGE STYLES
   -------------------------------------------------------------------------- */
.article-masthead {
  padding: 10rem 2.5rem 4rem 2.5rem;
  max-width: var(--container-medium);
  margin: 0 auto;
  text-align: center;
}

.article-category-badge {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 1.5rem;
  display: inline-block;
  font-weight: 600;
}

.article-main-title {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.article-meta-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  margin-top: 2rem;
}

.article-body-layout {
  max-width: var(--container-reading);
  margin: 0 auto 6rem auto;
  padding: 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}

.article-body-layout p {
  margin-bottom: 1.75rem;
}

.article-body-layout p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.85rem;
  margin-top: 0.2rem;
  font-weight: 400;
  color: var(--accent-terracotta);
}

.editorial-pullquote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.4;
  margin: 3.5rem -3rem;
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-align: center;
}

.article-figure {
  margin: 3rem -2rem;
  border: 1px solid var(--rule);
  background-color: var(--canvas-alt);
  padding: 1rem;
}

.article-figure figcaption {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   09. EDITORIAL ARCHIVE / BIBLIOGRAPHY STYLES
   -------------------------------------------------------------------------- */
.archive-masthead {
  padding: 9rem 2.5rem 3rem 2.5rem;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.archive-search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.archive-search-input {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--rule);
  background-color: var(--canvas);
  color: var(--ink);
  width: 320px;
  border-radius: 2px;
}

.archive-search-input:focus {
  outline: 2px solid var(--accent-terracotta);
  border-color: transparent;
}

.archive-filter-tabs {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.archive-list-container {
  max-width: var(--container-wide);
  margin: 0 auto 6rem auto;
}

.archive-row-item {
  display: grid;
  grid-template-columns: 140px 1fr 180px 110px;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s ease;
}

.archive-row-item:hover {
  background-color: var(--canvas-alt);
}

.archive-date {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.archive-title-link {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.archive-topic-tag {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--accent-terracotta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-reading-time {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  text-align: right;
}



/* ==========================================================================
   THE THREE DOORS GATEWAY (FAITH · FACILITATION · FLAVOURS)
   ========================================================================== */
.three-doors-section {
  padding: 5rem 0;
}

.three-doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .three-doors-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.door-card {
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.door-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--ink-secondary);
}

.door-door-label {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
}

.door-name {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.door-descriptor {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.door-summary {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.door-action {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

/* Door Personality Nuances */
.door-card.faith {
  background-color: #FAF6F0;
  border-top: 3px solid var(--accent-terracotta);
}

.door-card.facilitation {
  background-color: #F0F4F8;
  border-top: 3px solid var(--accent-slate);
}

.door-card.flavours {
  background-color: #FAF4EE;
  border-top: 3px solid #C47B4A;
}

/* ==========================================================================
   THEMATIC HORIZONTAL SCROLL GALLERIES
   ========================================================================== */
.thematic-gallery-block {
  margin: 4.5rem 0;
  max-width: 100%;
  overflow: hidden;
}

.thematic-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.thematic-gallery-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}

.thematic-gallery-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
}

.thematic-scroll-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
}

.thematic-scroll-track::-webkit-scrollbar {
  height: 4px;
}

.thematic-scroll-track::-webkit-scrollbar-track {
  background: var(--rule);
}

.thematic-scroll-track::-webkit-scrollbar-thumb {
  background: var(--ink-muted);
}

.thematic-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 600px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .thematic-card {
    flex: 0 0 280px;
    padding: 1.5rem;
  }
}

.thematic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.thematic-card-theme {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.75rem;
}

.thematic-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.thematic-card-excerpt {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   ARTICLE PAGE: SERENDIPITY 3-PATHWAY RECOMMENDATION ENGINE
   ========================================================================== */
.serendipity-section {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--rule);
}

.serendipity-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.serendipity-tagline {
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.serendipity-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
}

.serendipity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .serendipity-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.serendipity-card {
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.serendipity-type-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.serendipity-card.unexpected {
  border-left: 3px solid #C47B4A;
  background-color: #FAF4EE;
}

/* ==========================================================================
   DISCOVERY APPROACHES COMPARISON & PROTOTYPE SWITCHER
   ========================================================================== */
.prototype-approach-bar {
  background-color: var(--canvas-dark);
  color: var(--ink-light);
  border-bottom: 1px solid var(--rule-dark);
  padding: 0.85rem 2rem;
  position: relative;
  z-index: 990;
}

.approach-bar-inner {
  max-width: var(--container-cinema);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.approach-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.approach-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.approach-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-light);
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.approach-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.approach-btn.active {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

@media (max-width: 768px) {
  .prototype-approach-bar {
    padding: 0.6rem 1rem;
  }
  .approach-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .approach-switcher {
    width: 100%;
    display: flex;
    gap: 0.35rem;
  }
  .approach-btn {
    flex: 1;
    text-align: center;
    padding: 0.4rem 0.3rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }
}


/* ==========================================================================
   APPROACH A: ASYMMETRIC EDITORIAL MAGAZINE GRID
   ========================================================================== */
.editorial-world-section {
  padding: 5rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.world-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
}

.world-title-lockup h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.world-title-descriptor {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
}

.asymmetric-mag-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.mag-lead-card {
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mag-lead-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 1px solid var(--rule);
}

.mag-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.mag-lead-excerpt {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
}

.mag-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mag-sub-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  padding: 2rem;
}

.mag-sub-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.mag-sub-excerpt {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.mag-triad-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.mag-compact-card {
  border-top: 2px solid var(--rule);
  padding-top: 1.5rem;
}

.mag-compact-card .topic-line {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.mag-compact-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ==========================================================================
   APPROACH B: LARGE HORIZONTAL VISUAL GALLERY
   ========================================================================== */
.gallery-world-wrapper {
  padding: 4.5rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.gallery-scroll-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: thin;
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px;
}

.gallery-full-card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.gallery-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .asymmetric-mag-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mag-triad-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-full-card {
    flex: 0 0 320px;
  }
}

/* ==========================================================================
   HOMEPAGE V3 — STORY FIRST, WRITING DISCOVERY SECOND
   ========================================================================== */

/* 1. Hero: JP As Main Subject */
.v3-hero-section {
  padding: clamp(3.5rem, 6vw, 6.5rem) 2.5rem clamp(3rem, 5vw, 5.5rem);
  max-width: var(--container-cinema);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.v3-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.v3-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.v3-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--accent-terracotta);
}

.v3-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.v3-hero-vocations {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-slate);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.v3-hero-vocations span.sep {
  color: var(--rule-dark);
  font-weight: 300;
}

.v3-hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.v3-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-hero-story {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background-color: var(--ink);
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-hero-story:hover {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-hero-writing {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-hero-writing:hover {
  border-color: var(--ink);
  background-color: var(--canvas-alt);
}

/* Authentic Portrait Plinth */
.v3-portrait-card {
  position: relative;
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  padding: 1rem;
  box-shadow: var(--shadow-lift);
}

.v3-portrait-img-frame {
  overflow: hidden;
  position: relative;
  background-color: var(--canvas-muted);
}

.v3-portrait-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v3-portrait-card:hover .v3-portrait-img-frame img {
  transform: scale(1.025);
}

.v3-portrait-caption {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 2. Visual Biographical Chapters */
.v3-story-section {
  padding: clamp(4rem, 7vw, 7rem) 2.5rem;
  background-color: var(--canvas);
}

.v3-story-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.v3-story-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3rem, 5vw, 5rem) auto;
}

.v3-story-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 0.85rem;
}

.v3-story-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.v3-story-header p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* Chapters Layout */
.v3-chapter {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.v3-chapter.reversed {
  grid-template-columns: 1fr 1fr;
}

.v3-chapter.reversed .v3-chapter-media {
  order: 1;
}

.v3-chapter.reversed .v3-chapter-content {
  order: 2;
}

.v3-chapter-num {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-slate);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}

.v3-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.v3-chapter-body p {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.v3-chapter-pullquote {
  border-left: 2px solid var(--accent-terracotta);
  padding-left: 1.5rem;
  margin: 1.75rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

.v3-chapter-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.v3-chapter-media-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  padding: 0.85rem;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.v3-chapter-media-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.v3-chapter-media-wrap {
  overflow: hidden;
  position: relative;
  background-color: var(--canvas-muted);
}

.v3-chapter-media-wrap img,
.v3-chapter-media-wrap video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v3-chapter-media-card:hover .v3-chapter-media-wrap img {
  transform: scale(1.025);
}

.v3-chapter-caption {
  padding-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-archival);
  color: var(--ink-muted);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* Narrative Bridge / Continue Story Box */
.v3-story-bridge {
  margin-top: 4rem;
  padding: 3rem 2.5rem;
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.v3-story-bridge-text h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.v3-story-bridge-text p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  max-width: 580px;
}

.btn-continue-story {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--ink);
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-continue-story:hover {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
  transform: translateX(3px);
}

/* 3. Transition into Writing */
.v3-writing-section {
  padding: clamp(4rem, 7vw, 7rem) 2.5rem clamp(3rem, 5vw, 5rem);
  background-color: var(--canvas-card);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.v3-writing-intro-block {
  max-width: var(--container-wide);
  margin: 0 auto clamp(2.5rem, 4vw, 4rem) auto;
  text-align: center;
}

.v3-writing-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.v3-writing-intro-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.v3-writing-intro-block p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

/* The Three Worlds Architecture Strip */
.v3-worlds-architecture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: var(--container-wide);
  margin: 0 auto clamp(3rem, 5vw, 4.5rem) auto;
}

.v3-world-pill-card {
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.v3-world-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--ink-muted);
}

.v3-world-pill-card .world-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.v3-world-pill-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.v3-world-pill-card .world-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-slate);
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.v3-world-pill-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* 4. Highly Visual Article Gallery & Magazine Lens */
.v3-gallery-lens-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--container-cinema);
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}

.v3-lens-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--canvas-alt);
  padding: 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
}

.v3-lens-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.v3-lens-btn:hover {
  color: var(--ink);
}

.v3-lens-btn.active {
  background-color: var(--ink);
  color: var(--ink-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.v3-serendipity-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background-color: var(--canvas);
  border: 1px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.v3-serendipity-trigger:hover {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
}

/* Gallery Scroll Track with Asymmetric Cards */
.v3-gallery-container {
  max-width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 2.5rem 2.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.v3-gallery-container::-webkit-scrollbar {
  height: 6px;
}

.v3-gallery-container::-webkit-scrollbar-thumb {
  background-color: var(--rule-dark);
  border-radius: 3px;
}

.v3-gallery-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
}

/* Asymmetric Tile Variations */
.v3-article-tile {
  background-color: var(--canvas);
  border: 1px solid var(--rule);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.v3-article-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--ink-secondary);
}

/* Sizing variations */
.v3-article-tile.tile-landscape {
  width: 440px;
}

.v3-article-tile.tile-portrait {
  width: 360px;
}

.v3-article-tile.tile-standard {
  width: 380px;
}

.v3-article-tile.tile-typo {
  width: 380px;
  background-color: var(--canvas-alt);
}

/* Image container with subtle 2-4% zoom on hover */
.v3-tile-img-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--canvas-muted);
}

.tile-landscape .v3-tile-img-box {
  height: 240px;
}

.tile-portrait .v3-tile-img-box {
  height: 300px;
}

.tile-standard .v3-tile-img-box {
  height: 220px;
}

.v3-tile-img-box img,
.v3-tile-img-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.v3-article-tile:hover .v3-tile-img-box img,
.v3-article-tile:hover .v3-tile-img-box video {
  transform: scale(1.035);
}

/* Typographic Tiles (For articles without legitimate photography) */
.v3-tile-typo-box {
  height: 220px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
}

.v3-tile-typo-box.bg-slate {
  background-color: #1B2B38;
}

.v3-tile-typo-box.bg-terracotta {
  background-color: #7D3E2B;
}

.v3-tile-typo-box.bg-peat {
  background-color: #262725;
}

.v3-tile-typo-quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Tile Body Content */
.v3-tile-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.v3-tile-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v3-tile-category {
  color: var(--accent-terracotta);
  font-weight: 600;
}

.v3-tile-date {
  color: var(--ink-muted);
}

.v3-tile-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.v3-tile-teaser {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.v3-tile-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.v3-article-tile:hover .v3-tile-link {
  color: var(--accent-terracotta);
  transform: translateX(4px);
}

/* Serendipity Highlight Pulse */
@keyframes serendipityPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(161, 89, 66, 0.7);
    border-color: var(--accent-terracotta);
    transform: translateY(-6px) scale(1.02);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(161, 89, 66, 0);
    border-color: var(--accent-terracotta);
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(161, 89, 66, 0);
    transform: translateY(0) scale(1);
  }
}

.v3-article-tile.serendipity-focus {
  animation: serendipityPulse 1.8s ease-out;
}

/* Toast message for Serendipity */
.v3-serendipity-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--ink);
  color: var(--ink-light);
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  border-left: 3px solid var(--accent-terracotta);
  box-shadow: var(--shadow-lift);
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.v3-serendipity-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Footer / Explore All Action */
.v3-gallery-action-area {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-explore-writing {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background-color: var(--ink);
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-explore-writing:hover {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .v3-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .v3-portrait-img-frame img {
    height: 460px;
    object-position: center top;
  }
  .v3-worlds-architecture {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .v3-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .v3-portrait-card {
    max-width: 440px;
    margin: 0 auto;
  }
  .v3-portrait-img-frame img {
    height: 480px;
    object-position: center top;
  }
  .v3-chapter, .v3-chapter.reversed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .v3-chapter.reversed .v3-chapter-media {
    order: 2;
  }
  .v3-chapter.reversed .v3-chapter-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .v3-hero-section, .v3-story-section, .v3-writing-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .v3-gallery-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .v3-gallery-lens-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .v3-lens-filters {
    width: 100%;
    overflow-x: auto;
  }
  .v3-article-tile.tile-landscape,
  .v3-article-tile.tile-portrait,
  .v3-article-tile.tile-standard,
  .v3-article-tile.tile-typo {
    width: 300px;
  }
  .v3-chapter-media-wrap img,
  .v3-chapter-media-wrap video {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-article-tile,
  .v3-portrait-card,
  .v3-chapter-media-wrap img,
  .v3-tile-img-box img,
  .btn-explore-writing,
  .btn-continue-story,
  .press-card,
  .press-card-img-wrap img {
    transition: none !important;
    transform: none !important;
  }
  .v3-article-tile.serendipity-focus {
    animation: none !important;
  }
}

/* ==========================================================================
   07. MASS MEDIA & PRESS COVERAGE SECTION
   ========================================================================== */
.mass-media-section {
  padding: 6rem 2.5rem;
  background-color: #F8F6F2;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 90px;
}

.mass-media-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mass-media-header {
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.mass-media-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.75rem;
}

.mass-media-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.mass-media-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.press-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 42, 56, 0.2);
}

.press-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--paper-warm);
}

.press-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.press-card:hover .press-card-img-wrap img {
  transform: scale(1.03);
}

.press-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.press-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.press-outlet-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  background: rgba(196, 92, 59, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.press-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.press-headline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.press-headline-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.press-excerpt {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  border-left: 2px solid var(--accent-terracotta);
  padding-left: 1rem;
  background: rgba(0, 0, 0, 0.015);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.press-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-harbour);
  text-decoration: none;
  transition: color 0.2s ease;
}

.press-link:hover {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

.press-meta-note {
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.press-meta-note-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.press-meta-note-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 800px;
}

}

/* ==========================================================================
   EDITORIAL REDESIGN 2026: STYLES FOR FR. JP HEATH LIVING LIBRARY
   ========================================================================== */

/* Reading Progress Indicator */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--accent-terracotta) 0%, #D48B68 100%);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease-out;
}

/* Base Utility Classes: Unified Coherent Container System */
.section-container,
.hero-container,
.story-chapters-timeline,
.passions-container,
.gallery-container,
.books-container,
.media-container,
.footer-container {
  max-width: var(--container-cinema);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad-desktop);
  padding-right: var(--container-pad-desktop);
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 1024px) {
  .section-container,
  .hero-container,
  .story-chapters-timeline,
  .passions-container,
  .gallery-container,
  .books-container,
  .media-container,
  .footer-container {
    padding-left: var(--container-pad-tablet) !important;
    padding-right: var(--container-pad-tablet) !important;
  }
}

@media (max-width: 767px) {
  .section-container,
  .hero-container,
  .story-chapters-timeline,
  .passions-container,
  .gallery-container,
  .books-container,
  .media-container,
  .footer-container {
    padding-left: var(--container-pad-mobile) !important;
    padding-right: var(--container-pad-mobile) !important;
  }
}

.editorial-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.85rem;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.editorial-subtitle {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   01. CINEMATIC HERO
   -------------------------------------------------------------------------- */
/* ==========================================================================
   02. CINEMATIC FULLSCREEN HERO (OVERLAID TEXT)
   ========================================================================== */
.cinematic-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 5rem 0 5.5rem 0;
  background-color: #0b0f14;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 25%;
  filter: saturate(1.06) brightness(0.92);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, 
      rgba(11, 15, 20, 0.94) 0%, 
      rgba(11, 15, 20, 0.85) 45%, 
      rgba(11, 15, 20, 0.40) 78%, 
      rgba(11, 15, 20, 0.70) 100%),
    linear-gradient(180deg, 
      rgba(11, 15, 20, 0.75) 0%, 
      rgba(11, 15, 20, 0.20) 40%, 
      rgba(11, 15, 20, 0.86) 85%, 
      rgba(11, 15, 20, 0.98) 100%);
  pointer-events: none;
}

.hero-container {
  max-width: var(--container-cinema);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-narrative {
  display: flex;
  flex-direction: column;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #F8D5C2;
  background: rgba(232, 154, 108, 0.16);
  border: 1px solid rgba(232, 154, 108, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F5A97F;
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.2vw, 5.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero-tagline-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: #F5A97F;
  font-weight: 400;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-verse-cite {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
}

.hero-vocations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-vocations .sep {
  color: #F5A97F;
  font-size: 0.7rem;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.45vw, 1.32rem);
  line-height: 1.76;
  color: #F7F5F0;
  margin-bottom: 2.5rem;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #C46D3B;
  color: #FFFFFF;
  padding: 0.95rem 1.85rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(196, 109, 59, 0.4);
}

.btn-primary-hero:hover {
  background-color: #D67E4A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 109, 59, 0.55);
  color: #FFFFFF;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 0.95rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-secondary-hero:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.22);
}

.hero-photo-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(13, 18, 24, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 0.95rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hero-photo-credit .credit-dot {
  color: #F5A97F;
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   02. SCROLL-DRIVEN 8-CHAPTER STORY
   -------------------------------------------------------------------------- */
.scroll-story-section {
  padding: 6.5rem 0 6rem 0;
  background-color: var(--canvas);
}

.story-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  padding: 0 1.5rem;
}

.story-chapters-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.narrative-chapter {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--canvas-card, #FFFFFF);
  border: 1px solid var(--rule, #E5DFD6);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.narrative-chapter:hover {
  border-color: rgba(161, 89, 66, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.narrative-chapter.is-open {
  border-color: var(--accent-terracotta, #A15942);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
}

.chapter-number-tag {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.chapter-index {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
}

.chapter-era {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.chapter-text {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.76;
  color: var(--ink-secondary);
}

.chapter-footnote {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footnote-pin {
  color: var(--accent-terracotta);
  font-size: 1rem;
}

.chapter-media-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--rule);
  background-color: var(--canvas-card);
}

.chapter-media-card.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.media-caption {
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-muted);
  background-color: var(--canvas-alt);
  border-top: 1px solid var(--rule);
}

.chapter-media-card.desert-card {
  background: linear-gradient(135deg, #F9F4EB 0%, #EDE1CE 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.quote-plaque {
  text-align: center;
  max-width: 480px;
}

.quote-plaque.slate-plaque {
  background: linear-gradient(135deg, #1E2830 0%, #151D24 100%);
  padding: 3.5rem 2.5rem;
  color: #FFFFFF;
}

.quote-plaque.slate-plaque .plaque-eyebrow {
  color: var(--accent-harbour);
}

.quote-plaque.slate-plaque blockquote {
  color: #FFFFFF;
}

.quote-plaque.slate-plaque .plaque-author {
  color: var(--ink-light-muted);
}

.plaque-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-terracotta);
  margin-bottom: 1.25rem;
}

.quote-plaque blockquote {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.38;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.plaque-author {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.dual-media-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--canvas-alt);
}

.dual-media-card .media-half {
  position: relative;
  overflow: hidden;
}

.dual-media-card .media-half img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.mini-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.85rem;
  background: rgba(22, 26, 29, 0.82);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.74rem;
}

.story-bridge-banner {
  margin-top: 6rem;
  background: linear-gradient(135deg, var(--canvas-alt) 0%, #E8DFD3 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2.75rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

.bridge-text h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.bridge-text p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-secondary);
}

.btn-bridge-about {
  display: inline-flex;
  align-items: center;
  background-color: var(--ink);
  color: #FFFFFF;
  padding: 0.85rem 1.65rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-bridge-about:hover {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   03. THREE PASSIONS: LARGE VISUAL EDITORIAL GATEWAYS
   -------------------------------------------------------------------------- */
.passions-section {
  padding: 6.5rem 0 6rem 0;
  background-color: #FAF6F0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.passions-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4.5rem auto;
}

.passions-gateways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.passion-gateway-card {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.75rem 2.25rem;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.passion-gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
}

.gateway-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gateway-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.passion-gateway-card:hover .gateway-bg-media img {
  transform: scale(1.05);
}

.gateway-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.25) 0%, rgba(16, 20, 24, 0.88) 60%, rgba(14, 17, 20, 0.96) 100%);
}

.gateway-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.gateway-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.gateway-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.badge-faith {
  background-color: #8C4E38;
  color: #FFFFFF;
}

.badge-facilitation {
  background-color: #2F4D62;
  color: #FFFFFF;
}

.badge-flavours {
  background-color: #B26A3A;
  color: #FFFFFF;
}

.gateway-count {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.05em;
}

.gateway-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.gateway-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #E2DDD5;
  margin-bottom: 1.15rem;
}

.gateway-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.btn-gateway-explore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gateway-explore:hover {
  background-color: #FFFFFF;
  color: var(--ink);
  border-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   04. EVERGREEN DISCOVERY
   -------------------------------------------------------------------------- */
.evergreen-discovery-section {
  padding: 6rem 0 5.5rem 0;
  background-color: var(--canvas);
  border-bottom: 1px solid var(--rule);
}

.evergreen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.evergreen-lead {
  max-width: 520px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.evergreen-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}

.evergreen-lead-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.evergreen-lead-card .card-tag {
  padding: 0.75rem 1.5rem;
  background-color: var(--canvas-alt);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  border-bottom: 1px solid var(--rule);
}

.lead-card-media {
  height: 280px;
  overflow: hidden;
}

.lead-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.evergreen-lead-card:hover .lead-card-media img {
  transform: scale(1.03);
}

.lead-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.lead-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}

.lead-title a:hover {
  color: var(--accent-terracotta);
}

.lead-excerpt {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.btn-read-story {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  letter-spacing: 0.04em;
}

.btn-read-story:hover {
  text-decoration: underline;
}

.evergreen-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack-heading {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.stack-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.stack-card-link {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  text-decoration: none;
}

.stack-thumb {
  width: 88px;
  height: 88px;
  overflow: hidden;
}

.stack-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-body {
  padding: 0.85rem 1.15rem;
}

.stack-topic {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.stack-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.stack-text {
  font-family: var(--font-serif);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evergreen-curated-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.curated-mini-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.4rem;
  transition: border-color 0.2s ease;
}

.curated-mini-card:hover {
  border-color: var(--accent-terracotta);
}

.curated-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.curated-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 0.65rem;
}

.curated-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.curated-text {
  font-family: var(--font-serif);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: 0.85rem;
}

.curated-arrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-terracotta);
}

/* --------------------------------------------------------------------------
   05. STORY DISCOVERY GALLERY (MASONRY & REAL-TIME SEARCH)
   -------------------------------------------------------------------------- */
.story-discovery-section {
  padding: 6.5rem 0 6rem 0;
  background-color: #F8F5F0;
  border-bottom: 1px solid var(--rule);
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.btn-serendipity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--canvas-card);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
  white-space: nowrap;
}

.btn-serendipity:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  transform: translateY(-2px);
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.75rem;
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.filter-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background-color: var(--canvas);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

.filter-pill.active {
  background-color: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.pill-count {
  font-size: 0.74rem;
  opacity: 0.85;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.filter-pill:not(.active) .pill-count {
  background-color: rgba(0, 0, 0, 0.08);
}

.search-and-view-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.view-mode-toggle {
  display: flex;
  align-items: center;
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.2rem;
  flex-shrink: 0;
}

.btn-view-mode {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-mode svg {
  flex-shrink: 0;
}

.btn-view-mode:hover {
  color: var(--ink);
}

.btn-view-mode.active {
  background-color: var(--canvas-card);
  color: var(--accent-slate);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 300px;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--ink-muted);
  pointer-events: none;
}

#gallery-search-input {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 2.6rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background-color: var(--canvas);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#gallery-search-input:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(161, 89, 66, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

.search-clear-btn:hover {
  color: var(--ink);
}

.gallery-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.active-filter-tag {
  font-weight: 600;
  color: var(--accent-terracotta);
}

.serendipity-toast {
  display: none;
  padding: 0.85rem 1.5rem;
  background-color: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lift);
}

.serendipity-toast.visible {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   EDITORIAL MASONRY GRID
   -------------------------------------------------------------------------- */
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.gallery-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.gallery-card.serendipity-highlight {
  outline: 3px solid var(--accent-terracotta);
  outline-offset: 4px;
  animation: pulse-card 1.5s infinite alternate ease-in-out;
}

@keyframes pulse-card {
  from { transform: translateY(-4px) scale(1); }
  to { transform: translateY(-4px) scale(1.02); }
}

.gallery-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.gallery-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--canvas-alt);
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gallery-card-read-time {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(22, 26, 29, 0.78);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.gallery-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gallery-card-meta .sep {
  color: var(--rule);
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.gallery-card:hover .gallery-card-title {
  color: var(--accent-terracotta);
}

.gallery-card-excerpt {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.gallery-card-footer {
  border-top: 1px solid var(--rule);
  padding-top: 0.85rem;
}

.gallery-read-prompt {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.gallery-card:hover .gallery-read-prompt {
  gap: 0.6rem;
}

/* Card Variations */
.card--featured {
  grid-column: span 2;
}

.card--featured .gallery-card-media {
  height: 320px;
}

.card--featured .gallery-card-title {
  font-size: 1.95rem;
}

.card--quote {
  background-color: #FAF5EE;
  border-left: 4px solid var(--accent-terracotta);
}

.card--compact .gallery-card-media {
  height: 180px;
}

.gallery-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background-color: var(--canvas-card);
  border: 1px dashed var(--rule);
  border-radius: 8px;
  max-width: 600px;
  margin: 3rem auto;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.empty-desc {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink-secondary);
  margin-bottom: 1.75rem;
}

.btn-reset-search {
  padding: 0.75rem 1.65rem;
  background-color: var(--ink);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-reset-search:hover {
  background-color: var(--accent-terracotta);
}

/* --------------------------------------------------------------------------
   COMPACT TABLE-OF-CONTENTS / INDEX MODE
   -------------------------------------------------------------------------- */
.gallery-masonry-grid.gallery--compact-index {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card {
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
  grid-column: span 1 !important;
  width: 100% !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card.card--quote {
  background-color: transparent !important;
  border-left: none !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card:last-child {
  border-bottom: none !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.4rem !important;
  gap: 1.5rem !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card:hover .gallery-card-inner {
  background-color: var(--canvas-alt);
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-media,
.gallery-masonry-grid.gallery--compact-index .gallery-card-excerpt {
  display: none !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 1.5rem !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-meta {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-width: 220px !important;
  flex-shrink: 0 !important;
  text-align: left !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-title {
  font-family: var(--font-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  color: var(--ink) !important;
  text-align: left !important;
  transition: color 0.2s ease !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card:hover .gallery-card-title {
  color: var(--accent-terracotta) !important;
}

.gallery-masonry-grid.gallery--compact-index .gallery-card-footer {
  border-top: none !important;
  padding-top: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* --------------------------------------------------------------------------
   GALLERY PROGRESSIVE REVEAL & PAGINATION FOOTER
   -------------------------------------------------------------------------- */
.gallery-pagination-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.gallery-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
}

.gallery-progress-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.gallery-progress-bar-track {
  width: 100%;
  height: 4px;
  background-color: var(--rule);
  border-radius: 999px;
  overflow: hidden;
}

.gallery-progress-bar-fill {
  height: 100%;
  background-color: var(--accent-terracotta);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-gallery-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-load-more {
  background-color: var(--accent-slate);
  color: #FFFFFF;
  border: 1px solid var(--accent-slate);
  box-shadow: var(--shadow-subtle);
}

.btn-load-more:hover {
  background-color: #1F303F;
  border-color: #1F303F;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn-show-all {
  background-color: var(--canvas-card);
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-show-all:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  transform: translateY(-1px);
}

.btn-collapse {
  background-color: transparent;
  color: var(--ink-secondary);
  border: 1px dashed var(--rule);
}

.btn-collapse:hover {
  background-color: var(--canvas-alt);
  color: var(--ink);
  border-color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   06. JP'S WORLD: INTERACTIVE MAP & TIMELINE
   -------------------------------------------------------------------------- */
.world-map-section {
  padding: 6.5rem 0 6rem 0;
  background-color: #F6F1EA;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 5rem;
}

.world-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.world-interactive-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.map-viewport-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.location-details-column {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.svg-map-wrapper {
  background-color: #F8F4EE;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  padding: 0.5rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.interactive-world-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  background-color: #F8F4EE;
  border-radius: 6px;
}

/* Base Robinson Water & Land styling */
.interactive-world-svg .water {
  fill: #F8F4EE !important;
  stroke: none !important;
}

.interactive-world-svg .country path {
  fill: #E5DED4;
  stroke: #D6CDC1;
  stroke-width: 0.2;
  transition: fill 0.35s ease, stroke 0.35s ease;
}

.interactive-world-svg .country circle {
  display: none !important;
}

/* Subtle Country Highlight on Location Selection */
.interactive-world-svg .country g.active-country path {
  fill: #D4C3B0 !important;
  stroke: #B8A896 !important;
  stroke-width: 0.3;
}

/* Journey Arcs (curved lines connecting JP's life journey) */
.journey-arc {
  fill: none;
  stroke: #A15942;
  stroke-width: 0.75;
  stroke-linecap: round;
  opacity: 0.6;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.arc-ct-nam { transition-delay: 0.1s; }
.arc-ct-jhb { transition-delay: 0.3s; }
.arc-jhb-gen { transition-delay: 0.5s; }
.arc-gen-man { transition-delay: 0.7s; }
.arc-gen-mal { transition-delay: 0.9s; }

.world-map-section.in-view .journey-arc {
  stroke-dashoffset: 0;
  opacity: 0.65;
}

/* Interactive Map Markers */
.map-node {
  cursor: pointer;
  outline: none;
}

.node-hit-area {
  fill: transparent;
  cursor: pointer;
}

.node-ring {
  fill: rgba(161, 89, 66, 0.18);
  stroke: #A15942;
  stroke-width: 0.4;
  transition: r 0.25s ease, fill 0.25s ease, stroke-width 0.25s ease;
}

.node-dot {
  fill: #A15942;
  stroke: #FFFFFF;
  stroke-width: 0.45;
  transition: r 0.25s ease, fill 0.25s ease, stroke-width 0.25s ease;
}

/* Marker Hover States */
.map-node:hover .node-ring {
  fill: rgba(161, 89, 66, 0.3);
  stroke: #874632;
  stroke-width: 0.55;
  r: 4.4;
}

.map-node:hover .node-dot {
  fill: #874632;
  r: 1.6;
}

/* Marker Active State */
.map-node.active .node-ring {
  fill: rgba(161, 89, 66, 0.25);
  stroke: #A15942;
  stroke-width: 0.6;
  r: 4.8;
  animation: map-node-pulse 2.2s infinite ease-in-out;
}

.map-node.active .node-dot {
  fill: #A15942;
  stroke: #FFFFFF;
  stroke-width: 0.6;
  r: 1.8;
}

@keyframes map-node-pulse {
  0%, 100% {
    opacity: 0.6;
    r: 4.2;
  }
  50% {
    opacity: 1;
    r: 5.6;
  }
}

/* Marker Tooltip */
.node-tooltip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(1px);
}

.map-node:hover .node-tooltip,
.map-node.active .node-tooltip,
.map-node:focus-visible .node-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.node-tooltip-bg {
  fill: #191C1E;
  stroke: #C47B4A;
  stroke-width: 0.3;
}

.node-tooltip-text {
  fill: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 3.2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Location Selector Pills Row */
.location-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.loc-pill {
  padding: 0.5rem 1.1rem;
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.loc-pill:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  transform: translateY(-1px);
}

.loc-pill.active {
  background-color: var(--accent-slate);
  color: #FFFFFF;
  border-color: var(--accent-slate);
  box-shadow: var(--shadow-subtle);
}

/* Location Details Card with Crossfade */
.location-card {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.location-card.is-transitioning {
  opacity: 0;
  transform: translateY(4px);
}

.loc-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.loc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.loc-card-media:hover img {
  transform: scale(1.03);
}

.loc-era-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(22, 26, 29, 0.88);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
}

.loc-card-body {
  padding: 2rem;
}

.loc-country-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  display: block;
  margin-bottom: 0.6rem;
}

.loc-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.loc-desc {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

.loc-stories-wrap {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

.loc-stories-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.loc-stories-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.loc-story-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.loc-story-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: rgba(25, 28, 30, 0.02);
  border: 1px solid rgba(25, 28, 30, 0.07);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.loc-story-link:hover,
.loc-story-link:focus-visible {
  background: rgba(161, 89, 66, 0.06);
  border-color: rgba(161, 89, 66, 0.28);
  transform: translateX(3px);
  text-decoration: none;
}

.loc-story-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.loc-story-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s ease;
}

.loc-story-link:hover .loc-story-title {
  color: var(--accent-terracotta);
}

.loc-story-meta {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.loc-story-topic {
  color: var(--accent-terracotta);
  font-weight: 600;
}

.loc-story-arrow {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--accent-terracotta);
  transition: transform 0.2s ease, color 0.2s ease;
}

.loc-story-link:hover .loc-story-arrow {
  transform: translateX(2px);
  color: var(--accent-ochre, #874632);
}

.loc-archive-action-item {
  margin-top: 0.6rem;
  list-style: none;
  padding: 0;
}

.loc-explore-archive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-terracotta);
  background: rgba(161, 89, 66, 0.07);
  border: 1px solid rgba(161, 89, 66, 0.22);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-explore-archive-btn:hover,
.loc-explore-archive-btn:focus-visible {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-terracotta);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(161, 89, 66, 0.25);
}

.loc-explore-archive-btn svg {
  transition: transform 0.2s ease;
}

.loc-explore-archive-btn:hover svg {
  transform: translateY(2px);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .journey-arc {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .map-node.active .node-ring {
    animation: none !important;
  }
  .location-card {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   07. PUBLICATIONS & PRESS
   -------------------------------------------------------------------------- */
.books-section {
  padding: 6.5rem 0 6rem 0;
  background-color: var(--canvas);
  border-bottom: 1px solid var(--rule);
}

.books-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem auto;
}

.books-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.book-card-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2.25rem;
  box-shadow: var(--shadow-subtle);
}

.book-cover-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-cover-frame img {
  width: 100%;
  max-width: 180px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.book-cover-frame:hover img {
  transform: scale(1.03);
}

.book-cover-caption {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.85rem;
  text-align: center;
}

.book-info {
  display: flex;
  flex-direction: column;
}

.book-category-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

.book-item-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.book-item-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
}

.book-item-desc {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.book-endorsement {
  border-left: 2px solid var(--accent-terracotta);
  padding-left: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.book-endorsement cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}

.book-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: auto;
}

.btn-amazon-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  background-color: #191C1E;
  color: #FFFFFF;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-amazon-primary:hover {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
}

.btn-amazon-preview {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  text-decoration: underline;
}

.btn-amazon-preview:hover {
  color: var(--accent-terracotta);
}

.press-section {
  padding: 6.5rem 0 6rem 0;
  background-color: #F8F5F0;
  border-bottom: 1px solid var(--rule);
}

.press-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem auto;
}

.press-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.press-item {
  background-color: var(--canvas-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.press-img-wrap {
  height: 200px;
  overflow: hidden;
}

.press-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.press-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.press-badge {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
}

.press-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.press-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.press-quote {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  border-left: 2px solid var(--rule);
  padding-left: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.press-external-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.press-external-link:hover {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

.press-citation-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3.5rem;
  padding: 1.5rem;
  background-color: var(--canvas-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.press-citation-note svg {
  flex-shrink: 0;
  color: var(--accent-terracotta);
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   08. REVERENT COLOPHON
   -------------------------------------------------------------------------- */
.editorial-colophon {
  background-color: #161A1D;
  color: #FFFFFF;
  padding: 6rem 0 3.5rem 0;
}

.colophon-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.colophon-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.colophon-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-harbour);
  margin-bottom: 1.25rem;
}

.colophon-summary {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.colophon-nav-col h4, .colophon-contact-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.colophon-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.colophon-nav-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.colophon-nav-col ul li a:hover {
  color: var(--accent-harbour);
}

.colophon-contact-col p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.colophon-email {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--accent-harbour);
  text-decoration: underline;
  margin-bottom: 1.5rem;
}

.colophon-location {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.colophon-bottom-bar {
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   09. RESPONSIVE BREAKPOINTS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-portrait-column {
    justify-content: flex-start;
  }
  .hero-portrait-frame {
    max-width: 480px;
  }
  .passions-gateways-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .passion-gateway-card {
    min-height: 420px;
  }
  .evergreen-grid {
    grid-template-columns: 1fr;
  }
  .world-interactive-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .map-viewport-column,
  .location-details-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .svg-map-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0.35rem !important;
    border-radius: 8px !important;
  }
  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .books-duo-grid {
    grid-template-columns: 1fr;
  }
  .colophon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .btn-serendipity {
    align-self: flex-start;
  }
  .hybrid-header {
    padding: 0.85rem 1.5rem;
  }
  .nav-links-desktop {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .cinematic-hero {
    padding: 3rem 0;
  }
  .story-bridge-banner {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .gallery-masonry-grid {
    grid-template-columns: 1fr;
  }
  .card--featured {
    grid-column: span 1;
  }
  .card--featured .gallery-card-media {
    height: 220px;
  }
  .gallery-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
  }
  .search-and-view-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .view-mode-toggle {
    align-self: flex-start;
  }
  .search-input-wrap {
    min-width: 100%;
  }
  .gallery-masonry-grid.gallery--compact-index .gallery-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }
  .gallery-masonry-grid.gallery--compact-index .gallery-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .gallery-masonry-grid.gallery--compact-index .gallery-card-meta {
    min-width: unset;
  }
  .book-card-item {
    grid-template-columns: 1fr;
  }
  .book-cover-frame {
    align-items: flex-start;
  }
  .press-cards-grid {
    grid-template-columns: 1fr;
  }
  .colophon-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .colophon-bottom-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .world-map-section {
    padding: 4.5rem 0 4rem 0;
  }
  .svg-map-wrapper {
    padding: 0.25rem;
  }
  .location-pills-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.25rem 0.5rem 0.75rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
  }
  .loc-pill {
    flex-shrink: 0;
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }
  .loc-card-media {
    height: 200px;
  }
  .loc-card-body {
    padding: 1.35rem 1.25rem;
  }
  .loc-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }
  .loc-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

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






/* ==========================================================================
   GLOBAL ACCESSIBILITY, CONTAINER, HEADER & FOOTER FOUNDATION
   ========================================================================== */

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: -999px;
  background: var(--ink, #191C1E);
  color: #FFFFFF !important;
  padding: 0.75rem 1.25rem;
  z-index: 99999;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.skip-link:focus {
  top: 0;
  left: 1.5rem;
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--container-cinema, 1360px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 42px;
  line-height: 1;
}
.btn-primary {
  background-color: var(--accent-slate, #2B4154);
  color: #FFFFFF !important;
}
.btn-primary:hover {
  background-color: var(--accent-terracotta, #A15942);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: transparent;
  color: var(--ink, #191C1E);
  border-color: var(--rule, #E5DFD6);
}
.btn-secondary:hover {
  background-color: var(--canvas-alt, #F4EFEA);
  border-color: var(--accent-terracotta, #A15942);
}

/* Global Navigation Header */
.site-header {
  background-color: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule, #E5DFD6);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule, #E5DFD6);
  background-color: #FFFFFF;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink, #191C1E);
  line-height: 1.2;
}
.brand-tagline {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.75rem;
  color: var(--ink-muted, #727B83);
  letter-spacing: 0.02em;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-secondary, #4A5157);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--accent-terracotta, #A15942);
  background-color: rgba(161, 89, 66, 0.06);
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule, #E5DFD6);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle-icon {
  width: 24px;
  height: 24px;
  stroke: var(--ink, #191C1E);
}


/* Global Footer */
.site-footer {
  background-color: #161A1D;
  color: #D3DBE6;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
  border-top: 1px solid #2D353C;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand-name {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: #A0AEC0;
  line-height: 1.65;
  max-width: 36ch;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-terracotta, #A15942);
  margin-bottom: 1.25rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: #CBD5E0;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #A0AEC0;
}

/* Article / Long-Form Single Post Styles */
.article-page {
  padding: 4rem 0 6rem 0;
  background-color: var(--canvas, #FBF9F5);
}
.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}
.article-breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-muted, #727B83);
  margin-bottom: 1.25rem;
}
.article-breadcrumb a {
  color: var(--accent-terracotta, #A15942);
}
.article-page-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--ink, #191C1E);
  margin-bottom: 1.25rem;
}
.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-secondary, #4A5157);
}
.article-hero-media {
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.article-body-content {
  font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink, #191C1E);
  margin: 0 auto;
}
.reading-measure {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.article-body-content p {
  margin-bottom: 1.75rem;
}
.article-body-content h2 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--ink, #191C1E);
}
.article-body-content blockquote {
  border-left: 3px solid var(--accent-terracotta, #A15942);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-secondary, #4A5157);
}
.article-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule, #E5DFD6);
}
.article-tags-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag-pill {
  font-size: 0.8rem;
  font-family: var(--font-sans, 'Inter', sans-serif);
  background-color: #F4EFEA;
  border: 1px solid var(--rule, #E5DFD6);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  color: var(--ink-secondary, #4A5157);
  text-decoration: none;
  transition: all 0.2s ease;
}
.tag-pill:hover {
  background-color: #A15942;
  color: #FFFFFF;
  border-color: #A15942;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 960px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 600px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .brand-tagline {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}


/* ==========================================================================
   FR. JP HEATH — 2026 EDITORIAL SIMPLIFICATION & MOBILE REFINEMENTS
   Progressive disclosure, calm typography, and responsive information architecture
   ========================================================================== */

/* 1. Mobile Header & Clean Pattern: FR. JP HEATH + Hamburger */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule, #E5DFD6);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule, #E5DFD6);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-toggle:hover, .mobile-toggle.is-active {
  background-color: rgba(161, 89, 66, 0.08);
  border-color: var(--accent-terracotta, #A15942);
}

.mobile-toggle-icon {
  width: 22px;
  height: 22px;
  stroke: var(--ink, #191C1E);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0 !important;
  background-color: #FBF9F5 !important;
  padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  z-index: 99999 !important;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open, .mobile-drawer.open {
  display: flex !important;
  animation: drawerSlideDown 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule, #E5DFD6);
}

.mobile-drawer-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted, #727B83);
}

.close-drawer {
  background: none;
  border: 1px solid var(--rule, #E5DFD6);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink, #191C1E);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink, #191C1E);
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(229, 223, 214, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--accent-terracotta, #A15942);
  padding-left: 0.85rem;
}

.mobile-nav-connect {
  color: var(--accent-terracotta, #A15942);
  font-weight: 600;
  margin-top: 0.5rem;
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   02. VISUAL CHAPTER CARDS SYSTEM (THE JOURNEY OF A LIFE)
   Collapsible editorial rectangular cards across desktop, tablet, and phone.
   -------------------------------------------------------------------------- */
.narrative-chapter {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--canvas-card, #FFFFFF);
  border: 1px solid var(--rule, #E5DFD6);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.narrative-chapter:hover {
  border-color: rgba(161, 89, 66, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.narrative-chapter.is-open {
  border-color: var(--accent-terracotta, #A15942);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
}

/* Wide Editorial Rectangle Header Card (Desktop & Tablet) */
.chapter-accordion-header {
  display: flex;
  align-items: stretch;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  min-height: 136px;
  outline: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.chapter-accordion-header:focus-visible {
  outline: 2px solid var(--accent-terracotta, #A15942);
  outline-offset: -2px;
}

.chapter-card-preview-media {
  flex: 0 0 34%;
  max-width: 360px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  background-color: #EDE8E1;
}

.chapter-card-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-chapter:hover .chapter-card-preview-media img {
  transform: scale(1.035);
}

.chapter-card-preview-info {
  flex: 1 1 auto;
  padding: 1.35rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.chapter-accordion-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.chapter-accordion-num {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-terracotta, #A15942);
}

.chapter-accordion-tag {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted, #727B83);
}

.chapter-accordion-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink, #191C1E);
  margin: 0;
}

.chapter-card-teaser {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-secondary, #444C52);
  margin: 0.4rem 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chapter-card-affordance {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 2rem;
  padding-left: 1rem;
}

.chapter-expand-text {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-terracotta, #A15942);
  transition: color 0.2s ease;
}

.narrative-chapter.is-open .chapter-expand-text {
  color: var(--ink-muted, #727B83);
}

.chapter-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule, #E5DFD6);
  background-color: var(--canvas, #FAF8F5);
  font-family: var(--font-sans, sans-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent-terracotta, #A15942);
  transition: all 0.25s ease;
}

.narrative-chapter.is-open .chapter-accordion-icon {
  background-color: var(--accent-terracotta, #A15942);
  border-color: var(--accent-terracotta, #A15942);
  color: #FFFFFF;
}

/* Expanded Narrative Content Body */
.chapter-accordion-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.narrative-chapter.is-open .chapter-accordion-body {
  max-height: 3500px;
  opacity: 1;
  pointer-events: auto;
  border-top: 1px solid var(--rule, #E5DFD6);
  padding: 2.5rem 2.25rem;
  background-color: var(--canvas-alt, #FAF7F2);
}

.chapter-grid-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.chapter-content {
  display: flex;
  flex-direction: column;
}

.desktop-only {
  display: none !important; /* Header card already provides chapter tags and titles */
}

.chapter-text {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  line-height: 1.76;
  color: var(--ink-secondary);
}

.chapter-footnote {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chapter-media {
  position: relative;
}

.chapter-media-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--rule);
  background-color: var(--canvas-card);
}

.chapter-media-card.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Mobile Responsive Accordion Overrides (< 768px) */
@media (max-width: 767px) {
  .chapter-accordion-header {
    display: block;
    padding: 0.85rem 1.25rem;
    min-height: 48px;
  }
  .chapter-card-preview-media {
    display: none !important;
  }
  .chapter-card-preview-info {
    padding: 0;
  }
  .chapter-card-teaser {
    display: none !important;
  }
  .chapter-expand-text {
    display: none !important;
  }
  .chapter-accordion-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .chapter-card-affordance {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
  }
  .chapter-accordion-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 1.15rem;
  }
  .narrative-chapter.is-open .chapter-accordion-body {
    padding: 1.25rem 1.25rem;
    background-color: transparent;
  }
  .chapter-grid-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .chapter-media-card.image-card img {
    height: 240px;
  }
}

/* 3. Three Passions: Compact Visual Gateways */
.passions-section {
  padding: 5.5rem 0;
  background-color: var(--canvas-alt, #F4EFEA);
  border-top: 1px solid var(--rule, #E5DFD6);
  border-bottom: 1px solid var(--rule, #E5DFD6);
}

.passions-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}

.passions-gateways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--container-cinema, 1400px);
  margin: 0 auto;
  padding: 0 2rem;
}

.passion-gateway-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 2rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--rule, #E5DFD6);
  background-color: #191C1E;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.passion-gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  border-color: var(--accent-terracotta, #A15942);
}

.passion-gateway-card:focus-visible {
  outline: 3px solid var(--accent-terracotta, #A15942);
  outline-offset: 3px;
}

.gateway-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gateway-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.passion-gateway-card:hover .gateway-bg-media img {
  transform: scale(1.05);
}

.gateway-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,26,29,0.15) 0%, rgba(22,26,29,0.58) 45%, rgba(22,26,29,0.92) 100%);
  transition: opacity 0.3s ease;
}

.passion-gateway-card:hover .gateway-overlay {
  background: linear-gradient(180deg, rgba(22,26,29,0.1) 0%, rgba(22,26,29,0.5) 45%, rgba(22,26,29,0.88) 100%);
}

.gateway-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gateway-thread-label {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8B4A2;
}

.gateway-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0;
}

.gateway-tagline {
  font-family: var(--font-serif, 'Source Serif 4', serif);
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.gateway-action-hint {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8B4A2;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

.passion-gateway-card:hover .gateway-action-hint {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .passions-gateways-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 1.25rem;
  }
  .passion-gateway-card {
    min-height: 240px;
    padding: 1.75rem 1.5rem;
  }
  .gateway-title {
    font-size: 1.85rem;
  }
}

/* 4. Discover Stories Mobile Refinements */
@media (max-width: 768px) {
  .story-discovery-section {
    padding: 3.5rem 0;
  }
  
  .gallery-toolbar {
    padding: 1rem;
    gap: 1rem;
  }

  .filter-pills-group {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    width: 100%;
  }

  .filter-pills-group::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.6rem 1.15rem;
    font-size: 0.88rem;
  }

  .gallery-masonry-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 0 1.25rem;
  }

  .gallery-card {
    margin-bottom: 0;
  }

  .gallery-card-inner {
    border-radius: 12px;
  }

  .gallery-card-media {
    height: 210px;
  }

  .gallery-card-body {
    padding: 1.35rem 1.25rem;
  }

  .gallery-card-title {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .gallery-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .gallery-pagination-footer {
    padding: 1.5rem 1.25rem 0 1.25rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-load-more {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.95rem;
  }
}

/* 5. Publications & Books Progressive Disclosure */
.btn-book-details-toggle {
  display: none;
}

@media (max-width: 767px) {
  .btn-book-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-terracotta, #A15942);
    background: none;
    border: 1px solid var(--rule, #E5DFD6);
    border-radius: 6px;
    padding: 0.55rem 0.95rem;
    cursor: pointer;
    margin: 0.85rem 0 1rem 0;
    min-height: 44px;
    transition: all 0.2s ease;
  }

  .btn-book-details-toggle:hover, .btn-book-details-toggle.is-active {
    background-color: rgba(161, 89, 66, 0.08);
    border-color: var(--accent-terracotta, #A15942);
  }

  .btn-book-details-toggle .book-toggle-icon {
    transition: transform 0.2s ease;
  }

  .btn-book-details-toggle.is-active .book-toggle-icon {
    transform: rotate(180deg);
  }

  .book-details-collapsible {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .book-details-collapsible.is-open {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 1.25rem;
    border-left: 2px solid var(--accent-terracotta, #A15942);
    padding-left: 1rem;
  }
}

/* 6. Press & Media Progressive Disclosure */
.press-disclosure-wrap {
  display: none;
}

@media (max-width: 767px) {
  .press-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .press-item-secondary {
    display: none;
  }

  .press-cards-grid.is-expanded .press-item-secondary {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .press-disclosure-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
  }

  .btn-press-disclosure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #191C1E);
    background: var(--canvas-card, #FFFFFF);
    border: 1px solid var(--rule, #E5DFD6);
    border-radius: 30px;
    padding: 0.75rem 1.65rem;
    cursor: pointer;
    min-height: 46px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
  }

  .btn-press-disclosure:hover, .btn-press-disclosure.is-active {
    border-color: var(--accent-terracotta, #A15942);
    color: var(--accent-terracotta, #A15942);
  }

  .btn-press-disclosure.is-active svg {
    transform: rotate(180deg);
  }
}

/* 7. Mobile Viewport Refinements & Calm Spacing (< 600px) */
@media (max-width: 960px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 600px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .header-inner {
    height: 68px;
  }

  .brand-block {
    gap: 0.65rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
  }

  .brand-tagline {
    display: none !important;
  }

  .cinematic-hero {
    padding: 2.75rem 0 2.25rem 0;
  }

  .hero-container {
    padding: 0 1.25rem;
  }

  .editorial-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem) !important;
    line-height: 1.2 !important;
  }

  .editorial-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .editorial-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.5rem !important;
  }

  .scroll-story-section {
    padding: 3.5rem 0;
  }

  .story-section-header {
    margin-bottom: 2.25rem;
    padding: 0 1.25rem;
  }

  .passions-section {
    padding: 3.5rem 0;
  }

  .passions-intro {
    margin-bottom: 2rem;
    padding: 0 1.25rem;
  }

  .world-map-section {
    padding: 3.5rem 0;
  }

  .world-header {
    margin-bottom: 2rem;
    padding: 0 1.25rem;
  }

  .books-section {
    padding: 3.5rem 0;
  }

  .books-header {
    margin-bottom: 2rem;
    padding: 0 1.25rem;
  }

  .press-section {
    padding: 3.5rem 0;
  }

  .press-header {
    margin-bottom: 2rem;
    padding: 0 1.25rem;
  }
}


/* Screen-reader utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header Flexbox & Alignment Guarantee */
.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.brand-block {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

.brand-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.brand-name {
  white-space: nowrap !important;
}

.mobile-toggle {
  flex-shrink: 0 !important;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .brand-tagline {
    display: none !important;
  }
  .brand-logo {
    width: 36px !important;
    height: 36px !important;
  }
  .brand-name {
    font-size: 1.15rem !important;
    letter-spacing: 0.04em !important;
  }
}

@media (max-width: 768px) {
  .cinematic-hero {
    min-height: auto !important;
    padding: 3.75rem 0 4rem 0 !important;
  }

  .hero-bg-img {
    object-position: 72% 20% !important;
  }

  .hero-bg-overlay {
    background: 
      linear-gradient(180deg, 
        rgba(11, 15, 20, 0.88) 0%, 
        rgba(11, 15, 20, 0.76) 40%, 
        rgba(11, 15, 20, 0.92) 85%, 
        rgba(11, 15, 20, 0.98) 100%) !important;
  }

  .hero-container {
    padding: 0 1.25rem !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .hero-narrative {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-name {
    font-size: clamp(2.6rem, 9vw, 3.4rem) !important;
  }

  .hero-lead {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    box-sizing: border-box !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1.25rem !important;
    box-sizing: border-box !important;
  }

  .hero-photo-credit {
    position: static !important;
    margin: 1.75rem 0 0 0 !important;
    align-self: flex-start !important;
    font-size: 0.72rem !important;
    max-width: 100% !important;
  }
}
