/* Layout: whitebox. Hvit vegg, verkene vises i innbyrdes målestokk (cm) midt i hver celle, bildetekst under i museumsetikett-stil. */
:root {
  --wall: #ffffff;
  --ink: #111111;
  --mute: #707070;
  --line: #e8e8e8;
  --s: 1.9px; /* piksler per cm i oversikten */
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  padding-block: 0 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover, button:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.wrap { max-width: 1240px; margin: 0 auto; }


.top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding: 28px 0 0; }
.brand { font-weight: 600; font-size: 17px; letter-spacing: -.005em; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.top .lang { color: var(--mute); font-size: 14px; }
.top .lang b { color: var(--ink); font-weight: 500; }

.head { margin-top: 88px; }
.head h1 { margin: 0; font-size: 15px; font-weight: 500; }
.head h1::before { content: "▪︎ "; }


.work {
  display: block;
  width: calc(var(--w) * var(--s));
  max-width: 100%;
  height: auto;
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 10px 18px -12px rgba(0,0,0,.35);
}
/* Oversikt: alle verk får samme ramme, uavhengig av mål */
@media (max-width: 560px) {
}
.sold, .cap span.sold {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 500; line-height: 1;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
}
.sold::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c8372d; }
.dinfo .sold { font-size: 11.5px; letter-spacing: .24em; gap: 11px; }
.dinfo .sold::before { width: 6px; height: 6px; }

.detail { margin-top: 64px; }
.back { font-size: 14px; color: var(--mute); }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px 72px; margin-top: 40px; align-items: start; }
.dstage { --s: 3.2px; min-height: calc(var(--s) * 185); display: flex; align-items: flex-end; justify-content: center; gap: 28px; padding: 8px 0; }
.dstage .work { flex: 0 1 auto; }
.dinfo h2 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.dinfo .by { margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.dinfo dl { margin: 28px 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px 16px; font-size: 14px; }
.dinfo dt { color: var(--mute); }
.dinfo dd { margin: 0; font-variant-numeric: tabular-nums; }
.note { margin: 16px 0 0; font-size: 13px; color: var(--mute); max-width: 42ch; }
.pn { margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--line); }
.pn h3 { margin: 0 0 22px; font-size: 14px; font-weight: 500; }
.thumbs { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 20px; }
.thumb { display: block; min-width: 0; }
.thumb img { display: block; height: 150px; width: auto; max-width: 100%; box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 6px 12px -8px rgba(0,0,0,.35); }
.thumb span { display: block; margin-top: 9px; font-size: 12px; color: var(--mute); font-style: italic; }
.thumb:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .thumb img { transition: transform .2s ease; }
  .thumb:hover img { transform: translateY(-2px); }
}

footer { margin-top: 128px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; font-size: 14px; }
footer h3 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
footer p { margin: 0; color: var(--mute); }
footer .mail { color: var(--ink); overflow-wrap: anywhere; }
.ig { display: inline-flex; margin-top: 16px; color: var(--ink); }
.ig:hover { opacity: .55; text-decoration: none; }
.nl { display: flex; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.nl input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 4px 0; }
.nl input:focus-visible { outline: none; }
.nl:focus-within { border-bottom-width: 2px; padding-bottom: 5px; }
#nlmsg { margin-top: 8px; font-size: 13px; }
.fine { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }

