/* =================================================================
   LOUISE & AIMABLE — a love story
   Color palette inspired by Rwandan volcanic earth, lantern gold,
   warm cream paper, and eucalyptus green.
   ================================================================= */

:root {
  /* paper & earth */
  --cream:        #F4ECDD;
  --cream-deep:  #EBE0CB;
  --cream-soft:  #F8F2E5;
  --paper:        #FDF8EF;

  /* coffee & ink */
  --coffee:       #1F140C;
  --coffee-soft:  #2D2017;
  --brown:        #4A3526;
  --warm-gray:    #807365;
  --warm-light:   #B6AA98;

  /* accents */
  --gold:         #BE8B3F;
  --gold-deep:    #9C6E29;
  --terracotta:   #B05A2A;
  --forest:       #3E4D33;

  --white:        #FFFCF6;

  /* type scale */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body:  'Lora', 'Iowan Old Style', Georgia, serif;
  --script: 'Allura', cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(190,139,63,0.04) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(176,90,42,0.03) 0, transparent 50%);
}

main { position: relative; z-index: 2; }

/* =================================================================
   PROGRESS BAR
   ================================================================= */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 100;
  transition: width 0.1s linear;
}

/* =================================================================
   MUSIC TOGGLE & PLAYER
   ================================================================= */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--coffee);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 12px 20px 12px 18px;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(31,20,12,0.25);
  transition: all 0.3s ease;
}
.music-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,20,12,0.32);
}
.music-icon {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}
.music-label { font-weight: 500; }

.music-player {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  z-index: 91;
  background: var(--coffee);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(31,20,12,0.45);
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.music-player.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.music-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.music-eyebrow {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.music-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 2px;
}
.music-artist {
  font-size: 0.85rem;
  color: var(--warm-light);
  margin: 0 0 14px;
}
.music-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.music-frame iframe {
  width: 100%; height: 100%;
  border: 0;
}

/* =================================================================
   CHAPTER STRUCTURE
   ================================================================= */
.chapter {
  position: relative;
  padding: 8rem 0;
}
.chapter + .chapter { padding-top: 6rem; }

.chapter-dark {
  background: var(--coffee);
  color: var(--cream);
}
.chapter-dark .chapter-meta { color: var(--gold); }
.chapter-dark .chapter-title { color: var(--cream); }
.chapter-dark .image-caption { color: var(--warm-light); }

.chapter-warm {
  background: var(--cream-deep);
}

.chapter-quiet {
  background: var(--paper);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
}

/* meta + titles */
.chapter-meta {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid currentColor;
  border-color: rgba(156, 110, 41, 0.25);
  max-width: max-content;
}
.chapter-num {
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
}
.chapter-date {
  font-weight: 400;
}

.chapter-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-variation-settings: "SOFT" 80;
  line-height: 1.05;
  color: var(--coffee);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.chapter-subtitle {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--warm-gray);
  margin: 0 0 2.5rem;
  letter-spacing: 0.05em;
}
.chapter-title + .prose,
.chapter-title + .split,
.chapter-title + .full-image-bleed { margin-top: 3rem; }

/* =================================================================
   COVER
   ================================================================= */
.cover {
  height: 100vh;
  min-height: 700px;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--coffee);
}
.cover-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(31,20,12,0.55) 70%, rgba(31,20,12,0.85) 100%),
    linear-gradient(to bottom, rgba(31,20,12,0.1) 0%, rgba(31,20,12,0.5) 100%);
}
.cover-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  padding: 0 24px;
}
.cover-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  color: var(--gold);
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: fadeUp 1.4s ease 0.3s forwards;
}
.cover-names {
  font-family: var(--serif);
  font-weight: 250;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}
.cover-name {
  display: block;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
}
.cover-name:nth-of-type(1) { animation-delay: 0.6s; }
.cover-name:nth-of-type(2) { animation-delay: 1.4s; }
.cover-amp {
  display: block;
  font-family: var(--script);
  color: var(--gold);
  font-size: 0.5em;
  font-weight: 400;
  line-height: 0.5;
  margin: 0.05em 0;
  opacity: 0;
  animation: fadeUp 1.6s ease 1s forwards;
}
.cover-date {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  letter-spacing: 0.18em;
  color: var(--cream);
  margin: 3rem 0 0;
  opacity: 0;
  animation: fadeUp 1.6s ease 2s forwards;
}
.cover-date .ord {
  font-size: 0.7em;
  vertical-align: super;
  margin: 0 0.05em;
}
.scroll-cue {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1.4s ease 2.6s forwards, breath 2.8s ease-in-out 4s infinite;
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: var(--gold);
}
.scroll-cue-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes breath {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* =================================================================
   PROSE & TEXT
   ================================================================= */
.prose {
  max-width: 640px;
  margin: 0 auto;
}
.prose p {
  margin: 0 0 1.5em;
  font-size: 1.08rem;
  line-height: 1.78;
}
.prose .center { text-align: center; }
.prose em { font-style: italic; }
.prose strong { font-weight: 600; }

.accent-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem !important;
  font-weight: 400;
  color: var(--terracotta);
  text-align: center;
  margin: 2.5rem auto !important;
  max-width: 32ch;
}
.chapter-dark .accent-line { color: var(--gold); }

