/* =========================================================
   Big Telly Theatre Company, homepage concept
   Palette: Ink, Programme Cream, Footlight Red, Limelight
   Type: Bricolage Grotesque (display + text), Instrument Serif italic (accent)
   ========================================================= */

:root {
  --ink: #16110F;
  --ink-2: #1F1815;
  --ink-3: #2B221E;
  --night: #120E10;
  --cream: #F6EFE3;
  --cream-2: #EDE3D2;
  --paper: #FBF7F0;
  --red: #D2341F;          /* white text 4.9:1 */
  --red-deep: #A8281A;
  --lime: #FFC93C;         /* on ink 12.2:1 */
  --muted: #645850;        /* on cream 5.9:1 */
  --muted-dark: #B8ADA2;   /* on ink 8.5:1 */
  --line: rgba(22, 17, 15, .14);
  --line-dark: rgba(246, 239, 227, .16);
  --focus: var(--ink);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark, .night, .site-header, .form-card, .dock { --focus: var(--lime); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display-1, .display-2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 82%;
  letter-spacing: -.035em;
  line-height: .9;
}
.display-1 { font-size: clamp(3.4rem, 9.6vw, 8.2rem); }
.display-2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: .96; letter-spacing: -.03em; }
.display-1 em, .display-2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: -.01em;
  color: var(--red);
}
.dark .display-1 em, .dark .display-2 em, .night .display-2 em { color: var(--lime); }
.display-1 em { font-size: 1.06em; }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--muted-dark); }
.led {
  font-family: var(--mono); font-weight: 700; letter-spacing: .08em;
  background: var(--ink); color: var(--lime);
  padding: 4px 9px; border-radius: 6px; font-size: .78rem;
  box-shadow: 0 0 0 1px rgba(255, 201, 60, .25) inset;
}
.on-dark .led { background: #000; text-shadow: 0 0 8px rgba(255, 201, 60, .55); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.15;
  text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #FFD766; }
.btn-ghost { border-color: rgba(246, 239, 227, .5); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 239, 227, .08); }
.text-link { font-weight: 700; color: var(--red-deep); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--ink); }

