/* Evelyn Theatre — single-page site
   Direction: a 1946 Streamline Moderne picture house, brought up to date.
   Cinema, not Broadway: condensed marquee-letter display type, a night-sky
   ground, warm marquee-bulb amber, and the façade's horizontal "speed lines"
   as the one recurring motif. Live events get a second accent (coral) so
   they read as a different kind of night out without taking over.
   Layout: one column of short, scannable bands; showtimes first. */

:root {
  --ink: #0d141b;          /* page ground: night sky over Bliss Ave */
  --ink-2: #131d26;        /* alternate band */
  --panel: #182430;        /* cards */
  --rule: #26384a;         /* hairlines */
  --text: #edf1f3;
  --muted: #95a6b4;
  --bulb: #ffb547;         /* marquee bulb amber: the accent */
  --live: #ff7d64;         /* live-stage coral: live events only */
  --on-accent: #1a1206;

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --wrap: 1080px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bulb); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bulb); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
.band { padding-block: 64px; }
.band + .band { border-top: 1px solid var(--rule); }
.band.alt { background: var(--ink-2); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--bulb); color: var(--on-accent); padding: 8px 12px; }

/* Speed lines: three stepped rules, the façade motif ------------------ */
.speedlines { display: grid; gap: 4px; width: 56px; }
.speedlines i { display: block; height: 3px; border-radius: 2px; background: var(--bulb); }
.speedlines i:nth-child(2) { width: 75%; opacity: .7; }
.speedlines i:nth-child(3) { width: 50%; opacity: .45; }

/* Section heads -------------------------------------------------------- */
.head { display: grid; gap: 12px; margin-bottom: 28px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.2rem); letter-spacing: .01em; text-transform: uppercase; }
.lede { color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); padding-block: 8px; }
.brand .logo { display: block; height: 52px; width: auto; max-width: 62vw; overflow: visible; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.3; border-left: 1px solid var(--rule); padding-left: 12px; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--panel); }

/* Notice ---------------------------------------------------------------- */
.notice { background: var(--panel); border-bottom: 1px solid var(--rule); }
.notice p { padding-block: 10px; font-weight: 600; font-size: .95rem; display: flex; gap: 10px; align-items: baseline; }
.notice p::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); transform: translateY(-1px); }

/* This week ------------------------------------------------------------- */
.this-week { padding-top: 44px; }
.week-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.week-head .h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 9vw, 4.6rem); text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.week-head .updated { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.loading { color: var(--muted); }

.screen { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.screen.is-event { border-color: color-mix(in srgb, var(--live) 55%, var(--rule)); }

/* The media slot: one 16:9 box for a trailer, a photo, or a title card */
.media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.media iframe, .media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.yt-facade { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-facade img { opacity: .85; transition: opacity .2s; }
.yt-facade:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bulb); color: var(--on-accent); font-weight: 700; font-size: .9rem; }
.yt-play::before { content: ""; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.media .badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--live); color: var(--on-accent); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }

.titlecard {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; background: linear-gradient(160deg, #1d2d3c 0%, #111a23 70%);
}
.titlecard::before { /* speed lines across the card */
  content: ""; position: absolute; left: 22px; right: 22px; top: 50px; height: 15px;
  background:
    linear-gradient(var(--tc-accent, var(--bulb)) 0 0) left top / 100% 3px no-repeat,
    linear-gradient(var(--tc-accent, var(--bulb)) 0 0) left 6px / 70% 3px no-repeat,
    linear-gradient(var(--tc-accent, var(--bulb)) 0 0) left 12px / 40% 3px no-repeat;
  opacity: .6;
}
.is-event .titlecard { --tc-accent: var(--live); }
.tc-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tc-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: .95; text-transform: uppercase; }
.media-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(160deg, #18242f, #10181f); }

.screen-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.screen-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bulb); }
.is-event .screen-label { color: var(--live); }
.screen-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.screen-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: .92rem; }
.rating { border: 1px solid var(--muted); border-radius: 4px; padding: 0 6px; font-weight: 700; font-size: .8rem; color: var(--text); }
.screen-desc { color: var(--muted); }
.when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.when .dates { font-weight: 700; margin-right: 4px; }
.times { list-style: none; display: contents; }
.times li { font-variant-numeric: tabular-nums; font-weight: 700; background: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; }
.screen-link { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* Live-event tickets: separate from movie prices, in the live accent */
.tix { margin-top: 8px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--live) 45%, var(--rule)); border-radius: 10px; background: color-mix(in srgb, var(--live) 6%, var(--ink)); display: grid; gap: 6px; }
.tix-h { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--live); }
.tix-prices { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 4px; }
.tix-prices li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--rule); padding-bottom: 4px; }
.tix-prices strong { font-variant-numeric: tabular-nums; }
.tix-line { color: var(--text); font-size: .93rem; padding-left: 20px; position: relative; }
.tix-line::before { position: absolute; left: 0; top: 0; color: var(--live); font-weight: 800; }
.tix-when::before { content: "◷"; }
.tix-where::before { content: "⌖"; }
.tix-note { color: var(--muted); font-size: .9rem; }
.tix-buy { margin-top: 6px; }
.button.live-btn { background: var(--live); color: var(--on-accent); }
.prices .prices-h { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bulb); align-self: center; }

/* Nothing showing: a designed state, not an apology */
.dark-week { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.dark-week h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; }
.dark-week p { color: var(--muted); max-width: 58ch; }
.dark-week .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.prices { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: .95rem; }
.prices strong { color: var(--text); margin-left: 6px; font-variant-numeric: tabular-nums; }

/* Buttons --------------------------------------------------------------- */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--bulb); color: var(--on-accent); text-decoration: none; font-weight: 700; }
.button:hover { color: var(--on-accent); filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--rule); }
.button.ghost:hover { border-color: var(--muted); }

/* Live ------------------------------------------------------------------ */
.live .speedlines i { background: var(--live); }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.live-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 18px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); }
.live-date { width: 64px; text-align: center; border: 1px solid var(--live); border-radius: 10px; padding: 6px 0 8px; line-height: 1; font-variant-numeric: tabular-nums; }
.live-date .m { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--live); }
.live-date .d { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; margin-top: 4px; }
.live-item h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }
.live-item .sub { color: var(--muted); font-size: .95rem; }
.live-item .desc { color: var(--muted); margin-top: 6px; }
.live-item .more { margin-top: 8px; font-weight: 600; }
.live-foot { margin-top: 20px; color: var(--muted); }

/* Private events -------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 56px; align-items: start; }
.split > * { min-width: 0; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px 24px; }
.amenities li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }

/* History --------------------------------------------------------------- */
/* The story in four reels: prose on the left, a key-dates rail on the right */
.reels { display: grid; gap: 0; counter-reset: reel; }
.reel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px 48px; padding-block: 36px; border-top: 1px solid var(--rule); }
.reel:first-child { border-top: 0; padding-top: 8px; }
.reel-story { display: grid; gap: 14px; align-content: start; max-width: 64ch; }
.reel-no { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bulb); display: flex; align-items: center; gap: 10px; }
.reel-no::before { /* a film-reel glyph: rim, hub and three spokes */
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, var(--bulb) 0 2px, transparent 2.5px),
    conic-gradient(from 0deg, var(--bulb) 0 6deg, transparent 6deg 120deg, var(--bulb) 120deg 126deg, transparent 126deg 240deg, var(--bulb) 240deg 246deg, transparent 246deg);
  box-shadow: inset 0 0 0 2px var(--bulb);
}
.reel h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.3rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.reel-story p:not(.reel-no) { color: #c9d4dc; }

.reel-dates { margin: 0; display: grid; gap: 0; align-content: start; border-left: 2px solid var(--rule); padding-left: 18px; font-size: .92rem; }
.reel-dates > div { position: relative; display: grid; gap: 2px; padding-block: 9px; }
.reel-dates > div::before { content: ""; position: absolute; left: -25px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--muted); }
.reel-dates > .key::before { background: var(--bulb); border-color: var(--bulb); }
.reel-dates > .nat::before { border-style: dashed; border-color: var(--muted); }
.reel-dates dt { font-weight: 800; font-variant-numeric: tabular-nums; }
.reel-dates .key dt { color: var(--bulb); }
.reel-dates .nat dt, .reel-dates .nat dd { color: var(--muted); font-style: italic; }
.reel-dates dd { margin: 0; color: var(--text); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); margin-right: 6px; vertical-align: -1px; }
.legend .sw.key { background: var(--bulb); border-color: var(--bulb); }
.legend .sw.nat { border-style: dashed; }

