/* Home page overrides and active tuning */
.hero-image {
  background:
    linear-gradient(180deg, rgba(11, 8, 8, 0.08) 0%, rgba(11, 8, 8, 0.18) 52%, rgba(0, 0, 0, 0.78) 100%),
    url("assets/drive-import/Desktop/HOME page/Pictures (Original)/SAS_record_player.jpg")
      center 31% / cover no-repeat;
}

.hero-image::after {
  height: 15rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 72%);
}

.hero-overlay {
  padding: 1.25rem 2rem 2.6rem;
}

.hero-glow {
  bottom: 2.05rem;
  width: min(19.75rem, 40vw);
  background: rgba(255, 255, 255, 0.92);
}

.featured-picture {
  display: block;
  width: 100%;
  height: 100%;
}

#featured,
.events-panel,
.zines-panel,
.submission-panel {
  min-height: min(61.2rem, 100vh);
}

#featured {
  min-height: min(53rem, 86vh);
}

.featured-slider {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}

.featured-slider .slider-track {
  display: block;
  height: 100%;
}

.featured-slide {
  position: relative;
  display: block;
  min-height: calc(min(53rem, 86vh) - 3rem);
  overflow: hidden;
}

.featured-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(min(53rem, 86vh) - 3rem);
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.featured-image-motion {
  object-position: center 14%;
}

.featured-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.58) 100%);
  pointer-events: none;
}

