:root {
  --bg: #090909;
  --panel: #111111;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f3f3;
  --muted: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
}

a {
  color: var(--text);
  text-decoration: none;
}

.topnav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a,
.brand {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.home-page {
  background: #090909;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.home-page .banner {
  position: sticky;
  top: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100vw;
  height: 150vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    url("../IMG_1428.jpg") center 78% / cover no-repeat fixed;
  filter: grayscale(1);
}

.home-page .banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08));
}

.home-page .topnav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  justify-content: space-between;
  padding: 18px 8vw 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(8px);
}

.home-page .nav-links { gap: 18px; }
.home-page .brand { color: var(--muted); }

.home-page .content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 0 8vw;
}

.title-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 760px;
  text-align: left;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  transition: transform 0.12s ease-out, opacity 0.12s ease-out;
  will-change: transform, opacity;
}

.home-page .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.logo-image {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: url("../entiteetti-mv1.jpg") center / cover no-repeat;
}
.yhteys-page .logo-image {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: url("../entiteetti-mv1.jpg") center / cover no-repeat;
  transform: translateY(-5px);  
}
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.home-page h1 {
  font-size: clamp(3.2rem, 8vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.social-link svg { width: 17px; height: 17px; fill: currentColor; }

.scroll-space { height: 55vh; background: rgba(9, 9, 9, 0.92); }

.updates {
  position: relative;
  z-index: 1;
  padding: 0 8vw 80px;
  background: rgba(9, 9, 9, 0.96);
}

.updates-inner { max-width: 1100px; margin: 0 auto; padding-top: 24px; }

.updates-label,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.24rem;
  text-transform: uppercase;
}

.updates-label { margin-bottom: 18px; }
.updates-grid { display: grid; grid-template-columns: 1fr; gap: 0; }

.update-card {
  width: 82%;
  min-height: 220px;
  margin: 0 auto 18px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.update-card .date {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.update-card h3 { margin: 0 0 10px; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.update-card h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.contact-updates {
  margin: 0 -24px;
  padding-top: 24px;
  background: transparent;
}

.page-page {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.7)),
    url("../IMG_1574.jpg") center 82% / cover no-repeat fixed;
}

.band-page {
  scroll-snap-type: y mandatory;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72)),
    url("../Entiteetti1.jpg") center / cover no-repeat fixed;
}
.yhteys-page {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72)),
    url("../Entiteetti1.jpg") center / cover no-repeat fixed;
}
.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.page-page .topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  justify-content: space-between;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(8px);
}

.brand { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.2rem; }
.page-page .nav-links { gap: 18px; }
.page-page .nav-links a { letter-spacing: 0.18rem; }
.header { padding: 72px 0 32px; }
.header .eyebrow { margin-bottom: 16px; }
.band-hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 0;
  scroll-snap-align: start;
}

.band-hero h1 {
  font-size: clamp(4rem, 14vw, 11rem);
}

.members {
  padding: 90px 0 20px;
}

.members > h2 {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
}

.member-grid {
  display: grid;
  gap: 0;
}

.member-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.72);
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.member-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.member-card:nth-child(even) img { order: 2; }

.member-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: grayscale(1);
}

.member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.member-info h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.member-info p { margin: 6px 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .member-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.concerts { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 18px; }
.panel { padding: 22px 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.panel h2 { margin: 0 0 20px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.22rem; text-transform: uppercase; }
.list { display: grid; gap: 16px; }
.gig { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.gig:first-child { padding-top: 0; border-top: none; }
.date { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12rem; text-transform: uppercase; }
.info { display: grid; gap: 4px; }
.venue { font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; }
.city { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.1rem; text-transform: uppercase; }
.ticket { display: inline-block; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.68rem; letter-spacing: 0.12rem; text-transform: uppercase; transition: background 0.2s ease, border-color 0.2s ease; }
.ticket:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.55); }

@media (max-width: 760px) {
  .home-page .banner { height: 100vh; background-position: center 42%; }
  .home-page .topnav { padding: 18px 5vw 20px; }
  .home-page .nav-links { flex-wrap: nowrap; gap: 6px; justify-content: flex-end; overflow: hidden; white-space: nowrap; }
  .home-page .nav-links a { flex-shrink: 0; font-size: 0.62rem; letter-spacing: 0.06rem; }
  .home-page .content { align-items: flex-end; padding: 0 5vw; }
  .title-wrap { flex-direction: column; align-items: flex-start; gap: 12px; width: min(84vw, 320px); margin-bottom: 10vh; }
  .home-page .eyebrow { margin-bottom: 0; font-size: 0.72rem; letter-spacing: 0.12rem; line-height: 1.5; }
  .logo-image { width: 66px; height: 66px; }
  .home-page h1 { font-size: clamp(3rem, 16vw, 4.8rem); line-height: 0.82; }
  .social-links { margin-top: 12px; }
  .social-link { width: 42px; height: 42px; }
  .social-link svg { width: 18px; height: 18px; }
  .updates { padding-bottom: 60px; }
  .updates-label { font-size: 0.8rem; letter-spacing: 0.18rem; }
  .update-card { width: 100%; padding: 22px 18px; }
  .update-card h3 { font-size: 1.2rem; }
  .update-card p { font-size: 0.98rem; line-height: 1.7; }
  .gig { grid-template-columns: 1fr; gap: 8px; }
  .ticket { justify-self: start; }
  .band-hero { min-height: calc(100vh - 80px); }
  .members { padding-top: 64px; }
  .member-card { grid-template-columns: 1fr; min-height: 100svh; }
  .member-card:nth-child(even) img { order: initial; }
  .member-card img { min-height: 240px; }
  .member-info { padding: 24px; }
}
