/* =========================================================
   Tales From The Wasteland — site styles
   ========================================================= */

/* ---------- Fonts ---------- */

/*
  Futura Condensed Medium is a commercial font. This @font-face uses the
  locally installed copy when the visitor has it (macOS/iOS ship it as
  "Futura-CondensedMedium") and otherwise tries fonts/FuturaCondensedMedium.woff2.
  Drop a licensed web-font file at that path to serve it to everyone.
  If neither is available the stack falls back to Barlow Condensed (Google Fonts).
*/
@font-face {
  font-family: "Futura Condensed Medium";
  src: local("Futura-CondensedMedium"),
       local("Futura Condensed Medium"),
       local("FuturaCondensedMedium"),
       url("../fonts/FuturaCondensedMedium.woff2") format("woff2"),
       url("../fonts/FuturaCondensedMedium.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/*
  Hand-lettered marker face for quotes and eyebrows.
  NOTE: fonts/GrindyBrush.otf is the "free for personal use" demo — buy the
  commercial licence (sronstudio.com) before launch, or remove this block to
  fall back to Kalam from Google Fonts.
*/
@font-face {
  font-family: "Grindy Brush";
  src: url("../fonts/GrindyBrush.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #1c1712;
  --ink-2: #26201a;
  --nav: #282419;
  --yellow: #f2c41e;
  --yellow-bright: #ffd84a;
  --headline: #ffea00;
  --sand: #c9a15c;
  --sand-light: #e8d3a6;
  --paper: #f3ebd9;
  --rust: #b65a22;
  --sky: #1f7e9e;
  --text: #f4efe6;
  --text-dim: #b8ae9c;
  --dust: #d4ccbf;

  /* Condensed: nav, buttons, eyebrows, labels, meta */
  --font-nav: "Futura Condensed Medium", "Futura-CondensedMedium", "Futura Condensed",
              "Barlow Condensed", "Arial Narrow", sans-serif;
  /* Regular width for body copy — same family as the condensed fallback */
  --font-body: "Barlow", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-marker: "Grindy Brush", "Kalam", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive;

  --nav-h: 64px;
  --wrap: 1120px;

  /* Sampled from the hero artwork's ground (bottom-left); used on the mobile hero panel */
  --hero-mobile-gradient: linear-gradient(
    to bottom,
    #623218 0%, #693419 35%, #592c16 55%, #432011 72%, #2a1409 88%, #1a0d06 100%
  );

  /* Warm dusk gradient used behind inner-page headers */
  --dusk-gradient: linear-gradient(
    to bottom,
    #0f6781 0%, #11718b 8%, #177b93 17%, #5a8e8d 25%, #958362 33%,
    #95792a 42%, #aa8334 50%, #c37e3f 58%, #7e4c2b 67%, #c46d29 75%,
    #bc7232 83%, #8c542e 92%, #ba6828 100%
  );

  /* Subtle grain used on dark sections */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--yellow-bright); outline-offset: 3px; }

/* ---------- Type helpers ---------- */

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.h-xl { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.25rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/*
  Headline treatment: solid #ffea00 with the watercolour distress texture
  multiplied over it, clipped to the letterforms. Falls back to plain yellow
  where background-clip: text isn't supported.

  The yellow is a gradient layer rather than background-color because Chrome
  ignores background-blend-mode against background-color when clipping to text.

  Texture is stretched to the heading's height so one-line titles still hit the
  orange mottling at the edges of the watercolour (native-ratio tiles were
  sampling only the cream centre, so the overlay vanished).
*/
.h-xl, .h-lg, .h-md {
  color: var(--headline);
  background-image:
    url("../assets/distressed.png"),
    linear-gradient(var(--headline), var(--headline));
  background-image:
    image-set(
      url("../assets/distressed.webp") type("image/webp"),
      url("../assets/distressed.png") type("image/png")
    ),
    linear-gradient(var(--headline), var(--headline));
  background-size: 22em 100%, 100% 100%;
  background-position: center, 0 0;
  background-repeat: repeat, no-repeat;
  background-blend-mode: multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  /* clip-to-text ignores the padding box, so give ascenders room */
  padding: 0.05em 0.02em 0.06em 0;
  margin-left: -0.02em;
}

/* On light sections headlines revert to solid ink */
.section--sand .h-xl, .section--sand .h-lg, .section--sand .h-md,
.section--yellow .h-xl, .section--yellow .h-lg, .section--yellow .h-md {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.eyebrow {
  font-family: var(--font-marker);
  font-weight: 700;
  color: var(--dust);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  display: block;
}

.lede { font-size: 1.35rem; line-height: 1.4; color: var(--text); }

.dim { color: var(--text-dim); }

.caps {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.75em 1.5em;
  border: 2px solid var(--yellow);
  border-radius: 7px;
  color: var(--yellow);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover { background: var(--yellow); color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--yellow); color: var(--ink); }
.btn--solid:hover { background: var(--yellow-bright); border-color: var(--yellow-bright); }

.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--ink); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--nav);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  height: 100%;
  width: min(1440px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo { display: block; flex: 0 0 auto; }
.nav__logo img { height: 32px; width: auto; }

.nav__links {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}

.nav__links a {
  font-family: var(--font-nav);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--yellow-bright); }
.nav__links a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }

.nav__book { flex: 0 0 auto; font-size: 1.15rem; padding: 0.55em 1.2em; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: #fff;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__inner { gap: 0.75rem; }
  /* Book Now stays in the bar, just before the burger */
  .nav__book { order: 2; margin-left: auto; font-size: 1.05rem; padding: 0.5em 1em; }
  .nav__toggle { display: block; order: 3; margin-left: 0; }
  .nav__book-mobile-li { display: none; }

  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--nav);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }

  .nav__links a {
    display: block;
    font-size: 1.3rem;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.08); }

  .nav__links li:last-child a { border-bottom: 0; }
}

