/* ============================================================
   trap. — site styles
   Identity from the existing trapadl.com site:
     - monochrome black & white
     - Futura Bold Italic for headings (lowercase, trailing period)
     - Acumin Pro Bold for body copy
     - pill-shaped buttons that invert on hover
   ============================================================ */

@font-face {
  font-family: "Futura";
  src: url("../assets/fonts/Futura Bold Italic.otf") format("opentype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acumin-Pro";
  src: url("../assets/fonts/Acumin_Pro_Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --white-dim: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.22);

  --font-display: "Futura", "Futura PT", sans-serif;
  --font-body: "Acumin-Pro", "acumin-pro", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --hud-pad: max(1rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 1rem max(1.25rem, env(safe-area-inset-left));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; overflow-x: hidden; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: bold;
  font-style: italic;
}

::selection { color: var(--white); background: var(--black); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--white); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 50, 50, 0.8); }

/* ==================== film layer ==================== */

.film {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--black);
}

.film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-stream { display: none; }

/* subtle grade so overlay text always reads */
.film__grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 30%,
    rgba(0,0,0,0.08) 65%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.film__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(ellipse at 50% 40%, #17181a 0%, var(--black) 70%);
}

.film__placeholder[hidden] {
  display: none;
}

.film__placeholder-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
}

.film__placeholder-hint {
  font-size: 0.9rem;
  color: var(--white-dim);
  max-width: 26rem;
}

.film__placeholder-hint code { font-family: var(--font-mono); color: var(--white); }

/* ==================== HUD ==================== */

.hud {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--hud-pad);
  pointer-events: none;
}

.hud__brand { pointer-events: auto; display: block; }
.hud__brand img { display: block; height: 30px; width: auto; }

.hud__timecode {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  font-variant-numeric: tabular-nums;
}

.hud__frames { color: var(--white); }

/* ==================== scenes ==================== */

.scene {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 5.5rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scene.is-active {
  opacity: var(--scene-opacity, 1);
  visibility: visible;
  pointer-events: auto;
}

.scene__inner {
  max-width: 34rem;
  text-align: center;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.scene__inner--chapter {
  max-width: min(42rem, 100%);
}

/* Keep chapter content high enough to leave the centre of the film visible. */
.scene[data-marker] {
  align-items: start;
}

.scene__logo {
  width: min(60vw, 240px);
  height: auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.55));
}

