/* Style: kitbash pack "neon-flood-pill-bands" (tokens, fonts and rules), restyled for story cards. */
@import url("https://fonts.googleapis.com/css2?family=Righteous&family=Lexend:wght@300;400;600&family=Lexend+Exa:wght@400;500&family=Permanent+Marker&display=swap");

:root {
  --ink: #000000;
  --paper: #ffffff;
  --pill-grey: #ececec;
  --flood-pink: #f91592;
  --flood-cyan: #66c0c6;
  --flood-olive: #a49936;
  --flood-magenta: #ff00ff;
  --flood-yellow: #ffff00;
  --signal-red: #ff0000;
  --signal-green: #00ff00;
  --signal-violet: #8a2be2;

  --font-display: "Righteous", "Trebuchet MS", sans-serif;
  --font-body: "Lexend", system-ui, sans-serif;
  --font-wide: "Lexend Exa", "Lexend", sans-serif;
  --font-hand: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
  --text-s: 14px;
  --text-m: 16px;
  --text-l: clamp(20px, 2.2vw, 30px);
  --display-m: clamp(40px, 6vw, 80px);
  --display-l: clamp(64px, 18vw, 150px);
  --track-body: 0.03em;

  --edge: clamp(16px, 4vw, 28px);
  --space-xs: 6px;
  --space-s: 12px;
  --space-m: 20px;
  --space-l: 32px;
  --section-space: clamp(40px, 6vw, 80px);

  --radius-pill: 100px;
  --radius-chip: 0px;
  --tap: 44px;

  --ease: ease;
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
  --quick: 300ms;
  --slow: 500ms;
  --drift: 30s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font: 400 16px/1.35 var(--font-body);
  letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
button { font: inherit; }

/* Shared parts */

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.6em 1.2em;
  border: 0;
  border-radius: var(--radius-chip);
  font-family: var(--font-wide);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease), transform var(--slow) var(--ease-out);
}
.chip--green { background: var(--signal-green); color: var(--ink); }
.chip--black { background: var(--ink); color: var(--signal-green); }
.chip--white { background: var(--paper); color: var(--ink); }
.chip--white:hover, .chip--white:focus-visible { background: var(--ink); color: var(--paper); }
.chip--off { background: #2a2a2a; color: #8d8d8d; cursor: not-allowed; }
.chip--green:hover, .chip--green:focus-visible { background: var(--flood-pink); }
.chip--black:hover, .chip--black:focus-visible { background: var(--signal-green); color: var(--ink); }
.chip:not(:disabled):active { transform: rotate(-2deg) scale(0.97); }
:focus-visible { outline: 3px solid var(--signal-green); outline-offset: 3px; }

.pill {
  display: inline-block;
  margin: 0;
  padding: 0.45em 1em;
  border-radius: var(--radius-pill);
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill--black { background: var(--ink); color: var(--signal-green); }

.sticker {
  position: absolute;
  color: var(--signal-green);
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 56px);
  line-height: 1;
  pointer-events: none;
  animation: bob 1.6s ease-in-out infinite alternate;
}
@keyframes bob {
  from { transform: translateY(0) rotate(-6deg); }
  to { transform: translateY(-10px) rotate(5deg); }
}

.band { padding: var(--section-space) var(--edge); }
.band > * { max-width: 760px; margin-inline: auto; }
.band--pink { background: var(--flood-pink); }
.band--black { background: var(--ink); color: var(--paper); }
.band--yellow { background: var(--flood-yellow); }

/* Landing */

.hero { position: relative; overflow: hidden; text-align: center; padding-bottom: var(--space-l); }
.hero .sticker--tilt { top: 18px; right: 7%; }
.hero__title {
  margin: var(--space-m) auto var(--space-m);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--display-l);
  line-height: 0.92;
  letter-spacing: 0;
}
.hero__pitch {
  max-width: 30ch;
  margin: 0 auto var(--space-l);
  font-size: clamp(18px, 4.6vw, 24px);
  font-weight: 600;
  line-height: 1.25;
}
.ticker { max-width: none; margin-inline: calc(var(--edge) * -1); overflow: hidden; }
.ticker__track {
  display: flex;
  gap: 0.6em;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 84px);
  line-height: 1.1;
  color: var(--signal-violet);
  animation: drift var(--drift) linear infinite;
}
.ticker__track span:nth-child(even) { color: var(--signal-green); }
@keyframes drift { to { transform: translateX(-50%); } }

