:root {
  --void: #070318;
  --space: #12082f;
  --space-2: #20104d;
  --ink: #140820;
  --cream: #fff4c9;
  --paper: #fff7dc;
  --cyan: #21e8ff;
  --pink: #ff3bd4;
  --yellow: #ffe85b;
  --green: #6cff8f;
  --orange: #ff9a3d;
  --blue: #2d38ff;
  --red: #ff5252;
  --black: #030108;
  --max: 1180px;
  --display: 'Press Start 2P', 'Courier New', monospace;
  --mono: 'VT323', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--mono);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.22;
  background:
    radial-gradient(circle at 10% 8%, rgba(255,59,212,.42), transparent 22rem),
    radial-gradient(circle at 92% 0%, rgba(33,232,255,.32), transparent 24rem),
    radial-gradient(circle at 48% 82%, rgba(255,232,91,.16), transparent 30rem),
    linear-gradient(180deg, var(--void), var(--space) 45%, #05020f 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: auto -10vw -20vh -10vw;
  height: 62vh;
  pointer-events: none;
  z-index: -3;
  background:
    linear-gradient(rgba(33,232,255,.28) 2px, transparent 2px),
    linear-gradient(90deg, rgba(33,232,255,.22) 2px, transparent 2px);
  background-size: 54px 54px;
  transform: perspective(520px) rotateX(62deg) scale(1.5);
  transform-origin: bottom;
  filter: drop-shadow(0 0 12px rgba(33,232,255,.4));
  opacity: .8;
}

body::after {
  content: '';
  position: fixed;
  inset: 12px;
  pointer-events: none;
  z-index: 80;
  border: 3px solid rgba(255,244,201,.32);
  box-shadow: inset 0 0 28px rgba(33,232,255,.14), 0 0 20px rgba(255,59,212,.12);
}

.crt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.055), rgba(255,255,255,.055) 1px, transparent 1px, transparent 5px),
    radial-gradient(circle at center, transparent 56%, rgba(0,0,0,.28));
  mix-blend-mode: screen;
  opacity: .22;
}

.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,232,91,.95) 0 1px, transparent 1.5px),
    url('/static/background.png');
  background-size: 80px 80px, 132px 132px, 360px 360px;
  background-position: 0 0, 23px 48px, center;
  mix-blend-mode: screen;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute;
  top: -7rem;
  left: 1rem;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  border: 4px solid var(--ink);
  padding: .7rem 1rem;
  font-family: var(--display);
  font-size: .68rem;
  box-shadow: 6px 6px 0 var(--black);
}
.skip-link:focus { top: 1rem; }

.topbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  transform: rotate(-1deg);
  filter: drop-shadow(8px 8px 0 var(--black));
}

.brand-badge,
.brand-name {
  border: 4px solid var(--ink);
  display: grid;
  place-items: center;
}

.brand-badge {
  background: var(--pink);
  color: #fff;
  width: 86px;
  padding: 0 10px;
  font-family: var(--display);
  font-size: 14px;
  text-shadow: 2px 2px 0 var(--ink);
}

.brand-name {
  background: var(--yellow);
  padding: 12px 14px;
  font-family: var(--display);
  font-size: clamp(10px, 1.24vw, 16px);
  line-height: 1.25;
  letter-spacing: -.02em;
  border-left: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--cream);
  background: rgba(20,8,32,.78);
  border: 3px solid rgba(255,244,201,.58);
  box-shadow: 5px 5px 0 var(--black);
  padding: 13px 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(9px, .9vw, 13px);
  line-height: 1.2;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--ink);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--black);
}

.site-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 32px auto 112px;
}

.eyebrow,
.card-title,
.window-bar,
.button,
.bottom-console,
.show-arrow,
.show-month,
.show-place {
  font-family: var(--display);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--ink);
  background: var(--green);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--black);
  padding: 8px 11px;
  font-size: clamp(10px, 1.1vw, 14px);
  line-height: 1.25;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: stretch;
  min-height: 520px;
}

.hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,247,220,.95), rgba(255,247,220,.82)),
    radial-gradient(circle at 88% 14%, rgba(33,232,255,.75), transparent 20rem),
    radial-gradient(circle at 8% 100%, rgba(255,59,212,.52), transparent 22rem);
  color: var(--ink);
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--black), 0 0 0 4px rgba(255,255,255,.08);
  padding: clamp(24px, 5vw, 62px);
}

