/* Sober rave page. Flips the shared palette dark so the components in
   style.css invert, then adds the handful of pieces this page needs:
   the hero, the line-up and the closing block. */

body.rave {
  --ink: #f4f0fb;
  --paper: #0e0a16;
  --muted: #a99fbb;
  --line: #2a2138;
  --purple: #a97bff;
  background: var(--paper);
  color: var(--ink);
}

/* Header sits on the dark ground rather than the white band style.css gives it. */
body.rave .header { background: transparent; border-bottom: 1px solid var(--line); }
body.rave .header img { filter: invert(1) brightness(1.6); }
body.rave .header .button { background: var(--purple); border-color: var(--purple); color: #140d24; }
body.rave .header .button:hover { background: #c1a0ff; }
body.rave .collab { color: var(--muted); }
body.rave .hoj-mark { width: 120px; height: auto; }

/* ---------- hero ---------- */
.rave-hero { position: relative; overflow: hidden; isolation: isolate; }
.rave-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 14% 6%, #5b1fd64d 0, transparent 55%),
    radial-gradient(ellipse at 92% 78%, #c0328c3d 0, transparent 52%),
    linear-gradient(165deg, #150d26 0%, #0e0a16 62%);
}
.rave-hero-inner {
  padding-block: 64px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.rave-hero-copy { min-width: 0; }

/* ---------- framed film, mirroring the main site's hero treatment ---------- */
.rave-film {
  position: relative; margin: 0; align-self: stretch;
  min-height: 560px; max-height: 760px;
  border-radius: 200px 200px 24px 24px; overflow: hidden;
  background: #1b1030; isolation: isolate;
  box-shadow: 0 24px 68px rgba(0,0,0,.55);
}
.rave-film video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
}
.film-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,10,22,.88) 0%, transparent 58%, rgba(14,10,22,.45) 100%);
}
.film-title {
  position: absolute; bottom: 38px; left: 32px; right: 32px;
  font-family: Archivo, Arial, sans-serif; font-weight: 900; color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.05em;
  /* The shade below is gradient, so footage can still come up pale behind a
     line. A soft shadow keeps both colours readable whatever the frame. */
  text-shadow: 0 2px 14px rgba(10,6,20,.7);
}
.film-title span { color: var(--purple); }

.rave-eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--purple); font-size: .75rem; }
.rave-eyebrow .mini-line { width: 24px; height: 2px; background: var(--purple); }
.rave-eyebrow .slash { opacity: .4; }

.rave-title {
  font-family: Archivo, Arial, sans-serif; font-weight: 900;
  font-size: clamp(2.3rem, 5.8vw, 5.45rem); line-height: .92;
  letter-spacing: -.07em; margin: 22px 0 0;
}
.rave-title span { color: var(--purple); }

.rave-when {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: Archivo, Arial, sans-serif; font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: -.01em;
  margin: 20px 0 0; padding: 10px 16px;
  color: #fff; background: rgba(169,123,255,.12);
  border: 1px solid var(--purple); border-radius: 999px;
}
.rave-when span[aria-hidden] { color: var(--purple); }

.rave-hook {
  font-family: Archivo, Arial, sans-serif; font-weight: 800;
  font-size: clamp(1.4rem, 2.9vw, 2.15rem); line-height: 1.1;
  letter-spacing: -.035em; margin: 22px 0 0; color: var(--purple);
}

.rave-standfirst {
  font-size: clamp(1rem, 1.9vw, 1.2rem); font-weight: 450; line-height: 1.5;
  max-width: 44ch; margin: 18px 0 0; color: var(--muted);
}

