:root {
  --ink: #171311;
  --cream: #fff2d9;
  --orange: #ff8b38;
  --gold: #ffd061;
  --muted: #d7bfaa;
  --rule: #b3977c;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 7.5rem; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.6 var(--body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .9; }
h2 { font-size: clamp(3.4rem, 8vw, 8rem); text-transform: uppercase; letter-spacing: -.02em; }
h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); }

.top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding: .55rem var(--gutter);
  border-bottom: 1px solid #4b3c33;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; }
.top .brand img { width: 60px; height: 60px; }
.brand span { font: 800 1.65rem/1 var(--display); text-transform: uppercase; }
.nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(.75rem, 2.5vw, 2rem); }
.nav a { font-weight: 700; font-size: .9rem; text-decoration: none; }
.nav a:hover, footer a:hover { color: var(--gold); }
.nav .merch { border: 1px solid var(--gold); color: var(--gold); padding: .36rem .85rem; border-radius: 999px; }
.nav .merch:hover { background: var(--gold); color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  max-width: 1720px;
  margin: auto;
  min-height: 590px;
  border-inline: 1px solid var(--ink);
}
.hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(2rem, 5vw, 5rem) var(--gutter); }
.hero-kicker { font-weight: 800; font-size: .875rem; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 {
  margin: .08em 0 .13em;
  font-size: clamp(6rem, 13.2vw, 14.75rem);
  letter-spacing: -.035em;
  line-height: .76;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: #aa3518; }
.hero-copy { max-width: 26ch; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.25; }
.actions { gap: .65rem; margin-top: 1.55rem; }
.button, button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5em;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  padding: .76rem 1.05rem;
  font: 700 .95rem/1.3 var(--body);
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--ink); }
.button:hover, button:hover { background: var(--gold); color: var(--ink); }