.nav__book-mobile-li { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  /* 16:9 like the artwork, never taller than the viewport */
  --hero-h: clamp(540px, 56.25vw, calc(100svh - var(--nav-h)));
  height: var(--hero-h);
  /*
   * Desktop: 16:9 centre crop of the yellow panorama, served at 2560px so
   * the hero isn't stretching a 284px-tall strip. Sides of the original
   * pano are trimmed; wider windows get a slightly less-trimmed crop.
   */
  background-color: #6b4a12;
  background-image: url("../assets/hero-bg-pano.jpg");
  background-image: image-set(
    url("../assets/hero-bg-pano.webp") type("image/webp"),
    url("../assets/hero-bg-pano.jpg") type("image/jpeg")
  );
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: #14100c;
  isolation: isolate;
}

@media (min-width: 1600px) {
  .hero {
    background-image: url("../assets/hero-bg-pano-wide.jpg");
    background-image: image-set(
      url("../assets/hero-bg-pano-wide.webp") type("image/webp"),
      url("../assets/hero-bg-pano-wide.jpg") type("image/jpeg")
    );
  }
}

/* Cast cut-out, layered over the background and anchored to the ground line */
.hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__cast {
  position: absolute;
  /* Slightly oversized and pushed below the edge so the cut-out's flat base is clipped */
  bottom: -7%;
  right: 5%;
  height: 102%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 18px 22px rgba(20, 8, 0, 0.45));
}

.hero__inner {
  position: relative;
  z-index: 1;
  /* No max width: the title column scales with the window like the cast does */
  width: calc(100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vh, 2rem);
  padding-block: clamp(1.5rem, 4vh, 3rem) clamp(2rem, 6.5vh, 4.5rem);
  max-width: 100%;
}

