/* ================================================================
   Music Kite — style.css
   Clean rebuild. Mobile-first. No legacy debt.
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Design tokens ────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --c-pink:    #ff2d75;
  --c-purple:  #9a4dff;
  --c-violet:  #6a5cff;
  --c-cyan:    #00d4ff;
  --c-silver:  #b5b7c3;
  --c-white:   #ffffff;

  /* Surfaces */
  --c-bg:       #06070f;
  --c-bg-2:     #0a0c1a;
  --c-bg-3:     #0e1022;
  --c-bg-card:  #111326;

  /* Borders */
  --c-border:       rgba(255,255,255,0.07);
  --c-border-mid:   rgba(255,255,255,0.11);
  --c-border-violet:rgba(106,92,255,0.22);
  --c-border-pink:  rgba(255,45,117,0.18);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #ff2d75 0%, #9a4dff 50%, #00d4ff 100%);
  --grad-dark:  linear-gradient(135deg, #0a0c1a 0%, #06070f 100%);

  /* Type */
  --f-display: 'Plus Jakarta Sans', sans-serif;
  --f-body:    'DM Sans', sans-serif;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Transitions */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s var(--ease);
  --t-mid:  0.28s var(--ease);
}

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-bg);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a          { color: inherit; text-decoration: none; }
button     { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol     { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography — the definitive rules ───────────────────────── */
/*
 * DESCENDER CLIPPING — ROOT CAUSE AND FIX
 * All heading elements:
 * 1. Never use overflow:hidden on heading wrappers.
 * 2. line-height minimum 1.15 for display sizes.
 * 3. padding-bottom:0.1em as visual insurance.
 * 4. overflow:visible explicitly set.
 * 5. NO background-clip:text on large headings.
 *    Gradient text is only used on spans with
 *    display:inline-block + sufficient padding-bottom.
 */

h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  overflow: visible;
  color: var(--c-white);
}

p {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--c-silver);
  line-height: 1.72;
}

/* .grad — premium accent treatment.
 * Uses white text + layered text-shadow glow in brand colours.
 * No background-clip:text. No -webkit-text-fill-color.
 * Descenders render normally. The glow creates the magenta/purple/cyan
 * luminosity without any clipping risk whatsoever.                    */
.grad {
  color: var(--c-white);
  display: inline;
  text-shadow:
    0 0 20px rgba(255, 45, 117, 0.75),
    0 0 40px rgba(154, 77, 255, 0.55),
    0 0 70px rgba(0, 212, 255, 0.35);
}

/* ── Layout ───────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--wide  { max-width: 1500px; }
.wrap--tight { max-width: 680px; }

/* ── Utility ──────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--c-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-violet), transparent);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  border: none;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: var(--grad-brand);
  color: var(--c-white);
  box-shadow: 0 4px 28px rgba(255,45,117,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,45,117,0.48);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  border-color: var(--c-violet);
  background: rgba(106,92,255,0.08);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 0.96rem; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--t-mid), backdrop-filter var(--t-mid);
  padding-top: env(safe-area-inset-top, 0px);
  /* Glassmorphism by default on mobile for accessibility & contrast */
  background: rgba(6,7,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}

.site-header.is-scrolled {
  background: rgba(6,7,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
}

@media (min-width: 900px) {
  .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding-top: 0;
  }
  .site-header.is-scrolled {
    background: rgba(6,7,15,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--c-border);
    padding-top: env(safe-area-inset-top, 0px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.header-logo img {
  width: 130px;
  height: auto;
}

/* Desktop nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(181,183,195,0.75);
  transition: color var(--t-fast);
}
.header-nav a:hover { color: var(--c-white); }

/* Header CTA */
.header-cta {
  display: none;
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* Hamburger */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  z-index: 201; /* Ensure clickable above mobile drawer */
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: calc(68px + env(safe-area-inset-top, 0px));
  left: 0; right: 0;
  z-index: 199;
  background: rgba(10,12,26,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-silver);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t-fast);
}
.mobile-nav a:hover { color: var(--c-white); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ── HERO ─────────────────────────────────────────────────────── */
/*
 * Full-bleed cinematic hero.
 * No right-column mockup.
 * Text sits lower-left on desktop.
 * Content must fit above fold: no min-height:100vh.
 * Overlay is directional — lighter upper-right, darker lower-left.
 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;   /* anchor text to bottom on mobile */
  min-height: 88svh;
  /* overflow-x:clip removed — on flex containers, WebKit/Blink treat this as
     paint containment during composited animations, clipping both axes and
     cutting off font descenders. Horizontal overflow is controlled by
     body{overflow-x:hidden} and the .hero-orbs container. */
  padding-top: 68px;       /* header clearance */
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Directional overlay — text side darkens more */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    148deg,
    rgba(6,7,15,0.35) 0%,
    rgba(6,7,15,0.55) 30%,
    rgba(6,7,15,0.88) 65%,
    rgba(6,7,15,1)    100%
  );
}

/* Ambient orbs — behind content, clipped to hero */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 14s ease-in-out infinite;
  opacity: 0;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,45,117,0.18), transparent 70%);
  top: -80px; right: -60px;
  animation-delay: 0s;
  opacity: 1;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(106,92,255,0.15), transparent 70%);
  bottom: -40px; left: -40px;
  animation-delay: -5s;
  opacity: 1;
}
@keyframes orb-drift {
  0%,100% { transform: translate(0,0)       scale(1); }
  40%     { transform: translate(16px,-16px) scale(1.04); }
  70%     { transform: translate(-10px,12px) scale(0.97); }
}

