:root {
  --bg: #0e0b14;
  --bg-alt: #1c142b;
  --accent: #ff6f61;
  --accent-soft: rgba(255, 111, 97, 0.18);
  --accent-strong: #ffb347;
  --text: #f2f1f8;
  --muted: #a198b4;
  --card-bg: rgba(21, 16, 30, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --gradient: radial-gradient(circle at top, rgba(255, 111, 97, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 97, 255, 0.25), transparent 60%),
    linear-gradient(135deg, rgba(14, 11, 20, 0.95), rgba(18, 17, 38, 0.95));

  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hanken Grotesk", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--gradient);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--accent-strong);
}

.site-header {
  position: relative;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) 3rem;
}

body.scrolled .site-header {
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 18, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: "Shippori Mincho", "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-decoration: none;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.hero-copy h1 {
  font-family: "Shippori Mincho", "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.lead {
  max-width: 36ch;
  font-size: 1.05rem;
  color: rgba(242, 241, 248, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #160b1f;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cta.ghost:hover,
.cta.ghost:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.cta:hover,
.cta:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 111, 97, 0.45);
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.75;
  mix-blend-mode: screen;
  animation: float 12s ease-in-out infinite;
}

.orb-one {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.8), transparent 70%);
  top: 5%;
  left: 10%;
}

.orb-two {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.9), transparent 65%);
  bottom: 15%;
  right: 5%;
  animation-delay: -4s;
}

.orb-three {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.7), transparent 60%);
  top: 35%;
  right: 35%;
  animation-delay: -8s;
}

.staff-lines {
  position: absolute;
  inset: 10% 15%;
  border-radius: 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 1px,
    transparent 1px
  );
  background-size: 100% 28px;
  filter: blur(0.4px);
  opacity: 0.6;
  animation: shimmer 8s linear infinite;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}

.section-title {
  font-family: "Shippori Mincho", "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 5vw, 3rem);
}

.vision-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.vision-card:hover,
.vision-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 179, 71, 0.55);
}

.about-content {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.about-text p + p {
  margin-top: 1rem;
}

.about-highlights {
  margin: 0;
  padding: 1.75rem;
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  display: grid;
  gap: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-highlights span {
  font-size: 2.8rem;
  display: block;
  font-family: "Shippori Mincho", serif;
  color: var(--accent-strong);
}

.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.member-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(15, 8, 30, 0.55);
}

.member-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.35), rgba(123, 97, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 5vw, 3rem);
}

.track-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 2rem 1.75rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s ease;
  color: inherit;
  font: inherit;
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 20% -40% 20% 60%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.38), transparent 70%);
  transform: rotate(15deg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.track-card:hover,
.track-card:focus {
  transform: translateY(-10px);
  border-color: rgba(255, 111, 97, 0.6);
}

.track-card:hover::before,
.track-card:focus::before,
.track-card.is-playing::before {
  opacity: 1;
}

.track-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.track-card p {
  color: rgba(242, 241, 248, 0.82);
  margin: 0;
}

.track-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.25);
  color: var(--accent-strong);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.streaming-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(12, 10, 22, 0.35));
}

.news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.news-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: clamp(1.75rem, 5vw, 2.5rem);
  box-shadow: 0 20px 45px rgba(10, 6, 20, 0.45);
  display: grid;
  gap: 1rem;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.24);
  color: var(--accent-strong);
  font-weight: 600;
}

.news-item time {
  font-weight: 600;
  color: rgba(242, 241, 248, 0.75);
}

.news-item h3 {
  margin: 0;
  font-size: 1.4rem;
}

.news-item p {
  margin: 0;
  color: rgba(242, 241, 248, 0.82);
}

.news-link {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--accent-strong);
}

.news-link::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.news-link:hover::after,
.news-link:focus::after {
  transform: translateX(4px);
}

.schedule {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(14, 11, 20, 0.2));
}

.timeline {
  display: grid;
  gap: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.2), rgba(255, 111, 97, 0.6));
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

time {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: clamp(2.5rem, 6vw, 3rem);
  box-shadow: 0 22px 55px rgba(12, 10, 25, 0.55);
}

.contact-link {
  display: inline-block;
  margin: 1.5rem 0 2rem;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links a {
  text-decoration: none;
  color: var(--muted);
}

.social-links a:hover,
.social-links a:focus {
  color: var(--accent-strong);
}

.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: rgba(242, 241, 248, 0.7);
  font-size: 0.85rem;
}

.history-page {
  background: radial-gradient(circle at 12% 15%, rgba(255, 161, 94, 0.12), transparent 55%),
    radial-gradient(circle at 82% 12%, rgba(123, 97, 255, 0.12), transparent 60%),
    radial-gradient(circle at 45% 88%, rgba(255, 211, 150, 0.1), transparent 60%),
    linear-gradient(135deg, #0d0717 0%, #1a0d2a 45%, #12061f 100%);
}

.history-header::after {
  opacity: 0.3;
}

.history-hero .lead {
  max-width: 44ch;
}

.chronicle {
  position: relative;
}

.chronicle::before {
  content: '';
  position: absolute;
  inset: 12% auto 8% 48px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.25));
  pointer-events: none;
}

.chronicle-timeline {
  display: grid;
  gap: 1.75rem;
}

.chronicle-card {
  position: relative;
  margin-left: 48px;
  padding: 1.75rem 2rem 1.75rem 2.5rem;
  border-radius: 24px;
  background: rgba(23, 12, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(12, 4, 21, 0.45);
  backdrop-filter: blur(16px);
}

.chronicle-card::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-light));
  border: 2px solid #0d0717;
  left: -56px;
  top: 1.75rem;
  box-shadow: 0 0 0 6px rgba(255, 111, 97, 0.16);
}

.chronicle-card time {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.chronicle-card h3 {
  font-family: 'Shippori Mincho', serif;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.chronicle-card p {
  color: rgba(242, 241, 248, 0.78);
}

.gallery {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
  background: rgba(20, 12, 34, 0.65);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-card span {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(12, 6, 26, 0.75);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-card:hover,
.gallery-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(6, 2, 16, 0.6);
}

.gallery-card:hover img,
.gallery-card:focus img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 5, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: min(860px, 90vw);
  max-height: 90vh;
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(18, 10, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 55px rgba(5, 2, 12, 0.75);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lightbox-inner img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 18px;
}

.lightbox-inner p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(242, 241, 248, 0.82);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.22);
}

.contact-alt .contact-card {
  background: rgba(19, 9, 29, 0.82);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0px, -18px, 0) scale(1.08);
  }
}

@keyframes shimmer {
  0% {
    opacity: 0.4;
    transform: translateY(0);
  }
  100% {
    opacity: 0.8;
    transform: translateY(-18px);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 72px;
    right: clamp(1.5rem, 5vw, 3rem);
    background: rgba(12, 10, 25, 0.92);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    flex-direction: column;
    padding: 1.5rem;
    width: min(280px, 70vw);
    backdrop-filter: blur(12px);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .chronicle::before {
    left: 32px;
  }

  .chronicle-card {
    margin-left: 32px;
    padding: 1.5rem 1.5rem 1.5rem 2.15rem;
  }

  .chronicle-card::before {
    left: -40px;
  }
}

@media (max-width: 640px) {
  .hero {
    margin-top: 2rem;
  }

  .hero-visual {
    min-height: 260px;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline::before {
    left: 0.2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .chronicle::before {
    display: none;
  }

  .chronicle-card {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
