/* The whole public site's styling. Plain CSS, no framework.
   Colors are taken from the band's own poster art: tie-dye magenta, cyan, orange, gold. */

:root {
  --ink: #f8f3ff;
  --ink-soft: #cdb9e8;
  --midnight: #140428;
  --deep: #2b0b4c;
  --magenta: #ff2d95;
  --cyan: #22d3ee;
  --orange: #ff7a18;
  --gold: #ffd166;
  --green: #43e97b;
  --card: rgba(23, 6, 43, 0.72);
  --edge: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --wrap: 1120px;
  --bar: 62px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--midnight);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* The tie-dye: five soft color blooms that drift slowly behind everything.
   It is one fixed layer, so scrolling stays smooth and nothing reflows. */
.tiedye {
  position: fixed;
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(38vmax 38vmax at 18% 22%, rgba(255, 45, 149, 0.55), transparent 62%),
    radial-gradient(34vmax 34vmax at 82% 18%, rgba(34, 211, 238, 0.50), transparent 62%),
    radial-gradient(40vmax 40vmax at 74% 78%, rgba(255, 122, 24, 0.45), transparent 62%),
    radial-gradient(30vmax 30vmax at 26% 82%, rgba(67, 233, 123, 0.38), transparent 62%),
    radial-gradient(46vmax 46vmax at 50% 50%, rgba(120, 40, 200, 0.55), transparent 70%),
    var(--midnight);
  filter: saturate(1.15) blur(6px);
  animation: drift 48s ease-in-out infinite alternate;
}

/* A second, darker layer keeps text readable over the brightest blooms. */
.tiedye::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120vmax 80vmax at 50% 30%, transparent, rgba(8, 2, 18, 0.78));
}

@keyframes drift {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.12) rotate(6deg); }
}

.wrap { width: min(var(--wrap), 92vw); margin: 0 auto; }

/* ---------- sticky bar: socials and Book The Dads never scroll away ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 max(14px, 4vw);
  background: rgba(12, 3, 24, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}

.bar img { width: 40px; height: 40px; border-radius: 50%; }
.bar .name { font-family: Righteous, ui-sans-serif, sans-serif; font-size: 18px; letter-spacing: .3px; }
.bar .spacer { flex: 1; }
.bar a.icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--edge);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bar a.icon:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); box-shadow: 0 0 18px rgba(34,211,238,.5); }
.bar a.icon svg { width: 19px; height: 19px; fill: currentColor; }

@media (max-width: 620px) {
  .bar .name { display: none; }
  .bar { gap: 8px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: .3px;
  color: #200634;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(100deg, var(--gold), var(--orange) 45%, var(--magenta));
  box-shadow: 0 8px 24px rgba(255, 45, 149, .38);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 30px rgba(255, 45, 149, .55); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--edge); box-shadow: none; font-weight: 600;
}
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- hero ---------- */

.hero { padding: 26px 0 20px; text-align: center; }

/* The logo sits on a spinning ring of tie-dye stripes (a conic gradient) with pulsing rings behind it,
   and the logo itself is run through the "liquid" SVG filter so it slowly wobbles like a light show. */
