:root {
  color-scheme: dark;
  --night: #100d18;
  --plum: #1c123a;
  --lavender: #c9c1d6;
  --muted: #9c95a6;
  --metal: #b6aebf;
  --line: rgba(215, 205, 225, 0.18);
  --gothic: "Metal Mania", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: #100d18;
  color: #f3eff6;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 8, 15, 0.44) 0%, rgba(12, 9, 18, 0.08) 36%, rgba(12, 9, 18, 0.24) 62%),
    linear-gradient(90deg, rgba(12, 8, 21, 0.32), transparent 50%, rgba(12, 8, 21, 0.2)),
    url("images/hero-background.jpg");
  background-position: center;
  background-size: cover;
  content: "";
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #d5c9e6;
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 5rem);
  transition: opacity 180ms ease;
}

.site-header::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 200%;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
  content: "";
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 auto;
  width: clamp(161px, 19.55vw, 241.5px);
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.8rem);
  font-family: var(--gothic);
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.5;
  text-transform: uppercase;
}

.site-nav > a,
.nav-dropdown > summary {
  position: relative;
  color: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin: 0 0 0.17em 0.38em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 360ms ease;
}

.nav-dropdown[open] > summary::after {
  transform: translateY(0.18em) rotate(225deg);
}

.site-nav > a:hover,
.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary {
  color: #d3c4e7;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.65rem;
  content: "";
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -1rem;
  display: block;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  background: rgba(17, 13, 25, 0.94);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.3rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-dropdown[open] > .dropdown-menu,
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: #d3c4e7;
}

.merch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.coming-soon {
  border: 1px solid rgba(220, 211, 231, 0.4);
  border-radius: 2rem;
  padding: 0.08rem 0.42rem;
  color: #ded5e9;
  font-family: var(--sans);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0.8;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to bottom, rgba(16, 13, 24, 0) 0%, #100d18 100%);
  content: "";
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  z-index: 10;
  bottom: 2.2rem;
  left: 50%;
  display: inline-block;
  color: #d3c4e7;
  opacity: 0.85;
  transition: opacity 250ms ease, filter 250ms ease;
  transform: translateX(-50%);
}

.scroll-cue:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65));
}

.scroll-cue svg {
  display: block;
  width: 56px;
  height: 26px;
  overflow: visible;
  fill: currentColor;
}

.bat-hover {
  transform-box: fill-box;
  transform-origin: center;
  animation: bat-drift 2.3s ease-in-out infinite;
}

.bat-wing {
  transform-box: view-box;
}

.wing-left {
  transform-origin: 88px 32px;
  animation: bat-flutter-left 1.1s ease-in-out infinite alternate;
}

.wing-right {
  transform-origin: 92px 32px;
  animation: bat-flutter-right 1.1s ease-in-out infinite alternate;
}

@keyframes bat-flutter-left {
  0% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(-7deg) scaleY(0.8); }
  100% { transform: rotate(4deg) scaleY(1.08); }
}

@keyframes bat-flutter-right {
  0% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(7deg) scaleY(0.8); }
  100% { transform: rotate(-4deg) scaleY(1.08); }
}

@keyframes bat-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.social-section,
.biography,
.gallery-section,
.video-section {
  position: relative;
  z-index: 1;
  background: transparent;
}

.social-section::before,
.biography::before,
.gallery-section::before,
.video-section::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto;
  left: 50%;
  width: 100vw;
  background: #100d18;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.social-section {
  padding: 2.8rem 1.5rem 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(208, 198, 220, 0.32);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(31, 24, 40, 0.4));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 0.5rem 1.2rem rgba(0, 0, 0, 0.17);
  color: #d8d1df;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: #b9a7d1;
  background: linear-gradient(145deg, #463752, #211929);
  color: #fff;
}

.social-link svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}

.section-wrap {
  width: min(100% - 3rem, 1120px);
  margin-inline: auto;
}

