/* ==========================================================
   Campbell Renhold – v4
   Monokrom: skifer og kalk. Fargen kommer fra bildene.
   Hver bakgrunn (Grok) brukes én gang og bærer en hel «scene».
   Schibsted Grotesk – norsk grotesk fra Schibsted-miljøet.
   ========================================================== */

:root {
  --ink: #15181B;
  --ink-2: #1E2226;
  --ink-3: #2A2F34;
  --kalk: #EEEEEA;
  --hvit: #FFFFFF;
  --stein: #5F666C;
  --stein-d: #454C52;
  --taake: #A9AFB4;
  --linje: #DADBD6;
  --linje-m: rgba(255, 255, 255, .13);
  --stjerne: #F5B400;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Clash Display", "Schibsted Grotesk", system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  --section: clamp(96px, 11vw, 160px);
  --header: 84px;
  --sheet: 30px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hvit); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.top .wrap, .hero .wrap { max-width: none; padding-inline: clamp(18px, 3.4vw, 64px); }

/* ---------- Typografi ---------- */
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 1.2rem + 3.8vw, 4.9rem); line-height: .98; }
h2 em { font-style: normal; font-weight: 400; letter-spacing: -0.015em; color: var(--stein); }
h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stein); margin-bottom: 20px; }
.kicker--center { text-align: center; }
.section-head { max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lede { margin-top: 22px; font-size: 1.18rem; color: var(--stein-d); }
.stars { color: var(--stjerne); letter-spacing: .06em; }

/* Mørke scener */
.stage--skifer, .stage--kyst, .contact { color: #fff; }
.stage--skifer h2 em, .stage--kyst h2 em, .contact h2 em { color: var(--taake); }
.stage--skifer .kicker, .stage--kyst .kicker, .contact .kicker { color: var(--taake); }
.stage--skifer .section-head__lede, .stage--kyst .section-head__lede { color: var(--taake); }

/* ---------- Knapper ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--kalk); --bd: var(--kalk); }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.4); }
.btn--ghost:hover { --bd: #fff; --bg: rgba(255,255,255,.08); }
.btn--outline { --fg: var(--ink); --bd: rgba(21,24,27,.3); }
.btn--outline:hover { --bd: var(--ink); --bg: rgba(255,255,255,.5); }
.btn--text { padding: 0 4px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; color: var(--stein); }
.btn--text:hover { color: var(--ink); }
.textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.top::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12,14,16,.82) 0%, rgba(12,14,16,.45) 55%, rgba(12,14,16,0) 100%); transition: opacity .35s; }
.top.is-solid { background: rgba(21,24,27,.9); border-bottom-color: var(--linje-m); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.top.is-solid::before { opacity: 0; }
.top__inner { display: flex; align-items: center; gap: 28px; height: var(--header); }
.top__logo { flex: none; display: block; }
.top__logo .brand { height: 52px; }
.top__nav { display: flex; gap: 2px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 14px; opacity: .86; transition: opacity .2s; }
.top__nav a { position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top__nav a:hover, .top__nav a[aria-current="true"] { opacity: 1; }
.top__nav a:hover::after, .top__nav a[aria-current="true"]::after { transform: scaleX(1); }
.top__call { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 1.5px solid currentColor; border-radius: 8px; text-decoration: none; font-weight: 600; transition: background-color .25s, color .25s; }
.top__call svg { width: 17px; height: 17px; fill: currentColor; }
.top__call:hover { background: #fff; color: var(--ink); border-color: #fff; }
.top__burger { display: none; width: 46px; height: 46px; border-radius: 8px; border: 1.5px solid currentColor; background: transparent; position: relative; color: inherit; }
.top__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.top__burger span:first-child { top: 17px; }
.top__burger span:last-child { top: 25px; }
.top__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.top__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--header) 0 0 0; z-index: 49; background: var(--ink); color: #fff; padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--linje-m); }
body.menu-open .top { background: var(--ink); border-bottom-color: var(--linje-m); }

/* ---------- Logo (vektor) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { display: block; height: 100%; width: auto; fill: currentColor; overflow: visible; }
.brand__panel { opacity: .48; }
.brand__spark, .brand__cone, .brand__gun, .wipe { transform-box: view-box; }
.brand__cone { transform-origin: 2698px 200px; }
/* Originalfargene fra logoen: cyan øverst som går over i dyp blå (slett blokken for hvit logo) */
.brand__roof { fill: url(#g-roof); }
.brand__panel { fill: url(#g-roof); opacity: .5; }
.brand__windows rect { fill: #19BDF2; }
.brand__spark { fill: #5ED3FF; }
.brand__gun { fill: url(#g-gun); }
.brand__text { fill: url(#g-text); }
.brand__cone { fill: url(#g-cone); }

/* Hover i menyen: spyleren gir et støt, stjernene glimter */
@media (hover: hover) {
  .top__logo:hover .brand__cone { animation: cone-pulse .9s var(--ease); }
  .top__logo:hover .brand__spark { animation: spark-twinkle .8s var(--ease) calc(var(--i) * 45ms) both; }
}
@keyframes cone-pulse { 0% { transform: scaleX(1); opacity: 1; } 18% { transform: scaleX(.2); opacity: .3; } 55% { transform: scaleX(1.18); opacity: 1; } 100% { transform: scaleX(1); } }
@keyframes spark-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 45% { transform: scale(.35) rotate(45deg); } 75% { transform: scale(1.3) rotate(0); } }

/* Intro: husene vaskes fram fra høyre, stjernene tennes, navnet kommer til slutt */
.intro-overlay { display: none; }
.intro-on .intro-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: background-color .7s var(--ease);
}
.intro-on, .intro-on body { overflow: hidden; }
.intro-on .top__logo { opacity: 0; }
html.intro-on .hero .hero__content > *, html.intro-on .hero .hero__content .hero__title span { animation-play-state: paused; }
.brand--intro { width: min(760px, 84vw); height: auto; transform-origin: 0 0; }
.brand--intro .brand__gun { animation: gun-in .6s var(--ease) both; }
.brand--intro .brand__cone { animation: cone-on .5s var(--ease) .45s both; }
.brand--intro .wipe--house { animation: wipe-house 1.15s cubic-bezier(.45,.05,.3,1) .5s both; }
.brand--intro .brand__spark { animation: spark-pop .55s cubic-bezier(.3,1.6,.5,1) calc(.75s + var(--i) * 80ms) both; }
.brand--intro .wipe--text { animation: wipe-text .9s cubic-bezier(.45,.05,.3,1) 1.25s both; }
@keyframes gun-in { from { transform: translateX(260px); opacity: 0; } }
@keyframes cone-on { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } 45% { opacity: .55; } 60% { opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes wipe-house { from { transform: translateX(3560px); } to { transform: translateX(-800px); } }
@keyframes wipe-text { from { transform: translateX(0); } to { transform: translateX(4300px); } }
@keyframes spark-pop { from { transform: scale(0) rotate(-60deg); } }

/* ---------- Hero: scroll-styrt vask ---------- */
.hero { position: relative; height: 300vh; background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.hero__media, .hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { background: var(--ink); }
.hero__poster { object-fit: cover; object-position: 62% 55%; transition: opacity .4s; }
.hero.is-live .hero__poster { opacity: 0; }
/* Dempet bilde: huset er scenen, overskriften er hovedpersonen */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 52% at 50% 52%, rgba(12,14,16,.62) 0%, rgba(12,14,16,.3) 60%, rgba(12,14,16,0) 100%),
    linear-gradient(180deg, rgba(12,14,16,.5) 0%, rgba(12,14,16,.34) 30%, rgba(12,14,16,.38) 70%, rgba(12,14,16,.72) 100%);
}
.hero__content {
  position: absolute; inset: 0; padding: var(--header) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  opacity: calc(1 - var(--exit, 0)); transform: translateY(calc(var(--exit, 0) * -48px));
}
.hero__title {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(3.3rem, 1rem + 7.4vw, 9.6rem); line-height: .9;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero__title span { display: block; }
.hero__l2 { color: rgba(255,255,255, var(--l2, .3)); }
.hero__lede { margin-top: clamp(22px, 3.2vh, 34px); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 44ch; text-wrap: balance; }
.hero__cta { margin-top: clamp(26px, 3.6vh, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.js .hero__title span, .js .hero__lede, .js .hero__cta { animation: rise 1.1s var(--ease) both; }
.js .hero__title .hero__l1 { animation-delay: .06s; }
.js .hero__title .hero__l2 { animation-delay: .14s; }
.js .hero__lede { animation-delay: .22s; }
.js .hero__cta { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rating { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; text-decoration: none; color: rgba(255,255,255,.88); }
.rating strong { color: #fff; }
.rating:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.hero__meter { position: absolute; right: clamp(18px, 3.4vw, 64px); bottom: clamp(28px, 5vh, 56px); display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__bar { position: relative; width: clamp(90px, 10vw, 150px); height: 2px; background: rgba(255,255,255,.26); overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }


/* ---------- Ark: hver scene glir opp over den forrige ---------- */
main > .stage, main > .contact, .foot {
  position: relative; z-index: 1; margin-top: calc(var(--sheet) * -1);
  border-radius: var(--sheet) var(--sheet) 0 0;
  box-shadow: 0 -24px 48px -28px rgba(0,0,0,.5);
}
main > .cases { z-index: 2; }
main > .stage--draper { z-index: 3; }
main > .area { z-index: 4; }
main > .contact { z-index: 5; overflow: clip; }
.foot { z-index: 6; }
.stage::before, .stage::after { border-radius: inherit; }

/* ---------- Scener: én Grok-bakgrunn per scene ---------- */
.stage { position: relative; isolation: isolate; }
.stage::before, .stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage::before { background: var(--stage-img) center / cover no-repeat; }
.stage--kledning { --stage-img: url("assets/bg/kledning.jpg"); background-color: var(--kalk); }
.stage--kledning::after { background: linear-gradient(180deg, rgba(240,240,236,.9) 0%, rgba(240,240,236,.8) 100%); }
.stage--skifer { --stage-img: url("assets/bg/skifer.jpg"); background-color: var(--ink); }
.stage--skifer::after { background: linear-gradient(180deg, rgba(21,24,27,.72), rgba(21,24,27,.55) 40%, rgba(21,24,27,.72)); }
.stage--draper { --stage-img: url("assets/bg/draper.jpg"); background-color: #D9DAD7; }
.stage--draper::after { background: linear-gradient(180deg, rgba(241,241,238,.84), rgba(241,241,238,.7)); }
.stage--kyst { --stage-img: url("assets/bg/kyst.jpg"); background-color: var(--ink); }
.stage--kyst::after { background: linear-gradient(90deg, rgba(21,24,27,.9) 0%, rgba(21,24,27,.72) 55%, rgba(21,24,27,.55) 100%); }
@media (min-width: 901px) and (hover: hover) {
  .stage--kledning::before, .stage--draper::before, .stage--skifer::before { background-attachment: fixed; }
}



/* ---------- Om (grunnlegger-seksjon) ---------- */
.intro { padding: var(--section) 0 clamp(56px, 7vw, 104px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1180px; margin-inline: auto; }
.intro__photo { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--linje); box-shadow: 0 50px 90px -50px rgba(21,24,27,.55); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.intro__photo.is-in img { transform: none; }
.intro__copy h2 { margin-bottom: 28px; }
.intro__title { white-space: nowrap; font-size: min(clamp(2.4rem, 1rem + 3vw, 4rem), 9.4vw); }
.intro__title em { font-weight: inherit; letter-spacing: inherit; color: var(--stein); }
.intro__quote { margin-top: 30px; padding-left: 22px; border-left: 2px solid var(--ink); }
.intro__quote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
.intro__quote footer { margin-top: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stein); }
.intro__lede { font-size: clamp(1.12rem, 1rem + .45vw, 1.34rem); line-height: 1.55; color: #2C3237; max-width: 50ch; margin: 0 0 16px; text-wrap: pretty; }
.intro__lede--sub { font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); color: var(--stein-d); }

.specs { margin: clamp(56px, 7vw, 96px) auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; padding: clamp(24px, 3vw, 36px) 0; }
.specs::before, .specs::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(21,24,27,.45) 18%, rgba(21,24,27,.45) 82%, transparent); }
.specs::before { top: 0; }
.specs::after { bottom: 0; }
.specs li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 4px 16px; }
.specs li + li { border-left: 1px solid rgba(21,24,27,.16); }
.specs__k { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stein); }
.specs strong { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.specs li > span:last-child { font-size: .92rem; color: var(--stein-d); }

/* ---------- Tjenester (husmerker, som skjoldene hos Henriksen) ---------- */
.services { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.tiles { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(36px, 4vw, 52px) clamp(16px, 2.4vw, 32px); }
.tile { width: 204px; }
.tile a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; }
.tile__emblem { position: relative; width: 104px; aspect-ratio: 120 / 132; transition: transform .45s var(--ease); }
.tile__house { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 22px rgba(21,24,27,.28)); }
.tile__house .house__body { fill: var(--ink); transition: fill .3s; }
.tile__house .house__line { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 1.5; stroke-linejoin: round; }
.tile__icon { position: absolute; left: 50%; top: 61%; width: 44px; height: 44px; transform: translate(-50%, -50%); fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__title { margin-top: 6px; font-weight: 700; font-size: 1.14rem; letter-spacing: -0.015em; line-height: 1.2; }
.tile__desc { font-size: .96rem; line-height: 1.45; color: #3A4146; max-width: 22ch; }
.tile a:hover .tile__emblem, .tile a:focus-visible .tile__emblem { transform: translateY(-6px); }
.tile a:hover .house__body { fill: var(--ink-3); }
.tile a:hover .tile__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.services__foot { margin-top: clamp(56px, 6vw, 80px); text-align: center; }

/* ---------- Før og etter: kort som stables ---------- */
.cases { padding: var(--section) 0; }
.cases__list { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1120px; display: grid; gap: clamp(28px, 6vh, 64px); }
.case { position: sticky; top: calc(var(--header) + 20px + var(--i) * 16px); }
.case__card {
  position: relative; padding: 12px 12px 16px; border-radius: 22px;
  background: rgba(21,24,27,.78); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85);
  transform-origin: 50% 0; transform: scale(var(--s, 1)); will-change: transform;
}
.case__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0B0D0F; opacity: var(--dim, 0); pointer-events: none; }
.case__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: min(60vh, 560px); }
.case__imgs figure { position: relative; overflow: hidden; border-radius: 14px; background: #000; }
.case__imgs img { width: 100%; height: 100%; object-fit: cover; }
.case__imgs figcaption {
  position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 6px;
  background: rgba(21,24,27,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.case__meta { display: flex; align-items: baseline; gap: 16px; padding: 18px 10px 4px; }
.case__meta h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); }
.case__meta p { margin-left: auto; color: var(--taake); text-align: right; }
.cases__foot { margin-top: clamp(64px, 8vw, 110px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cases__foot p { font-family: var(--display); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

/* ---------- Takrenner ---------- */
.gutters { padding: var(--section) 0 clamp(40px, 6vw, 80px); }
.gutters__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.gutters__copy h2 { margin-bottom: 28px; }
.gutters__copy h2 { font-size: clamp(2.3rem, 1rem + 2.7vw, 3.7rem); }
.gutters__copy h2 em { display: block; }
.gutters__copy p { color: var(--stein-d); max-width: 50ch; }
.gutters__copy p + p { margin-top: 14px; }
.checks { margin: 30px 0 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.checks li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.checks li::before { content: ""; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
.gutters__photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--linje); box-shadow: 0 30px 60px -36px rgba(21,24,27,.5); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--a { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Sitat ---------- */
.quote { padding: clamp(80px, 11vw, 160px) 0; text-align: center; }
.quote__block { max-width: 980px; margin: 0 auto; position: relative; }
.quote__block > p { position: relative; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.3rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.quote__block > p em { font-style: normal; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.quote__block footer { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.quote__line { width: 48px; height: 2px; background: var(--ink); margin-bottom: 14px; }
.quote__block footer strong { font-weight: 700; }
.quote__block footer span:last-child { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stein); }

/* ---------- Anmeldelser ---------- */
.reviews { padding: clamp(40px, 5vw, 64px) 0 var(--section); }
.reviews .section-head__lede { display: flex; justify-content: center; align-items: center; gap: 10px; }
.reviews .section-head__lede .stars { font-size: 1.25rem; }
.review-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.review-col { display: grid; gap: 20px; }
.review {
  padding: 26px 26px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -34px rgba(21,24,27,.45);
}
.review__stars { color: var(--stjerne); font-size: 1.05rem; letter-spacing: .08em; }
.review__stars--fb { color: #1877F2; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.review blockquote { margin: 14px 0 20px; }
.review blockquote p { color: #2C3237; }
.review figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(21,24,27,.1); }
.review figcaption strong { font-weight: 700; }
.review figcaption span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--stein); }
.review figcaption svg { width: 16px; height: 16px; }
.review--google { background: var(--ink); color: #fff; text-align: center; padding: 34px 26px 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.review__big { font-family: var(--display); font-size: 4.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.review--google .review__stars { font-size: 1.3rem; }
.review__count { color: var(--taake); margin-bottom: 18px; }
.review-cta {
  margin: clamp(28px, 4vw, 44px) auto 0; max-width: 900px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  border-radius: 18px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 24px 50px -34px rgba(21,24,27,.45);
}
.review-cta h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); letter-spacing: -0.01em; }
.review-cta p { margin-top: 6px; color: var(--stein-d); max-width: 46ch; }

/* ---------- Område ---------- */
.area { padding: var(--section) 0; overflow: clip; }
.area__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.area__copy > p { color: var(--taake); max-width: 44ch; margin-top: 24px; }
.places { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 540px; }
.places li { padding: 7px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); font-size: .92rem; }
.area__note { font-size: .95rem; }
.map { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.map img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 62%, transparent 100%); }
.map__overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__route { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 1 9; stroke-linecap: round; opacity: .7; }
.map__town circle { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.map__town text, .map__home text { fill: #fff; font-family: var(--font); font-size: 21px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 6px; stroke-linejoin: round; }
.map__dot { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.map__pulse { fill: #fff; opacity: .6; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.map__home text { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.map__home .map__sub { font-size: 17px; font-weight: 500; letter-spacing: 0; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.4); opacity: 0; } }

/* ---------- Kontakt (vannsprut) ---------- */
.contact { --visual: clamp(420px, 50vw, 740px); position: relative; isolation: isolate; background: #000; padding-bottom: var(--section); overflow: clip; }
.contact__visual {
  position: absolute; left: 0; right: 0; top: 0; height: var(--visual); z-index: -1;
  background: url("assets/bg/spray.jpg") 30% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.contact__head { padding-top: calc(var(--visual) * .64); max-width: 760px; }
.contact__head p:last-child { margin-top: 22px; color: var(--taake); font-size: 1.15rem; max-width: 46ch; }
.contact__inner { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.direct { position: sticky; top: calc(var(--header) + 32px); }
.direct li { border-top: 1px solid var(--linje-m); }
.direct li:last-child { border-bottom: 1px solid var(--linje-m); }
.direct a { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; text-decoration: none; }
.direct__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taake); }
.direct__value { font-family: var(--display); font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.direct__value--sm { font-family: var(--font); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; overflow-wrap: anywhere; }
.direct a:hover .direct__value { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.form { background: var(--hvit); color: var(--ink); border-radius: 18px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); }
.form fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.form legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px; border: 1.5px solid var(--linje); font-size: .92rem; font-weight: 500; cursor: pointer; user-select: none; transition: background-color .15s, color .15s, border-color .15s; }
.pick span:hover { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .opt { color: var(--stein); font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--linje); border-radius: 8px; background: #FAFAF8; padding: 13px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,24,27,.12); background: #fff; }
.field.has-error input { border-color: #B3261E; }
.field__err { margin-top: 6px; font-size: .85rem; color: #B3261E; font-weight: 600; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.form__note { margin-top: 14px; font-size: .86rem; color: var(--stein); }
.form__sent { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--kalk); font-size: .92rem; }

/* ---------- Footer ---------- */
.foot { position: relative; background: #0B0D0E; color: var(--taake); font-size: .95rem; }
.foot__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 48px; }
.foot__logo { display: block; width: 250px; margin-bottom: 18px; }
.foot__logo .brand { width: 100%; height: auto; }
.foot__brand p { max-width: 34ch; }
.foot__head { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot__col li + li { margin-top: 8px; }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

.dock { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsivt
   ========================================================== */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__call { margin-left: auto; }
  .top__burger { display: block; }
}

@media (max-width: 900px) {
  :root { --header: 72px; }
  .top__logo .brand { height: 42px; }
  .hero { height: 240vh; }
  .hero__meter { display: none; }
  .hero__content { justify-content: flex-end; padding-bottom: 34px; }
  .hero__cta { align-self: stretch; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__poster { object-position: 70% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(12,14,16,.94) 0%, rgba(12,14,16,.7) 42%, rgba(12,14,16,.2) 62%, rgba(12,14,16,.35) 100%); }

  .stage--kledning::before, .stage--draper::before, .stage--skifer::before { background-size: 190% auto; background-repeat: repeat-y; background-position: center top; }

  :root { --sheet: 22px; }
  .intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .intro__photo { aspect-ratio: 4 / 4.2; max-width: 520px; width: 100%; margin-inline: auto; }
  .intro__photo img { object-position: 50% 22%; }
  .specs { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .specs li:nth-child(3) { border-left: 0; }

  .gutters__inner, .area__inner, .contact__inner { grid-template-columns: 1fr; }
  .direct { position: static; }
  .map { max-width: 440px; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }

  .dock {
    position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 8px;
    background: rgba(21,24,27,.92); border: 1px solid var(--linje-m); border-radius: 14px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { min-height: 50px; }
  .foot { padding-bottom: 84px; }
}

@media (max-width: 640px) {
  .top__call { width: 46px; padding: 0; justify-content: center; }
  .top__call span { display: none; }
  .hero__title { font-size: clamp(2.5rem, 11.4vw, 3.6rem); }

  .tiles { gap: 36px 12px; }
  .tile { width: calc(50% - 6px); }
  .tile__emblem { width: 88px; }
  .tile__icon { width: 34px; height: 34px; }

  .case { top: calc(var(--header) + 12px + var(--i) * 10px); }
  .case__card { padding: 8px 8px 12px; border-radius: 18px; }
  .case__imgs { height: 62vw; gap: 6px; }
  .case__imgs figure { border-radius: 10px; }
  .case__imgs figcaption { left: 8px; top: 8px; padding: 4px 8px; font-size: .64rem; }
  .case__meta { flex-wrap: wrap; gap: 4px 12px; padding: 12px 6px 2px; }
  .case__meta p { margin-left: 0; text-align: left; flex-basis: 100%; font-size: .92rem; }

  .gutters__photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photo--a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .review-grid { grid-template-columns: 1fr; }
  .contact { --visual: 440px; }
  .contact__visual { background-position: 42% 50%; }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn--dark { flex: 1 1 100%; }
  .foot__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero__stage { position: relative; }
  .hero__l2 { color: #fff; }
  .case { position: relative; top: auto; }
}