.hero__col {
  /* 46% of the hero, but never wider than the stack can fit vertically
     (short, wide windows) — 0.8 × hero height matches the 16:9 proportion */
  width: min(46%, calc(0.8 * var(--hero-h)));
  /* In wide windows, centre the column in the space left of the cast
     (cast ≈ 0.86 × hero height wide, ending 5% from the right edge) */
  margin-left: max(0px, calc((95% - 0.86 * var(--hero-h) - min(46%, 0.8 * var(--hero-h))) / 2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vh, 2rem);
  flex: 1;
}

.hero__quote {
  font-family: var(--font-marker);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.3vw, 2.15rem);
  line-height: 1.15;
  text-transform: none; /* Grindy Brush has its own small-caps lower case */
  text-align: center;
  margin: 0;
  color: #14100c;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.5), 0 0 3px rgba(255, 255, 255, 0.4);
}

.hero__quote cite {
  display: block;
  font-family: var(--font-nav);
  font-style: normal;
  text-transform: none;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  margin-top: 0.4em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.7);
  opacity: 0.92;
}

.hero__quote--top { padding-inline: 8%; }

/* Hand-lettered quote artwork (transparent PNGs supplied by the troupe) */
.hero__quote-img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  /* Wide, soft light halo so the dark ink reads against sky and cloud */
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 60px rgba(255, 250, 235, 0.7));
}
/* Match the mockup: top quote ~2/3 of the column, bottom quote a little narrower */
.hero__quote--top .hero__quote-img { width: 60%; }
.hero__quote--bottom .hero__quote-img { width: 53%; }

/* Desktop: quotes in white. The artwork is near-black ink on transparency, so
   invert() flips it to white; a soft dark shadow replaces the light halo. */
@media (min-width: 901px) {
  .hero__quote-img {
    filter:
      invert(1)
      drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55))
      drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  }
  .hero__quote cite {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 14px rgba(0, 0, 0, 0.45);
  }
}

.hero__logo { margin: 0; text-align: center; }
.hero__logo picture { display: block; }
.hero__logo img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1; /* sits on top of the tagline it overlaps */
  /* Dark shadow only — a tight one for edge definition and a wide soft one beneath */
  filter:
    drop-shadow(0 3px 3px rgba(0, 0, 0, 0.55))
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5))
    drop-shadow(0 26px 40px rgba(0, 0, 0, 0.35));
}

.hero__logo .hero__tagline {
  display: block;
  width: 64%;
  height: auto;
  margin: -0.15rem auto 0; /* paper edge just tucks under the logo */
  position: relative;
  z-index: 0;
  filter: none; /* the paper tape is flat — no glow, no shadow */
}

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: none;
}

/*
 * Mobile: portrait poster. Same layers, re-stacked in normal flow — text
 * over the sky, then the cast standing on the ground. Height comes from the
 * content, so it doesn't have to reach the fold. Uses the portrait render.
 */
