:root {
  --ink: #111418;
  --ink-2: #1b1f25;
  --text: #2b3038;
  --muted: #5b616a;
  --line: #e2e5e9;
  --soft: #f2f4f6;
  --white: #ffffff;
  --wrap: 1240px;
  --gutter: 24px;
  --sec-y: 88px;
  --nav-h: 72px;
  --hero-h: clamp(560px, 84vh, 880px);
  --r: 12px;
  --r-sm: 6px;
  --shadow: 0 14px 32px rgba(17, 20, 24, 0.07);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: "Onest", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --brand: #2453c6;
  --brand-hover: #1d45a8;
  --brand-dark: #10295f;
  --brand-deep: #0b1d45;
  --brand-tint: #edf2fc;
  --brand-light: #a4c0ff;
  --grey: #e9ecef;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.14;
  letter-spacing: -0.016em;
}

h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1rem; line-height: 1.4; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.section--soft { background: var(--soft); }
.section--grey { background: var(--grey); }
.section--ink { background: var(--brand-dark); color: rgba(255, 255, 255, 0.76); }
.section--ink h2 { color: var(--white); }

.head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.head p {
  margin-top: 14px;
  font-size: 1.125rem;
  color: var(--muted);
}

.hept { flex: 0 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--ink { background: var(--brand); color: var(--white); }
.btn--ink:hover { background: var(--brand-hover); }
.btn--light { background: var(--white); color: var(--brand); }
.btn--light:hover { background: #e9ecef; }
.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); }
.btn--outline { background: transparent; border-color: rgba(17, 20, 24, 0.28); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--white); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn:disabled { cursor: not-allowed; }
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.25); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}

.icon-tile--dark {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.topbar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  height: 40px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.topbar-item svg { color: rgba(255, 255, 255, 0.55); }
a.topbar-item:hover { color: var(--white); }

.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.nav.scrolled { box-shadow: 0 6px 24px rgba(17, 20, 24, 0.08); }

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img { height: 42px; width: auto; }

.nav-links { margin-left: auto; }
.menu-panel { display: contents; }

.menu-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-list a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.menu-list a:hover { color: var(--ink); background: var(--soft); }
.menu-list > li > a.active { color: var(--brand); background: var(--brand-tint); }

.menu-actions { display: none; }

.nav-drop { position: relative; }
.nav-drop-link { gap: 6px; }
.chev { transition: transform 0.2s var(--ease); }

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0s linear 0.18s;
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 44px rgba(17, 20, 24, 0.12);
}

.nav-drop-menu li { position: relative; }
.nav-drop-menu li:first-child { padding-top: 8px; }
.nav-drop-menu li:last-child { padding-bottom: 8px; }

.nav-drop-menu a {
  display: flex;
  height: 42px;
  margin: 0 8px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
}

.nav-drop-menu a:hover { background: var(--soft); }

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.nav-drop:hover .chev { transform: rotate(180deg); }

.btn--nav { height: 44px; padding: 0 20px; font-size: 0.9375rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.14s var(--ease) 0.18s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transition: opacity 0.06s linear; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: var(--hero-h);
  background: #16191e;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.66) 0%, rgba(10, 12, 15, 0.3) 50%, rgba(10, 12, 15, 0) 78%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.2) 0%, rgba(10, 12, 15, 0) 32%, rgba(10, 12, 15, 0.74) 100%);
}

.hero-inner {
  position: relative;
  padding-bottom: 80px;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.hero p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.hero .btn-row {
  justify-content: flex-start;
  margin-top: 30px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  max-height: 760px;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--soft);
}

.split-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media--spiro img { object-position: 50% 40%; }
.split-media--school { background: var(--ink-2); }
.split-media--school img { object-position: 50% 40%; }

.split-text { min-width: 0; }

.lead {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--muted);
}

.section--ink .lead { color: rgba(255, 255, 255, 0.76); }

.marks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.marks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.mark-ico {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: var(--white);
}

.mark-ico svg { display: block; }
.section--ink .mark-ico { background: var(--white); color: var(--brand); }
.marks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.section--ink .marks li { color: var(--white); }

.split-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 320px 320px;
  grid-template-areas: "a a b b" "a a c d";
  gap: 16px;
}

.tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-2);
  color: var(--white);
  isolation: isolate;
}

