/* ============================================================
     TERMINAL 8 — warm-paper system (Green Knight as faint echo)
     ============================================================ */
  :root {
    /* Blade Runner noir field + Green Knight gold */
    --paper:    #0b1418;   /* deep noir teal-black field */
    --paper-2:  #122029;   /* elevated surface */
    --paper-3:  #1e313a;   /* lines / hover */
    --ink:      #f0e7d3;   /* warm pale */
    --ink-2:    #d8cdb2;
    --ink-soft: #94a39f;   /* cool muted */
    --ink-faint:#5f7378;

    /* warm accents */
    --terra:    #e06a36;   /* ember orange */
    --terra-2:  #f18a57;
    --terra-deep:#b34a22;
    --ochre:    #f2b431;   /* amber gold */
    --ochre-2:  #d29c22;
    --gold:     #f2b431;

    /* cool band + neon accent */
    --brick:    #0f3138;   /* deep teal band */
    --brick-2:  #0a242b;
    --petrol:   #36c3d1;   /* neon cyan */
    --petrol-2: #0f3a43;
    --petrol-3: #0a2a31;

    --line:     rgba(240,231,211,.12);
    --line-2:   rgba(240,231,211,.2);
    --line-ink: rgba(240,231,211,.16);

    --shadow:   16px 16px 0;
    --maxw:     1200px;
    --r:        14px;
    /* fonts (overridable by the CMS via JS) */
    --f-display: "Bricolage Grotesque", "Archivo", sans-serif;
    --f-serif:   "Spectral", Georgia, serif;
    --f-ui:      "Archivo", sans-serif;
  }

  /* big faint chapter title behind a heading block */
  .chapter { position: relative; isolation: isolate; }
  .chapter-bg { position: absolute; left: -.02em; top: 50%; transform: translateY(-50%); z-index: 0;
    font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(78px, 17vw, 230px);
    line-height: .8; letter-spacing: -.04em; color: var(--ink); opacity: .06; pointer-events: none; user-select: none; white-space: nowrap; }
  .chapter-fg { position: relative; z-index: 1; }
  /* hero crossfade slides */
  .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 2.2s ease; }
  .hero-textfade { animation: heroTextIn 1.2s ease both; }
  @keyframes heroTextIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .hero-textfade { animation: none; } }
  /* production poster + gallery images */
  .ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .arch-card:hover .ph-img { transform: scale(1.05); }
  /* poster card: show full uploaded image at its own aspect ratio */
  .ph-natural { aspect-ratio: auto; }
  .ph-natural .ph-img { position: static; width: 100%; height: auto; display: block; }
  .arch-card:hover .ph-natural .ph-img { transform: scale(1.025); }
  .photo-frame.natural { position: relative; }
  .gtile .gimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .lb .big .gimg { position: static; width: auto; height: auto; max-width: 100%; max-height: 86vh; object-fit: contain; }
  .tnum { font-variant-numeric: tabular-nums; text-align: center; }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  html, body { background: var(--paper); }
  body {
    font-family: var(--f-serif);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }
  /* heavy film grain on the dark field */
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
    opacity: .13; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* cinematic vignette */
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(125% 95% at 50% 28%, transparent 52%, rgba(0,0,0,.5) 100%);
  }
  #root { position: relative; z-index: 2; }

  /* ============================================================
     LIGHT "PRESS" THEME — white + theatre red (terminal8.nl-informed)
     Flip via body.theme-light. Dark "islands" (footer, lightbox, photos,
     hero-over-photo) re-scope their tokens so text stays legible.
     ============================================================ */
  body.theme-light {
    --paper:#ffffff; --paper-2:#f6f6f4; --paper-3:#e9e9e6;
    --ink:#17150f; --ink-2:#34322c; --ink-soft:#6a665e; --ink-faint:#a6a39b;
    --terra:#d51f28; --terra-2:#ec3b44; --terra-deep:#a3141c;
    --ochre:#1b1613; --ochre-2:#a3141c; --gold:#d51f28;
    --brick:#d51f28; --brick-2:#a3141c;
    --petrol:#332c28; --petrol-2:#211b18; --petrol-3:#120e0c;
    --line:rgba(27,22,19,.14); --line-2:rgba(27,22,19,.24); --line-ink:rgba(255,255,255,.2);
  }
  body.theme-light::before { mix-blend-mode: multiply; opacity: .025; }
  body.theme-light::after { background: none; }
  body.theme-light .topbar { background: rgba(255,255,255,.9); }
  body.theme-light .topbar .brand img { filter: brightness(0); }
  body.theme-light .marquee { background: var(--terra); color: #fff; border-color: var(--terra-deep); }
  body.theme-light .marquee .item::after { color: #fff; opacity: .55; }
  body.theme-light .tape { background: var(--terra); color: #fff; box-shadow: 3px 4px 0 rgba(27,22,19,.16); }
  body.theme-light .pill.on { background: var(--terra); color: #fff; }
  body.theme-light .pill.year { background: var(--ink); color: #fff; }
  body.theme-light ::selection { background: var(--terra); color: #fff; }
  /* red band: force light text over the inline-coloured content */
  body.theme-light .on-ink { color: #fff; background: #c01a22; }
  body.theme-light .on-ink h1, body.theme-light .on-ink h2, body.theme-light .on-ink h3,
  body.theme-light .on-ink p, body.theme-light .on-ink .ital { color: #fff !important; }
  body.theme-light .on-ink .eyebrow, body.theme-light .on-ink .pill.dev { color: #fff; }
  body.theme-light .on-ink .eyebrow::before { background: #fff; }
  body.theme-light .on-ink .chip { color: #fff; border-color: rgba(255,255,255,.5); }
  body.theme-light .on-ink .btn { background: #fff; color: var(--terra); border-color: #fff; }
  body.theme-light .on-ink .btn::before { background: var(--ink); }
  body.theme-light .on-ink .btn:hover { color: #fff; }
  /* hero over photo */
  body.theme-light .heroA h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
  body.theme-light .heroA .klabel::before { display: none; }
  body.theme-light .heroA .klabel .eyebrow, body.theme-light .heroA .sub { text-shadow: 0 1px 14px rgba(0,0,0,.7), 0 1px 2px rgba(0,0,0,.55); }
  body.theme-light .heroA h1 .l2 { color: var(--terra); }
  body.theme-light .heroA .klabel .eyebrow, body.theme-light .heroA .sub { color: #fff; }
  body.theme-light .heroA .hero-quote-txt, body.theme-light .heroA .hero-quote-src { color: #fff; }
  body.theme-light .heroA .acts .btn.ghost { color: #fff !important; border-color: #fff !important; }
  /* dark islands keep light tokens internally */
  body.theme-light footer { --ink:#f0e7d3; --ink-2:#d8cdb2; --ink-soft:#94a39f; --ochre:#ff9a72; --terra:#ec3b44; --line-ink:rgba(240,231,211,.16); }
  body.theme-light .lb { --ink:#f0e7d3; }
  body.theme-light .ph, body.theme-light .gtile { --ink:#f0e7d3; }

  /* theme switch in the header */
  .theme-switch { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 100px; overflow: hidden; margin-left: 6px; }
  .theme-switch button { background: transparent; border: 0; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 7px 12px; transition: background .2s, color .2s; }
  .theme-switch button.on { background: var(--terra); color: #fff; }

  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  img { display: block; max-width: 100%; }
  ::selection { background: var(--ochre); color: #19100b; }

  /* ---------- type ---------- */
  .display {
    font-family: var(--f-display);
    font-weight: 800; letter-spacing: -.02em; line-height: .92;
    font-optical-sizing: auto;
  }
  .serif { font-family: var(--f-serif); }
  .label { font-family: var(--f-ui); }
  .ital  { font-style: italic; }

  .app { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 96px; }

  .eyebrow {
    font-family: var(--f-ui); font-weight: 700; font-size: 11.5px; white-space: nowrap;
    letter-spacing: .26em; text-transform: uppercase; color: var(--terra);
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow::before {
    content: ""; width: 22px; height: 2px; background: var(--terra); display: inline-block;
  }
  .eyebrow.bare::before { display: none; }

  /* hand-drawn rough underline under a highlighted word */
  .mark { position: relative; white-space: nowrap; }
  .mark::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .42em; z-index: -1;
    background: var(--ochre); opacity: .55; border-radius: 40% 60% 55% 45%;
    transform: rotate(-.6deg);
  }
  .mark.terra::after { background: var(--terra); opacity: .35; }
  .mark.petrol::after { background: var(--petrol); opacity: .28; }

  /* ---------- buttons ---------- */
  .btn {
    position: relative; display: inline-flex; align-items: center; gap: 10px; justify-content: center; white-space: nowrap;
    font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .02em;
    padding: 13px 24px; border-radius: 9px; border: 2px solid var(--ink);
    background: var(--terra); color: var(--paper); border-color: var(--terra);
    overflow: hidden; isolation: isolate; transition: color .25s, transform .18s, box-shadow .25s;
  }
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
    transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.7,0,.2,1);
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(34,26,18,.6); }
  .btn:hover::before { transform: scaleX(1); }
  .btn .arr { transition: transform .25s; }
  .btn:hover .arr { transform: translateX(4px); }
  .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn.ghost::before { background: var(--ink); }
  .btn.ghost:hover { color: var(--paper); }
  .btn.block { width: 100%; }
  .credit .nl { text-align: left; font-weight: 600; }
  .credit .rr { text-align: right; }
  .btn.sm { padding: 9px 18px; font-size: 12.5px; border-radius: 7px; }
  .btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
  .btn:disabled::before { display: none; }
  /* on ink/dark bands */
  .on-ink .btn { background: var(--ochre); color: #19100b; border-color: var(--ochre); }
  .on-ink .btn::before { background: var(--brick-2); }
  .on-ink .btn:hover { color: var(--ink); }
  .on-ink .btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
  .on-ink .btn.ghost::before { background: var(--paper); }
  .on-ink .btn.ghost:hover { color: var(--ink); }

  /* ---------- status pill ---------- */
  .pill {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 700; white-space: nowrap;
    font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
  }
  .pill.on  { background: var(--petrol); color: #06181c; }
  .pill.dev { background: transparent; border: 1.5px solid currentColor; color: var(--ochre); }
  .pill.year{ background: var(--ochre); color: #19100b; }
  .blink { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); animation: blink 1.4s steps(1) infinite; }
  @keyframes blink { 50% { opacity: .25; } }
  @media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

  /* ---------- rubber stamp ---------- */
  .stamp {
    --c: var(--terra);
    display: inline-grid; place-items: center; text-align: center;
    width: 124px; height: 124px; border-radius: 50%;
    border: 2.5px solid var(--c); color: var(--c);
    transform: rotate(-11deg); position: relative; opacity: .9;
    font-family: var(--f-ui); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.4 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='white'/%3E%3Crect width='100%25' height='100%25' filter='url(%23r)' opacity='0.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.4 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='white'/%3E%3Crect width='100%25' height='100%25' filter='url(%23r)' opacity='0.5'/%3E%3C/svg%3E");
  }
  .stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--c); opacity: .6; }
  .stamp .big { font-size: 19px; line-height: .9; }
  .stamp .sm  { font-size: 9.5px; letter-spacing: .18em; margin-top: 5px; opacity: .85; }
  .stamp.petrol { --c: var(--petrol); }
  .stamp.ink { --c: var(--ink); }
  .stamp.pop { animation: stampin .5s cubic-bezier(.2,1.4,.4,1) both; }
  @keyframes stampin { 0% { transform: rotate(-11deg) scale(1.8); } 100% { transform: rotate(-11deg) scale(1); } }
  @media (prefers-reduced-motion: reduce) { .stamp.pop { animation: none; } }

  /* ---------- tape label ---------- */
  .tape {
    font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--ochre); color: #19100b; padding: 6px 16px; display: inline-block;
    transform: rotate(-2.2deg); box-shadow: 3px 4px 0 rgba(0,0,0,.45);
  }
  .tape::before, .tape::after { content: ""; position: absolute; }

  /* ---------- marquee ---------- */
  .marquee { overflow: hidden; white-space: nowrap; border-block: 2px solid var(--brick); padding: 13px 0; background: var(--ochre); color: #19100b; }
  .marquee .track { display: inline-flex; gap: 0; will-change: transform; animation: scroll-x 26s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  .marquee .item { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; text-transform: uppercase; }
  .marquee .item::after { content: "✦"; color: var(--brick); font-size: 15px; }
  @keyframes scroll-x { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

  /* ---------- topbar ---------- */
  .announce { position: relative; z-index: 70; display: flex; align-items: center; gap: 0;
    background: var(--terra); color: #fff; font-family: var(--f-ui); font-size: 13.5px; padding: 0 40px 0 0; overflow: hidden; }
  .announce.linkable { cursor: pointer; }
  .announce.linkable:hover { background: var(--terra-deep); }
  .tick-viewport { flex: 1 1 auto; overflow: hidden; }
  .tick-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: tick-scroll linear infinite; }
  .announce.linkable:hover .tick-track { animation-play-state: paused; }
  .tick-item { font-weight: 800; letter-spacing: .03em; padding: 10px 0; }
  .tick-item::after { content: "✦"; opacity: .55; margin: 0 28px; font-weight: 400; }
  @keyframes tick-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .tick-track { animation: none; } }
  .announce-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 20px; line-height: 1; opacity: .8; cursor: pointer; padding: 0 4px; z-index: 2; }
  .announce-x:hover { opacity: 1; }
  /* casting band — prominent closes + audition button */
  .cast-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
  .closes { display: flex; flex-direction: column; line-height: 1.05; }
  .closes-lab { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
  .closes-val { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px,3.4vw,42px); letter-spacing: -.01em; }
  /* hero kicker — prominent "upcoming / returning" pill */
  .hero-kicker { display: inline-flex; align-items: center; align-self: flex-start; margin-bottom: 12px;
    background: var(--terra); color: #fff; font-family: var(--f-ui); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    padding: 7px 14px; border-radius: 7px; box-shadow: 0 6px 20px -6px rgba(0,0,0,.5); animation: kickpulse 2.4s ease-in-out infinite; }
  @keyframes kickpulse { 0%,100% { box-shadow: 0 6px 20px -6px rgba(0,0,0,.5), 0 0 0 0 rgba(213,31,40,.5); } 50% { box-shadow: 0 6px 20px -6px rgba(0,0,0,.5), 0 0 0 8px rgba(213,31,40,0); } }
  @media (prefers-reduced-motion: reduce) { .hero-kicker { animation: none; } }

  .topbar { position: sticky; top: 0; z-index: 60; background: rgba(18,11,7,.72); backdrop-filter: blur(10px); border-bottom: 1.5px solid var(--line); transition: background .3s, border-color .3s; }
  .topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 28px; display: flex; align-items: center; gap: 24px; }
  .brand { height: 21px; }
  .brand img { height: 100%; }
  .nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
  .nav button { position: relative; background: none; border: none; color: var(--ink); font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 8px 12px; opacity: .72; transition: opacity .2s; }
  .nav button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.7,0,.2,1); }
  .nav button:hover { opacity: 1; } .nav button:hover::after { transform: scaleX(1); }
  .nav button.active { opacity: 1; color: var(--terra); } .nav button.active::after { transform: scaleX(1); }
  .nav .cta { position: relative; overflow: hidden; isolation: isolate; opacity: 1; margin-left: 8px; background: var(--terra); color: #fff; border: 2px solid var(--terra); border-radius: 8px; padding: 8px 18px; font-family: var(--f-ui); font-weight: 700; font-size: 13px; white-space: nowrap; transition: color .25s, transform .18s; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
  .nav .cta::after { display: none; }
  .nav .cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.7,0,.2,1); }
  .nav .cta:hover { color: #fff; transform: translateY(-1px); }
  .nav .cta:hover::before { transform: scaleX(1); }
  .nav .lk.casting-cta { color: var(--terra); background: transparent; border: 2px solid var(--terra); border-radius: 8px; padding: 6px 14px; opacity: 1; animation: castpulse 2s ease-in-out infinite; }
  .nav .lk.casting-cta::after { display: none; }
  .nav .lk.casting-cta:hover { background: var(--terra); color: #fff; }
  .btn.cast-pulse { background: transparent; color: var(--terra); border-color: var(--terra); animation: castpulse 2s ease-in-out infinite; }
  .btn.cast-pulse::before { background: var(--terra); }
  .btn.cast-pulse:hover { color: #fff; }
  @keyframes castpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(213,31,40,.45); } 50% { box-shadow: 0 0 0 6px rgba(213,31,40,0); } }
  @media (prefers-reduced-motion: reduce) { .nav .lk.casting-cta, .btn.cast-pulse { animation: none; } }
  /* rich-text content headings (matched fonts) */
  .richtext h3, .richtext h4 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 16px 0 6px; }
  .richtext h3 { font-size: 1.35em; } .richtext h4 { font-size: 1.12em; }
  .richtext p { margin: 0 0 .7em; } .richtext ul { margin: 0 0 .7em 1.1em; }

  /* topbar on dark hero */
  .topbar.invert { background: rgba(20,15,10,.32); border-color: var(--line-ink); }
  .topbar.invert .brand img { filter: brightness(0) invert(1); }
  .topbar.invert .nav button { color: var(--paper); }
  .topbar.invert .nav button.active { color: var(--ochre); }
  .topbar.invert .nav button.active::after, .topbar.invert .nav button::after { background: var(--ochre); }

  /* ---------- reveal-on-scroll (gated behind .js-anim so no-JS = visible) ---------- */
  .js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js-anim .reveal.d1 { transition-delay: .07s; }
  .js-anim .reveal.d2 { transition-delay: .14s; }
  .js-anim .reveal.d3 { transition-delay: .21s; }
  .js-anim .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

  /* ---------- hero shared ---------- */
  .hero-wrap { position: relative; }
  .hero-switch { display: flex; gap: 6px; align-items: center; }
  .hero-switch .sw { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding: 8px 14px; border-radius: 100px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink-soft); transition: all .2s; }
  .hero-switch .sw:hover { border-color: var(--ink); color: var(--ink); }
  .hero-switch .sw.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

  /* photo slot styling */
  image-slot { display: block; width: 100%; height: 100%; }
  image-slot::part(frame) { background: transparent; }
  image-slot::part(empty) { color: rgba(244,234,212,.85); font-family: var(--f-ui); }
  image-slot::part(ring) { border-color: rgba(244,234,212,.3); }
  .photo-frame { position: relative; background: var(--petrol-2); overflow: hidden; }
  /* duotone-ish placeholder shown until user drops a real image */
  .ph-photo {
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(120% 90% at 30% 15%, rgba(220,160,43,.22), transparent 55%),
      linear-gradient(160deg, var(--petrol) 0%, var(--petrol-2) 55%, var(--petrol-3) 100%);
  }
  .ph-photo::after {
    content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
    background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px);
  }
  .ph-cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--f-ui); font-weight: 700; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,234,212,.62); border: 1px solid rgba(244,234,212,.3); padding: 4px 9px; border-radius: 4px; }

  /* HERO A — poster loosened (full-bleed photo + water moment) */
  .heroA { position: relative; height: clamp(560px, 84vh, 860px); overflow: hidden; background: var(--petrol-2); }
  .heroA .bg { position: absolute; inset: 0; transform-origin: 50% 45%; animation: kenburns 24s ease-in-out infinite alternate; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
  @media (prefers-reduced-motion: reduce) { .heroA .bg { animation: none; } }
  .stagelight { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(42% 55% at var(--mx,52%) var(--my,30%), rgba(255,238,205,.22), rgba(255,238,205,.06) 45%, transparent 72%); }
  .heroA .tone { position: absolute; inset: 0; z-index: 2; background:
      linear-gradient(180deg, rgba(4,10,13,.62) 0%, rgba(4,10,13,.12) 26%, rgba(4,10,13,0) 44%, rgba(4,10,13,.52) 78%, rgba(4,10,13,.93) 100%); }
  .heroA .content { position: relative; z-index: 4; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 7%; }
  .heroA .klabel { position: relative; }
  .heroA .klabel::before { content: ""; position: absolute; left: -40px; right: -40px; bottom: -30px; top: -24px; z-index: -1;
    background: radial-gradient(120% 130% at 12% 90%, rgba(4,8,11,.62), rgba(4,8,11,.28) 45%, transparent 72%); filter: blur(6px); pointer-events: none; }
  .heroA .klabel .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.7); }tom: 7%; }
  .heroA .klabel { color: var(--ink); }
  .heroA .klabel .eyebrow { color: var(--ochre); }
  .heroA h1 { font-size: clamp(38px, 9vw, 126px); color: var(--ochre); line-height: .9; white-space: nowrap; text-transform: uppercase; text-shadow: 0 2px 2px rgba(0,0,0,.45), 0 14px 50px rgba(0,0,0,.5); }
  .heroA h1 .l2 { color: var(--ink); }
  .heroA .sub { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(19px, 2.5vw, 30px); margin-top: 14px; max-width: 24ch; opacity: .96; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
  .heroA .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

  /* the rising-water line + caustics */
  .waterline { position: absolute; left: -10%; right: -10%; z-index: 3; height: 140px; bottom: 16%; pointer-events: none;
    transform: rotate(var(--tilt, 0deg)); transition: transform .35s ease; }
  .waterline svg { width: 220%; height: 100%; display: block; animation: drift 14s linear infinite; }
  @keyframes drift { to { transform: translateX(-50%); } }
  .heroA .underwater { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(23,98,105,.0), rgba(13,65,70,.55)); 
    -webkit-backdrop-filter: blur(1.2px) saturate(1.2); backdrop-filter: blur(1.2px) saturate(1.2); }
  .bubble { position: absolute; bottom: 0; width: 8px; height: 8px; border-radius: 50%; background: rgba(244,234,212,.4); z-index: 3; animation: rise-b linear infinite; }
  @keyframes rise-b { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .7; } 100% { transform: translateY(-220px) scale(1.1); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .waterline svg, .bubble { animation: none; } }

  /* HERO B — kinetic editorial split */
  .heroB { padding: 46px 28px 30px; }
  .heroB .row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
  .heroB h1 { font-size: clamp(30px, 5vw, 66px); line-height: 1; white-space: nowrap; text-transform: uppercase; margin-bottom: .06em; color: var(--ink); }
  .heroB h1 .l2 { color: var(--terra); }
  .heroB .sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 2.4vw, 28px); margin-top: 16px; max-width: 26ch; color: var(--ink-2); }
  .heroB .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .heroB .photo-frame { aspect-ratio: 3/4; border-radius: var(--r); box-shadow: var(--shadow) var(--brick); border: 1.5px solid var(--line-2); transform: rotate(1.6deg); }
  .heroB .meta-line { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1.5px solid var(--line); font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--ink-soft); }
  .heroB .meta-line b { color: var(--ink); font-weight: 800; }

  /* HERO C — stamped playbill / ticket */
  .heroC { padding: 40px 28px 30px; }
  .heroC .playbill { position: relative; background: var(--paper-2); border: 2px solid var(--ochre); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); overflow: hidden; }
  .heroC .playbill::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed var(--line-2); border-radius: 8px; pointer-events: none; }
  .heroC .toprow { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; position: relative; z-index: 2; }
  .heroC h1 { font-size: clamp(38px, 8vw, 120px); color: var(--terra); text-align: center; margin: 8px 0; position: relative; z-index: 2; white-space: nowrap; text-transform: uppercase; }
  .heroC h1 .l2 { color: var(--ink); }
  .heroC .sub { text-align: center; font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2.3vw, 28px); position: relative; z-index: 2; }
  .heroC .photo-frame { height: clamp(220px, 32vw, 380px); border-radius: 8px; margin-top: 26px; position: relative; z-index: 2; border: 1.5px solid var(--line-2); }
  .heroC .perf { position: relative; z-index: 2; margin-top: 26px; border-top: 2px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; padding-top: 20px; flex-wrap: wrap; gap: 16px; }
  .heroC .perf .info { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--ink-soft); }
  .heroC .perf .info b { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }

  /* hero caption (under any hero) */
  .hero-blurb { font-family: var(--f-serif); font-size: clamp(18px,2vw,23px); line-height: 1.45; max-width: 56ch; color: var(--ink-2); }

  /* ---------- section heads ---------- */
  .sec { padding: 72px 0; }
  .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 18px; margin-bottom: 38px; position: relative; }
  .sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ochre); }
  .sec-head h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px,6vw,92px); letter-spacing: -.025em; line-height: .88; color: var(--ochre); }
  .sec-head p { color: var(--ink-soft); max-width: 38ch; font-size: 15.5px; line-height: 1.6; }
  .sec-head .num { font-family: var(--f-ui); font-weight: 800; font-size: 13px; color: var(--terra); letter-spacing: .1em; }

  /* ---------- tour list ---------- */
  .tour-row { position: relative; display: grid; grid-template-columns: minmax(0,1.7fr) 1fr 156px; gap: 20px; align-items: center; padding: 20px 14px; border-bottom: 1.5px solid var(--line); transition: padding .25s; cursor: default; }
  .tour-row > * { position: relative; z-index: 1; }
  .tour-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--terra); opacity: .14; transition: width .3s cubic-bezier(.7,0,.2,1); z-index: 0; }
  .tour-row:hover::before { width: 100%; }
  .tour-row:hover { padding-left: 22px; }
  .tour-row:hover .v { color: var(--ochre); }
  .tour-row.is-past { opacity: .7; }
  .tour-row.is-past .v, .tour-row.is-past .a, .tour-row.is-past .d, .tour-row.is-past .avail { color: var(--ink-faint) !important; }
  .tour-row.is-past:hover { opacity: .85; }
  .foot-mail, .mailto-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .mailto-link:hover, .foot-mail:hover { color: var(--terra); }
  .contact-social { font-family: var(--f-ui); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
  .contact-social:hover { color: var(--terra); }
  .stars { display: inline-flex; gap: 2px; font-size: 17px; line-height: 1; color: var(--line-2); }
  .stars .star.on { color: var(--ochre); }
  .stars .star.half { background: linear-gradient(90deg, var(--ochre) 50%, var(--line-2) 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  /* hero quote */
  .hero-quote { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; max-width: 40ch; }
  .hero-quote .stars { font-size: 16px; color: rgba(255,255,255,.4); }
  .hero-quote .stars .star.on { color: #f2b431 !important; -webkit-text-fill-color: #f2b431; }
  .hero-quote-txt { font-family: var(--f-serif); font-style: italic; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.4; color: var(--ink); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
  .hero-quote-src { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: .85; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  /* archive hero image credit */
  .hero-credit { position: absolute; right: 22px; bottom: 18px; z-index: 5; background: none; border: none; color: #fff; font-family: var(--f-ui); font-weight: 500; font-size: 11.5px; letter-spacing: .02em; padding: 0; cursor: pointer; text-shadow: 0 1px 8px rgba(0,0,0,.8); opacity: .6; transition: opacity .2s; }
  .hero-credit b { font-weight: 700; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
  .hero-credit:hover { opacity: .9; }
  .hero-credit:hover b { border-bottom-color: var(--terra); }
  /* press quotes */
  .press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .press-quote { border-left: 4px solid var(--terra); padding-left: 26px; }
  /* show-page press: scales by count — 1 centred, up to 4 across */
  .press-quotes { display: grid; gap: 24px 32px; }
  .press-quotes .press-quote { border-left: 3px solid var(--terra); padding-left: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
  .press-quotes.n1 { grid-template-columns: minmax(0,640px); justify-content: center; }
  .press-quotes.n2 { grid-template-columns: repeat(2, 1fr); }
  .press-quotes.n3 { grid-template-columns: repeat(3, 1fr); }
  .press-quotes.n4 { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 900px) { .press-quotes.n3, .press-quotes.n4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .press-quotes { grid-template-columns: 1fr !important; } }
  @media (max-width: 760px) { .press-grid { grid-template-columns: 1fr; gap: 32px; } }
  /* compact press strip (homepage + above show agenda) */
  .press-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
  .press-chip { text-align: left; background: none; border: none; border-left: 3px solid var(--terra); border-radius: 0; padding: 2px 0 2px 18px; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; transition: border-color .2s; }
  .press-chip:hover { border-left-color: var(--ochre); }
  .press-chip:hover .press-chip-txt { color: var(--terra); }
  .press-chip .stars { font-size: 14px; }
  .press-chip-txt { font-family: var(--f-serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink); transition: color .2s; }
  .press-chip-src { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
  .press-chip-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .press-chip-show { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
  .tour-row .idx { font-family: var(--f-ui); font-weight: 800; font-size: 13px; color: var(--ink-faint); }
  .tour-row .agenda-show { display: inline-block; font-family: var(--f-display); font-weight: 800; font-size: clamp(16px,1.7vw,20px); letter-spacing: .01em; text-transform: uppercase; color: var(--terra); text-decoration: none; margin-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .18s, color .18s; }
  .tour-row .agenda-show:hover { border-bottom-color: var(--terra); }
  .tour-row .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px,2.6vw,30px); letter-spacing: -.015em; line-height: 1.02; color: var(--ink); margin-bottom: 3px; }
  .tour-row .a { font-size: 14px; color: var(--ink-soft); font-style: italic; text-decoration: none; }
  .tour-row a.maps:hover { color: var(--terra); text-decoration: underline; }
  .tour-row .d { font-family: var(--f-ui); font-weight: 700; font-size: 14px; color: var(--ink-2); justify-self: end; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .tour-row .btn.sm { justify-self: end; white-space: nowrap; min-width: 132px; justify-content: center; }
  .tag-playing { font-family: var(--f-ui); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 13px; border-radius: 7px; background: var(--terra); color: #fff; white-space: nowrap; }
  .avail { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
  .avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .av-selling { color: #46c08a; } .av-low { color: var(--ochre-2); } .av-soon { color: var(--ink-faint); } .av-past { color: var(--ink-faint); }

  .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
  .chip { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .04em; padding: 7px 15px; border-radius: 100px; border: 1.5px solid var(--line-2); color: var(--ink); }

  /* ---------- archive cards ---------- */
  .arch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 24px; }
  .nav .casting-cta { opacity: 1; color: var(--terra); border: 1.5px solid var(--terra); border-radius: 100px; padding: 8px 15px; margin-left: 4px; display: inline-flex; align-items: center; gap: 7px; }
  .nav .casting-cta::after { display: none; }
  .nav .casting-cta:hover { background: var(--terra); color: #fff; }
  .nav .casting-cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); animation: blink 1.4s steps(1) infinite; }
  .nav .casting-cta:hover .dot { background: #fff; }
  .arch-card { cursor: pointer; border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
  .arch-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(34,26,18,.5); }
  .ph { position: relative; aspect-ratio: 2/3; overflow: hidden; }
  .ph .ph-fill { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .arch-card:hover .ph-fill { transform: scale(1.05); }
  .ph .duo { position: absolute; inset: 0; }
  .ph .grain2 { position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .35; background-image: repeating-linear-gradient(48deg, rgba(255,255,255,.06) 0 2px, transparent 2px 10px); }
  .ph .ph-big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px,6vw,68px); color: rgba(244,234,212,.92); text-align: center; line-height: .86; padding: 14px; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
  .ph .ph-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--f-ui); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border: 1px solid rgba(246,234,208,.5); padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,.4); }
  .arch-card .body { padding: 18px 22px 24px; }
  /* team flip cards */
  .team-card { perspective: 1400px; }
  .team-card .flip { position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,.1,.2,1); border-radius: var(--r); }
  .team-card .flip.on { transform: rotateY(180deg); }
  .team-card .flip-face { border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .team-card .flip-face.front { transition: box-shadow .3s; }
  .team-card .flip:hover .flip-face.front { box-shadow: 0 24px 44px -28px rgba(34,26,18,.5); }
  .team-card .flip-face.back { position: absolute; inset: 0; width: 100%; transform: rotateY(180deg); display: flex; flex-direction: column; padding: 28px 26px; overflow: auto; background: var(--paper); }
  .team-card .back-head { flex: 0 0 auto; margin-bottom: 16px; }
  .team-card .back-name { font-weight: 800; font-size: 25px; letter-spacing: -.015em; color: var(--ink); line-height: 1.02; }
  .team-card .back-role { color: var(--terra); font-family: var(--f-ui); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; margin-top: 7px; }
  .team-card .back-bio { flex: 1 1 auto; font-family: var(--f-serif); font-size: 16.5px; line-height: 1.62; color: var(--ink-2); text-transform: none; }
  .team-card .back-bio::before { content: ""; display: block; width: 34px; height: 3px; background: var(--terra); margin-bottom: 16px; border-radius: 2px; }
  .team-card .back-bio p { margin: 0 0 12px; white-space: normal; overflow-wrap: break-word; text-transform: none; }
  .team-card .back-bio p:last-child { margin-bottom: 0; }
  .team-card .flip-face.front .body { padding: 18px 22px 24px; }
  .team-card .flip-hint { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; flex: 0 0 auto; }
  /* production supporters / funders */
  .supporter-logos { display: flex; flex-wrap: wrap; align-items: stretch; gap: 18px; margin-top: 22px; }
  .supporter-logo { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 150px; height: 92px; padding: 16px 22px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: opacity .2s, transform .2s, box-shadow .2s, border-color .2s; }
  .supporter-logo.bg-dark { background: var(--ink); border-color: var(--ink); }
  .supporter-logo.bg-plain { background: transparent; border-color: transparent; }
  .supporter-logo img { max-height: 60px; max-width: 200px; width: auto; object-fit: contain; }
  a.supporter-logo:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(0,0,0,.5); border-color: var(--line-2); }
  .supporter-name-lg { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--ink); text-align: center; }
  .supporter-logo.bg-dark .supporter-name-lg { color: #fff; }
  a.supporter-logo:hover .supporter-name-lg { color: var(--terra); }
  .supporter-names { margin-top: 22px; max-width: 70ch; font-family: var(--f-serif); font-size: 16px; line-height: 1.7; color: var(--ink-2); }
  .arch-card .yr { font-family: var(--f-ui); font-weight: 700; font-size: 12px; color: var(--terra); letter-spacing: .08em; }
  .arch-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.015em; color: var(--ink); margin: 5px 0 4px; }
  .arch-card .subt { font-style: italic; color: var(--ink-soft); font-size: 15px; }
  .arch-card .go { margin-top: 14px; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--terra); display: inline-flex; gap: 8px; align-items: center; }
  .arch-card .go .arr { transition: transform .25s; } .arch-card:hover .go .arr { transform: translateX(5px); }

  /* ---------- ink band ---------- */
  .on-ink { background: var(--brick); color: var(--ink); position: relative; }
  .on-ink .eyebrow { color: var(--ochre); } .on-ink .eyebrow::before { background: var(--ochre); }
  .on-ink h1, .on-ink h2, .on-ink h3 { color: var(--ink); }
  .on-ink .sec-head::after { background: rgba(246,234,208,.3); }

  /* ---------- panels (cream on cream) ---------- */
  .panel { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r); }

  /* crowdfunding / support block */
  .support { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; padding: 30px 34px; border-radius: var(--r); background: var(--paper-2); border: 1.5px solid var(--line); border-left: 4px solid var(--ochre); }

  /* ---------- programme credits ---------- */
  .prog { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
  .prog .col h4 { font-family: var(--f-ui); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; padding-bottom: 11px; border-bottom: 1.5px solid var(--line); }
  .credit { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 16px; border-bottom: 1px dotted var(--line-2); }
  .credit .r { color: var(--ink-soft); font-style: italic; }
  .credit .n { font-weight: 500; text-align: right; }
  .castlist { columns: 2; column-gap: 32px; }
  .castlist span { display: block; padding: 7px 0; font-size: 16px; border-bottom: 1px dotted var(--line-2); break-inside: avoid; }

  /* ---------- gallery ---------- */
  .gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gtile { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer; position: relative; border: 1.5px solid var(--line-2); transition: transform .3s; }
  .gtile:hover { transform: scale(1.02); }
  .gtile .gfill { position: absolute; inset: 0; transition: transform .5s; }
  .gtile:hover .gfill { transform: scale(1.06); }
  .gtile .gt-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--f-ui); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,234,212,.8); }
  .gtile .gcap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 12px 12px; font-size: 12.5px; color: var(--ink); background: linear-gradient(transparent, rgba(0,0,0,.82)); font-style: italic; }

  /* ---------- lightbox ---------- */
  .lb { position: fixed; inset: 0; height: 100vh; height: 100lvh; min-height: 100dvh; z-index: 100; background: rgba(13,15,12,.95); display: flex; align-items: center; justify-content: center; padding: 30px; animation: lbin .25s ease; overscroll-behavior: contain; }
  @keyframes lbin { from { transform: scale(.99); } }
  .lb .frame { max-width: min(1400px, 100vw); width: 100%; display: flex; flex-direction: column; align-items: center; }
  .lb .big { width: 100%; max-height: 88vh; min-height: 40vh; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
  .lb .big .gfill { position: absolute; inset: 0; }
  .lb .big .gimg { position: static; width: auto; height: auto; max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 8px; }
  .lb .big span { position: relative; z-index: 2; font-family: var(--f-ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,234,212,.85); }
  .lb .cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; width: 100%; color: var(--ink); padding: 0 6px; }
  .lb .x { position: fixed; top: 18px; right: 20px; z-index: 3; background: rgba(0,0,0,.4); border: none; color: #fff; font-size: 26px; line-height: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
  .lb .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(0,0,0,.32); border: none; color: #fff; width: 46px; height: 64px; border-radius: 8px; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; display: grid; place-items: center; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .lb .arrow:hover { background: rgba(0,0,0,.6); }
  .lb .arrow.prev { left: 8px; }
  .lb .arrow.next { right: 8px; }
  @media (max-width: 560px) { .lb { padding: 0; } .lb .arrow { width: 40px; height: 56px; font-size: 26px; } .lb .arrow.prev { left: 4px; } .lb .arrow.next { right: 4px; } .lb .cap { padding: 0 12px 8px; } }

  /* ---------- forms ---------- */
  .field { margin-bottom: 20px; }
  .field label { display: block; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
  .field input, .field select, .field textarea { width: 100%; background: var(--paper-2); border: 1.5px solid var(--line-2); color: var(--ink); font-family: var(--f-serif); font-size: 16px; padding: 13px 15px; border-radius: 9px; transition: border-color .2s, box-shadow .2s; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(219,90,49,.22); }
  .field .err { color: var(--terra-2); font-size: 13.5px; margin-top: 6px; font-weight: 600; font-style: normal; }
  .field input.invalid, .field textarea.invalid { border-color: var(--terra-2); background: rgba(219,90,49,.06); box-shadow: 0 0 0 3px rgba(219,90,49,.14); }
  .form-errsum { background: rgba(219,90,49,.1); border: 1.5px solid var(--terra-2); color: var(--terra-2); font-family: var(--f-ui); font-weight: 700; font-size: 13.5px; padding: 12px 16px; border-radius: 9px; margin-bottom: 18px; }

  .steps { display: flex; margin-bottom: 38px; border: 1.5px solid var(--line-2); border-radius: 100px; overflow: hidden; background: var(--paper-2); }
  .steps .s { flex: 1; padding: 13px 8px; text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); transition: background .3s, color .3s; }
  .steps .s.active { background: var(--terra); color: #fff; }
  .steps .s.done { color: var(--terra); }

  .opt-card { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border: 1.5px solid var(--line-2); border-radius: 12px; margin-bottom: 11px; background: var(--paper-2); transition: border-color .2s, background .2s, transform .15s; }
  .opt-card:hover { transform: translateY(-1px); border-color: var(--ink-soft); }
  .opt-card.sel { border: 2px solid var(--terra); background: rgba(219,90,49,.14); }
  .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--terra); display: grid; place-items: center; flex: none; }
  .radio i { width: 11px; height: 11px; border-radius: 50%; background: var(--terra); display: block; }

  .qty { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 100px; background: var(--paper-2); overflow: hidden; }
  .qty button { background: none; border: none; width: 46px; height: 46px; font-size: 22px; color: var(--ink); transition: background .15s; }
  .qty button:hover { background: var(--paper-3); color: var(--ochre); }
  .qty span { width: 54px; text-align: center; font-weight: 800; align-self: center; font-family: var(--f-ui); }

  .summary { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; position: sticky; top: 84px; }
  .summary .l { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line-2); gap: 12px; }
  .summary .total { display: flex; justify-content: space-between; padding-top: 16px; font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.01em; color: var(--terra); }

  /* ticket stub (confirmation) */
  .stub { max-width: 560px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--paper-2); position: relative; box-shadow: 0 30px 60px -34px rgba(34,26,18,.5); border: 1.5px solid var(--line); }
  .stub .top { background: var(--brick); color: var(--ink); padding: 28px 30px; position: relative; }
  .stub .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: radial-gradient(circle at 10px -2px, transparent 9px, var(--paper-2) 10px) repeat-x; background-size: 22px 14px; }
  .stub .perf-notch { position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); z-index: 3; }
  .stub .body { padding: 30px 30px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .stub .barcode { height: 52px; margin: 0 30px 28px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); border-radius: 2px; }

  .faq { border-bottom: 1.5px solid var(--line); }
  .faq button { width: 100%; background: none; border: none; color: var(--ink); text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .faq .q { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px,2.4vw,26px); letter-spacing: -.01em; }
  .faq .pm { font-family: var(--f-display); font-size: 30px; color: var(--terra); transition: transform .3s; flex: none; }
  .faq.open .pm { transform: rotate(45deg); }

  .back { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 24px; transition: color .2s, gap .2s; }
  .back:hover { color: var(--terra); gap: 12px; }

  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }

  footer { background: #061216; color: var(--ink); margin-top: 0; }
  .foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 28px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .foot-inner img { height: 26px; filter: brightness(0) invert(1); opacity: .92; }
  .foot-col h5 { font-family: var(--f-ui); font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); margin-bottom: 16px; }
  .foot-link { display: block; background: none; border: none; color: var(--ink); text-align: left; font-family: var(--f-ui); font-weight: 600; font-size: 14.5px; padding: 6px 0; opacity: .8; transition: opacity .2s, transform .2s; }
  .foot-link:hover { opacity: 1; transform: translateX(3px); color: var(--ochre); }
  .foot-rule { border-top: 1px solid var(--line-ink); padding: 18px 28px; max-width: var(--maxw); margin: 0 auto; font-family: var(--f-ui); font-size: 12px; opacity: .55; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .foot-privacy { max-width: 56ch; text-align: right; }

  /* entrance for route changes — transform only (iframe-safe) */
  .fadein { animation: rise .5s ease; }
  @keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .fadein { animation: none; } }

  /* ---------- responsive ---------- */
  @media (max-width: 900px) {
    .heroB .row, .grid-2, .prog { grid-template-columns: 1fr; }
    .heroB .photo-frame { aspect-ratio: 16/10; transform: none; }
    .arch-grid, .grid-3 { grid-template-columns: 1fr; }
    .gal { grid-template-columns: 1fr 1fr; }
    .tour-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
    .tour-row .d { grid-column: 1 / -1; order: 3; justify-self: start; text-align: left; }
    .stub .body { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr 1fr; }
    .heroA h1 { font-size: clamp(30px, 10vw, 78px); }
  }

  /* ---------- mobile navbar: logo on top, compact sticky bar below ---------- */
  @media (max-width: 760px) {
    .topbar-inner { flex-direction: column; padding: 0; gap: 0; align-items: stretch; }
    .brand { height: auto; padding: 11px 0; display: flex; justify-content: center; overflow: hidden;
      max-height: 50px; opacity: 1; transition: max-height .3s ease, padding .3s ease, opacity .2s ease; }
    .brand img { height: 19px; }
    .topbar.scrolled .brand { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
    .nav { margin-left: 0; gap: 0; flex-wrap: nowrap; align-items: center; justify-content: space-evenly;
      padding: 4px 2px; border-top: 1.5px solid var(--line); width: 100%; box-sizing: border-box; }
    .nav .lk { flex: 0 1 auto; min-width: 0; padding: 9px 7px; font-size: 12.5px; opacity: .85; white-space: nowrap; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
    /* fewer items breathe a little more */
    .nav[data-n="3"] .lk, .nav[data-n="3"] .cta, .nav[data-n="3"] .btn.sm { font-size: 14px; padding: 12px 10px; }
    .nav[data-n="4"] .lk, .nav[data-n="4"] .cta, .nav[data-n="4"] .btn.sm { font-size: 13.5px; padding: 11px 9px; }
    /* many items → tighten so nothing overflows */
    .nav[data-n="5"] .lk { padding: 9px 5px; font-size: 12px; }
    .nav[data-n="6"] .lk { padding: 8px 4px; font-size: 11.5px; }
    .nav button::after { left: 5px; right: 5px; bottom: 2px; }
    .nav .btn.sm, .nav .cta, .nav .lk.casting-cta { flex: 0 0 auto; padding: 9px 13px; font-size: 12px; margin-left: 2px; }
    .nav[data-n="5"] .btn.sm, .nav[data-n="5"] .cta { padding: 8px 11px; font-size: 11.5px; }
    .nav[data-n="6"] .btn.sm, .nav[data-n="6"] .cta { padding: 8px 10px; font-size: 11px; }
    .nav .btn.sm, .nav .cta { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-width: 0; }
  }
  /* very narrow: shrink type so the row still fits on one line */
  @media (max-width: 430px) {
    .nav[data-n="5"] .lk, .nav[data-n="6"] .lk { padding: 8px 3px; font-size: 10.5px; letter-spacing: 0; }
    .nav .lk { padding: 8px 5px; font-size: 11px; letter-spacing: 0; }
    .nav .btn.sm, .nav .cta, .nav .lk.casting-cta { padding: 7px 9px; font-size: 11px; margin-left: 2px; }
    .nav[data-n="6"] .btn.sm, .nav[data-n="6"] .cta { padding: 7px 8px; font-size: 10.5px; }
  }

  @media (max-width: 560px) {
    .app { padding-left: 16px; padding-right: 16px; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gal { grid-template-columns: 1fr 1fr; }
    .castlist { columns: 1; }
    .summary { position: static; }
    .foot-inner { grid-template-columns: 1fr; }
    .foot-rule { justify-content: center; text-align: center; }

    /* hero: keep line inside the screen + centre titles/buttons */
    .heroA .content { padding-bottom: 14%; align-items: center; text-align: center; }
    .heroA .klabel { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .hero-quote { align-items: center; text-align: center; }
    .hero-kicker { align-self: center; }
    .hero-credit { left: 0; right: 0; bottom: 10px; text-align: center; }
    .announce { font-size: 12px; padding: 0 36px 0 0; }
    .closes-val { font-size: clamp(22px,7vw,32px); }
    .cast-cta-row { gap: 16px; }
    .heroA h1 { white-space: nowrap; font-size: clamp(28px, 10.5vw, 80px); }
    .heroA .sub { max-width: 90vw; }
    .heroA .klabel .eyebrow { max-width: 94vw; white-space: normal; line-height: 1.35; font-size: 13px; }
    .heroA .acts { justify-content: center; }

    /* centre page titles + action rows, keep body copy left-aligned */
    .chapter-bg { left: 50%; transform: translate(-50%, -50%); }
    .app > .fadein h1.display, .chapter h1.display { text-align: center; }
    .chapter > .serif.ital { text-align: center; }
    .page-actions { justify-content: center; flex-wrap: nowrap; gap: 8px; }
    .page-actions .btn { flex: 0 1 auto; padding: 11px 12px; font-size: 12px; white-space: nowrap; }

    /* agenda: one tidy stacked card per date */
    .tour-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; text-align: left; }
    .tour-row .d { grid-column: auto; order: 0; justify-self: start; text-align: left; margin-top: 2px; }
    .tour-row .avail { justify-self: start; }
    .tour-row .btn.sm { justify-self: stretch; width: 100%; margin-top: 8px; min-width: 0; }
  }