.hero-copy::before {
  content: 'FUN';
  position: absolute;
  right: -22px;
  bottom: -24px;
  z-index: -1;
  color: rgba(255,59,212,.16);
  font-family: var(--display);
  font-size: clamp(90px, 18vw, 220px);
  line-height: .8;
  transform: rotate(-5deg);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 6.2vw, 84px);
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  width: fit-content;
  padding: .06em .12em .05em;
  margin-bottom: .08em;
  color: var(--cream);
  background: var(--blue);
  border: 5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--black);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero-copy h1 span:nth-child(2) {
  background: var(--pink);
  transform: translateX(5%) rotate(1deg);
}
.hero-copy h1 span:nth-child(3) {
  background: var(--yellow);
  color: var(--ink);
  text-shadow: none;
  transform: translateX(12%) rotate(-1deg);
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
}

.narrow { max-width: 760px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--black);
  text-decoration: none;
  font-size: clamp(10px, 1.1vw, 14px);
  line-height: 1.2;
  text-transform: uppercase;
}
.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--black);
}
.button.secondary { background: var(--cyan); }
.button.primary { background: var(--yellow); }

.next-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px),
    var(--green);
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--black);
  padding: 24px;
  transform: rotate(1.5deg);
}

.card-title {
  align-self: center;
  color: var(--cream);
  background: var(--ink);
  padding: 8px 10px;
  font-size: 11px;
  margin-bottom: 14px;
}

.big-date {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 10vw, 132px);
  line-height: .85;
  letter-spacing: -.08em;
}

.month,
.venue {
  margin: 8px 0;
  font-size: clamp(28px, 3vw, 40px);
}
.next-card a {
  margin-top: 18px;
  display: inline-block;
  color: var(--cream);
  background: var(--ink);
  border: 4px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--display);
  font-size: 12px;
  text-decoration: none;
}

.poster-strip {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
  align-items: stretch;
}

.poster-window,
.about-window,
.page-shell,
.ticker-panel,
.social-card,
.experiment {
  color: var(--ink);
  background: var(--paper);
  border: 5px solid var(--ink);
  box-shadow: 12px 12px 0 var(--black);
}

.poster-window {
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.poster-window img {
  width: 100%;
  height: calc(100% - 44px);
  object-fit: cover;
  border-top: 0;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--cream);
  background: linear-gradient(90deg, var(--blue), #6526ff 52%, var(--pink));
  border-bottom: 5px solid var(--ink);
  font-size: clamp(9px, .95vw, 13px);
  line-height: 1.15;
}
.window-bar span {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--red);
  box-shadow: 2px 2px 0 rgba(0,0,0,.45);
}
.window-bar span:nth-child(2) { background: var(--yellow); }
.window-bar span:nth-child(3) { background: var(--green); }
.window-bar strong { margin-left: 4px; font-weight: normal; }

.window-body { padding: clamp(22px, 3.6vw, 42px); }
.about-window h2,
.page-title,
.ticker-panel h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.about-window p { margin: 0 0 18px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.mini-grid > div {
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(20,8,32,.25);
  padding: 14px;
}
.mini-grid strong { display: block; margin-bottom: 8px; }
.mini-grid p { margin: 0; font-size: .88em; }

.ticker-panel {
  margin-top: 34px;
  background: var(--ink);
  color: var(--green);
  padding: 28px;
  box-shadow: 12px 12px 0 var(--black), inset 0 0 24px rgba(108,255,143,.14);
}
.ticker-panel h2 {
  color: var(--yellow);
  font-size: clamp(16px, 2vw, 26px);
}
.ticker-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}
.ticker-lines p { margin: 0; }

