/* BykonzYard hero picker — palette and hero treatment ported from the live site
   (react-preview/src/site/home-music.css + site.css). */
:root {
  --plum-deep: #120620;
  --canvas: #1A0A2E;
  --plum-raised: #241147;
  --purple: #7A00CA;
  --rose: #A93E68;
  --gold: #D4A45C;
  --gold-bright: #FFD166;
  --white: #ECE4F5;
  --line-light: rgba(236, 228, 245, 0.18);
  --radius: 3px;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--canvas);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- shared button contract (site.css .btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: 0 6px 20px -8px rgba(180, 130, 60, 0.7);
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #5B0E9B; }

/* ================= INDEX ================= */
.page-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 40px) 80px;
}

.masthead { text-align: center; margin-bottom: clamp(30px, 5vw, 52px); }

.masthead .emblem {
  width: clamp(56px, 8vw, 76px);
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.masthead h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 54px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.masthead .lede {
  margin: 0 auto;
  max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: rgba(236, 228, 245, 0.78);
}

.steps {
  margin: clamp(24px, 4vw, 36px) auto 0;
  max-width: 620px;
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: rgba(36, 17, 71, 0.5);
  text-align: left;
}
.steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236, 228, 245, 0.86);
  display: flex;
  gap: 12px;
}
.steps .n {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--plum-raised);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}

.card .shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--plum-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card .dur {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(18, 6, 32, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
}

.card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.card .body h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--white);
}
.card .body .meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(236, 228, 245, 0.55);
  text-transform: uppercase;
}
.card .body .btn { margin-top: auto; width: 100%; }

.btn-outline {
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }

/* The option Shaan has already chosen — still comparable against the others. */
.card.is-chosen {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 18px 44px -24px rgba(212, 164, 92, 0.6);
}
.card .chosen-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--plum-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(236, 228, 245, 0.6);
}

/* ================= PREVIEW ================= */
.preview-body { background: #000; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.hero-video .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Oversize and centre so YouTube's own title/gradient chrome falls outside the
   hero crop, exactly as the live site does. */
.hero-video iframe {
  position: absolute;
  width: 231vh;
  height: 73.13vw;
  min-width: 130%;
  min-height: 130%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 6, 32, 0.84), rgba(18, 6, 32, 0.16) 65%),
    linear-gradient(0deg, rgba(18, 6, 32, 0.8), transparent 55%);
}

.hero-viewport {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px clamp(20px, 3vw, 32px) 132px;
}

.hero-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-heading { margin: 0; line-height: 0; max-width: 100%; }
.hero-brand-logo {
  display: block;
  width: clamp(280px, 42vw, 560px);
  height: auto;
  max-height: min(34vh, 330px);
  object-fit: contain;
  /* The transparent wordmark sits directly on moving footage, so it needs its
     own separation from bright frames the hero tint does not darken. */
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.75));
}

.hero-tag {
  display: block;
  margin: clamp(18px, 3vw, 32px) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

/* Says plainly that the logo treatment is not what's being decided here. */
.logo-note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236, 228, 245, 0.82);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.logo-note strong { color: var(--gold-bright); font-weight: 700; }

/* Top bar — back to the index */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(18, 6, 32, 0.85), transparent);
}
.topbar a.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(18, 6, 32, 0.6);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.topbar a.back:hover { border-color: var(--gold); color: var(--gold-bright); }
.topbar .which {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: right;
}

/* Bottom pick bar */
.pickbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 16px clamp(16px, 3vw, 28px) 20px;
  background: linear-gradient(0deg, rgba(18, 6, 32, 0.95), rgba(18, 6, 32, 0));
}
.pickbar .label {
  font-size: 14px;
  color: rgba(236, 228, 245, 0.8);
}
.pickbar .btn-pick {
  padding: 15px 30px;
  font-size: 13px;
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: 0 10px 28px -12px rgba(212, 164, 92, 0.9);
}
.pickbar .btn-pick:hover { background: var(--gold-bright); }

/* Confirmation overlay */
.confirm {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 6, 32, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.confirm[data-open="true"] { display: flex; }
.confirm .box {
  width: min(100%, 520px);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: var(--plum-raised);
  padding: clamp(26px, 4vw, 38px);
  text-align: center;
}
.confirm .tick {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum-deep);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}
.confirm h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.confirm p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(236, 228, 245, 0.82);
}
.confirm .choice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(212, 164, 92, 0.1);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.confirm .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 700px) {
  .hero-viewport { padding: 88px 20px 150px; }
  .hero-brand-logo { max-height: 24vh; }
  .hero-tag { max-width: 28ch; }
  .topbar .which { display: none; }
  .pickbar .label { flex: 1 0 100%; text-align: center; }
}
