/* ============================================================
   VAPORGLUE — rock psichedelico
   colorway 08 (nero su avorio) · display: Climate Crisis
   body: Bricolage Grotesque · mono: Spline Sans Mono
   ============================================================ */

:root {
  --font-melt: "Climate Crisis", sans-serif;
  --font-body: "Bricolage Grotesque", sans-serif;
  --font-mono: "Spline Sans Mono", monospace;
  --acid: #C5FD61;
  --acid-ink: #111111;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* colorway 08 — nero su avorio, sampled from the print files */
  --paper: #F2EFE5;
  --ink: #111111;
  --on-ink: #F2EFE5; /* text color used on ink-colored backgrounds */
  --edge: clamp(1.25rem, 5vw, 4.5rem); /* one horizontal rhythm everywhere */
  --split-gap: clamp(2rem, 5vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Climate Crisis: lock the YEAR axis to 1979 — the fat "full ice" cut that
   matches the warped logo lettering (the default renders half-melted) */
.nav__brand, .hero__title, .section__title,
.release__meta h3, .date__where, .booking__title, .about__lede, .member__name,
.mobilemenu a, .footer__word {
  font-variation-settings: "YEAR" 1979;
}

html { scroll-behavior: smooth; }

/* fixed nav must not cover anchored sections */
[id] { scroll-margin-top: 4.5rem; }

body {
  font-family: var(--font-body);
  font-variation-settings: "wdth" 87;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--on-ink); }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--invert :focus-visible,
.footer :focus-visible,
.mobilemenu :focus-visible,
body.menu-open .nav :focus-visible { outline-color: var(--on-ink); }
.scan :focus-visible { outline-color: var(--acid-ink); }

.defs { position: absolute; }

/* film grain — the print texture over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* one container everywhere: full width inside the section's --edge padding */
.wrap { width: 100%; }

/* every split sits on the same pair of column lines */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--split-gap);
  align-items: start;
}

/* skip link — visible only on focus */
.skiplink {
  position: fixed; top: .75rem; left: .75rem;
  z-index: 200;
  background: var(--ink); color: var(--on-ink);
  font-family: var(--font-mono);
  font-size: .8rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-200%);
}
.skiplink:focus { transform: none; outline-color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .5rem var(--edge);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.nav__brand {
  font-family: var(--font-melt);
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-decoration: none;
  display: flex; align-items: center; gap: .75rem;
  min-height: 44px;
}
.nav__logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: block;
}
.nav__links { display: flex; gap: clamp(.75rem, 2.5vw, 1.75rem); }
.nav__links a {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  display: inline-flex; align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.nav__links a:hover { border-bottom-color: var(--ink); }

/* burger (mobile only) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  padding: 0 10px;
  transition: background-color .2s;
}
.nav__burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform .25s var(--ease), background-color .2s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile menu overlay */
.mobilemenu {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  padding: 5rem clamp(1.5rem, 8vw, 3rem) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobilemenu.is-open { opacity: 1; visibility: visible; }
.mobilemenu a {
  font-family: var(--font-melt);
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  line-height: 1.15;
  color: var(--on-ink);
  text-decoration: none;
  padding: .25rem 0;
}
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: transparent; border-bottom-color: transparent; }
body.menu-open .nav__brand { color: var(--on-ink); }
body.menu-open .nav__burger { border-color: var(--on-ink); }
body.menu-open .nav__burger span { background: var(--on-ink); }

/* ============ LOGO (spin clipped inside a circle, so the rotating
   square image never widens the page) ============ */
.logo-stack {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.logo-stack img {
  display: block;
  width: 100%; height: 100%;
}
.spin img { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem var(--edge) 2.5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas:
    "kicker kicker"
    "title  title"
    "copy   disc";
  gap: 0 var(--split-gap);
  align-items: center;
}
.hero__kicker { grid-area: kicker; animation: rise .7s var(--ease) both; }
.hero__title  { grid-area: title;  animation: rise .7s var(--ease) .08s both; }
.hero__copy   { grid-area: copy;   animation: rise .7s var(--ease) .16s both; }
.hero__disc   { grid-area: disc;   animation: rise .7s var(--ease) .24s both; width: 100%; max-width: 420px; justify-self: end; margin-top: 1.5rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero__kicker {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 1.25rem;
}
/* the poster line: VAPORGLUE wall to wall */
.hero__title {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(3rem, 10.2vw, 9.2rem);
  line-height: .92;
  letter-spacing: .01em;
}
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 44ch;
}
.hero__cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  padding: .7rem 0;
  background: var(--ink);
  color: var(--on-ink);
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee__track {
  display: flex; white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--font-melt);
  font-variation-settings: "YEAR" 1979;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ BUTTONS — one pair, one size ============ */
.btn {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
  background: transparent;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--on-ink); transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 5px 0 0 var(--ink); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--solid { background: var(--ink); color: var(--on-ink); }

/* ============ SECTIONS ============ */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 4.5rem) var(--edge);
}
.section--invert { background: var(--ink); color: var(--on-ink); }
.section--invert ::selection { background: var(--on-ink); color: var(--ink); }
.section--invert .btn { border-color: var(--on-ink); color: var(--on-ink); }
.section--invert .btn:hover { background: var(--on-ink); color: var(--ink); box-shadow: 0 4px 0 0 var(--on-ink); }