.tile--lg { grid-area: a; }
.tile--wide { grid-area: b; }
#tile-montering { grid-area: c; }
#tile-aggregat { grid-area: d; }

.tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 78%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0) 0%, rgba(10, 12, 15, 0.5) 42%, rgba(10, 12, 15, 0.88) 100%);
  transition: opacity 0.25s var(--ease);
}

.tile-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 22px 80px 24px 24px;
}

.tile h3 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.tile p {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.tile--lg .tile-body { padding: 32px 96px 34px 34px; }
.tile--lg h3 { font-size: 2rem; }
.tile--lg p { max-width: 420px; margin-top: 10px; font-size: 1.0625rem; }

.tile-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-radius: var(--r);
}

.tile-link:focus-visible { box-shadow: inset 0 0 0 3px var(--white); }

.tile-link svg {
  position: absolute;
  right: 20px;
  bottom: 24px;
  box-sizing: content-box;
  padding: 13px 14px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tile--lg .tile-link svg { right: 30px; bottom: 34px; }

.tile:hover .tile-link svg { background: var(--brand); color: var(--white); }

#tile-ovk img { object-position: 50% 35%; }
#tile-service img { object-position: 50% 55%; }
#tile-montering img { object-position: 50% 30%; }
#tile-aggregat img { object-position: 40% 60%; }

.refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ref { min-width: 0; }

.ref-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--soft);
}

.ref-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-media--forseglet img { object-position: 50% 70%; }
.ref-media--norrby img { object-position: 36% 50%; }
.ref-media--bredsand img { object-position: 42% 50%; }

.ref h3 { margin-top: 20px; font-size: 1.25rem; }
.ref p { margin-top: 6px; color: var(--muted); }

.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
  overflow: hidden;
  background: #1b1f25;
  color: var(--white);
}

.band-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.band-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.62) 0%, rgba(10, 12, 15, 0.76) 100%);
}

.band-inner {
  position: relative;
  max-width: 860px;
  text-align: center;
}

.band h2 {
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 10px 32px rgba(0, 0, 0, 0.4);
}

.band p {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.band .btn-row { margin-top: 30px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: stretch;
}

.card {
  min-width: 0;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.info-card {
  display: flex;
  flex-direction: column;
}

.info-card h3 { font-size: 1.25rem; }

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 600;
}

.info-text small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.info-text a { text-decoration: none; }
.info-text a:hover { text-decoration: underline; text-underline-offset: 3px; }

.info-map {
  flex: 1 1 auto;
  min-height: 220px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--soft);
}

.info-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d3d8de;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea { min-height: 150px; }

.field input::placeholder,
.field textarea::placeholder { color: #6b717a; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 83, 198, 0.14);
}

#contact-form { max-width: 100%; min-width: 0; }
.form .ms-recaptcha-slot,
.form .form-messages { grid-column: 1 / -1; }
.ms-recaptcha-notice { grid-column: 1 / -1; text-align: center; }

.footer {
  padding-top: 72px;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.f-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 48px;
}

.f-logo { display: inline-flex; }
.f-logo img { height: 34px; width: auto; }

.f-brand p {
  max-width: 320px;
  margin-top: 20px;
}

.f-brand .btn { margin-top: 24px; }

.f-col h4 {
  color: var(--white);
  font-weight: 600;
}

.f-col ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.f-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.f-col a:hover { color: var(--white); }

.f-contact a,
.f-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.f-bottom {
  margin-top: 56px;
  padding-bottom: 28px;
}

