/* Aura Wonder Works — CRT TV channels
   Black studio wall · pale yellow accents · cream screen */

:root {
  --aura-yellow: #F8D878;
  --aura-yellow-hot: #FBE89A;
  --aura-yellow-deep: #E0C05A;
  --wall: #050505;
  --wall-deep: #000000;
  --beige: #d9cbb0;
  --beige-deep: #c4b396;
  --beige-shadow: #a89678;
  --cream: #f3ead8;
  --cream-ui: #efe4ce;
  --cream-paper: #f7efdf;
  --accent: var(--aura-yellow);
  --accent-deep: var(--aura-yellow-deep);
  --accent-soft: #E8D080;
  --yellow-cta: var(--aura-yellow);
  --yellow-cta-hot: var(--aura-yellow-hot);
  --ink: #1a1610;
  --ink-soft: #5a4e3e;
  --wear: rgba(90, 70, 40, 0.18);
  --shadow-wall: rgba(0, 0, 0, 0.65);
  --font-display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

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

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

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--wall-deep);
  overflow-x: hidden;
  position: relative;
}

/* —— Black studio wall —— */
.studio-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% 35%, rgba(248, 216, 120, 0.04), transparent 55%),
    linear-gradient(165deg, #0a0a0a 0%, #050505 40%, #000000 100%);
}

.studio-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.studio-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 0, 0, 0.45), transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(248, 216, 120, 0.03), transparent 40%);
}

/* —— Back link —— */
.back-link {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  z-index: 5;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 234, 216, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 216, 120, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.15s, border-color 0.15s;
}
.back-link:hover {
  color: var(--aura-yellow);
  border-color: var(--aura-yellow);
}

/* —— Stage / CRT framing —— */
.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
  min-height: 100dvh;
  width: 100%;
  padding: 3.5rem 1rem 2.75rem;
}

.crt {
  position: relative;
  width: min(400px, 84vw);
  max-width: 400px;
  margin-inline: auto;
  filter:
    drop-shadow(0 28px 42px var(--shadow-wall))
    drop-shadow(0 8px 12px rgba(60, 40, 10, 0.2));
}

@media (min-width: 720px) {
  .crt {
    width: min(440px, 40vw);
    max-width: 440px;
  }
}

.crt-bezel {
  position: relative;
  background:
    linear-gradient(145deg, #e8dcc6 0%, var(--beige) 28%, var(--beige-deep) 72%, #b8a688 100%);
  border-radius: 28px 28px 22px 22px;
  padding: clamp(0.55rem, 1.8vw, 0.95rem) clamp(0.55rem, 1.8vw, 0.95rem) 0.7rem;
  border: 1px solid rgba(255, 250, 235, 0.55);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 245, 0.65),
    inset 0 -3px 8px rgba(120, 95, 60, 0.22),
    inset 4px 0 10px rgba(255, 250, 230, 0.2),
    inset -4px 0 10px rgba(100, 80, 50, 0.12);
}

.crt-wear {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wear), transparent 70%);
  opacity: 0.7;
}
.crt-wear--tl {
  width: 70px;
  height: 50px;
  top: 8px;
  left: 14px;
}
.crt-wear--br {
  width: 90px;
  height: 60px;
  bottom: 55px;
  right: 18px;
  opacity: 0.45;
}

.crt-screen-frame {
  background: #1a1510;
  border-radius: 14px;
  padding: clamp(8px, 1.4vw, 12px);
  box-shadow:
    inset 0 0 0 2px #2c2418,
    inset 0 0 0 5px #0e0b08,
    0 0 0 1px rgba(80, 65, 45, 0.5);
}

.crt-glass {
  position: relative;
  background: var(--cream-ui);
  border-radius: 10px / 12px;
  overflow: hidden;
  /* Short tower on mobile; a bit taller on desktop */
  max-height: min(42dvh, 340px);
  box-shadow:
    inset 0 0 60px rgba(40, 25, 10, 0.18),
    inset 0 0 120px rgba(40, 25, 10, 0.08);
}

@media (min-width: 720px) {
  .crt-glass {
    max-height: min(48dvh, 400px);
  }
}

.crt-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 80px 18px rgba(30, 18, 8, 0.28);
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 55%, rgba(30, 18, 8, 0.12) 100%);
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.07;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(20, 12, 5, 0.55) 2px,
    rgba(20, 12, 5, 0.55) 3px
  );
}

.crt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 28%,
    transparent 45%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
}