.quote-inline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--coffee);
}
.chapter-dark .quote-inline { color: var(--gold); }

.pull-quote {
  font-family: var(--serif) !important;
  font-style: italic;
  font-weight: 350;
  font-size: 1.65rem !important;
  line-height: 1.4 !important;
  text-align: center;
  color: var(--coffee);
  margin: 2.5rem auto !important;
  max-width: 22ch;
  position: relative;
}
.pull-quote-mark {
  color: var(--gold);
  font-size: 1.4em;
  font-family: var(--script);
  font-style: normal;
  vertical-align: -0.15em;
}
.chapter-dark .pull-quote { color: var(--cream); }
.pull-quote-finale {
  font-size: 1.8rem !important;
  max-width: 26ch;
}

/* big stat — the 9 hours */
.big-stat {
  text-align: center !important;
  margin: 3rem auto !important;
  font-family: var(--serif) !important;
}
.big-stat-num {
  display: block;
  font-size: 7rem;
  font-weight: 200;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.04em;
}
.big-stat-unit {
  display: block;
  font-family: var(--body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--warm-gray);
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}

/* elevation block (in Bisoke summit) */
.elevation {
  text-align: center;
  margin: 4rem auto;
  font-family: var(--serif);
}
.elevation-num {
  display: block;
  font-size: 5rem;
  font-weight: 250;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  color: var(--gold);
}
.elevation-unit {
  display: block;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--warm-light);
  margin-top: 0.5rem;
  text-transform: lowercase;
}

/* special day text */
.special-day {
  margin: 4rem auto 2rem !important;
  color: var(--warm-gray);
  font-size: 1.05rem !important;
}

/* the script Nyambo name */
.script-name {
  font-family: var(--script);
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1;
  text-align: center;
  color: var(--terracotta);
  margin: 1.5rem 0 2.5rem;
  font-weight: 400;
}

/* ritual list */
.ritual-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 3rem;
}
.ritual-list li {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 53, 38, 0.12);
  font-size: 1.08rem;
}
.ritual-marker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 0.95rem;
  width: 2rem;
  flex-shrink: 0;
}

/* spacers */
.pause {
  height: 4rem;
}

/* =================================================================
   SPLIT LAYOUTS
   ================================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 3rem 0;
}
.split-text .prose {
  max-width: none;
  margin: 0;
}
.split-image figure {
  margin: 0;
}
.split-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(31,20,12,0.3);
}
.split-image figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  text-align: center;
}

/* two-column image rows */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3.5rem 0;
}
.two-col figure {
  margin: 0;
}
.two-col img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 50px -20px rgba(31,20,12,0.3);
}
.two-col figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: 0.85rem;
  text-align: center;
}

/* full image (contained, with caption) */
.full-image {
  max-width: 1240px;
  margin: 4rem auto;
  padding: 0 28px;
}
.full-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 40px 80px -30px rgba(31,20,12,0.4);
}
.image-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--warm-gray);
  text-align: center;
  margin: 1.25rem 0 0;
  letter-spacing: 0.01em;
}

/* full-bleed image (edge to edge) */
.full-image-bleed {
  width: 100%;
  height: 80vh;
  min-height: 480px;
  max-height: 800px;
  overflow: hidden;
  margin: 3rem 0;
}
.full-image-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =================================================================
   SONG CARD (in Switch chapter)
   ================================================================= */
