/* Reizer Solutions AS — stilark */

:root {
  --bg: #f2f4f7;
  --surface: #ffffff;
  --ink: #0e1b2b;
  --ink-soft: #52606e;
  --line: #d5dce3;
  --accent: #1c6e8c;
  --accent-ink: #145268;
  --panel: #0e1b2b;
  --panel-text: #e6ecf2;
  --panel-muted: #9fb0c0;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  z-index: 10;
}
.skip:focus { top: 8px; }

/* Topp */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}
.brand-mark {
  width: 14px;
  height: 22px;
  background: var(--ink);
  border-radius: 1px;
  transform: skewX(-12deg);
}

.topbar nav { display: flex; gap: 28px; }
.topbar nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.topbar nav a:hover { text-decoration: underline; }

/* Hero */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 112px) var(--gutter) clamp(56px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}

.lead {
  margin-top: 28px;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  transition: background-color 120ms ease;
}
.button:hover { background: var(--accent-ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--panel-text); color: var(--ink); }

.textlink { font-weight: 500; }

/* Foretaksopplysninger */

.register {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 24px 28px 20px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.register h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.register dl { margin: 0; }
.register dl > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.register dl > div:last-child { border-bottom: 0; }
.register dt { color: var(--ink-soft); font-size: 0.8125rem; }
.register dd { margin: 0; font-weight: 500; font-size: 1rem; }
.register-source {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Seksjoner */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  border-top: 1px solid var(--line);
}
.section-tight { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(36px, 5vw, 64px);
  align-items: end;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}
.section-head p {
  color: var(--ink-soft);
  max-width: var(--measure);
  font-size: 1.125rem;
}

/* Tjenester: to spalter, navn til venstre, beskrivelse til høyre */

.services { display: grid; gap: 0; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 12px clamp(32px, 6vw, 96px);
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.service p { max-width: var(--measure); }

/* Arbeidsmåte */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.principle h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.principle p { margin-top: 14px; color: var(--ink-soft); max-width: 38ch; }

/* Om */

.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: start;
}
.about h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}
.about-text { max-width: var(--measure); font-size: 1.125rem; }
.about-text p + p { margin-top: 20px; }

/* Kontakt */

.contact {
  background: var(--panel);
  color: var(--panel-text);
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) var(--gutter);
}
.contact h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: #fff;
}
.contact p {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 1.125rem;
  color: var(--panel-muted);
}
.contact .button { margin-top: 36px; font-size: 1.125rem; }

/* Bunn */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 24px clamp(32px, 6vw, 96px);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.footer strong { color: var(--ink); }
.footer-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer-meta { text-align: right; }

/* Mindre skjermer */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .register { max-width: 560px; }
  .principles { grid-template-columns: 1fr; }
  .principle h3, .principle p { max-width: var(--measure); }
  .footer { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .topbar nav { gap: 18px; flex-wrap: wrap; }
  .section-head,
  .service,
  .about { grid-template-columns: 1fr; }
  .register { padding: 20px 20px 16px; }
  .hero h1 { max-width: none; }
}