/* —— Channel transition: dense analog CRT snow via canvas (NEVER white/cream) —— */
.crt-static {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  /* Dark underpaint — no cream/white flash if canvas lags a frame */
  background-color: #050505;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  mix-blend-mode: normal;
  transition: opacity 0.04s linear;
}
.crt-static.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .crt-scanlines {
    animation: scan-drift 8s linear infinite;
  }
}
@keyframes scan-drift {
  from { background-position: 0 0; }
  to { background-position: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .crt-scanlines { animation: none; }
  .crt-static.is-on {
    opacity: 0.97;
  }
}

/* —— On-screen UI (minimal) —— */
.screen-ui {
  position: relative;
  z-index: 2;
  padding: 0.45rem 0.55rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 0;
}

/* —— Channel view —— */
.channel-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 0;
}

.channel-still {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1a1510;
  border-radius: 4px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  min-height: 0;
  box-shadow:
    0 2px 8px rgba(60, 40, 15, 0.15),
    inset 0 0 0 1px rgba(255, 250, 240, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.channel-still:hover,
.channel-still:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 4px 14px rgba(60, 40, 15, 0.22),
    inset 0 0 0 1px rgba(255, 250, 240, 0.4);
  outline: none;
}
.channel-still:focus-visible {
  outline: 2px solid var(--aura-yellow-deep);
  outline-offset: 2px;
}

.channel-thumb {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  background: #0a0806;
  overflow: hidden;
}
.channel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) contrast(1.05) saturate(0.95);
  transition: transform 0.3s ease;
}
.channel-still:hover .channel-thumb img {
  transform: scale(1.03);
}

.channel-info {
  padding: 0.4rem 0.55rem 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  background: var(--cream-paper);
  flex-shrink: 0;
}

.channel-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.watch-btn {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--yellow-cta-hot), var(--yellow-cta) 55%, var(--aura-yellow-deep));
  border: 1px solid rgba(120, 90, 20, 0.35);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  cursor: pointer;
  box-shadow:
    0 2px 0 rgba(80, 60, 15, 0.28),
    inset 0 1px 0 rgba(255, 255, 230, 0.55);
  transition: filter 0.15s, transform 0.15s;
  pointer-events: none; /* whole still is clickable */
}
.channel-still:hover .watch-btn {
  filter: brightness(1.06);
}

/* —— CRT chin / channel slider / knobs —— */
.crt-chin {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.25rem 0.4rem;
  min-height: 52px;
}

.crt-badge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(40, 30, 15, 0.35);
  border-radius: 4px;
  background: #000;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
.crt-badge:hover,
.crt-badge:focus-visible {
  box-shadow: 0 0 0 2px var(--aura-yellow);
  outline: none;
}
.crt-badge:active {
  transform: scale(0.96);
}
.crt-badge img {
  display: block;
  height: 32px;
  width: 32px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.channel-slider-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  padding: 0.2rem 0.15rem;
}

.ch-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}
.ch-prefix {
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(40, 30, 15, 0.7);
  opacity: 0.85;
}
.ch-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #2a2218;
  min-width: 1.6rem;
  text-align: center;
}

.channel-slider-track {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(90, 70, 45, 0.14);
  border-radius: 5px;
  padding: 0.45rem 0.55rem 0.3rem;
  box-shadow:
    inset 0 1px 3px rgba(40, 30, 15, 0.28),
    inset 0 -1px 0 rgba(255, 250, 235, 0.25);
}

.channel-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  margin: 0;
  touch-action: none;
}
.channel-slider:focus {
  outline: none;
}
.channel-slider:focus-visible {
  outline: 2px solid var(--aura-yellow-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.channel-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      #6a5a45 0,
      #6a5a45 2px,
      #8a7860 2px,
      #8a7860 4px
    ),
    linear-gradient(180deg, #5a4a35, #8a7860);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.channel-slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      #6a5a45 0,
      #6a5a45 2px,
      #8a7860 2px,
      #8a7860 4px
    ),
    linear-gradient(180deg, #5a4a35, #8a7860);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.channel-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 26px;
  margin-top: -9px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, #f0e6d2 0%, var(--beige) 40%, var(--beige-deep) 100%);
  border: 1px solid rgba(100, 80, 50, 0.5);
  box-shadow:
    0 2px 4px rgba(40, 25, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 245, 0.7),
    inset 0 -1px 2px rgba(80, 60, 30, 0.2);
  cursor: grab;
}
.channel-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}
.channel-slider::-moz-range-thumb {
  width: 18px;
  height: 26px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, #f0e6d2 0%, var(--beige) 40%, var(--beige-deep) 100%);
  border: 1px solid rgba(100, 80, 50, 0.5);
  box-shadow:
    0 2px 4px rgba(40, 25, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 245, 0.7);
  cursor: grab;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  color: rgba(90, 70, 45, 0.65);
  font-weight: 600;
  pointer-events: none;
  user-select: none;
}

