/* ——————————————————————————————————————————————
   Skeive perspektiver — Queerness × Atelie
   11.–19. juni 2026, Atelie i Via Vika
—————————————————————————————————————————————— */

:root {
  --ink: #292929;
  --paper: #ffffff;
  --warm: #faf9f6;
  --muted: #66615c;
  --line: #e8e5df;
  --yellow: #ffda3e;
  --pride: linear-gradient(90deg, #ea3a1c, #ff9b17, #ffda3e, #50cc8e, #7ed0fc, #ff6ca8);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ——— Pride hairline ——— */
.pride-line { height: 3px; background: var(--pride); border: 0; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--muted); font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: var(--pride);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 0.35s ease;
}

.site-nav a:hover { background-size: 100% 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  height: 41px;
  padding: 2px 22px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn:hover { background: #000; transform: translateY(-1px); }

.btn.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.btn-outline:hover { background: var(--ink); color: #fff; }

.btn.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.btn-yellow:hover { background: #f5cf2e; }

/* ——— Hero ——— */
.hero { padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero .kicker::before {
  content: "";
  width: 44px;
  height: 3px;
  background: var(--pride);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(52px, 9.5vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 360;
}

.hero .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink);
}

.hero .facts .sep { color: #c9c5bd; }

/* ——— Section scaffolding ——— */
section { padding: clamp(56px, 8vw, 104px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-head .count {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Om utstillingen ——— */
.om { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.om .cols { max-width: 780px; }

.om .lede {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.5;
  margin-bottom: 28px;
}

.om p + p { margin-top: 18px; }

.om .body-text { color: #3d3a36; }

.om .signature {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--muted);
}

.om .signature strong { color: var(--ink); font-weight: 600; }

/* ——— Praktisk ——— */
.praktisk .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.praktisk .cell {
  background: var(--paper);
  padding: 34px 30px 38px;
}

.praktisk .cell .label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.praktisk .cell .label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.praktisk .cell .value {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
}

.praktisk .cell .note { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ——— Kunstnere ——— */
.kunstnere { border-top: 1px solid var(--line); }

.kunstnere .section-head { margin-bottom: 28px; }

.artist-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.artist-index a {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.artist-index a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.artist { scroll-margin-top: 76px; }

.artist {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 264px;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.artist:first-of-type { border-top: 0; padding-top: 0; }

.artist .num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 10px;
  font-variant-numeric: tabular-nums;
}

.artist h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.artist .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.artist .bio { color: #3d3a36; max-width: 62ch; }

.artist .bio p + p { margin-top: 12px; }

.artist .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }

.artist .links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.artist .links a:hover { color: var(--ink); border-color: var(--ink); }

.works { margin-top: 26px; }

.works .works-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.works ul { list-style: none; }

.works li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  padding: 8px 0;
  font-size: 15.5px;
}

.works li + li { border-top: 1px dotted #d9d5cd; }

.works .w-title { font-weight: 500; grid-column: 1; }

.works .w-detail { color: var(--muted); font-size: 14px; grid-column: 1; margin-top: 1px; }

.works .w-dots { display: none; }

.works .w-price { color: var(--ink); font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; grid-column: 2; grid-row: 1; align-self: baseline; justify-self: end; }

.works .w-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.artist figure { align-self: start; }

.artist figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.artist figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Bokbord note */
.bokbord {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--warm);
  padding: 28px 32px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.bokbord strong { font-family: var(--serif); font-weight: 500; font-size: 21px; }

.bokbord span { color: var(--muted); }

/* ——— Verksliste-CTA ——— */
.vl-cta { background: var(--ink); color: #fff; }

.vl-cta .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.vl-cta h2 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
}

.vl-cta p { color: #b9b6b1; margin-top: 8px; max-width: 52ch; }

.vl-cta .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.vl-cta .btn:hover { background: #f5cf2e; }

/* ——— Footer ——— */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 64px; background: var(--warm); }

.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer .credit { max-width: 56ch; font-size: 15px; color: var(--muted); }

.site-footer .credit strong { color: var(--ink); font-weight: 600; }

.site-footer .logos {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer .logos img { mix-blend-mode: multiply; }

.site-footer .logos .logo-queerness { width: 64px; height: auto; }

.site-footer .logos .logo-sj { height: 44px; width: auto; }

.site-footer .fine { margin-top: 36px; font-size: 13px; color: #98948d; }

/* ——— Reveal ——— */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ——— Responsive ——— */
@media (max-width: 920px) {
  .artist { grid-template-columns: minmax(0, 1fr) 220px; }
  .artist .num { display: none; }
}

@media (max-width: 680px) {
  .praktisk .grid { grid-template-columns: 1fr; }
  .artist { grid-template-columns: 1fr; }
  .artist figure { order: -1; max-width: 260px; }
  .site-nav { gap: 16px; }
  .site-nav a.hide-m { display: none; }
  .brand { font-size: 12px; letter-spacing: 0.12em; }
  .btn { height: 36px; padding: 2px 16px 0; font-size: 13.5px; }
}

@media (max-width: 480px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ═══════════════════════════════════════════════
   VERKSLISTE (dokument + print)
═══════════════════════════════════════════════ */

.vl-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.vl-toolbar .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.vl-toolbar .back {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.vl-toolbar .back:hover { color: var(--ink); }

.vl-doc {
  max-width: 880px;
  margin: clamp(32px, 5vw, 64px) auto clamp(56px, 8vw, 96px);
  padding: 0 24px;
}

.vl-sheet {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px -30px rgba(41, 41, 41, 0.22);
  padding: clamp(36px, 6vw, 72px) clamp(28px, 6vw, 72px);
}

.vl-head { text-align: center; margin-bottom: 44px; }

.vl-head img.logo { width: 72px; margin: 0 auto 20px; }

.vl-head .over {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.vl-head h1 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.vl-head .sub { font-size: 15.5px; color: var(--muted); }

.vl-head .rule { margin: 30px auto 0; width: 120px; height: 3px; background: var(--pride); }

.vl-group { margin-top: 26px; padding: 0; break-inside: avoid-page; }

.vl-group.allow-break { break-inside: auto; }

.vl-group h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 4px;
}

table.vl-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.vl-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px 6px 0;
  border-bottom: 1px solid var(--line);
}

.vl-table td {
  vertical-align: top;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
}

.vl-table tr:last-child td { border-bottom: 0; }

.vl-table td.t { font-weight: 500; width: 34%; }
.vl-table td.tek { color: #4b4742; width: 34%; }
.vl-table td.m { color: #4b4742; width: 16%; white-space: nowrap; }
.vl-table td.p { text-align: right; width: 16%; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }

.vl-table .series-note { font-size: 13px; color: var(--muted); padding-top: 6px; }

.vl-foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.vl-foot-notes { display: flex; flex-direction: column; gap: 7px; }

.vl-qr { display: flex; flex-direction: column; align-items: center; gap: 7px; flex-shrink: 0; }

.vl-qr img {
  width: 88px;
  height: 88px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.vl-qr span { font-size: 11.5px; letter-spacing: 0.04em; }

@media (max-width: 640px) {
  .vl-table td.tek { display: none; }
  .vl-table th.h-tek { display: none; }
  .vl-table td.t { width: 50%; }
}

/* ——— Print ——— */
@media print {
  @page { size: A4; margin: 16mm 15mm 18mm; }

  body { font-size: 10.5pt; background: #fff; color: #000; }

  .vl-toolbar, .no-print { display: none !important; }

  .vl-doc { max-width: none; margin: 0; padding: 0; }

  .vl-sheet { border: 0; box-shadow: none; padding: 0; }

  .vl-head { margin-bottom: 22pt; }
  .vl-head img.logo { width: 52pt; margin-bottom: 12pt; }
  .vl-head h1 { font-size: 26pt; }
  .vl-head .sub { font-size: 10.5pt; }
  .vl-head .rule { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .vl-group { margin-top: 10pt; }
  .vl-group h2 { font-size: 13pt; }

  table.vl-table { font-size: 9.5pt; }
  .vl-table th { font-size: 7.5pt; }
  .vl-table td { padding: 5pt 8pt 5pt 0; }
  .vl-table tr { break-inside: avoid; }
  .vl-table td.tek { display: table-cell; }
  .vl-table th.h-tek { display: table-cell; }

  .vl-foot { margin-top: 20pt; font-size: 8.5pt; break-inside: avoid; }
  .vl-qr img { width: 56pt; height: 56pt; padding: 0; border: 0; border-radius: 0; }
  .vl-qr span { font-size: 7.5pt; }

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