.hero-logo { position: relative; width: min(210px, 50vw); aspect-ratio: 1; margin: 0 auto 4px; }
.hero-logo img { position: relative; width: 100%; height: 100%; border-radius: 50%; display: block; animation: floaty 6s ease-in-out infinite; }
.spiral {
  position: absolute; inset: -18%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--magenta) 0 15deg, var(--orange) 15deg 30deg, var(--gold) 30deg 45deg, var(--green) 45deg 60deg, var(--cyan) 60deg 75deg, #8a4dff 75deg 90deg);
  -webkit-mask: radial-gradient(circle, transparent 44%, #000 46%, #000 70%, transparent 72%);
  mask: radial-gradient(circle, transparent 44%, #000 46%, #000 70%, transparent 72%);
  filter: blur(1.5px) saturate(1.4);
  opacity: .9;
  animation: spin 22s linear infinite;
}
.rings {
  position: absolute; inset: -40%; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,0) 0 14px, rgba(255,255,255,.14) 14px 16px);
  animation: pulse 5s ease-in-out infinite;
}
.liquid { filter: url(#liquid) drop-shadow(0 12px 30px rgba(255, 45, 149, .45)); }
.liquid-title { animation: hue 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hue { to { filter: hue-rotate(360deg) drop-shadow(0 3px 18px rgba(255, 45, 149, .45)); } }

/* The small logo in the sticky bar gets a slow version of the same ring. */
.bar-logo { position: relative; display: block; width: 40px; height: 40px; }
.bar-logo .spiral { inset: -5px; animation-duration: 12s; -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); filter: none; }
.bar-logo img { position: relative; }

/* Wave dividers: a rainbow stroke whose dashes drift sideways. */
.wave { display: block; width: 100%; height: 40px; overflow: visible; }
.wave path { fill: none; stroke: url(#rainbow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60 22; animation: flow 6s linear infinite; filter: drop-shadow(0 0 10px rgba(255, 45, 149, .6)); }
@keyframes flow { to { stroke-dashoffset: -82; } }

.hero h1 {
  font-family: Righteous, ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 7.2vw, 76px);
  line-height: 1.02;
  margin: 0 0 6px;
  background: linear-gradient(92deg, var(--gold), var(--orange) 28%, var(--magenta) 58%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 18px rgba(255, 45, 149, .45));
}
.hero .of { display: block; font-size: .42em; letter-spacing: .38em; color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft); }
.hero p.tagline { max-width: 70ch; margin: 8px auto 0; color: var(--ink-soft); font-size: clamp(15px, 1.9vw, 18px); }

/* ---------- show cards ---------- */

.shows-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 26px 0 12px;
}
.shows-head h2 { margin: 0; }

.shows { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .shows { grid-template-columns: 1fr; } }

.show {
  display: block;
  text-align: left;
  text-decoration: none;
  color: inherit;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.show:hover { transform: translateY(-3px); border-color: rgba(255, 209, 102, .55); box-shadow: 0 16px 40px rgba(255, 122, 24, .3); }
.show .when { font-family: Righteous, ui-sans-serif, sans-serif; font-size: 22px; color: var(--gold); }
.show .venue { font-weight: 700; margin-top: 4px; }
.show .where, .show .note { color: var(--ink-soft); font-size: 15px; }
.show .cost { display: inline-block; margin-top: 8px; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(67, 233, 123, .18); color: var(--green); }

.all-dates { list-style: none; margin: 0; padding: 0; }
.all-dates li {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;
  padding: 11px 2px; border-bottom: 1px solid var(--edge);
}
.all-dates .d { font-family: Righteous, ui-sans-serif, sans-serif; color: var(--gold); min-width: 8.5em; }
.all-dates .y { color: var(--ink-soft); font-size: 14px; }

/* ---------- sections ---------- */

section { padding: 42px 0; }

h2 {
  font-family: Righteous, ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 14px;
  color: var(--ink);
}

.divider {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--magenta), var(--orange), var(--gold), var(--green), var(--cyan), var(--magenta));
  background-size: 300% 100%;
  animation: slide 14s linear infinite;
  opacity: .85;
}
@keyframes slide { from { background-position: 0 0; } to { background-position: 300% 0; } }

/* Sections fade up as they scroll into view. site.js adds .seen. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.seen { opacity: 1; transform: none; }

.photo { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--edge); box-shadow: var(--shadow); display: block; }

/* ---------- video (click to play, so YouTube only loads on demand) ---------- */