.crt-knobs {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.knob {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f0e6d2, var(--beige-deep) 55%, #9a8868 100%);
  box-shadow:
    0 2px 4px rgba(60, 40, 15, 0.35),
    inset 0 1px 0 rgba(255, 255, 245, 0.7),
    inset 0 -2px 4px rgba(80, 60, 30, 0.25);
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 80, 50, 0.35);
}
.knob i {
  display: block;
  width: 3px;
  height: 10px;
  background: #2a2218;
  border-radius: 1px;
  transform: rotate(-25deg);
  opacity: 0.7;
}
.knob--power {
  background:
    radial-gradient(circle at 35% 30%, #e8d4b0, #c4a878 55%, #8a7050 100%);
}
.knob--power i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a1520;
  box-shadow: 0 0 4px rgba(180, 40, 50, 0.45);
  transform: none;
}
.knob--power.is-on i {
  background: #c03040;
  box-shadow: 0 0 6px rgba(200, 50, 60, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .knob--power.is-on i {
    animation: power-glow 2.2s ease-in-out infinite;
  }
}
@keyframes power-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(200, 50, 60, 0.5); }
  50% { box-shadow: 0 0 8px rgba(200, 50, 60, 0.85); }
}

.crt-stand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -2px;
}
.crt-neck {
  width: 28%;
  height: 18px;
  background: linear-gradient(180deg, var(--beige-deep), #a89270);
  border-radius: 0 0 4px 4px;
  box-shadow: inset 0 2px 4px rgba(60, 40, 15, 0.2);
}
.crt-base {
  width: 48%;
  height: 14px;
  background: linear-gradient(180deg, #b8a488, #9a8868);
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 4px 10px rgba(60, 40, 10, 0.25);
}


/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  background: var(--cream);
  border-radius: 10px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  border: 2px solid var(--aura-yellow-deep);
}
.lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--aura-yellow-deep);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.lightbox-close:hover {
  background: rgba(248, 216, 120, 0.2);
}
.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: #1a1610;
  margin-bottom: 0.65rem;
  padding-right: 2rem;
  line-height: 1.1;
}
.lightbox-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.lightbox-open {
  overflow: hidden;
}


/* Mobile */
@media (max-width: 519px) {
  .stage {
    padding: 3rem 0.75rem 2rem;
    gap: 1.1rem;
  }
  .crt-bezel {
    border-radius: 18px 18px 14px 14px;
    padding: 0.55rem 0.55rem 0.45rem;
  }
  .crt-chin {
    grid-template-columns: auto 1fr;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.45rem 0.15rem 0.3rem;
  }
  .crt-knobs {
    display: none;
  }
  .channel-slider {
    height: 32px;
  }
  .ch-number {
    font-size: 1.2rem;
  }
  .crt-badge img {
    height: 28px;
    width: 28px;
  }
  .channel-info {
    padding: 0.35rem 0.45rem 0.4rem;
  }
  .channel-title {
    font-size: 0.65rem;
  }
}

/* —— Site menu (chin logo hamburger) —— */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}
.site-menu[hidden] {
  display: none;
}
.site-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}
.site-menu-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(380px, 100%);
  height: 100%;
  max-height: 100dvh;
  background: #0a0a0a;
  color: var(--aura-yellow);
  border-right: 1px solid rgba(248, 216, 120, 0.35);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
@media (max-width: 519px) {
  .site-menu-panel {
    width: 100%;
    border-right: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .site-menu:not([hidden]) .site-menu-backdrop {
    animation: menu-fade 0.2s ease-out;
  }
  .site-menu:not([hidden]) .site-menu-panel {
    animation: menu-slide 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
@keyframes menu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes menu-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.site-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(248, 216, 120, 0.22);
  flex-shrink: 0;
}
.site-menu-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.site-menu-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(248, 216, 120, 0.4);
  flex-shrink: 0;
}
.site-menu-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--aura-yellow);
  line-height: 1.1;
}
.site-menu-close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(248, 216, 120, 0.45);
  border-radius: 8px;
  color: var(--aura-yellow);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.site-menu-close:hover,
.site-menu-close:focus-visible {
  background: rgba(248, 216, 120, 0.12);
  border-color: var(--aura-yellow);
  outline: none;
}

