/* ============================================================================
   GLOBAL BASE
   ========================================================================== */

body {
  font-family: 'Public Sans', sans-serif;
  margin: 0;
  background-color: #40282e;
}

.graphic {
  background: #EFEDE9;
  border-radius: 12px;
  padding: 24px 40px 0px; 
  position: relative;
  transition: height 0.3s ease;
  height: 700px;
}

#viz {
  width: 100%;
  height: 100%;
  display: block;
}

.genre-label {
  font-family: 'Public Sans', sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-anchor: middle;
  fill: #1D1C1C;
  stroke: #FFFFFF;
  stroke-width: 2px;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.dimmed {
  opacity: 0.18 !important;
  transition: opacity 300ms ease;
}

@media (max-width: 900px) { body { padding-inline: 36px; } }
@media (max-width: 600px) { body { padding-inline: 20px; } }

html { 
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

/* ============================================================================
   HERO TITLE CARD
   ========================================================================== */

.hero-intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;       
  justify-content: center;   
  position: relative;
  overflow: hidden;
  background: #40282e;
  border-bottom: none;
  color: #ede8e4;
}

.hero-intro-inner {
  max-width: 720px;
  width: 100%;
  text-align: left;
  margin-left: clamp(2rem, 15vw, 40vh);
  margin-right: auto;
  padding-inline: 1rem;
}

.hero-title {
  font-family: "Cormorant Garant", Georgia, serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 1.6rem;
}

.hero-lead {
  max-width: 48rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #dedddd;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #dedddd;
  margin-bottom: 1.25rem;
}

.hero-subtle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.hero-subtle-wrap::before {
  content: "";
  width: 1.5px;
  height: 18px;
  background: rgba(237, 232, 228, 0.6);
  opacity: 1;
  border-radius: 2px;
}

.hero-subtle-line {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 232, 228, 0.6);
}

.hero-scroll {
  margin-top: 2.25rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(237, 232, 228, 0.55);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.18s ease;
  opacity: 1;
  animation: hero-scroll-pulse 3s ease-in-out infinite;
}

.hero-scroll::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(237, 232, 228, 0.55);
  border-bottom: 1.5px solid rgba(237, 232, 228, 0.55);
  transform: rotate(45deg) translate(-2px, -2px);
}

.hero-scroll:hover {
  opacity: 1;
  border-color: rgba(237, 232, 228, 0.9);
  transform: translateY(2px);
}
.hero-scroll:hover::before {
  border-color: rgba(237, 232, 228, 0.9);
}


/* ============================================================================
   TWO-COLUMN SCROLLYTELLING LAYOUT
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1000px 1fr;
  column-gap: 28px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
  margin-bottom: 6vh;
  background-color: transparent;
}

.site-body {
  background-color: #fbfaf8;
  padding-top: 5vh;
}

.viz-wrap {
  position: sticky;
  top: 3vh;
  background-color: #EFEDE9;  
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  width: 1000px;              
  overflow: visible;
}

#chart-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: #222;
}

.subtitle {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  color: #444;
  margin: 0 0 5px;
}

.subtitle-little {
  font-size: 14px;
  color: #666;
  margin: 0 0 10px;
}

.fine-note {
  position: absolute;
  top: 24px;   
  right: 40px; 
  cursor: pointer;
  color: #887b75; 
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  z-index: 5;
}

.fine-note:hover {
  opacity: 1;
  color: #4B2E39; 
}

.fine-note.note-hidden { display: none; }


/* ============================================================================
   STEP CARDS
   ========================================================================== */

.steps {
  max-width: 360px;
  padding: 8px 0 80px;   
}

.step {
  background: #FAF8F4;             
  border: 1px solid #ECE9E3; 
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 14px 16px;
  color: #4A4947;         
  margin: 120vh 0;
}

.step.with-posters { margin-bottom: 10px; }
.step p { margin: 0; }

.step.is-active {
  border-color: #E1DDD6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.supergroup-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  font-weight: 600;
  color: #4B2E39;
  margin: 0 0 8px 0;
}
/* ============================================================================
   TOOLTIP
   ========================================================================== */

