/* The Nothing — landing page
 * Page-specific styles, built strictly on design-system tokens.
 * No new colors, no rounding, no soft shadows beyond what the tokens define. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-y { padding-block: var(--section-y); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--riso-red); color: var(--paper-pure);
  padding: var(--space-3) var(--space-5); font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: var(--ls-label); text-decoration: none;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--gutter);
  border-bottom: var(--border-hair) solid var(--ink-600);
  transition: border-color var(--dur) var(--ease-snap);
}
/* Backdrop blur lives on a ::before, not on .site-header itself — a
   filter/backdrop-filter on the header would make it the containing
   block for its position:fixed mobile-nav descendant instead of the
   viewport, collapsing that overlay to the header's own height. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease-snap);
}
.site-header.is-solid::before { background: var(--ink-900); }

.brand-lockup { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand-lockup__mark {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: var(--border-hair) solid var(--ink-600);
  object-fit: cover; filter: grayscale(1) contrast(1.2);
}
@media (prefers-reduced-motion: no-preference) {
  .brand-lockup:hover .brand-lockup__mark { animation: nothing-spin 3.5s linear infinite; }
}
.brand-lockup__word {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 1.35rem; line-height: 1; color: var(--text);
}

.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__list { list-style: none; display: flex; gap: var(--space-5); margin: 0; padding: 0; }
.site-nav__list a {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: var(--ls-label); text-transform: uppercase; text-decoration: none;
  color: var(--text-dim); padding-bottom: 2px; border-bottom: var(--border-hair) solid transparent;
  transition: color var(--dur) var(--ease-snap), border-color var(--dur) var(--ease-snap);
}
.site-nav__list a:hover { color: var(--text); border-color: var(--riso-red); }

.nav-toggle {
  position: relative; z-index: 95;
  display: none; background: transparent; border: var(--border-hair) solid var(--line);
  color: var(--text); width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-nav__list { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open .site-nav__list {
    display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-4);
    position: fixed; inset-inline-end: 0; inset-block-start: 0; inset-block-end: 0;
    background: var(--ink-900); padding: var(--space-9) var(--space-6) var(--space-6);
    border-inline-start: var(--border) solid var(--paper-900); z-index: 90; min-width: 220px;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; isolation: isolate; color: var(--paper-900);
  padding-block-start: calc(var(--space-9) + 3rem);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink-900);
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink-900) 5%, rgba(10,10,10,0.35) 45%, rgba(10,10,10,0.15) 70%),
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.05) 30%);
}
.hero__inner { padding: 0 var(--gutter) var(--space-9); position: relative; }
.hero__title {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--ls-poster);
  margin: 0;
}
.hero__tagline {
  font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: var(--ls-label);
  text-transform: lowercase; color: var(--paper-800); margin: var(--space-4) 0 var(--space-7);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---------- Section headers ---------- */
.section-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-7); }
.section-head__title { margin: 0; }

/* ---------- Bio ---------- */
.bio { }
.bio__lead {
  font-family: var(--font-sans); font-size: var(--fs-body-lg); line-height: 1.55;
  max-width: var(--container-narrow);
}
.bio__lead p { margin: 0 0 var(--space-5); }
.bio__lead p:last-child { margin-bottom: 0; }
.bio__lead strong { font-weight: var(--w-black); }

/* ---------- Lineup ---------- */
.lineup-list {
  list-style: none; margin: 0; padding: 0;
  border-top: var(--border-hair) solid var(--line);
}
.lineup-item {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5);
  border-bottom: var(--border-hair) solid var(--line);
}
.lineup-item__name {
  font-family: var(--font-sans); font-weight: var(--w-black); font-size: var(--fs-h3);
  letter-spacing: var(--ls-tight); line-height: 1.1;
}
.lineup-item__role {
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-dim);
  letter-spacing: 0.04em; text-transform: uppercase; text-align: right;
}

/* ---------- Listen / Bandcamp ---------- */
.listen { }
.listen__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .listen__grid { grid-template-columns: 1fr; } }
.listen__copy { display: flex; flex-direction: column; gap: var(--space-5); }
.listen__title { margin: 0; }
.listen__links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.bandcamp-frame {
  border: var(--border) solid var(--line-strong); box-shadow: var(--shadow-hard);
  background: var(--paper-pure); padding: var(--space-2);
}
.bandcamp-frame iframe { width: 100%; height: 470px; border: 0; display: block; }

/* ---------- Live photo band ---------- */
.live-band { position: relative; isolation: isolate; min-height: 62vh; display: flex; align-items: flex-end; }
.live-band__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.live-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.live-band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--ink-900) 10%, rgba(10,10,10,0.2) 55%, rgba(10,10,10,0.35) 100%);
}
.live-band__inner { padding: var(--space-8) var(--gutter); display: flex; flex-direction: column; gap: var(--space-4); }
.live-band__title { color: var(--paper-900); margin: 0; max-width: 20ch; }

/* ---------- Pro / rider ---------- */
.pro-panel {
  border: var(--border) solid var(--line-strong); background: var(--surface);
  box-shadow: var(--shadow-hard); padding: var(--space-7);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-7);
}
@media (max-width: 820px) { .pro-panel { grid-template-columns: 1fr; } }
.pro-panel__body { font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.7; color: var(--text-dim); }
.pro-panel__body p { margin: 0 0 var(--space-4); }
.pro-panel__facts { display: flex; flex-direction: column; gap: var(--space-4); border-inline-start: var(--border) solid var(--line); padding-inline-start: var(--space-6); }
@media (max-width: 820px) { .pro-panel__facts { border-inline-start: 0; border-block-start: var(--border) solid var(--line); padding-inline-start: 0; padding-block-start: var(--space-6); } }
.pro-fact dt { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-faint); }
.pro-fact dd { margin: 0.2em 0 0; font-family: var(--font-sans); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-form__row { display: flex; gap: var(--space-4); }
@media (max-width: 520px) { .contact-form__row { flex-direction: column; } }
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info__block { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-info__label {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-micro);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-faint);
}
.contact-info__value { font-size: var(--fs-h4); font-weight: 700; text-decoration: none; }
.contact-info__value:hover { color: var(--riso-red); }
.form-note { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- Footer ---------- */
.site-footer { border-block-start: var(--border) solid var(--line-strong); }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-5); padding-block: var(--space-7);
}
.site-footer__mark { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.site-footer__mark img { width: 2.25rem; height: 2.25rem; border-radius: 50%; filter: grayscale(1); }
.site-footer__copy { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }
.site-footer__social { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.site-footer__social a {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: var(--ls-label); text-transform: uppercase; text-decoration: none; color: var(--text-dim);
}
.site-footer__social a:hover { color: var(--riso-red); }

/* ---------- Reveal-on-scroll (subtle, snappy, no float/bounce) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-snap), transform var(--dur-slow) var(--ease-snap); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; inset-inline-end: var(--space-5); inset-block-end: var(--space-5); z-index: 80;
  width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center;
  background: var(--ink-900); color: var(--paper-900); border: var(--border-hair) solid var(--paper-900);
  text-decoration: none; opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease-snap), transform var(--dur-fast) var(--ease-snap);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:active { transform: translate(2px, 2px); }
