/* Kriminell byvandring — Skjulte historier fra Trondheim
   Palette, type and spacing follow design-source/skjulte-historier.dc.html. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/bodoni-moda-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --navy: #12213B; --navy-deep: #0B1526; --gold: #C9A24B; --gold-deep: #8A6A22;
  --cream: #F3EFE7; --cream-2: #E8E1D4; --iron: #4A4A4A;
  --coral: #FA5540; --coral-ink: #040103;
  --lead: 28px;
  --edge: clamp(20px, 5vw, 72px);
  --sec-y: clamp(48px, 6vw, 104px);
  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Archivo", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  text-wrap: pretty;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--navy); }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { hyphens: manual; }
p, dd, figcaption { hyphens: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 12px 16px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: var(--sec-y) var(--edge); }
.dark { background: var(--navy); color: var(--cream); }
.sand { background: var(--cream-2); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--lead) clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.split--center { align-items: center; gap: clamp(28px, 4vw, 64px) clamp(32px, 5vw, 80px); }
.split--wide-gap { gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 96px); }

/* Photo frames: fixed shape, image covers it */
.frame { width: 100%; background: var(--cream-2); overflow: hidden; }
.dark .frame { background: var(--navy-deep); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.band { margin-top: clamp(36px, 5vw, 72px); }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-3-4 { aspect-ratio: 3 / 4; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Type ---------- */
.label {
  display: block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 calc(0.9 * var(--lead));
}
.dark .label { color: var(--gold); }

.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.01em;
  margin: 0;
}
.h2--sm { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: 0; }
.h2 em { font-style: italic; font-weight: 400; }
.dark .h2 em { color: var(--gold); }

.text { font-size: 17.5px; line-height: var(--lead); margin: 0; max-width: 52ch; }
.text + .text { margin-top: var(--lead); }
.muted { color: var(--iron); }
.dark .muted { color: var(--cream-2); }

.serif-italic { font-family: var(--display); font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: left;
  color: var(--coral-ink); background: var(--coral); border: 2px solid var(--coral);
  padding: 16px 26px; cursor: pointer; border-radius: 0;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { color: var(--coral-ink); background: var(--cream); border-color: var(--cream); }
.btn--navy { color: var(--cream); background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--coral); border-color: var(--coral); color: var(--coral-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 16px var(--edge);
  background: var(--navy);
}
.lang { display: flex; border: 2px solid var(--gold); }
.lang button {
  font-family: var(--body); font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em;
  padding: 9px 12px; border: 0; cursor: pointer; border-radius: 0;
  background: transparent; color: var(--gold);
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
/* Both header controls are exactly 44px tall: the toggle's 2px frame sits around 40px buttons. */
.site-header .btn { display: inline-flex; align-items: center; height: 44px; font-size: 13.5px; padding: 0 20px; }
.lang { height: 44px; }
.lang button { height: 40px; }

@media (max-width: 400px) {
  .site-header { padding-block: 12px; gap: 10px; }
  .site-header .btn { font-size: 12px; padding: 0 12px; letter-spacing: 0.05em; }
  .lang button { padding: 0 10px; }
}

/* ---------- Hero ---------- */
.hero__media { position: relative; height: clamp(440px, 72vh, 720px); background: var(--navy-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18,33,59,.96) 0%, rgba(18,33,59,.78) 42%, rgba(18,33,59,.34) 100%);
}
.hero__title {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 0 var(--edge) clamp(30px, 4.5vw, 60px);
}
.hero__title > div { max-width: 1200px; margin: 0 auto; }
.hero__kicker {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 7vw, 96px); line-height: .98; letter-spacing: -0.015em;
  margin: 0; color: var(--cream);
}
.hero h1 em { font-weight: 400; font-style: italic; color: var(--gold); }
.hero__sub {
  display: block; margin-top: 20px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 2.1vw, 27px); line-height: 1.2; color: var(--cream-2);
}
.hero__intro { max-width: 1200px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--edge) clamp(40px, 5vw, 72px); }
.hero__tag {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.16;
  margin: 0; max-width: 24ch; color: var(--cream);
}
.hero__tag em { font-style: italic; color: var(--gold); }
.hero__lede { font-size: 17px; line-height: var(--lead); color: var(--cream-2); max-width: 56ch; margin: calc(1.2 * var(--lead)) 0 0; }