.scene__title {
  font-size: clamp(2.6rem, 12vw, 4.5rem);
  line-height: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.scene__title--small {
  font-size: clamp(2.2rem, 8vw, 3.8rem);
  text-shadow: none;
}

.scene__image {
  width: min(72vw, 420px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

.scene__video { display: block; }

.scene__image--portrait {
  width: min(46.8vw, 273px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: transparent;
}

.scene__lede {
  font-size: 1.1rem;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  text-wrap: balance;
}

.scene__hours {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white-dim);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

.scene__body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white-dim);
  text-shadow: none;
  text-wrap: pretty;
}

.scene__cue {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  animation: cue-drift 2.4s ease-in-out infinite;
}

@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* pill button, inverts on hover — .btn_one from the original site */
.scene__cta {
  margin-top: 0.75rem;
  display: inline-block;
  padding: 15px 63px;
  border: 4px solid var(--white);
  border-radius: 80px;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.575rem;
  transition: 0.4s ease-in-out;
}

.scene__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.scene__cta:hover,
.scene__cta:focus-visible {
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

/* marker-scene reveal: content rises as the hold progresses */
.scene[data-marker] .scene__inner {
  transform: translateY(calc((1 - var(--hold-progress, 1)) * 1.25rem));
}

/* ==================== persistent booking CTA ==================== */
/* Solid white pill that always stays on screen. It starts above the hero's
   scroll cue (position driven by --cta-bottom, set in JS) and slides down to
   the bottom of the screen once the film starts playing. */

.book-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  padding: 16.5px 66px;
  border: 4px solid var(--white);
  border-radius: 80px;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.575rem;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  transition: bottom 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease-in-out, color 0.4s ease-in-out;
  bottom: var(--cta-bottom, 24vh);
  z-index: 30;
  background: var(--white);
  color: var(--black);
}

.book-cta:hover,
.book-cta:focus-visible {
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

/* docked at the bottom once scrolling starts */
.book-cta--docked {
  bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.mute-toggle,
.social-toggle {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  z-index: 31;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: opacity 0.35s ease-in-out,
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease-in-out, color 0.4s ease-in-out;
}

.mute-toggle {
  left: var(--mute-left, max(1rem, env(safe-area-inset-left)));
}

.mute-hint {
  position: fixed;
  left: var(--mute-left, 50%);
  bottom: calc(max(1.5rem, env(safe-area-inset-bottom)) + 4.4rem);
  z-index: 32;
  width: 3.5rem;
  height: 9.5rem;
  padding: 0.7rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--white);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 0.5rem);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mute-hint--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mute-hint__slider {
  display: none;
}

.mute-hint__unmute {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.45rem 0.35rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.8rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
}

.mute-hint__unmute:hover,
.mute-hint__unmute:focus-visible {
  background: transparent;
  color: var(--white);
}

.social-toggle {
  left: var(--social-left, calc(50% - 11rem));
  text-decoration: none;
}

.mute-toggle--visible,
.social-toggle--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mute-toggle:hover,
.mute-toggle:focus-visible,
.social-toggle:hover,
.social-toggle:focus-visible {
  background: transparent;
  color: var(--white);
}

.mute-toggle__icon { display: none; }
.mute-toggle--muted .mute-toggle__icon--muted { display: block; }
.mute-toggle:not(.mute-toggle--muted) .mute-toggle__icon--sound { display: block; }

.volume-panel {
  position: fixed;
  left: var(--volume-left, max(1rem, env(safe-area-inset-left)));
  bottom: calc(max(1.5rem, env(safe-area-inset-bottom)) + 3.75rem);
  z-index: 31;
  width: 3.5rem;
  height: 9.5rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease-in-out,
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.volume-panel--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.volume-panel__slider {
  display: block;
  width: 1.4rem;
  height: 100%;
  margin: 0 auto;
  writing-mode: vertical-lr;
  direction: rtl;
  accent-color: var(--white);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition.is-active { transform: translateY(0); }

/* in stacked static mode the CTA is always docked at the bottom */
body.static-mode .book-cta { position: fixed; }

/* ==================== admin fab ==================== */

.admin-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.65);
  color: var(--white-dim);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.4;
  transition: 0.4s ease-in-out;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.admin-fab:hover,
.admin-fab:focus-visible {
  opacity: 1;
  background: var(--white);
  color: var(--black);
}

@media (max-width: 47.999rem) {
  .admin-fab {
    display: none;
  }
}

/* ==================== passcode gate ==================== */

.gate {
  margin: auto;
  border: 3px solid var(--white);
  border-radius: 12px;
  background: var(--black);
  color: var(--white);
  padding: 0;
  width: min(20rem, calc(100vw - 2.5rem));
}

#business-info {
  width: min(30rem, calc(100vw - 2.5rem));
}

#song-upload {
  width: min(34rem, calc(100vw - 2.5rem));
}

.bookings-admin {
  width: min(58rem, calc(100vw - 2rem));
  max-width: none;
  height: min(92dvh, 52rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: #101112;
  color: var(--white);
  overflow: hidden;
}

/* standalone bookings route */
.bookings-page {
  min-height: 100dvh;
  background: radial-gradient(ellipse at 50% -10%, #17181a 0%, var(--black) 60%);
  overflow-x: hidden;
}
.bookings-page .bookings-admin {
  display: block;
  width: min(58rem, calc(100vw - 2rem));
  height: auto;
  min-height: 100dvh;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.bookings-page .bookings-admin__shell { height: auto; min-height: 100dvh; padding-top: clamp(5rem, 10vw, 7rem); padding-bottom: 4rem; }
.bookings-page .bookings-admin__close { font-size: 1rem; padding: 0.7rem 1.2rem; border: 2px solid var(--line); border-radius: 80px; }
.bookings-page .bookings-admin__close:hover, .bookings-page .bookings-admin__close:focus-visible { background: var(--white); color: var(--black); }
.bookings-page__gate { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; padding: 1.5rem; background: radial-gradient(ellipse at 50% 30%, #17181a 0%, var(--black) 70%); }
.bookings-page__gate[hidden] { display: none; }
.bookings-page__gate .gate { position: relative; margin: 0; }

.bookings-admin::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(8px); }
.bookings-admin__shell { height: 100%; overflow: auto; padding: clamp(1.2rem, 3vw, 2.5rem); }
.bookings-admin__header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.bookings-admin__lede, .bookings-admin__status { margin: 0; color: var(--white-dim); font-size: 0.9rem; }
.bookings-admin__close { border: 0; background: transparent; color: var(--white-dim); font-size: 2rem; line-height: 1; cursor: pointer; }
.bookings-admin__close:hover, .bookings-admin__close:focus-visible { color: var(--white); }
.bookings-admin__status { min-height: 1.3rem; padding: 1rem 0 0; }
.bookings-admin__sections { display: grid; gap: 1.25rem; padding-top: 1rem; }
.booking-section { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); overflow: hidden; }
.booking-section__header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, 0.045); }
.booking-section__header h2 { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-style: italic; text-transform: lowercase; }
.booking-section__header p { margin: 0.2rem 0 0; color: var(--white-dim); font-size: 0.78rem; }
.booking-section__count { display: grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 50%; background: var(--white); color: var(--black); font-weight: 700; }
.booking-section__rows { display: grid; }
.booking-empty { margin: 0; padding: 1.2rem; color: var(--white-dim); font-size: 0.9rem; }
.booking-record { border-top: 1px solid var(--line); }
.booking-record__toggle { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(8rem, 1.2fr) auto 1.5rem; gap: 1rem; align-items: center; width: 100%; padding: 1rem 1.2rem; border: 0; background: transparent; color: var(--white); text-align: left; cursor: pointer; font: inherit; }
.booking-record__toggle:hover, .booking-record__toggle:focus-visible { background: rgba(255, 255, 255, 0.07); }
.booking-record__date { color: var(--white-dim); font-family: var(--font-mono); font-size: 0.78rem; }
.booking-record__person { font-weight: 700; }
.booking-record__party { color: var(--white-dim); font-size: 0.85rem; white-space: nowrap; }
.booking-record__chevron { font-size: 1.5rem; font-weight: 300; text-align: center; transition: transform 0.25s ease; }
.booking-record__toggle[aria-expanded="true"] .booking-record__chevron { transform: rotate(45deg); }
.booking-record__details { padding: 0 1.2rem 1.2rem; }
.booking-card { display: grid; grid-template-columns: minmax(13rem, 0.8fr) 1.5fr; gap: 1.4rem; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)); }
.booking-card__eyebrow { color: var(--white-dim); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.booking-card__hero h3 { margin: 0.35rem 0; font-family: var(--font-display); font-size: 1.8rem; font-style: italic; }
.booking-card__hero p { margin: 0; color: var(--white-dim); line-height: 1.5; }
.booking-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1rem; margin: 0; }
.booking-card__item { min-width: 0; }
.booking-card__item dt { color: var(--white-dim); font-size: 0.7rem; text-transform: lowercase; }
.booking-card__item dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; line-height: 1.4; }