.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--edge);
  box-shadow: var(--shadow); cursor: pointer; padding: 0; background: #000;
}
.video img, .video iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.video .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(closest-side, rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.video .play span {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(100deg, var(--gold), var(--magenta));
  box-shadow: 0 0 40px rgba(255,45,149,.6);
  transition: transform .18s ease;
}
.video:hover .play span { transform: scale(1.08); }
.video .play svg { width: 32px; height: 32px; fill: #200634; margin-left: 5px; }

/* ---------- quote of the day ---------- */

.quote {
  text-align: center;
  padding: 34px 22px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}
.quote blockquote {
  margin: 0;
  font-family: Righteous, ui-sans-serif, sans-serif;
  font-size: clamp(20px, 3.2vw, 32px);
  line-height: 1.35;
  background: linear-gradient(92deg, var(--cyan), var(--gold) 55%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-soft); }

/* ---------- merch, members, gallery ---------- */

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.grid2.top { align-items: start; }
.grid2.top .photo { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

.members { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.member {
  padding: 18px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--edge); box-shadow: var(--shadow);
}
.member h3 { margin: 0; font-family: Righteous, ui-sans-serif, sans-serif; font-weight: 400; font-size: 21px; color: var(--gold); }
.member .role { color: var(--cyan); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.member p { margin: 0 0 8px; font-size: 15.5px; color: var(--ink-soft); }
.member .kids { font-size: 14px; color: var(--ink-soft); opacity: .85; }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.muted-line { color: var(--ink-soft); margin: -6px 0 12px; }
.clip { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; border: 1px solid var(--edge); }
.tiles a, .tiles button { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.tiles img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--edge);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tiles img:hover { transform: scale(1.03); box-shadow: 0 0 30px rgba(34,211,238,.45); }
.tile-title { font-size: 14px; color: var(--ink-soft); margin-top: 6px; text-align: left; }
.tiles.merch { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tiles.merch img { aspect-ratio: 4 / 3; background: #fff; object-fit: contain; }
.tiles.merch a { text-decoration: none; color: inherit; }

/* ---------- footer ---------- */

footer { padding: 30px 0 60px; color: var(--ink-soft); font-size: 14px; text-align: center; }
footer a { color: var(--cyan); }
footer .friends { margin-bottom: 8px; }

/* ---------- booking modal ---------- */

dialog.modal {
  width: min(520px, 92vw);
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: #1b0733;
  color: var(--ink);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
dialog.modal::backdrop { background: rgba(6, 1, 14, .72); backdrop-filter: blur(3px); }
dialog.modal h2 { margin-top: 0; }
dialog.modal label { display: block; margin: 12px 0 4px; font-size: 14px; color: var(--ink-soft); }
dialog.modal input, dialog.modal textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1px solid var(--edge); background: rgba(255,255,255,.06);
  color: var(--ink); font: inherit;
}
dialog.modal textarea { min-height: 110px; resize: vertical; }
dialog.modal .row { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
dialog.modal .phone { color: var(--gold); }
.form-note { margin-top: 12px; font-size: 15px; min-height: 1.4em; }
.form-note.bad { color: #ff9d9d; }
.form-note.good { color: var(--green); }

/* ---------- press page (screen) ---------- */

.press h3 { font-family: Righteous, ui-sans-serif, sans-serif; font-weight: 400; color: var(--gold); margin-bottom: 4px; }
.press ul { color: var(--ink-soft); }

/* Printing the press page gives the band a one-sheet PDF with no extra tooling. */
@media print {
  .tiedye, .bar, .no-print { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  a { color: #111; text-decoration: none; }
  h1, h2, h3 { color: #111 !important; -webkit-text-fill-color: #111; background: none; }
  section { padding: 8pt 0; break-inside: avoid; }
  .press-photo { max-height: 2.6in; object-fit: cover; }
}

/* Sparkles left behind by the cursor (site.js adds and removes them). */
.sparkle {
  position: fixed; z-index: 100; pointer-events: none;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 8px currentColor;
  animation: sparkle .9s ease-out forwards;
}
@keyframes sparkle {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  to   { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + 70px)) scale(.2) rotate(180deg); }
}

/* Show cards melt when hovered: the same liquid filter as the logo, plus a stronger glow. */
.show:hover { filter: url(#liquid); border-color: rgba(255, 45, 149, .7); box-shadow: 0 16px 50px rgba(255, 45, 149, .45); }

/* Anyone who asks their computer for less motion gets a still page. */
@media (prefers-reduced-motion: reduce) {
  .tiedye, .divider, .spiral, .rings, .hero-logo img, .liquid-title, .wave path { animation: none; }
  .liquid, .show:hover { filter: none; }
  .sparkle { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