/* Subtle SVG node overlay */
.hero-nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.09;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 48px 0 56px;
  animation: fade-up 0.5s ease both; /* wrapper animates, not the h1 */
}

/* Beta pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(181,183,195,0.9);
  margin-bottom: 22px;
}
.hero-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
  animation: pulse-dot 2.4s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.45; transform:scale(0.75); }
}

/* ── Hero headline — the most carefully governed element ──────── */
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--c-white);
  overflow: visible;
  padding-bottom: 0.12em;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(181,183,195,0.95);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.hero-mantra {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  background: rgba(106,92,255,0.1);
  border: 1px solid rgba(106,92,255,0.24);
  border-radius: 50px;
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
}
.hero-mantra-sep { color: var(--c-cyan); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-trust {
  font-size: 0.76rem;
  color: rgba(181,183,195,0.42);
  display: block;
}
.hero-trust::before { content: '✦ '; color: var(--c-cyan); }

@keyframes fade-up {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── DISCOVERY / ECOSYSTEM SECTION ───────────────────────────── */
.discovery {
  position: relative;
  background: var(--c-bg);
  /* overflow-x:clip removed — can constrain GPU compositing layer bounds
     for .reveal children, clipping descenders. body{overflow-x:hidden} suffices. */
}

/* Gradient edge transition from hero */
.discovery::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, var(--c-bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.discovery-inner {
  position: relative;
  z-index: 2;
}

.discovery-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.discovery-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  overflow: visible;
  padding-bottom: 0.15em;
  color: var(--c-white);
  margin-bottom: 20px;
}

.discovery-lead {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.72;
  color: var(--c-silver);
}

.discovery-tagline {
  font-family: var(--f-display);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  color: rgba(181,183,195,0.7);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Feature pills — static labels, NOT buttons */
.disc-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.disc-pill {
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(181,183,195,0.65);
  background: rgba(255,255,255,0.03);
  cursor: default;
  user-select: none;
}

/* Discovery image */
.discovery-visual {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.discovery-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border-violet);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 100px rgba(106,92,255,0.1);
}
.discovery-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  z-index: 1;
}

/* Fade bottom of discovery image into page bg */
.discovery-visual-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  z-index: 2;
  pointer-events: none;
}

/* ── WHO IT'S FOR ─────────────────────────────────────────────── */
.who {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.who-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow: visible;
  padding-bottom: 0.15em;
  letter-spacing: -0.025em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.who-card {
  padding: clamp(20px, 2.5vw, 32px);
  background: linear-gradient(135deg, rgba(20,22,46,0.45) 0%, rgba(10,12,26,0.7) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), transform var(--t-mid);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.who-card:hover {
  border-color: var(--c-border-violet);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.4),
    0 0 24px rgba(106,92,255,0.08);
  transform: translateY(-4px);
}
/* Accent stripe */
.who-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0;
  transition: opacity var(--t-mid);
  z-index: 2;
}
.who-card:hover::before { opacity: 1; }
.who-card--artist::before  { background: linear-gradient(90deg, var(--c-pink), var(--c-purple)); }
.who-card--venue::before   { background: linear-gradient(90deg, var(--c-violet), var(--c-cyan)); }
.who-card--festival::before{ background: var(--grad-brand); }
.who-card--promoter::before{ background: linear-gradient(90deg, var(--c-purple), var(--c-violet)); }
.who-card--fan::before     { background: linear-gradient(90deg, var(--c-cyan), var(--c-violet)); }

