/* ===================================================
   ICELAND: IN THE LANGUAGE OF RIVERS
   Global Styles
   =================================================== */

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

:root {
  --black: #0a0a0c;
  --deep: #0f1015;
  --volcanic: #16151a;
  --ash: #2a2830;
  --stone: #4a4854;
  --mist: #8a8898;
  --silver: #b8b6c4;
  --ice: #dddbe8;
  --white: #f4f2f0;
  --river: #6fa8c8;
  --river-dark: #3a6e8a;
  --glacier: #c8dce8;
  --moss: #5a7a50;
  --geothermal: #c87040;
  --mineral: #9a7080;
  --sulfur: #b8a040;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, sans-serif;

  --ease-cinematic: cubic-bezier(0.25, 0.1, 0.1, 1.0);
  --ease-river: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Smooth scrollbar — overflow set by ScrollSmoother when active */
#smooth-wrapper { width: 100%; }
#smooth-content { width: 100%; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ===================================================
   TRANSITION OVERLAY
   =================================================== */
.transition-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
}
.transition-mist {
  position: absolute; inset: 0;
  background: var(--black);
  transform-origin: bottom;
  transform: scaleY(0);
}
body.is-leaving .transition-mist {
  transform: scaleY(1);
  transition: transform 0.7s var(--ease-cinematic);
  pointer-events: all;
}
body.is-entering .transition-mist {
  transform: scaleY(0);
  transition: transform 0.7s var(--ease-cinematic) 0.1s;
}

/* ===================================================
   NAVIGATION
   =================================================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 48px;
  display: flex; align-items: center;
  transition: background 0.4s, padding 0.4s;
}
.site-nav.scrolled {
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(12px);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-text {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 400; letter-spacing: 0.06em;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #ffffff;
  font-weight: 300;
}
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-link {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffffff;
  font-weight: 400;
  position: relative; padding-bottom: 3px;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--river);
  transition: width 0.3s var(--ease-river);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(10,10,12,0.98);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 20px 0; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2.4rem;
  font-weight: 300; color: var(--white);
  letter-spacing: 0.05em;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-img {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-img.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,12,0.3) 0%,
    rgba(10,10,12,0.15) 40%,
    rgba(10,10,12,0.65) 100%
  );
}
.river-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: 0.35;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: #ffffff;
  margin-bottom: 28px; opacity: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  display: flex; flex-direction: column;
}
.hero-title-line { display: block; opacity: 0; transform: translateY(30px); }
.hero-title-line-2 { font-style: italic; color: var(--glacier); }
.hero-sub {
  margin-top: 36px;
  font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #ffffff;
  opacity: 0;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 52px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white);
  opacity: 0;
  transition: border-color 0.3s, background 0.3s;
}
.hero-cta:hover {
  border-color: var(--river);
  background: rgba(111,168,200,0.1);
}
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ===================================================
   INTRO SECTION
   =================================================== */
.intro-section {
  padding: 140px 48px;
  text-align: center;
}
.intro-inner {
  max-width: 860px; margin: 0 auto;
}
.intro-label {
  font-size: 0.66rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 56px;
}
.intro-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.25;
  color: var(--white);
  margin-bottom: 48px;
}
.intro-title em { color: var(--glacier); font-style: italic; }
.intro-river-line {
  margin: 0 auto 48px;
  max-width: 600px; height: 40px;
}
.intro-river-line svg { width: 100%; height: 100%; }
.intro-body p {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--silver); margin-bottom: 24px;
  font-weight: 300;
}

/* ===================================================
   LANDSCAPE BREAK
   =================================================== */
.landscape-break {
  position: relative; height: 65vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  max-width: none;
}
.landscape-parallax {
  position: absolute; inset: -15%;
  width: 100%; height: 130%;
}
.landscape-img { object-position: center 40%; }
.landscape-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.5);
}
.landscape-quote {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
}
.landscape-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ===================================================
   CHAPTERS SECTION
   =================================================== */