@media (max-width: 42rem) {
  .booking-record__toggle { grid-template-columns: 1fr auto 1.5rem; gap: 0.55rem; }
  .booking-record__date { grid-column: 1 / -1; }
  .booking-card { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 30rem) {
  .bookings-admin { width: calc(100vw - 1rem); height: calc(100dvh - 1rem); }
  .booking-card__grid { grid-template-columns: 1fr; }
  .booking-record__toggle { padding-inline: 0.8rem; }
  .booking-record__details { padding-inline: 0.8rem; }
}

.gate::backdrop {
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gate__form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  font-family: var(--font-body);
}

.gate__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
}

.gate__input {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  background: transparent;
  border: 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  outline: none;
  transition: 0.4s ease-in-out;
}

.gate__input:focus-visible { border-bottom-color: var(--white); }
.gate__input::placeholder { color: var(--white-dim); }

.gate__error { font-size: 0.85rem; color: rgb(255, 80, 80); }

.gate__menu {
  display: grid;
  gap: 0.7rem;
}

.gate__option {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

.gate__option:hover,
.gate__option:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.gate__field {
  display: grid;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--white-dim);
}

.gate__textarea {
  min-height: 8rem;
  resize: vertical;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.gate__textarea:focus-visible { border-color: var(--white); }

.hours-editor {
  display: grid;
  gap: 0.55rem;
}

.hours-editor__row {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 6.5rem 6.5rem;
  gap: 0.55rem;
  align-items: center;
}

.hours-editor__toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
}