.ways { display: grid; gap: var(--space-m); }
.ways > * { width: 100%; }
.ways__title {
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--display-m);
  line-height: 1;
  text-align: center;
  color: var(--flood-pink);
}
.ways__demo { min-height: 72px; font-size: 20px; }
.ways__note { margin: -8px auto 0; color: #bdbdbd; font-size: var(--text-s); text-align: center; }

.drop {
  position: relative;
  display: grid;
  gap: var(--space-s);
  padding: var(--space-l) var(--space-m);
  background: var(--flood-cyan);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  outline: 4px dashed transparent;
  outline-offset: -12px;
  transition: background-color var(--quick) var(--ease);
}
.drop.is-over { background: var(--signal-green); outline-color: var(--ink); }
.drop:focus-within { outline: 3px solid var(--signal-green); outline-offset: 3px; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop__title { font-family: var(--font-display); font-size: clamp(28px, 7vw, 44px); line-height: 1; }
.drop__hint { font-size: 15px; overflow-wrap: anywhere; }
.drop__how { font-size: var(--text-s); opacity: 0.8; }
.drop__button { justify-self: center; min-width: 200px; }

.soon { display: grid; gap: var(--space-m); }
.soon__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xs) var(--space-s);
}
.soon__row .chip { width: 100%; min-height: 48px; font-size: 16px; }
.soon__tag {
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--flood-pink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  transform: rotate(4deg);
}
.soon__why { grid-column: 1 / -1; margin: 0; color: #bdbdbd; font-size: var(--text-s); }

.privacy { text-align: center; }
.privacy__title {
  margin: 0 auto var(--space-s);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 7vw, 56px);
  line-height: 1;
  color: var(--signal-violet);
}
.privacy__text { max-width: 36ch; margin: 0 auto; font-size: 18px; font-weight: 600; }
.privacy__text + .privacy__text { margin-top: var(--space-s); }

.screens { display: grid; gap: var(--space-s); }
.drop--screens { background: var(--flood-magenta); }
.screens__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-s);
  margin: 0;
  padding: 0;
  list-style: none;
}
.screens__thumb { position: relative; aspect-ratio: 3 / 4; background: #1c1c1c; outline: 3px solid var(--signal-green); }
.screens__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screens__remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--ink);
  color: var(--signal-green);
  font-size: 26px;
}
.screens__remove:hover, .screens__remove:focus-visible { background: var(--flood-pink); color: var(--ink); }
.screens__limit { margin: 0; color: var(--flood-yellow); font-size: var(--text-s); }
.screens__limit:empty { display: none; }
.screens__go { min-height: 64px; font-size: 20px; }
.screens__note { margin: 0; color: #bdbdbd; font-size: var(--text-s); text-align: center; }

/* Loading */

.loading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-m);
  min-height: 100dvh;
  padding: var(--section-space) var(--edge);
  overflow: hidden;
  background: var(--flood-magenta);
  text-align: center;
}
.loading__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 14vw, 120px);
  line-height: 0.95;
  animation: pulse 1.2s ease-in-out infinite alternate;
}
@keyframes pulse { to { transform: scale(1.04) rotate(-1.5deg); } }
.loading__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-s);
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.loading__facts li {
  max-width: 100%;
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-family: var(--font-wide);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.loading__facts li b { font-family: var(--font-display); font-weight: 400; font-size: 1.3em; }
.loading__line {
  max-width: 26ch;
  min-height: 3.6em;
  margin: 0;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  transition: opacity var(--quick) var(--ease);
}
.loading__line.is-swapping { opacity: 0; }
.loading__timer { margin: 0; font-family: var(--font-wide); font-size: var(--text-s); }
.loading__sticker { right: 8%; bottom: 10%; color: var(--flood-yellow); }

/* Error */

.failure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-m);
  min-height: 100dvh;
  padding: var(--section-space) var(--edge);
  background: var(--signal-red);
  text-align: center;
}
.failure__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 14vw, 110px);
  line-height: 0.95;
}
.failure__message { max-width: 32ch; margin: 0; font-size: 20px; font-weight: 600; }
.failure .chip { min-width: 240px; }