.f-bottom p {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (hover: none) {
  .tile:hover .tile-link svg { background: var(--white); color: var(--ink); }
}

@media (max-width: 1100px) {
  .menu-list a { padding: 0 9px; }
  .nav-inner { gap: 16px; }
}

@media (max-width: 980px) {
  :root { --sec-y: 64px; --nav-h: 64px; }

  html { scroll-padding-top: 72px; }

  .topbar-item--wide { display: none; }
  .topbar-inner { gap: 24px; }

  .btn--nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .brand img { height: 30px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(17, 20, 24, 0.12);
  }

  .nav-links.open {
    display: block;
    max-height: none;
    overscroll-behavior: contain;
  }

  html.menu-open { overflow: hidden; }
  .menu-panel { display: block; }

  .menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 0;
  }

  .menu-list a {
    display: flex;
    width: 100%;
    height: 52px;
    padding: 0 14px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
  }

  .menu-list > li > a.active { color: var(--brand); background: var(--brand-tint); }

  .nav-drop-link { justify-content: space-between; }
  .nav-drop-link .chev { margin-left: auto; }

  .nav-drop-menu {
    position: static;
    width: auto;
    padding: 0 0 8px 16px;
    opacity: 1;
    visibility: visible;
    display: none;
    transition: none;
  }

  .nav-drop-menu::before { display: none; }
  .nav-drop-menu li:first-child { padding-top: 0; }
  .nav-drop-menu li:last-child { padding-bottom: 0; }
  .nav-drop.is-open .nav-drop-menu { display: block; }
  .nav-drop:hover .nav-drop-menu { display: none; }
  .nav-drop.is-open:hover .nav-drop-menu { display: block; }
  .nav-drop:hover .chev { transform: none; }
  .nav-drop.is-open .chev { transform: rotate(180deg); }

  .nav-drop-menu a {
    height: 44px;
    margin: 0;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
  }

  .nav-drop-menu a:hover { background: transparent; color: var(--ink); }

  .menu-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px var(--gutter) 24px;
  }

  .menu-actions .btn { width: 100%; }

  .menu-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }

  .hero {
    height: auto;
    min-height: 74vh;
  }

  .hero-inner { padding-top: 120px; padding-bottom: 56px; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .split-media {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 360px 280px 280px;
    grid-template-areas: "a a" "b b" "c d";
  }

  .tile--lg h3 { font-size: 1.75rem; }

  .refs { gap: 18px; }

  .contact { grid-template-columns: minmax(0, 1fr); }

  .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .refs { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ref-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 300px;
  }

  .tile--lg,
  .tile--wide,
  #tile-montering,
  #tile-aggregat { grid-area: auto; }
  .tile--lg .tile-body { padding: 22px 80px 24px 24px; }
  .tile--lg h3 { font-size: 1.5rem; }
  .tile--lg p { font-size: 0.9375rem; margin-top: 6px; }
  .tile--lg .tile-link svg { right: 20px; bottom: 24px; }
}

@media (max-width: 600px) {
  :root { --sec-y: 52px; --gutter: 18px; }

  body { font-size: 1rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.25rem; }

  .head { margin-bottom: 30px; }
  .head p { font-size: 1rem; }
  .lead { font-size: 1.0625rem; }

  .btn { height: 48px; padding: 0 20px; font-size: 0.9375rem; }

  .topbar-inner { gap: 16px; font-size: 0.8125rem; }

  .hero { min-height: 78vh; }
  .hero-media img { object-position: 50% 42%; }
  .hero-inner { padding-bottom: 40px; }
  .hero p { font-size: 1.0625rem; margin-top: 14px; }
  .hero .btn-row { margin-top: 24px; }
  .hero .btn-row .btn,
  .band .btn-row .btn { width: 100%; }

  .split-foot { flex-direction: column; align-items: stretch; }
  .split-foot .btn { width: 100%; }
    .marks--two { gap: 10px 16px; }

  .band { min-height: 0; }
  .band p { font-size: 1.0625rem; }

  .card { padding: 24px 20px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer { padding-top: 56px; }
  .f-bottom { margin-top: 40px; }
}

.center-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(420px, 60vh, 620px);
  overflow: hidden;
  background: #16191e;
  color: var(--white);
}

.page-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-tjanster { object-position: 50% 62%; }
.pos-omoss { object-position: 50% 40%; }
.pos-kontakt { object-position: 50% 40%; }

.page-hero-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.55) 0%, rgba(10, 12, 15, 0.2) 50%, rgba(10, 12, 15, 0) 75%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.25) 0%, rgba(10, 12, 15, 0.08) 35%, rgba(10, 12, 15, 0.78) 100%);
}

