/* =========================================================
   COMEDIA DYSTOPIA
   Official Website Stylesheet
   ========================================================= */


/* =========================================================
   COLOR VARIABLES
   ========================================================= */

:root {
  --black: #080808;
  --ink: #111111;
  --paper: #f1efe8;
  --white: #ffffff;
  --red: #e4382f;
  --acid: #d8ff38;
  --line: rgba(255, 255, 255, 0.25);
  --max: 1380px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--black);
  background: var(--acid);
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;

  min-height: 90px;

  padding:
    18px
    clamp(18px, 4vw, 58px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--white);

  mix-blend-mode: difference;
}


/* =========================================================
   WORDMARK
   ========================================================= */

.wordmark,
.footer-wordmark {
  display: inline-flex;
  flex-direction: column;

  font-family: "Archivo Black", Impact, sans-serif;

  font-size:
    clamp(
      0.9rem,
      1.2vw,
      1.25rem
    );

  line-height: 0.83;

  letter-spacing: -0.06em;

  text-decoration: none;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  display: flex;
  align-items: center;

  gap:
    clamp(
      18px,
      2.4vw,
      42px
    );

  font-weight: 800;

  text-transform: lowercase;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 100%;
  height: 2px;

  background: currentColor;

  transform: scaleX(0);

  transform-origin: right;

  transition:
    transform
    0.2s
    ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);

  transform-origin: left;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 0;

  color: inherit;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;

  width: 30px;
  height: 3px;

  margin: 6px auto;

  background: currentColor;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100svh;

  position: relative;

  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;

  align-items: end;

  color: var(--white);

  background: var(--black);

  overflow: hidden;
}

.hero-art {
  position: absolute;

  inset: 0;

  background:

    radial-gradient(
      circle at 24% 32%,
      rgba(228, 56, 47, 0.95) 0 7%,
      transparent 8%
    ),

    radial-gradient(
      circle at 78% 21%,
      rgba(216, 255, 56, 0.88) 0 5%,
      transparent 6%
    ),

    linear-gradient(
      120deg,
      transparent 0 46%,
      rgba(255, 255, 255, 0.12) 46% 47%,
      transparent 47% 100%
    ),

    linear-gradient(
      25deg,
      #070707 0 54%,
      #171717 54% 100%
    );
}


/* =========================================================
   HERO NOISE
   ========================================================= */

.noise {
  position: absolute;

  inset: 0;

  opacity: 0.35;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

  mix-blend-mode: screen;
}


/* =========================================================
   HERO SLASHES
   ========================================================= */

.slash {
  position: absolute;

  width: 18vw;
  height: 115vh;

  background: var(--red);

  transform: rotate(24deg);

  opacity: 0.85;
}

.slash-one {
  left: 17%;
  top: -20%;
}

.slash-two {
  left: 45%;
  top: -12%;

  width: 6vw;

  background: var(--acid);

  opacity: 0.8;
}


/* =========================================================
   HERO STAMP
   ========================================================= */

.stamp {
  position: absolute;

  top: 19%;
  right: 5%;

  padding: 10px 14px;

  border:
    2px
    solid
    currentColor;

  font-weight: 900;

  letter-spacing: 0.15em;

  transform: rotate(4deg);
}


/* =========================================================
   HERO COPY
   ========================================================= */

.hero-copy {
  position: relative;

  z-index: 2;

  grid-column: 1 / -1;

  padding:
    150px
    clamp(20px, 5vw, 76px)
    clamp(56px, 8vh, 100px);

  max-width: 1250px;
}

.eyebrow,
.kicker {
  margin:
    0
    0
    18px;

  font-size: 0.8rem;

  font-weight: 900;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  font-family:
    "Archivo Black",
    Impact,
    sans-serif;

  font-size:
    clamp(
      4.8rem,
      17vw,
      15rem
    );

  line-height: 0.72;

  letter-spacing: -0.085em;

  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-deck {
  max-width: 660px;

  margin:
    32px
    0
    0;

  font-size:
    clamp(
      1.1rem,
      2vw,
      1.65rem
    );

  line-height: 1.35;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button-row {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}

.button {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  min-height: 52px;

  padding:
    13px
    22px;

  border:
    2px
    solid
    currentColor;

  font-weight: 900;

  text-decoration: none;

  text-transform: uppercase;

  letter-spacing: 0.07em;

  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
}

.button-primary {
  color: var(--black);

  background: var(--acid);

  border-color: var(--acid);

  box-shadow:
    5px
    5px
    0
    var(--white);
}

.button-ghost {
  color: var(--white);
}

.button-dark {
  color: var(--white);

  background: var(--black);

  border-color: var(--black);
}


/* =========================================================
   SCROLL CUE
   ========================================================= */

.scroll-cue {
  position: absolute;

  z-index: 3;

  right: 28px;
  bottom: 36px;

  font-size: 0.72rem;

  font-weight: 900;

  letter-spacing: 0.16em;

  writing-mode: vertical-rl;
}


/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  overflow: hidden;

  color: var(--black);

  background: var(--acid);

  border-top:
    4px
    solid
    var(--black);

  border-bottom:
    4px
    solid
    var(--black);

  white-space: nowrap;
}

.marquee-track {
  width: max-content;

  display: flex;

  gap: 44px;

  padding:
    14px
    0;

  animation:
    marquee
    25s
    linear
    infinite;

  font-family:
    "Archivo Black",
    Impact,
    sans-serif;

  font-size:
    clamp(
      1rem,
      2vw,
      1.5rem
    );
}

.marquee-track span::after {
  content: " / ";

  margin-left: 44px;
}

@keyframes marquee {

  to {
    transform:
      translateX(-50%);
  }

}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding:
    clamp(
      80px,
      10vw,
      150px
    )
    clamp(
      20px,
      5vw,
      76px
    );
}