@media (max-width: 900px) {
  .hero {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #1f6d95;
    background-image: url("../assets/hero-bg-mobile.jpg");
    background-image: image-set(
      url("../assets/hero-bg-mobile-sm.webp") type("image/webp") 1x,
      url("../assets/hero-bg-mobile.webp") type("image/webp") 2x,
      url("../assets/hero-bg-mobile.jpg") type("image/jpeg")
    );
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #14100c;
  }
  .hero__inner {
    order: 1;
    height: auto;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    padding-block: 1.5rem 0;
  }

  /* Cast follows the text in flow; the negative bottom margin clips its flat base */
  .hero__art {
    order: 2;
    position: relative;
    inset: auto;
    margin-top: 0.25rem;
    line-height: 0;
  }
  .hero__cast {
    position: static;
    display: block;
    width: 96%;
    height: auto;
    margin: 0 auto -12%; /* pushes the cut-out's flat base below the clipped edge */
    transform: none;
    filter: drop-shadow(0 12px 16px rgba(20, 8, 0, 0.5));
  }

  .hero__col {
    width: 100%;
    flex: 0 0 auto;
    gap: 0.6rem;
    align-items: center;
  }

  .hero__quote { font-size: clamp(1.25rem, 5.5vw, 1.8rem); }
  .hero__quote cite { margin-top: 0.15em; font-size: 0.5em; }
  .hero__quote--top { padding-inline: 0; }
  /* Top quote in white against the deep blue sky (ink recoloured via filter) */
  .hero__quote--top .hero__quote-img {
    width: 54%;
    filter:
      brightness(0) invert(1)
      drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 18px rgba(0, 0, 0, 0.35));
  }
  .hero__quote--top cite { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.4); }
  /* Logo bleeds past the text column, nearly edge to edge */
  .hero__logo { width: calc(100% + 1.25rem); max-width: none; margin-inline: -0.625rem; }
  /* Lighter shadow at phone scale */
  .hero__logo img {
    filter:
      drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45))
      drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  }
  .hero__logo .hero__tagline { width: 76%; margin-top: -0.1rem; }
  .hero__quote--bottom .hero__quote-img { width: 53%; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
/* Extra breathing room directly beneath the hero */
.section--after-hero { padding-top: clamp(5rem, 12vw, 9rem); }

.section--dark { background: var(--ink) var(--grain); }
.section--dark2 { background: var(--ink-2) var(--grain); }
.section--sand { background: var(--sand-light); color: var(--ink); }
.section--sand .eyebrow { color: var(--rust); }
.section--sand .dim { color: #5c4a2e; }
.section--yellow { background: var(--yellow); color: var(--ink); }
.section--yellow .eyebrow { color: var(--ink); }

.section__head { max-width: 44rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin: 0 0 0.5em; font-size: 1.5rem; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem;
}

.card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

.card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.section--sand .card {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ---------- Review quotes ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

.review {
  margin: 0;
  text-align: center;
  padding: 1rem;
}

.review p {
  font-family: var(--font-marker);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  text-transform: none; /* Grindy Brush has its own small-caps lower case */
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

.review cite {
  font-style: normal;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.review--long p {
  text-transform: none;
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
}

/* Small, uppercase or tabular bits stay in the condensed face */
.role, .show__meta, .show__status, .show__dow,
.facts dt, .form label, .footer h4, .footer__bottom,
.nav__book-mobile, .backlink, .hero__quote cite, .review cite {
  font-family: var(--font-nav);
}
.show__meta, .facts dt, .form label, .footer__bottom { letter-spacing: 0.03em; }

/* ---------- Shows list ---------- */

.shows { list-style: none; margin: 0; padding: 0; }

.show {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 1.75rem;
  align-items: center;
  padding: 1.5rem 1rem;
  margin: 0 -1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease;
}

.show:hover { background: rgba(255, 255, 255, 0.04); }
.show:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

/* Whole row is clickable through to the listing page; buttons sit above it. */
.show__link { position: absolute; inset: 0; z-index: 1; border-radius: 6px; }
.show__link:focus-visible { outline-offset: -3px; }
.show__actions, .show__meta a { position: relative; z-index: 2; }

.show__date {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  color: var(--yellow);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1.25rem;
}

.show__date b { display: block; font-size: 2.6rem; font-weight: 400; }
.show__date span { font-size: 1rem; letter-spacing: 0.1em; }
.show__dow { display: block; color: var(--text-dim); margin-bottom: 0.2rem; }
.show__date em { font-style: normal; color: var(--text-dim); }

.show__city { font-size: 2rem; line-height: 1; text-transform: uppercase; }
.show__venue { font-size: 1.25rem; line-height: 1.2; margin-top: 0.35rem; }
.show__meta { color: var(--text-dim); font-size: 1rem; line-height: 1.3; margin-top: 0.5rem; }

.show__status {
  display: inline-block;
  font-family: var(--font-condensed, inherit);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15em 0.6em;
  margin-left: 0.5em;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  vertical-align: middle;
}
.show--selling-fast .show__status, .show__status--selling-fast { background: var(--rust); color: #fff; }
.show--sold-out .show__status, .show__status--sold-out { background: rgba(255, 255, 255, 0.18); }
.show--coming-soon .show__status, .show__status--coming-soon { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); }
.show--sold-out .show__city, .show--sold-out .show__date { opacity: 0.55; }
.show--past .show__status { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--text-dim); }

.show__actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.btn--disabled { opacity: 0.5; cursor: not-allowed; border-color: var(--text-dim); color: var(--text-dim); }
.btn--disabled:hover { background: transparent; color: var(--text-dim); }
.btn--lg { font-size: 1.25rem; padding: 0.9em 1.6em; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.more { text-align: center; margin: 2rem 0 0; }

@media (max-width: 760px) {
  .show { grid-template-columns: 5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0.75rem; margin: 0 -0.75rem; }
  .show__actions { grid-column: 2; justify-content: flex-start; }
  .show__city { font-size: 1.6rem; }
  .show__venue { font-size: 1.1rem; }
  .show__date b { font-size: 2.2rem; }
}

.show__tag, .page-head__tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-nav);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  margin-left: 0.5em;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-0.2em);
}
.page-head__tag { font-size: 0.35em; transform: translateY(-0.6em); }

/* ---------- Show listing page ---------- */

.backlink {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.backlink:hover { color: var(--yellow-bright); }

.show-layout__intro { grid-area: intro; }
.show-layout__intro h1 { letter-spacing: -0.03em; }
.show-layout__intro .eyebrow {
  font-family: var(--font-nav);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--text);
}

.show-page {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    linear-gradient(to bottom, rgba(28, 23, 18, 0.35), var(--ink) 70%, var(--ink) 100%),
    var(--dusk-gradient);
  background-size: 100% 32rem, 100% 32rem;
  background-repeat: no-repeat;
  background-blend-mode: multiply, normal;
}

.show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas:
    "intro side"
    "body side";
  column-gap: 3rem;
  row-gap: 2.75rem;
  align-items: start;
}
.show-layout__intro .page-head__venue {
  margin: 0.55rem 0 0;
  max-width: none;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--sand-light);
}
.show-layout__lede {
  max-width: 60ch;
  font-size: 1.3rem;
  line-height: 1.45;
  margin-top: 1rem;
}

