/*
  Five Voices hero (prototype).
  Layout positions are computed in assets/js/hero-voices.js; this file owns each voice's look.
*/

.voices {
  --voices-strip: 64px;
  --voices-pad: max(16px, 3.5vw);
  --voices-ease: cubic-bezier(.7, 0, .2, 1);
  --voices-mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --voices-gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
  position: relative;
  height: clamp(620px, calc(100svh - 69px), 940px);
  overflow: hidden;
  isolation: isolate;
  background: var(--index-paper);
  transition: background-color 1.1s ease;
}

.voices[data-voice="trust"] {
  --voices-ease: cubic-bezier(.16, 1, .3, 1);
  background: #f7f6f2;
}

.voices[data-voice="narrative"] {
  --voices-ease: cubic-bezier(.22, 1, .36, 1);
  background: #e6dcc8;
}

/* Impact cuts in: no background fade either. */
.voices[data-voice="impact"] {
  background: #121212;
  transition: none;
}

.voices[data-voice="experience"] {
  --voices-ease: cubic-bezier(.16, 1, .3, 1);
  background-color: #0b1517;
  background-image: radial-gradient(ellipse at 72% 38%, rgba(96, 178, 164, .26), transparent 62%);
}

/* Lighter than the bars so they read as bars while they close in. */
.voices[data-voice="worldbuilding"] {
  --voices-ease: cubic-bezier(.45, 0, .2, 1);
  background: #1a1a1a;
}

.voices__stage {
  position: absolute;
  inset: 0 0 var(--voices-strip) 0;
  perspective: 1800px;
}

/* ---------- screens ---------- */

.voices__screen {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  box-sizing: border-box;
  opacity: 0;
  background: #e2ded4;
  color: var(--index-ink);
  text-decoration: none;
  transform-origin: 50% 50%;
  transition-property: transform, opacity, height, box-shadow, border-color;
  transition-timing-function: var(--voices-ease);
  box-shadow: 0 2px 6px rgba(16, 19, 15, .14);
  will-change: transform, opacity;
}

.voices__shot {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.voices__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  transition: transform .9s var(--voices-ease);
}

.voices[data-voice="scatter"] .voices__screen {
  box-shadow: 0 40px 70px rgba(16, 19, 15, .28);
}

.voices[data-voice="trust"] .voices__screen.is-active {
  outline: calc(1px / var(--s, 1)) solid rgba(16, 19, 15, .3);
  box-shadow: none;
}

.voices[data-voice="narrative"] .voices__screen.is-active {
  border: calc(7px / var(--s, 1)) solid #fffcf5;
  box-shadow: 0 calc(18px / var(--s, 1)) calc(40px / var(--s, 1)) rgba(70, 48, 14, .26);
}