.tooltip {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  background: #fff;
  color: #333;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: opacity 0.2s ease-in-out;
  max-width: 240px;
  z-index: 10000;
}


/* ============================================================================
   SVG STYLING
   ========================================================================== */

.genre-bubble {
  opacity: 0.8;
  stroke: #F8F7F5; 
  stroke-width: 1px;
  transition: opacity 0.2s ease;
}
.genre-bubble:hover { opacity: 1; }
.genre-bubble.dimmed { opacity: 0.18 !important; }

.quadrant-line {
  stroke: #b2b1b1ff;
  stroke-width: 1px;
  stroke-dasharray: 3;
}

.quadrant-label {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 16px;
  fill: #555;
}

.quadrant-axis-label {
  font-size: 10px;
  fill: #888;
  text-anchor: middle;
}

.x-axis path, .y-axis path { stroke: #DDDDDD; }
.x-axis .tick line, .y-axis .tick line { stroke: #E0E0E0; }
.x-axis .tick text, .y-axis .tick text {
  fill: #666;
  font-size: 13px;
}

.x-label, .y-label {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  fill: #555;
  font-size: 15px;
}

.hidden { display: none; }

.legend-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  fill: #555;
}

.legend-item text {
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  fill: #666;
  dominant-baseline: middle;
}


/* ============================================================================
   RESPONSIVE
   ========================================================================== */

/* Large desktop — two-col starts to strain */
@media (max-width: 1400px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr) 340px;
    padding-inline: 2vw;
  }
  .viz-wrap { width: 100%; }
}

/* Medium — go single column */
@media (max-width: 1200px) {
  .two-col { 
    grid-template-columns: 1fr;
    padding-inline: 3vw;
  }
  .viz-wrap { width: 100%; }
  .steps {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 10px 80px;
  }
  .step { margin: 80vh 0; }
  #chart-title { font-size: 28px; }
}


/* ============================================================================
   MOVIE POSTERS
   ========================================================================== */

.movie-posters-section {
  margin: 50px 0 24px 0;
  padding: 0;
  background: transparent;
}

.movie-posters-section.with-step {
  margin-top: 50px;
  margin-bottom: 50px;
}

.posters-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  font-weight: 600;
  color: #4B2E39;
  margin: 0 0 10px 0;
}

.posters-grid {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
}

.movie-poster-item {
  flex: 0 0 auto;
  width: calc(33.333% - 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.poster-img:hover { transform: scale(1.02); }

.movie-poster-info {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  width: 100%;
}

.movie-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.poster-category-label {
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  text-align: center;
  line-height: 1.3;
}

.movie-genre {
  color: #666;
  font-style: italic;
  margin-bottom: 3px;
}

.movie-views {
  color: #888;
  font-size: 10px;
  margin-bottom: 2px;
}

.movie-rating {
  color: #999;
  font-size: 10px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .posters-grid {
    flex-direction: column;
    gap: 16px;
  }
  .movie-poster-item {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}


/* ============================================================================
   HORROR STATS
   ========================================================================== */

.horror-stats-section {
  margin-top: 50px;
  margin-bottom: 30px;
}

.horror-posters-first {
  margin-top: 120vh;
}

.horror-genre-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  font-weight: 600;
  color: #4B2E39;
  margin: 0 0 16px 0;
}

.horror-stat {
  margin: 16px 0 12px 0;
}

.stat-label {
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}

.stat-value {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.posters-subtitle {
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 16px 0 10px 0;
}


/* ============================================================================
   METHODOLOGY MODAL
   ========================================================================== */

.methodology-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  background: transparent;
  border: 1px solid #908f8b;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  display: none;
}
.methodology-btn:hover {
  color: #4B2E39;
  border-color: #4B2E39;
  background: rgba(250, 248, 244, 0.8);
}

.methodology-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.methodology-modal.is-open {
  display: flex;
}

.methodology-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 28, 28, 0.7);
  backdrop-filter: blur(3px);
}

.methodology-modal-box {
  position: relative;
  max-width: 580px;
  width: 100%;
  max-height: 80vh;
  background: #FFF;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 28px;
  overflow-y: auto;
  z-index: 1;
}