.site-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(248, 216, 120, 0.15);
  flex-shrink: 0;
}
.site-menu-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(248, 216, 120, 0.78);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.site-menu-link:hover,
.site-menu-link:focus-visible {
  background: rgba(248, 216, 120, 0.1);
  color: var(--aura-yellow);
  outline: none;
}
.site-menu-link.is-active {
  background: rgba(248, 216, 120, 0.16);
  color: var(--aura-yellow);
  box-shadow: inset 3px 0 0 var(--aura-yellow);
}

a.site-menu-link {
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.menu-tagline {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.04em;
  color: var(--aura-yellow) !important;
  line-height: 1.25 !important;
}

.menu-offer-lead {
  margin-bottom: 1rem !important;
}

.menu-section strong {
  color: var(--aura-yellow);
  font-weight: 600;
}

.menu-inline-link {
  color: var(--aura-yellow);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 216, 120, 0.4);
}

.menu-inline-link:hover,
.menu-inline-link:focus-visible {
  border-bottom-color: var(--aura-yellow);
  outline: none;
}

a.menu-cta {
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.site-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.15rem 1.75rem;
  -webkit-overflow-scrolling: touch;
}
.menu-section[hidden] {
  display: none;
}
.menu-section h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--aura-yellow);
  margin-bottom: 0.65rem;
  line-height: 1.1;
}
.menu-section p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(243, 234, 216, 0.88);
  margin-bottom: 0.75rem;
}
.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.menu-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(243, 234, 216, 0.88);
  padding-left: 0.85rem;
  border-left: 2px solid rgba(248, 216, 120, 0.45);
}
.menu-list strong {
  display: block;
  color: var(--aura-yellow);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.menu-contact-line {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--aura-yellow) !important;
}
.menu-muted {
  font-size: 0.78rem !important;
  color: rgba(243, 234, 216, 0.5) !important;
}
.menu-cta {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--yellow-cta-hot), var(--yellow-cta) 55%, var(--aura-yellow-deep));
  border: 1px solid rgba(120, 90, 20, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  box-shadow:
    0 2px 0 rgba(80, 60, 15, 0.28),
    inset 0 1px 0 rgba(255, 255, 230, 0.55);
}
.menu-cta:hover,
.menu-cta:focus-visible {
  filter: brightness(1.06);
  outline: none;
}



/* —— Logo ticker (scrolling marquee under CRT on black stage) —— */
.logo-ticker {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  max-width: 100%;
  flex-shrink: 0;
  padding: 0.15rem 0 0.35rem;
  color: var(--aura-yellow);
}

.logo-ticker-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(248, 216, 120, 0.55);
  margin: 0 0 0.65rem;
}

.logo-ticker-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.logo-ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logo-ticker-scroll 36s linear infinite;
  will-change: transform;
}

.logo-ticker:hover .logo-ticker-track,
.logo-ticker:focus-within .logo-ticker-track {
  animation-play-state: paused;
}

.logo-ticker-strip {
  list-style: none;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.logo-ticker-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.95rem;
  white-space: nowrap;
}

.logo-ticker-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: center;
}

.logo-ticker-img.is-glyph {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-ticker-img.is-wordmark {
  height: 26px;
}

.logo-ticker-img.is-wide {
  height: 32px;
  max-width: 160px;
}

/* White/cream official marks → pale yellow on black stage */
.logo-ticker-img.is-wordmark:not(.is-cream),
.logo-ticker-img.is-glyph:not(.is-color) {
  filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(650%) hue-rotate(359deg) brightness(102%) contrast(96%);
}

.logo-ticker-img.is-cream {
  /* Suno wordmark already #F7F4EF — slight warm lift */
  filter: brightness(1.05) sepia(0.15) saturate(1.2);
}

.logo-ticker-caption {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--aura-yellow);
  line-height: 1;
}

.logo-ticker-strip .sep {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(248, 216, 120, 0.38);
  padding: 0 0.2rem;
  user-select: none;
}

@keyframes logo-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ticker-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
  .logo-ticker-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .logo-ticker-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.15rem;
  }
  .logo-ticker-strip[aria-hidden="true"] {
    display: none;
  }
  .logo-ticker-brand {
    padding: 0.2rem 0.55rem;
  }
  .logo-ticker-img.is-wordmark {
    height: 22px;
  }
}

@media (max-width: 519px) {
  .logo-ticker {
    width: 100%;
  }
  .logo-ticker-img.is-wordmark {
    height: 22px;
    max-width: 120px;
  }
  .logo-ticker-img.is-glyph {
    width: 24px;
    height: 24px;
  }
  .logo-ticker-caption {
    font-size: 0.95rem;
  }
  .logo-ticker-track {
    animation-duration: 30s;
  }
}