.voices__caption {
  position: absolute;
  top: 100%;
  right: var(--cap-right, 0px);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3em .7em;
  margin-top: calc(10px / var(--s, 1));
  font-size: calc(12px / var(--s, 1));
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.voices__caption em {
  min-width: 0;
  overflow: hidden;
  color: #6a7069;
  font-style: normal;
  text-overflow: ellipsis;
}

.voices__screen.is-active .voices__caption {
  opacity: 1;
  transition-delay: 1.1s;
}

/* Caption above the screen, for layouts where the next screen overlaps this one's foot. */
.voices__screen.is-cap-top .voices__caption {
  top: auto;
  bottom: 100%;
  margin: 0 0 calc(10px / var(--s, 1));
}

.voices[data-voice="trust"] .voices__caption {
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
}

.voices[data-voice="trust"] .voices__caption b {
  color: var(--index-green);
}

.voices[data-voice="narrative"] .voices__caption {
  margin-top: calc(12px / var(--s, 1));
  color: #5a4a2f;
  font-family: Georgia, var(--voices-mincho);
  font-size: calc(13px / var(--s, 1));
  font-style: italic;
}

.voices[data-voice="narrative"] .voices__caption b {
  font-weight: 400;
}

.voices[data-voice="narrative"] .voices__screen.is-bleed {
  border: 0;
  box-shadow: none;
}

.voices[data-voice="narrative"] .is-bleed .voices__caption {
  left: calc(28px / var(--s, 1));
}

.voices[data-voice="narrative"] .voices__caption b::before {
  content: "fig. ";
}

.voices[data-voice="narrative"] .voices__caption em {
  color: #8a7754;
}

/* ---------- map labels ---------- */

.voices__label {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  color: var(--index-green);
  font: 800 11px/1.2 var(--font-mono);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.voices__label b {
  color: var(--index-ink);
  font: 400 20px/1.2 var(--voices-mincho);
}

.voices[data-voice="matrix"] .voices__label {
  opacity: 1;
  transition-delay: calc(.55s + var(--row, 0) * .07s);
}

/* ---------- trust decor ---------- */

.voices__rules {
  position: absolute;
  border-top: 1px solid rgba(16, 19, 15, .38);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity .3s ease, clip-path 0s linear .3s;
  pointer-events: none;
}

.voices__rules span {
  position: absolute;
  top: 12px;
  color: #6a7069;
  font: 800 11px/1 var(--font-mono);
  text-transform: uppercase;
}

/* The bottom rule only runs under the screens, leaving the headline's corner open. */
.voices__rules::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: var(--rules-split, 0px);
  border-top: 1px solid rgba(16, 19, 15, .38);
  content: "";
}

.voices__rules span:first-child { left: 0; }
.voices__rules span:last-child { right: 0; }

.voices[data-voice="trust"] .voices__rules {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: opacity .2s ease .3s, clip-path 1.4s cubic-bezier(.65, 0, .25, 1) .3s;
}

/* ---------- narrative decor ---------- */

.voices__spread {
  position: absolute;
  background-color: #f8f2e6;
  box-shadow: 0 40px 70px -40px rgba(70, 48, 14, .45), 0 0 0 1px rgba(70, 48, 14, .08);
  opacity: 0;
  transform: translateY(28px) rotate(-.6deg);
  transition: opacity .5s ease, transform .6s ease;
  pointer-events: none;
}

.voices__spread[data-pages="2"] {
  background-image: linear-gradient(90deg, transparent calc(50% - 36px), rgba(70, 48, 14, .13) 50%, transparent calc(50% + 36px));
}

.voices[data-voice="narrative"] .voices__spread {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease .1s, transform 1.1s cubic-bezier(.22, 1, .36, 1) .1s;
}

.voices__folio {
  position: absolute;
  bottom: 16px;
  color: #9a8763;
  font: italic 13px/1 Georgia, serif;
}

.voices__folio--l { left: 28px; }
.voices__folio--r { right: 28px; }
.voices__spread[data-pages="1"] .voices__folio--r { display: none; }

.voices__lead {
  position: absolute;
  margin: 0;
  overflow: hidden;
  color: #4a3d26;
  font: 400 15px/2.1 var(--voices-mincho);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.voices__lead::first-letter {
  float: left;
  margin: .12em .18em 0 0;
  font-size: 3.1em;
  line-height: 1;
}

.voices__quote {
  position: absolute;
  margin: 0;
  overflow: hidden;
  color: #3b301c;
  font: 600 clamp(18px, 1.7vw, 26px)/1.6 var(--voices-mincho);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.voices__quote::before {
  display: block;
  width: 28px;
  margin-bottom: 14px;
  border-top: 1px solid #9a8763;
  content: "";
}

.voices[data-voice="narrative"] :is(.voices__lead, .voices__quote) {
  opacity: 1;
  transition: opacity .9s ease 1.2s;
}

/* ---------- impact ---------- */
/* Posters pasted over each other on a dark wall, cut in without any glide. */

.voices[data-voice="impact"] .voices__screen {
  box-shadow: 0 calc(24px / var(--s, 1)) calc(40px / var(--s, 1)) rgba(0, 0, 0, .55);
}

/* A strip of tape across each poster's top edge. */
.voices[data-voice="impact"] .voices__screen.is-active::after {
  position: absolute;
  top: calc(-11px / var(--s, 1));
  left: 50%;
  width: calc(84px / var(--s, 1));
  height: calc(24px / var(--s, 1));
  background: rgba(238, 236, 226, .72);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
}

.voices[data-voice="impact"] .voices__caption {
  right: auto;
  left: calc(-6px / var(--s, 1));
  margin-top: calc(-8px / var(--s, 1));
  padding: .45em .75em;
  background: #f2e93a;
  color: #111;
  font-family: var(--font-mono);
  font-size: calc(12px / var(--s, 1));
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-2deg);
  transition: none;
}

.voices[data-voice="impact"] .voices__caption em {
  color: #4c4a1c;
}

/* ---------- experience ---------- */
/* Glass panes standing at different depths; the pointer moves the vanishing point. */

.voices[data-voice="experience"] .voices__stage {
  perspective-origin: calc(50% - var(--px, 0) * 9%) calc(50% - var(--py, 0) * 7%);
  transition: perspective-origin 1.2s cubic-bezier(.2, .7, .2, 1);
}

.voices[data-voice="experience"] .voices__screen.is-active {
  padding: calc(9px / var(--s, 1));
  border: calc(1px / var(--s, 1)) solid rgba(255, 255, 255, .34);
  border-radius: calc(16px / var(--s, 1));
  background: rgba(214, 238, 232, .1);
  box-shadow: inset 0 calc(1px / var(--s, 1)) 0 rgba(255, 255, 255, .4), 0 calc(40px / var(--s, 1)) calc(80px / var(--s, 1)) rgba(0, 0, 0, .5);
  backdrop-filter: blur(calc(12px / var(--s, 1)));
}

.voices[data-voice="experience"] .voices__screen.is-active .voices__shot {
  border-radius: calc(8px / var(--s, 1));
}

.voices[data-voice="experience"] .voices__caption {
  justify-content: flex-end;
  color: rgba(226, 240, 236, .86);
  font-family: var(--voices-gothic);
  font-weight: 300;
  letter-spacing: .06em;
}

.voices[data-voice="experience"] .voices__caption b {
  color: #8fe3cf;
  font-weight: 600;
}

.voices[data-voice="experience"] .voices__caption em {
  color: rgba(226, 240, 236, .5);
}

/* Compact: a glass chip inside the pane's top edge. */
.voices[data-voice="experience"] .is-cap-in .voices__caption {
  top: 0;
  right: auto;
  margin: calc(16px / var(--s, 1));
  padding: .45em .8em;
  border: calc(1px / var(--s, 1)) solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(8, 20, 22, .62);
  backdrop-filter: blur(calc(8px / var(--s, 1)));
}

.voices__glass {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px -30px rgba(0, 0, 0, .6);
  opacity: 0;
  /* Soft enough that the headline behind it stays readable. */
  backdrop-filter: blur(1.5px) saturate(1.3);
  transform: translate3d(48px, 0, 0);
  transition: opacity .4s ease, transform .6s ease;
  pointer-events: none;
}

.voices[data-voice="experience"] .voices__glass {
  opacity: 1;
  transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 12px), 0);
  transition: opacity 1s ease .5s, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- worldbuilding ---------- */
/* A trailer: scope bars close in, each shot slowly pushes in, the headline runs as a subtitle under film grain. */

.voices__bars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.voices__bar {
  position: absolute;
  background: #000;
  transform: scaleY(0);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}

.voices__bar--top { transform-origin: 50% 0; }
.voices__bar--bottom { transform-origin: 50% 100%; }

.voices[data-voice="worldbuilding"] .voices__bar {
  transform: none;
  transition: transform 1.6s cubic-bezier(.65, 0, .2, 1) .2s;
}

.voices[data-voice="worldbuilding"] .voices__screen {
  background: #000;
  box-shadow: none;
}

.voices[data-voice="worldbuilding"] .voices__screen img {
  object-position: 50% 50%;
  /* An outgoing shot keeps its push-in until it has faded out. */
  transition: transform 0s linear 1.4s;
}

.voices[data-voice="worldbuilding"] .voices__screen.is-active img {
  transform: scale(1.12);
  transition: transform 9s linear;
}

.voices[data-voice="worldbuilding"] .voices__caption {
  justify-content: center;
  margin-top: calc(12px / var(--s, 1));
  color: rgba(255, 255, 255, .64);
  font-family: var(--voices-gothic);
  font-size: calc(11px / var(--s, 1));
  letter-spacing: .3em;
  text-transform: uppercase;
}

.voices[data-voice="worldbuilding"] .voices__caption b {
  font-weight: 400;
}

.voices[data-voice="worldbuilding"] .voices__caption em {
  color: rgba(255, 255, 255, .4);
}

.voices[data-voice="worldbuilding"] .voices__screen.is-active .voices__caption {
  transition-delay: .6s;
}

.voices__grain {
  position: absolute;
  inset: -60px;
  z-index: 40;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.voices[data-voice="worldbuilding"] .voices__grain {
  opacity: .55;
  animation: voices-grain .48s steps(1, end) infinite;
  transition: opacity 1s ease .8s;
}

@keyframes voices-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-23px, 14px); }
  40% { transform: translate(17px, -21px); }
  60% { transform: translate(-11px, -9px); }
  80% { transform: translate(25px, 19px); }
}