.song-card {
  background: var(--coffee);
  color: var(--cream);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  max-width: 460px;
  text-align: center;
  border: 1px solid var(--gold);
  position: relative;
  box-shadow: 0 24px 60px -20px rgba(31,20,12,0.4);
}
.song-card::before, .song-card::after {
  content: '♪';
  position: absolute;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.55;
}
.song-card::before { top: 12px; left: 16px; }
.song-card::after { bottom: 12px; right: 16px; }
.song-eyebrow {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.song-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 80;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.song-artist {
  font-family: var(--body);
  font-style: italic;
  color: var(--warm-light);
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
}
.song-play {
  background: var(--gold);
  color: var(--coffee);
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.song-play:hover {
  background: var(--cream);
  transform: scale(1.04);
}
.song-play-icon { font-size: 0.95em; }

/* =================================================================
   MOSAIC (Chapter 9 — The Everyday)
   ================================================================= */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
  margin: 3rem 0;
}
.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.mosaic figure:hover img { transform: scale(1.05); }

.mosaic-1 { grid-column: span 2; grid-row: span 2; }
.mosaic-2 { grid-column: span 1; grid-row: span 1; }
.mosaic-3 { grid-column: span 1; grid-row: span 1; }
.mosaic-4 { grid-column: span 2; grid-row: span 1; }
.mosaic-5 { grid-column: span 1; grid-row: span 2; }
.mosaic-6 { grid-column: span 1; grid-row: span 1; }
.mosaic-7 { grid-column: span 1; grid-row: span 1; }
.mosaic-8 { grid-column: span 1; grid-row: span 1; }
.mosaic-9 { grid-column: span 2; grid-row: span 1; }
.mosaic-10 { grid-column: span 1; grid-row: span 2; }
.mosaic-11 { grid-column: span 2; grid-row: span 1; }
.mosaic-12 { grid-column: span 1; grid-row: span 1; }

/* =================================================================
   SAVE THE DATE (finale)
   ================================================================= */
.save-the-date {
  max-width: 540px;
  margin: 4rem auto;
  padding: 0 28px;
}
.save-the-date img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 40px 90px -25px rgba(31,20,12,0.5);
}

/* five volcanoes list */
.five-volcanoes {
  margin: 5rem auto 2rem;
  text-align: center;
}
.volcano-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--gold-deep);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
}
.volcano-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.volcano-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(74, 53, 38, 0.14);
  font-family: var(--serif);
}
.volcano-name {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--coffee);
}
.volcano-elevation {
  font-style: italic;
  color: var(--warm-gray);
  font-size: 0.95rem;
}
.volcano-tag {
  background: var(--forest);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 0.6rem;
}
.volcano-foot {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.05rem;
  margin: 2rem 0 0;
}

/* =================================================================
   FINALE CHAPTER (the wedding section)
   ================================================================= */
.chapter-finale {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 60%, var(--cream) 100%);
  padding-bottom: 4rem;
}

/* =================================================================
   SIGNATURE / FOOTER
   ================================================================= */
.signature {
  background: var(--coffee);
  color: var(--cream);
  padding: 6rem 0 4rem;
  text-align: center;
}
.sig-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 3rem;
  border: none;
}
.sig-from {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--warm-light);
  margin: 0 0 0.5rem;
}
.sig-name {
  font-family: var(--script);
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: var(--gold);
  line-height: 1;
  margin: 0 0 3rem;
}

.sig-songs {
  margin: 3rem 0;
}
.sig-songs-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.sig-songs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}
.sig-songs a {
  text-decoration: none;
  color: var(--cream);
  display: block;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(190, 139, 63, 0.3);
  border-radius: 4px;
  transition: all 0.25s ease;
  min-width: 280px;
}
.sig-songs a:hover {
  border-color: var(--gold);
  background: rgba(190, 139, 63, 0.08);
}
.song-link-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.song-link-meta {
  display: block;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--warm-light);
  margin-top: 4px;
}

.sig-blessing {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--warm-light);
  margin: 3rem auto 2rem;
  max-width: 38ch;
  font-style: italic;
}
.back-to-top {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 1rem;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--coffee);
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal, .reveal-image {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}
.reveal-image { transform: translateY(40px); }
.reveal.is-visible,
.reveal-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .chapter { padding: 5rem 0; }
  .chapter + .chapter { padding-top: 4rem; }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }

  .pull-quote { font-size: 1.4rem !important; }
  .pull-quote-finale { font-size: 1.45rem !important; }
  .big-stat-num { font-size: 5rem; }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .mosaic-1 { grid-column: span 2; grid-row: span 1; }
  .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5, .mosaic-6,
  .mosaic-7, .mosaic-8, .mosaic-9, .mosaic-10, .mosaic-11, .mosaic-12 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .music-toggle {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px 10px 14px;
    font-size: 0.78rem;
  }
  .music-player {
    bottom: 70px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .full-image-bleed {
    height: 60vh;
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .chapter { padding: 4rem 0; }
  .container, .container-narrow { padding: 0 22px; }
  .chapter-meta { gap: 0.8rem; font-size: 0.7rem; flex-wrap: wrap; }

  .cover-content { padding: 0 20px; }
  .cover-eyebrow { font-size: 0.78rem; letter-spacing: 0.28em; }

  .volcano-list li {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-image { opacity: 1; transform: none; }
}