@media (max-width: 900px) {
  .thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
  .thumb img { height: 130px; }
  .dgrid { grid-template-columns: minmax(0, 1fr); }
  .dstage { --s: 2.6px; }
  footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --s: 1.7px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumb img { height: 120px; }
  .head { margin-top: 56px; }
  .dstage { --s: 1.5px; gap: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
}
/* Forside: helt hvit, kun invitasjon til nyhetsbrev */
.home { padding: 0; }
.hero { position: relative; margin: 0 0 0 calc(50% - 50vw); width: 100vw; }
/* Plakat: mørk tone fra venstre, tynn ramme innenfor kanten, tekst og knapp midt til venstre */
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 24%), linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 62%); pointer-events: none; }
.poster { position: absolute; z-index: 1; left: clamp(28px, 7vw, 120px); top: 50%; transform: translateY(-50%); max-width: min(560px, 82%); color: #fff; }
.p-name { margin: 0; font-size: clamp(30px, 6.4vw, 92px); line-height: .98; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.p-sub { margin: 14px 0 0; font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.cta-wrap { margin-top: clamp(16px, 3vw, 40px); }
.cta { border: 1px solid #fff; color: #fff; background: rgba(0,0,0,.2); padding: 11px 22px; font-size: 14px; letter-spacing: .02em; transition: background .2s ease, color .2s ease; }
.cta:hover { background: #fff; color: #111; text-decoration: none; }
.cta:focus-visible { outline-color: #fff; }
.cta-row { display: flex; gap: 12px; width: min(320px, 70vw); border-bottom: 1px solid #fff; padding-bottom: 8px; }
.cta-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; padding: 4px 0; }
.cta-row input::placeholder { color: rgba(255,255,255,.65); }
.cta-row input:focus-visible { outline: none; }
.cta-row:focus-within { border-bottom-width: 2px; padding-bottom: 7px; }
.cta-row button { color: #fff; font-size: 13px; }
.cta-row button:focus-visible { outline-color: #fff; }
.cta-note { margin: 12px 0 0; max-width: 34ch; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.78); }
@media (max-width: 560px) {
  .p-sub { display: none; }
  .p-name { font-size: 30px; }
  .cta { padding: 8px 14px; font-size: 12.5px; }
  .cta-wrap { margin-top: 14px; }
}
.hero video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1302; max-height: 100svh; object-fit: cover; object-position: 50% 62%; background: #111; }
body { overflow-x: hidden; overflow-x: clip; }
.consent { margin: 18px auto 0; font-size: 11.5px; line-height: 1.6; color: #8a8a8a; max-width: 34ch; }
/* Forside: videoen starter helt øverst, menyen ligger oppå i hvitt */
.is-home .top { position: absolute; z-index: 5; top: env(safe-area-inset-top, 0px); left: 0; right: 0; padding: 24px max(clamp(20px, 3vw, 44px), env(safe-area-inset-left, 0px)); color: #fff; }
.is-home .brand { font-weight: 500; color: #fff; }
.is-home .top nav a { color: rgba(255,255,255,.88); }
.is-home .top nav a:hover { color: #fff; }
.top .lang button { font-size: 14px; color: var(--mute); }
.top .lang button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.is-home .top .lang { color: rgba(255,255,255,.7); }
.is-home .top .lang button { color: rgba(255,255,255,.7); }
.is-home .top .lang button[aria-pressed="true"] { color: #fff; }
.is-home :focus-visible { outline-color: #fff; }
.is-home .fnl { display: none; }

/* Om */
.portraits { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.portrait { margin: 0; min-width: 0; }
.portrait img { display: block; width: 100%; height: auto; }
/* Teksten følger bildenes to kolonner: første avsnitt under venstre bilde, andre under høyre */
.statement { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.statement p { margin: 0; padding-right: clamp(24px, 5vw, 64px); min-width: 0; }
.statement p:first-child { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }
@media (max-width: 700px) {
  .statement { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; }
  .statement p { padding-right: 0; }
}
.pcap { margin: 40px 0 0; font-size: 13px; line-height: 1.5; color: var(--mute); }
.pcap span { display: block; }
.pcap .name { color: var(--ink); font-weight: 600; }
/* Om: portrett til venstre, tekst til høyre, de to bildene i full bredde under */
.intro { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intro .statement { margin: 0; display: flex; flex-direction: column; gap: 22px; padding-left: clamp(24px, 5vw, 64px); }
.intro .statement p { padding-right: 0; }
.intro .pcap { margin: auto 0 0; padding-top: 32px; }
.portraits { margin-top: 72px; }
@media (max-width: 700px) {
  .portraits { grid-template-columns: minmax(0, 1fr); }
  .intro { grid-template-columns: minmax(0, 1fr); }
  .intro .statement { padding-left: 0; margin-top: 28px; }
  .portraits { margin-top: 56px; }
}

/* Kontaktskjema */
.cform { max-width: 560px; margin-top: 72px; display: grid; gap: 30px; }
.fld label { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .04em; color: var(--mute); }
.fld input, .fld select, .fld textarea {
  display: block; width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; padding: 8px 0; appearance: none; -webkit-appearance: none;
}
.fld select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.fld textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; box-shadow: 0 1px 0 var(--ink); }
.err { margin: 0; font-size: 13px; color: #b3261e; }
.send { justify-self: start; border: 1px solid var(--ink); padding: 11px 24px; font-size: 14px; }
.send:hover { background: var(--ink); color: var(--wall); text-decoration: none; }
.thanks { max-width: 560px; margin-top: 72px; }
.thanks-h { margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.facts { margin: 28px 0; display: grid; gap: 6px; justify-items: start; font-size: 14px; font-variant-numeric: tabular-nums; }
.facts .sold { margin-top: 12px; }
.dstage { min-height: 0; align-items: flex-start; padding: 0; }
.dstage .work { width: auto; height: auto; max-width: 100%; max-height: min(88vh, 900px); cursor: zoom-in; }

/* Forstørret visning */
.lb {
  position: fixed; inset: 0; z-index: 50; background: var(--wall);
  display: flex; flex-direction: column; gap: 12px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.lbx { align-self: flex-end; flex: none; font-size: 14px; padding: 6px 2px; }
.lbs { flex: 1; min-height: 0; display: flex; overflow: auto; }
.lbi { display: block; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: zoom-in; }
.lbs.zoom .lbi { max-width: none; max-height: none; cursor: zoom-out; }
.lbc { flex: none; margin: 0; font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; }

[hidden] { display: none !important; }

/* Skjult felt mot spam-roboter */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Mobil/stående: videoen fyller hele skjermen */
@media (max-aspect-ratio: 1/1) {
  .hero video { height: 100vh; height: 100svh; max-height: none; aspect-ratio: auto; object-position: 68% 50%; }
}
