/* =========================================================
   All Downhill From Here — palette pulled from the logos
   ========================================================= */
:root {
  --ink: #0d0a10;
  --ink-2: #1a1320;
  --line: #000;
  --magenta: #b23cc8;
  --magenta-deep: #6e1a80;
  --pink: #f0a6f5;
  --teal: #19d3c5;
  --mustard: #e8c22a;
  --paper: #fbf3ff;
  --muted: #c9b6d3;

  --f-display: "Bowlby One", "Arial Black", sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --f-body: "Space Grotesk", system-ui, sans-serif;

  --outline: 3px solid var(--line);
  --shadow: 6px 6px 0 var(--line);
  --gutter: 16px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2.2rem, 6vw, 4rem); text-transform: uppercase; }
.marker { font-family: var(--f-marker); color: var(--teal); text-transform: lowercase; display: inline-block; transform: rotate(-3deg); }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__logo img { width: 44px; height: auto; filter: drop-shadow(2px 3px 0 #000); transition: transform .3s; }
.topbar__logo:hover img { transform: rotate(-10deg) scale(1.08); }

.menu-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--mustard); color: var(--ink);
  border: var(--outline); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--line);
  font: 400 1rem var(--f-display); text-transform: uppercase;
  padding: 10px 16px 10px 20px; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.menu-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.menu-btn__bars { display: grid; gap: 4px; width: 22px; }
.menu-btn__bars i { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .menu-btn { background: var(--teal); }
.menu-open .menu-btn__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Curtain menu ---------- */
.curtain { position: fixed; inset: 0; z-index: 40; overflow: hidden; }
.curtain[hidden] { display: none; }
.curtain__drape {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0, transparent 18%, transparent 80%, rgba(0,0,0,.55) 100%),
    repeating-linear-gradient(90deg,
      var(--magenta-deep) 0, var(--magenta) 22px, var(--pink) 34px, var(--magenta) 46px, var(--magenta-deep) 68px);
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.4);
  transition: transform .75s cubic-bezier(.7, 0, .2, 1);
}
.curtain__drape--l { left: 0; transform: translateX(-101%); border-right: 4px solid #000; }
.curtain__drape--r { right: 0; transform: translateX(101%); border-left: 4px solid #000; }
/* scalloped valance along the top */
.curtain::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 70px; z-index: 2;
  background:
    radial-gradient(circle at 35px 0, var(--magenta-deep) 34px, #000 35px, #000 38px, transparent 39px) 0 0 / 70px 70px repeat-x;
  transform: translateY(-100%);
  transition: transform .5s .2s cubic-bezier(.2, .8, .2, 1);
}
.curtain__stage {
  position: relative; z-index: 3; height: 100%;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s;
}
.curtain__links { list-style: none; margin: 0; padding: 0; text-align: center; }
.curtain__links li { overflow: hidden; }
.curtain__links a {
  display: inline-block; text-decoration: none;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 6.5rem); line-height: 1.1;
  color: var(--paper);
  -webkit-text-stroke: 3px #000; paint-order: stroke fill;
  text-shadow: 5px 5px 0 #000;
  transform: translateY(110%); transition: transform .5s cubic-bezier(.2, .8, .2, 1), color .2s;
}
.curtain__links a span { font-family: var(--f-marker); font-size: .45em; color: var(--mustard); display: block; text-transform: none; -webkit-text-stroke: 0; text-shadow: 3px 3px 0 #000; }
.curtain__links a:hover, .curtain__links a:focus-visible { color: var(--mustard); }
.curtain__links a.curtain__small { font-family: var(--f-marker); font-size: 1.4rem; -webkit-text-stroke: 0; text-shadow: 2px 2px 0 #000; margin-top: 1.2rem; text-transform: none; }

.curtain.is-open .curtain__drape { transform: translateX(0); }
.curtain.is-open::before { transform: translateY(0); }
.curtain.is-open .curtain__stage { opacity: 1; transition-delay: .45s; }
.curtain.is-open .curtain__links a { transform: translateY(0); }
.curtain.is-open li:nth-child(1) a { transition-delay: .5s; }
.curtain.is-open li:nth-child(2) a { transition-delay: .58s; }
.curtain.is-open li:nth-child(3) a { transition-delay: .66s; }
.curtain.is-open li:nth-child(4) a { transition-delay: .74s; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 90px 0 56px;
  isolation: isolate;
}
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo { z-index: -2; }
.hero__photo img { object-fit: cover; object-position: 50% 35%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,10,16,.55) 0%, transparent 25%, transparent 45%, rgba(13,10,16,.92) 100%),
    linear-gradient(90deg, rgba(110,26,128,.55), rgba(110,26,128,0) 60%);
}
.hero__inner {
  width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; gap: 28px; align-items: end;
}
.hero__brand { display: grid; gap: 18px; justify-items: start; }
.hero__logo {
  width: clamp(170px, 26vw, 310px); height: auto;
  filter: drop-shadow(6px 8px 0 rgba(0,0,0,.85));
  animation: bob 6s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes bob { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-8px); } }

