:root {
  --bg: #130f12; --panel: #1c1619; --ink: #f4ece4; --dim: #a79488;
  --wine: #8c2f3b; --wine-br: #b2444f; --gold: #c7a568;
  --line: rgba(244,236,228,.12); --line-strong: rgba(244,236,228,.22);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
}
* { box-sizing: inherit; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.05rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 .3em; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
p { margin: 0 0 1em; color: var(--dim); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* header */
header.top { position: absolute; top: 0; left: 0; right: 0; z-index: 40; }
.topbar { display: flex; align-items: center; gap: 24px; height: 92px; padding: 0 28px; max-width: 1160px; margin: 0 auto; }
.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark img { height: 44px; width: auto; display: block; }
nav.mainnav { display: flex; gap: 6px; margin-left: auto; }
nav.mainnav a { text-decoration: none; color: rgba(244,236,228,.78); font: 500 .92rem var(--sans); padding: 8px 14px; }
nav.mainnav a:hover { color: var(--ink); }
.callnow { font-family: var(--sans); font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); padding: 9px 18px; margin-left: 10px; white-space: nowrap; }
.burger { display: none; background: none; border: none; color: var(--ink); padding: 6px; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero video, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--bg) 0%, rgba(19,15,18,.5) 55%, rgba(19,15,18,.15) 100%); }
.hero .capt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 28px 64px; max-width: 1160px; margin: 0 auto; }
.hero .corner { z-index: 2; }
.hero .eyebrow, .hero h1, .hero .lede { text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.hero .lede { max-width: 54ch; color: #e7ddd4; font-size: 1.14rem; margin-top: 18px; }
.hero .btns { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font: 600 .96rem var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-w { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn-w:hover { background: var(--wine-br); }
.btn-o { border-color: var(--line-strong); color: var(--ink); background: rgba(19,15,18,.4); }
.btn-o:hover { border-color: var(--gold); color: var(--gold); }

/* stat strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: flex; flex-wrap: wrap; }
.stats .s { flex: 1 1 160px; padding: 30px 28px; border-right: 1px solid var(--line); }
.stats .s:last-child { border-right: none; }
.stats b { display: block; font-family: var(--serif); font-size: 2.1rem; font-style: italic; color: var(--ink); }
.stats span { font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* selected work grid */
section.work { padding: 100px 0 90px; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.work-head p { margin: 0; max-width: 42ch; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); }
.tile { position: relative; aspect-ratio: 5/4; overflow: hidden; display: block; text-decoration: none; background: var(--panel); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,15,18,.92) 0%, rgba(19,15,18,.1) 55%, rgba(19,15,18,0) 100%); }
.tile .tbody { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 2; }
.tile .tn { font: 500 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile h3 { color: #fff; font-size: 1.7rem; margin: 6px 0 8px; }
.tile p { color: rgba(244,236,228,.75); font-size: .92rem; max-width: 36ch; margin: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* about strip */
section.about { padding: 90px 0; border-top: 1px solid var(--line); background: var(--panel); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid figure { margin: 0; }
.about-grid img { width: 100%; filter: grayscale(.15); }
.about-grid blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.about-grid cite { display: block; margin-top: 20px; font: 500 .88rem var(--sans); font-style: normal; color: var(--dim); }

/* contact */
section.contact { padding: 100px 0; text-align: center; }
section.contact .eyebrow { justify-content: center; display: flex; }
.callline { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--ink); text-decoration: none; display: inline-block; margin: 18px 0 30px; }
.callline:hover { color: var(--gold); }

footer.bottom { border-top: 1px solid var(--line); padding: 36px 0; color: var(--dim); font-size: .88rem; }
footer.bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.bottom a { text-decoration: none; color: var(--ink); margin-right: 16px; }

@media (max-width: 820px) {
  nav.mainnav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 110px 28px 28px; gap: 2px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 45; }
  nav.mainnav.open { transform: translateX(0); }
  nav.mainnav a { font-family: var(--serif); font-style: italic; font-size: 1.4rem; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .burger { display: block; z-index: 50; position: relative; }
  .callnow { display: none; }
}

/* undersideoverskrift uten fullbilde */
.page-hero { position: relative; padding: 168px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero .lede { max-width: 58ch; color: var(--dim); font-size: 1.12rem; margin-top: 18px; }
.page-hero.has-media { padding-bottom: 0; }

figure.full { margin: 0; }
figure.full img { width: 100%; }
.spec-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.spec-list li { padding-left: 22px; position: relative; color: var(--dim); font-size: .98rem; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 1px; background: var(--gold); }
.spec-list li b { color: var(--ink); font-weight: 600; }

section.band { padding: 90px 0; border-bottom: 1px solid var(--line); }
section.band.tint { background: var(--panel); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .media-col { order: 2; }
.split.rev .text-col { order: 1; }
@media (max-width: 820px) { .split, .split.rev .media-col, .split.rev .text-col { grid-template-columns: 1fr; order: initial; } }
.media-col figure { margin: 0; }
.media-col img { width: 100%; }

/* kontaktskjema */
form.req { margin-top: 10px; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fd { margin-bottom: 20px; }
.fd.full { grid-column: 1/-1; }
.fd label { display: block; font: 500 .78rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 9px; }
.fd input, .fd select, .fd textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-strong); color: var(--ink); font: 400 1.05rem var(--sans); padding: 10px 2px; }
.fd input:focus, .fd select:focus, .fd textarea:focus { outline: none; border-color: var(--gold); }
.fd select option { background: var(--panel); color: var(--ink); }
.fd textarea { min-height: 100px; resize: vertical; }
#formOk { display: none; padding: 30px 0; }
#formOk h3 { margin-bottom: 8px; }

/* enkelt produktrutenett (utleie) */
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 36px 28px; margin-top: 50px; }
.pitem figure { margin: 0 0 16px; aspect-ratio: 4/3; overflow: hidden; background: var(--panel); }
.pitem img { width: 100%; height: 100%; object-fit: cover; }
.pitem h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; font-style: normal; margin: 0 0 4px; color: var(--ink); }

.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-embed { width: 100%; height: 760px; border: 1px solid var(--line-strong); background: #000; }
@media (max-width: 700px) { .gallery-embed { height: 560px; } }
.pitem .price { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }