/* media.charlessieg.com: tokens, base type, and page chrome. System fonts only; light and dark follow the device. */
/* A screening room: cream ticket stock with cinema red by day, near-black with marquee gold at night. */
:root {
  color-scheme: light dark;
  --paper: #F3EAD3;
  --sheet: #FAF4E4;
  --ink: #1B1713;
  --ink-soft: #5B4F42;
  --rule: #D6C8A8;
  --accent: #A5121E;
  --focus: #0B57D0;
  --condensed: "Avenir Next Condensed", "Helvetica Neue", "Arial Narrow", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D0B09;
    --sheet: #171310;
    --ink: #F1E7D3;
    --ink-soft: #B9AD97;
    --rule: #2F2820;
    --accent: #E9B824;
    --focus: #8AB4FF;
  }
}

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

html { font-size: 112.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--condensed); font-stretch: condensed; font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; }
li { margin: 0; }
img, svg { max-width: 100%; }

a { color: inherit; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: 0; z-index: 10;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
  font: 600 0.9rem var(--sans); transform: translateY(-120%);
}
.skip:focus { transform: translateY(0); }

.print-only { display: none; }

/* Masthead: the wordmark, the nav, and a row of marquee bulbs under both. */
.masthead { position: relative; padding-bottom: 14px; }
.masthead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background-image: radial-gradient(circle at 50% 50%, var(--accent) 0 2.6px, transparent 3.2px);
  background-size: 16px 10px; background-repeat: repeat-x; background-position: center;
}
.masthead__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__name { font: 700 1.9rem/1 var(--condensed); font-stretch: condensed; letter-spacing: 0.01em; }
.ticket { fill: var(--accent); flex: none; }
.ticket__perf { fill: none; stroke: var(--paper); stroke-width: 1; stroke-dasharray: 1.6 1.4; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; }
.nav a { font: 600 1.05rem/1.4 var(--condensed); font-stretch: condensed; letter-spacing: 0.03em; text-decoration: none; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Colophon (page footer) */
.colophon { margin-top: 5rem; border-top: 1px solid var(--rule); padding-block: 2.5rem 3rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.colophon__grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; }
.colophon__name { font: 700 1.6rem/1.1 var(--condensed); font-stretch: condensed; color: var(--ink); margin-bottom: 0.4rem; }
.colophon__dek { margin: 0; max-width: 22rem; }
.colophon h2 { font: 600 1rem/1.3 var(--condensed); font-stretch: condensed; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 0.6rem; }
.colophon ul { list-style: none; display: grid; gap: 0.1rem; }
.colophon a { display: inline-block; padding-block: 0.2rem; color: var(--ink-soft); }
.colophon a:hover { color: var(--ink); }
.colophon__fine { margin-top: 2.5rem; }
.colophon__fine::before { content: ""; display: block; border-top: 1px solid var(--rule); margin-bottom: 1.25rem; }
.colophon__fine p { margin: 0 0 0.35rem; max-width: 40rem; }

@media (min-width: 48rem) {
  .colophon__grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .colophon__grid nav:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
}