.who-card-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.who-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.who-card--artist  .who-card-dot { background: var(--c-pink);   box-shadow: 0 0 6px var(--c-pink); }
.who-card--venue   .who-card-dot { background: var(--c-violet); box-shadow: 0 0 6px var(--c-violet); }
.who-card--festival .who-card-dot{ background: var(--c-cyan);   box-shadow: 0 0 6px var(--c-cyan); }
.who-card--promoter .who-card-dot{ background: var(--c-purple); box-shadow: 0 0 6px var(--c-purple); }
.who-card--fan     .who-card-dot { background: var(--c-cyan);   box-shadow: 0 0 6px var(--c-cyan); }

.who-card--artist  .who-card-label { color: var(--c-pink); }
.who-card--venue   .who-card-label { color: var(--c-violet); }
.who-card--festival .who-card-label{ color: var(--c-cyan); }
.who-card--promoter .who-card-label{ color: var(--c-purple); }
.who-card--fan     .who-card-label { color: var(--c-cyan); }

.who-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  overflow: visible;
  margin-bottom: 7px;
  color: var(--c-white);
}
.who-card p {
  font-size: 0.875rem;
  line-height: 1.62;
  margin: 0;
}

/* ── WIDGET SHOWCASE TRILOGY ──────────────────────────────────── */
.widgets {
  background: var(--c-bg);
}

.widgets-intro {
  text-align: center;
  margin-bottom: clamp(48px, 5vw, 72px);
}

.widgets-eyebrow-line {
  font-family: var(--f-display);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: rgba(181,183,195,0.55);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  display: block;
}

.widgets-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow: visible;
  padding-bottom: 0.15em;
  letter-spacing: -0.025em;
  color: var(--c-white);
}

/* Individual showcase */
.showcase {
  margin-bottom: clamp(64px, 7vw, 110px);
}
.showcase:last-child { margin-bottom: 0; }

/* Small heading above image */
.showcase-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  overflow: visible;
}
.showcase-label-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.showcase-label-tag {
  font-family: var(--f-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid;
}
.showcase--artist .showcase-label-tag   { color: var(--c-pink);   border-color: rgba(255,45,117,0.3);  background: rgba(255,45,117,0.07); }
.showcase--venue .showcase-label-tag    { color: var(--c-violet); border-color: rgba(106,92,255,0.3);  background: rgba(106,92,255,0.07); }
.showcase--festival .showcase-label-tag { color: var(--c-cyan);   border-color: rgba(0,212,255,0.3);   background: rgba(0,212,255,0.06); }

.showcase-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  overflow: visible;
  padding-bottom: 0.15em;
  color: var(--c-white);
  letter-spacing: -0.018em;
}
.showcase-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.02rem);
  color: var(--c-silver);
  max-width: 680px;
  line-height: 1.68;
}

/* Image frame */
.showcase-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border-violet);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 70px rgba(0,0,0,0.55),
    0 0 90px rgba(106,92,255,0.09);
}
.showcase-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  z-index: 2;
}
.showcase--artist .showcase-frame::before  { background: linear-gradient(90deg, var(--c-pink), var(--c-purple)); }
.showcase--venue .showcase-frame::before   { background: linear-gradient(90deg, var(--c-violet), var(--c-cyan)); }
.showcase--festival .showcase-frame::before{ background: var(--grad-brand); }

/* Desktop image — full width, sharp */
.showcase-img-desktop {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: crop to central widget area */
.showcase-img-mobile { display: none; }

/* ── ECOSYSTEM BRIDGE ─────────────────────────────────────────── */
.ecosystem {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
}

.ecosystem-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.ecosystem-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow: visible;
  padding-bottom: 0.15em;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.ecosystem-text p { max-width: 520px; }

.ecosystem-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border-violet);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.ecosystem-img img { width: 100%; height: auto; display: block; }

/* ── BETA SIGNUP ──────────────────────────────────────────────── */
.beta {
  background: var(--c-bg);
  position: relative;
  /* overflow-x:clip removed — same compositing layer issue as .hero and .discovery */
}
.beta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-violet), var(--c-pink), transparent);
}
/* Ambient glow */
.beta::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,92,255,0.07) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.beta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.beta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow: visible;
  padding-bottom: 0.15em;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.beta-text > p { max-width: 480px; margin-bottom: 28px; }