.section-heading {
  max-width: var(--max);

  margin:
    0
    auto
    60px;
}

.section h2 {
  margin: 0;

  font-family:
    "Archivo Black",
    Impact,
    sans-serif;

  font-size:
    clamp(
      3rem,
      8vw,
      8rem
    );

  line-height: 0.86;

  letter-spacing: -0.07em;

  text-transform: uppercase;
}


/* =========================================================
   MUSIC SECTION
   ========================================================= */

.release-grid {
  max-width: var(--max);

  margin:
    0
    auto;

  display: grid;

  grid-template-columns:
    minmax(280px, 0.9fr)
    minmax(320px, 1.1fr);

  gap:
    clamp(
      36px,
      7vw,
      100px
    );

  align-items: center;
}


/* =========================================================
   RELEASE ART
   ========================================================= */

.release-art {
  aspect-ratio: 1;

  position: relative;

  overflow: hidden;

  padding: 8%;

  color: var(--white);

  background:

    linear-gradient(
      140deg,
      transparent 0 40%,
      rgba(255, 255, 255, 0.18) 40% 42%,
      transparent 42%
    ),

    repeating-linear-gradient(
      90deg,
      transparent 0 10px,
      rgba(0, 0, 0, 0.12) 10px 12px
    ),

    var(--red);

  box-shadow:
    18px
    18px
    0
    var(--black);
}

.release-label {
  font-size: 0.7rem;

  font-weight: 900;

  letter-spacing: 0.18em;
}

.release-title {
  position: absolute;

  left: 8%;
  bottom: 6%;

  font-family:
    "Archivo Black",
    Impact,
    sans-serif;

  font-size:
    clamp(
      4rem,
      9vw,
      9rem
    );

  line-height: 0.68;

  letter-spacing: -0.08em;
}

.release-catalog {
  position: absolute;

  top: 8%;
  right: 8%;

  font-weight: 900;

  writing-mode: vertical-rl;
}


/* =========================================================
   RELEASE COPY
   ========================================================= */

.release-copy {
  max-width: 650px;

  font-size: 1.05rem;

  line-height: 1.7;
}

.lead {
  font-size:
    clamp(
      1.35rem,
      2.4vw,
      2.15rem
    );

  line-height: 1.25;

  font-weight: 700;
}


/* =========================================================
   AUDIO PLAYER
   ========================================================= */

.player-shell {
  margin-top: 36px;

  padding: 18px;

  display: grid;

  grid-template-columns:
    auto
    minmax(140px, auto)
    1fr;

  gap: 18px;

  align-items: center;

  color: var(--white);

  background: var(--black);
}

.play-button {
  width: 48px;
  height: 48px;

  border:
    2px
    solid
    var(--white);

  border-radius: 50%;

  color: var(--white);

  background: transparent;
}