/* ---------- line-up ---------- */
.lineup {
  list-style: none; margin: 28px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.lineup-name {
  font-family: Archivo, Arial, sans-serif; font-weight: 900;
  font-size: clamp(1.7rem, 5.2vw, 3.1rem); line-height: 1.04;
  letter-spacing: -.045em; text-transform: uppercase;
}
.lineup-guest { color: var(--muted); }
.lineup-guest span {
  font-family: var(--font); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; vertical-align: middle; margin-left: 10px;
  border: 1px solid currentColor; border-radius: 4px; padding: 3px 7px;
}

.genre-strip {
  margin: 26px 0 0; font-size: .95rem; font-weight: 600;
  letter-spacing: .01em; color: var(--muted);
}


.rave-signup { margin-top: 34px; max-width: 420px; }
.rave-signup .signup-kicker { font-size: .85rem; font-weight: 600; color: var(--purple); margin: 0 0 12px; }

/* The hero sign-up sits in a raised glass panel so the one thing we want
   people to do reads as an object rather than more hero copy. Scoped to the
   hero: the closing block already has its own band and heading. */
.rave-hero .rave-signup {
  max-width: 460px;
  margin-top: 30px;
  padding: 24px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(169, 123, 255, .34);
  background:
    linear-gradient(180deg, rgba(43, 27, 71, .82) 0%, rgba(20, 13, 35, .88) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(255, 255, 255, .02),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rave-hero .rave-signup .signup-kicker { margin: 0 0 10px; }
.rave-hero .signup-lead { margin: 0 0 18px; }
.rave-hero .rave-signup .signup-form { gap: 12px; }

@media (max-width: 860px) {
  .rave-hero .rave-signup { padding: 20px 18px 18px; border-radius: 18px; }
}


/* ---------- a repeated pull line, used in two sections ---------- */
.rave-pullquote {
  font-family: Archivo, Arial, sans-serif; font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.2;
  letter-spacing: -.03em; color: var(--ink); margin: 22px 0 0;
}

/* ---------- music and artists ---------- */
.rave-music { background: #120c1f; border-block: 1px solid var(--line); }
.rave-music-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; padding-block: 88px; align-items: start; }
.rave-music-type h2 { margin-top: 16px; }
.rave-music-type h2 span { color: var(--purple); }
.rave-music-copy .lead { font-size: 1.22rem; font-weight: 550; line-height: 1.45; margin: 0 0 16px; }
.rave-music-copy p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin: 0 0 16px; }
.rave-music-note { font-size: .95rem; font-weight: 500; line-height: 1.55; color: var(--muted); max-width: 46ch; margin: 16px 0 0; }

/* ---------- venue card ---------- */
.venue-card {
  margin: 28px 0 0; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #19112c;
}
.venue-card .venue-kicker { font-size: .7rem; letter-spacing: .18em; font-weight: 700; color: var(--purple); margin: 0; }
.venue-card .venue-mark {
  font-family: Archivo, Arial, sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1;
  letter-spacing: -.055em; margin: 10px 0 12px; color: var(--ink);
}
.venue-card img.venue-mark { width: auto; max-width: 240px; height: auto; }
.venue-card .venue-note { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0; }
@media (max-width: 700px) { .venue-card { padding: 18px 18px; } }

/* ---------- alcohol-free ---------- */
.rave-sober-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.rave-sober h2 { margin-top: 16px; }
.rave-sober h2 span { color: var(--purple); }
.rave-sober-copy .lead { font-size: 1.24rem; font-weight: 550; line-height: 1.45; margin: 0 0 18px; }
.rave-sober-copy p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin: 0 0 16px; }

/* ---------- three gears heading ---------- */
/* ---------- three gears ---------- */
.rave-how h2 { margin: 18px 0 44px; }
.rave-how h2 span { color: var(--purple); }
.gears { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Each pillar now opens with a photo, then the purple rule under it. */
.gears > li { border-top: 0; padding-top: 0; display: flex; flex-direction: column; }
.gears .step-image { aspect-ratio: 1; border-radius: 16px; background: #1b1030; }
.gears > li:hover .step-image img { transform: scale(1.03); }
.gear-body { border-top: 2px solid var(--purple); padding-top: 18px; padding-bottom: 20px; flex: 1; }
.gear-no { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--purple); }
.gears h3 { font-family: Archivo, Arial, sans-serif; font-weight: 900; font-size: 1.65rem; letter-spacing: -.035em; margin: 10px 0 10px; }
.gears p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---------- the ad flyer, under the line-up ---------- */
.flyer {
  margin: 30px 0 0; max-width: 400px;
  border-radius: 16px; overflow: hidden;
  background: #1b1030; border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.flyer img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .flyer { max-width: 340px; margin-top: 26px; } }

/* ---------- the argument ---------- */
.rave-argument { background: #150d26; border-block: 1px solid var(--line); }
.rave-argument-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; padding-block: 88px; align-items: start; }
.rave-argument h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.rave-argument h2 span { color: var(--purple); }
.rave-argument-copy .lead { font-size: 1.24rem; font-weight: 550; line-height: 1.45; margin: 0 0 18px; }
.rave-argument-copy p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin: 0 0 16px; }
.rave-argument .button.light { background: var(--purple); color: #140d24; border-color: var(--purple); margin-top: 10px; }
.rave-argument .button.light:hover { background: #c1a0ff; color: #140d24; }

/* ---------- questions, inheriting the shared faq styles ---------- */
body.rave .faq-list { border-top-color: var(--line); }
body.rave details { border-bottom-color: var(--line); }
body.rave summary > span { color: var(--purple); }
body.rave .answer { color: var(--muted); }

/* ---------- the full SOMA session, offered quietly ---------- */
@media (max-width: 700px) {
}

/* ---------- close ---------- */
.rave-close { background: linear-gradient(160deg, #2a1150 0%, #130c22 70%); }
.rave-close-inner { padding-block: 84px 76px; }
.rave-close .eyebrow { color: var(--purple); }
.rave-close h2 { font-size: clamp(3.4rem, 11vw, 7rem); line-height: .95; margin: 18px 0 32px; }
.rave-close h2 span { color: var(--purple); }
.rave-fine { font-size: .78rem; color: var(--muted); margin-top: 16px; }

/* ---------- the email field ----------
   site.css gives the input a hardcoded white background but colours the text
   with --ink, which this page flips to near-white: people could not see their
   own address as they typed it. Pin the text dark against that white box. */
body.rave .signup-form input[type="email"] { color: #16101e; }
body.rave .signup-form input[type="email"]::placeholder { color: #8b8398; }

/* ---------- the thank-you panel ----------
   site.css gives it a near-white surface and colours the text with --ink,
   which this page flips to near-white. White on white, in the inline form
   and inside the dialog. Give it a dark surface here. */
body.rave .signup-thanks {
  background: #1d1433; border-color: #2f2447;
}
body.rave .signup-thanks .thanks-title { color: var(--ink); }
body.rave .signup-thanks p { color: #c3b8d8; }

/* ---------- the two shared bars ----------
   style.css and site.css give the consent banner and the phone CTA bar a
   hardcoded light surface but colour their text with --ink. This page flips
   --ink to near-white, which left white text on white. Give both a dark
   surface here rather than unpicking the shared files. */
body.rave .consent {
  background: #17102af2; border-color: var(--line); color: var(--ink);
  box-shadow: 0 16px 44px rgba(0,0,0,.5);
}
body.rave .consent p { color: var(--ink); }
body.rave .consent a { color: var(--purple); text-decoration: underline; }
body.rave .consent-btn { background: #241741; color: var(--ink); border-color: #3a2b56; }
body.rave .consent-btn:hover { background: #2f1f55; border-color: var(--purple); }

body.rave .mobile-cta {
  background: #140d24f2; border-top-color: var(--line);
  box-shadow: 0 -5px 25px rgba(0,0,0,.45);
}
body.rave .mobile-cta > span { color: var(--muted); }
body.rave .mobile-cta strong { color: var(--ink); }
body.rave .mobile-cta .button { background: var(--purple); color: #140d24; border-color: var(--purple); }
body.rave .mobile-cta .button:hover { background: #c1a0ff; color: #140d24; }

/* ---------- footer ---------- */
body.rave .footer-top img { filter: invert(1) brightness(1.6); }
body.rave .footer-bottom, body.rave .footer-note { color: var(--muted); }
body.rave .footer-bottom { border-top-color: var(--line); }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .rave-argument-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 60px; }
  .rave-music-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 60px; }
  .rave-sober-inner { grid-template-columns: 1fr; gap: 26px; }
  .gears { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 980px) {
  .rave-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .rave-film { min-height: 0; height: 440px; max-width: 460px; width: 100%; justify-self: center;
               border-radius: 150px 150px 18px 18px; order: -1; }
  .film-title { font-size: 2.4rem; bottom: 30px; left: 28px; right: 28px; }
  }
@media (max-width: 700px) {
  .rave-hero-inner { padding-block: 36px 40px; }
  .rave-film { height: 380px; border-radius: 120px 120px 16px 16px; }
  .film-title { font-size: 2.15rem; bottom: 26px; left: 24px; right: 24px; }
  .rave-title { font-size: clamp(2.1rem, 11vw, 4.6rem); }
  .rave-standfirst { font-size: 1.08rem; max-width: none; }
  .lineup { margin-top: 24px; }
  .rave-signup { max-width: none; }
  .rave-close-inner { padding-block: 58px 54px; }
}

.signup-lead {
  margin: 10px 0 0; font-family: Archivo, Arial, sans-serif; font-weight: 900;
  /* Uppercased in CSS rather than the markup so screen readers still get words. */
  text-transform: uppercase;
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
  line-height: 1.12; letter-spacing: -.02em; color: #fff;
}