.hours-editor__toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--white);
}

.hours-editor__time {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  outline: none;
}

.hours-editor__time option {
  background: var(--black);
  color: var(--white);
}

.hours-editor__time:focus-visible { border-color: var(--white); }

.hours-editor__time:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.song-list {
  display: grid;
  gap: 0.55rem;
  max-height: min(18rem, 45vh);
  overflow: auto;
}

.song-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.song-list__meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.song-list__title,
.song-list__sub,
.song-list__empty {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-list__title {
  color: var(--white);
  font-size: 0.95rem;
}

.song-list__sub,
.song-list__empty {
  color: var(--white-dim);
  font-size: 0.8rem;
}

.song-list__delete {
  padding: 6px 16px;
  border-width: 2px;
  font-size: 0.8rem;
}

.gate__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.gate__btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 26px;
  border-radius: 80px;
  background: var(--white);
  border: 3px solid var(--white);
  color: var(--black);
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.gate__btn:hover { padding: 8px 34px; }

.gate__btn--ghost {
  background: transparent;
  color: var(--white);
}

.gate__btn--ghost:hover { background: var(--white); color: var(--black); padding: 8px 26px; }

@media (max-width: 30rem) {
  .hours-editor__row {
    grid-template-columns: 1fr 1fr;
  }

  .hours-editor__toggle {
    grid-column: 1 / -1;
  }
}

/* ==================== static / reduced-motion mode ==================== */
/* When the scroll engine is off (reduced motion, or no video), scenes
   stack as a normal document. */

body.static-mode .scene {
  position: relative;
  inset: auto;
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.static-mode #scroll-spacer { display: none; }

@media (prefers-reduced-motion: reduce) {
  .scene__cue { animation: none; }
}

/* ==================== larger screens ==================== */

@media (min-width: 48rem) {
  .hud__brand { display: none; }

  .side-stream {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    width: max(0px, calc((100vw - (100vh * 0.564)) / 2));
    overflow: hidden;
    pointer-events: none;
  }

  .side-stream--left { left: 0; }
  .side-stream--right { right: 0; }

  .hud__timecode { margin-left: auto; }

  .side-stream__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: logo-stream-up 22s linear infinite;
  }

  .side-stream--right .side-stream__track {
    animation-name: logo-stream-down;
  }

  .side-stream__set {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex: 0 0 230vh;
    width: 100%;
  }

  .side-stream img {
    display: block;
    width: min(65%, 10rem);
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
  }

  .side-stream--left img { transform: rotate(-90deg) scale(5); }
  .side-stream--right img { transform: rotate(90deg) scale(5); }

  .film video {
    object-fit: contain;
  }

  .hud__brand img { height: 36px; }
  .scene__inner { max-width: 42rem; }
  .scene__lede { font-size: 1.25rem; }
  .scene__logo { width: 280px; }
}

@keyframes logo-stream-up {
  from { transform: translateY(0); }
  to { transform: translateY(-200vh); }
}

@keyframes logo-stream-down {
  from { transform: translateY(-200vh); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) and (min-width: 48rem) {
  .side-stream__track { animation: none; }
}