.player-info {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

.player-info span {
  font-size: 0.8rem;

  opacity: 0.65;
}

.waveform {
  height: 44px;

  display: flex;

  gap: 5px;

  align-items: center;

  justify-content: flex-end;
}

.waveform i {
  width: 3px;

  height: 35%;

  background: var(--acid);
}

.waveform i:nth-child(2n) {
  height: 70%;
}

.waveform i:nth-child(3n) {
  height: 100%;
}


/* =========================================================
   BAND SECTION
   ========================================================= */

.band-grid {
  max-width: var(--max);

  margin:
    0
    auto;

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 18px;
}

.member-card {
  min-width: 0;
}

.member-card h3 {
  margin:
    18px
    0
    4px;

  font-family:
    "Archivo Black",
    Impact,
    sans-serif;

  font-size: 1.65rem;

  text-transform: uppercase;
}

.member-card p {
  margin: 0;

  line-height: 1.5;
}


/* =========================================================
   BAND PORTRAITS

   This is intentionally simple.

   All four member photographs use exactly the same rules.
   ========================================================= */

.member-photo {
  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 3 / 4;

  overflow: hidden;

  padding: 0;

  margin: 0;

  border:
    3px
    solid
    var(--black);

  background: var(--black);

  filter: none;
}


/* =========================================================
   BAND PORTRAIT IMAGES
   ========================================================= */

.member-photo img {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;

  height: 100%;

  min-width: 100%;

  min-height: 100%;

  max-width: none;

  max-height: none;

  margin: 0;

  padding: 0;

  object-fit: cover;

  object-position: center center;

  filter: none;

  opacity: 1;

  visibility: visible;

  transform: none;
}


/* =========================================================
   SHOWS
   ========================================================= */

.section-red {
  color: var(--white);

  background: var(--red);
}

.show-list {
  max-width: var(--max);

  margin:
    0
    auto;

  border-top:
    3px
    solid
    currentColor;
}

.show-row {
  display: grid;

  grid-template-columns:
    100px
    1fr
    1fr
    auto;

  gap: 20px;

  align-items: center;

  padding:
    26px
    0;

  border-bottom:
    3px
    solid
    currentColor;

  font-weight: 800;
}

.show-row a {
  padding:
    10px
    14px;

  color: var(--black);

  background: var(--acid);

  text-decoration: none;

  text-transform: uppercase;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap:
    clamp(
      40px,
      9vw,
      140px
    );

  align-items: end;

  color: var(--white);

  background: var(--black);
}

.contact-copy p:last-child {
  max-width: 560px;

  line-height: 1.7;
}


/* =========================================================
   SIGNUP FORM
   ========================================================= */

.signup-form label {
  display: block;

  margin-bottom: 12px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.signup-row {
  display: flex;

  border-bottom:
    4px
    solid
    var(--white);
}

.signup-row input {
  min-width: 0;

  flex: 1;

  padding:
    18px
    0;

  border: 0;

  outline: 0;

  color: var(--white);

  background: transparent;

  font-size:
    clamp(
      1rem,
      2vw,
      1.4rem
    );
}

.signup-row input::placeholder {
  color:
    rgba(
      255,
      255,
      255,
      0.45
    );
}

.signup-row button {
  border: 0;

  padding:
    10px
    20px;

  color: var(--black);

  background: var(--acid);

  font-weight: 900;

  text-transform: uppercase;

  cursor: pointer;
}

.form-note {
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );

  font-size: 0.8rem;

  line-height: 1.5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding:
    30px
    clamp(
      20px,
      5vw,
      76px
    );

  display: grid;

  grid-template-columns:
    1fr
    auto
    auto;

  gap: 28px;

  align-items: center;

  color: var(--white);

  background: var(--black);

  border-top:
    1px
    solid
    var(--line);

  font-size: 0.78rem;
}

.social-links {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;
}

.social-links a {
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .site-header {
    min-height: 76px;

    mix-blend-mode: normal;

    background:
      rgba(
        8,
        8,
        8,
        0.92
      );
  }


  .menu-toggle {
    display: block;
  }


  .site-nav {
    position: fixed;

    inset:
      76px
      0
      auto;

    display: none;

    flex-direction: column;

    align-items: flex-start;

    padding:
      28px
      22px
      36px;

    color: var(--white);

    background: var(--black);

    border-top:
      1px
      solid
      var(--line);

    font-size: 1.35rem;
  }


  .site-nav.open {
    display: flex;
  }


  .band-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .contact {
    grid-template-columns: 1fr;
  }


  .show-row {
    grid-template-columns:
      80px
      1fr;
  }


  .show-row a {
    justify-self: start;
  }


  .site-footer {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .hero h1 {
    font-size:
      clamp(
        4rem,
        25vw,
        7rem
      );
  }


  .hero-deck {
    max-width: 90%;
  }


  .stamp {
    top: 15%;

    font-size: 0.65rem;
  }


  .release-grid {
    grid-template-columns: 1fr;
  }


  .release-art {
    box-shadow:
      10px
      10px
      0
      var(--black);
  }


  .player-shell {
    grid-template-columns:
      auto
      1fr;
  }


  .waveform {
    grid-column:
      1
      /
      -1;

    justify-content: stretch;
  }


  .waveform i {
    flex: 1;
  }


  .band-grid {
    grid-template-columns: 1fr;
  }


  .signup-row {
    flex-direction: column;

    border: 0;
  }


  .signup-row input {
    border-bottom:
      4px
      solid
      var(--white);
  }


  .signup-row button {
    min-height: 54px;
  }


  .show-row {
    grid-template-columns: 1fr;

    gap: 10px;
  }


  .scroll-cue {
    display: none;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  .marquee-track {
    animation: none;
  }


  *,
  *::before,
  *::after {
    transition-duration:
      0.01ms
      !important;
  }

}
/* =========================================================
   MOBILE BAND PHOTO FIX
   ========================================================= */

@media (max-width: 650px) {

  .member-photo {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: auto !important;

    overflow: visible !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    filter: none !important;
  }

  .member-photo img {
    position: static !important;

    inset: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    opacity: 1 !important;
    visibility: visible !important;

    filter: none !important;
    transform: none !important;
  }

}