.chapters-section {
  padding: 120px 48px;
}
.chapters-header {
  text-align: center; margin-bottom: 80px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.section-label {
  font-size: 0.66rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 20px;
}
.section-body {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--silver);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: 1400px; margin: 0 auto;
}
.chapter-card {
  position: relative; overflow: hidden;
  cursor: pointer;
  background: var(--volcanic);
}
.chapter-card--large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 680px;
}
.chapter-card:not(.chapter-card--large) {
  grid-column: span 5;
  min-height: 320px;
}
/* Bottom row: chapters 4 & 5 split evenly across full width */
.chapters-grid > .chapter-card:nth-child(4),
.chapters-grid > .chapter-card:nth-child(5) {
  grid-column: span 6;
}
.card-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.card-img {
  transition: transform 0.9s var(--ease-cinematic);
  transform-origin: center;
}
.chapter-card:hover .card-img { transform: scale(1.06); }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,12,0.92) 0%,
    rgba(10,10,12,0.4) 50%,
    rgba(10,10,12,0.1) 100%
  );
  transition: background 0.5s;
}
.chapter-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,12,0.96) 0%,
    rgba(10,10,12,0.5) 50%,
    rgba(10,10,12,0.2) 100%
  );
}
.card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 32px;
  z-index: 2;
}
.card-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.card-num {
  font-size: 0.62rem; letter-spacing: 0.2em;
  color: var(--river); font-weight: 400;
}
.card-location {
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mist);
}
.card-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--white); margin-bottom: 12px;
}
.chapter-card--large .card-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.card-excerpt {
  font-size: 0.85rem; line-height: 1.7;
  color: var(--silver); margin-bottom: 20px;
  font-weight: 300;
  max-width: 380px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.chapter-card:hover .card-excerpt {
  opacity: 1; transform: translateY(0);
}
.chapter-card--large .card-excerpt { opacity: 1; transform: none; }
.card-cta {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--river);
  transition: color 0.3s, letter-spacing 0.3s;
}
.chapter-card:hover .card-cta {
  color: var(--glacier);
  letter-spacing: 0.22em;
}

/* ===================================================
   FEATURED VIDEO
   =================================================== */
.featured-video-section {
  padding: 120px 48px;
  text-align: center;
  background: var(--volcanic);
}
.fv-label {
  font-size: 0.66rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 20px;
}
.fv-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 56px;
}
.fv-frame {
  max-width: 900px; margin: 0 auto 56px;
}
.fv-thumbnail {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; cursor: pointer;
}
.fv-img { transition: transform 0.8s var(--ease-cinematic); }
.fv-thumbnail:hover .fv-img { transform: scale(1.04); }
.fv-film-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,12,0.1) 0%,
    rgba(10,10,12,0.55) 100%
  );
}
.fv-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none; border: none; cursor: pointer;
  width: 80px; height: 80px;
  transition: transform 0.3s;
  z-index: 2;
}
.fv-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.fv-play svg { width: 100%; height: 100%; }
.fv-info {
  position: absolute; bottom: 24px; left: 32px;
  z-index: 2; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
}
.fv-chapter {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--river);
}
.fv-film-title {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 300; color: var(--white);
}
.btn-outline {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--silver);
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--river); color: var(--white); }

/* ===================================================
   VIDEO MODAL
   =================================================== */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
}
.video-modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,8,0.92);
  cursor: pointer;
}
.modal-inner {
  position: relative; z-index: 2;
  width: min(95vw, 1100px);
  animation: modalIn 0.4s var(--ease-cinematic);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.modal-close svg { width: 24px; height: 24px; }
.modal-video-wrap {
  aspect-ratio: 16/9;
  background: #000;
}
.modal-video-wrap iframe { width: 100%; height: 100%; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 48px 48px;
}
.footer-river-line {
  height: 60px; margin-bottom: 60px;
}
.footer-river-line svg { width: 100%; height: 100%; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.footer-title {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 300; color: var(--white);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.82rem; line-height: 1.8;
  color: var(--mist); max-width: 360px;
  margin-bottom: 24px;
}
.footer-poem {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--silver);
  line-height: 1.6;
}
.footer-nav {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-nav a {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mist);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--river); }
.footer-credit {
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--stone);
  align-self: end;
}
.footer-credit a { color: var(--mist); transition: color 0.3s; }
.footer-credit a:hover { color: var(--river); }

