/* Prime – partyband.
   Idé: siden står i scenelyset. Sort scene og magenta spot fra logoet.
   Det ene markante element er setlisten på scenegulvet –
   resten holdes stille. */
:root {
  --stage: #000000;        /* sort scene */
  --stage-2: #0e0d10;      /* alternativ sektion */
  --stage-3: #1c1a1f;      /* felter, flader */
  --ink: #f5f3f6;
  --muted: #aaa5ae;
  --spot: #ff2d87;         /* magenta spot */
  --spot-hi: #ff5ba3;
  --paper: #f2eee4;        /* setliste-papir */
  --marker: #15151a;
  --tape: #3a3940;
  --rule: rgba(255, 255, 255, .14);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Permanent Marker", "Comic Sans MS", cursive;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

/* Typografisk skala (ca. 1.333) */
h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(3.4rem, 8.2vw, 7.6rem); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: .5em; max-width: 16ch; }
h3 { font: 600 1.06rem/1.3 var(--body); margin-bottom: .9em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--spot); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.7em;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s;
}
.btn--primary { background: var(--spot); color: #fff; }
.btn--primary:hover { background: var(--spot-hi); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--sm { min-height: 42px; padding: 0 1.25em; font-size: .92rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo img { width: 52px; height: 52px; object-fit: contain; }
.nav__logo span { font: 900 1.9rem/1 var(--display); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--spot);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .55) 60%, var(--stage) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 62%);
}
.hero h1 { max-width: 11ch; margin-bottom: .32em; text-shadow: 0 6px 50px rgba(0, 0, 0, .45); }
.hero__lead { max-width: 34em; font-size: clamp(1.06rem, 1.45vw, 1.22rem); color: #eceaee; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero__fact { max-width: 34em; margin: 0; padding-left: 14px; border-left: 3px solid var(--spot); color: var(--muted); font-size: .95rem; }

/* ---------- Sektioner ---------- */
.section { padding: clamp(84px, 13vh, 150px) 0; }
.section--alt { background: var(--stage-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__text > p { max-width: 36em; color: #dcdadf; }
.split__text .btn { margin-top: .6em; }
.split--reverse .split__media { order: -1; }
.split--form { align-items: start; grid-template-columns: .8fr 1.2fr; }

.photo { width: 100%; border-radius: 4px; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden;
  background: #000 url("../img/prime-07-thumb.webp") center / cover;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.duo .photo { aspect-ratio: 1 / 1; }

/* ---------- Repertoire: setlister på scenegulvet ---------- */
.section--floor {
  background:
    radial-gradient(ellipse 70% 60% at 72% 45%, rgba(255, 45, 135, .11), transparent 70%),
    linear-gradient(180deg, var(--stage) 0%, #000 100%);
}
.rep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.rep__text > p:first-of-type { color: #dcdadf; font-size: 1.08rem; }
.rep__points { margin: 1.6em 0; border-top: 1px solid var(--rule); }
.rep__points li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: #dcdadf; }

.setlists {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px;
  padding: 28px 8px 8px;
}
.sheet {
  position: relative;
  background: var(--paper);
  color: var(--marker);
  padding: 34px 28px 30px;
  font-family: var(--hand);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 22px 40px -18px rgba(0, 0, 0, .7);
  /* let papirstruktur: svage linjer som fra en blok */
  background-image: linear-gradient(transparent 0 calc(100% - 1px), rgba(21, 21, 26, .06) 0);
  background-size: 100% 2.05em;
}
.sheet h3 {
  font: 400 2rem/1 var(--hand);
  margin: 0 0 .5em;
  color: var(--spot);
}
.sheet li { font-size: 1.22rem; line-height: 1.68; }
/* gaffatape i hjørnerne */
.sheet::before, .sheet::after {
  content: ""; position: absolute; top: -12px; width: 78px; height: 26px;
  background: var(--tape);
  opacity: .92;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.sheet::before { left: -14px; transform: rotate(-32deg); }
.sheet::after { right: -14px; transform: rotate(28deg); }
.sheet--a { transform: rotate(-2.2deg); }
.sheet--b { transform: rotate(1.6deg) translateY(18px); }
.sheet--note {
  grid-column: 1 / -1; justify-self: center; width: min(100%, 500px);
  transform: rotate(-.8deg); padding: 28px 28px 24px;
}
.sheet--note h3 { font-size: 1.6rem; }
.sheet--note li { font-size: 1.1rem; }
.sheet--note::after { display: none; }
.sheet--note::before { left: 50%; top: -14px; transform: translateX(-50%) rotate(-3deg); }

/* ---------- Anbefalinger ---------- */
.anbef-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(56px, 7vw, 96px); }
.anbef-top h2 { margin: 0; }
.pull { margin: 0; }
.pull blockquote {
  margin: 0;
  font: 800 clamp(2rem, 4.4vw, 3.7rem)/1.02 var(--display);
  text-transform: uppercase;
  color: var(--spot);
}
.pull blockquote::before { content: "”"; }
.pull blockquote::after { content: "”"; }
.pull figcaption { margin-top: 18px; color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px clamp(32px, 5vw, 72px); }
.quote { margin: 0; padding-top: 22px; border-top: 2px solid var(--spot); }
.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.6; color: #eceaee; max-width: 36em; }
.quote figcaption { color: var(--muted); font-size: .94rem; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

.clients { margin-top: clamp(64px, 8vw, 104px); }
.clients h3 { color: var(--muted); font-weight: 500; }
.clients ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.clients li { font: 700 clamp(1.15rem, 1.7vw, 1.45rem)/1.4 var(--display); text-transform: uppercase; letter-spacing: .01em; color: #d6d3d9; }

/* ---------- Galleri ---------- */
#galleri h2 { margin-bottom: .7em; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; grid-auto-flow: dense; }
.gallery li { overflow: hidden; border-radius: 4px; background: var(--stage-3); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery a { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .95); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; border-radius: 4px; object-fit: contain; }
.lightbox__btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(28, 26, 31, .85); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: var(--spot); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Booking ---------- */
.contact { display: flex; flex-direction: column; gap: 4px; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.contact__name { font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.contact a { width: fit-content; color: var(--spot); text-decoration: none; font-size: 1.1rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.contact a:hover { background-size: 100% 1px; }

.formbox { background: var(--stage); border-radius: 8px; padding: clamp(22px, 3vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--stage-3); border: 1px solid transparent; border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #7a7680; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--spot); box-shadow: 0 0 0 3px rgba(255, 45, 135, .28); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--spot); }
.field .err { font-size: .86rem; color: #ff8fbf; }
.form__foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.form__status { margin: 0; font-size: .94rem; color: var(--muted); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: none; margin-bottom: 22px; padding: 16px 18px; border-radius: 6px; font-size: .98rem; }
.notice a { color: inherit; }
.notice--ok { background: rgba(70, 214, 150, .14); border-left: 3px solid #46d696; color: #d2f7e5; }
.notice--err { background: rgba(255, 45, 135, .14); border-left: 3px solid var(--spot); color: #ffd6e7; }
.notice:target, .notice.is-shown { display: block; }

/* ---------- Footer ---------- */
.footer { padding: 34px 0; border-top: 1px solid var(--rule); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: .92rem; }
.footer p a { color: var(--spot); text-decoration: none; }
.footer p a:hover { text-decoration: underline; }
.footer .nav__logo img { width: 40px; height: 40px; }

/* ---------- Responsivt ---------- */
@media (max-width: 1080px) {
  .rep { grid-template-columns: 1fr; }
  .setlists { max-width: 720px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; justify-content: center; gap: 20px;
    background: var(--stage);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  /* backdrop-filter gør headeren til "containing block" for den faste menu – slå den fra når menuen er åben */
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--stage); }
  .nav__links a:not(.btn) { font: 900 2.4rem/1 var(--display); text-transform: uppercase; }
  .nav__links .btn { margin-top: 12px; min-height: 52px; padding: 0 2em; font-size: 1rem; }

  .split, .split--form, .anbef-top { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .photo--tall { aspect-ratio: 16 / 11; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .setlists { grid-template-columns: 1fr; gap: 34px; padding: 20px 10px 0; }
  .sheet--b { transform: rotate(1.4deg); }
  .sheet { padding: 28px 20px 22px; }
  .sheet li { font-size: 1.05rem; line-height: 1.55; }
  .sheet h3 { font-size: 1.7rem; }
  .quotes, .form { grid-template-columns: 1fr; }
  .clients ul { gap: 4px 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .gallery .g-tall { grid-row: span 1; }
  .form__foot .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; translate: none; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