/* Small screens (phones + narrow tablets): tighter type scale so
   date → title → venue → lede read as a clear hierarchy */
@media (max-width: 900px) {
  .backlink { margin-bottom: 1rem; font-size: 0.95rem; }
  .show-layout__intro .eyebrow { font-size: 1rem; margin-bottom: 0.5rem; letter-spacing: 0.08em; }
  .show-layout__intro h1 { font-size: clamp(2.8rem, 8.5vw, 4rem); line-height: 0.95; letter-spacing: 0.01em; }
  .show-layout__intro .page-head__venue { font-size: 1.1rem; font-weight: 500; line-height: 1.25; margin-top: 0.6rem; }
  .show-layout__lede { font-size: 1rem; line-height: 1.45; margin-top: 0.85rem; color: var(--text-dim); }
}

@media (max-width: 600px) {
  /* Booking card: narrower label column, tighter rows */
  .booking { padding: 1.4rem 1.25rem; }
  .facts > div { grid-template-columns: 5.75rem minmax(0, 1fr); gap: 0.75rem; padding: 0.5rem 0; }
  .facts dt { font-size: 0.8rem; }
  .facts dd { line-height: 1.4; }
}
.show-layout__side {
  grid-area: side;
  position: sticky;
  top: calc(var(--nav-h, 64px) + 1.25rem);
  z-index: 2;
  margin-top: 90px;
}
.show-layout__body { grid-area: body; }
.show-layout__body h2 {
  margin-bottom: 0.65em;
  color: inherit; /* same cream as the other body headings, not the yellow display treatment */
  background: none;
  -webkit-text-fill-color: currentColor;
}

.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 3rem;
  align-items: start;
}

.listing__side { position: sticky; top: calc(var(--nav-h, 72px) + 1.5rem); }