.page-hero-inner {
  position: relative;
  padding-bottom: 64px;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.page-hero p {
  max-width: 600px;
  margin-top: 14px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: 0.6; }

.crumbs--dark { color: var(--muted); text-shadow: none; margin-bottom: 18px; }
.crumbs--dark a:hover { color: var(--ink); }
.crumbs--dark span:last-child { color: var(--ink); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.svc-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-media--ovk img { object-position: 50% 30%; }
.svc-media--service img { object-position: 50% 50%; }
.svc-media--filter img { object-position: 50% 40%; }
.svc-media--montering img { object-position: 50% 35%; }
.svc-media--aggregat img { object-position: 40% 60%; }
.svc-media--konsultation img { object-position: 50% 45%; }

.svc-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 30px 32px 32px;
}

.svc-body h2 { font-size: 1.625rem; line-height: 1.2; }
.svc-body > p { margin-top: 10px; color: var(--muted); }
.svc-body .marks { margin-top: 20px; gap: 10px; }

.svc-foot {
  margin-top: auto;
  padding-top: 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.svc-card--plain .svc-media { aspect-ratio: 4 / 3; }
.svc-card--plain .svc-body { padding: 26px 28px 30px; }

.ref { position: relative; }
.ref-media { position: relative; }

.ref-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s var(--ease);
}

.ref-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-radius: var(--r);
}

.ref:hover .ref-link { text-decoration-color: var(--ink); }
.ref-link:focus-visible::after { box-shadow: 0 0 0 3px var(--ink); }

.ref-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 45px;
  background: var(--white);
  color: var(--ink);
  clip-path: polygon(50% 0%, 90.1% 19.8%, 100% 64.3%, 72.25% 100%, 27.75% 100%, 0% 64.3%, 9.9% 19.8%);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.ref:hover .ref-arrow { background: var(--ink); color: var(--white); }

.refs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.refs--two .ref-media { aspect-ratio: 16 / 10; }

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.case-text { min-width: 0; }

.case-media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--soft);
}

.case-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-media--forseglet img { object-position: 50% 58%; }
.case-media--norrby img { object-position: 36% 50%; }
.case-media--bredsand img { object-position: 45% 50%; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--soft);
}

.fact small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

@media (hover: none) {
  .ref:hover .ref-arrow { background: var(--white); color: var(--ink); }
}

@media (max-width: 980px) {
  .page-hero { height: auto; min-height: 400px; }
  .page-hero-inner { padding-top: 120px; padding-bottom: 44px; }

  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }

  .case-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case-media { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  .refs--two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .refs--two .ref-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .page-hero p { font-size: 1.0625rem; }
  .crumbs { font-size: 0.875rem; }

  .svc-body { padding: 24px 20px 26px; }
  .svc-body h2 { font-size: 1.4375rem; }
  .svc-foot .btn {
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .center-row { margin-top: 32px; }
  .center-row .btn { width: 100%; }

  .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 20px; }
  }

.hero-media img { object-position: 50% 60%; }

.lead--ink { color: var(--ink); font-weight: 500; }

.ints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.int {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
}

.int strong {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  white-space: nowrap;
}

.int-title {
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.int-text {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.int-note {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.int-note a { color: var(--white); }

.wrap.prose { max-width: 868px; }
.prose h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.prose h2 { margin-top: 34px; font-size: 1.5rem; }
.prose p { margin-top: 10px; }
.prose .lead { margin-top: 16px; }
.prose a { color: var(--brand); }

@media (max-width: 600px) {
  .ints { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .int strong { font-size: 1.5rem; }
  .prose h2 { font-size: 1.3125rem; margin-top: 28px; }
}

@media (max-width: 420px) {
  .topbar-item:first-child { display: none; }
}

.btn svg { flex: 0 0 auto; }
.btn-arrow { display: inline-flex; transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.tile img,
.svc-media img,
.split-media img { transition: transform 0.7s var(--ease); }

.tile-link svg { transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }

.svc-card { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }

@media (hover: hover) {
  .tile:hover img { transform: scale(1.04); }
  .tile:hover .tile-link svg { transform: translateX(2px); }
  .svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17, 20, 24, 0.1); }
  .svc-card:hover .svc-media img { transform: scale(1.04); }
}

.select-wrap { position: relative; }

.select-wrap select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.select-chev {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.f-cert {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  margin-top: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.f-cert svg { flex: 0 0 auto; color: var(--brand-light); }

.int strong { color: var(--brand-light); }

.btn:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px var(--brand); }

@media (hover: none) {
  .menu-list a:hover { background: transparent; }
  .menu-list > li > a.active:hover { background: var(--brand-tint); }
}
