/* ==========================================================================
   SAVE JULY
   Palette and type taken from the band's own gig posters:
   near-black stage, distressed bone-white lettering, teal slash accent,
   magenta/green stage-light highlights.
   ========================================================================== */

:root {
  --ink:        #0a0b0d;
  --ink-2:      #121417;
  --ink-3:      #1b1e23;
  --line:       rgba(236, 232, 225, 0.12);

  --bone:       #ece8e1;
  --bone-dim:   #9d9890;
  --bone-faint: #6b6862;

  --teal:       #2fa8bd;
  --teal-bright:#4fd0e6;
  --magenta:    #d6249f;

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* The browser's own `[hidden] { display: none }` loses to any author rule that
   sets display — e.g. `.show { display: grid }`. Without this, setting the
   hidden attribute silently does nothing. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------- type --- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.9rem;
}

/* The teal brush-stroke under section headings, lifted from the posters. */
.slash {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.slash::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(80px, 40%, 160px);
  height: 8px;
  background: var(--teal);
  transform: skewX(-22deg);
}

.lede {
  color: var(--bone-dim);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* ------------------------------------------------------------- layout --- */

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.section--alt {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

/* ------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

/* The logo art is white on solid black. `screen` blending makes those black
   pixels render as whatever sits behind them, so the artwork drops onto the
   dark background with no visible box and no need for cut-out PNGs. */
.logo-art {
  display: block;
  mix-blend-mode: screen;
}

.brand {
  display: block;
  line-height: 0;
}

.brand .logo-art {
  height: 2.15rem;
  width: auto;
  /* Crops the genre strip off the bottom; it's unreadable at header size. */
  aspect-ratio: 1600 / 360;
  object-fit: cover;
  object-position: top center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  font-family: var(--cond);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a {
  position: relative;
  font-family: var(--cond);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.18s ease;
}

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

.site-nav a[aria-current="page"] {
  color: var(--bone);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--teal);
  transform: skewX(-22deg);
}

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 2px solid transparent;
  /* Needed for <button class="btn">: browsers default buttons to a light grey
     fill, which made bone-coloured ghost-button text unreadable. Anchors are
     transparent already, which is why this only showed up on real buttons. */
  background: transparent;
  font-family: var(--cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--teal);
  color: var(--ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--teal-bright);
}

.btn--ghost {
  border-color: var(--bone);
  color: var(--bone);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--bone);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.link-arrow:hover {
  color: var(--bone);
}

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(88vh, 780px);
  padding-block: 5rem;
  text-align: center;
  overflow: hidden;
  /* Contains the logo's screen blend to the hero, so it mixes with the photo
     and gradient below it rather than punching through to the page. */
  isolation: isolate;
}

/* The photo and its darkening gradient live together in their own layer, so
   .hero__content can sit on top WITHOUT needing a z-index of its own. A
   z-index there would make it a stacking context and kill the logo blend. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(10, 11, 13, 0.45), rgba(10, 11, 13, 0.9) 70%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.7), rgba(10, 11, 13, 0.55) 40%, var(--ink));
}

.hero__content {
  position: relative;
}

.hero h1 {
  font-size: clamp(3.5rem, 15vw, 10rem);
  line-height: 0.82;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.8);
}

/* The hero wordmark replaces the type entirely — the art already carries
   the band name and the genre strip. */
.hero__logo {
  margin: 0 auto;
  max-width: min(100%, 860px);
}

.hero__logo .logo-art {
  width: 100%;
  height: auto;
}

.hero__tagline {
  margin-top: 1.25rem;
  font-family: var(--cond);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  /* Wide gaps between words, echoing the genre strip on the stage banner. */
  word-spacing: 0.75em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.hero__sub {
  margin-top: 1rem;
  color: var(--bone-dim);
  max-width: 46ch;
  margin-inline: auto;
}

.hero .btn-row {
  justify-content: center;
}

/* ---------------------------------------------------------- next show --- */

.next-show {
  background: var(--teal);
  color: var(--ink);
}

.next-show__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.4rem;
}

