:root {
  --color-bg: #090a0c;
  --color-surface: #101216;
  --color-surface-soft: #14171b;
  --color-text: #f2f2ef;
  --color-muted: #96999f;
  --color-faint: #62666d;
  --color-line: rgba(242, 242, 239, 0.17);
  --color-line-strong: rgba(242, 242, 239, 0.4);
  --content-width: 48rem;
  --page-gutter: clamp(1.25rem, 5vw, 3rem);
  --space-section: clamp(6.5rem, 16vw, 10rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--color-bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.065), transparent 31rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: calc(0.5rem + env(safe-area-inset-top)) var(--page-gutter) 0.5rem;
  background: transparent;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-nav.is-scrolled {
  background: rgba(9, 10, 12, 0.96);
  box-shadow: 0 1px 0 var(--color-line);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-nav__links a {
  padding-inline: 0.25rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 200ms ease;
}

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

.section-heading h2 {
  scroll-margin-top: calc(5rem + env(safe-area-inset-top));
}

@media (max-width: 44rem) {
  .site-nav__links {
    justify-content: center;
    gap: clamp(0.25rem, 2vw, 1rem);
  }

  .site-nav__links a {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

:focus-visible {
  outline: 1px solid var(--color-text);
  outline-offset: 5px;
}

.hero,
.section,
.footer {
  width: min(100%, calc(var(--content-width) + (var(--page-gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.hero {
  display: flex;
  width: 100%;
  min-height: 100svh;
  max-width: none;
  padding-top: max(1.5rem, env(safe-area-inset-top));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  text-align: center;
}

.hero__mark {
  position: relative;
  z-index: 2;
  top: min(calc(28.6vw - 156px), 146px);
  width: 1px;
  height: clamp(24px, 3vh, 36px);
  margin-bottom: 1rem;
  background: linear-gradient(to bottom, transparent, var(--color-line-strong));
}

.eyebrow,
.section-heading,
.hero__scroll,
.footer__copyright {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow {
  position: relative;
  z-index: 2;
  top: min(calc(28.6vw - 156px), 146px);
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 0.63rem;
}

.hero__logo-heading {
  width: min(72vw, 760px);
  margin: 0;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__statement {
  position: relative;
  z-index: 1;
  margin: clamp(-8.5rem, -20vw, -4rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero__scroll {
  display: flex;
  margin-top: clamp(2.25rem, 5vh, 3.5rem);
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-muted);
  font-size: 0.58rem;
}

.hero__logo-heading,
.hero__statement,
.hero__scroll {
  position: relative;
  top: -96px;
}

.hero__logo-heading {
  top: -141px;
}

.hero__line {
  display: block;
  width: 1px;
  height: 2.7rem;
  background: linear-gradient(to bottom, var(--color-line-strong), transparent);
  transition: transform 400ms var(--ease-out);
}

.hero__scroll:hover .hero__line,
.hero__scroll:focus-visible .hero__line {
  transform: translateY(0.25rem);
}

.section {
  padding-top: var(--space-section);
}

.film {
  display: block;
}

.film-card__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.film-card__embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.characters {
  display: block;
}

.about__layout {
  display: grid;
  max-width: 58rem;
  margin-inline: auto;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.about__logo {
  display: block;
  width: 100%;
  max-width: 18rem;
  height: auto;
  justify-self: center;
  mix-blend-mode: screen;
}

.about__copy {
  max-width: 42rem;
  color: var(--color-text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.about__wordmark {
  width: 100%;
  max-width: 18rem;
  justify-self: center;
}

/* Display the supplied artwork, retaining its cracks and diagonal strokes. */
.about__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.about__copy p {
  margin: 0;
}

.about__copy p + p {
  margin-top: 1.4rem;
}

.section-heading {
  display: flex;
  margin-bottom: 2rem;
  align-items: baseline;
  gap: 1rem;
}

.section-heading__index {
  margin: 0;
  color: var(--color-faint);
  font-size: 0.58rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.social-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.social-list li {
  border-bottom: 1px solid var(--color-line);
}

.music-link {
  border-block: 1px solid var(--color-line);
}

.social-link {
  display: flex;
  min-height: 6.6rem;
  padding: 1.35rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition:
    background-color 260ms ease,
    padding 360ms var(--ease-out);
}

.social-link__copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.social-link__name {
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.social-link__note {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}

.social-link__arrow {
  color: var(--color-muted);
  font-size: 0.9rem;
  transition:
    color 260ms ease,
    transform 360ms var(--ease-out);
}

.social-link:hover,
.social-link:focus-visible {
  padding-inline: 1.3rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.025);
}

.social-link:hover .social-link__arrow,
.social-link:focus-visible .social-link__arrow {
  transform: translate(0.16rem, -0.16rem);
  color: var(--color-text);
}

.film-card {
  display: block;
}

.film-card__visual {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.028), transparent 48%),
    var(--color-surface);
  isolation: isolate;
}

.film-card__visual::before,
.film-card__visual::after {
  position: absolute;
  content: "";
}

.film-card__visual::before {
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.film-card__visual::after {
  width: 36%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.23), transparent);
  transform: rotate(-28deg);
}

.film-card__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(0.1px);
}

.film-card__orb--one {
  top: -30%;
  right: 12%;
  width: 47%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.film-card__orb--two {
  bottom: -48%;
  left: 4%;
  width: 65%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055), transparent 68%);
}

.film-card__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.018) 4px
  );
}

.play-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  transition:
    border-color 260ms ease,
    transform 420ms var(--ease-out);
}

.play-mark::after {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.48rem solid var(--color-text);
  content: "";
}

.film-card__caption {
  display: flex;
  padding-top: 1.1rem;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.film-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4vw, 1.2rem);
}

.film-card__action {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 0.8rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.04em;
}

.film-card:hover .play-mark,
.film-card:focus-visible .play-mark {
  transform: scale(1.06);
  border-color: var(--color-text);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.member-profile {
  min-width: 0;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.member-profile__copy {
  padding: clamp(0.85rem, 3vw, 1.4rem);
}

.member-profile__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  margin: 0;
  font-size: 0.85rem;
}

.member-profile__name span {
  color: var(--color-muted);
  font-size: 0.7rem;
}

.member-profile__description {
  margin: 0.8rem 0 0;
  color: #b0b2b7;
  font-size: clamp(0.8125rem, 2.6vw, 0.875rem);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.member-profile__summary,
.member-profile__more {
  display: none;
}

.profile-dialog {
  width: min(90vw, 30rem);
  max-height: 85svh;
  padding: 1.5rem;
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg);
  color: var(--color-text);
}

.profile-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.profile-dialog__close {
  display: block;
  margin-left: auto;
  min-height: 44px;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  cursor: pointer;
}

.profile-dialog h2 { letter-spacing: 0.1em; }
.profile-dialog__meta { color: var(--color-muted); }
.profile-dialog__body { font-size: 0.9rem; line-height: 2; }

@media (max-width: 44rem) {
  .profiles-ready .member-profile__description { display: none; }
  .profiles-ready .member-profile__summary {
    display: block;
    margin: 0.8rem 0;
    color: #b0b2b7;
    font-size: 0.8125rem;
    line-height: 1.85;
  }
  .member-profile__copy { padding: 1rem 0.75rem; }
  .profiles-ready .member-profile__more {
    display: block;
    min-height: 44px;
    width: 100%;
    padding: 0.5rem 0;
    border: 0;
    border-top: 1px solid var(--color-line);
    color: var(--color-text);
    background: transparent;
    font: inherit;
    font-size: 0.75rem;
    text-align: left;
    cursor: pointer;
  }
}

.character-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1 / 1.04;
  padding: clamp(0.75rem, 3.7vw, 1.4rem);
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 62%);
  isolation: isolate;
}

.character-card::before,
.character-card::after {
  position: absolute;
  inset: 0;
  content: "";
}

.character-card::before {
  z-index: -2;
  width: 100%;
  height: 100%;
  background-image: var(--character-image);
  background-position: var(--character-position, center center);
  background-size: cover;
  filter: brightness(0.72);
  transition:
    filter 420ms var(--ease-out),
    transform 420ms var(--ease-out);
}

.character-card::after {
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.82) 100%);
}

.character-card--aria {
  --character-image: url("assets/live-retouched/guitarist.png");
  --character-position: center 15%;
}

.character-card--nagisa {
  --character-image: url("assets/live-retouched/drummer.png");
  --character-position: center 25%;
}

.character-card--rei {
  --character-image: url("assets/live-retouched/bassist.png");
  --character-position: center 10%;
}

.character-card--yoru {
  --character-image: url("assets/live-retouched/vocalist.png");
  --character-position: center 25%;
}

.character-card h3 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: clamp(0.66rem, 3vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.character-card p {
  margin: 0.32rem 0 0;
  color: var(--color-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.66rem, 2.8vw, 0.83rem);
  font-style: italic;
}

@media (hover: hover) and (pointer: fine) {
  .character-card:hover::before {
    filter: brightness(0.88);
    transform: scale(1.03);
  }
}

.footer {
  padding-top: clamp(8rem, 22vw, 13rem);
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  text-align: center;
}

.footer::before {
  display: block;
  width: 1px;
  height: 4rem;
  margin: 0 auto 3rem;
  background: linear-gradient(to bottom, transparent, var(--color-line-strong), transparent);
  content: "";
}

.footer__logo {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

.footer__copyright {
  margin: 4.5rem 0 0;
  color: var(--color-faint);
  font-size: 0.55rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(0.75rem);
}

.js.is-loaded .reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.js.is-loaded .section:nth-of-type(1) {
  transition-delay: 80ms;
}

.js.is-loaded .section:nth-of-type(2) {
  transition-delay: 140ms;
}

.js.is-loaded .section:nth-of-type(3) {
  transition-delay: 200ms;
}

@media (min-width: 45rem) {
  .hero {
    padding-top: max(1.5rem, env(safe-area-inset-top));
    justify-content: center;
  }

  .hero > * {
    translate: 0 -20px;
  }

  .hero__mark {
    position: static;
    height: 24px;
    margin-bottom: 16px;
  }

  .eyebrow {
    position: static;
    margin-bottom: 32px;
  }

  .hero__logo-heading {
    position: static;
    overflow: hidden;
    height: min(32.21vw, 340px);
  }

  .hero__logo {
    height: 100%;
    object-fit: cover;
    object-position: center 66.6%;
  }

  .hero__statement {
    position: static;
    margin-top: 53px;
  }

  .hero__scroll {
    position: static;
  }

  .social-link {
    min-height: 7.4rem;
    padding-inline: 1.5rem;
  }

  .character-card {
    aspect-ratio: 1 / 1;
  }

}

@media (max-width: 44rem) {
  .hero {
    padding-top: max(8vh, env(safe-area-inset-top));
    justify-content: flex-start;
  }

  .hero__mark {
    top: calc(70px + 16px);
    height: clamp(1.5rem, 4vh, 2.5rem);
  }

  .eyebrow {
    top: 70px;
    margin-bottom: 16px;
  }

  .hero__logo-heading,
  .hero__statement,
  .hero__scroll {
    top: 0;
  }

  .hero__logo-heading {
    width: 86vw;
    height: 86vw;
    top: 25px;
  }

  .hero__logo {
    height: auto;
    margin-inline: auto;
  }

  .hero__statement {
    margin-top: calc(clamp(-8.5rem, -20vw, -4rem) + 52px);
  }

  .hero__scroll {
    margin-top: calc(clamp(2.25rem, 5vh, 3.5rem) + 24px);
  }

  .character-card::before {
    filter: brightness(0.8);
  }
}

/* The band photo replaces the old logo-and-copy hero on every screen size. */
.hero.hero--band-photo {
  justify-content: flex-start;
  min-height: 0;
  padding-bottom: 0;
  padding-inline: 0;
  padding-top: 0;
}

.hero--band-photo .hero__logo-heading {
  position: static;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero--band-photo .hero__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__visual {
  position: relative;
  width: 100%;
  isolation: isolate;
  translate: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.25) 18%,
    transparent 35%,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 80%,
    #000 100%
  );
}

.hero__connect-link {
  position: absolute;
  z-index: 2;
  bottom: calc(clamp(0.75rem, 3vw, 3rem) + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 144px;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.hero__connect-arrow {
  font-size: 1.5rem;
  transition: transform 200ms ease;
}

.hero__connect-link:hover .hero__connect-arrow,
.hero__connect-link:focus-visible .hero__connect-arrow {
  transform: translateY(3px);
}

@media (max-width: 44rem) {
  .hero.hero--band-photo {
    min-height: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 44rem) {
  .about__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .about__logo {
    width: min(58vw, 14rem);
  }

  .about__copy {
    font-size: 0.875rem;
  }

  .section {
    padding-top: 4.5rem;
  }

  .social-link {
    min-height: 5.5rem;
  }

  .film-card__caption {
    flex-direction: column;
    gap: 0.45rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal,
  .js.is-loaded .reveal {
    opacity: 1;
    transform: none;
  }
}
