/* Salem Witch Shop. Black and white, one green. Tokens live in DESIGN-BRIEF.md */
:root {
  --bg: #fff; --surface: #f4f4f5; --ink: #0b0b0c; --muted: #52525b; --line: #e4e4e7;
  --accent: #047857; --accent-hi: #34d399; --night: #0b0b0c; --night-2: #18181b; --night-muted: #a1a1aa;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4.6vw, 80px); --gap: 16px; --section: clamp(64px, 9vw, 120px); --r: 4px;
  --max: 1600px;
  color-scheme: light;
  interpolate-size: allow-keywords;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.62 var(--sans); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* header, a solid white band */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--serif); white-space: nowrap; }
.mark i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.mark i::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: -3px; left: 8px; }
.mark i::before { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); left: 4px; top: 11px; z-index: 1; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-size: 15px; font-weight: 600; border-radius: var(--r); }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--sans); background: none; border: 1px solid var(--ink); border-radius: var(--r); padding: 9px 14px; color: var(--ink); }
  .menu { margin: 0; inset: 64px 0 auto auto; width: min(320px, 100vw); border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; background: #fff; }
  .menu a { display: block; padding: 14px 0; font: 700 19px var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
}
@media (min-width: 761px) { .menu { display: none; } }

/* buttons, one shape for the whole site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r); font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, color .2s, translate .15s; }
.btn:active { translate: 0 1px; }
.btn-loud { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 10px 30px -10px rgb(16 185 129 / .55); }
.btn-loud:hover { background: #065f46; }
.btn-quiet { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-quiet:hover { background: rgb(255 255 255 / .1); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #27272a; }
.btn-line { color: var(--ink); border-color: var(--ink); background: #fff; }
.btn-line:hover { background: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* hero */
.hero { position: relative; isolation: isolate; min-height: min(calc(100dvh - 64px), 880px); display: grid; align-items: center; background: #050506; color: #fff; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -3; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(5 5 6 / .92) 0%, rgb(5 5 6 / .78) 30%, rgb(5 5 6 / .28) 56%, rgb(5 5 6 / 0) 72%), linear-gradient(0deg, rgb(5 5 6 / .55), rgb(5 5 6 / 0) 30%); }
/* deslop-keep: the lamp glow is the shop's one light, kept on purpose in the brief */
.hero > .wrap { width: 100%; }
.hero .lamp { position: absolute; z-index: -1; left: 70%; top: 38%; width: 38vw; height: 70%; translate: -50% -40%; background: radial-gradient(closest-side, rgb(16 185 129 / .38), rgb(16 185 129 / .12) 55%, rgb(16 185 129 / 0)); mix-blend-mode: screen; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero .lamp { animation: wick 7s ease-in-out infinite; } }
@keyframes wick { 0%, 100% { opacity: .55; } 38% { opacity: 1; } 52% { opacity: .82; } 70% { opacity: .95; } }
.hero-copy { padding: 56px 0 96px; max-width: 600px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.06; }
.hero h1 span { display: block; }
.hero h1 span + span { font-weight: 400; font-style: italic; color: #e4e4e7; }
.lede { margin: 22px 0 32px; font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; color: #a1a1aa; }
.lede b { color: #fff; font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 64px); align-items: end; }
  .hero picture img { object-position: 50% 0%; }
  .hero::before { background: linear-gradient(0deg, rgb(5 5 6 / .96) 0%, rgb(5 5 6 / .86) 38%, rgb(5 5 6 / .2) 66%, rgb(5 5 6 / 0) 80%); }
  .hero .lamp { left: 50%; top: 30%; width: 90vw; height: 46%; }
  .hero-copy { padding: 0 0 92px; }
  .acts .btn { flex: 1 1 100%; }
}

/* the ways in panel rises over the hero */
.ways { position: relative; z-index: 2; margin-top: -40px; }
.ways-in { background: #fff; border-top: 3px solid var(--accent); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -18px 50px -30px rgb(0 0 0 / .5); display: grid; grid-template-columns: 1.35fr 1fr 1fr; }
.way { padding: 28px 30px 30px; text-decoration: none; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); }
.way:first-child { border-left: 0; }
.way h2 { font-size: 23px; }
.way p { margin: 0; color: var(--muted); font-size: 16px; }
.way .go { margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--accent); }
.way:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
@media (max-width: 860px) { .ways-in { grid-template-columns: 1fr; } .way { border-left: 0; border-top: 1px solid var(--line); } .way:first-child { border-top: 0; } }

section.band { padding-block: var(--section); }
.kicker { font: 700 14.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); }
.sub { color: var(--muted); max-width: 38em; margin: 16px 0 0; font-size: 18px; }

/* the shop section, picture left, stations right */
.shop-split { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.poster { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #0b0b0c; aspect-ratio: 16 / 10; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.16, 1, .3, 1); }
.poster:hover img { scale: 1.03; }
.poster .btn { position: absolute; left: 20px; bottom: 20px; }
.stations { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 0; }
.stations li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.stations li:last-child { border-bottom: 1px solid var(--line); }
.stations b { font-family: var(--serif); font-size: 19px; }
.stations span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .shop-split { grid-template-columns: 1fr; } }

/* reading room, covers on a shelf */
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 44px; padding-bottom: 26px; border-bottom: 10px solid var(--ink); }
.cover { text-decoration: none; display: grid; gap: 12px; }
.cover .art { aspect-ratio: 3 / 4; border-radius: 2px 4px 4px 2px; overflow: hidden; background: #fff; border: 1px solid #d4d4d8; box-shadow: inset 6px 0 0 rgb(0 0 0 / .08), 0 14px 24px -16px rgb(0 0 0 / .5); transition: translate .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.cover:hover .art { translate: 0 -6px; box-shadow: inset 6px 0 0 rgb(0 0 0 / .08), 0 22px 30px -16px rgb(0 0 0 / .55); }
.cover .art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cover h3 { font-size: 17px; line-height: 1.25; }
.cover p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .shelf { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* an opening page set like a book, the editorial moment */
.opening { display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.opening .left { padding: clamp(28px, 4vw, 56px); display: grid; align-content: center; gap: 14px; border-right: 1px solid #d4d4d8; }
.opening .right { padding: clamp(28px, 4vw, 56px); font: 19px/1.7 var(--serif); }
.opening .right p { margin: 0 0 1em; }
.opening .right p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; font-weight: 700; }
@media (max-width: 860px) { .opening { grid-template-columns: 1fr; } .opening .left { border-right: 0; border-bottom: 1px solid #d4d4d8; } }

/* the black band, the one inverted section, for the Salem guide */
.night { background: var(--night); color: #fff; }
.night .sub { color: var(--night-muted); }
.night .kicker { color: var(--accent-hi); }
.guide-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.shoplist { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.shoplist li { padding: 16px 0; border-top: 1px solid #27272a; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.shoplist li:last-child { border-bottom: 1px solid #27272a; }
.shoplist b { font: 700 19px var(--serif); }
.shoplist span { color: var(--night-muted); font-size: 15px; grid-column: 1; }
.shoplist a.call { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid #52525b; padding: 10px 14px; border-radius: var(--r); white-space: nowrap; }
.shoplist a.call:hover { border-color: var(--accent-hi); }
.night .btn-line { background: #fff; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 700 20px/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); translate: 0 -70%; rotate: 45deg; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
.faq .a p { margin: 0; }

/* map card */
.mapcard { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mapcard .txt { padding: 30px; display: grid; align-content: center; gap: 12px; }
.mapcard .txt p { margin: 0; color: var(--muted); }
.gmap-frame { position: relative; min-height: 320px; background: var(--surface); }
.gmap-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.gmap-facade { position: absolute; inset: 0; width: 100%; border: 0; background: repeating-linear-gradient(0deg, transparent 0 39px, #e4e4e7 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #e4e4e7 39px 40px), var(--surface); font: 700 16px var(--sans); color: var(--ink); cursor: pointer; }
.gmap-frame.is-loaded .gmap-facade { display: none; }
@media (max-width: 760px) { .mapcard { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 10px solid var(--ink); padding: 48px 0 40px; margin-top: var(--section); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 17px; margin-bottom: 10px; font-family: var(--sans); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.foot p { color: var(--muted); font-size: 15px; margin: 10px 0 0; max-width: 30em; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; }
.foot .fine a { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } .foot { padding-bottom: 96px; } }

/* phone foot bar */
.bar { display: none; }
@media (max-width: 760px) {
  .bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
}

/* inner page heads */
.pagehead { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pagehead h1 { font-size: clamp(34px, 4.8vw, 58px); max-width: 16em; }
.pagehead .sub { font-size: 19px; }
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin: 56px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 8px; }
.prose p, .prose li { color: #27272a; }
.answer { font-size: 19px; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 32px 0; }
.points { background: var(--surface); border-radius: var(--r); padding: 22px 26px; margin: 0 0 32px; }
.points h2 { font: 700 15px var(--sans); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; color: var(--muted); }
.points ul { margin: 0; padding-left: 20px; }

/* guide listing */
.listing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.listing article { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.listing article:nth-child(2n) { padding-left: 26px; padding-right: 0; border-left: 1px solid var(--line); }
.listing h3 { font-size: 22px; margin: 0; }
.listing .kind { font-size: 14.5px; font-weight: 700; color: var(--accent); }
.listing p { margin: 0; color: var(--muted); font-size: 16px; }
.listing .acts { margin-top: 10px; gap: 8px; }
.listing .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (max-width: 760px) { .listing { grid-template-columns: 1fr; } .listing article, .listing article:nth-child(2n) { padding: 22px 0; border-left: 0; } }

/* ---------- the book reader ---------- */
.reader { padding: 20px 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.book-title { text-align: center; margin-bottom: 22px; }
.reader .crumbs { margin-bottom: 8px; }
.book-title h1 { font-size: clamp(30px, 3.6vw, 44px); }
.book-title p { margin: 8px 0 0; color: var(--muted); font: italic 19px var(--serif); }
.pages { max-width: 680px; margin: 0 auto; }
.pg { background: #fff; padding: 40px 44px; margin-bottom: 18px; border: 1px solid #e4e4e7; font: 18px/1.65 var(--serif); position: relative; }
.pg p { margin: 0 0 .9em; }
.pg .no { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font: 14.5px var(--sans); color: #71717a; }
.pg.title-pg { text-align: center; display: grid; align-content: center; gap: 12px; }
.pg.title-pg img { width: 62%; margin: 0 auto 8px; mix-blend-mode: multiply; }
.pg.title-pg h2 { font-size: 30px; }
.pg.title-pg .by { font: italic 17px var(--serif); color: var(--muted); }
.pg.note-pg { font-size: 16px; }
.pg.note-pg h2 { font-size: 22px; margin-bottom: 12px; }
.pg.end-pg { display: grid; align-content: center; justify-items: center; text-align: center; gap: 14px; }
.pg.end-pg h2 { font-size: 26px; }

/* the enhanced book, a two page spread with a turning leaf */
.book-on .pages { display: none; }
.book { --pw: min(46vw, 500px, calc((100svh - 230px) / 1.3)); --ph: calc(var(--pw) * 1.3); position: relative; width: calc(var(--pw) * 2); height: var(--ph); margin: 0 auto; perspective: 2400px; }
.book .slot, .book .leaf .face { position: absolute; top: 0; width: var(--pw); height: var(--ph); overflow: hidden; background: #fff; }
.book .slot.l { left: 0; border-radius: 4px 0 0 4px; box-shadow: inset -26px 0 30px -24px rgb(0 0 0 / .28); }
.book .slot.r { left: var(--pw); border-radius: 0 4px 4px 0; box-shadow: inset 26px 0 30px -24px rgb(0 0 0 / .22); }
.book::before { content: ""; position: absolute; inset: -12px -14px -16px; background: var(--ink); border-radius: 6px; z-index: -1; box-shadow: 0 40px 60px -30px rgb(0 0 0 / .6); }
.book .leaf { position: absolute; top: 0; left: var(--pw); width: var(--pw); height: var(--ph); transform-style: preserve-3d; transform-origin: left center; z-index: 5; pointer-events: none; }
.book .leaf .face { left: 0; backface-visibility: hidden; }
.book .leaf .back { transform: rotateY(180deg); box-shadow: inset -26px 0 30px -24px rgb(0 0 0 / .28); }
.book .leaf .front { box-shadow: inset 26px 0 30px -24px rgb(0 0 0 / .22); }
.book .leaf .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .18), rgb(0 0 0 / 0) 40%); opacity: 0; transition: opacity .7s; }
.book .leaf.turning .shade { opacity: 1; }
.book .pg { position: absolute; inset: 0; margin: 0; border: 0; padding: 8% 9% 12%; font-size: var(--fs, 17px); line-height: 1.58; overflow: hidden; }
.book .pg .no { bottom: 4%; }
.book .slot.blank, .book .face.blank { background: #f4f4f5; }
.book-on .book .pg.title-pg img { width: 58%; }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto 0; }
.ctrl .btn { min-height: 46px; }
.ctrl .count { min-width: 120px; text-align: center; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress { height: 3px; background: #d4d4d8; max-width: 520px; margin: 14px auto 0; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .4s; }
.book .hit { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 6; background: none; border: 0; cursor: pointer; padding: 0; }
.book .hit.prev { left: 0; cursor: w-resize; } .book .hit.next { right: 0; cursor: e-resize; }
@media (max-width: 760px) {
  .book { --pw: min(calc(100vw - 32px), 460px); --ph: max(calc(var(--pw) * 1.45), calc(100svh - 250px)); width: var(--pw); }
  .book .pg { padding: 7% 7% 12%; line-height: 1.5; }
  .reader { padding-top: 12px; }
  .reader .crumbs { display: none; }
  .book-title { margin-bottom: 14px; }
  .book-title h1 { font-size: 26px; }
  .book-title p { font-size: 16px; margin-top: 2px; }
  .ctrl { margin-top: 18px; gap: 8px; }
  .ctrl .btn { padding: 0 14px; font-size: 15px; }
  .ctrl .count { min-width: 0; font-size: 14.5px; }
  .book .slot.l { display: none; }
  .book .slot.r { left: 0; border-radius: 4px; box-shadow: inset 18px 0 24px -20px rgb(0 0 0 / .22); }
  .book .leaf { left: 0; }
  .book::before { inset: -8px -8px -12px -10px; }
}
.after { padding-block: clamp(48px, 6vw, 80px); }
.more { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 900px) { .more { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .more { grid-template-columns: repeat(2, 1fr); } }

/* ---------- the 3D shop page ---------- */
.shophead { display: grid; grid-template-columns: 1fr; gap: 0; }
.stage-poster { position: relative; background: #0b0b0c; aspect-ratio: 16 / 8; max-height: 72vh; width: 100%; overflow: hidden; }
.stage-poster img { width: 100%; height: 100%; object-fit: cover; }
.stage-poster .over { position: absolute; inset: auto 0 0 0; padding: 32px var(--pad); background: linear-gradient(0deg, rgb(5 5 6 / .9), rgb(5 5 6 / 0)); color: #fff; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.stage-poster .over p { margin: 0; color: #d4d4d8; max-width: 34em; }
.nogl { background: #fff; color: var(--ink); padding: 14px 18px; border-radius: var(--r); max-width: 36em; }
@media (max-width: 760px) { .stage-poster { aspect-ratio: 4 / 5; max-height: none; } .stage-poster .over .btn { width: 100%; } }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 20px; }
.items article { padding: 22px 0; border-top: 1px solid var(--line); }
.items h3 { font-size: 21px; }
.items .where { font-size: 14.5px; color: var(--accent); font-weight: 700; margin: 4px 0 6px; }
.items p { margin: 0 0 8px; color: var(--muted); }
@media (max-width: 760px) { .items { grid-template-columns: 1fr; } }

/* the walk in stage, full screen once opened */
html.ws-open, html.ws-open body { overflow: hidden; }
.ws-stage { position: fixed; inset: 0; z-index: 100; background: #0b0b0c; color: #fff; }
.ws-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.ws-hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--sans); }
.ws-hud > * { pointer-events: auto; }
.ws-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, rgb(0 0 0 / .65), rgb(0 0 0 / 0)); pointer-events: none; }
.ws-top > * { pointer-events: auto; }
.ws-name { margin: 0; font: 700 18px var(--serif); }
.ws-exit, .ws-x { font: 700 15px var(--sans); color: #fff; background: rgb(11 11 12 / .7); border: 1px solid rgb(255 255 255 / .5); border-radius: var(--r); padding: 10px 14px; cursor: pointer; }
.ws-stations { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; max-width: min(640px, calc(100% - 32px)); }
.ws-stations button { font: 600 14.5px var(--sans); color: #fff; background: rgb(11 11 12 / .72); border: 1px solid rgb(255 255 255 / .28); border-radius: var(--r); padding: 9px 12px; cursor: pointer; }
.ws-stations button[aria-pressed="true"] { border-color: var(--accent-hi); box-shadow: inset 0 -2px 0 var(--accent-hi); }
.ws-help { position: absolute; right: 16px; bottom: 16px; margin: 0; max-width: 300px; font-size: 14.5px; color: #e4e4e7; background: rgb(11 11 12 / .72); padding: 10px 12px; border-radius: var(--r); }
.ws-tip { position: fixed; left: 0; top: 0; font: 700 14.5px var(--sans); background: #fff; color: var(--ink); padding: 6px 10px; border-radius: var(--r); pointer-events: none; }
.ws-card { position: absolute; right: 16px; top: 68px; width: min(380px, calc(100% - 32px)); background: #fff; color: var(--ink); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 22px 22px 24px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); }
.ws-card h2 { font-size: 24px; margin: 2px 0 10px; }
.ws-card .ws-where { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.ws-card .ws-text { margin: 0 0 16px; color: #3f3f46; font-size: 16px; }
.ws-card .ws-go { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.ws-card .ws-x { position: absolute; top: 12px; right: 12px; color: var(--ink); background: #fff; border-color: #d4d4d8; padding: 6px 10px; font-size: 14.5px; }
.ws-loading { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; background: #0b0b0c; color: #fff; font: 700 17px var(--serif); }
@media (max-width: 760px) {
  .ws-help { left: 16px; right: 16px; bottom: auto; top: 62px; max-width: none; }
  .ws-stations { bottom: 12px; left: 12px; right: 12px; max-width: none; }
  .ws-stations button { flex: 1 1 calc(50% - 6px); }
  .ws-card { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

.stills { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.stills figure { margin: 0; }
.stills img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: #0b0b0c; }
.stills figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .stills { grid-template-columns: 1fr; } }
.hero-copy { max-width: 560px; }
@media (max-width: 760px) { .is-book .bar { display: none; } .is-book .foot { padding-bottom: 40px; } }
@media (max-width: 760px) {
  .hero picture { inset: 0 0 auto 0; height: auto; aspect-ratio: 768 / 1376; }
  .hero picture img { position: absolute; inset: 0; height: 100%; object-position: 50% 0%; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 16.5px; margin: 14px 0 20px; }
  .hero .lamp { top: 36%; height: 30%; }
}
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(0deg, rgb(5 5 6 / .97) 0%, rgb(5 5 6 / .92) 26%, rgb(5 5 6 / .72) 40%, rgb(5 5 6 / .38) 52%, rgb(5 5 6 / .12) 62%, rgb(5 5 6 / 0) 72%); }
}

/* round two after the gate review. A black header so the night scene runs to the top edge on a solid band */
.top { background: var(--night); border-bottom-color: #1f1f23; color: #fff; }
.top .mark { color: #fff; }
.top .mark i { background: #fff; }
.top .mark i::after { background: var(--night); }
.top .nav a { color: #e4e4e7; }
.top .nav a:hover { background: #1f1f23; color: #fff; }
.top .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-hi); color: #fff; }
.menu-btn { color: #fff !important; border-color: #52525b !important; }
.hero h1 { font-size: clamp(36px, 4.6vw, 78px); }
.hero h1 span + span { color: var(--accent-hi); }
@media (min-width: 1700px) { .hero .btn { min-height: 56px; padding: 0 30px; font-size: 17px; } .lede { font-size: 21px; } .hero-copy { max-width: 680px; } }
.hero { min-height: min(calc(100dvh - 64px), 1040px); }
.hero picture img { object-position: 64% 42%; }
/* the ways in panel continues the night, then the page turns white */
.ways::before { content: ""; position: absolute; inset: 0 0 50% 0; background: #050506; z-index: -1; }
.ways-in { background: var(--night-2); color: #fff; border-top-color: var(--accent-hi); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.way { border-left-color: #2a2a2e; }
.way p { color: var(--night-muted); }
.way .go { color: var(--accent-hi); }
@media (max-width: 860px) { .way { border-top-color: #2a2a2e; } }
/* the phone bar waits until the hero has scrolled away, so the first screen has one set of buttons */
@media (max-width: 760px) {
  .menu { background: var(--night); border-color: #1f1f23; }
  .menu a { color: #fff; border-bottom-color: #27272a; }
  .has-hero .bar { translate: 0 110%; transition: translate .3s ease; }
  .has-hero.past-hero .bar { translate: 0 0; }
}

/* round three. The first screen is all night: hero plus the whole ways in panel, then the page turns white */
.hero { min-height: max(520px, min(calc(100dvh - 64px - 150px), 980px)); }
.ways { margin-top: 0; padding-bottom: 56px; background: #050506; }
.ways::before { display: none; }
.ways-in { margin-top: -40px; box-shadow: none; border: 1px solid #232327; border-top: 3px solid var(--accent-hi); }
.btn-loud { box-shadow: none; }
.lede { color: #c4c4cc; font-size: clamp(18px, 1.5vw, 21px); }
.top .nav a { font: 600 16px var(--serif); }
@media (min-width: 2000px) { .hero { min-height: min(calc(100dvh - 64px - 150px), 1300px); } }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 64px); }
  .hero picture { width: 112%; left: -6%; right: auto; top: -84px; }
  .ways { padding-bottom: 40px; }
}
.btn-quiet { border-width: 1px; border-color: rgb(255 255 255 / .45); }
@media (min-width: 2000px) { .hero h1 { font-size: 96px; } .hero-copy { max-width: 860px; } .lede { font-size: 24px; } .hero .btn { min-height: 62px; font-size: 19px; padding: 0 34px; } }
