:root {
  --bg: #0b0b0d;
  --bg-2: #141417;
  --fg: #ededee;
  --muted: #8d8d93;
  --line: #26262b;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(56px, 8vw, 104px); }
.page-top { padding-top: 120px; }

.label { font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); background: linear-gradient(var(--bg) 0, rgb(11 11 13 / .85) 60%, transparent); }
.nav-logo img { width: 28px; height: 28px; filter: invert(1); }
.nav nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav nav a { font: 400 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--fg); }

/* Knapper */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid #3a3a41; border-radius: 2px; font: 500 15px var(--sans); text-decoration: none; color: var(--fg); transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--fg); }
.btn-primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary:hover { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; text-decoration: none; }
.chip:hover { border-color: var(--fg); }

/* To kolonner: label til venstre, innhold til høyre */
.two-col > * { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.prose p + p, .prose blockquote, .prose p + blockquote + p { margin-top: 1.1em; }
.prose { font-size: 18px; line-height: 1.7; color: #d5d5d8; }

/* Presseskriv */
.release-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 104px; min-height: min(100vh, 920px); }
.release-hero .cover { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.release-title { font: 400 clamp(56px, 8vw, 112px)/.95 var(--serif); letter-spacing: -.01em; margin: 14px 0 22px; }
.release-date { font: 400 clamp(22px, 2.6vw, 30px)/1.3 var(--serif); font-style: italic; color: var(--muted); margin-bottom: 32px; }
.release-date strong { font-weight: 400; color: var(--fg); }
.press-contact { margin-top: 28px; font-size: 14px; color: var(--muted); }
.press-contact a { color: var(--fg); }
@media (max-width: 760px) {
  .release-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; }
  .release-hero .btns { flex-direction: column; }
  .release-hero .btn { justify-content: center; }
}

.headline { font: 400 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); color: var(--fg); margin-bottom: 18px; }
.lede { font-size: 21px; line-height: 1.5; color: var(--fg); }
.release-text blockquote { border-left: 2px solid var(--fg); padding-left: 20px; font: italic 400 24px/1.4 var(--serif); color: var(--fg); }
.draft-note { margin-top: 0; padding: 24px; border: 1px dashed #3a3a41; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 32px; }
.facts dt { font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 4px; font-size: 15px; }

.artist-intro { display: grid; grid-template-columns: 200px 1fr; gap: 16px 48px; align-items: end; }
.artist-intro img { width: 200px; aspect-ratio: 3/4; object-fit: cover; }
.artist-name { font: 400 56px/1 var(--serif); margin: 8px 0 12px; }
@media (max-width: 760px) { .artist-intro { grid-template-columns: 1fr; } }

/* Presse og meritter */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.quote { background: var(--bg-2); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { font: 400 26px/1.25 var(--serif); }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption a { text-decoration: none; }
.quote strong { color: var(--fg); font-weight: 500; margin-right: 6px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.stat { padding-top: 8px; }
.stat-n { display: block; font: 400 64px/1 var(--serif); }
.stat-l { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.merits { list-style: none; counter-reset: m; margin-top: 40px; columns: 2 320px; column-gap: 48px; }
.merits li { counter-increment: m; break-inside: avoid; padding: 8px 0; }
.merits li::before { content: counter(m, decimal-leading-zero); font: 12px var(--mono); color: var(--muted); margin-right: 16px; }

.link-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

/* Artistside */
.artist-hero { min-height: min(82vh, 900px); display: flex; align-items: flex-end; padding-bottom: 48px; background: center 30% / cover no-repeat; position: relative; }
.artist-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--bg)); }
.artist-hero .wrap { position: relative; }
.artist-title { font: 400 clamp(80px, 14vw, 180px)/.9 var(--serif); margin-top: 8px; }
.latest { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; padding-top: 24px; }
.latest-card { display: flex; align-items: center; gap: 20px; text-decoration: none; padding: 12px 24px 12px 12px; background: var(--bg-2); flex: 1 1 360px; }
.latest-card img { width: 96px; height: 96px; object-fit: cover; }
.latest-card > span { display: flex; flex-direction: column; gap: 2px; }
.latest-title { font: 400 30px/1.1 var(--serif); }
.latest-cta { font-size: 14px; color: var(--muted); }
.latest-card:hover .latest-cta { color: var(--fg); }
.live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: clamp(56px, 8vw, 104px); }
.live img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.release-list { list-style: none; margin-top: 12px; }
.release-list a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; text-decoration: none; font: 400 26px var(--serif); }
.release-list .muted { font: 14px var(--sans); align-self: center; }