.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--paper); color: var(--ink);
  border: var(--outline); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform .15s, background .2s, box-shadow .15s;
}
.socials a:hover { background: var(--teal); transform: translate(-2px, -2px) rotate(-8deg); box-shadow: 5px 5px 0 var(--line); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Player ---------- */
.player { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.player__card {
  position: relative; z-index: 1;
  background: linear-gradient(170deg, var(--pink) 0%, var(--magenta) 100%);
  color: var(--ink);
  border: 4px solid var(--line); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--line);
  padding: 20px 20px 14px;
}
/* glossy highlight like on the heart */
.player__card::before {
  content: ""; position: absolute; top: 12px; right: 18px; width: 70px; height: 16px;
  background: rgba(255,255,255,.7); border-radius: 50%; transform: rotate(-12deg);
}
.player__eyebrow { margin: 0; font-family: var(--f-marker); font-size: .95rem; color: var(--magenta-deep); }
.player__title { font-size: clamp(1.4rem, 3.2vw, 1.9rem); text-transform: uppercase; margin: 2px 0 14px; padding-right: 70px; }

.player__controls { display: flex; align-items: center; gap: 12px; }
.ctrl {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: var(--paper); color: var(--ink);
  border: var(--outline); border-radius: 50%; cursor: pointer;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform .12s, box-shadow .12s;
}
.ctrl:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); }
.ctrl:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.ctrl svg { width: 18px; height: 18px; fill: currentColor; }
.ctrl--play { width: 64px; height: 64px; background: var(--mustard); }
.ctrl--play svg { width: 26px; height: 26px; }
.ctrl--play .i-pause, .is-playing .ctrl--play .i-play { display: none; }
.is-playing .ctrl--play .i-pause { display: block; }

.player__progress { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 16px 0 10px; }
.time { font-variant-numeric: tabular-nums; font-size: .82rem; font-weight: 700; min-width: 2.8em; }
.time:last-child { text-align: right; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 0;
  background: linear-gradient(90deg, var(--teal) var(--pct, 0%), var(--paper) var(--pct, 0%));
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mustard); border: 3px solid var(--line);
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--line); }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--line); }
.tracklist li + li { border-top: 2px dashed rgba(0,0,0,.35); }
.tracklist button {
  width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center;
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  font: 500 .97rem var(--f-body); color: var(--ink); text-align: left;
}
.tracklist .num { font-family: var(--f-display); font-size: .8rem; }
.tracklist .dur { font-size: .8rem; font-variant-numeric: tabular-nums; opacity: .75; }
.tracklist button:hover { background: rgba(255,255,255,.35); }
.tracklist .is-current button { font-weight: 700; background: rgba(13,10,16,.88); color: var(--teal); border-radius: 8px; }
.tracklist .is-current .num { color: var(--mustard); }

/* teal drips under the card, echoing the logo */
.drips { position: absolute; left: 0; right: 0; bottom: -46px; height: 60px; z-index: 0; }
.drips i {
  position: absolute; top: 0; width: 18px; height: 58px;
  background: linear-gradient(180deg, #0f9d93, var(--teal) 60%, #8ff5ec);
  border: 3px solid var(--line); border-top: 0;
  border-radius: 0 0 12px 12px / 0 0 22px 22px;
  transform-origin: top; animation: drip 4.5s ease-in-out infinite;
}
.drips i:nth-child(1) { left: 18%; height: 44px; }
.drips i:nth-child(2) { left: 48%; height: 62px; animation-delay: -1.5s; }
.drips i:nth-child(3) { left: 76%; height: 38px; animation-delay: -3s; }
@keyframes drip { 0%, 100% { transform: scaleY(.85); } 50% { transform: scaleY(1.12); } }

/* Phones/tablets: photo on top, nothing covering faces; logo, socials and player below */
@media (max-width: 859px) {
  .hero { display: block; min-height: 0; padding: 0 0 72px; background: var(--ink); }
  .hero__photo { position: relative; display: block; height: auto; aspect-ratio: 1 / 1; max-height: 70svh; }
  .hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,10,16,.45) 0%, transparent 22%, transparent 70%, var(--ink) 100%);
  }
  .hero__photo img { object-position: 48% 50%; }
  .hero__shade { display: none; }
  .hero__inner { position: relative; z-index: 1; margin-top: -64px; }
  .hero__brand { grid-template-columns: auto 1fr; align-items: end; gap: 14px; }
  .hero__logo { width: clamp(120px, 34vw, 190px); }
  .socials { padding-bottom: 6px; }
  .socials a { width: 44px; height: 44px; }
  .player { max-width: none; justify-self: stretch; }
}

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1fr auto; }
  .player { width: 420px; }
}

