:root {
  color-scheme: dark;
  --ink: #080706;
  --ink-soft: #14100e;
  --paper: #f8f1e8;
  --muted: #c9beb4;
  --red: #e5392d;
  --red-dark: #8f1712;
  --teal: #14b7ad;
  --gold: #f0c85a;
  --coral: #ef7d52;
  --line: rgba(248, 241, 232, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Avenir Next, Avenir, Inter, Segoe UI, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 46px);
  background: rgba(8, 7, 6, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240, 200, 90, 0.55);
  background: var(--red);
  color: var(--paper);
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper);
}

.nav-patreon {
  color: var(--gold) !important;
  font-weight: 850;
}

.nav-patreon:hover,
.nav-patreon:focus-visible {
  color: #ffe18b !important;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.96) 0%, rgba(8, 7, 6, 0.78) 38%, rgba(8, 7, 6, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 7, 6, 0.9), rgba(8, 7, 6, 0.16));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  max-width: var(--max);
  min-height: 600px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  padding: 18px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-weight: 900;
}

h1 {
  max-width: 9ch;
  font-size: 64px;
}

h1 span {
  display: block;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 24px;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--red);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff493b;
}

.button-secondary {
  border-color: rgba(248, 241, 232, 0.34);
  background: rgba(248, 241, 232, 0.08);
  color: var(--paper);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
}

.button-support {
  border-color: rgba(240, 200, 90, 0.78);
  background: var(--gold);
  color: var(--ink);
}

.button-support:hover,
.button-support:focus-visible {
  background: #ffe18b;
}

.hero-portrait {
  align-self: end;
  min-height: 500px;
}

.hero-portrait img {
  width: min(360px, 38vw);
  margin-left: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55));
}

.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.intro-band {
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--paper);
  color: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.intro-grid p {
  max-width: 780px;
  margin: 0;
  font-size: 19px;
}

.inline-link {
  color: var(--red-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
}

.heading-split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  align-content: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 7, 6, 0.95) 0%, rgba(8, 7, 6, 0.46) 46%, rgba(8, 7, 6, 0.12) 100%);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-card-logo img {
  object-fit: contain;
  padding: 32px 32px 78px;
  background:
    radial-gradient(circle at 30% 20%, rgba(20, 183, 173, 0.18), transparent 34%),
    #050404;
}

.project-card-basura img {
  padding-top: 18px;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.04);
}

.project-card-rbt img {
  object-position: 50% 46%;
}

.project-card-yfm img {
  padding: 28px 28px 92px;
}

.project-label,
.project-card strong {
  position: relative;
  z-index: 1;
}

.project-label {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card strong {
  display: block;
  max-width: 13ch;
  margin-top: 8px;
  font-size: 36px;
  line-height: 1.02;
}

.gigs-section {
  background: #12100d;
}

.gig-list {
  display: grid;
  gap: 12px;
}

.gig-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: rgba(248, 241, 232, 0.05);
}

.gig-date {
  color: var(--gold);
  font-weight: 900;
}

.gig-band {
  display: block;
  font-weight: 900;
}

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

.ticket-link {
  border-color: rgba(20, 183, 173, 0.65);
  color: var(--paper);
}

.loading,
.fallback-note {
  color: var(--muted);
}

.media-section {
  background: var(--paper);
  color: var(--ink);
}

.media-section .eyebrow {
  color: var(--red-dark);
}

.media-section .section-heading p {
  color: #4f4540;
}

.media-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.video-card,
.empty-state {
  min-height: 250px;
  border-radius: 8px;
  border: 1px solid rgba(8, 7, 6, 0.16);
  background: #fffaf2;
}

.empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: #463a34;
  text-align: center;
}

.empty-state span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
}

.empty-state p {
  margin: 0;
}

.video-card {
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-card strong {
  display: block;
  padding: 14px;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(229, 57, 45, 0.16), transparent 36%),
    var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
}

.about-copy p {
  margin-top: 0;
  color: var(--muted);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.skill-list li {
  padding: 8px 10px;
  border: 1px solid rgba(240, 200, 90, 0.35);
  border-radius: 6px;
  background: rgba(240, 200, 90, 0.08);
  color: var(--paper);
  font-weight: 750;
}

.contact-section {
  background: #0d1412;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 40px;
}

.contact-copy p {
  max-width: 480px;
  color: var(--muted);
}

.email-link {
  color: var(--gold);
  font-weight: 850;
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 241, 232, 0.06);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 241, 232, 0.22);
  border-radius: 6px;
  background: rgba(8, 7, 6, 0.7);
  color: var(--paper);
  padding: 12px;
}

.contact-form textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.simple-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

.thank-you {
  max-width: 560px;
}

.thank-you p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .nav-links {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    max-width: 380px;
    justify-content: space-between;
    gap: 8px;
  }

  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .lede {
    font-size: 19px;
  }

  .hero-portrait {
    position: absolute;
    right: -52px;
    bottom: 0;
    z-index: 1;
    min-height: 0;
    opacity: 0.62;
  }

  .hero-portrait img {
    width: min(320px, 72vw);
    margin: 0 auto;
  }

  .intro-grid,
  .project-grid,
  .media-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .heading-split {
    display: block;
  }

  .project-card {
    min-height: 340px;
  }

  .gig-card {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    font-size: 15px;
  }

  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 430px;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    text-align: center;
  }

  .nav-links a:nth-child(5) {
    text-align: right;
  }

  .nav-links a {
    font-size: 13px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .section {
    padding: 54px 18px;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero-inner {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100vw;
  }

  .hero-copy {
    max-width: 340px;
    padding-bottom: 54px;
  }

  h1,
  .lede,
  .intro-grid p {
    max-width: 340px;
  }

  .hero-actions {
    width: 100%;
    max-width: 340px;
  }

  .hero-portrait {
    right: -28px;
    opacity: 0.46;
  }

  .hero-portrait img {
    width: min(270px, 68vw);
  }

  .inline-link {
    white-space: normal;
  }

  .intro-band {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .project-card strong {
    font-size: 30px;
  }
}