.page-shell { overflow: hidden; }
.page-title { color: var(--ink); }

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.show-tile {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 190px;
  padding: 18px;
  color: var(--ink);
  background: var(--cyan);
  border: 5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--black);
  text-decoration: none;
  overflow: hidden;
}
.show-tile:nth-child(3n+2) { background: var(--yellow); }
.show-tile:nth-child(3n+3) { background: var(--pink); color: white; }
.show-tile::after {
  content: 'TICKET';
  position: absolute;
  right: -18px;
  bottom: 10px;
  font-family: var(--display);
  font-size: 22px;
  color: rgba(20,8,32,.16);
  transform: rotate(-90deg);
}
.show-tile:hover,
.show-tile:focus-visible { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--black); }
.show-day {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 82px);
  line-height: .9;
  letter-spacing: -.08em;
}
.show-month { font-size: 12px; line-height: 1.3; text-transform: uppercase; }
.show-place { font-size: 10px; line-height: 1.4; margin-top: auto; }
.show-arrow { font-size: 11px; text-transform: uppercase; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.social-card {
  padding: 24px;
  background: var(--cyan);
}
.social-card.acid { background: var(--pink); color: white; }
.social-card h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
}
.social-card p { margin: 0 0 18px; }

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.experiment {
  padding: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(20,8,32,.42);
}
.experiment:nth-child(2) { background: #e8ffff; }
.experiment:nth-child(3) { background: #fff2ff; }
.experiment h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.35;
}
.experiment p { margin: 0 0 12px; }
.experiment p:last-child { margin-bottom: 0; }
.centre { text-align: center; margin: 28px 0 0; }

.bottom-console {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  color: var(--cream);
  background: rgba(20,8,32,.95);
  border-top: 4px solid var(--cream);
  box-shadow: 0 -6px 0 var(--black);
  font-size: clamp(9px, 1vw, 13px);
  line-height: 1.2;
}
.bottom-console a,
.bottom-console span {
  flex: 0 0 auto;
  text-decoration: none;
  border: 3px solid rgba(255,244,201,.5);
  padding: 9px 10px;
  background: rgba(255,255,255,.05);
}
.bottom-console a { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* Compatibility for the earlier retro pass, in case an old template is mixed in. */
.site-header, .brand-lockup { width: min(var(--max), calc(100% - 32px)); margin: 22px auto 0; }
.mega-button, .ghost-button { display: inline-flex; padding: 15px 18px; color: var(--ink); background: var(--yellow); border: 4px solid var(--ink); box-shadow: 7px 7px 0 var(--black); text-decoration: none; font-family: var(--display); font-size: 12px; }

@media (max-width: 900px) {
  body::after { inset: 7px; }
  .topbar {
    flex-direction: column;
  }
  .brand { width: 100%; }
  .brand-name { flex: 1; }
  .nav { justify-content: stretch; }
  .nav a { flex: 1 1 calc(50% - 8px); text-align: center; }
  .hero,
  .poster-strip,
  .ticker-lines,
  .social-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
  .next-card { transform: none; }
  .poster-window { transform: none; }
  .poster-window img { height: auto; }
}

@media (max-width: 560px) {
  .site-main,
  .topbar { width: min(100% - 20px, var(--max)); }
  .site-main { margin-top: 20px; }
  .brand-badge { width: 68px; font-size: 10px; }
  .brand-name { font-size: 9px; padding: 10px; }
  .nav a { flex-basis: 100%; }
  .hero-copy,
  .window-body { padding: 20px; }
  .hero-copy h1 span { transform: none !important; }
  .hero-lede { font-size: 28px; }
  .mini-grid { grid-template-columns: 1fr; }
  .show-grid { grid-template-columns: 1fr; }
  .bottom-console { position: static; margin-top: -68px; flex-wrap: wrap; }
}

/* Cast carousel and cast cards */
.cast-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cast-stage {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(180deg, #08185c, #09103a 55%, #12082f 100%);
}

.cast-screen {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-bottom: 5px solid var(--ink);
  background:
    radial-gradient(circle at 50% 16%, rgba(255,59,212,.20), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(33,232,255,.14), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

.cast-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 2px, transparent 2px 5px);
  opacity: .18;
}

.cast-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(4%) scale(.98);
  transition: opacity .35s ease, transform .35s ease;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.cast-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.cast-slide img {
  width: min(100%, 410px);
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.45));
}

.cast-console {
  display: grid;
  gap: 16px;
  padding: 18px;
  color: var(--cream);
  background: rgba(8, 4, 24, .92);
}

.cast-meta {
  background: rgba(255,255,255,.04);
  border: 3px solid rgba(255,244,201,.28);
  padding: 16px;
}

.cast-kicker,
.cast-role,
.cast-card-label {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.25;
}

.cast-kicker {
  color: var(--yellow);
  font-size: 11px;
}

.cast-name {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.cast-role {
  color: var(--cyan);
  font-size: 10px;
}

.cast-flavour {
  margin: 12px 0 0;
  font-size: .9em;
  line-height: 1.1;
}

.cast-thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.cast-thumb {
  appearance: none;
  padding: 0;
  border: 3px solid rgba(255,244,201,.32);
  background: #0b1545;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0,0,0,.45);
}

.cast-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
}

.cast-thumb.is-active,
.cast-thumb:hover,
.cast-thumb:focus-visible {
  border-color: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,.45);
}

.cast-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cast-button {
  flex: 1 1 160px;
  min-height: 46px;
}

.cast-grid-shell {
  margin-top: 34px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.cast-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(20,8,32,.25);
  padding: 14px;
}

.cast-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
  border: 4px solid var(--ink);
  background: #102070;
}

.cast-card h3 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.25;
}

.cast-card p:last-child { margin-bottom: 0; }
.inline-cast { margin-top: 34px; }
.cast-grid.compact { margin-top: 18px; }
.cast-card.compact {
  grid-template-columns: 78px minmax(0, 1fr);
}
.cast-card.compact h3 { margin: 8px 0 0; font-size: 13px; }
.cast-card.compact p:last-child { margin: 0; }