/* ---------- Section shared ---------- */
section:not(.hero) { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.pill {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--teal); color: var(--ink);
  border: var(--outline); border-radius: 999px; padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--line); transition: transform .15s;
}
.pill:hover { transform: translate(-2px, -2px) rotate(-2deg); }

/* drippy divider at the top of each section */
.gigs::before, .bio::before, .contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px;
  background:
    radial-gradient(14px 26px at 50% 0, var(--section-from) 98%, transparent) 0 0 / 140px 40px repeat-x,
    radial-gradient(9px 18px at 50% 0, var(--section-from) 98%, transparent) 70px 0 / 140px 40px repeat-x;
}

/* ---------- Instagram ---------- */
.insta { background: var(--ink); padding-top: 90px !important; }
.insta__placeholder {
  display: grid; place-items: center; gap: 10px; text-align: center;
  min-height: 220px; padding: 30px;
  border: 3px dashed var(--magenta); border-radius: var(--radius);
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(178,60,200,.08) 18px 36px);
}
.insta__placeholder img { width: 70px; opacity: .9; }
.insta__placeholder p { margin: 0; }

/* ---------- Gigs ---------- */
.gigs { --section-from: var(--ink); background: var(--magenta-deep);
  background-image: radial-gradient(circle at 15% 20%, rgba(240,166,245,.25), transparent 40%), radial-gradient(circle at 85% 90%, rgba(25,211,197,.2), transparent 40%); }
.gig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gig {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center;
  background: var(--paper); color: var(--ink);
  border: var(--outline); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px;
  transition: transform .15s;
}
.gig:hover { transform: rotate(-.6deg) translateY(-2px); }
.gig__date {
  grid-row: span 2; display: grid; place-items: center; text-align: center;
  width: 74px; height: 74px; background: var(--mustard);
  border: var(--outline); border-radius: 14px; line-height: 1;
}
.gig__date b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; display: block; }
.gig__date small { text-transform: uppercase; font-weight: 700; font-size: .8rem; }
.gig__venue, .gig__meta { grid-column: 2; }
.gig__venue { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.gig__meta { font-size: .95rem; color: #4a3a52; }
.gig__tix { grid-column: 1 / -1; justify-self: start; }
.gig-empty {
  text-align: center; padding: 40px 20px; font-family: var(--f-marker); font-size: 1.5rem;
  border: 3px dashed var(--pink); border-radius: var(--radius);
}
@media (min-width: 700px) {
  .gig { grid-template-columns: auto 1fr auto; padding: 16px 22px; }
  .gig__tix { grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
}

/* ---------- Bio ---------- */
.bio { --section-from: var(--magenta-deep); background: var(--ink); }
.bio__grid { display: grid; gap: 40px; align-items: center; }
.bio__photo { position: relative; margin: 0; }
.bio__photo > img:first-child {
  border: 4px solid var(--line); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--teal); transform: rotate(-1.5deg);
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
}
.bio__sticker {
  position: absolute; width: 30%; max-width: 150px; right: -10px; bottom: -40px;
  transform: rotate(12deg); filter: drop-shadow(4px 5px 0 #000);
}
.bio__text h2 { margin-bottom: 20px; }
.bio__text .lead { font-size: 1.25rem; font-weight: 500; color: var(--pink); }
.bio__text p { color: var(--muted); }
.bio__text em { color: var(--mustard); font-style: normal; font-weight: 700; }
@media (min-width: 860px) { .bio__grid { grid-template-columns: 1fr 1fr; gap: 70px; } }

/* ---------- Contact ---------- */
.contact { --section-from: var(--ink); background: linear-gradient(170deg, var(--magenta) 0%, var(--magenta-deep) 100%); }
.contact__grid { display: grid; gap: 40px; }
.contact h2 + p { font-size: 1.2rem; }
.contact__email {
  display: inline-block; margin-top: 8px; font-family: var(--f-marker);
  font-size: clamp(1.2rem, 3.4vw, 1.9rem); color: var(--mustard);
  text-decoration: none; border-bottom: 3px solid currentColor; word-break: break-all;
}
.contact__email:hover { color: var(--teal); }
.form {
  display: grid; gap: 14px;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--line);
  padding: 22px;
}
.form label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 3px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px var(--pink); }
.btn {
  justify-self: start; cursor: pointer;
  font: 400 1.1rem var(--f-display); text-transform: uppercase;
  background: var(--mustard); color: var(--ink);
  border: var(--outline); border-radius: 999px; padding: 12px 28px;
  box-shadow: 4px 4px 0 var(--line); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
@media (min-width: 860px) { .contact__grid { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 70px; } }

/* ---------- Footer ---------- */
.footer { display: grid; justify-items: center; gap: 8px; padding: 40px var(--gutter) 50px; background: var(--ink); color: var(--muted); font-size: .9rem; text-align: center; }
.footer p { margin: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