.beta-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.beta-point {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--c-silver);
}
.beta-point-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-cyan);
  flex-shrink: 0;
}

/* Form card */
.beta-form-wrap {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-2xl);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
}
.beta-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 0 0 2px 2px;
}

/* Form elements */
.form-stack { display: flex; flex-direction: column; gap: 14px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 5px; }

.field label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(181,183,195,0.6);
}
.field label .req { color: var(--c-pink); margin-left: 2px; }

.field-control {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-white);
  font-size: 0.9rem;
  padding: 11px 14px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field-control::placeholder { color: rgba(181,183,195,0.28); }
.field-control:focus {
  outline: none;
  border-color: var(--c-violet);
  box-shadow: 0 0 0 3px rgba(106,92,255,0.12);
}

select.field-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b5b7c3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}
select.field-control option { background: var(--c-bg-card); color: var(--c-white); }

textarea.field-control { resize: vertical; min-height: 82px; }

.field-opt-label {
  font-weight: 400;
  color: rgba(181,183,195,0.45);
  font-size: 0.68rem;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}

/* Checkboxes */
.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}
@media (min-width: 480px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--c-silver);
  user-select: none;
  transition: color var(--t-fast);
}
.check-label:hover { color: var(--c-white); }
.check-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check-label input[type="checkbox"]:checked {
  background: var(--c-violet);
  border-color: var(--c-violet);
}
.check-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-divider { height: 1px; background: var(--c-border); }

.check-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(181,183,195,0.5);
  margin-bottom: 4px;
  display: block;
}

/* Honeypot */
.hp-trap { display: none !important; visibility: hidden; }

/* Form feedback */
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 12px;
}
.form-msg--ok {
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--c-cyan);
  display: block;
}
.form-msg--err {
  background: rgba(255,45,117,0.07);
  border: 1px solid rgba(255,45,117,0.2);
  color: var(--c-pink);
  display: block;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: clamp(40px, 5vw, 60px) 0 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

/* Waveform divider accent */
.footer-wave {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,45,117,0.25) 20%,
    rgba(106,92,255,0.3) 50%,
    rgba(0,212,255,0.25) 80%,
    transparent 100%
  );
  margin-bottom: clamp(28px, 3vw, 40px);
  border-radius: 2px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.84rem;
  max-width: 320px;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  font-size: 0.79rem;
  color: rgba(181,183,195,0.4);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-white); }
.footer-copy {
  font-size: 0.77rem;
  color: rgba(181,183,195,0.27);
}

/* ── Scroll-reveal animation ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Section padding shorthand */
.section-pad { padding: clamp(64px, 7vw, 112px) 0; }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--c-violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================================================================
   RESPONSIVE — mobile-first
   ================================================================ */

/* 480px — small phones */
@media (min-width: 480px) {
  .header-logo img { width: 140px; }
  .footer-brand img { width: 140px; }
}