.booking {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.facts { margin: 0 0 1.5rem; }
.facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; padding-top: 0.15em; }
.facts dd { margin: 0; }
.facts a { color: var(--yellow); }
.muted { color: var(--text-dim); }

.booking__note { color: var(--text-dim); font-size: 0.95rem; text-align: center; margin: 0.9rem 0 0; }

@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; gap: 2rem; }
  .listing__side { position: static; }
  .listing__main { order: 2; }
  .listing__side { order: 1; }
  .show-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "side"
      "body";
    row-gap: 2rem;
  }
  .show-layout__side { position: static; margin-top: 0; }
}

.notice {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dim);
}

/* ---------- Gallery ---------- */

.gallery {
  columns: 3;
  column-gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 800px) { .gallery { columns: 2; } }
@media (max-width: 500px) { .gallery { columns: 1; } }

.gallery li {
  margin: 0 0 1rem;
  break-inside: avoid;
}

.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.2s;
}

.gallery a:hover { transform: rotate(0deg) scale(1.02); }

.gallery picture { display: block; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: #100c08;
  padding: 3.5rem 4.5rem;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  border-radius: 8px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--yellow);
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

.lightbox__close {
  top: 0.75rem;
  right: 0.85rem;
  font-size: 2rem;
  font-family: var(--font-nav);
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  font-family: var(--font-nav);
}

.lightbox__prev { left: 0.6rem; }
.lightbox__next { right: 0.6rem; }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--yellow-bright); }

.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .lightbox { padding: 3.25rem 0.75rem; }
  .lightbox__prev, .lightbox__next { font-size: 1.8rem; }
}

body.lightbox-open { overflow: hidden; }

/* ---------- Cast ---------- */

.cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cast__member { text-align: center; }
.cast__member picture { display: block; }

.cast__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #3a2f22, #1c1712);
  border: 3px solid var(--sand);
  margin-bottom: 1rem;
}

.cast__photo--empty {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--sand);
}

.cast__member h3 { font-size: 1.5rem; }
.cast__member .role { color: var(--yellow); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem; }
.cast__member p { margin: 0.5rem 0 0; color: var(--text-dim); font-size: 1rem; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.1rem; max-width: 560px; }

.form label { display: block; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.35rem; }

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.section--sand .form input,
.section--sand .form select,
.section--sand .form textarea {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.form textarea { min-height: 8rem; resize: vertical; }

.form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1rem; }
.form .check label { text-transform: none; letter-spacing: 0; margin: 0; font-size: 1rem; }
.form .check input { margin-top: 0.3rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.form__success {
  border: 2px solid var(--yellow);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.25rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  align-items: center;
}

/* Unwrap the copy so the button can sit on the headline row, not the eyebrow */
.cta-band > div {
  display: contents;
}

.cta-band .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.cta-band h2 {
  grid-column: 1;
  grid-row: 2;
}

.cta-band .btn {
  grid-column: 2;
  grid-row: 2;
  border-color: var(--ink);
  color: var(--ink);
}
.cta-band .btn:hover { background: var(--ink); color: var(--yellow); }

@media (max-width: 800px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-band .btn {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 0.5rem;
  }
}

/* ---------- Page header ---------- */

.page-head {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(to bottom, rgba(28, 23, 18, 0.35), var(--ink) 95%),
    var(--dusk-gradient);
  background-blend-mode: multiply, normal;
}

.page-head h1 { color: var(--headline); }
.page-head p { max-width: 60ch; font-size: 1.3rem; margin-top: 1rem; }

/* ---------- Footer ---------- */

.footer {
  background: #120e0a;
  padding-block: 3rem 2rem;
  color: var(--text-dim);
  font-size: 1rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo img { height: 32px; width: auto; opacity: 0.9; margin-bottom: 1rem; }

.footer h4 { color: var(--text); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 0.75rem; }

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.4rem; }
.footer a { color: var(--text-dim); text-decoration: none; }
.footer a:hover { color: var(--yellow); }

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
