/* Nighthawk Theater Company. Brand from the logo: stage black, curtain red, cream.
   Dark by default for every visitor (Mark's call for this site); light tokens apply when the
   visitor picks light with the header toggle (remembered in localStorage).
   Header, marquee, page heads, bands and footer stay dark in both modes, like a stage. */
:root {
  color-scheme: dark;
  --bg: #161312; --bg-alt: #201b1a; --card: #26201e; --ink: #f2ebe2; --muted: #c4b9af; --line: #3c3330;
  --head: #fbf3e8; --link: #ff9b8f; --red: #c21f24; --red-ink: #ffffff; --stage: #0f0d0c; --stage-2: #1f1a18;
  --gold: #f0c36a; --ok: #7fd39a; --err: #ff9d92; --radius: 14px; --shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
/* Light mode only when the visitor picks it with the header toggle (Mark, 2026-11-25: dark by default). */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6efe4;          /* warm cream, not white */
  --bg-alt: #ece2d2;
  --card: #fffaf1;
  --ink: #201a18;
  --muted: #564c46;
  --line: #d8cab5;
  --head: #201a18;        /* headings */
  --link: #9a1414;
  --red: #a3161a;         /* buttons and accents */
  --red-ink: #ffffff;
  --stage: #1b1817;       /* dark surfaces */
  --stage-2: #2a2321;
  --gold: #f0c36a;        /* spotlight */
  --ok: #1f6b37;
  --err: #a3161a;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(32, 26, 24, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; color: var(--head); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 .6em; }
h3, h2.h3 { font-size: 21px; margin: .3em 0 .3em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1b1817; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.narrow-text { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.lead { font-size: 20px; }
.note { color: var(--muted); font-size: 16px; }
.eyebrow, .role { margin: 0 0 4px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.section-title { text-align: center; margin-bottom: 28px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Marquee bar */
.marquee { background: #990000; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.marquee-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.marquee a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.marquee a:hover { text-decoration: underline; }

/* Header */
header.site { background: var(--stage); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 0 #990000; }
.bar { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.brand { display: block; margin-right: auto; padding: 10px 0; }
.brand img { display: block; width: 250px; max-width: 100%; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 11px; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.theme-btn { display: none; place-items: center; width: 42px; height: 42px; padding: 0; background: none; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; order: 3; }
.js .theme-btn { display: grid; }
.theme-btn:hover { background: rgba(255,255,255,.1); }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
.menu-btn { display: none; font: inherit; font-weight: 700; background: none; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 7px 14px; cursor: pointer; order: 2; }
@media (max-width: 1080px) {
  .bar { flex-wrap: wrap; }
  .js .menu-btn { display: block; }
  .nav { order: 4; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .js .nav:not(.open) { display: none; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
}
@media (max-width: 420px) { .brand img { width: 190px; } .bar { gap: 8px; } }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.center-btns { justify-content: center; }
.btns.stack { flex-direction: column; align-items: flex-start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; letter-spacing: .02em; text-decoration: none; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-red:hover { filter: brightness(1.12); }
.btn-light { background: rgba(0,0,0,.25); color: #fff; border-color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--head); border-color: currentColor; }
.btn-outline:hover { background: var(--bg-alt); }

/* Hero */
.hero { position: relative; padding: 0; color: #fff; background: var(--stage); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,11,.5), rgba(15,12,11,.82)); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 120px 20px 110px; }
.hero h1 { color: #fff; font-size: clamp(44px, 8vw, 88px); margin: 6px 0 10px; text-transform: uppercase; text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.hero .kicker { margin: 0; font-size: clamp(15px, 2vw, 19px); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-lead { font-size: clamp(18px, 2.2vw, 22px); margin: 0 auto; max-width: 640px; color: #f4ece2; }
.hero .btns { justify-content: center; margin-top: 32px; }

/* Page head */
.page-head { background: var(--stage-2) radial-gradient(ellipse at 50% -40%, rgba(240,195,106,.28), transparent 60%); color: #fff; padding: 50px 0 44px; border-bottom: 4px solid #990000; }
.page-head h1 { color: #fff; margin: 0; font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; }
.page-head p { margin: 10px 0 0; font-size: 20px; color: #efe6da; }
.page-head .crumb { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-head .crumb a { color: var(--gold); text-decoration: none; }
.page-head .crumb a::before { content: "‹ "; }
.page-head .crumb a:hover { text-decoration: underline; }
.subnav { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 6px; padding-top: 10px; padding-bottom: 10px; }
.subnav a { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.subnav a:hover { background: var(--card); }
.subnav a[aria-current="page"] { background: var(--red); color: var(--red-ink); }

/* Shows */
.shows { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 270px)); justify-content: center; }
.show a { display: block; color: inherit; text-decoration: none; }
.show .poster { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); transition: transform .2s ease; }
.show a:hover .poster { transform: translateY(-4px); }
.show h3 { margin: 14px 0 2px; font-size: 20px; text-transform: uppercase; }
.show a h3 { color: var(--link); }
.dates { margin: 0; color: var(--muted); font-weight: 600; }
.season { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; text-transform: uppercase; }
.pill { font-size: 14px; letter-spacing: .08em; background: var(--red); color: var(--red-ink); border-radius: 999px; padding: 4px 12px; }
.ticket-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.ticket-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.ticket-strip p { margin: 0; font-weight: 600; }
.show-detail { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 48px; align-items: start; }
.show-detail .poster { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.show-detail .dates { font-size: 19px; }
@media (max-width: 760px) { .show-detail { grid-template-columns: 1fr; gap: 28px; } }
.cast table { width: 100%; border-collapse: collapse; }
.cast td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cast td:first-child { font-weight: 700; width: 45%; }
.cast strong { color: var(--head); }
.back { margin-top: 32px; font-weight: 700; }

/* Tiles */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--stage); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,11,.05) 30%, rgba(15,12,11,.88)); }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 22px; }
.tile-kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.tile strong { display: block; font-size: 24px; line-height: 1.2; }

/* Split */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Cards */
.cards { display: grid; gap: 20px; margin: 24px 0; }
.cards.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
.cards.values { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 32px 0 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.value { border-top: 5px solid var(--red); }
.value h2 { text-transform: uppercase; }

/* Bios and officers */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-bottom: 32px; }
.bio .portrait { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.bio h2 { margin-bottom: 4px; }
@media (max-width: 720px) { .bio { grid-template-columns: 1fr; } .bio .portrait { max-width: 300px; } }
.officers { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.officer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.officer .headshot { width: 170px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--red); }
.officer h2 { margin: 2px 0; }
.officer .grade { margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.officer p:last-child { text-align: left; font-size: 16px; }
.photo-band { padding: 0; }
.band-img { display: block; width: 100%; height: 300px; object-fit: cover; }

/* Gear */
.gear-grid { list-style: none; padding: 0; margin: 32px 0 20px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gear a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.gear a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gear-img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.gear-ph { display: grid; place-items: center; align-content: center; gap: 4px; aspect-ratio: 1; border-radius: 10px; background: var(--stage-2) radial-gradient(circle at 50% 30%, rgba(240,195,106,.25), transparent 65%); color: #fff; font-weight: 800; letter-spacing: .2em; }
.gear-bird { width: 46%; }
.gear h2 { font-size: 18px; margin: 12px 0 2px; }
.price { margin: 0 0 10px; font-weight: 700; color: var(--muted); }
.buy { margin-top: auto; font-weight: 800; color: var(--link); }
.gear a:hover .buy { text-decoration: underline; }

/* Donate */
.give { min-height: 200px; }

/* Call to action band */
.band { background: var(--stage-2) radial-gradient(ellipse at 15% 120%, rgba(153,0,0,.5), transparent 60%); color: #fff; }
.band h2 { color: #fff; }
.band p { margin: 0; color: #efe6da; max-width: 640px; }
.band-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band .btns { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; margin: 0 0 20px; }
.facts li { display: flex; gap: 14px; margin-bottom: 18px; }
.facts svg { flex: none; color: var(--link); margin-top: 4px; }
.facts strong { display: block; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #8c7f74; border-radius: 10px; padding: 10px 12px; }
textarea { min-height: 150px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 6px 0 16px; min-height: 65px; }
.form-status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Prose */
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }

/* Footer */
footer.site { background: var(--stage); color: #e9e1d6; padding: 56px 0 28px; font-size: 16px; border-top: 4px solid #990000; }
footer.site a { color: #f3cf86; }
footer.site h2 { color: #fff; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 820px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer .cols { grid-template-columns: 1fr; } }
.foot-bird { width: 90px; margin-bottom: 8px; }
.fine { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); margin-top: 36px; padding-top: 18px; color: #cfc5b8; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