/* ---------- grain ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 17, 15, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; display: block; padding: 6px 0; }
.brand img { width: 112px; height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--cream);
}
.nav-list a:hover { background: rgba(246, 239, 227, .08); color: var(--lime); }
.nav-boxoffice a { color: var(--muted-dark); }
.nav-cta-mobile { display: none; }
.header-cta { flex: none; min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.menu-btn { display: none; }

@media (max-width: 1120px) {
  :root { --header-h: 72px; }
  .brand img { width: 92px; }
  .header-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 44px; padding: 8px 14px; border-radius: 999px;
    background: transparent; border: 2px solid rgba(246, 239, 227, .4); color: var(--cream); font-weight: 700;
  }
  .menu-btn-bars, .menu-btn-bars::before, .menu-btn-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s;
  }
  .menu-btn-bars::before, .menu-btn-bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn-bars::before { top: -6px; }
  .menu-btn-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: static; margin: 0; }
  .nav-list {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 40px; background: var(--ink);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .nav-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list a { font-size: 1.6rem; font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-boxoffice a { color: var(--cream); }
  .nav-cta-mobile { display: block; margin-top: 24px; }
  .nav-cta-mobile a.btn { font-size: 1.05rem; letter-spacing: 0; font-stretch: normal; padding: 16px 22px; border: 0; border-radius: 999px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.dark { background: var(--ink); color: var(--cream); }
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; right: -18vw; top: -24vw;
  background: radial-gradient(closest-side, rgba(255, 201, 60, .16), rgba(210, 52, 31, .07) 55%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .display-1 { margin-bottom: 26px; }
.hero-places {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; font-weight: 600;
  max-width: 34ch; color: var(--cream); margin-bottom: 16px;
}
.hero-lede { color: var(--muted-dark); max-width: 52ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--muted-dark); line-height: 1.4;
}
.hero-proof li { max-width: 30ch; }
.hero-proof cite { display: block; font-style: normal; font-weight: 700; color: var(--cream); margin-top: 2px; }
.hero-proof strong { display: block; color: var(--lime); }
.stars { color: var(--lime); letter-spacing: .08em; margin-right: 2px; }

/* ---------- the telly ---------- */
.telly-stage { position: relative; max-width: 640px; width: 100%; justify-self: center; }
.telly { position: relative; padding-top: 70px; }
.antenna {
  position: absolute; top: 0; left: 50%; width: 46%; transform: translateX(-50%);
  overflow: visible; fill: none; stroke: #8C7F76; stroke-width: 3; stroke-linecap: round;
}
.antenna circle { fill: var(--lime); stroke: none; }
.antenna .antenna-base { fill: var(--ink-3); stroke: #3D322D; stroke-width: 2; }
.telly-cabinet {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 16px;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(160deg, #E2462F, var(--red) 45%, #9E2617);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .25) inset,
    0 -6px 0 rgba(0, 0, 0, .25) inset,
    0 40px 80px -30px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(0, 0, 0, .3);
}
.telly-screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 26px / 30px;
  background: #050404;
  box-shadow: 0 0 0 10px #120D0B, 0 0 0 12px rgba(0, 0, 0, .35), 0 0 40px rgba(255, 201, 60, .12);
}
.telly-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.glass {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(255, 255, 255, .16), transparent 42%),
    radial-gradient(140% 120% at 50% 50%, transparent 58%, rgba(0, 0, 0, .55));
}
.screen-figure { position: absolute; inset: 0; transform-origin: center; }
.screen-img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.screen-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; gap: 4px;
  padding: 64px clamp(16px, 3vw, 24px) clamp(16px, 2.6vw, 22px);
  background: linear-gradient(to top, rgba(8, 6, 5, .92), rgba(8, 6, 5, .6) 55%, transparent);
  color: var(--cream);
}
.osd {
  position: absolute; left: clamp(16px, 3vw, 24px); top: clamp(14px, 2.4vw, 20px); z-index: 2;
  font-family: var(--mono); font-weight: 700; font-size: clamp(.95rem, 1.6vw, 1.2rem); letter-spacing: .08em;
  color: var(--lime); text-shadow: 0 0 10px rgba(255, 201, 60, .85), 0 1px 2px rgba(0, 0, 0, .8);
}
.osd b { font-weight: 700; }
.screen-title { font-weight: 800; font-stretch: 85%; font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.05; letter-spacing: -.02em; }
.telly-guide {
  display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; min-height: 2.9em;
  font-size: .98rem; line-height: 1.4; color: var(--cream);
}
.guide-label {
  flex: none; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--lime); padding: 2px 7px; border-radius: 4px; transform: translateY(-1px);
}
.screen-badge {
  justify-self: start; margin-top: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3;
  color: var(--lime); border: 1px solid rgba(255, 201, 60, .55); border-radius: 999px; padding: 4px 10px;
}
.static { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; opacity: 0; image-rendering: pixelated; pointer-events: none; transition: opacity .12s; }
.static.on { opacity: 1; }

