/*
VOICE   Rolig, presis og filmatisk – som et lite produksjonsselskap som kan faget.
IDEA    Siden oppfører seg som filmarbeid: forsiden er en kamerasøker, tjenestene er en redigeringstidslinje, prisene er et ryddig prisark.
PICTURE Søkeren over eget bilde (REC, tidskode, hjørnemerker) og en interaktiv tidslinje med spor og klipp.
COLOUR  Dypt petrol fra vannbildene, rent hvitt og én rød REC-lampe som aksent.
TYPE    Archivo (bred, tung) til titler, Archivo til tekst, IBM Plex Mono kun i søker og tidslinje.
LAYOUT  Fullbredde bånd: mørk søker, petrol tidslinje, hvitt prisark, svart-hvitt om, vannbilde til kontakt.
*/
:root {
  color-scheme: dark;
  --ink: #0a1517;
  --petrol: #0e3a3d;
  --petrol-2: #134b4e;
  --sea: #2c7d77;
  --white: #ffffff;
  --paper: #f3f5f4;
  --grey: #5d6a6b;
  --line-d: rgba(255,255,255,.14);
  --line-l: #dde3e2;
  --rec: #ef3b2c;
  --w: 1240px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
:root[data-theme=light], :root[data-theme=dark] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 400 17px/1.6 var(--display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
.inner { max-width: var(--w); margin: 0 auto; }
.band { padding: clamp(72px, 9vw, 128px) max(5vw, 20px); }
.intro { max-width: 560px; font-size: 18px; opacity: .82; margin-top: 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); color: var(--ink); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 0 26px; border-radius: 4px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-rec { background: var(--white); color: var(--ink); }
.btn-rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); }
.btn-rec:hover { background: var(--paper); }
.btn-line { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); }