/* Forside */
.home-hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; background: center / cover no-repeat; position: relative; padding: 80px var(--gutter); }
.home-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(11 11 13 / .35), rgb(11 11 13 / .55) 70%, var(--bg)); }
.home-hero > * { position: relative; }
.home-logo { width: clamp(180px, 24vw, 280px); filter: invert(1); }
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 20px; }
.artist-card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.artist-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; margin-bottom: 12px; transition: opacity .2s; }
.artist-card:hover img { opacity: .85; }
.artist-card-name { font: 400 34px/1.1 var(--serif); }
.about { font: 400 clamp(28px, 3.4vw, 40px)/1.25 var(--serif); }

.video { aspect-ratio: 16/9; margin-top: 24px; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { margin-top: clamp(96px, 12vw, 160px); padding: 0 0 40px; }
.footer-mail { display: inline-block; margin-top: 10px; font: 400 clamp(32px, 5vw, 56px)/1.1 var(--serif); text-decoration: none; }
.footer-mail:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.footer-meta { margin-top: 40px; font: 12px var(--mono); color: var(--muted); }

/* Knapper med filinfo */
.btn small { margin-left: 8px; font: 400 11px var(--mono); letter-spacing: .04em; opacity: .6; }

/* Spiller */
.player { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 14px 20px 14px 14px; background: var(--bg-2); max-width: 520px; }
.play { flex: none; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--fg); color: var(--bg); cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.play:hover { transform: scale(1.05); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play .i-pause, .player.playing .i-play { display: none; }
.player.playing .i-pause { display: inline; }
.player-body { flex: 1; min-width: 0; }
.player-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 10px; }
.player-time { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.seek { --p: 0%; width: 100%; height: 4px; appearance: none; -webkit-appearance: none; background: linear-gradient(var(--fg), var(--fg)) 0 / var(--p) 100% no-repeat, #34343a; border-radius: 2px; cursor: pointer; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--fg); }
.seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--fg); }

/* Pressefoto-galleri */
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gallery-note { margin-top: 8px; font-size: 15px; color: var(--muted); }
.gallery { columns: 4 220px; column-gap: 16px; margin-top: 24px; }
.gallery a { position: relative; display: block; margin-bottom: 16px; break-inside: avoid; text-decoration: none; }
.gallery img { width: 100%; transition: opacity .2s; }
.gallery span { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: rgb(11 11 13 / .8); font-size: 13px; opacity: 0; transition: opacity .2s; }
.gallery a:hover img { opacity: .8; }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; }
@media (hover: none) { .gallery span { opacity: 1; } }

/* Bildeviser for pressefoto */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.lightbox::backdrop { background: transparent; }
.lb-top { display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lb-credit { }
.lb-close { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--fg); font-size: 20px; cursor: pointer; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); color: var(--fg); font-size: 22px; cursor: pointer; }
.lb-nav:hover { background: rgb(255 255 255 / .18); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 16px var(--gutter) 4px; }
.lb-thumbs button { flex: none; width: 56px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .4; transition: opacity .15s; }
.lb-thumbs button.on, .lb-thumbs button:hover { opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 16px var(--gutter) 24px; }
@media (max-width: 760px) {
  .lb-stage { padding: 0; }
  .lb-nav { display: none; }
  .lb-credit { display: none; }
  .lb-bottom .btn { flex: 1 1 100%; justify-content: center; }
}
.lightbox :focus:not(:focus-visible) { outline: none; }

/* Metadata-vindu */
.sheet { margin: auto; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; background: var(--bg-2); color: var(--fg); }
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgb(0 0 0 / .75); }
.sheet-head { display: flex; align-items: center; gap: 16px; padding: 20px 16px 0 28px; }
.sheet-title { flex: 1; font: 400 30px/1.15 var(--serif); }
.sheet-body { overflow-y: auto; padding: 8px 28px 8px; }
.sheet-body h3 { margin: 24px 0 10px; font: 400 22px var(--serif); }
.sheet-body dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 5px 0; font-size: 15px; }
.sheet-body dt { color: var(--muted); }
.sheet-body dd { user-select: all; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 28px 28px; }
.sheet :focus:not(:focus-visible) { outline: none; }
button.btn { cursor: pointer; background: none; }
button.btn-primary { background: var(--fg); }
@media (max-width: 760px) {
  .sheet-body dl div { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
  .sheet-actions .btn { flex: 1; justify-content: center; }
}