/* ===================================================
   REVEAL ANIMATIONS
   =================================================== */
.reveal-up {
  opacity: 0; transform: translateY(40px);
}
.reveal-up.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.9s var(--ease-cinematic),
              transform 0.9s var(--ease-cinematic);
}

/* ===================================================
   JOURNEY PAGE — shared layout
   =================================================== */
.journey-hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.journey-hero-bg {
  position: absolute; inset: 0;
}
.journey-hero-bg img {
  transition: transform 8s ease-out;
  transform: scale(1.08);
}
.journey-hero-bg img.loaded { transform: scale(1); }
.journey-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,12,0.88) 0%,
    rgba(10,10,12,0.2) 60%,
    rgba(10,10,12,0.1) 100%
  );
}
.journey-hero-content {
  position: relative; z-index: 2;
  padding: 80px 80px;
  max-width: 900px;
}
.journey-chapter-num {
  font-size: 0.62rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 20px; opacity: 0;
}
.journey-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 0.95;
  color: var(--white);
  opacity: 0; transform: translateY(30px);
}
.journey-hero-title em { font-style: italic; color: var(--glacier); }
.journey-hero-location {
  margin-top: 20px;
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mist);
  opacity: 0;
}

/* Journey body */
.journey-body {
  max-width: 780px; margin: 0 auto;
  padding: 100px 48px;
}
.journey-poem {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300; line-height: 1.65;
  color: var(--ice);
  margin-bottom: 72px;
  white-space: pre-line;
}
.journey-poem-line {
  display: block;
  opacity: 0; transform: translateX(-12px);
}
.journey-prose {
  font-size: 1rem; line-height: 1.95;
  color: var(--silver); margin-bottom: 32px;
  font-weight: 300;
}
.journey-divider {
  width: 60px; height: 1px;
  background: var(--river-dark);
  margin: 60px auto;
}

/* Journey image gallery */
.journey-gallery {
  display: grid; gap: 4px;
  margin: 80px 0;
}
.journey-gallery--2col { grid-template-columns: 1fr 1fr; }
.journey-gallery--3col { grid-template-columns: 1fr 1fr 1fr; }
.journey-gallery--mixed {}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item--tall { aspect-ratio: 3/4; }
.gallery-item--wide { aspect-ratio: 16/9; grid-column: span 2; }
.gallery-item img { transition: transform 0.8s var(--ease-cinematic); }
.gallery-item:hover img { transform: scale(1.04); }

/* Journey video embed */
.journey-video-section {
  padding: 80px 48px;
  background: var(--volcanic);
  text-align: center;
}
.jv-label {
  font-size: 0.62rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 16px;
}
.jv-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 48px;
}
.jv-frame {
  max-width: 860px; margin: 0 auto;
}
.jv-thumbnail {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; cursor: pointer;
}
.jv-thumbnail img { transition: transform 0.8s var(--ease-cinematic); }
.jv-thumbnail:hover img { transform: scale(1.04); }
.jv-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.4);
}
.jv-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none; border: none; cursor: pointer;
  width: 72px; height: 72px;
  transition: transform 0.3s;
}
.jv-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.jv-play svg { width: 100%; height: 100%; }

/* Journey nav (prev/next) */
.journey-nav-section {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.journey-nav-item {
  padding: 48px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.3s;
}
.journey-nav-item:hover { background: rgba(255,255,255,0.03); }
.journey-nav-item + .journey-nav-item {
  border-left: 1px solid rgba(255,255,255,0.07);
  align-items: flex-end; text-align: right;
}
.jnav-dir {
  font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone);
}
.jnav-title {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 300; color: var(--silver);
  transition: color 0.3s;
}
.journey-nav-item:hover .jnav-title { color: var(--white); }
.jnav-num { font-size: 0.62rem; color: var(--river); }

/* ===================================================
   JOURNEYS OVERVIEW PAGE
   =================================================== */