/* Topp */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s; }
.top.solid { background: rgba(10,21,23,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.top .inner { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 max(5vw, 20px); max-width: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-stretch: 112%; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; }
.menu { display: flex; gap: 32px; align-items: center; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.menu a:hover, .menu a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu .btn { opacity: 1; min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu .btn:hover { text-decoration: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--white); cursor: pointer; }

/* Søker (hero) */
.finder { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.finder > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
.finder::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,21,23,.45), rgba(10,21,23,.05) 40%, rgba(10,21,23,.88) 88%); }
.hud { position: absolute; inset: 88px max(3.5vw, 14px) 28px; z-index: 2; pointer-events: none; font: 500 13px/1 var(--mono); letter-spacing: .04em; }
.hud i { position: absolute; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.85); }
.hud i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.rec { position: absolute; top: 14px; left: 56px; display: flex; gap: 10px; align-items: center; }
.rec b { width: 11px; height: 11px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.tc { position: absolute; top: 14px; right: 56px; font-variant-numeric: tabular-nums; }
.specs { position: absolute; bottom: 12px; right: 56px; opacity: .8; }
.cross { position: absolute; left: 50%; top: 42%; width: 28px; height: 28px; margin: -14px; opacity: .55; }
.cross::before, .cross::after { content: ""; position: absolute; background: #fff; }
.cross::before { left: 13px; top: 0; width: 2px; height: 28px; }
.cross::after { top: 13px; left: 0; height: 2px; width: 28px; }
.finder .copy { position: relative; z-index: 3; padding: 0 max(5vw, 20px) clamp(72px, 10vh, 120px); }
.finder h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: .98; letter-spacing: -.035em; max-width: 13ch; }
.finder .intro { font-size: clamp(17px, 1.5vw, 20px); max-width: 600px; margin: 26px 0 34px; opacity: .9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tidslinje (tjenester) */
.edit { background: var(--petrol); }
.edit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.nle { background: #0b2c2f; border: 1px solid var(--line-d); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.nle-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-d); font: 500 12px/1 var(--mono); color: rgba(255,255,255,.7); }
.nle-bar .dots { display: flex; gap: 7px; }
.nle-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.nle-bar .now { color: var(--white); font-variant-numeric: tabular-nums; }
.stage { position: relative; padding: 0 18px 18px 98px; }
.ruler { height: 34px; position: relative; border-bottom: 1px solid var(--line-d);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 10%) bottom/100% 12px no-repeat,
              repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 2.5%) bottom/100% 6px no-repeat; }
.ruler span { position: absolute; top: 6px; font: 500 11px/1 var(--mono); color: rgba(255,255,255,.55); transform: translateX(4px); }
.track { position: relative; height: 62px; border-bottom: 1px solid rgba(255,255,255,.06); }
.track > em { position: absolute; left: -80px; top: 0; bottom: 0; width: 70px; display: flex; align-items: center; font: 500 12px/1 var(--mono); font-style: normal; color: rgba(255,255,255,.6); }
.clip {
  position: absolute; top: 9px; bottom: 9px; border: 0; border-radius: 5px; cursor: pointer;
  color: var(--ink); font: 700 14px/1 var(--display); text-align: left; padding: 0 14px;
  display: flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap;
  transition: filter .2s, box-shadow .2s;
}
.clip:hover { filter: brightness(1.08); }
.clip[aria-pressed=true] { box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(255,255,255,.18); }
.clip.v { background: #9fd8cf; background-image: repeating-linear-gradient(90deg, rgba(10,21,23,.12) 0 1px, transparent 1px 42px); }
.clip.d { background: #d6ecf0; }
.clip.c { background: linear-gradient(90deg, #f2b8a6, #e7c66f, #9fd8cf, #8fb4e6); }
.clip.a { background: #b9c7ff; }
.clip.a::after { content: ""; position: absolute; left: 110px; right: 10px; top: 50%; height: 24px; transform: translateY(-50%); opacity: .45;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px);
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%); }
.clip.r { background: var(--white); }
.head { position: absolute; top: 0; bottom: 18px; left: 98px; width: 2px; background: var(--rec); z-index: 3; pointer-events: none; animation: play 9s linear infinite; }
.head::before { content: ""; position: absolute; top: 0; left: -7px; border: 8px solid transparent; border-top: 10px solid var(--rec); }
@keyframes play { from { left: 98px; } to { left: calc(100% - 18px); } }
.inspector { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: end; padding: 26px 28px; border-top: 1px solid var(--line-d); min-height: 132px; }
.inspector h3 { font-size: 26px; }
.inspector p { margin: 8px 0 0; opacity: .82; max-width: 620px; }
.inspector .from { text-align: right; white-space: nowrap; font-weight: 700; font-size: 22px; font-stretch: 112%; }
.inspector .from small { display: block; font-size: 13px; font-weight: 400; opacity: .7; font-stretch: 100%; }
.rental { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 28px; border: 1px solid var(--line-d); border-radius: 10px; }
.rental p { margin: 0; }
.rental strong { font-weight: 700; }
.rental a { font-weight: 700; text-underline-offset: 5px; white-space: nowrap; }

/* Arbeid */
.work { background: var(--ink); }
.reels { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 52px; align-items: start; }
.reel { margin: 0; }
.reel:nth-child(2) { margin-top: 90px; }
.yt { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; border-radius: 6px;
  background: radial-gradient(circle at 70% 30%, var(--sea), var(--petrol) 55%, var(--ink)); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.yt:hover img { transform: scale(1.04); }
.yt .play { position: absolute; left: 22px; bottom: 22px; display: flex; gap: 12px; align-items: center; background: var(--white); color: var(--ink); border-radius: 4px; padding: 12px 16px; font-weight: 700; font-size: 15px; }
.yt .play svg { width: 14px; height: 14px; }
.yt .dur { position: absolute; top: 16px; right: 16px; font: 500 12px/1 var(--mono); background: rgba(10,21,23,.75); padding: 6px 8px; border-radius: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel figcaption { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; }
.reel figcaption span { opacity: .7; }

/* Prisark */
.rates { background: var(--white); color: var(--ink); }
.rates .intro { opacity: 1; color: var(--grey); }
.sheet { margin-top: 48px; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 180px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.row .nm { font-weight: 800; font-stretch: 118%; font-size: 21px; letter-spacing: -.01em; }
.row .nick { display: block; font-size: 14px; color: var(--grey); font-weight: 400; font-stretch: 100%; letter-spacing: 0; margin-top: 4px; }
.row .what { color: #2e3a3b; }
.row .price { text-align: right; white-space: nowrap; font-weight: 800; font-stretch: 112%; font-size: 24px; font-variant-numeric: tabular-nums; }
.row .price small { font-size: 14px; font-weight: 500; color: var(--grey); margin-right: 6px; font-stretch: 100%; }
.row.all { background: var(--paper); margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-bottom: 0; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; margin-top: 34px; color: var(--grey); }
.sheet-foot a.more { color: var(--ink); font-weight: 700; text-underline-offset: 5px; }

/* Om */
.about { background: #111; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.about-img { background: url("kamera-rigg.webp") center 40% / cover; filter: contrast(1.05); }
.about-copy { padding: clamp(64px, 8vw, 120px) max(5vw, 24px); display: flex; flex-direction: column; justify-content: center; }
.about-copy p.big { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.4; font-weight: 500; margin: 26px 0 22px; letter-spacing: -.005em; }
.about-copy p { opacity: .82; max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; border-top: 1px solid var(--line-d); padding-top: 24px; }
.facts b { display: block; font-weight: 800; font-stretch: 118%; font-size: 20px; }
.facts span { font-size: 14px; opacity: .7; }

/* Kontakt */
.contact { position: relative; background: var(--petrol); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0 0 0 48%; background: url("vann.webp") 30% 55% / cover; opacity: .9; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--petrol) 0%, var(--petrol) 48%, rgba(14,58,61,.35) 72%, rgba(14,58,61,0)); }
.contact .inner { position: relative; z-index: 1; }
.contact h2 { font-size: clamp(40px, 6vw, 84px); max-width: 11ch; }
.lines { margin: 44px 0 40px; display: grid; gap: 4px; }
.lines a { display: inline-flex; align-items: baseline; gap: 18px; text-decoration: none; font-weight: 800; font-stretch: 115%; font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -.02em; width: fit-content; overflow-wrap: anywhere; }
.lines a small { font: 500 13px/1 var(--mono); opacity: .7; letter-spacing: .02em; width: 72px; flex: none; }
.lines a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Bunn */
.foot { padding: 40px max(5vw, 20px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 14px; color: rgba(255,255,255,.62); border-top: 1px solid var(--line-d); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }

/* Prisliste-side */
.page-top { background: var(--petrol); padding: 150px max(5vw, 20px) 72px; }
.page-top h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.035em; }
.rates h2.sub { font-size: clamp(26px, 3vw, 36px); margin-top: 84px; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 24px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 14px; font-weight: 600; color: var(--grey); padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.tbl td:first-child { font-weight: 700; }
.tbl .n { text-align: right; white-space: nowrap; padding-right: 0; }
.tbl th.n { padding-right: 0; }
.tbl tr.best td { background: var(--paper); }
.tbl tr.best td:first-child { box-shadow: inset 4px 0 0 var(--rec); padding-left: 16px; }
.badge { display: inline-block; margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--ink); padding: 3px 8px; border-radius: 3px; vertical-align: 2px; }
.vat { margin-top: 10px; color: var(--grey); }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.gallery figcaption { font-size: 15px; opacity: .72; margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .finder > picture img, .head, .rec b { animation: none; }
}

@media (max-width: 980px) {
  .reels { grid-template-columns: 1fr; }
  .reel:nth-child(2) { margin-top: 0; }
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 420px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .what { grid-column: 1 / -1; grid-row: 2; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 16/10; }
}
@media (max-width: 820px) {
  .burger { display: grid; place-items: center; }
  .menu { position: fixed; inset: 72px 0 auto; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line-d); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 16px 0; border-bottom: 1px solid var(--line-d); font-size: 18px; opacity: 1; }
  .menu .btn { margin-top: 18px; justify-content: center; min-height: 52px; border: 0; }
}
@media (max-width: 700px) {
  .stage { padding: 0 12px 14px 12px; }
  .ruler { display: none; }
  .head { display: none; }
  .track { height: auto; padding: 8px 0; border: 0; }
  .track > em { position: static; width: auto; display: block; padding: 6px 0 6px; }
  .clip { position: static; width: 100% !important; height: 48px; }
  .inspector { grid-template-columns: 1fr; padding: 22px 18px; }
  .inspector .from { text-align: left; }
  .rental { padding: 20px 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hud { inset: 80px 12px 16px; }
  .hud .specs, .cross { display: none; }
  .rec { left: 48px; } .tc { right: 48px; }
  .finder h1 { font-size: clamp(40px, 12vw, 56px); }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .facts { grid-template-columns: 1fr; }
  .row .price { font-size: 20px; }
  .lines a { flex-direction: column; gap: 6px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 14px 0; border-bottom: 1px solid var(--line-l); }
  .tbl td { border: 0; padding: 3px 0; }
  .tbl td.n { text-align: left; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; color: var(--grey); font-weight: 400; }
  .tbl tr.best td:first-child { padding-left: 0; box-shadow: none; }
  .tbl tr.best { background: var(--paper); box-shadow: inset 4px 0 0 var(--rec); padding-left: 14px; }
  .gallery { grid-template-columns: 1fr; }
  .contact::before { inset: auto 0 0 0; height: 46%; opacity: .5; }
  .contact::after { background: linear-gradient(180deg, var(--petrol) 45%, rgba(14,58,61,.4)); }
}