.methodology-modal-box h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 600;
  color: #4B2E39;
  margin: 0 0 18px 0;
}

.methodology-modal-box p {
  font-family: 'Public Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 14px 0;
}
.methodology-modal-box p:last-of-type {
  margin-bottom: 0;
}

.methodology-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.methodology-modal-close:hover {
  background: #F5F4F2;
  color: #333;
}

.chart-note { font-size: 13px; font-style: italic; }


/* ============================================================================
   POSTER WALL OVERLAY
   ========================================================================== */

.poster-wall {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  pointer-events: auto;
}

/* base grid */
.poster-wall-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 14px;
}

/* regular big wall posters */
.poster-wall img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  border-radius: 2px;
}

/* clustered posters */
.poster-wall-grid.cluster-grid {
  gap: 24px;  
  margin-top: 26px;    
  padding-bottom: 10px;  
}

.poster-wall-grid.cluster-grid img.poster-cluster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  transition: transform 260ms cubic-bezier(0.4, 1.2, 0.2, 1);
}

.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(1),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(3),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(5),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(7) {
  transform: translateY(-18px) scale(1.035);
}
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(2),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(4),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(6),
.poster-wall-grid.cluster-grid img.poster-cluster:nth-child(8) {
  transform: translateY(18px) scale(1.035);
}



/* ============================================================================
   MAP OVERLAY
   ========================================================================== */

.map-wrapper {
  position: absolute;
  display: none;
  opacity: 0;
  pointer-events: auto;
}

#map {
  width: 100%;
  height: 570px;
}

.graphic.map-mode .sticky-inner {
  padding-bottom: 80px;
}

.map-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-wrapper .country {
  stroke: #fff;
  stroke-width: 0.5px;
  cursor: pointer;
}

.steps::after {
  content: "";
  display: block;
  height: 120vh;
}
/* ============================================================================
   FOOTER
   ========================================================================== */

.footer {
  min-height: 100vh;
  background: #faf8f4;
  border-top: 1px solid #e5ddd4;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-height: 100vh;
}

.footer-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.8rem;
  color: #3b1a23;
}

.footer-rule {
  width: 1px;
  background:#887B9A;
  height: 4rem;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 260px;
}

.footer-label {
  font-family: "Public Sans", sans-serif;
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #887B9A;
  margin-bottom: 0.2rem;
}

.footer-name {
  font-family: "Public Sans", sans-serif;
  font-size: 0.9rem;
  color: #3f2a2f;
  line-height: 1.4;
}


/* ============================================================================
   MAP CONTROLS + LEGEND
   ========================================================================== */

.map-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(239, 237, 233, 0.96); /* matches card tone */
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.4;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-controls-label {
  font-weight: 600;
  color: #3b1a23;
}

.map-controls-select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: #fff;
  cursor: pointer;
}

/* Legend container */

.color-legend {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(239, 237, 233, 0.96);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.4;
  z-index: 1000;
  opacity: 0.95;
}

.color-legend-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #3b1a23;
}

