/* ViBase. Colours from his Facebook cover (a kaleidoscope of a stage rig: amber, flame orange,
   red, bamboo cream) on a near-black night, with the violet of the stage lights in his photos. */
:root {
  --bg: #0e0a0c;
  --bg-2: #171013;
  --line: rgba(255, 236, 214, 0.12);
  --ink: #f6ece0;
  --muted: #b9aa9c;
  --amber: #ffb627;
  --orange: #ff7a1a;
  --red: #e2402f;
  --violet: #9a6bff;
  --glow: linear-gradient(100deg, var(--amber) 0%, var(--orange) 40%, var(--red) 70%, var(--violet) 100%);
  --radius: 14px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 28px; }
p { margin: 0 0 14px; }
i { font-style: normal; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section-dark { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--glow); background-size: 160% 100%; background-position: 0 0;
  color: #1a0d06; font-weight: 700; text-decoration: none; font-size: 16px;
  border: 0; transition: background-position .4s ease, transform .2s ease;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 236, 214, 0.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--amber); color: var(--amber); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Top bar */
/* Sticky (not fixed) so the demo banner the host adds above it stays visible; the hero slides up under it. */
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.nav + main .hero { margin-top: -64px; }
.nav.scrolled { background: rgba(14, 10, 12, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { font-family: var(--display); font-weight: 500; font-size: 20px; text-decoration: none; letter-spacing: 0.02em; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .links { display: none; }
  .nav .btn-small { display: none; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; text-align: center; isolation: isolate;
}
.kaleido { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.kaleido img {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: max(132vmax, 900px); height: auto; max-width: none;
  animation: spin 240s linear infinite;
  filter: saturate(1.1);
}
.kaleido::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(14, 10, 12, 0.55), rgba(14, 10, 12, 0.82) 70%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(14, 10, 12, 0.5), transparent 30%, transparent 70%, var(--bg));
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kaleido img { animation: none; } }

.hero-in { padding: 110px 0 90px; }
.eyebrow { font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; font-size: 13px; color: var(--amber); margin-bottom: 18px; }
.eyebrow i { color: var(--muted); margin: 0 6px; }
.wordmark {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(64px, 21vw, 200px); letter-spacing: 0.04em; line-height: 0.95;
  background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 122, 26, 0.35));
  margin-bottom: 20px;
}
.lead { font-size: clamp(18px, 2.4vw, 22px); max-width: 30ch; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.played { margin-top: 30px; font-size: 14px; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.scroll-down { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 40px; color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-down { animation: none; } }

/* Next show */
.next { padding-top: clamp(40px, 6vw, 72px); }
.next-in {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center;
  padding: clamp(18px, 3vw, 28px); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(154, 107, 255, 0.10));
  border: 1px solid var(--line);
}
.next-in img { width: 100%; height: auto; border-radius: var(--radius); }
.next h2 { margin-bottom: 10px; }
.kicker { color: var(--amber); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.when { font-family: var(--display); font-size: clamp(16px, 2vw, 19px); color: var(--ink); margin-bottom: 14px; }
.when i { color: var(--orange); margin: 0 6px; }
.next p:not(.kicker):not(.when) { color: var(--muted); max-width: 42ch; margin-bottom: 22px; }
@media (max-width: 720px) {
  .next-in { grid-template-columns: 1fr; }
  .next-in img { max-width: 360px; }
}

/* Listen */
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.player { margin: 0; }
.player-wide { grid-column: 1 / -1; }
.player figcaption { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.player figcaption b { color: var(--ink); font-family: var(--display); font-weight: 500; margin-right: 8px; }
.player iframe { width: 100%; border: 0; border-radius: var(--radius); background: var(--bg-2); }
.more-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.more-links a, a.more-links { color: var(--amber); font-weight: 700; text-decoration: none; }
.more-links a:hover, a.more-links:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .players { grid-template-columns: 1fr; } }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reel { margin: 0; }
.reel figcaption { margin-top: 12px; font-family: var(--display); font-size: 16px; }
.reel figcaption span { display: block; font-family: var(--body); color: var(--muted); font-size: 14px; margin-top: 2px; }
.clip { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  border: 0; background: rgba(14, 10, 12, 0.6); backdrop-filter: blur(4px); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.play::before { content: ""; position: absolute; left: 25px; top: 20px; border-left: 20px solid var(--ink); border-block: 12px solid transparent; }
.clip.stopped .play { opacity: 1; pointer-events: auto; }
a.more-links.ig { display: inline-block; }
@media (max-width: 720px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: center; }
}

/* Shows */
.shows { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 96px); }
.gigs, .labels { list-style: none; margin: 0; padding: 0; }
.gigs li, .labels li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gigs li:first-child, .labels li:first-child { border-top: 1px solid var(--line); }
.gigs b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.gigs span, .labels span { color: var(--muted); font-size: 15px; }
.labels a { font-family: var(--display); font-weight: 500; font-size: 17px; text-decoration: none; }
.labels a:hover { color: var(--amber); }
.sub { color: var(--muted); margin: 0 0 12px; }
.labels + .sub { margin-top: 22px; }
.sub a { color: var(--amber); }
@media (max-width: 820px) { .shows { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.about img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.about p { color: var(--muted); max-width: 52ch; }
.about p:first-of-type { color: var(--ink); font-size: 19px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* Learn */
.intro { color: var(--muted); max-width: 56ch; margin: -12px 0 28px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.card b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.card b::after { content: " →"; color: var(--amber); }
.card span { color: var(--muted); font-size: 15px; }
.card:hover { border-color: rgba(255, 182, 39, 0.6); transform: translateY(-2px); }
@media (max-width: 920px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }

/* Bookings */
.book { text-align: center; position: relative; overflow: hidden; }
.book::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 122, 26, 0.22), rgba(154, 107, 255, 0.08) 45%, transparent 70%);
}
.book { isolation: isolate; }
.book-in h2 { margin-bottom: 12px; }
.book-in p { color: var(--muted); }
.mail {
  display: inline-block; margin: 10px 0 28px; font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 5vw, 46px); text-decoration: none; overflow-wrap: anywhere;
  background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 96px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot .brand { color: var(--ink); margin-right: auto; }
.foot-links, .socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-in > span:nth-last-child(-n+2) { flex-basis: auto; }
.credit a { color: var(--ink); }
@media (min-width: 721px) { .foot { padding-bottom: 36px; } }

/* Phone-only Book pill */
.bookbar {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  padding: 12px 22px; border-radius: 999px; background: var(--glow);
  color: #1a0d06; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  translate: 0 120px; transition: translate .35s ease;
}
.bookbar.show { translate: 0 0; }
@media (min-width: 721px) { .bookbar { display: none; } }

/* Fade-ins (only when motion is allowed) */
.fx .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.fx .reveal.in { opacity: 1; transform: none; }