/* Story viewer */

.story {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}
.story__frame {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  container-type: size;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}
.story__help { display: none; }

@media (min-width: 600px) {
  .story {
    background: repeating-linear-gradient(-45deg, #111 0 18px, #000 18px 36px);
  }
  .story__frame {
    width: auto;
    height: min(calc(100dvh - 72px), 900px);
    aspect-ratio: 9 / 16;
    outline: 4px solid var(--paper);
  }
  .story__help {
    display: block;
    margin: 14px 0 0;
    color: #bdbdbd;
    font-family: var(--font-wide);
    font-size: 13px;
  }
}

.story__bars {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 4px;
  padding: 10px 10px 0;
  pointer-events: none;
}
.story__bar { flex: 1; height: 5px; background: rgb(0 0 0 / 0.25); overflow: hidden; }
.story__bar-fill { width: 0; height: 100%; background: var(--card-ink, var(--ink)); }
.story__close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 6px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--card-ink, var(--ink));
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.story__stage { position: absolute; inset: 0; }

/* One card */

.card {
  --fit: 1;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 4cqh;
  padding: 76px 7cqw 7cqh;
  overflow: hidden;
  background: var(--card-bg);
  color: var(--card-ink);
  animation: card-in var(--slow) var(--ease-out);
}
@keyframes card-in { from { transform: scale(1.06) rotate(1.5deg); opacity: 0.4; } }

.card__kicker {
  align-self: flex-start;
  max-width: 100%;
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  background: var(--card-pill-bg);
  color: var(--card-pill-ink);
  font-family: var(--font-wide);
  font-size: calc(var(--fit) * clamp(12px, 3.6cqw, 17px));
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.card__stat {
  --line-fit: 1;
  margin: auto 0 0;
  font-family: var(--font-display);
  font-size: calc(var(--line-fit) * var(--fit) * 42cqw);
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--card-stat);
}
.card__headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(var(--fit) * 9.5cqw);
  line-height: 1.02;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
.card__body {
  margin: 0 0 auto;
  font-size: calc(var(--fit) * clamp(16px, 5.2cqw, 24px));
  font-weight: 600;
  line-height: 1.28;
  overflow-wrap: break-word;
}
.card__big {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(var(--fit) * 15cqw);
  line-height: 0.95;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
  color: var(--card-stat);
}
.card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
}
.card__facts li {
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--card-pill-bg);
  color: var(--card-pill-ink);
  font-family: var(--font-wide);
  font-size: calc(var(--fit) * clamp(12px, 3.6cqw, 16px));
}
.card__hint {
  margin: 0;
  font-family: var(--font-wide);
  font-size: 13px;
  opacity: 0.75;
}
.card__actions {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 12px;
  margin-bottom: auto;
}
.card__actions .chip { width: 100%; }

/* A roast card with a visual block: smaller stat and headline, the visual, then the body */

.card--visual { gap: 2.6cqh; }
.card--visual .card__stat { font-size: calc(var(--line-fit) * var(--fit) * 20cqw); }
.card--visual .card__headline { font-size: calc(var(--fit) * 7cqw); }
.card--visual .card__body { font-size: calc(var(--fit) * clamp(14px, 4.4cqw, 20px)); }

