:root {
  color-scheme: dark;
  --page: #0d0d0d;
  --panel: #212121;
  --white: #ffffff;
  --black: #000000;
  --paper: rgba(255, 255, 255, 0.8);
  --orange: #fd6732;
  --bandcamp-orange: #e99708;
}

@font-face {
  font-family: "Bitcrusher Crushed";
  font-style: normal;
  font-weight: 700;
  src: url("assets/bitcrusher-crushed-bold.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--page);
  color: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 1728px);
  margin: 0 auto;
  padding: 32px 0 160px;
}

.site-header {
  position: relative;
  display: grid;
  min-height: 304px;
  place-items: start center;
  padding: 0 clamp(20px, 4vw, 68px);
}

.corner-mark {
  position: absolute;
  left: clamp(22px, 2.25vw, 39px);
  top: 1px;
  display: block;
  width: clamp(58px, 5.2vw, 89px);
  aspect-ratio: 88.6 / 76.7;
}

.corner-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h1 {
  margin: 3px 0 0;
  font-family: "Bitcrusher Crushed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(4.6rem, 9.26vw, 10rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: clamp(0.34em, 4.9vw, 0.53em);
  text-indent: clamp(0.34em, 4.9vw, 0.53em);
  white-space: nowrap;
}

.wordmark-link {
  color: inherit;
  text-decoration: none;
}

.main-nav {
  display: flex;
  width: min(698px, 58vw);
  justify-content: space-between;
  margin-top: 18px;
  font-size: clamp(1rem, 1.85vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
  outline: none;
}

.about-shell {
  min-height: 100svh;
}

.about-intro {
  display: grid;
  grid-template-columns: 41.85% 53.3%;
  gap: 4.85%;
  align-items: start;
  width: min(1258px, 72.8vw);
  margin: clamp(32px, 2.5vw, 43px) auto 0;
}

.about-copy {
  color: var(--white);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: clamp(14px, 1.16vw, 20px);
  font-weight: 400;
  line-height: 1.211;
}

.about-copy p {
  margin: 0 0 24px;
}

.about-photo {
  margin: 0;
  aspect-ratio: 678.89 / 452.65;
  overflow: hidden;
  background: var(--panel);
  transform: rotate(0.14deg);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.press-section {
  width: min(1276px, 73.85vw);
  margin: clamp(74px, 5.9vw, 102px) auto 0;
}

.press-section h2 {
  margin: 0 0 43px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.211;
  text-transform: uppercase;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 4.05vw, 70px) clamp(48px, 4.4vw, 76px);
}

.press-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(224px, 17.74vw, 306px);
  margin: 0;
  padding: clamp(24px, 1.8vw, 31px) clamp(30px, 2.43vw, 42px) clamp(26px, 1.97vw, 34px);
  background: #1d1d1d;
}

.press-logo {
  display: block;
  width: auto;
  height: 37px;
  margin-bottom: 34px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.72;
}

.press-logo-kerrang {
  width: 210px;
  opacity: 1;
}

.press-logo-bbc {
  width: 202px;
  height: 47px;
  margin-bottom: 31px;
}

.press-logo-punktastic {
  width: 147px;
}

.press-logo-prog {
  width: 127px;
}

.press-grid blockquote {
  margin: 0;
  font-family: "DM Sans", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 1.54vw, 1.666rem);
  font-weight: 400;
  line-height: normal;
}

.press-grid figcaption {
  font-family: "DM Sans", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.16vw, 1.25rem);
  font-weight: 400;
  line-height: normal;
  margin-top: auto;
  padding-top: 24px;
}

.press-grid cite {
  font-style: italic;
}

.hero-photo {
  display: block;
  width: 100%;
  height: clamp(380px, 47.35vw, 818px);
  margin-top: 3px;
  overflow: hidden;
  background: var(--panel);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 161.85%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: translateY(-22.3%);
}

.content-grid {
  display: grid;
  grid-template-columns: 295px minmax(420px, 736px);
  gap: 56px;
  align-items: start;
  justify-content: center;
  margin-top: 94px;
  padding: 0 clamp(24px, 6vw, 120px);
}