/* ---------- Sections ---------- */
.concept .h2 { max-width: 14ch; }
.concept .pull { font-family: var(--display); font-size: 24px; font-style: italic; line-height: 1.3; margin: calc(1.2 * var(--lead)) 0 0; max-width: 38ch; }
.concept .band { height: clamp(280px, 42vw, 560px); }

.perspective .h2 { max-width: 16ch; }
.perspective .text { max-width: 50ch; }
.perspective .h2 + .text { margin-top: calc(1.2 * var(--lead)); }

.encounter .h2 { max-width: 20ch; margin-bottom: calc(1.4 * var(--lead)); }
.encounter ol { list-style: none; margin: 0; padding: 0; }
.encounter li {
  display: grid; grid-template-columns: minmax(48px, 80px) minmax(0, 1fr);
  gap: 14px clamp(20px, 4vw, 56px); align-items: baseline;
  padding: calc(.95 * var(--lead)) 0; border-top: 2px solid var(--navy);
}
.encounter .n { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: var(--lead); color: var(--gold-deep); }
.encounter .t { font-family: var(--display); font-size: clamp(20px, 2.3vw, 30px); line-height: 1.28; max-width: 40ch; }
.encounter .band { height: clamp(280px, 40vw, 540px); }

.guides .h2 { margin-bottom: clamp(32px, 4vw, 64px); }
.guides .split { gap: clamp(32px, 4vw, 64px) clamp(32px, 5vw, 72px); }
.guide h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; margin: calc(.9 * var(--lead)) 0 0; }
.guide .role { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 12px 0 0; }
.guide .bio { font-size: 16.5px; line-height: var(--lead); color: var(--cream-2); margin: 16px 0 0; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--gold); color: var(--gold); padding: 6px 10px; }
.guides .band { margin-top: clamp(32px, 4vw, 64px); height: clamp(240px, 34vw, 460px); }
.guides .closing { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.24; margin: calc(1.2 * var(--lead)) 0 0; max-width: 34ch; }

.quote-fig { margin: 0; border-left: 2px solid var(--gold); padding-left: clamp(20px, 3vw, 40px); }
.quote-fig blockquote { font-family: var(--display); font-style: italic; font-weight: 400; margin: 0; }
.chances .text { max-width: 44ch; }
.chances .frame { margin-top: calc(1.4 * var(--lead)); }
.chances blockquote { font-size: clamp(30px, 4.6vw, 62px); line-height: 1.08; max-width: 18ch; }
.chances figcaption { font-size: 16.5px; line-height: var(--lead); color: var(--iron); margin: calc(1.3 * var(--lead)) 0 0; max-width: 40ch; }
.question { border-top: 2px solid var(--navy); margin-top: clamp(40px, 5vw, 80px); padding-top: calc(1.4 * var(--lead)); }
.question p:first-child { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.12; margin: 0; max-width: 32ch; }
.question em { font-style: italic; font-weight: 400; }
.question .q-label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 20px 0 0; }

