:root {
  --bg: #07070b;
  --bg-2: #0c0e16;
  --bg-3: #12151f;
  --panel: rgba(16, 18, 28, 0.72);
  --ink: #f4f6ff;
  --muted: #9aa3b8;
  --dim: #6d7588;
  --line: rgba(255, 255, 255, 0.08);
  --cyan: #3be7ff;
  --magenta: #ff3d9a;
  --violet: #8b5cff;
  --warn: #ffc857;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1180px;
  --header-h: 72px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-lyric: "Newsreader", "Iowan Old Style", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 61, 154, 0.16), transparent 55%),
    radial-gradient(700px 480px at -10% 20%, rgba(59, 231, 255, 0.12), transparent 50%),
    radial-gradient(800px 600px at 50% 120%, rgba(139, 92, 255, 0.10), transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(250, 249, 246, 0.94);
  border-bottom: 1px solid rgba(17, 18, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111218;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.brand:hover { color: #0a6e7a; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: #4a5160;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #111218;
  background: rgba(17, 18, 24, 0.06);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(17, 18, 24, 0.14);
  color: #111218;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero
   -------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.04) brightness(1.04);
}
.hero-bar {
  position: relative;
  z-index: 1;
  background: rgba(8, 9, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 22px;
}
.hero-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 7, 11, 0), rgba(7, 7, 11, 0.28));
}
.hero-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.hero .actions { flex-shrink: 0; }
.hero-text { min-width: 0; max-width: 40rem; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.lede {
  max-width: 38rem;
  color: #d5dbeb;
  font-size: 1.02rem;
  margin: 0;
}
.hero .lede {
  color: #e6ebf6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: #061016;
  background: linear-gradient(90deg, var(--cyan), #7af0ff);
  transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { filter: brightness(1.06); color: #061016; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.btn-magenta {
  background: linear-gradient(90deg, var(--magenta), #ff7ac0);
  color: #1a0610;
}
.btn[aria-disabled="true"],
.btn.is-soon {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
  filter: none;
  transform: none;
}

/* Sections
   -------------------------------------------------- */
.section { padding: 84px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0;
  letter-spacing: -0.03em;
}
.section-head p { margin: 6px 0 0; color: var(--muted); }

.page-hero {
  padding: 64px 0 20px;
}
.page-hero p { color: var(--muted); max-width: 40rem; }

/* Cards / grids
   -------------------------------------------------- */
.album-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}
.cover {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #000;
}
.cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tracklist a,
.track-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.tracklist a:hover { background: rgba(255,255,255,0.03); color: #fff; }
.track-no { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.track-title { font-weight: 600; }
.track-meta { color: var(--dim); font-size: 0.82rem; }

.cards-3,
.cards-4,
.songbooks-grid {
  display: grid;
  gap: 20px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.songbooks-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card img.cover-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 18px 18px 20px; }
.card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.member {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}
.member-body { padding: 18px; }
.member h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.15rem; }
.role { color: var(--cyan); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
.member p { color: #c9d0e0; font-size: 0.95rem; margin: 0; }

.note {
  border: 1px solid var(--line);
  background: rgba(59, 231, 255, 0.05);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #d7deee;
}
.note strong { color: #fff; }

/* Lyrics
   -------------------------------------------------- */
.lyric-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  padding-bottom: 120px;
}
.lyric-card {
  background: linear-gradient(180deg, #12141c, #0d0f16);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.lyric-card header { margin-bottom: 28px; }
.lyric-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1;
}
.lyric-meta { color: var(--muted); margin: 0; }
.lyrics {
  font-family: var(--font-lyric);
  font-size: 1.2rem;
  line-height: 1.55;
  color: #ece7dc;
}
.lyrics .label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 26px 0 8px;
  font-weight: 700;
}
.lyrics p { margin: 0 0 16px; white-space: pre-wrap; }
.copyright {
  margin-top: 36px;
  color: var(--dim);
  font-size: 0.85rem;
}

.listen-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: rgba(7,7,11,0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.listen-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.listen-bar .title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listen-tracks-heading {
  margin: 42px 0 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.track-listen-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.track-listen-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-3);
}

.track-listen-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 10px;
}

.track-listen-head:hover { color: #fff; }

.track-listen-head .track-no {
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

/* Listen page
   -------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.service-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--ink);
  min-height: 72px;
  font-weight: 600;
}
.service-tile:hover { border-color: rgba(59,231,255,0.45); color: #fff; }
.service-tile.is-soon {
  color: var(--dim);
  pointer-events: none;
}
.pill {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid rgba(255,200,87,0.3);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Contact
   -------------------------------------------------- */
form.contact {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
label { font-size: 0.88rem; color: var(--muted); display: grid; gap: 6px; }
input, textarea, select {
  width: 100%;
  background: #0b0d14;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus {
  outline: 2px solid rgba(59,231,255,0.35);
  border-color: var(--cyan);
}
.hp { position: absolute; left: -9999px; }
.form-status {
  margin: 0;
  max-width: 640px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.form-status.is-ok {
  color: var(--ink);
  border-color: rgba(59,231,255,0.35);
  background: rgba(59,231,255,0.08);
}
.form-status.is-wait {
  color: var(--ink);
  border-color: rgba(255,200,87,0.35);
  background: rgba(255,200,87,0.08);
}
.form-status.is-err {
  color: var(--ink);
  border-color: rgba(255,61,154,0.35);
  background: rgba(255,61,154,0.08);
}

/* Gallery
   -------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.gallery .wide { grid-row: 1 / span 2; }
.gallery .pos-top { object-position: center top; }
.gallery .pos-faces { object-position: center 22%; }

/* Footer
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
  color: var(--muted);
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h2, .site-footer h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crosslink {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(59,231,255,0.28);
  border-radius: 14px;
  color: #cfe;
}

/* Responsive
   -------------------------------------------------- */
@media (max-width: 900px) {
  .album-hero-grid,
  .cards-3,
  .cards-4,
  .footer-grid { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery .wide { grid-column: 1 / span 2; grid-row: auto; height: 240px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(250, 249, 246, 0.98);
    border-bottom: 1px solid rgba(17, 18, 24, 0.08);
    flex-direction: column;
    padding: 12px 16px 18px;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero { min-height: 68vh; }
  .hero-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .wrap, .header-inner { width: min(var(--max), calc(100% - 28px)); }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery .wide { grid-column: auto; height: 220px; }
  .listen-bar .title { display: none; }
  .legal { flex-direction: column; }
}