.visual { margin: 0; display: grid; gap: calc(var(--fit) * 1.4cqh); }
.visual__title {
  justify-self: start;
  max-width: 100%;
  font-family: var(--font-wide);
  font-size: calc(var(--fit) * clamp(11px, 3.2cqw, 15px));
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.visual ol, .visual ul { margin: 0; padding: 0; list-style: none; }

/* spectrum: a vertical scale from mild (top) to extreme (bottom) */
.spectrum { display: grid; gap: 0; border-left: 6px solid var(--card-ink); }
.spectrum__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: calc(var(--fit) * 0.9cqh) 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--card-ink) 30%, transparent);
  font-size: calc(var(--fit) * clamp(13px, 4cqw, 19px));
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  opacity: 0.72;
}
.spectrum__step:last-child { border-bottom: 0; }
.spectrum__step.is-you {
  margin-left: -6px;
  padding-block: calc(var(--fit) * 1.4cqh);
  background: var(--card-ink);
  color: var(--card-bg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(var(--fit) * clamp(16px, 5.4cqw, 26px));
  opacity: 1;
}
.spectrum__you {
  flex: none;
  padding: 0.2em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--card-stat);
  color: var(--card-ink);
  font-family: var(--font-wide);
  font-size: calc(var(--fit) * clamp(12px, 3.6cqw, 16px));
  text-transform: uppercase;
  transform: rotate(-4deg);
}