.biography {
  width: min(100% - 3rem, 1120px);
  max-width: 1120px;
  padding: 5.5rem 0 5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 1.6rem;
  color: #f5f0f8;
  font-family: var(--gothic);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.biography > p:last-child {
  margin: 0;
  color: var(--lavender);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 2;
  text-align: justify;
}

.gallery-section {
  position: relative;
  background: #100d18;
  padding: 2rem 0 6rem;
  text-align: center;
}

.gallery-section h2,
.video-section h2 {
  margin-bottom: 2.2rem;
}

.photo-grid {
  display: grid;
  grid-auto-rows: clamp(170px, 23vw, 270px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  text-align: left;
}

.photo {
  overflow: hidden;
  margin: 0;
  background: #1b1721;
}

.photo-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

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

.photo-feature {
  grid-column: span 3;
  grid-row: span 1;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.86);
  transition: filter 350ms ease, transform 600ms ease;
}

.photo:hover img {
  filter: saturate(0.95) brightness(1);
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  display: grid;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  place-items: center;
  margin: 0;
  padding: 3.5rem 1rem 1rem;
  border: 0;
  background: rgba(7, 6, 10, 0.97);
  cursor: zoom-out;
}

.lightbox[open] {
  inset: 0;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(5px);
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox.is-loading .lightbox-image,
.lightbox.has-error .lightbox-image {
  visibility: hidden;
}

.lightbox-loading {
  position: absolute;
  margin: 0;
  color: #ded5e9;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
}

.lightbox.is-loading .lightbox-loading,
.lightbox.has-error .lightbox-loading {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font: 300 2rem/1 var(--sans);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.video-section {
  max-width: 1000px;
  padding: 0 0 7rem;
  text-align: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #08070b;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
}

@media (max-width: 360px) {
  .video-frame {
    min-height: 200px;
    aspect-ratio: auto;
  }
}

.video-frame + h2 {
  margin-top: 5rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  position: relative;
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.5rem, 5vw, 5rem);
  margin-top: -2px;
  padding-top: calc(1.4rem + 2px);
  background: #100d18;
  color: #c0b9c9;
  font-size: 0.85rem;
  isolation: isolate;
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  inset: -4px 0 0;
  background: #100d18;
  content: "";
  pointer-events: none;
}

.footer-name {
  color: #f0ebf4;
  font-family: var(--gothic);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 700px) and (orientation: portrait) {
  .site-header {
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }

  .brand {
    width: clamp(128.8px, 35.65vw, 184px);
    margin-top: 0.25rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 1;
    display: flex;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.55rem;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle:hover {
    border-color: #d3c4e7;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(0.43rem) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-0.43rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    padding: 1rem 1.4rem 1.3rem;
    border-top: 1px solid var(--line);
    background: rgba(16, 13, 24, 0.97);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
    font-size: clamp(1rem, 4vw, 1.35rem);
    line-height: 1.35;
  }

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

  .coming-soon {
    font-size: 0.42rem;
  }

  .dropdown-menu {
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    font-size: 1rem;
  }

  .hero {
    background-position: 55% center;
  }

  .social-section {
    padding-top: 2rem;
  }

  .section-wrap {
    width: min(100% - 2.2rem, 1120px);
  }

  .biography {
    width: calc(100% - 2.4rem);
    padding: 4.4rem 0 3.8rem;
  }

  .biography > p:last-child {
    line-height: 1.85;
  }

  .gallery-section {
    padding-bottom: 4rem;
  }

  .photo-grid {
    grid-auto-rows: clamp(140px, 38vw, 230px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

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

  .photo-feature {
    grid-column: span 2;
  }

  .video-section {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  .site-header {
    gap: 0.8rem;
    padding: 0.55rem 1rem;
  }

  .brand {
    width: clamp(103.5px, 20.7vw, 161px);
  }

  .site-nav {
    gap: clamp(0.45rem, 1.8vw, 1rem);
    font-size: clamp(0.85rem, 2.3vw, 1.1rem);
  }

  .nav-dropdown .dropdown-menu {
    top: calc(100% + 0.55rem);
  }

  .coming-soon {
    display: none;
  }

  .dropdown-menu {
    font-size: 0.9rem;
  }

  .biography {
    width: calc(100% - 2.4rem);
  }
}

@media (max-width: 400px) and (orientation: portrait) {
  .coming-soon {
    display: none;
  }

  .social-links {
    gap: 0.7rem;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}

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

  .bat-hover,
  .bat-wing {
    animation: none;
  }

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