.section__head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section__num {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .18em;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(2.5rem, 8.5vw, 7.2rem);
  line-height: .92;
  letter-spacing: .01em;
}
.wobble:hover { filter: url(#liquid); }
.section__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  margin-top: .75rem;
  max-width: 34ch;
}

/* ============ RELEASES ============ */
.releases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.release {
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* sticker sheet: each card sits slightly askew, straightens on hover */
.release:nth-child(1) { transform: rotate(-1.2deg); }
.release:nth-child(2) { transform: rotate(.8deg); }
.release:nth-child(3) { transform: rotate(-.6deg); }
.release:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 8px 10px 0 0 var(--ink); }
.release__art { border-bottom: 2.5px solid var(--ink); overflow: hidden; }
.release__art img { display: block; width: 100%; transition: transform .4s var(--ease); }
.release:hover .release__art img { transform: scale(1.03); }
.release__meta { padding: 1rem 1.25rem 1.25rem; }
.release__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
}
.release__meta h3 {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: .5rem 0 .25rem;
}
.release__links { display: flex; gap: 1rem; flex-wrap: wrap; }
.release__links a {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: opacity .2s;
}
.release__links a:hover { opacity: .55; }
.release__soon {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .75;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ============ CONCERTI ============ */
.live__art img {
  display: block;
  width: 100%;
  border-radius: 20px;
}
.dates { list-style: none; }
.date {
  display: grid;
  grid-template-columns: minmax(70px, auto) 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.date__when { font-family: var(--font-mono); font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.date__where { font-weight: 400; font-size: clamp(1rem, 2vw, 1.3rem); }
.date__where em { font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: .68em; opacity: .85; }

/* ============ BOOKING ============ */
.booking { margin-top: 2rem; max-width: 620px; }
.booking__title {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin-bottom: .75rem;
}
.booking__list { list-style: none; margin-bottom: 1.25rem; }
.booking__list li {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1.5px dashed currentColor;
}
.booking__name { font-weight: 700; font-size: 1.02rem; }
.booking__role { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.booking__tel { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; }

/* ============ LO STICKER QR ============ */
.scan {
  background: var(--acid);
  color: var(--acid-ink);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 4.5rem) var(--edge);
}
.scan ::selection { background: var(--acid-ink); color: var(--acid); }
.scan__head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.scan__grid { align-items: center; }
.scan__copy p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  max-width: 42ch;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.scan .btn { border-color: var(--acid-ink); color: var(--acid-ink); }
.scan .btn:hover { background: var(--acid-ink); color: var(--acid); box-shadow: 0 4px 0 0 var(--acid-ink); }
.scan__qr img {
  display: block; width: 100%; max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 12px 14px 0 0 var(--acid-ink);
  transform: rotate(2deg);
  transition: transform .3s var(--ease);
}
.scan__qr img:hover { transform: rotate(0deg) translateY(-4px); }

/* ============ LA BAND — colorway 01, rosa su verde ============ */
#band {
  background: #4AA35B;
  --ink: #EA5098;        /* display elements in official pink */
  --on-ink: #0E2A15;
  color: #0E2A15;        /* body text in deep green for readability */
}
#band ::selection { background: #EA5098; color: #4AA35B; }
#band .section__title, #band .member__name { color: #EA5098; }
#band .about__lede { color: #0E2A15; }
#band .btn { border-color: #0E2A15; color: #0E2A15; }
#band .btn:hover { background: #0E2A15; color: #4AA35B; box-shadow: 0 5px 0 0 #0E2A15; }
#band .btn--solid { background: #0E2A15; color: #4AA35B; }
#band .member { border-top-color: #EA5098; }
#band .band__frog img { border-color: #0E2A15; }
.band { align-items: center; }
.about { max-width: 58ch; }
.about__lede {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.about p:not(.about__lede):not(.band__cta) {
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.band__cta { margin-top: 1.5rem; }
.band__frog {
  justify-self: center;
}
.band__frog img {
  display: block;
  width: min(100%, 340px);
  border-radius: 50%;
  border: 2.5px solid var(--ink);
}
.members {
  list-style: none;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.member {
  border-top: 2.5px solid var(--ink);
  padding-top: 1rem;
  transition: transform .3s var(--ease);
}
.member:hover { transform: translateY(-3px); }
.member__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; opacity: .75; }
.member__name {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  margin: .5rem 0 .25rem;
  line-height: 1.1;
}
.member__role { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }

/* ============ FOOTER (closing, one screen, dark) ============ */
.footer {
  background: var(--ink);
  color: var(--on-ink);
  min-height: 100svh;
  display: flex;
  padding: clamp(3rem, 6vw, 4.5rem) var(--edge) 1.5rem;
}
.footer ::selection { background: var(--on-ink); color: var(--ink); }
.footer .wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.footer__word {
  font-family: var(--font-melt);
  font-weight: 400;
  font-size: clamp(2rem, 6.5vw, 5.5rem);
  line-height: .98;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1rem;
  opacity: .75;
}
.footer__cols a:not(.btn) {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  padding: .5rem 0;
  width: fit-content;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.footer__cols a:not(.btn):hover { border-bottom-color: var(--on-ink); }
.footer .btn { border-color: var(--on-ink); color: var(--on-ink); margin-top: .5rem; }
.footer .btn:hover { background: var(--on-ink); color: var(--ink); box-shadow: 0 4px 0 0 var(--on-ink); }
.footer__note {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 28ch;
  margin-bottom: .25rem;
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  opacity: .7;
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 6rem; padding-bottom: 2.5rem; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "disc" "kicker" "title" "copy";
    align-items: start;
    gap: 0;
  }
  .hero__disc { justify-self: center; max-width: min(58vw, 300px); margin: 0 0 1.5rem; }
  /* Climate Crisis runs ~9x its font-size for VAPORGLUE: 9.5vw keeps it inside the edges */
  .hero__title { font-size: clamp(1.8rem, 9.5vw, 4rem); }
  .hero__sub { font-size: 1rem; }
  .live__art { order: -1; }
  .live__art img { max-width: min(62vw, 320px); }
  .scan__qr img { max-width: min(78vw, 380px); }
  .band__frog { order: -1; }
  .band__frog img { width: min(50vw, 260px); }
  .date { grid-template-columns: 1fr; row-gap: .5rem; }
  .booking__list li { grid-template-columns: 1fr auto; }
  .booking__role { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 480px) {
  .release__meta { padding: 1rem 1.25rem 1.25rem; }
  /* shorter art crop so the three stacked cards stay within two screens */
  .release__art { aspect-ratio: 4 / 3; }
  .release__art img { height: 100%; object-fit: cover; }
  .nav__brand { font-size: .9rem; gap: .5rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none !important; }
  .spin img, .marquee__track { animation: none !important; }
  .hero__kicker, .hero__title, .hero__copy, .hero__disc { animation: none !important; }
  * { transition-duration: .01s !important; }
}