.journeys-hero {
  padding: 180px 80px 100px;
  text-align: center;
  background: linear-gradient(to bottom, var(--volcanic), var(--black));
}
.journeys-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 24px;
}
.journeys-hero-sub {
  font-size: 0.85rem; letter-spacing: 0.15em;
  color: var(--mist); max-width: 500px; margin: 0 auto;
  line-height: 1.8;
}

.journeys-list {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 48px 120px;
}
.journey-list-item {
  display: grid; grid-template-columns: 80px 1fr 480px;
  gap: 48px; align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
  cursor: pointer;
}
.journey-list-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.journey-list-num {
  font-family: var(--serif); font-size: 3.5rem;
  font-weight: 300; color: var(--ash);
  line-height: 1;
}
.journey-list-text {}
.journey-list-location {
  font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 10px;
}
.journey-list-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 12px;
}
.journey-list-excerpt {
  font-size: 0.9rem; line-height: 1.7;
  color: var(--mist);
}
.journey-list-img {
  aspect-ratio: 16/10; overflow: hidden;
}
.journey-list-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}
.journey-list-item:hover .journey-list-img img { transform: scale(1.06); }

/* ===================================================
   MAP PAGE
   =================================================== */
.map-page {
  min-height: 100vh;
  padding: 160px 80px 100px;
  background: var(--black);
}
.map-header {
  text-align: center; margin-bottom: 80px;
}
.map-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 16px;
}
.map-header p {
  font-size: 0.85rem; color: var(--mist);
  letter-spacing: 0.12em;
}
.map-container {
  position: relative;
  max-width: 1000px; margin: 0 auto;
}
.map-svg-wrap {
  position: relative;
  background: var(--volcanic);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: visible;
}
.map-legend {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; margin-top: 40px;
}
.map-legend-item {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.map-legend-item:hover {
  border-color: var(--river);
  background: rgba(111,168,200,0.06);
}
.map-legend-num {
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--river); margin-bottom: 6px;
}
.map-legend-name {
  font-family: var(--serif); font-size: 0.9rem;
  color: var(--silver); line-height: 1.3;
}

/* ===================================================
   VIDEOS PAGE
   =================================================== */
.videos-page {
  padding: 160px 80px 100px;
}
.videos-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300; text-align: center;
  color: var(--white); margin-bottom: 100px;
}
.videos-feature {
  max-width: 1000px; margin: 0 auto 80px;
}
.videos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
  max-width: 1200px; margin: 0 auto;
}
.video-card { cursor: pointer; }
.video-card-thumb {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; margin-bottom: 20px;
  background: var(--volcanic);
}
.video-card-thumb img { transition: transform 0.8s var(--ease-cinematic); }
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.vc-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.35);
  transition: background 0.3s;
}
.video-card:hover .vc-overlay { background: rgba(10,10,12,0.2); }
.vc-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: none; border: none; cursor: pointer;
  transition: transform 0.3s;
}
.video-card:hover .vc-play { transform: translate(-50%, -50%) scale(1.1); }
.vc-play svg { width: 100%; height: 100%; }
.vc-num {
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--river); margin-bottom: 6px;
}
.vc-title {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 300; color: var(--white);
  margin-bottom: 8px;
}
.vc-location {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mist);
  margin-bottom: 10px;
}
.vc-desc {
  font-size: 0.85rem; line-height: 1.7;
  color: var(--silver);
}

/* ===================================================
   EPILOGUE PAGE
   =================================================== */
.epilogue-page {
  min-height: 100vh;
}
.epilogue-hero {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.epilogue-bg {
  position: absolute; inset: 0;
}
.epilogue-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.6);
}
.epilogue-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 48px;
  max-width: 800px;
}
.epilogue-label {
  font-size: 0.65rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--river);
  margin-bottom: 32px;
}
.epilogue-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300; color: var(--white);
  line-height: 1.1; margin-bottom: 40px;
}
.epilogue-poem-full {
  max-width: 680px; margin: 0 auto;
  padding: 100px 48px;
}
.epilogue-poem-full .journey-poem {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  text-align: center; line-height: 1.7;
  color: var(--ice);
}

/* ===================================================
   RIVER PATH ANIMATION
   =================================================== */
