:root {
  --ink: #f7f3ea;
  --muted: #bbb4aa;
  --paper: #11100f;
  --panel: #1b1917;
  --panel-strong: #24211e;
  --line: rgba(247, 243, 234, 0.16);
  --accent: #d84b3f;
  --accent-strong: #ff6a58;
  --shadow: rgba(0, 0, 0, 0.52);
  --title-font: "Copperplate Gothic Bold", "Copperplate Gothic Light", "Perpetua Titling MT", "Trajan Pro", Cinzel, Georgia, serif;
  --text-font: Bahnschrift, "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text-font);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

img {
  display: block;
  max-width: 100%;
}

/* Header is compact and touch-friendly while staying legible over photography. */
.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(18px, 4vw, 56px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.site-header.solid {
  background: rgba(17, 16, 15, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  width: 92px;
}

.brand-mark img {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.72));
  max-height: 100%;
  object-fit: contain;
  width: 100%;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* The home view is a true full-screen band image, with text over the photo. */
.hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.70)),
    url("assets/hero-extended-v1-style-hd-master.jpg") center center / cover no-repeat;
  background-color: #050504;
  background-size: auto 106%;
  min-height: 100svh;
  padding: 140px clamp(18px, 5vw, 72px) 72px;
  position: relative;
}

.hero-copy {
  left: 50%;
  max-width: min(1100px, calc(100% - 36px));
  position: absolute;
  text-align: center;
  top: clamp(88px, 14svh, 140px);
  transform: translateX(-50%);
  width: 100%;
}

.eyebrow,
.role,
.tour-date {
  color: var(--accent-strong);
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--title-font);
  font-size: 128px;
  font-weight: 900;
  line-height: 0.88;
  margin-bottom: 22px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.82);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 0;
  margin-bottom: 18px;
}

.hero-logo {
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.92));
  margin: 0 auto;
  max-height: min(212px, 30svh);
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 18%, black 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mask-image:
    linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 18%, black 100%);
  width: min(1080px, 96vw);
}

.hero-line {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 28px;
  max-width: 560px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.86);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-transform: uppercase;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.photo-credit,
.copyright-mark {
  bottom: 28px;
  color: rgba(187, 180, 170, 0.58);
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  position: absolute;
  text-transform: uppercase;
}

.photo-credit:hover {
  color: rgba(247, 243, 234, 0.82);
}

.photo-credit {
  right: clamp(18px, 5vw, 72px);
}

.copyright-mark {
  left: clamp(18px, 5vw, 72px);
  margin: 0;
}

.newsletter-panel {
  align-items: center;
  background: rgba(7, 6, 5, 0.88);
  border: 1px solid rgba(197, 38, 47, 0.48);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.2fr);
  left: 50%;
  max-width: 920px;
  padding: 22px 56px 22px 24px;
  position: fixed;
  top: clamp(290px, 38svh, 386px);
  transform: translate(-50%, calc(100svh + 120%));
  transition: transform 620ms cubic-bezier(0.19, 1, 0.22, 1);
  width: min(calc(100% - 28px), 920px);
  z-index: 20;
}

.newsletter-panel.is-visible {
  transform: translate(-50%, 0);
}

.newsletter-panel .eyebrow {
  color: #c5262f;
}

.newsletter-panel h2 {
  font-family: var(--title-font);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 0.95;
  margin: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.78);
  text-transform: uppercase;
}

.newsletter-close {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
}

.newsletter-close:hover {
  background: #c5262f;
  border-color: #c5262f;
  color: white;
}

.newsletter-embed {
  overflow: hidden;
}

.newsletter-embed iframe {
  border: 0;
  display: block;
  height: 305px;
  margin: 0 auto;
  max-width: 100%;
  width: 540px;
}

/* Interior pages use generous spacing and high-contrast sections for readability. */
.page-hero,
.split-page,
.member-grid,
.merch-grid,
.tour-list {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 40px);
}

.page-hero.narrow {
  max-width: 920px;
}

.page-hero h1,
.split-copy h1 {
  font-size: 72px;
  line-height: 0.96;
}

.page-hero p,
.split-copy p,
.member-card p,
.tour-row p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.member-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.member-card,
.merch-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px var(--shadow);
  overflow: hidden;
}

.member-card img,
.merch-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.member-photo-slider {
  aspect-ratio: 4 / 3;
  background: #0d0c0b;
  overflow: hidden;
  position: relative;
}

.member-photo-slide {
  aspect-ratio: auto;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
  width: 100%;
}

.member-photo-slide.is-active {
  opacity: 1;
}

.member-photo-slide.member-photo-slide-contain {
  object-fit: contain;
}

/* Tightens Dani's colour slide while keeping the head mostly preserved. */
.member-photo-slide-dani-colour {
  transform: scale(1.20);
  transform-origin: center 18%;
}

/* Portrait Mikko slides keep faces visible inside the landscape card. */
.member-photo-slide-mikko-portrait {
  transform: scale(1.12);
  transform-origin: center top;
}