.diptych .wrap { padding-block: clamp(40px, 5vw, 88px); }
.diptych__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; border: 2px solid var(--navy); background: var(--navy);
}
/* two photos side by side, text below across both — avoids an empty navy cell on tablets */
@media (min-width: 560px) {
  .diptych__grid { grid-template-columns: 1fr 1fr; }
  .diptych__text { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .diptych__grid { grid-template-columns: 1fr 1fr 1fr; }
  .diptych__text { grid-column: auto; }
}
.diptych figure { margin: 0; background: var(--cream); }
.diptych figcaption { padding: 18px 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--iron); }
.diptych figure + figure figcaption { color: var(--gold-deep); }
.diptych__text { background: var(--cream); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.diptych__text p:first-child { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.14; margin: 0; max-width: 20ch; }
.diptych__text p:last-child { font-size: 16px; line-height: var(--lead); color: var(--iron); margin: 18px 0 0; max-width: 36ch; }

.recognition .h2 { max-width: 16ch; }
.recognition .text { font-size: 17px; margin-top: calc(1.2 * var(--lead)); max-width: 44ch; }
.recognition .frame { margin-top: calc(1.4 * var(--lead)); }
.recognition blockquote { font-size: clamp(24px, 3.1vw, 40px); line-height: 1.14; max-width: 24ch; }
.recognition figcaption { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: calc(1.2 * var(--lead)) 0 0; }

.strength .h2 { max-width: 14ch; }
.strength .pull { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; margin: calc(1.2 * var(--lead)) 0 0; max-width: 32ch; }
.strength .band { height: clamp(260px, 36vw, 480px); }

.facts .h2 { margin-bottom: calc(1.4 * var(--lead)); }
.facts dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2px; margin: 0; background: var(--navy); border: 2px solid var(--navy);
}
.facts dl > div { background: var(--cream); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.facts svg { color: var(--gold-deep); width: 24px; height: 24px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--iron); }
.facts dd { font-family: var(--display); font-size: 21px; line-height: 1.3; margin: 0; }

.closer__media { position: relative; height: clamp(300px, 44vw, 560px); background: var(--navy-deep); }
.closer__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closer__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,33,59,.94) 0%, rgba(18,33,59,.55) 60%, rgba(18,33,59,.3) 100%);
}
.closer .wrap { padding-top: clamp(44px, 5vw, 88px); }
.closer .h2 { font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -0.015em; }
.closer__body { font-family: var(--display); font-size: clamp(21px, 2.6vw, 32px); line-height: 1.24; margin: calc(1.4 * var(--lead)) 0 0; max-width: 34ch; color: var(--cream-2); }
.closer .btn { margin-top: calc(1.6 * var(--lead)); }

/* ---------- Form ---------- */
.contact .h2 { max-width: 16ch; }
.contact .lede { font-size: 17px; line-height: var(--lead); color: var(--iron); margin: calc(1.2 * var(--lead)) 0 0; max-width: 42ch; }
.form, .form-done { border: 2px solid var(--navy); padding: clamp(20px, 3vw, 40px); }
.form { display: grid; gap: var(--lead); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--iron); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 50px; margin: 0;
  font-family: var(--body); font-size: 16px; /* 16px stops iOS zoom-on-focus */
  padding: 13px 14px; border: 2px solid var(--navy); border-radius: 0;
  background: var(--cream); color: var(--navy);
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { display: block; line-height: 1.2; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2312213B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.hp { position: absolute; left: -9999px; }
.form__error { margin: 0; font-size: 15px; color: #A3291A; }
.form-done p:first-child { font-family: var(--display); font-size: 28px; line-height: 1.18; margin: 0; }
.form-done p:last-child { font-size: 16.5px; line-height: var(--lead); color: var(--iron); margin: 16px 0 0; max-width: 38ch; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream-2); }
.site-footer .wrap {
  padding-block: clamp(28px, 3.5vw, 52px);
  display: flex; flex-wrap: wrap; gap: var(--lead) 48px; align-items: center; justify-content: space-between;
}
.partners { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.partners a { display: block; }
.partners .logo-arman { width: 150px; height: auto; }
.partners .logo-tv { width: 62px; height: 62px; }
.site-footer span, .site-footer p { font-size: 14px; line-height: 1.5; margin: 0; hyphens: manual; }
.site-footer p { font-size: 13px; }
