/* EV Høytrykk og Miljø – versjon B «Tegnet» */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #15181a;
  --paper: #ffffff;
  --orange: #ef4f01;
  --orange-dk: #c94200;
  --tint: #fff0e8;
  --grid: #eceeee;
  --muted: #545b5e;
  --stroke: 2px;
  --shadow: 5px 5px 0 var(--ink);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --pipe-x: clamp(10px, 3vw, 36px);
  --pipe-w: clamp(12px, 1.6vw, 20px);
  --run-pad: clamp(44px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 16px; top: 16px; }

.h1, .h2, .h3, .hero__h { font-family: "Bricolage", "Archivo", sans-serif; font-weight: 800; line-height: 1; letter-spacing: -0.025em; margin: 0 0 .4em; text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 1.6em; letter-spacing: -0.015em; }

/* Buttons – ink outline + hard shadow, like the drawings */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 22px;
  font: 700 1rem/1.2 "Archivo", sans-serif; text-decoration: none; cursor: pointer;
  border: var(--stroke) solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background-color .12s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--lg { padding: 17px 28px; font-size: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--line { background: #fff; color: var(--ink); }
.btn--paper { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: var(--stroke) solid var(--ink); }
.top__in { display: flex; align-items: center; gap: 30px; min-height: 82px; }
.top__logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; padding: 4px 2px; background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 3px no-repeat; transition: background-size .2s; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 3px; }
.top__call {
  display: grid; text-decoration: none; background: var(--orange); color: #fff; padding: 7px 22px 8px;
  border: var(--stroke) solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); line-height: 1.15; text-align: center;
}
.top__call:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.top__call-label { font-size: .75rem; font-weight: 600; }
.top__call-num { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.burger { display: none; }

/* Hero – drawing-board */
.hero {
  border-bottom: var(--stroke) solid var(--ink);
  background-color: #fff;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}
.hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; min-height: min(80vh, 720px); padding-top: 56px; padding-bottom: 56px; }
.hero__h { font-size: clamp(3.4rem, 8.4vw, 7.4rem); line-height: .9; letter-spacing: -0.045em; margin-bottom: .32em; }
.hero__h span { display: block; color: var(--orange); -webkit-text-stroke: 0; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 31em; margin-bottom: 30px; }
.hero__art { margin: 0 -12% 0 0; position: relative; }
.hero__art img { width: 100%; height: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 80%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 80%); }

/* The pipe */
.pipeline { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 0 calc(var(--gut) + var(--run-pad)); --fill: 0; }
.pipeline::before, .pipeline::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gut) + var(--pipe-x)); width: var(--pipe-w);
}
.pipeline::before { background: #fff; border-left: var(--stroke) solid var(--ink); border-right: var(--stroke) solid var(--ink); }
.pipeline::after {
  left: calc(var(--gut) + var(--pipe-x) + var(--stroke)); width: calc(var(--pipe-w) - 2 * var(--stroke));
  background: var(--orange); transform-origin: top; transform: scaleY(var(--fill));
}
.run { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.joint {
  position: absolute; z-index: 2; top: clamp(64px, 9vw, 112px); margin-top: .2em;
  left: calc(-1 * var(--run-pad) + var(--pipe-x) - 8px); width: calc(var(--pipe-w) + 16px); height: 38px;
  background: #fff; border: var(--stroke) solid var(--ink); border-radius: 6px;
}
.joint::before, .joint::after { content: ""; position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--ink); }
.joint::before { top: 5px; } .joint::after { bottom: 5px; }
.run__lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }

/* Picker */
.picker { margin-top: 32px; }
.picker__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-block; padding: 11px 18px; border: var(--stroke) solid var(--ink); border-radius: 999px; background: #fff;
  text-decoration: none; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color .12s, color .12s;
}
.chip:hover { background: var(--tint); }
.chip[aria-expanded="true"] { background: var(--ink); color: #fff; }
.answer {
  margin-top: 24px; border: var(--stroke) solid var(--ink); border-radius: 18px; padding: 26px 28px 28px; background: var(--tint);
  box-shadow: var(--shadow); max-width: 760px; animation: pop .2s ease-out;
}
.answer--urgent { background: var(--orange); color: #fff; }
.answer--urgent .btn--orange { background: var(--ink); }
@keyframes pop { from { transform: translateY(6px); opacity: 0; } }
.answer__kicker { margin: 0; font-weight: 600; }
.answer__title { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 2px 0 10px; }
.answer__note { font-size: 1.1rem; max-width: 36em; }

/* Service cards */
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards--page { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff;
  border: var(--stroke) solid var(--ink); border-radius: 18px; overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--stroke) solid var(--ink); background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); transition: filter .25s; }