.next-show__label {
  font-family: var(--cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}

.next-show__detail {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.next-show__meta {
  font-family: var(--cond);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-show .btn--primary {
  background: var(--ink);
  color: var(--bone);
}

.next-show .btn--primary:hover {
  background: var(--ink-3);
}

/* -------------------------------------------------------------- cards --- */

.cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}

.card p {
  color: var(--bone-dim);
}

.card .link-arrow {
  margin-top: 1.25rem;
}

/* -------------------------------------------------------------- shows --- */

.show-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.show {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--ink);
}

.show--next {
  background: var(--ink-3);
  box-shadow: inset 4px 0 0 var(--teal);
}

.show--past {
  color: var(--bone-faint);
}

.show__date {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}

.show__month {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--teal-bright);
}

.show--past .show__month {
  color: var(--bone-faint);
}

.show__day {
  display: block;
  font-size: 2.75rem;
}

.show__year {
  display: block;
  font-family: var(--cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}

.show__venue {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.show__where {
  font-family: var(--cond);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.show__note {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--bone-dim);
}

.show__tag {
  font-family: var(--cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid currentColor;
  color: var(--teal-bright);
  white-space: nowrap;
}

.show--past .show__tag {
  color: var(--bone-faint);
}

.shows-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--bone-dim);
}

/* ------------------------------------------------------------ gallery --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--ink-2);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.9);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* Tall artwork shown whole rather than cropped square. Clicking still opens
   the lightbox, which is where it becomes readable. */
.gallery__item--poster {
  aspect-ratio: 3 / 4;
}

.gallery__item--poster img {
  object-fit: contain;
  background: var(--ink);
}

/* ----------------------------------------------------------- lightbox --- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 7, 8, 0.96);
}

.lightbox[open],
.lightbox.is-open {
  display: grid;
}

.lightbox__img {
  max-width: min(100%, 1100px);
  max-height: 82vh;
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 60ch;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  background: rgba(18, 20, 23, 0.8);
  color: var(--bone);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.lightbox__btn:hover {
  background: var(--teal);
  color: var(--ink);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ------------------------------------------------------------- videos --- */

.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 2rem;
}

.video figure {
  margin: 0;
}

.video video,
.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.video--portrait video {
  aspect-ratio: 9 / 16;
  max-height: 80vh;
}

/* A still frame standing in for the YouTube player. Nothing loads from
   YouTube until someone actually clicks — so no third-party script, no
   tracking, and the page stays fast. */
.video__play {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  cursor: pointer;
}

.video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video__play:hover img,
.video__play:focus-visible img {
  transform: scale(1.03);
}

.video__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  padding-left: 0.3rem;
  border: 2px solid var(--bone);
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.62);
  color: var(--bone);
  font-size: 1.4rem;
  transition: background 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, transform 0.2s ease;
}

.video__play:hover .video__icon,
.video__play:focus-visible .video__icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
  transform: scale(1.08);
}

.video h3 {
  margin-top: 1rem;
  font-size: 1.4rem;
}

.video p {
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------ members --- */

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

.member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  transition: filter 0.3s ease;
}

.member:hover img {
  filter: grayscale(0) contrast(1);
}

.member h3 {
  margin-top: 1rem;
  font-size: 1.35rem;
}

.member p {
  font-family: var(--cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

/* ------------------------------------------------------------ contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-family: var(--cond);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--bone);
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--bone-faint);
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail dt {
  font-family: var(--cond);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.contact-detail dd {
  font-size: 1.1rem;
  margin-left: 0;
}

.contact-detail a {
  color: var(--teal-bright);
}

/* ------------------------------------------------------------- footer --- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  color: var(--bone);
}

.footer-col h3 .logo-art {
  width: 100%;
  max-width: 230px;
  height: auto;
  margin-bottom: 0.25rem;
}

.footer-col p,
.footer-col a {
  display: block;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--teal-bright);
}

.footer-col nav a {
  margin-bottom: 0.5rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}

.social a:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--bone-faint);
}

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    padding-block: 1rem 1.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding-block: 0.6rem;
    font-size: 1.25rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .show {
    grid-template-columns: 5rem 1fr;
    gap: 1rem;
  }

  .show__tag {
    grid-column: 2;
    justify-self: start;
  }

  .show__day {
    font-size: 2rem;
  }

  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
