:root {
  --bg: #0b0a12;
  --bg-alt: #12101c;
  --card: #18152600;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ececf1;
  --muted: #9d9aae;
  --accent: #b18cff;
  --accent-2: #ff4f9a;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  --display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

/* Film grain over everything, like the GrooveAx flyers */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(11, 10, 18, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}

.nav-logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/roeland-hero.jpg') 60% 40% / cover no-repeat;
  transform: scale(1.04);
  animation: hero-in 1.6s ease-out forwards;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 10, 18, 0.55) 0%, rgba(11, 10, 18, 0) 22%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 18, 0.75) 30%, rgba(11, 10, 18, 0) 65%),
    linear-gradient(100deg, rgba(60, 30, 120, 0.35), rgba(255, 79, 154, 0.08));
}

@keyframes hero-in {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 12vh, 120px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(64px, 15vw, 190px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(177, 140, 255, 0.35);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(11, 10, 18, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  scroll-margin-top: 40px;
  padding: clamp(72px, 12vw, 140px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ---------- BIO ---------- */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.bio-photo {
  position: relative;
  margin: 0;
}

.bio-photo::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent);
  border-radius: 18px;
  opacity: 0.6;
}

.bio-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.bio-text p {
  margin: 0 0 18px;
  color: #cfcddb;
}

.bio-text .lead {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
}

.bio-text strong {
  color: var(--text);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.facts span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--text);
}

.btn-linkedin {
  gap: 10px;
  border: 0;
  background: #0a66c2;
  color: #fff;
}

.btn-linkedin:hover {
  background: #004182;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- PROJECTS ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.project {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s;
}

.project:hover {
  border-color: rgba(177, 140, 255, 0.5);
  transform: translateY(-4px);
}

.yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.yt img,
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.yt img {
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.6s;
}

.yt:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.yt-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.project-body {
  padding: clamp(20px, 3vw, 32px);
}

.project h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}

.project-tag {
  margin: 8px 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.project p {
  color: #cfcddb;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-links a,
.socials a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.project-links a:hover,
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.app-card {
  max-width: 640px;
}

.btn-appstore {
  gap: 10px;
  margin-top: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: #000;
  color: #fff;
}

.btn-appstore:hover {
  border-color: #fff;
}

/* ---------- SHOWS ---------- */
.shows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.shows-col {
  padding: clamp(20px, 3vw, 36px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(177, 140, 255, 0.16), transparent 60%),
    radial-gradient(100% 60% at 0% 100%, rgba(255, 79, 154, 0.1), transparent 60%);
}

.shows-band {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gig-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gig {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.gig:first-child {
  border-top: 0;
  padding-top: 0;
}

.gig-head {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
}

.gig-date {
  color: var(--accent);
  margin-right: 10px;
}

.gig-event {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.gig-note {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.gig-empty {
  color: var(--muted);
}

/* Bandsintown widget overrides: match the GrooveAx list */
.bit-wrapper .bit-widget,
.bit-wrapper .bit-widget-container {
  background: transparent !important;
  font-family: var(--body) !important;
}

.bit-wrapper .bit-event {
  padding: 16px 0 !important;
  text-align: left !important;
  border-color: var(--line) !important;
}

.bit-wrapper .bit-event:first-child {
  padding-top: 0 !important;
}

.bit-wrapper .bit-event,
.bit-wrapper .bit-event * {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.bit-wrapper .bit-event > * {
  width: 100%;
}

.bit-wrapper .bit-date,
.bit-wrapper .bit-mobile-date {
  font-family: var(--display) !important;
  font-size: clamp(22px, 2.6vw, 28px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
  color: var(--accent) !important;
}

.bit-wrapper .bit-venue {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}

.bit-wrapper .bit-location-under-desktop,
.bit-wrapper .bit-location-under-mobile {
  font-size: 14px !important;
  color: var(--muted) !important;
}

.bit-wrapper .bit-button {
  min-height: 36px;
  margin-top: 10px !important;
  padding: 8px 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
}

.bit-wrapper .bit-button:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.bit-wrapper .bit-play-my-city-wrapper {
  display: none !important;
}

.bit-wrapper .bit-logo-link {
  opacity: 0.5;
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(177, 140, 255, 0.2), transparent 70%),
    var(--bg);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-bg,
  .hero-scroll span {
    animation: none;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .bio,
  .projects,
  .shows {
    grid-template-columns: minmax(0, 1fr);
  }

  .bio-photo {
    max-width: 420px;
    margin-right: 18px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-bg {
    background-position: 30% 40%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-scroll {
    display: none;
  }

  .bio-photo {
    max-width: none;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 16px;
  }

  .facts span {
    margin: 0;
    font-size: 24px;
    min-width: 48px;
  }
}