/* Gallery: a native scroll-snap carousel. Swipe on touch, arrows or keys on desktop. */
.gallery { margin-top: 44px; display: grid; gap: 14px; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gallery-title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; }
.gallery-nav { display: flex; align-items: center; gap: 8px; }
.gallery-count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; margin-right: 6px; white-space: nowrap; }
.g-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.g-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.g-btn:hover:not(:disabled) { border-color: var(--bulb); color: var(--bulb); }
.g-btn:disabled { opacity: .35; cursor: default; }

.gallery-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--bulb); outline-offset: 4px; }
.g-slide { scroll-snap-align: start; min-width: 0; }
.g-slide figure { margin: 0; display: grid; gap: 10px; }
.g-slide img {
  width: 100%; height: auto; max-height: min(62vh, 560px); aspect-ratio: 16 / 10; object-fit: contain;
  background: #05080b; border-radius: var(--radius); border: 1px solid var(--rule);
}
.g-slide figcaption { color: #c9d4dc; font-size: .95rem; max-width: 70ch; }
.g-slide figcaption b { color: var(--text); }

.g-invite .invite {
  aspect-ratio: 16 / 10; max-height: min(62vh, 560px); border-radius: var(--radius); border: 1px dashed var(--bulb);
  display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(20px, 5vw, 56px);
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--bulb) 12%, transparent), transparent 60%), var(--panel);
}
.invite-k { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bulb); }
.invite-t { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem); text-transform: uppercase; line-height: 1; }
.invite p:not(.invite-k):not(.invite-t) { color: #c9d4dc; max-width: 46ch; }

@media (max-width: 620px) {
  .gallery-track { grid-auto-columns: 88%; gap: 12px; } /* show a sliver of the next photo so swiping is obvious */
  .gallery-title { font-size: 1.35rem; }
  .g-invite .invite { aspect-ratio: auto; min-height: 260px; }
}
@media (hover: none) and (pointer: coarse) { .g-btn { display: none; } } /* touch screens swipe */
@media (prefers-reduced-motion: reduce) { .gallery-track { scroll-behavior: auto; } }

.designation { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; padding: 20px 22px; border: 1px dashed var(--bulb); border-radius: var(--radius); }
.designation .seal { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--bulb); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--bulb); font-size: 1.05rem; letter-spacing: .04em; }
.designation strong { display: block; font-size: 1.05rem; }
.designation p { color: var(--muted); }
.share-story { margin-top: 20px; color: var(--muted); }

/* Visit / footer -------------------------------------------------------- */
address { font-style: normal; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.contact-list { display: grid; gap: 6px; }
.contact-list span { color: var(--muted); display: inline-block; min-width: 8.5rem; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 24px; color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: center; }

@media (max-width: 620px) {
  .band { padding-block: 48px; }
  .brand-sub { display: none; }
  .brand .logo { height: 44px; }
  .header-inner { justify-content: center; padding-top: 6px; }
  .header-inner nav { width: 100%; }
  .nav { flex-wrap: nowrap; justify-content: center; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 8px; font-size: .88rem; white-space: nowrap; }
  .reel { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