.wrap { max-width: 1520px; margin: auto; padding: clamp(3.5rem, 7vw, 7.5rem) var(--gutter); }
#video { background: var(--ink); color: var(--cream); }
.video-grid, .gallery, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 3vw, 3rem); }
.video-grid { margin-top: 2.2rem; }
.video-grid article { display: flex; flex-direction: column; border-bottom: 1px solid #645247; padding-bottom: 1.2rem; }
.intro { max-width: 54ch; margin-top: 1.5rem; font-size: 1.125rem; }
.intro strong { display: inline-block; font: 800 clamp(1.75rem, 4vw, 3.5rem)/1.05 var(--display); color: #aa3518; margin-bottom: .65rem; }
.gallery { margin: 2rem 0 3.25rem; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.formation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.formation img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: .6rem; }
.formation strong { display: inline-block; font-size: 1.05rem; }
#songs { background: var(--gold); border-block: 1px solid var(--ink); }
.setlist { columns: 2; column-gap: 3rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.setlist li { break-inside: avoid; border-top: 1px solid #886226; padding: .75rem 0; }
#contacte { scroll-margin-top: 0; background: var(--orange); }
.contact-grid { align-items: start; margin-top: 2rem; }
.links, .social { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.links { flex-direction: column; font-size: clamp(1.05rem, 2.5vw, 1.55rem); font-weight: 700; overflow-wrap: anywhere; }
.social { margin-top: 1.35rem; }
.contact-form { display: grid; gap: .85rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .25rem; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: .65rem; background: var(--cream); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font: inherit; }
.contact-form p { font-size: .9rem; }
.contact-form button { justify-self: start; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); background: var(--ink); color: var(--cream); }

@media (max-width: 1100px) {
  .hero { min-height: 500px; }
  .hero h1 { font-size: clamp(5rem, 13vw, 11rem); }
}
@media (max-width: 760px) {
  .top { justify-content: center; }
  .top .brand img { width: 47px; height: 47px; }
  .nav { justify-content: center; }
  .nav a { padding-block: .35rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: clamp(3.55rem, 14.5vw, 7.9rem); margin: .16em 0 .18em; }
  .hero h1 span { display: inline; }
  .hero-inner { padding-block: 2rem; }
  .video-grid, .contact-grid { grid-template-columns: 1fr; }
  .formation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setlist { columns: 1; }
}
@media (max-width: 400px) {
  .top { padding-inline: .55rem; }
  .nav { gap: .3rem .6rem; }
  .nav a { font-size: .875rem; }
  .gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


@media (min-width: 761px) and (max-width: 1110px) {
  .hero h1 { font-size: clamp(4.8rem, 11.5vw, 8.5rem); }
}
@media (max-width: 400px) {
  .top { flex-direction: column; }
  #contacte h2 { font-size: clamp(2.65rem, 12vw, 3.4rem); }
}
/* Full-bleed live footage and oversized type set the rhythm of the home page. */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  position: relative;
  isolation: isolate;
  max-width: none;
  border: 0;
  min-height: clamp(650px, 87svh, 1000px);
  background: #1e1513;
  color: var(--cream);
}
.hero-stage, .hero-stage::after, .hero-film { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage { z-index: -1; overflow: hidden; background: #171311 url("../img/bad-cover-2026/banda-directe.jpg") 55% 48% / cover no-repeat; }
.hero-film { object-fit: cover; object-position: 55% 48%; }
.hero-stage::after {
  content: "";
  background: linear-gradient(90deg, #160e0bd9 0%, #160e0b50 54%, transparent 82%), linear-gradient(0deg, #160e0be8, transparent 50%);
}
.hero-inner { padding: 4rem var(--gutter) 6rem; }
.hero-kicker { color: var(--gold); }
.hero h1 { font-size: clamp(6rem, 16vw, 19rem); line-height: .73; margin: .13em 0 .18em; }
.hero h1 span:last-child { color: var(--orange); }
.hero .button:not(.secondary) { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero .button.secondary { color: var(--cream); border-color: var(--cream); background: #17131188; }
.hero .button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-meta {
  position: absolute;
  inset: auto var(--gutter) 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}
.hero-meta button { padding: .45rem .8rem; border-color: var(--cream); }
.groove-strip { overflow: hidden; background: var(--orange); border-block: 1px solid var(--ink); }
.groove-track { display: flex; width: max-content; font: 800 clamp(2.1rem, 5vw, 4.5rem)/1 var(--display); text-transform: uppercase; padding-block: .28em; }
.motion-enabled .groove-track { animation: groove 22s linear infinite; }
@keyframes groove { to { transform: translateX(-50%); } }

#video h2 { color: var(--orange); }
.gallery figure { overflow: hidden; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery img { transition: transform .45s ease; }
  .gallery figure:hover img { transform: scale(1.06); }
}
@media (max-width: 760px) {
  .hero { min-height: clamp(530px, 78svh, 720px); }
  .hero-inner { padding-block: 2rem 5.25rem; }
  .hero h1 { font-size: clamp(4.6rem, 19vw, 9rem); }
  .hero h1 span { display: block; }
  .hero-stage, .hero-film { background-position: 56% center; object-position: 56% center; }
  .hero-stage::after { background: linear-gradient(0deg, #160e0bf2 3%, #160e0b73 69%, #160e0b22); }
}
@media (prefers-reduced-motion: reduce) { .groove-track { animation: none !important; } }


/* An abstract record sleeve frames the live footage. */
.hero { overflow: hidden; background: #15100f; }
.hero-stage { inset: 0 0 0 24%; width: 76%; }
.hero-stage::after { background: linear-gradient(90deg, #15100f, #15100f24 58%), linear-gradient(0deg, #15100f, transparent 54%); }
.hero-inner { z-index: 1; }
.hero h1 span:last-child { color: var(--cream); }
.hero h1 span:first-child { color: var(--orange); }
.hero-meta { z-index: 2; }
.vinyl-motion {
  position: absolute;
  top: 49%;
  right: -13%;
  width: clamp(32rem, 73vw, 88rem);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-23deg) scaleX(.79);
  border-radius: 50%;
  opacity: .68;
  pointer-events: none;
}
.vinyl-motion span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle, transparent 0 13%, #ff8b38b0 13.1% 13.25%, transparent 13.35% 24%, #ff8b3888 24.1% 24.25%, transparent 24.35%),
    repeating-radial-gradient(circle, transparent 0 18px, #ff8b3875 19px 20px, transparent 21px 32px);
  mask-image: conic-gradient(transparent 0%, #000 18%, #000 46%, transparent 67%, #000 86%, transparent);
}
.motion-enabled .vinyl-motion span { animation: vinyl-turn 24s linear infinite; }
@keyframes vinyl-turn { to { transform: rotate(1turn); } }

@media (max-width: 760px) {
  .hero-stage { inset: 0; width: 100%; }
  .hero-stage::after { background: linear-gradient(0deg, #15100f 6%, #15100f83 57%, #15100f31); }
  .vinyl-motion { right: -47%; top: 30%; opacity: .46; }
}
@media (prefers-reduced-motion: reduce) { .motion-enabled .vinyl-motion span { animation: none; } }

.skip-link { position: fixed; top: .7rem; left: var(--gutter); z-index: 8; transform: translateY(-200%); padding: .6rem 1rem; background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: none; }
.stage-cut { height: .65rem; background: linear-gradient(105deg, var(--orange) 0 52%, var(--gold) 52% 75%, var(--cream) 75%); }
.section-label { margin-bottom: .75rem; text-transform: uppercase; font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
#video h2 { max-width: 11ch; }
.setlist { columns: auto; max-width: 68rem; counter-reset: track; }
.setlist li { counter-increment: track; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; gap: .65rem; }
.setlist li::before { content: counter(track, decimal-leading-zero); font: 800 1.5rem/1 var(--display); }
.setlist small { display: block; font-size: .875rem; }
.booking-copy { max-width: 35ch; font-size: clamp(1.15rem, 2.4vw, 1.55rem); margin-bottom: 1.3rem; }


.video-grid h3 { margin-bottom: .75rem; }
.video-grid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #171311; object-fit: contain; }
@media (min-width: 1000px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.setlist strong a { display: inline-block; padding-block: .2rem; text-underline-offset: .2em; }
.setlist strong a:hover { color: #7b2c15; }


.social a { display: inline-flex; align-items: center; gap: .45rem; }
.social svg { flex: none; }


.menu-toggle { display: none; }
@media (max-width: 760px) {
  .top:has(.menu-toggle:not([hidden])) { justify-content: space-between; flex-direction: row; }
  .menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: var(--gold);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
  }
  .menu-toggle:not([hidden]) + .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--gutter);
    width: min(15rem, calc(100vw - 2 * var(--gutter)));
    padding: .5rem;
    border: 1px solid var(--gold);
    background: #171311;
    color: #fff3dc;
  }
  .menu-toggle[aria-expanded="true"] + .nav { display: grid; gap: .15rem; }
  .menu-toggle + .nav a { display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem; }
}