.bandcamp-card {
  width: 295px;
  height: 393px;
  overflow: hidden;
}

.bandcamp-card iframe {
  display: block;
  width: 350px;
  height: 470px;
  border: 0;
  transform: scale(0.843);
  transform-origin: top left;
}

.right-rail {
  display: grid;
  height: 393px;
}

.show-block {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.show-block h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.show-card {
  display: flex;
  flex-direction: column;
  height: 349px;
  max-height: 349px;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  color: var(--black);
}

.show-preview {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.show-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.show-details {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 172px;
  align-items: center;
  flex: 0 0 auto;
  padding: 26px 33px 26px 18px;
}

.date-tile {
  display: grid;
  width: 82px;
  justify-items: center;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  line-height: 1;
  text-transform: uppercase;
}

.date-tile span {
  font-size: 11px;
  font-weight: 900;
}

.date-tile strong {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 4px 0;
  place-items: center;
  border: 5px solid var(--black);
  border-radius: 4px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.show-copy {
  min-width: 0;
  padding: 0 24px 0 28px;
}

.show-copy h3 {
  margin: 0 0 4px;
  font-size: clamp(1.15rem, 1.58vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.show-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.ticket-button {
  display: grid;
  min-height: 55px;
  place-items: center;
  border: 1px solid var(--black);
  border-radius: 14px;
  background: var(--orange);
  color: var(--black);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.ticket-button:hover,
.ticket-button:focus-visible {
  background: var(--black);
  color: var(--orange);
  outline: none;
}

.social-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px 6px;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
  color: var(--orange);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-btn span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.shows-shell {
  width: min(860px, calc(100% - 48px));
  margin: clamp(48px, 5vw, 80px) auto 0;
}

.media-shell {
  padding: 0 clamp(24px, 6vw, 120px);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}

.bento-item {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.bento-item img,
.bento-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border: 0;
}

.bento-item img {
  transition: transform 0.4s ease;
}

.bento-item:hover img {
  transform: scale(1.04);
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-video iframe {
  object-fit: unset;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 230px;
  }

  .main-nav {
    width: min(620px, 78vw);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 64px;
  }

  .right-rail {
    height: auto;
    width: min(736px, 100%);
  }

  .about-intro {
    grid-template-columns: 1fr;
    width: min(736px, calc(100% - 48px));
    margin-top: 43px;
  }

  .press-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 52px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-top: 20px;
  }

  .site-header {
    min-height: 185px;
    padding: 0 16px;
  }

  .corner-mark {
    width: 48px;
  }

  h1 {
    margin-top: 38px;
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  .main-nav {
    width: 100%;
    margin-top: 14px;
    gap: 20px;
    justify-content: center;
    font-size: 1rem;
  }

  .hero-photo {
    height: 55vw;
    min-height: 260px;
  }

  .hero-photo img {
    height: 130%;
    transform: translateY(-12%);
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 60vw;
  }

  .bento-wide,
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .content-grid {
    gap: 34px;
    margin-top: 42px;
    padding: 0 18px;
  }

  .show-card {
    min-height: 420px;
  }

  .show-details {
    grid-template-columns: 66px 1fr;
    gap: 18px;
    padding: 20px;
  }

  .date-tile {
    width: 66px;
  }

  .show-copy {
    padding: 0;
  }

  .ticket-button {
    grid-column: 1 / -1;
  }

  .about-intro {
    width: calc(100% - 36px);
    margin: 18px auto 0;
    gap: 28px;
  }

  .about-copy {
    font-size: 1rem;
  }

  .about-photo {
    min-height: 240px;
  }

  .press-section {
    width: calc(100% - 36px);
    margin-top: 70px;
  }

  .press-section h2 {
    margin-bottom: 32px;
  }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .press-card {
    min-height: 220px;
    padding: 30px 26px 26px;
  }

  .press-logo {
    max-width: 66%;
    margin-bottom: 28px;
  }

  .press-grid blockquote,
  .press-grid figcaption {
    font-size: 1rem;
  }
}