.telly-panel {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 10px 0; border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .28));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15), 0 2px 6px rgba(0, 0, 0, .3) inset;
}
.panel-led {
  font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--lime);
  background: #0B0807; border-radius: 6px; padding: 4px 8px; letter-spacing: .06em;
  text-shadow: 0 0 10px rgba(255, 201, 60, .8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15);
}
.knob {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 35% 30%, #4A3D37, #17110F 70%);
  box-shadow: 0 4px 0 #0C0908, 0 8px 16px rgba(0, 0, 0, .45), 0 0 0 3px rgba(0, 0, 0, .25);
}
.knob-face {
  position: absolute; inset: 7px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #2B221E 0 6deg, #211A17 6deg 12deg);
  transition: transform .45s var(--ease);
  transform: rotate(var(--knob, 0deg));
}
.knob-face::after {
  content: ""; position: absolute; left: 50%; top: 3px; width: 4px; height: 14px; margin-left: -2px;
  border-radius: 2px; background: var(--lime); box-shadow: 0 0 8px rgba(255, 201, 60, .7);
}
.knob:hover .knob-face { filter: brightness(1.25); }
.panel-label { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.grille {
  flex: 1; width: 52px; min-height: 60px; border-radius: 10px;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .45) 0 3px, transparent 3px 8px);
}
.telly-feet { display: flex; justify-content: space-between; padding: 0 16%; }
.telly-feet span { width: 54px; height: 18px; background: #0E0A09; border-radius: 0 0 10px 10px; }

.channel-bar { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.channel-list { display: flex; gap: 6px; }
.channel-list button, .ch-arrow {
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: rgba(246, 239, 227, .04); color: var(--muted-dark);
  font-family: var(--mono); font-weight: 700; font-size: .9rem;
}
.channel-list button:hover, .ch-arrow:hover { color: var(--cream); border-color: rgba(246, 239, 227, .4); }
.channel-list button[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ch-next { margin-left: auto; font-family: var(--display); font-weight: 700; color: var(--cream); padding: 0 16px; border-radius: 999px; }

@media (prefers-reduced-motion: no-preference) {
  .telly.is-on .screen-figure { animation: tv-on .9s var(--ease) both; }
  @keyframes tv-on {
    0% { transform: scale(0, .004); filter: brightness(4); }
    35% { transform: scale(1, .004); filter: brightness(3); }
    100% { transform: scale(1, 1); filter: brightness(1); }
  }
}

/* ---------- places marquee ---------- */
.places { display: flex; align-items: center; background: var(--red); color: #fff; overflow: hidden; }
.places-label {
  flex: none; margin: 0; padding: 18px var(--gutter); background: var(--ink); color: var(--lime);
  font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center;
}
.marquee { display: flex; overflow: hidden; flex: 1; min-width: 0; }
.marquee-track { display: flex; flex: none; gap: 0; padding: 16px 0; white-space: nowrap; }
.marquee-track li { font-size: 1.15rem; font-weight: 500; padding-inline: 22px; position: relative; }
.marquee-track li b { font-weight: 800; font-stretch: 85%; }
.marquee-track li::after { content: "✦"; position: absolute; right: -8px; color: var(--lime); font-size: .8rem; top: .3em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { white-space: normal; flex-wrap: wrap; flex: 1; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.cream { background: var(--cream); }
.paper { background: var(--paper); }
.night {
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(255, 180, 60, .14), transparent 70%),
    var(--night);
  color: var(--cream);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--wide { max-width: 980px; }
.section-head .display-2 { margin-bottom: 20px; }
.section-intro { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; margin: 0; }
.dark .section-intro { color: var(--muted-dark); }
.lede-dark { color: #DCD2C5; font-size: clamp(1.05rem, 1.35vw, 1.18rem); }

/* ---------- what's on ---------- */
.show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.show-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.show-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(22, 17, 15, .35); }
.show-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.show-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.show-media--placeholder {
  position: relative; display: grid; place-items: center; color: var(--cream);
  background:
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, .7)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"),
    #2A2220;
}
.coming-osd { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-weight: 700; color: var(--lime); text-shadow: 0 0 10px rgba(255, 201, 60, .7); }
.coming-text { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: .95; text-align: center; color: var(--cream); text-shadow: 0 2px 20px rgba(0, 0, 0, .7); }
.show-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.show-body p { color: var(--muted); }
.show-body .btn { margin-top: auto; align-self: flex-start; }
.show-title { font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink) !important; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-live .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(210, 52, 31, .18); }
.status-next .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(255, 201, 60, .3); }
.status-past .dot { background: #9A8F86; }
@media (prefers-reduced-motion: no-preference) {
  .status-live .dot { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(210, 52, 31, .05); } }
}
.boxoffice-line { margin: 28px 0 0; font-weight: 600; color: var(--muted); }
.boxoffice-line a { color: var(--red-deep); font-weight: 800; text-underline-offset: 4px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: none; }
.pillar { position: relative; }
.pillar-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; background: var(--ink-3); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-media img.crop-bottom { object-position: center 78%; }
.pillar-media figcaption {
  position: absolute; left: 12px; bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(10, 8, 7, .78); color: var(--cream); padding: 5px 10px; border-radius: 999px;
}
.pillar-num {
  display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: .8;
  color: var(--lime); margin-bottom: 10px;
}
.pillar h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 12px; }
.pillar p { color: var(--muted-dark); margin: 0; }

/* ---------- bring us ---------- */
.bring-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media img.crop-mid { object-position: center 52%; }
.case-media--shop {
  display: grid; place-items: center; position: relative; padding: 16px;
  background: linear-gradient(180deg, #213A2F, #172A22); color: #F3D98B;
}
.shop-sign { text-align: center; border: 2px solid rgba(243, 217, 139, .6); border-radius: 8px; padding: 12px 18px; box-shadow: 0 0 0 6px rgba(0, 0, 0, .15); }
.shop-sign b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; }
.shop-sign span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; color: #E9E1CC; }
.to-let {
  position: absolute; top: 14px; right: 14px; transform: rotate(8deg);
  background: var(--cream); color: var(--red-deep); font-weight: 800; font-size: .78rem; letter-spacing: .12em;
  padding: 5px 10px; border-radius: 4px; text-decoration: line-through; text-decoration-thickness: 2px;
}
.case-body { padding: 18px 20px 22px; }
.case-partner { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 6px; }
.case h3 { font-size: 1.3rem; font-weight: 800; font-stretch: 88%; letter-spacing: -.015em; line-height: 1.1; margin-bottom: 8px; }
.case p:last-child { margin: 0; color: var(--muted); font-size: .98rem; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 12px; border-top: 2px solid var(--ink); counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--mono); font-weight: 700; color: var(--red); font-size: .85rem; margin-bottom: 6px; }
.steps li b { display: block; color: var(--ink); font-size: 1.1rem; }

.form-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--ink); color: var(--cream);
  border-radius: 26px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 40px 80px -40px rgba(22, 17, 15, .6);
}
.form-title { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; line-height: 1.05; }
.form-sub { color: var(--muted-dark); margin: 8px 0 22px; font-size: .98rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; color: var(--cream); padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(246, 239, 227, .28); font-size: .9rem; font-weight: 600; color: #E5DACB;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chips label:hover span { border-color: var(--cream); }
.chips input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt { font-weight: 500; color: var(--muted-dark); }
.field input, .field select, .field textarea, .nl-form input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--cream);
  background: #241C19; border: 1px solid rgba(246, 239, 227, .22); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFC93C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field select option { color: #16110F; background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(255, 201, 60, .3); }