.color-legend-rows {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Legend rows + swatches */

.legend-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-swatch-zero {
  background: #d9d9d9;
}

.legend-label {
  white-space: nowrap;
}


/* ============================================================================
   STICKY UP ARROW
   ========================================================================== */

.sticky-up-arrow{
  position: fixed; right: 32px; bottom: 32px; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #d0d0d0; background: rgba(248,248,247,.75); border-radius: 50%;
  width: 54px; height: 54px; padding: 10px; cursor: pointer; color: #1d2328; font-size: 32px;
  opacity: 0; pointer-events: none; transition: all .15s ease; box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.sticky-up-arrow.visible{ opacity: .7; pointer-events: auto; }
.sticky-up-arrow:hover{ opacity: 1; transform: translateY(-2px); }


/* ============================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 900px) {
  body {
    padding-inline: 0;
  }

  /* ── Hero ── */
  .hero-intro {
    min-height: 100svh;
    padding-top: 5rem;
    padding-bottom: 2rem;
    justify-content: flex-start;
  }
  .hero-intro-inner {
    padding-inline: 1.5rem;
    margin: 0 auto;
    max-width: 480px;
  }
  .hero-title {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-scroll {
    width: 40px;
    height: 40px;
  }

  /* ── Rules divider ── */
  .hero-rules {
    gap: 6px;
    padding-bottom: 3px;
  }

  /* ── Site body ── */
  .site-body {
    padding-top: 3vh;
  }

  /* ── Sticky up arrow ── */
  .sticky-up-arrow {
    display: none !important;
  }

  /* ── Two-col layout ── */
  .two-col {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    align-items: stretch;
  }

  /* ── Sticky viz ── */
  .viz-wrap {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #EFEDE9;
    border-radius: 0;
    box-shadow: none;
  }
  figure.graphic,
  .graphic {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    padding: 24px 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .graphic .sticky-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 0;
  }
  #chart-title {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 0.35rem;
    text-align: left;
  }
  .subtitle {
    font-size: 14px;
    margin: 0 0 0.45rem;
  }
  .subtitle-little {
    font-size: 12px;
    margin: 0 0 0.75rem;
  }
  #viz {
    width: 100%;
    height: 55vh;
    min-height: 260px;
    display: block;
  }
  .methodology-link,
  .methodology-btn,
  .fine-note {
    top: 10px;
    transform: scale(0.8);
  }
  .fine-note {
    right: 10px;
  }

  /* ── Map on mobile ── */
  .graphic.map-mode {
    height: 100vh;
  }
  .map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 8px);
    overflow: hidden;
  }
  #map {
    width: 100%;
    height: 100%;
  }
  .map-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 8px 10px;
    font-size: 11px;
  }
  .map-controls-select {
    width: 100%;
  }
  .color-legend {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 8px;
    padding: 6px 8px;
  }
  .color-legend-rows {
    gap: 6px;
  }
  .legend-label {
    font-size: 10px;
  }

  /* ── Steps / narrative ── */
  .steps {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-top: calc(100vh - 10px);
  }
  .steps::after {
    content: "";
    display: block;
    height: 20vh;
  }
  .step {
    margin: 60vh 5%;
    max-width: 90%;
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(2px);
    padding: 1.4rem 1.2rem;
    text-align: left;
    font-size: 0.95rem;
  }
  .step:has(+ .horror-stats-section) {
    margin-bottom: 1.5rem;
  }
  .horror-stats-section {
    width: 90%;
    margin: 0.75rem auto 120vh;
    padding-inline: 0;
    text-align: left;
  }
  .horror-stats-section p {
    font-size: 12px;
  }

  /* ── Poster sections on mobile: show but single column ── */
  .movie-posters-section {
    width: 90%;
    margin: 0 auto 2rem;
    padding-inline: 0;
  }
  .posters-grid {
    flex-direction: column;
    gap: 14px;
  }
  .movie-poster-item {
    width: 100%;
    max-width: 160px;
  }
  .posters-title,
  .posters-subtitle {
    font-size: 13px;
  }

  /* ── Poster wall ── */
  #poster-wall {
    align-items: flex-start;
  }
  .poster-wall-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 4px !important;
    grid-auto-rows: 1fr !important;
    align-items: start !important;
  }
  .poster-wall-grid img.poster {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
  }

  /* ── Footer ── */
  .footer {
    position: relative;
    z-index: 30;
  }
  .footer-inner {
    min-height: 50vh;
    flex-direction: column;
    gap: 1.5rem;
    padding-inline: 5%;
    align-items: flex-start;
  }
  .footer-title {
    font-size: 2rem;
    text-align: left;
  }
  .footer-credits {
    min-width: unset;
    width: 100%;
    text-align: left;
  }
  .footer-rule {
    display: none;
  }

  /* ── Methodology modal ── */
  .methodology-modal-box {
    padding: 20px 16px;
    max-height: 90vh;
  }
  .methodology-modal-box h3 {
    font-size: 18px;
  }
  .methodology-modal-box p {
    font-size: 14px;
  }

  /* ── Supergroup title ── */
  .supergroup-title {
    font-size: 14px;
  }
}