.accent-cyan { background: linear-gradient(135deg, #ffffff, #eaffff); }
.accent-green { background: linear-gradient(135deg, #ffffff, #efffe8); }
.accent-pink { background: linear-gradient(135deg, #ffffff, #fff0fb); }
.accent-yellow { background: linear-gradient(135deg, #ffffff, #fff9df); }
.accent-orange { background: linear-gradient(135deg, #ffffff, #fff1e0); }

@media (max-width: 900px) {
  .cast-screen { min-height: 300px; }
}

@media (max-width: 700px) {
  .cast-card,
  .cast-card.compact {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cast-card img {
    width: min(180px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .cast-thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cast-screen {
    min-height: 260px;
  }
  .cast-console {
    padding: 14px;
  }
}

/* Cast card repair: v2
   The first pass made these horizontal, which collapses badly with chunky pixel text.
   These overrides turn them into proper vertical profile cards. */
body {
  padding-bottom: 86px;
}

.site-main {
  margin-bottom: 170px;
}

.cast-grid-shell .window-body {
  overflow: visible;
}

.cast-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  align-items: stretch;
  gap: 18px;
}

.cast-card,
.cast-card.compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  min-height: 100%;
  padding: 12px;
  overflow: hidden;
  text-align: left;
}

.cast-card img,
.cast-card.compact img {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  image-rendering: pixelated;
  border: 4px solid var(--ink);
  background: #102070;
}

.cast-card > div,
.cast-card.compact > div {
  min-width: 0;
}

.cast-card-label {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 6px 8px;
  color: var(--cream);
  background: var(--ink);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: -.04em;
  white-space: normal;
}

.cast-card h3,
.cast-card.compact h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.25;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.cast-card p,
.cast-card.compact p {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(21px, 1.65vw, 25px);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.cast-card p:not(.cast-card-label) {
  max-width: 22ch;
}

.cast-card.accent-cyan { box-shadow: 8px 8px 0 rgba(33,232,255,.25), 0 0 0 2px rgba(33,232,255,.25); }
.cast-card.accent-green { box-shadow: 8px 8px 0 rgba(108,255,143,.25), 0 0 0 2px rgba(108,255,143,.25); }
.cast-card.accent-pink { box-shadow: 8px 8px 0 rgba(255,59,212,.22), 0 0 0 2px rgba(255,59,212,.20); }
.cast-card.accent-yellow { box-shadow: 8px 8px 0 rgba(255,232,91,.25), 0 0 0 2px rgba(255,232,91,.20); }
.cast-card.accent-orange { box-shadow: 8px 8px 0 rgba(255,154,61,.25), 0 0 0 2px rgba(255,154,61,.20); }

@media (max-width: 760px) {
  .cast-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .cast-card p:not(.cast-card-label) {
    max-width: none;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 0;
  }
  .site-main {
    margin-bottom: 70px;
  }
  .cast-grid {
    grid-template-columns: 1fr;
  }
  .cast-card,
  .cast-card.compact {
    text-align: left;
  }
  .cast-card img,
  .cast-card.compact img {
    width: min(220px, 100%);
  }
}

/* Edinburgh Fringe promo */
.fringe-panel {
  margin-top: 34px;
  overflow: hidden;
  transform: rotate(.45deg);
}

.fringe-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 22px;
  align-items: stretch;
  padding: clamp(22px, 3.6vw, 40px);
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 10%, rgba(255,232,91,.42), transparent 15rem),
    radial-gradient(circle at 6% 100%, rgba(255,59,212,.24), transparent 18rem),
    var(--paper);
}

.fringe-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.06;
}

.fringe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.fringe-ticket {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(255,59,212,.92), rgba(45,56,255,.94)),
    var(--blue);
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--black);
  transform: rotate(-2deg);
}

.fringe-ticket-kicker,
.fringe-ticket h3,
.fringe-time {
  font-family: var(--display);
  line-height: 1.18;
  margin: 0;
}

.fringe-ticket-kicker {
  width: fit-content;
  padding: 6px 8px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  font-size: 9px;
}

.fringe-ticket h3 {
  font-size: clamp(18px, 2.3vw, 28px);
  text-shadow: 3px 3px 0 var(--ink);
}

.fringe-time {
  width: fit-content;
  color: var(--ink);
  background: var(--green);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--black);
  padding: 9px 10px;
  font-size: clamp(20px, 2.5vw, 34px);
}

.fringe-note {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
}

.fringe-mini-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 26px;
  padding: 20px;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, #fff8de, #ecf7ff);
  border: 5px solid var(--ink);
  box-shadow: 9px 9px 0 rgba(20,8,32,.42);
}

.fringe-mini-card h2 {
  margin: 8px 0 8px;
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.2;
}

.fringe-mini-card p:not(.cast-card-label) {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.06;
}

@media (max-width: 820px) {
  .fringe-panel { transform: none; }
  .fringe-inner,
  .fringe-mini-card {
    grid-template-columns: 1fr;
  }
  .fringe-ticket { transform: none; }
  .fringe-mini-card .button { width: 100%; }
}