/* ---------- copy ---------- */
/* Headline selectors are prefixed with .voices so the per-voice rules below stay one step more specific. */

.voices__eyebrow {
  position: absolute;
  z-index: 3;
  top: var(--voices-pad);
  left: var(--voices-pad);
  margin: 0;
  color: var(--index-green);
  font: 800 12px/1.2 var(--font-mono);
  text-transform: uppercase;
  transition: opacity .26s ease;
}

.voices__eyebrow.is-swapping {
  opacity: 0;
}

.voices .voices__headline {
  position: absolute;
  z-index: 3;
  top: calc(var(--voices-pad) + 44px);
  left: var(--voices-pad);
  margin: 0;
  font-family: Georgia, var(--voices-mincho);
  /* Two lines of ~9.5 glyphs plus the side pad must stay left of the map, which starts at 40vw (from 860px up). */
  font-size: clamp(28px, 3.4vw, 60px);
  font-weight: 400;
  line-height: 1.28;
  white-space: nowrap;
  transition: opacity .8s ease .35s;
}

.voices .voices__glyph {
  display: inline-block;
  letter-spacing: inherit;
  transform-origin: 50% 50%;
}

.voices.is-ready[data-voice="scatter"] .voices__headline {
  opacity: 0;
  transition-delay: 0s;
}

.voices[data-voice="trust"] .voices__headline {
  top: auto;
  bottom: calc(var(--voices-strip) + var(--voices-pad) + 8px);
  font-family: var(--voices-mincho);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .06em;
}

.voices[data-voice="narrative"] .voices__headline {
  top: calc(var(--voices-pad) + 36px);
  right: var(--voices-pad);
  left: auto;
  max-width: none;
  max-height: calc(100% - var(--voices-strip) - var(--voices-pad) * 2 - 36px);
  font-family: var(--voices-mincho);
  /* One vertical column must fit the stage height: 9 glyphs x 1.14em of letter-spaced advance. */
  font-size: clamp(32px, min(4.3vw, 6.4svh), 70px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}

/* Huge enough to run off the stage; difference blending keeps it legible over the posters. */
.voices[data-voice="impact"] .voices__headline {
  top: calc(var(--voices-pad) + 22px);
  left: -.04em;
  color: #fff;
  font-family: var(--voices-gothic);
  font-size: min(12.4vw, 21svh);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.05em;
  mix-blend-mode: difference;
  transition: none;
}

.voices.is-cutting .voices__headline {
  opacity: 0;
}

/* A neon sign: the eyebrow glows and stutters. */
.voices[data-voice="impact"] .voices__eyebrow {
  color: #ff5ad9;
  text-shadow: 0 0 3px #ff5ad9, 0 0 12px rgba(255, 90, 217, .85), 0 0 26px rgba(255, 90, 217, .55);
  animation: voices-neon 4.6s steps(1, end) infinite;
}

/* The flicker animates opacity, which would override the fade while the eyebrow text swaps. */
.voices .voices__eyebrow.is-swapping {
  animation: none;
}

@keyframes voices-neon {
  0%, 100% { opacity: 1; }
  38% { opacity: .2; }
  40% { opacity: 1; }
  43% { opacity: .35; }
  45% { opacity: 1; }
  86% { opacity: .25; }
  88% { opacity: 1; }
}

/* Behind the glass: the headline sits under the stage and drifts against the plate in front of it. */
.voices[data-voice="experience"] .voices__headline {
  z-index: -1;
  top: calc(var(--voices-pad) + 64px);
  color: #e6f0ec;
  font-family: var(--voices-gothic);
  font-size: clamp(36px, 5vw, 84px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: .04em;
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -9px), 0);
  transition: opacity .8s ease .35s, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.voices[data-voice="experience"] .voices__eyebrow {
  color: #8fe3cf;
}

/* The subtitle's top comes from the frame layout in hero-voices.js (--voices-sub-y). */
.voices[data-voice="worldbuilding"] .voices__headline {
  top: var(--voices-sub-y, 70%);
  right: var(--voices-pad);
  left: var(--voices-pad);
  color: #fff;
  font-family: var(--voices-gothic);
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .08em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 16px rgba(0, 0, 0, .7);
}

.voices[data-voice="worldbuilding"] .voices__eyebrow {
  color: rgba(255, 255, 255, .62);
  letter-spacing: .2em;
}

/* ---------- ask strip ---------- */

.voices__ask {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: var(--voices-strip);
  align-items: center;
  gap: 18px;
  padding-inline: var(--voices-pad);
  border-top: 1px solid rgba(16, 19, 15, .16);
  background: color-mix(in srgb, var(--index-paper) 90%, transparent);
  backdrop-filter: blur(14px);
  transition: background-color .6s ease, border-color .6s ease;
}

/* Dark voices darken the strip with them. */
.voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) .voices__ask {
  border-top-color: rgba(255, 255, 255, .14);
  background: color-mix(in srgb, #0c0d0d 88%, transparent);
}

.voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) :is(.voices__ask > p, .voices__keys button, .voices__more) {
  color: #eceee8;
}

.voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) .voices__ask > p {
  color: #a9aea8;
}

.voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) .voices__keys button {
  border-color: rgba(255, 255, 255, .3);
}

.voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) .voices__keys button[aria-pressed="true"] {
  border-color: #eceee8;
  background: #eceee8;
  color: #0c0d0d;
}

.voices__ask > p {
  margin: 0;
  color: #515850;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.voices__keys {
  display: flex;
  gap: 6px;
}

.voices__keys button {
  min-width: 64px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(16, 19, 15, .32);
  border-radius: 999px;
  background: transparent;
  color: var(--index-ink);
  font: 600 15px/1 var(--voices-mincho);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.voices__keys button[aria-pressed="true"] {
  border-color: var(--index-ink);
  background: var(--index-ink);
  color: var(--index-paper);
}

.voices__keys button:disabled {
  border-style: dashed;
  opacity: .4;
  cursor: not-allowed;
}

.voices__more {
  margin-left: auto;
  color: var(--index-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.voices__more b {
  display: inline-block;
  color: var(--index-coral);
}

@media (hover: hover) and (pointer: fine) {
  .voices__keys button:not(:disabled):hover {
    border-color: var(--index-ink);
  }

  .voices:is([data-voice="impact"], [data-voice="experience"], [data-voice="worldbuilding"]) .voices__keys button:not(:disabled):hover {
    border-color: #eceee8;
  }

  .voices__more:hover {
    color: var(--index-green);
  }
}

.voices.is-resizing *,
.voices.is-resizing {
  transition: none !important;
}

/* ---------- compact ---------- */

@media (max-width: 859px) {
  .voices {
    --voices-strip: 104px;
    height: clamp(600px, calc(100svh - 69px), 860px);
  }

  .voices .voices__headline {
    right: var(--voices-pad);
    max-width: none;
    font-size: clamp(30px, 8.4vw, 46px);
    line-height: 1.3;
  }

  .voices[data-voice="trust"] .voices__headline {
    top: calc(var(--voices-pad) + 36px);
    bottom: auto;
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.6;
  }

  .voices[data-voice="narrative"] .voices__headline {
    font-size: clamp(26px, 7.2vw, 40px);
  }

  .voices[data-voice="impact"] .voices__headline {
    top: calc(var(--voices-pad) + 30px);
    right: auto;
    font-size: 12.8vw;
  }

  .voices[data-voice="experience"] .voices__headline {
    top: calc(var(--voices-pad) + 36px);
    font-size: clamp(30px, 8.4vw, 46px);
  }

  .voices[data-voice="worldbuilding"] .voices__headline {
    font-size: clamp(19px, 5.4vw, 26px);
  }

  /* Narrow posters and panes: number and name only, so the caption stays on one line. */
  .voices:is([data-voice="impact"], [data-voice="experience"]) .voices__caption em {
    display: none;
  }

  .voices__label b {
    font-size: 15px;
  }

  .voices__lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .voices__rules span:last-child {
    display: none;
  }

  .voices__ask {
    flex-wrap: wrap;
    align-content: center;
    gap: 10px 12px;
  }

  .voices__keys {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .voices__keys button {
    min-width: 0;
    flex: 1;
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voices,
  .voices * {
    transition: none !important;
    animation: none !important;
  }

  .voices[data-voice="worldbuilding"] .voices__screen.is-active img {
    transform: none;
  }
}