.invalid input, .invalid select, .invalid textarea, input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #FF8A73 !important; }
.chips.invalid span { border-color: #FF8A73; }
.form-error { color: #FFB4A6; font-weight: 700; font-size: .95rem; margin: 0 0 12px; }
.fine { font-size: .82rem; color: var(--muted-dark); margin: 14px 0 0; line-height: 1.5; }
.fine a { color: var(--cream); }
.form-success { text-align: left; padding: 10px 0; }
.form-success:focus { outline: none; }
.success-osd { font-family: var(--mono); color: var(--lime); font-weight: 700; text-shadow: 0 0 10px rgba(255, 201, 60, .7); margin-bottom: 10px; }
.form-success h3 { font-size: 1.8rem; font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; margin-bottom: 10px; }
.form-success p { color: var(--muted-dark); }

/* ---------- judy's house ---------- */
.judy-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.judy-photo {
  background: #F4ECDD; padding: 14px 14px 52px; border-radius: 6px; transform: rotate(-2.5deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .2);
  max-width: 440px; justify-self: center; position: relative;
}
.judy-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.85) contrast(1.02); }
.judy-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #3A302B; line-height: 1.2; }
.judy-copy .display-2 { margin-bottom: 22px; }
.judy-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 18px; }
.judy-versions > div { border: 1px solid var(--line-dark); border-radius: 16px; padding: 18px 20px; background: rgba(246, 239, 227, .03); }
.judy-versions h3 { font-size: 1.1rem; font-weight: 800; color: var(--lime); margin-bottom: 6px; }
.judy-versions p { margin: 0; color: #DCD2C5; font-size: .97rem; }
.judy-note { color: var(--muted-dark); font-size: .97rem; margin-bottom: 26px; }
.helpline { margin: 26px 0 0; font-size: .92rem; color: var(--muted-dark); border-left: 3px solid var(--lime); padding-left: 14px; }
.helpline a { color: var(--cream); font-weight: 800; white-space: nowrap; }

/* ---------- press ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.stats > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats dt { font-weight: 800; font-stretch: 80%; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: .95; color: var(--red); }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 26ch; }
.press-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.quote p { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; margin: 0 0 18px; }
.quote footer { font-weight: 800; font-size: .95rem; }
.quote footer span:not(.stars) { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.quote .stars { color: var(--red); }
.quote--big { grid-row: span 2; background: var(--ink); color: var(--cream); border: 0; }
.quote--big p { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; font-style: italic; }
.quote--big footer span:not(.stars) { color: var(--muted-dark); }
.awards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.awards-photo { border-radius: var(--radius); overflow: hidden; }
.awards-photo img { width: 100%; aspect-ratio: 960 / 550; object-fit: cover; }
.awards-list li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); }
.awards-list li:first-child { border-top: 2px solid var(--ink); }
.awards-list b { font-size: 1.1rem; font-weight: 800; }
.awards-list span { color: var(--muted); font-size: .95rem; }

/* ---------- artists ---------- */
.artists-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.artists-copy .display-2 { margin-bottom: 22px; }
.routes { margin-top: 28px; border-top: 1px solid var(--line-dark); }
.routes li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.routes b { font-weight: 700; }
.routes a { color: var(--lime); font-weight: 700; text-underline-offset: 4px; word-break: break-word; }
.artists-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.artists-media figcaption { margin-top: 14px; color: var(--muted-dark); font-size: .92rem; line-height: 1.5; }
.artists-media figcaption b { color: var(--cream); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-copy .display-2 { margin-bottom: 26px; }
.about-copy > p { color: var(--muted); max-width: 60ch; }
.mission { margin: 0 0 24px; padding-left: 20px; border-left: 4px solid var(--red); }
.mission p { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; color: var(--ink); margin: 0; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team li { font-size: .92rem; color: var(--muted); line-height: 1.35; }
.team b { display: block; color: var(--ink); font-size: 1.02rem; }
.about-media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; }
.about-zoe { grid-column: 1 / 5; grid-row: 1; position: relative; z-index: 1; }
.about-town { grid-column: 3 / 7; grid-row: 1; align-self: end; margin-bottom: -18%; position: relative; z-index: 2; }
.about-zoe img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.about-town img { border-radius: 16px; border: 6px solid var(--paper); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: 0 24px 40px -24px rgba(22, 17, 15, .5); }
.about-media figcaption { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 8px; }
.about-zoe figcaption { position: absolute; left: 12px; top: 12px; margin: 0; background: rgba(251, 247, 240, .92); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.about-town figcaption { padding-left: 6px; }

/* ---------- newsletter ---------- */
.newsletter { background: var(--red); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.newsletter .display-2 { margin-bottom: 14px; }
.newsletter p { margin: 0; max-width: 48ch; font-size: 1.08rem; color: #fff; }
.nl-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; --focus: var(--ink); }
.nl-form input { background: #fff; color: var(--ink); border: 2px solid #fff; min-height: 56px; border-radius: 999px; padding: 12px 22px; font-size: 1.05rem; }
.nl-form input::placeholder { color: #8A7F78; }
.nl-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 17, 15, .35); }
.nl-form .form-error { grid-column: 1 / -1; color: #fff; margin: 4px 0 0; }
.newsletter .form-success h3 { font-size: 2rem; font-weight: 800; font-stretch: 85%; margin-bottom: 6px; }
.newsletter .form-success p { color: #fff; }

/* ---------- funders ---------- */
.funders { background: var(--paper); padding: 40px 0 48px; border-top: 1px solid var(--line); }
.funders-title { font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; }
.funders-title b { font-weight: 800; }
.funders-list { color: var(--muted); font-size: .9rem; margin: 0; max-width: 110ch; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand img { width: 200px; }
.footer-col h2 { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; font-weight: 700; }
.footer-col address { font-style: normal; color: var(--muted-dark); line-height: 1.6; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--muted-dark); }
.footer-base p { margin: 0; }

/* ---------- dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    background: rgba(22, 17, 15, .92); border-radius: 999px; border: 1px solid var(--line-dark);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
    transform: translateY(140%); transition: transform .3s var(--ease);
  }
  .dock[hidden] { display: grid; visibility: hidden; }
  .dock.show { transform: none; visibility: visible; }
  .dock .btn { min-height: 46px; padding: 10px 12px; font-size: .95rem; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) and (min-width: 861px) {
  .bring-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .cases { grid-template-columns: 1fr; }
  .case { flex-direction: row; }
  .case-media { flex: 0 0 40%; aspect-ratio: auto; min-height: 180px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bring-grid { grid-template-columns: 1fr; }
  .form-card { position: relative; top: 0; }
}
@media (max-width: 1100px) {
  .press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote--big { grid-row: auto; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 999px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .telly-stage { order: 2; margin-top: 44px; }
  .hero-proof { order: 3; margin-top: 40px; }
  .telly-stage { max-width: 600px; }
  .show-grid { grid-template-columns: 1fr 1fr; }
  .show-card--feature { grid-column: 1 / -1; flex-direction: row; }
  .show-card--feature .show-media { aspect-ratio: auto; flex: 0 0 42%; }
  .pillars { grid-template-columns: 1fr; max-width: 640px; }
  .judy-grid, .artists-grid, .about-grid, .awards, .nl-grid { grid-template-columns: 1fr; }
  .judy-photo { max-width: 360px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-media { max-width: 520px; margin-bottom: 12%; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 28px; }
  .hero-copy .display-1 { margin-bottom: 18px; }
  .hero-places { font-size: 1.1rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { gap: 14px; margin-top: 28px; }
  .hero-proof li { max-width: none; }
  .telly { padding-top: 48px; }
  .telly-cabinet { grid-template-columns: 1fr; padding: 12px; border-radius: 22px; gap: 12px; }
  .telly-screen { border-radius: 18px / 22px; box-shadow: 0 0 0 6px #120D0B, 0 0 0 8px rgba(0, 0, 0, .35); }
  .telly-panel { flex-direction: row; padding: 8px 12px; gap: 12px; }
  .knob { width: 44px; height: 44px; }
  .knob-face { inset: 5px; }
  .knob-face::after { height: 10px; top: 2px; }
  .grille { min-height: 28px; height: 28px; width: auto; background: repeating-linear-gradient(to right, rgba(0, 0, 0, .45) 0 3px, transparent 3px 8px); }
  .screen-caption { padding-top: 48px; gap: 2px; }
  .screen-badge { font-size: .66rem; padding: 3px 8px; }
  .telly-guide { font-size: .92rem; margin-top: 12px; }
  .telly-feet span { width: 40px; height: 12px; }
  .channel-bar { gap: 8px; }
  .channel-list { gap: 4px; }
  .channel-list button { min-width: 44px; padding: 0 6px; }
  .ch-arrow[data-prev] { display: none; }
  .ch-next { flex: 1 1 100%; margin-left: 0; order: 2; }
  .places-label { padding: 14px 12px; font-size: .7rem; }
  .marquee-track li { font-size: 1rem; padding-inline: 16px; }
  .show-grid { grid-template-columns: 1fr; }
  .show-card--feature { flex-direction: column; }
  .show-card--feature .show-media { aspect-ratio: 4 / 3; flex: none; }
  .cases { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .judy-versions { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .stats dt { font-size: 2.6rem; }
  .stats > div { padding-right: 12px; }
  .stats > div + div { padding-left: 14px; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .team { grid-template-columns: 1fr; }
  .nl-form { grid-template-columns: 1fr; }
  .nl-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { width: 160px; }
  .routes li { flex-direction: column; }
}

@media (max-width: 380px) {
  .channel-list button { min-width: 40px; font-size: .82rem; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; }
}