.card:hover .card__media img { filter: none; }
.card--drawn .card__media img { object-fit: contain; padding: 6px; filter: none; }
.card__title { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; padding: 18px 20px 6px; }
.card__text { color: var(--muted); padding: 0 20px 22px; font-size: .98rem; line-height: 1.5; }

/* Akutt */
.akutt { background: var(--orange); color: var(--ink); border-top: var(--stroke) solid var(--ink); border-bottom: var(--stroke) solid var(--ink); padding: clamp(64px, 9vw, 112px) 0; }
.akutt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.akutt__lead { font-size: 1.2rem; max-width: 30em; }
.akutt__num { display: inline-block; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 1; letter-spacing: -0.04em; text-decoration: none; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); margin-top: 8px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: #fff; border: var(--stroke) solid var(--ink); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.steps strong { font-family: "Bricolage", sans-serif; font-size: 1.3rem; letter-spacing: -0.015em; }
.steps p { margin: 2px 0 0; color: var(--muted); }
.steps__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.25rem; }

/* Duo sections */
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.duo--rev { grid-template-columns: .9fr 1.1fr; }
.art { margin: 0; }
.art img { width: 100%; height: auto; max-height: 600px; object-fit: contain; mix-blend-mode: multiply; }
.bubble {
  position: relative; background: var(--tint); border: var(--stroke) solid var(--ink); border-radius: 22px; padding: 22px 26px;
  font-size: 1.18rem; margin: 8px 0 28px 0; max-width: 34em;
}
.bubble::before {
  content: ""; position: absolute; left: -16px; top: 34px; width: 26px; height: 26px; background: var(--tint);
  border-left: var(--stroke) solid var(--ink); border-bottom: var(--stroke) solid var(--ink); transform: rotate(45deg);
}
.vals { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.vals li { padding-left: 30px; position: relative; color: var(--muted); }
.vals li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: var(--orange); }
.vals strong { display: block; color: var(--ink); font-size: 1.1rem; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 860px; }
.faq__item { border: var(--stroke) solid var(--ink); border-radius: 16px; background: #fff; }
.faq__item[open] { background: var(--tint); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; position: relative; font-weight: 700; font-size: 1.15rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  border: var(--stroke) solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; background: #fff;
}
.faq__item[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq__item p { margin: 0; padding: 0 22px 20px; max-width: 42em; }

/* Contact band */
.contact { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.contact__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact__mark { width: 100%; height: auto; background: #fff; border-radius: 50%; padding: 18px; }
.contact__lead { font-size: 1.2rem; color: #d0d5d6; max-width: 34em; }
.contact__num { display: block; font-family: "Bricolage", sans-serif; font-weight: 800; color: var(--orange); font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: 1; letter-spacing: -0.04em; text-decoration: none; margin: 8px 0 28px; }
.contact .btn { box-shadow: 4px 4px 0 #fff; border-color: #fff; }
.contact .btn:hover { box-shadow: 2px 2px 0 #fff; }
.contact .btn--paper { border-color: var(--ink); }

/* Subpages */
.page { padding: 28px 0 clamp(64px, 9vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); margin-bottom: clamp(28px, 4vw, 44px); }
.crumbs a { color: var(--muted); }
.page__intro { max-width: 760px; }
.page__lead { font-size: 1.28rem; line-height: 1.5; }
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.frame { margin: 0; border: var(--stroke) solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--orange); aspect-ratio: 4 / 3; background: #fff; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--drawn img { object-fit: contain; padding: 10px; }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 720px; }
.prose > p { font-size: 1.12rem; }
.prose a { text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: var(--orange); }
.rel { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rel a { display: grid; gap: 4px; padding: 18px 20px; border: var(--stroke) solid var(--ink); border-radius: 16px; text-decoration: none; height: 100%; }
.rel a:hover { background: var(--tint); }
.rel span { color: var(--muted); font-size: .96rem; }
.aside { position: sticky; top: 108px; border: var(--stroke) solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.aside__media { aspect-ratio: 4 / 3; border-bottom: var(--stroke) solid var(--ink); background: #fff; }
.aside__media img { width: 100%; height: 100%; object-fit: cover; }
.aside__media--drawn img { object-fit: contain; padding: 10px; }
.aside__body { padding: 24px 24px 26px; }
.aside__h { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 4px; }
.aside__mail { display: block; text-align: center; margin-top: 16px; }
.aside--contact .aside__h { margin-top: 12px; font-size: 1.15rem; }
.aside__big { display: block; color: var(--orange); font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; text-decoration: none; margin-bottom: 8px; }
.box { margin-top: clamp(56px, 8vw, 96px); border: var(--stroke) solid var(--ink); border-radius: 26px; padding: clamp(24px, 4vw, 48px); background: #fff; box-shadow: 8px 8px 0 var(--orange); }
.values { margin: 28px 0; display: grid; gap: 12px; }
.values div { border: var(--stroke) solid var(--ink); border-radius: 16px; padding: 14px 18px; }
.values dt { font-weight: 800; font-family: "Bricolage", sans-serif; font-size: 1.2rem; }
.values dd { margin: 0; color: var(--muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pair figure { margin: 0; border: var(--stroke) solid var(--ink); border-radius: 18px; padding: 12px; }
.pair img { width: 100%; height: auto; }
.credits { padding-left: 1.2em; display: grid; gap: 8px; }

/* Form */
.form { margin-top: 32px; display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; }
.form__row--half { grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--half > div { display: grid; gap: 6px; }
.form label { font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; padding: 13px 16px; border: var(--stroke) solid var(--ink); border-radius: 12px; background: #fff; width: 100%; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--orange); }
.form__error { color: #b42318; font-weight: 700; margin: 0; }
.form .btn { justify-self: start; }

/* Footer */
.foot { background: var(--ink); color: #c7cccd; padding-top: 64px; border-top: 6px solid var(--orange); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot__brand img { width: 220px; height: auto; margin-bottom: 14px; }
.foot__h { color: #fff; font-family: "Bricolage", sans-serif; font-size: 1.15rem; margin: 0 0 12px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot__phone { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.callbar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--page { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .top__call { display: none; }
  .top__in { min-height: 70px; justify-content: space-between; }
  .top__logo img { height: 40px; }
  .burger { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; padding: 0; border: var(--stroke) solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; position: relative; z-index: 2; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open .nav { display: grid; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; background: #fff; padding: 24px var(--gut); align-content: start; gap: 0; margin: 0; z-index: 1; overflow-y: auto; }
  .nav-open .nav a { font-family: "Bricolage", sans-serif; font-size: 1.8rem; font-weight: 800; padding: 14px 0; border-bottom: var(--stroke) solid var(--ink); background: none; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 40px; gap: 8px; }
  .hero__art { margin: 0 -8% 0 4%; order: -1; max-width: 560px; }
  .akutt__grid, .duo, .duo--rev, .contact__grid, .page__grid, .svc-head { grid-template-columns: 1fr; }
  .duo--rev .art { order: 2; }
  .art img { max-height: 420px; }
  .contact__mark { width: 120px; }
  .aside { position: static; }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; padding: 15px 16px calc(15px + env(safe-area-inset-bottom)); border-top: var(--stroke) solid var(--ink); }
  body { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .rel, .form__row--half, .pair { grid-template-columns: 1fr; }
  .cards, .cards--page { gap: 12px; }
  .card { border-radius: 14px; }
  .card__title { font-size: 1.1rem; padding: 12px 12px 4px; }
  .card__text { font-size: .86rem; padding: 0 12px 14px; }
  .card:hover { transform: none; box-shadow: none; }
  .foot__grid { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
  .chip { font-size: .96rem; padding: 10px 15px; }
  .answer { padding: 20px; }
  .bubble::before { display: none; }
  .joint { height: 30px; }
}
