:root {
  --bg: #0d0c0b;
  --bg-2: #171513;
  --bg-3: #221f1c;
  --line: #34302b;
  --text: #ece6dc;
  --muted: #a39a8d;
  --accent: #e3b324;   /* sennepsgul fra Liverpool-coveret */
  --red: #c4291c;
  --radius: 4px;
  --max: 1180px;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Filmkorn over hele siden */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #fff; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Topplinje ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(16px, 4vw, 40px);
  background: rgba(13, 12, 11, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__logo img { height: 34px; width: auto; }
.topbar__nav { display: flex; gap: clamp(.75rem, 2vw, 1.6rem); }
.topbar__nav a {
  font: 700 1rem/1 var(--font-cond);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); text-decoration: none;
}
.topbar__nav a:hover { color: var(--accent); }
.topbar__toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  font-size: 1.3rem; padding: .2rem .6rem; border-radius: var(--radius); cursor: pointer;
}
@media (max-width: 860px) {
  .topbar__toggle { display: block; }
  .topbar__nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav a { padding: .95rem clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid; place-items: end center;
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: contrast(1.1) brightness(.75);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(13,12,11,.1) 30%, rgba(13,12,11,.6) 65%, var(--bg) 100%);
}
.hero__content { text-align: center; padding: 0 16px clamp(3rem, 8vh, 6rem); }
.hero__title { margin: 0; }
.hero__logo { width: min(640px, 88vw); height: auto; margin: 0 auto; filter: drop-shadow(0 4px 20px rgba(0,0,0,.6)); }
.hero__tag {
  margin: 1rem 0 1.75rem;
  font: 500 clamp(1rem, 2.4vw, 1.35rem)/1.3 var(--font-cond);
  text-transform: uppercase; letter-spacing: .14em; color: var(--text);
}
.hero__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font: 700 1rem/1 var(--font-cond);
  text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  background: var(--accent); color: #111;
  border: 2px solid var(--accent); border-radius: var(--radius);
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { background: #fff; border-color: #fff; color: #111; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #111; }

/* ---------- Seksjoner ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(16px, 4vw, 40px);
}
.section--narrow { max-width: 820px; }
.section + .section { border-top: 1px solid var(--line); }
.section__title {
  margin: 0 0 2rem;
  font: 400 clamp(2.4rem, 6vw, 4rem)/1 var(--font-display);
  text-transform: uppercase; letter-spacing: .01em;
}
.section__title::after {
  content: ""; display: block; width: 64px; height: 5px; margin-top: .8rem;
  background: var(--red);
}
.subhead {
  margin: 4rem 0 1.5rem;
  font: 400 1.8rem/1 var(--font-display); text-transform: uppercase;
}

.prose p { margin: 0 0 1.1em; }
.lead { font-size: 1.35rem; line-height: 1.45; color: #fff; }
.more summary {
  cursor: pointer; display: inline-block;
  font: 700 1rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 1.2rem;
}
.more[open] summary { margin-bottom: 1.5rem; }

/* ---------- Band ---------- */
.members {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.member {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.member img, .member__initials {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  filter: grayscale(1) contrast(1.15);
  transition: filter .3s;
}
.member:hover img { filter: none; }
.member__initials {
  display: grid; place-items: center;
  background: var(--bg-3); color: var(--line);
  font: 400 6rem/1 var(--font-display);
}
.member__body { padding: 1.1rem 1.25rem 1.4rem; }
.member h3 { margin: 0; font: 400 1.6rem/1.1 var(--font-display); text-transform: uppercase; }
.member__role {
  margin: .3rem 0 .8rem;
  font: 500 .95rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--accent);
}
.member p:last-child { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Spiller ---------- */
.player {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.75rem);
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-areas: "now list" "audio list";
  align-items: start;
}
.player__now { grid-area: now; display: flex; gap: 1rem; align-items: center; }
.player__cover { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); flex: none; }
.player__label { margin: 0; font: 500 .85rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.player__title { margin: .35rem 0 0; font: 400 1.7rem/1.1 var(--font-display); text-transform: uppercase; }
.player audio { grid-area: audio; width: 100%; }
.tracklist {
  grid-area: list; margin: 0; padding: 0; list-style: none; counter-reset: t;
  border-left: 1px solid var(--line);
}
.tracklist li { counter-increment: t; }
.tracklist button {
  width: 100%; display: flex; gap: .9rem; align-items: baseline;
  padding: .55rem 1rem; text-align: left; cursor: pointer;
  background: none; border: 0; color: var(--text); font: inherit; font-size: 1rem;
}
.tracklist button::before {
  content: counter(t, decimal-leading-zero);
  font: 500 .85rem/1 var(--font-cond); color: var(--muted); width: 1.5rem;
}
.tracklist button:hover { background: var(--bg-3); }
.tracklist button.is-active { color: var(--accent); }
.tracklist button.is-active::before { content: "▶"; color: var(--accent); }
@media (max-width: 760px) {
  .player { grid-template-columns: 1fr; grid-template-areas: "now" "audio" "list"; }
  .tracklist { border-left: 0; border-top: 1px solid var(--line); }
  .tracklist button { padding-left: 0; padding-right: 0; }
  .player__cover { width: 84px; height: 84px; }
}

/* ---------- Diskografi ---------- */
.discs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.disc {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.25rem;
  padding: 1.25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.disc img { width: 150px; height: 150px; object-fit: cover; border-radius: 2px; }
.disc h4 { margin: 0; font: 400 1.5rem/1.1 var(--font-display); text-transform: uppercase; }
.disc__meta { margin: .3rem 0 .7rem; font: 500 .95rem/1.3 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.disc p { margin: 0 0 .6rem; font-size: .98rem; }
.spotify-link {
  display: inline-block; margin-top: .9rem;
  font: 700 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em;
  color: #1ed760; text-decoration: none;
}
.spotify-link:hover { color: #fff; }
.disc__tracks { margin: .6rem 0 0; padding-left: 1.3rem; columns: 2; column-gap: 1.5rem; font-size: .92rem; color: var(--muted); }
@media (max-width: 520px) {
  .disc { grid-template-columns: 1fr; }
  .disc img { width: 100%; height: auto; aspect-ratio: 1; }
  .disc__tracks { columns: 1; }
}

/* ---------- Konserter ---------- */
.gigs { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.gigs__year { border-bottom: 1px solid var(--line); }
.gigs__year summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 0;
  font: 400 2rem/1 var(--font-display);
}
.gigs__year summary::-webkit-details-marker { display: none; }
.gigs__year summary span { font: 500 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gigs__year summary::after { content: "+"; font-family: var(--font-cond); color: var(--accent); margin-left: 1rem; }
.gigs__year[open] summary::after { content: "–"; }
.gigs__year summary span { margin-left: auto; }
.gigs ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.gigs li { display: flex; gap: 1rem; padding: .35rem 0; }
.gigs time { flex: none; width: 2.6rem; font: 700 .95rem/1.65 var(--font-cond); text-transform: uppercase; color: var(--accent); }
.gigs em { color: var(--muted); font-style: normal; }

/* ---------- Presse ---------- */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.quote {
  margin: 0; padding: 1.5rem 1.6rem;
  background: var(--bg-2); border-left: 4px solid var(--red); border-radius: var(--radius);
}
.quote p { margin: 0 0 1rem; font-size: 1.05rem; font-style: italic; }
.quote cite { font: 700 .95rem/1 var(--font-cond); font-style: normal; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.quote--big { grid-column: 1 / -1; background: none; border-left: 0; padding: 0 0 1rem; text-align: center; }
.quote--big p { font: 400 clamp(1.6rem, 4vw, 2.6rem)/1.15 var(--font-display); font-style: normal; text-transform: uppercase; }

/* ---------- Tekster ---------- */
.lyrics { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.lyrics details { border-bottom: 1px solid var(--line); }
.lyrics summary {
  cursor: pointer; padding: .95rem 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline;
  font: 400 1.35rem/1.2 var(--font-display); text-transform: uppercase;
}
.lyrics summary span { font: 500 .9rem/1 var(--font-cond); text-transform: none; letter-spacing: .04em; color: var(--muted); }
.lyrics pre {
  margin: 0 0 1.5rem; white-space: pre-wrap;
  font: 400 1.02rem/1.7 var(--font-body); color: var(--text);
}
.lyrics pre em { color: var(--muted); }

/* ---------- Galleri ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tabs button {
  padding: .55rem 1rem; cursor: pointer;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  font: 700 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em;
}
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #111; }
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery button { padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; filter: saturate(.85); }
.gallery button:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 4px; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(0,0,0,.94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 400 3rem/1 var(--font-body); padding: 1rem; opacity: .75;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lightbox__close { top: .25rem; right: .5rem; }
.lightbox__nav--prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; margin: 0; font: 500 .95rem/1 var(--font-cond); letter-spacing: .1em; color: var(--muted); }

/* ---------- Kontakt / footer ---------- */
.contact { text-align: center; }
.contact .section__title::after { margin-left: auto; margin-right: auto; }
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 16px 3rem; text-align: center;
  font: 500 .95rem/1.6 var(--font-cond); letter-spacing: .06em; text-transform: uppercase;
}
.footer p { margin: .2rem 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