.member-photo-button {
  align-items: center;
  background: rgba(5, 5, 4, 0.46);
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  z-index: 2;
}

.member-photo-button:hover {
  background: rgba(197, 38, 47, 0.72);
  border-color: rgba(197, 38, 47, 0.82);
}

.member-photo-button-prev {
  left: 12px;
}

.member-photo-button-next {
  right: 12px;
}

.member-card div {
  padding: 24px;
}

.member-card h2,
.merch-card h2 {
  font-family: var(--title-font);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.member-video {
  margin-top: 18px;
}

.member-video summary {
  border: 1px solid rgba(197, 38, 47, 0.54);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-transform: uppercase;
}

.member-video summary:hover {
  background: #c5262f;
  border-color: #c5262f;
  color: white;
}

.member-video iframe {
  aspect-ratio: 16 / 9;
  background: #050504;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 42px var(--shadow);
  display: block;
  margin-top: 14px;
  width: 100%;
}

.merch-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.merch-card {
  background: var(--panel-strong);
}

.merch-card img {
  background: #0d0c0b;
}

.merch-card-copy {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 24px;
}

.merch-card-copy .role,
.merch-card-copy h2 {
  grid-column: 1 / -1;
}

.price {
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.origin {
  color: var(--ink);
  font-weight: 700;
}

.split-page {
  align-items: center;
  display: grid;
  gap: clamp(24px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100svh - 76px);
}

.split-page img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: 0 18px 52px var(--shadow);
  object-fit: cover;
  width: 100%;
}

/* Featured video keeps the music page balanced with the existing split layout. */
.feature-video {
  aspect-ratio: 16 / 9;
  background: #050504;
  border-radius: 8px;
  box-shadow: 0 18px 52px var(--shadow);
  display: block;
  width: 100%;
}

/* Video section follows the album placeholder as a scroll-down feature. */
.video-section {
  align-items: center;
  display: grid;
  gap: clamp(24px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(18px, 4vw, 40px) clamp(56px, 8vw, 96px);
}

.video-copy {
  max-width: 720px;
}

.video-copy h2 {
  font-family: var(--title-font);
  font-size: 48px;
  line-height: 0.96;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.video-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Song players keep native audio as fallback, then add branded controls when JS is active. */
.songs-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(18px, 4vw, 40px) clamp(56px, 8vw, 96px);
}

.songs-heading .eyebrow {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.songs-heading h2 {
  font-family: var(--title-font);
  font-size: 48px;
  line-height: 0.96;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.track-list {
  display: grid;
  gap: 12px;
}

.track-card {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  padding: 22px;
}

.track-card h3 {
  font-family: var(--title-font);
  font-size: 28px;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.track-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.track-card audio {
  width: 100%;
}

.audio-enhanced .track-card audio {
  display: none;
}

.custom-audio-player {
  align-items: center;
  background: rgba(5, 5, 4, 0.78);
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 12px 14px;
}

.audio-toggle {
  align-items: center;
  background: #050504;
  border: 1px solid rgba(247, 243, 234, 0.30);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease;
  width: 46px;
}

.audio-toggle:hover,
.audio-toggle.is-playing {
  background: #c5262f;
  border-color: #c5262f;
}

.audio-icon {
  display: block;
  height: 16px;
  position: relative;
  width: 16px;
}

.audio-icon::before {
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  border-top: 8px solid transparent;
  content: "";
  left: 3px;
  position: absolute;
  top: 0;
}

.audio-toggle.is-playing .audio-icon::before {
  background: currentColor;
  border: 0;
  box-shadow: 8px 0 0 currentColor;
  height: 16px;
  left: 2px;
  width: 4px;
}

.audio-control-body {
  min-width: 0;
}

.audio-seek {
  --progress: 0%;
  appearance: none;
  background: linear-gradient(90deg, var(--ink) 0 var(--progress), rgba(247, 243, 234, 0.18) var(--progress) 100%);
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 8px;
  margin: 0;
  width: 100%;
}

.audio-seek::-webkit-slider-thumb {
  appearance: none;
  background: #050504;
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 16px;
  width: 16px;
}

.audio-seek::-moz-range-thumb {
  background: #050504;
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.audio-time {
  color: rgba(187, 180, 170, 0.78);
  display: flex;
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 800;
  justify-content: space-between;
  line-height: 1;
  margin-top: 10px;
  text-transform: uppercase;
}

.contact-page {
  background: #070605;
  overflow-x: hidden;
}

.contact-page .site-header.solid {
  background: rgba(7, 6, 5, 0.90);
}

.contact-hero {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(300px, 0.92fr) minmax(280px, 0.78fr);
  isolation: isolate;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 200svh;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 40px);
  position: relative;
}

.contact-art-frame {
  align-self: start;
  left: max(clamp(18px, 4vw, 40px), calc((100vw - 1240px) / 2 + clamp(18px, 4vw, 40px)));
  pointer-events: none;
  position: fixed;
  top: calc(60px + clamp(14px, 2.5vw, 34px));
  width: min(46vw, 620px);
  z-index: 0;
}

.contact-art-mask {
  aspect-ratio: 2 / 3;
  display: block;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.66));
  height: min(87svh, 1000px);
  width: 100%;
}

.contact-page .split-copy {
  max-width: 520px;
}

.contact-flow {
  display: grid;
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.contact-panel {
  align-content: center;
  min-height: calc(100svh - 82px);
}

.contact-copy {
  text-align: left;
  transform: translateY(-34px);
}

.contact-page .split-copy h1 {
  font-size: 68px;
  line-height: 0.96;
}

.contact-email {
  color: var(--ink);
  display: inline-block;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: #c5262f;
}

.contact-form-panel h2 {
  font-family: var(--title-font);
  font-size: 56px;
  line-height: 0.96;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form [name="_honey"] {
  display: none;
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: rgba(247, 243, 234, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 164px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-strong);
  outline: 2px solid rgba(255, 106, 88, 0.22);
}

.contact-thanks {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  margin: 18px 0 0;
}

.website-credit {
  color: rgba(187, 180, 170, 0.78);
  font-family: var(--title-font);
  font-size: clamp(7.2px, 2.1vw, 13px);
  font-weight: 800;
  line-height: 1.45;
  margin: 32px 0 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.tour-list {
  display: grid;
  gap: 12px;
  padding-top: 0;
}

.tour-row {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto auto;
  padding: 22px;
}

.tour-row h2 {
  font-size: 24px;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    background: linear-gradient(180deg, rgba(5, 5, 4, 0.78), rgba(5, 5, 4, 0));
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 22px;
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
  }

  .nav-links a {
    font-size: 10px;
    padding: 7px 7px;
  }

  .brand-mark {
    height: 42px;
    width: 68px;
  }

  .hero {
    background-position: center center;
    background-size: auto 106%;
    overflow: hidden;
    padding-bottom: 72px;
    padding-top: 180px;
  }

  .hero-copy {
    top: clamp(168px, 24svh, 212px);
  }

  h1 {
    font-size: 72px;
  }

  .hero h1 {
    margin-bottom: 14px;
  }

  .hero-logo {
    left: 50%;
    max-height: min(252px, 33svh);
    max-width: none;
    min-width: 108vw;
    position: relative;
    transform: translateX(-50%);
    width: 108vw;
  }

  .hero-line {
    font-size: 18px;
  }

  .page-hero h1,
  .split-copy h1 {
    font-size: 36px;
    line-height: 1;
  }

  .video-copy h2,
  .songs-heading h2,
  .contact-form-panel h2 {
    font-size: 34px;
    line-height: 1;
  }

  .contact-page .split-copy h1 {
    font-size: 40px;
    line-height: 1;
  }

  .member-card h2 {
    font-size: 30px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .newsletter-panel,
  .newsletter-embed {
    grid-template-columns: 1fr;
  }

  .newsletter-panel {
    padding: 22px 20px 20px;
    width: 100%;
  }

  .newsletter-embed iframe {
    width: 100%;
  }

  .photo-credit,
  .copyright-mark {
    bottom: max(18px, env(safe-area-inset-bottom));
    color: rgba(247, 243, 234, 0.76);
    display: block;
    font-size: 10px;
    max-width: 44vw;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.88);
  }

  .photo-credit {
    right: 14px;
    text-align: right;
  }

  .copyright-mark {
    left: 14px;
  }

  .member-grid,
  .merch-grid,
  .contact-hero,
  .form-row,
  .split-page,
  .video-section,
  .track-card,
  .tour-row {
    grid-template-columns: 1fr;
  }

  .contact-art-frame {
    inset: 0;
    pointer-events: none;
    position: fixed;
    width: 100vw;
    z-index: 0;
  }

  .contact-art-mask {
    height: 100svh;
    max-height: none;
    min-height: 0;
    opacity: 0.72;
    transform: translateY(42px);
    width: 100vw;
  }

  .contact-hero {
    display: block;
    isolation: isolate;
    max-width: none;
    min-height: 200svh;
    overflow: hidden;
    padding: 0 clamp(18px, 6vw, 32px);
    position: relative;
  }

  .contact-flow {
    grid-column: auto;
    position: relative;
    z-index: 1;
  }

  .contact-panel {
    min-height: 100svh;
    padding: 128px 0 56px;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.92);
  }

  .contact-form-panel {
    align-content: start;
    padding-top: 104px;
  }

  .contact-form input,
  .contact-form textarea {
    background: rgba(247, 243, 234, 0.11);
    border-color: rgba(247, 243, 234, 0.30);
  }

  .contact-copy {
    transform: none;
  }

  .member-card div,
  .merch-card-copy {
    padding: 20px;
  }

  .merch-card-copy {
    grid-template-columns: 1fr;
  }
}

@media (min-aspect-ratio: 16 / 9) {
  .hero {
    background-size: 106% auto;
  }
}