.featured-caption {
  right: 2.2rem;
  bottom: 1.1rem;
  width: auto;
  z-index: 1;
  font-size: clamp(1.6rem, 2vw, 1.875rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.events-panel {
  padding: 3.5rem 0 0;
  background: #000;
}

.zines-panel {
  justify-content: flex-start;
  min-height: auto;
  padding-bottom: 1.5rem;
}

.zine-slider {
  flex: 0 0 auto;
  width: 100%;
}

.zine-stage {
  min-height: auto;
  padding: 2.1rem 0 1.15rem;
}

.zines-panel .disc {
  transform: translateX(clamp(-1.2rem, -1.4vw, -0.55rem));
}

.events-empty-state {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  padding: 1.25rem 4rem 0;
}

.events-scene-desktop {
  position: relative;
  width: min(86.95vw, 78.25rem);
  min-height: min(47rem, 76vh);
  display: grid;
  place-items: center;
  background: #000;
}

.events-scene-desktop::before {
  content: "";
  width: min(72vw, 56rem);
  aspect-ratio: 1;
  background:
    url("assets/drive-import/Mobile/HOME page/Pictures (cropped)/plate_(mobile).png")
      center center / contain no-repeat;
}

.events-desktop-note {
  position: absolute;
  left: 50%;
  top: 51.8%;
  width: min(18rem, 25vw);
  min-height: 11rem;
  display: grid;
  place-items: center;
  padding: 0.35rem 0 0;
  color: #000;
  font-family: "Circ Handwriting", "Gochi Hand", cursive;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.events-desktop-title {
  display: block;
  margin: 0;
  font-size: clamp(2.4rem, 4.1vw, 4.3rem);
  line-height: 0.9;
}

.events-desktop-note a {
  display: block;
  width: min(12.2rem, 78%);
  margin-top: 0.55rem;
  color: #000;
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  line-height: 1.02;
  text-decoration: underline;
}

.events-scene-mobile {
  display: none;
}

.events-plate-card {
  display: grid;
  place-items: center;
  width: min(92vw, 29rem);
  aspect-ratio: 1;
  background:
    url("assets/drive-import/Mobile/HOME page/Pictures (cropped)/plate_(mobile).png")
      center center / contain no-repeat;
}

.events-plate-note {
  width: min(10.5rem, 44%);
  margin-top: -0.2rem;
  color: #000;
  font-family: "Circ Handwriting", "Gochi Hand", cursive;
  text-align: center;
  transform: rotate(-12deg);
}

.events-plate-note p {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.85rem);
  line-height: 0.9;
}

.events-plate-note a {
  display: block;
  margin-top: 0.75rem;
  color: #000;
  font-size: clamp(0.95rem, 2.6vw, 1.35rem);
  line-height: 1.05;
  text-decoration: underline;
}

.events-panel .panel-link {
  width: fit-content;
  margin: 0 1.2rem 2.65rem auto;
  padding: 0;
  text-decoration: underline;
}

.submission-form input,
.submission-form textarea {
  font-size: clamp(1.35rem, 1.85vw, 2rem);
}

.submission-form input {
  min-height: 3.2rem;
  padding: 0.25rem 0 0.9rem;
}

.submission-form textarea {
  min-height: 12rem;
  padding: 0.8rem 0.8rem 1rem;
}

@media (max-width: 1100px) {
  .featured-image-motion {
    object-position: center 16%;
  }
}

@media (max-width: 900px) {
  .hero-image {
    background-image:
      linear-gradient(180deg, rgba(11, 8, 8, 0.08) 0%, rgba(11, 8, 8, 0.18) 52%, rgba(0, 0, 0, 0.78) 100%),
      url("assets/drive-import/Mobile/HOME page/Pictures (cropped)/SAS_record_player.jpg");
    background-position: center 26%;
  }

  .featured-image-motion {
    object-fit: contain;
    object-position: center top;
  }

  .events-empty-state {
    padding: 1rem 1rem 0;
  }

  .events-scene-desktop {
    display: none;
  }

  .events-scene-mobile {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 25rem;
  }
}

@media (max-width: 640px) {
  .hero-image {
    min-height: 55.3125rem;
    background-position: center 24%;
  }

  .hero-overlay {
    padding: 1rem 1rem 2.5rem;
  }

  .hero-glow {
    bottom: 2.05rem;
    width: 9.5rem;
  }

  .hero-cta {
    font-size: 1rem;
  }

  #featured,
  .events-panel,
  .zines-panel,
  .submission-panel {
    min-height: 0;
  }

  #featured {
    padding-top: 0;
  }

  .featured-slide,
  .featured-image {
    min-height: 0;
  }

  .featured-image-motion {
    object-fit: contain;
    object-position: center top;
  }

  .featured-caption {
    right: 1rem;
    bottom: 0.8rem;
    font-size: 1rem;
  }

  .events-panel {
    padding-top: 2.9rem;
    min-height: 29rem;
  }

  .events-empty-state {
    padding: 0.55rem 0.75rem 0;
  }

  .events-scene-mobile {
    min-height: 17.75rem;
    align-content: center;
    padding-top: 0;
    justify-items: center;
  }

  .events-plate-card {
    width: min(112vw, 31rem);
    margin-inline: auto;
    background-position: center center;
    position: relative;
    left: 50%;
    transform: translateX(-55%);
  }

  .events-plate-note {
    width: 10.75rem;
    transform: rotate(-14deg) translate(-0.08rem, -0.12rem);
  }

  .events-plate-note p {
    font-size: 3rem;
    line-height: 0.9;
  }

  .events-plate-note a {
    margin-top: 0.35rem;
    font-size: 1.22rem;
    line-height: 1.02;
  }

  .events-panel .panel-link {
    margin-right: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 1.35rem;
  }

  .zines-panel {
    min-height: auto;
    padding-top: 4.7rem;
    padding-bottom: 0;
  }

  main > .zines-panel {
    min-height: 100svh;
  }

  .zines-panel .section-label {
    top: 2.35rem;
  }

  .zines-more-link {
    top: 2.35rem;
  }

  .zine-slider {
    flex: 0 0 auto;
    width: 100%;
  }

  .zine-stage {
    min-height: calc(100svh - 4.7rem);
    padding: 0.35rem 0 0;
    align-items: center;
  }

  .submission-panel {
    padding: 3.4rem 0.75rem 1rem;
  }

  .submission-card {
    padding: 1rem 1rem 0.65rem;
    min-height: 0;
  }

  .submission-form span,
  .submission-field-title {
    font-size: 0.95rem;
  }

  .submission-form input {
    min-height: 2.85rem;
  }

  .submission-form textarea {
    min-height: 10.5rem;
  }
}

@media (max-width: 660px) {
  #featured {
    min-height: 0;
  }

  #featured .slider-track,
  #featured .slide,
  #featured .slide.slide-active,
  .featured-slider,
  .featured-slider .slider-track,
  .featured-picture,
  .featured-slide,
  .featured-image {
    height: auto;
  }

  .featured-slide {
    background: #000;
    min-height: 0;
  }

  .featured-image {
    height: auto;
    min-height: 0;
  }

  .featured-image-motion {
    object-fit: contain;
    object-position: center top;
  }
}