/* versus: two columns, the last line of the second is the punchline */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.versus__column { display: grid; align-content: start; gap: 6px; min-width: 0; }
.versus__group {
  justify-self: start;
  max-width: 100%;
  margin: 0;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--card-pill-bg);
  color: var(--card-pill-ink);
  font-family: var(--font-wide);
  font-size: calc(var(--fit) * clamp(11px, 3.3cqw, 15px));
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.versus__list { display: grid; gap: 4px; }
.versus__item {
  padding: calc(var(--fit) * 0.6cqh) 0;
  border-bottom: 2px solid color-mix(in srgb, var(--card-ink) 30%, transparent);
  font-size: calc(var(--fit) * clamp(12px, 3.8cqw, 18px));
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.versus__item.is-punchline {
  margin-top: 4px;
  padding: 0.4em 0.5em;
  border: 0;
  background: var(--card-ink);
  color: var(--card-bg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(var(--fit) * clamp(14px, 4.6cqw, 22px));
  transform: rotate(-2deg);
}

/* kit: a grid of tiles, the last one is the confession */
.kit { display: grid; grid-template-columns: repeat(var(--kit-columns, 2), minmax(0, 1fr)); gap: 6px; }
.kit__tile {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: calc(var(--fit) * 1cqh) 6px;
  background: color-mix(in srgb, var(--card-ink) 12%, transparent);
  outline: 2px solid var(--card-ink);
  outline-offset: -2px;
}
.kit__emoji { font-size: calc(var(--fit) * clamp(22px, 8cqw, 40px)); line-height: 1.1; }
.kit__name {
  font-family: var(--font-display);
  font-size: calc(var(--fit) * clamp(13px, 4cqw, 19px));
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.kit__note {
  font-size: calc(var(--fit) * clamp(10px, 3cqw, 14px));
  line-height: 1.15;
  opacity: 0.8;
  overflow-wrap: anywhere;
}
.kit__tile.is-confession {
  background: var(--card-ink);
  color: var(--card-bg);
  outline: 3px dashed var(--card-stat);
  outline-offset: -5px;
  transform: rotate(-2deg);
}
.kit__tile.is-confession .kit__note { opacity: 1; }

/* bars: real counts as horizontal bars */
.bars { display: grid; gap: calc(var(--fit) * 1cqh); }
.bars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  font-size: calc(var(--fit) * clamp(12px, 3.8cqw, 18px));
  font-weight: 600;
  line-height: 1.15;
}
.bars__label { min-width: 0; overflow-wrap: anywhere; }
.bars__value { font-family: var(--font-display); font-weight: 400; font-size: 1.2em; }
.bars__track { grid-column: 1 / -1; height: calc(var(--fit) * 1.6cqh); min-height: 8px; background: color-mix(in srgb, var(--card-ink) 18%, transparent); }
.bars__fill { display: block; height: 100%; background: var(--card-ink); }
.bars__row:first-child .bars__fill { background: var(--card-stat); outline: 2px solid var(--card-ink); outline-offset: -2px; }

/* Band art: logos recoloured to a flat silhouette (any source colour), photos as stickers, cut-outs off the edge */

.card__marquee {
  display: flex;
  align-items: center;
  gap: 4cqw;
  min-width: 0;
}
.card__marquee:empty { display: none; }
.art__logo {
  flex: 1 1 0;
  min-width: 0;
  height: calc(var(--fit) * 16cqh);
  object-fit: contain;
  object-position: left center;
  filter: var(--logo-ink) var(--logo-shadow);
  transform: rotate(-4deg);
}
.card--visual .art__logo { height: calc(var(--fit) * 8.5cqh); }
.art__sticker {
  position: relative;
  flex: none;
  width: calc(var(--fit) * 36cqw);
  aspect-ratio: 1;
  margin-left: auto;
  transform: rotate(5deg);
}
.card--visual .art__sticker { width: calc(var(--fit) * 22cqw); }
.art__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: calc(var(--fit) * 1.8cqw) solid var(--paper);
  background: var(--paper);
  box-shadow: 1.4cqw 1.8cqw 0 rgb(0 0 0 / 0.35);
}
.art__circle { position: absolute; left: -16%; top: -14%; width: 132%; height: 128%; }
.art__arrow {
  position: absolute;
  right: 104%;
  top: -6%;
  width: calc(var(--fit) * 30cqw);
  transform: rotate(8deg);
}
/* The floor: free space at the card bottom, bled to the edges. Sizes inside use the floor's own cq units. */
.floor {
  position: relative;
  flex: 1 1 0;
  min-height: calc(var(--fit) * 22cqh);
  margin-inline: -7cqw;
  container-type: size;
  overflow: clip;
}
.card:has(> .floor:last-child) { padding-bottom: 0; }
.card:has(> .floor) .card__body { margin-bottom: 0; }
.floor .art__cutout {
  position: absolute;
  right: -2cqw;
  bottom: 0;
  height: 100%;
  max-width: 78%;
  object-fit: contain;
  object-position: right bottom;
  filter: var(--cutout-edge);
}
.floor__props { position: absolute; inset: 0; }
.has-figure .floor__props { right: 45%; }

.prop {
  position: absolute;
  display: grid;
  justify-items: center;
  margin: 0;
  width: min(29cqw, 52cqh);
  transform: rotate(var(--tilt));
}
.has-figure .prop { width: min(56cqw, 44cqh); }
.prop:nth-child(1) { --tilt: -7deg; left: 6cqw; top: 6cqh; }
.prop:nth-child(2) { --tilt: 5deg; left: 37cqw; top: 24cqh; }
.prop:nth-child(3) { --tilt: -3deg; left: 68cqw; top: 3cqh; }
.has-figure .prop:nth-child(2) { left: 30cqw; top: 40cqh; }
.has-figure .prop:nth-child(3) { left: 4cqw; top: 52cqh; }
.prop__pic { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.prop--photo .prop__pic {
  object-fit: cover;
  border: 1.6cqw solid var(--paper);
  background: var(--paper);
  box-shadow: 1cqw 1.4cqw 0 rgb(0 0 0 / 0.35);
}
.prop--logo .prop__pic { filter: var(--logo-ink) var(--logo-shadow); }
.prop--cutout .prop__pic { filter: var(--cutout-edge); }
.prop__caption {
  max-width: 150%;
  margin-top: -1.5em;
  padding: 0.15em 0.5em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(11px, 9cqh, 18px);
  line-height: 1.1;
  text-align: center;
  transform: rotate(calc(var(--tilt) * -1.4));
  box-shadow: 0.5cqw 0.6cqw 0 rgb(0 0 0 / 0.3);
  overflow-wrap: break-word;
}
.prop__x { position: absolute; left: 8%; top: 4%; width: 84%; height: 58%; }
.prop__arrow { position: absolute; right: 70%; top: -14%; width: 70%; transform: rotate(-12deg); }

/* The title card collage */
.collage {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}
.card:has(> .collage:last-child) { padding-bottom: 0; }
.card:has(> .collage) .card__facts { margin-bottom: 0; }
.collage__logos { position: relative; flex: 1.2 1 0; min-height: calc(var(--fit) * 16cqh); margin-inline: -7cqw; container-type: size; }
.collage__logo {
  position: absolute;
  width: min(74cqw, 110cqh);
  height: min(29cqw, 42cqh);
  object-fit: contain;
  filter: var(--logo-ink) var(--logo-shadow);
}
.collage__logo:nth-child(1) { left: 5cqw; top: 4cqh; transform: rotate(-9deg); }
.collage__logo:nth-child(2) { right: 2cqw; top: 30cqh; transform: rotate(7deg); }
.collage__logo:nth-child(3) { left: 4cqw; top: 58cqh; transform: rotate(-3deg); }
.collage .floor { margin-bottom: 0; }

/* Hand-drawn red marker props */
.scribble { overflow: visible; pointer-events: none; }
.scribble__stroke {
  fill: none;
  stroke: var(--signal-red);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 520ms 380ms var(--ease-out) forwards;
}
.scribble__stroke--rough { stroke-width: 2.5; opacity: 0.75; animation-delay: 460ms; }
.scribble--x .scribble__stroke { stroke-width: 9; }
.scribble--x .scribble__stroke--rough { stroke-width: 3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.theme-7 .scribble__stroke { stroke: var(--paper); }

/* Pictures inside visual blocks */

.kit__tile { position: relative; }
.kit__tile:has(.kit__frame) .kit__emoji { display: none; }
.kit__frame { position: relative; display: block; height: calc(var(--fit) * 9cqh); margin-bottom: 4px; }
.kit__pic { display: block; width: 100%; height: 100%; object-fit: contain; }
.kit__frame--photo .kit__pic {
  width: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: calc(var(--fit) * 1.2cqw) solid var(--paper);
  background: var(--paper);
  box-shadow: 0.8cqw 1cqw 0 rgb(0 0 0 / 0.35);
  transform: rotate(-5deg);
}
.kit__tile:nth-child(even) .kit__frame--photo .kit__pic { transform: rotate(4deg); }
.kit__frame--logo { transform: rotate(-3deg); }
.kit__frame--logo .kit__pic { filter: var(--logo-ink); }
.kit__tile.is-confession .kit__frame--logo .kit__pic { filter: var(--logo-on-ink); }
.kit__frame--cutout .kit__pic { filter: var(--cutout-edge); }
.kit__x { position: absolute; inset: -8% -4%; width: 108%; height: 116%; }
.kit__circle { position: absolute; left: -12%; top: -10%; width: 124%; height: 120%; }
.kit__tile:has(.kit__frame) .kit__circle { display: none; }

.versus__item { display: flex; align-items: center; gap: 2cqw; }
.versus__text { min-width: 0; }
.versus__pic {
  flex: none;
  width: calc(var(--fit) * 11cqw);
  aspect-ratio: 1;
  object-fit: cover;
  border: calc(var(--fit) * 0.9cqw) solid var(--paper);
  background: var(--paper);
  box-shadow: 0.6cqw 0.8cqw 0 rgb(0 0 0 / 0.35);
  transform: rotate(-6deg);
}
.versus__item:nth-child(even) .versus__pic { transform: rotate(5deg); }
.versus__pic--logo { width: calc(var(--fit) * 16cqw); aspect-ratio: 5 / 2; border: 0; background: none; box-shadow: none; object-fit: contain; filter: var(--logo-ink); }
.versus__pic--cutout { border: 0; background: none; box-shadow: none; object-fit: contain; filter: var(--cutout-edge); }
.versus__item.is-punchline { position: relative; }
.versus__circle { position: absolute; left: -9%; top: -26%; width: 118%; height: 152%; }

.spectrum__step.is-you { position: relative; }
.spectrum__arrow {
  position: absolute;
  z-index: 2;
  right: calc(var(--fit) * 17cqw);
  bottom: 62%;
  width: calc(var(--fit) * 24cqw);
}
.spectrum__step.is-first .spectrum__arrow { bottom: auto; top: 62%; transform: scaleY(-1); }

.bars__label { display: flex; align-items: center; gap: 2cqw; }
.bars__name { min-width: 0; }
.bars__pic { flex: none; height: 1.5em; max-width: 24cqw; object-fit: contain; }
.bars__pic--logo { filter: var(--logo-ink); }
.bars__pic--photo { width: 1.7em; height: 1.7em; object-fit: cover; border: 2px solid var(--paper); transform: rotate(-5deg); }
.bars__pic--cutout { filter: var(--cutout-edge); }

/* Colour combinations, one per card in turn */

.theme-0 { --card-bg: var(--flood-pink); --card-ink: var(--ink); --card-stat: var(--ink); --card-pill-bg: var(--ink); --card-pill-ink: var(--signal-green); --logo-ink: brightness(0) invert(1); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 #000); --logo-on-ink: brightness(0) invert(1); }
.theme-1 { --card-bg: var(--flood-yellow); --card-ink: var(--ink); --card-stat: var(--signal-violet); --card-pill-bg: var(--signal-red); --card-pill-ink: var(--ink); --logo-ink: brightness(0); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 var(--signal-violet)); --logo-on-ink: brightness(0) invert(1); }
.theme-2 { --card-bg: var(--signal-green); --card-ink: var(--ink); --card-stat: var(--flood-pink); --card-pill-bg: var(--ink); --card-pill-ink: var(--flood-pink); --logo-ink: brightness(0); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 var(--flood-pink)); --logo-on-ink: brightness(0) invert(1); }
.theme-3 { --card-bg: var(--ink); --card-ink: var(--paper); --card-stat: var(--signal-green); --card-pill-bg: var(--flood-pink); --card-pill-ink: var(--ink); --logo-ink: brightness(0) invert(1); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 var(--flood-pink)); --logo-on-ink: brightness(0); }
.theme-4 { --card-bg: var(--flood-cyan); --card-ink: var(--ink); --card-stat: var(--signal-red); --card-pill-bg: var(--paper); --card-pill-ink: var(--ink); --logo-ink: brightness(0); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 var(--signal-red)); --logo-on-ink: brightness(0) invert(1); }
.theme-5 { --card-bg: var(--signal-violet); --card-ink: var(--paper); --card-stat: var(--flood-yellow); --card-pill-bg: var(--signal-green); --card-pill-ink: var(--ink); --logo-ink: brightness(0) invert(1); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 #000); --logo-on-ink: brightness(0); }
.theme-6 { --card-bg: var(--flood-magenta); --card-ink: var(--ink); --card-stat: var(--ink); --card-pill-bg: var(--flood-yellow); --card-pill-ink: var(--ink); --logo-ink: brightness(0); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 var(--flood-yellow)); --logo-on-ink: brightness(0) invert(1); }
.theme-7 { --card-bg: var(--signal-red); --card-ink: var(--ink); --card-stat: var(--flood-yellow); --card-pill-bg: var(--ink); --card-pill-ink: var(--flood-yellow); --logo-ink: brightness(0) invert(1); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 #000); --logo-on-ink: brightness(0) invert(1); }
.theme-8 { --card-bg: var(--flood-olive); --card-ink: var(--ink); --card-stat: var(--paper); --card-pill-bg: var(--flood-magenta); --card-pill-ink: var(--ink); --logo-ink: brightness(0) invert(1); --logo-shadow: drop-shadow(1.4cqw 1.4cqw 0 #000); --logo-on-ink: brightness(0) invert(1); }
.story__frame { --cutout-edge: drop-shadow(0.7cqw 0 0 #fff) drop-shadow(-0.7cqw 0 0 #fff) drop-shadow(0 -0.7cqw 0 #fff) drop-shadow(1.6cqw 1.2cqw 0 rgb(0 0 0 / 0.4)); }
.story__bar { background: color-mix(in srgb, var(--card-ink, var(--ink)) 25%, transparent); }

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