:root {
  --field: #18241f;
  --field-2: #24362d;
  --field-3: #121c18;
  --paper: #eef1ea;
  --paper-2: #e3e8df;
  --ink: #152019;
  --mute: #5a675f;
  --line: #cdd5c8;
  --oxide: #c45c26;
  --oxide-d: #a3491c;
  --brass: #c4a35a;
  --foam: #f7f8f4;
  --display: "Syne", "Segoe UI", sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --pad: clamp(18px, 4vw, 36px);
  --gap: clamp(28px, 5vw, 64px);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--oxide);
  color: #fff;
  padding: 10px 16px;
  z-index: 400;
  font-family: var(--display);
  font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--oxide);
  outline-offset: 3px;
}

/* ---------- mark ---------- */
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.mark svg { width: 36px; height: 36px; flex: 0 0 auto; }
.mark .wm {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.mark .wm b { display: block; font-size: 15px; }
.mark .wm span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #3d4a42;
  margin-top: 2px;
}

/* ---------- top ---------- */
.topbar {
  background: var(--field-3);
  color: #b7c2ba;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  align-items: center;
}
.topbar a { color: #e4ebe4; text-decoration: none; }
.topbar a:hover { color: var(--brass); }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

nav.primary { display: flex; align-items: center; gap: 4px; }
nav.primary a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  padding: 8px 12px;
  color: var(--ink);
}
nav.primary a:hover { color: var(--oxide); }
nav.primary .ring {
  margin-left: 8px;
  background: var(--field);
  color: var(--foam);
  padding: 10px 16px;
  border-radius: 999px;
}
nav.primary .ring:hover { background: var(--oxide); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--field);
  color: var(--foam);
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px) 0 0;
}
.hero h1 {
  color: var(--foam);
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  font-weight: 800;
  max-width: 16ch;
  margin: 0 0 18px;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.5;
  max-width: 36em;
  color: #d5ddd6;
  margin-bottom: 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 32px;
  align-items: center;
}
.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: 16px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}
.btn-oxide { background: var(--oxide); color: #fff; }
.btn-oxide:hover { background: var(--oxide-d); }
.btn-ghost { border-color: #4a5d52; color: var(--foam); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-field { background: var(--field); color: var(--foam); }
.btn-field:hover { background: var(--oxide); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--foam); }
.btn-line:hover { border-color: var(--oxide); color: var(--oxide); }

.tambur {
  width: min(100%, 420px);
  margin-left: auto;
  aspect-ratio: 1;
  position: relative;
}
.tambur svg { width: 100%; height: 100%; }
.tambur .year {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: var(--display);
}
.tambur .year b {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--foam);
}
.tambur .year span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brass);
}

@keyframes ring-spin {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -220; }
}
.spin-ring {
  stroke-dasharray: 18 10;
  animation: ring-spin 28s linear infinite;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid #2d4036;
}
.proof div {
  padding: 18px 18px 22px 0;
  border-right: 1px solid #2d4036;
}
.proof div:last-child { border-right: 0; }
.proof b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foam);
}
.proof span {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: #c5d0c7;
}

.band {
  background: var(--field-2);
  color: var(--brass);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.08em;
  padding: 16px 0;
}
.band .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
}

/* ---------- sections ---------- */
section { padding: var(--gap) 0; }
.sec-kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--oxide);
  margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 18ch;
  margin-bottom: 14px;
}
.sec-lead {
  max-width: 38em;
  color: var(--mute);
  margin-bottom: 32px;
}

.main-service {
  padding: 0 0 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.main-service h3 { font-size: 1.7rem; margin-bottom: 12px; }
.main-service p { max-width: 42em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
}
.nace {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--mute);
  margin-top: 12px;
}
.price-note {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--oxide);
  margin-top: 10px;
}
.panel-dark {
  background: var(--field);
  color: #c5d0c7;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
}
.panel-dark strong {
  font-family: var(--display);
  color: var(--foam);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 8px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.two article {
  padding: clamp(22px, 3vw, 32px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.two .price-note { margin-top: auto; padding-top: 18px; }
.two article:first-child {
  background: var(--field-2);
  color: #d5ddd6;
}
.two article:first-child h3 { color: var(--foam); }
.two article:last-child {
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.two h3 { font-size: 1.45rem; margin-bottom: 10px; }

/* ---------- process ---------- */
.process {
  background: var(--field);
  color: #d5ddd6;
}
.process h2 { color: var(--foam); }
.process .sec-lead { color: #9aab9f; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps article {
  border-top: 2px solid var(--oxide);
  padding-top: 16px;
}
.steps i {
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  color: var(--brass);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}
.steps h3 { color: var(--foam); font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}
.facts {
  display: grid;
  grid-template-columns: 11.5em 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.facts dt,
.facts dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--mute);
  padding-right: 12px;
}
.facts dd { font-weight: 500; }

.portrait {
  position: relative;
  min-height: 360px;
  height: 100%;
  background: var(--field) url("/img/portrett-plass.jpg") center/cover no-repeat;
  color: var(--foam);
  overflow: hidden;
}
.portrait .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(18, 28, 24, 0.92));
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- contact ---------- */
.contact {
  background: var(--paper-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.phone-xl {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
  margin: 8px 0 18px;
}
.phone-xl:hover { color: var(--oxide); }
.vcard p { margin: 0 0 6px; }
.vcard .lbl {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mute);
  margin-top: 16px;
}

form.card {
  background: var(--foam);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
}
form.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.form-intro { color: var(--mute); margin-bottom: 18px; font-size: 16px; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 6px;
}
input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}
textarea { min-height: 120px; resize: vertical; }
form .btn { margin-top: 16px; border: 0; }
.fine {
  font-size: 13px;
  color: var(--mute);
  margin-top: 10px;
}
.thanks {
  background: var(--field);
  color: var(--foam);
  padding: 36px 28px;
}
.thanks h3 { color: var(--foam); margin-bottom: 8px; }

footer.site {
  background: var(--field-3);
  color: #9aab9f;
  padding: 36px 0 48px;
  font-family: var(--display);
  font-size: 13.5px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer.site a { color: #d5ddd6; text-decoration: none; }
footer.site a:hover { color: var(--brass); }
footer .wm b { color: var(--foam); }

.dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--field-3);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  border-top: 1px solid #2d4036;
}
.dock .btn { flex: 1; }

@media (max-width: 900px) {
  html { scroll-padding-bottom: 96px; }
  .hero-grid,
  .two,
  .steps,
  .about-grid,
  .contact-grid,
  .proof { grid-template-columns: 1fr; }
  .tambur { display: none; }
  .hero { padding-bottom: 8px; }
  .two h3 { font-size: 1.28rem; }
  .portrait { min-height: 280px; }
  .proof div { border-right: 0; border-bottom: 1px solid #2d4036; padding: 16px 0; }
  .proof div:last-child { border-bottom: 0; }
  .two article { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 16px;
  }
  nav.primary.is-open { display: flex; }
  nav.primary .ring { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .topbar { display: none; }
  .dock { display: flex; }
  header.site { top: 0; }
  footer.site { padding-bottom: 120px; }
  #kontakt { padding-bottom: calc(var(--gap) + 24px); }
  form.card { margin-bottom: 8px; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .hero { padding-top: 36px; }
  .band .wrap { justify-content: flex-start; }
}