/* 640px — large phones / small tablets */
@media (min-width: 640px) {
  .who-grid         { grid-template-columns: repeat(2, 1fr); }
  .who-card--fan    { grid-column: span 2; }
  .form-row-2       { grid-template-columns: 1fr 1fr; }
  .footer-inner     { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-bottom    { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* 900px — tablet landscape / small laptop */
@media (min-width: 900px) {
  .header-nav  { display: flex; }
  .header-cta  { display: inline-flex; }
  .menu-btn    { display: none; }

  .header-logo img  { width: 150px; }
  .footer-brand img { width: 150px; }

  .hero {
    align-items: center;     /* vertical centring on desktop */
    min-height: 80vh;
    padding-bottom: 40px;
  }
  .hero-content {
    padding: 52px 0 60px;
  }

  .who-grid         { grid-template-columns: repeat(3, 1fr); }
  .who-card--fan    { grid-column: span 1; }

  .ecosystem-inner  { grid-template-columns: 1fr 1fr; }

  .beta-inner       { grid-template-columns: 1fr 1fr; }
}

/* 1024px — widescreen / medium laptop */
@media (min-width: 1024px) {
  .who-grid         { grid-template-columns: repeat(6, 1fr); }
  .who-card--artist { grid-column: span 2; }
  .who-card--venue  { grid-column: span 2; }
  .who-card--festival { grid-column: span 2; }
  .who-card--promoter { grid-column: span 3; }
  .who-card--fan    { grid-column: span 3; }
}

/* 1200px — desktop */
@media (min-width: 1200px) {
  .header-logo img  { width: 160px; }
  .footer-brand img { width: 160px; }
  .header-inner     { height: 72px; }
  .mobile-nav       { top: 72px; }
  .hero             { padding-top: 72px; }
  .hero-content     { padding: 56px 0 64px; }

  /* Showcase images: max-width enforced on container */
  .showcase-frame { max-width: 1500px; margin: 0 auto; }
}

/* 1440px — large desktop */
@media (min-width: 1440px) {
  .header-logo img  { width: 170px; }
  .footer-brand img { width: 170px; }

  .hero-content     { padding: 60px 0 68px; }
}

/* 1920px — ultrawide */
@media (min-width: 1920px) {
  .wrap { max-width: 1320px; }
}

/* === MOBILE SHOWCASE IMAGES ===
 * Wide UI screenshots need a tall cropped frame on mobile,
 * not a shrunken full image. We set a portrait aspect-ratio
 * container and use object-position per-image to centre on
 * the most readable widget area.
 * Desktop: full image, height:auto, no container constraint.
 */

/* Desktop baseline — image fills naturally */
.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .showcase-frame {
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }
  .showcase-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Crop to central widget/tablet area per image.
     Adjust these values after visual review at 375px. */
  .showcase--artist  .showcase-frame img { object-position: 58% center; }
  .showcase--venue   .showcase-frame img { object-position: 55% center; }
  .showcase--festival .showcase-frame img { object-position: 55% center; }
}

/* ── Privacy page ─────────────────────────────────────────────── */

/* Body-level class so header is always solid on this page */
.priv-page .site-header { background: rgba(6,7,15,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--c-border); }

/* Page header band */
.priv-hero {
  position: relative;
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
  padding-top: calc(82px + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(32px, 4vw, 48px);
  overflow: hidden;
}
@media (min-width: 900px) {
  .priv-hero {
    padding-top: clamp(100px, 9vw, 130px);
  }
}

/* Decorative node SVG */
.priv-hero-nodes {
  position: absolute;
  top: 0; right: 0;
  width: 480px; height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.priv-hero-title {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.022em;
  color: var(--c-white);
  overflow: visible;
  padding-bottom: 0.3em;
  margin-bottom: 10px;
}

.priv-hero-meta {
  font-size: 0.84rem;
  color: rgba(181,183,195,0.5);
  line-height: 1.5;
}

/* Main content area */
.priv-main {
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}

/* Glassmorphism content panel */
.priv-panel {
  background: rgba(14,16,34,0.7);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-2xl);
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  /* Top accent stripe */
}
.priv-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,45,117,0.5), rgba(106,92,255,0.5), rgba(0,212,255,0.4));
  border-radius: 0 0 2px 2px;
}

/* Body text block — max-width for comfortable reading */
.priv-body {
  max-width: 680px;
}

/* Section headings — white, safe, no gradient */
.priv-body h2 {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--c-white);
  overflow: visible;
  margin-top: clamp(28px, 3.5vw, 40px);
  margin-bottom: 10px;
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--c-border);
}
.priv-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Body paragraphs */
.priv-body p {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: var(--c-silver);
  line-height: 1.75;
  margin-bottom: 14px;
}
.priv-body p:last-child { margin-bottom: 0; }

/* Lists */
.priv-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.priv-body ul li {
  font-size: clamp(0.87rem, 1.1vw, 0.99rem);
  color: var(--c-silver);
  line-height: 1.68;
  padding-left: 18px;
  position: relative;
}
.priv-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.58em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-violet);
  box-shadow: 0 0 5px rgba(106,92,255,0.5);
}

/* Strong within legal text */
.priv-body strong {
  color: var(--c-white);
  font-weight: 600;
}

/* Links within content */
.priv-body a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0,212,255,0.3);
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.priv-body a:hover {
  color: var(--c-white);
  text-decoration-color: rgba(255,255,255,0.4);
}

/* Contact box */
.priv-contact {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding: 20px 22px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-violet);
  border-radius: var(--r-lg);
}
.priv-contact-label {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-white) !important;
  margin-bottom: 6px !important;
  line-height: 1.4;
}
.priv-contact p:last-child { margin: 0; }

/* Grain overlay ─────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.014;
  pointer-events: none;
  z-index: 9999;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