/* Menu Tools list */
.menu-tools-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.menu-tools-list li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--aura-yellow);
  padding: 0.55rem 0.75rem;
  background: rgba(248, 216, 120, 0.08);
  border: 1px solid rgba(248, 216, 120, 0.28);
  border-radius: 6px;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}


/* —— Mobile hamburger (top right, <=768px only; desktop unchanged) —— */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    position: absolute;
    top: calc(1rem + env(safe-area-inset-top, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    z-index: 100;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: rgba(10, 10, 10, 0.82);
    border: 1px solid rgba(248, 216, 120, 0.45);
    border-radius: 8px;
    color: var(--aura-yellow);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s, border-color 0.15s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible {
    background: rgba(248, 216, 120, 0.12);
    border-color: var(--aura-yellow);
    outline: none;
  }
  .mobile-menu-toggle-bars {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
  }
  .mobile-menu-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
  }
  .mobile-menu-toggle-bars span:nth-child(1) { top: 0; }
  .mobile-menu-toggle-bars span:nth-child(2) { top: 6px; }
  .mobile-menu-toggle-bars span:nth-child(3) { top: 12px; }
  .mobile-menu-toggle.is-open .mobile-menu-toggle-bars span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }
  .mobile-menu-toggle.is-open .mobile-menu-toggle-bars span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-open .mobile-menu-toggle-bars span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
  }
  /* The hamburger becomes the X on mobile, so hide the panel's duplicate close */
  .site-menu-close {
    visibility: hidden;
  }
  /* 44px tap targets for menu items on touch */
  .site-menu-link,
  .menu-cta,
  .menu-inline-link {
    min-height: 44px;
  }
  .menu-cta {
    display: inline-flex;
    align-items: center;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle-bars span { transition: none; }
}


/* —— About Us: founders photo (CRT-glass frame) —— */
.founders-photo {
  margin: 0.25rem 0 1rem;
}
.founders-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(248, 216, 120, 0.4);
  background: #000;
  box-shadow: 0 0 0 4px rgba(217, 203, 176, 0.08), 0 10px 28px rgba(0, 0, 0, 0.55);
  aspect-ratio: 3 / 2;
}
.founders-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* faint scanlines + vignette so it reads like the TV glass */
.founders-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
}
.founders-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 216, 120, 0.7);
}


/* —— Our Channels (social links) —— */
.channel-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  padding: 0;
}
.channel-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(248, 216, 120, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(248, 216, 120, 0.07), rgba(248, 216, 120, 0.02));
  color: var(--aura-yellow);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.channel-link:hover,
.channel-link:focus-visible {
  background: rgba(248, 216, 120, 0.14);
  border-color: var(--aura-yellow);
  outline: none;
}
.channel-link:active {
  transform: scale(0.99);
}
.channel-link-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #000;
  border: 1px solid rgba(248, 216, 120, 0.4);
  color: var(--aura-yellow);
  box-shadow: inset 0 0 12px rgba(248, 216, 120, 0.12);
}
.channel-link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.channel-link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.channel-link-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--aura-yellow);
}
.channel-link-handle {
  font-size: 0.85rem;
  color: rgba(243, 234, 216, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.channel-link-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: rgba(248, 216, 120, 0.7);
}


/* —— Home footer: Our Channels (small, low key, in page flow) —— */
.site-footer {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  flex-shrink: 0;
  padding: 0.25rem 0 0;
}
.site-footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.1rem;
  margin: 0;
  padding: 0;
}
.site-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0 0.25rem;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(248, 216, 120, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.site-footer-link:hover,
.site-footer-link:focus-visible {
  color: var(--aura-yellow);
  outline: none;
}
.site-footer-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 519px) {
  .site-footer-links {
    gap: 0 0.7rem;
  }
  .site-footer-link {
    font-size: 11px;
    min-height: 36px;
  }
}

/* Menu button scrolls with the page; stays reachable as the close X while the menu is open */
@media (max-width: 768px) {
  .mobile-menu-toggle[aria-expanded="true"] { position: fixed; }
}

/* Mobile: after picking a nav item, hide the nav list and show only that section */
.menu-back { display: none; }
@media (max-width: 768px) {
  .site-menu.menu-section-view .site-menu-nav { display: none; }
  .site-menu.menu-section-view .menu-back {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem;
    margin-bottom: 0.5rem; background: none; border: 0; color: var(--aura-yellow);
    font: inherit; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  }
}

/* Give the Services CTA breathing room */
#menu-services .menu-list { margin-bottom: 0; }
#menu-services .menu-cta { margin-top: 2rem; }