.river-path-animated {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawRiver 3s var(--ease-river) forwards;
}
@keyframes drawRiver {
  to { stroke-dashoffset: 0; }
}

/* ===================================================
   PARTICLE CANVAS (shared)
   =================================================== */
.particle-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
}

/* ===================================================
   STORY LAYOUT — Journey editorial system
   =================================================== */

/* Wrapper that holds the path SVG + all story elements */
.story-wrapper {
  position: relative;
}
.story-wrapper .story-text,
.story-wrapper .story-image {
  position: relative;
  z-index: 1;
}

/* Text section — centred column */
.story-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 88px 48px;
}

/* Centred 16:9 story image */
.story-image {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
.story-image-inner {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.story-image-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-cinematic);
  will-change: transform;
  display: block;
}
.story-image:hover .story-image-inner img { transform: scale(1.03); }

/* ===================================================
   STORY GALLERY — Full-width lightbox gallery
   =================================================== */
.story-gallery-section {
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 48px;
}
.story-gallery-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
  margin-bottom: 4px;
}
.story-gallery-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}
.story-gallery {
  display: grid;
  gap: 3px;
  width: 100%;
}
.story-gallery--4col { grid-template-columns: repeat(4, 1fr); }
.story-gallery--3col { grid-template-columns: repeat(3, 1fr); }
.story-gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16/9;
  display: block;
}
.story-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-cinematic);
  display: block;
}
.story-gallery-item:hover img { transform: scale(1.06); }
.story-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
  pointer-events: none;
}
.story-gallery-item:hover::after { background: rgba(0,0,0,0.08); }
.gallery-zoom-icon {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.story-gallery-item:hover .gallery-zoom-icon { opacity: 1; }

/* ===================================================
   LIGHTBOX
   =================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,4,8,0.96);
  cursor: pointer;
}
.lightbox-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 92vh;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 32px 100px rgba(0,0,0,0.7);
  transition: opacity 0.25s ease;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px; z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: white;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.14); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.38);
  font-family: var(--sans);
  z-index: 2;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .chapters-grid {
    grid-template-columns: 1fr 1fr;
  }
  .chapter-card--large {
    grid-column: span 2; grid-row: auto;
    min-height: 500px;
  }
  .chapter-card:not(.chapter-card--large) {
    grid-column: span 1;
  }
  .journeys-list { padding: 60px 32px 100px; }
  .journey-list-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 48px 0;
  }
  .journey-list-img {
    order: -1;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 28px;
    display: block;
  }
  .journey-list-num { display: none; }
  .journey-list-text { padding: 0 4px; }
  .map-legend { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-text { padding: 64px 32px; }
  .story-image { padding: 0 32px 64px; }
  .story-gallery--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { padding: 20px 24px; }
  .site-nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 0 24px; }
  .intro-section { padding: 80px 24px; }
  .chapters-section { padding: 80px 24px; }
  .chapters-grid { grid-template-columns: 1fr; gap: 12px; }
  .chapter-card--large { grid-column: 1; min-height: 480px; }
  .chapter-card:not(.chapter-card--large) { min-height: 320px; }

  .journey-hero-content { padding: 40px 24px 60px; }
  .journey-body { padding: 60px 24px; }
  .journey-video-section { padding: 60px 24px; }
  .journey-nav-section { grid-template-columns: 1fr; }
  .journey-nav-item + .journey-nav-item {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    align-items: flex-start; text-align: left;
  }

  .journeys-hero { padding: 140px 24px 60px; }
  .journeys-list { padding: 40px 24px 80px; }
  .journey-list-item { padding: 0 0 40px; }
  .journey-list-img { margin-bottom: 20px; }
  .story-text { padding: 52px 24px; }
  .story-image { padding: 0 24px 52px; }
  .story-gallery--3col { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .map-page { padding: 140px 24px 80px; }
  .map-legend { grid-template-columns: 1fr 1fr; }

  .videos-page { padding: 140px 24px 80px; }
  .featured-video-section { padding: 80px 24px; }
  .site-footer { padding: 60px 24px 40px; }

  .epilogue-poem-full { padding: 60px 24px; }
}
