/* The stage pages, /<song>/landing/ (opal#37): one Supper Club page like /disco/ per song, in the
   song's own colours and fonts. site/landing.js copies the theme from the song's song.js onto
   <html> as --op-* properties; these are the defaults until it does. Not in the menu: each song's
   player page links to its stage. */

:root {
  --op-bg: #0B0C24;
  --op-panel: #12133A;
  --op-line: rgba(255, 255, 255, 0.12);
  --op-ink: #EEF1F7;
  --op-soft: #D3DBEC;
  --op-accent: #8FF3E0;
  --op-accent-2: #A9B8FF;
  --op-on-accent: #0B1020;
  --op-display: var(--display);
  --op-words: var(--font);
  --op-body: var(--font);
}
.lp {
  margin: 0; background: var(--op-bg); color: var(--op-ink); font-family: var(--op-body);
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.lp main *, .lp main *::before, .lp main *::after { box-sizing: border-box; }
.lp main a { color: var(--op-accent); }
.lp main a:hover { color: var(--op-ink); }
.lp main :focus-visible { outline: 3px solid var(--op-accent); outline-offset: 3px; }
.lp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.lp h1, .lp h2 { margin: 0; font-family: var(--op-display); font-weight: 400; letter-spacing: -0.01em; color: var(--op-ink); }
.lp-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--op-accent); }

/* Hero: the song's scene on the right, fading out under the words on the left, as on /disco/. */
.lp-hero {
  position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--op-accent-2) 22%, var(--op-bg)) 0%, var(--op-bg) 70%);
}
.lp-hero-scene {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 40%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 40%, #000 78%);
}
.lp-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--op-bg) 100%);
}
.lp-hero .lp-wrap { position: relative; z-index: 1; }
.lp-hero-text { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.lp-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--op-soft);
}
.lp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FFC968; box-shadow: 0 0 10px #FFC968; }
.lp-script {
  margin: 0; font-family: var(--script); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1;
  color: var(--op-accent); transform: rotate(-2deg); transform-origin: left;
}
.lp h1 { font-size: clamp(44px, 10vw, 128px); line-height: 0.95; overflow-wrap: anywhere; margin-bottom: 6px; }
.lp-kicker { margin: 0; font-size: 15px; color: var(--op-soft); }
.lp-lead { margin: 0; max-width: 32em; font-family: var(--op-words); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.5; text-wrap: pretty; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.lp main a.lp-btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--op-accent); color: var(--op-on-accent); font-weight: 600; text-decoration: none;
  transition: transform 0.2s;
}
.lp main a.lp-btn:hover { transform: translateY(-2px); color: var(--op-on-accent); }
.lp main a.lp-btn-line { background: transparent; border: 1.5px solid var(--op-ink); color: var(--op-ink); }
.lp main a.lp-btn-line:hover { color: var(--op-ink); background: rgba(255, 255, 255, 0.08); }

/* The video: on the page, in a frame that glows in the song's accent, and it plays only when tapped. */
.lp-watch { padding-bottom: clamp(56px, 8vw, 96px); scroll-margin-top: 16px; }
.lp-watch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.lp-watch-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; }
.lp-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #04050A;
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--op-accent) 45%, transparent), 0 0 0 1px var(--op-line);
}
.lp-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.lp-play {
  position: absolute; inset: 0; width: 100%; margin: 0; border: 0; padding: clamp(16px, 3vw, 32px); cursor: pointer;
  display: flex; align-items: flex-end; gap: 16px; text-align: left; font: inherit; color: var(--op-ink);
  background: linear-gradient(to top, color-mix(in srgb, var(--op-bg) 85%, transparent), transparent 62%);
}
.lp-play[hidden] { display: none; }
.lp-play-disc {
  position: relative; flex: none; width: clamp(52px, 7vw, 68px); height: clamp(52px, 7vw, 68px); border-radius: 50%;
  background: var(--op-accent); box-shadow: 0 0 40px color-mix(in srgb, var(--op-accent) 55%, transparent);
}
.lp-play-disc::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--op-on-accent);
}
.lp-play-text { display: flex; flex-direction: column; gap: 2px; }
.lp-play-text strong { font-size: clamp(17px, 2vw, 20px); font-weight: 600; }
.lp-play-text span { font-size: 14px; color: var(--op-soft); }

/* The set list: the four songs, each a scene low in the card fading into the card's colour at the
   top, where the words are (the homepage .tile, opal#33). */
.lp-set { padding-bottom: clamp(64px, 9vw, 112px); }
.lp-set-card { background: var(--op-panel); border: 1px solid var(--op-line); border-radius: 24px; padding: clamp(22px, 4vw, 44px); }
.lp-set-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.lp-set-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.lp-set-head p { margin: 0; font-size: 15px; color: var(--op-soft); }
.lp-songs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.lp main a.lp-song {
  --card: var(--op-bg); --fade: 38%;
  height: 100%; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 20px; border-radius: 16px; border: 1px solid var(--op-line); color: var(--op-ink); text-decoration: none;
  background:
    linear-gradient(to bottom, var(--card) var(--fade), color-mix(in srgb, var(--card) 60%, transparent) calc(var(--fade) + 30%), color-mix(in srgb, var(--card) 25%, transparent)),
    var(--scene, none) center 65% / cover no-repeat,
    var(--card);
  transition: transform 0.2s, border-color 0.2s;
}
.lp main a.lp-song:hover { transform: translateY(-3px); border-color: var(--op-accent); color: var(--op-ink); }
.lp main a.lp-song[aria-current] { border-color: var(--op-accent); }
.lp-song-top { display: flex; flex-direction: column; gap: 6px; }
.lp-song-n { font-size: 12px; letter-spacing: 0.14em; color: var(--op-accent); }
.lp-song strong { font-family: var(--op-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.lp-song-note { font-size: 0.95rem; line-height: 1.45; color: var(--op-soft); }
.lp-song-arrow { align-self: flex-end; font-size: 20px; color: var(--op-accent); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }

/* Curtain call */
.lp-curtain {
  padding: clamp(72px, 10vw, 120px) 0; text-align: center;
  background: radial-gradient(80% 120% at 50% 100%, color-mix(in srgb, var(--op-accent-2) 20%, var(--op-bg)) 0%, var(--op-bg) 70%);
}
.lp-curtain .lp-wrap { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.lp-curtain h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; text-wrap: balance; }
.lp-curtain p { margin: 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--op-soft); }

@media (max-width: 959px) {
  .lp main a.lp-song { --fade: 52%; }
  /* On a phone the words cover the whole scene, so the scene steps back behind them. */
  .lp-hero-scene { opacity: 0.32; }
}
