/* ==========================================================================
   Nordwebb UF
   Formspråk: nordiskt, premium och rent. Mörk natthimmel (norrsken, stjärnor och
   fjällsilhuetter) mot ljusa "snö"-ytor. Ett typsnitt: Outfit.
   Mjuka hörn i två steg: --r-sm (knappar, fält, små ytor) och --r-lg (kort, paneler, bilder).
   Färger: ljusblå, mörkare blå, svart och vitt. En accent, blå, i två nivåer
   (mörkare blå på ljust, isblå på mörkt).
   Z-index: sidhuvud 40, hoppa-över-länk 100. Inga andra lager.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: dark;

  /* Ljust tema: snö */
  --bg: #f2f6fb;
  --bg-2: #e6eef8;
  --surface: #fbfdff;
  --ink: #09111f;
  --muted: #4a5a72;
  --line: #d5dfeb;
  --line-strong: #7f94b0;
  --accent: #0b4bb3;
  --accent-hover: #083a8c;
  --on-accent: #f4f9ff;
  --danger: #b42318;
  --focus: #0b4bb3;
  --shadow: 0 1px 2px rgb(10 40 90 / 0.06), 0 18px 40px -18px rgb(10 40 90 / 0.22);

  /* Natt: används av alla mörka ytor, i både ljust och mörkt tema */
  --night-0: #030816;
  --night-1: #06112a;
  --night-2: #0a1d40;
  --night-3: #0d2a5c;
  --ice: #8fc9ff;
  --ice-strong: #c2e2ff;
  --on-night: #f1f7ff;
  --on-night-2: rgb(232 242 255 / 0.88);
  --night-line: rgb(255 255 255 / 0.13);

  /* Duoton för foton: skuggor blir marinblå, ljuspartier blir isblå */
  --duo-shadow: #06173a;
  --duo-light: #a9d3fa;

  --r-sm: 10px;
  --r-lg: 22px;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.5rem, 1.1rem + 4.4vw, 4.25rem);
  --fs-h1-page: clamp(2.4rem, 1.2rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 2.4vw, 3.25rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

:root:not([data-theme="light"]) {
  --bg: #050b17;
  --bg-2: #08111f;
  --surface: #0b1626;
  --ink: #e8f1fb;
  --muted: #9db0c9;
  --line: #1a2a41;
  --line-strong: #5d7596;
  --accent: #8fc9ff;
  --accent-hover: #c2e2ff;
  --on-accent: #051326;
  --danger: #ff9c94;
  --focus: #8fc9ff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -18px rgb(0 0 0 / 0.6);
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* ---------- Grund ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 {
  font-weight: 500;
}
p {
  text-wrap: pretty;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-night :focus-visible,
.section--night :focus-visible {
  outline-color: var(--ice);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ice);
  color: #06142c;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.sentinel {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.on-night {
  color: var(--on-night);
}

.accent {
  color: var(--accent);
}
.on-night .accent,
.section--night .accent {
  color: var(--ice);
}

.lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}
.on-night .lead,
.section--night .lead {
  color: var(--on-night-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ice-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* Foton i duoton: marinblå skuggor och isblå ljuspartier */
.photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border-radius: var(--r-lg);
  background: var(--duo-shadow);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: screen;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--duo-light);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Knappar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn .icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform 200ms var(--ease-out);
}
.btn:active {
  transform: scale(0.97);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.9375rem;
}
.btn--lg {
  padding: 17px 28px;
  font-size: 1.0625rem;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.on-night .btn--primary,
.section--night .btn--primary {
  background: var(--ice);
  color: #06142c;
}
.on-night .btn--ghost,
.section--night .btn--ghost {
  border-color: rgb(241 247 255 / 0.4);
  color: var(--on-night);
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--accent-hover);
  }
  .on-night .btn--primary:hover,
  .section--night .btn--primary:hover {
    background: var(--ice-strong);
  }
  .btn--ghost:hover {
    border-color: var(--ink);
  }
  .on-night .btn--ghost:hover {
    border-color: #fff;
    background: rgb(255 255 255 / 0.08);
  }
  .btn:hover .icon {
    transform: translateX(3px);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .icon {
    transform: translateX(4px);
  }
}

/* ---------- Sidhuvud ---------- */

.site-header {
  /* Över hero-bilden och i mörkt läge är sidhuvudet mörkt glas med vit logga.
     I ljust läge blir det ljust glas med den färgade loggan när sidan har scrollats. */
  --hd-fg: var(--on-night);
  --hd-fg2: var(--on-night-2);
  --hd-hover: rgb(255 255 255 / 0.09);
  --hd-active: rgb(255 255 255 / 0.13);
  --hd-line: var(--night-line);
  --hd-bg: rgb(4 9 21 / 0.92);
  --hd-pop: rgb(7 15 34 / 0.97);
  --hd-chip: rgb(143 201 255 / 0.14);
  --hd-chip-fg: var(--ice);
  --hd-uf: var(--ice);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color 280ms ease;
}
/* Glaset ligger på ett pseudo-element. Ett backdrop-filter direkt på sidhuvudet skulle göra att
   mobilmenyn (position: fixed) mäts mot sidhuvudet i stället för skärmen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hd-bg);
  opacity: 0;
  transition: opacity 280ms var(--ease-out), background-color 280ms ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--hd-line);
}
.site-header.is-scrolled::before,
.site-header.is-open::before {
  opacity: 1;
}
:root[data-theme="light"] .site-header.is-scrolled:not(.is-open) {
  --hd-fg: var(--ink);
  --hd-fg2: #3b4b64;
  --hd-hover: rgb(9 17 31 / 0.06);
  --hd-active: rgb(11 75 179 / 0.1);
  --hd-line: var(--line);
  --hd-bg: rgb(246 249 253 / 0.96);
  --hd-pop: rgb(252 253 255 / 0.98);
  --hd-chip: rgb(11 75 179 / 0.1);
  --hd-chip-fg: var(--accent);
  --hd-uf: var(--accent);
}
:root[data-theme="light"] .site-header.is-scrolled:not(.is-open) .brand__mark--white {
  display: none;
}
:root[data-theme="light"] .site-header.is-scrolled:not(.is-open) .brand__mark--color {
  display: block;
}
:root[data-theme="light"] .site-header.is-scrolled:not(.is-open) .nav__cta {
  background: var(--accent);
  color: var(--on-accent);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hd-fg, var(--on-night));
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
}
.brand__mark--color {
  display: none;
}
.brand__uf {
  position: relative;
  top: -0.7em;
  margin-left: 0.12em;
  color: var(--hd-uf, var(--ice));
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item {
  position: relative;
}
.nav__item > a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--hd-fg2);
  font-size: 0.9688rem;
  font-weight: 450;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}
.nav__item > a[aria-current="page"] {
  color: var(--hd-fg);
  background: var(--hd-active);
}
@media (hover: hover) and (pointer: fine) {
  .nav__item > a:hover {
    color: var(--hd-fg);
    background: var(--hd-hover);
  }
}
@media (hover: hover) and (pointer: fine) {
  :root[data-theme="light"] .site-header.is-scrolled:not(.is-open) .nav__cta:hover {
    background: var(--accent-hover);
  }
}

/* Undermeny för Vad vi gör */
.nav__item--sub {
  display: flex;
  align-items: center;
}
.nav__sub-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 36px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--hd-fg2);
  cursor: pointer;
}
.nav__sub-btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 200ms var(--ease-out);
}
.nav__sub-btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.subnav {
  position: absolute;
  top: calc(100% + 12px);
  left: -10px;
  display: grid;
  gap: 2px;
  width: 310px;
  padding: 8px;
  border: 1px solid var(--hd-line);
  border-radius: 16px;
  background: var(--hd-pop);
  box-shadow: 0 28px 56px -22px rgb(0 0 0 / 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.subnav::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
}
.nav__item--sub.is-open .subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  .nav__item--sub:hover .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}
.subnav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  color: var(--hd-fg);
  text-decoration: none;
}
.subnav strong {
  display: block;
  font-weight: 500;
}
.subnav small {
  display: block;
  color: var(--hd-fg2);
  font-size: 0.875rem;
}
.subnav__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--hd-chip);
  color: var(--hd-chip-fg);
}
@media (hover: hover) and (pointer: fine) {
  .subnav a:hover {
    background: var(--hd-hover);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hd-line);
  border-radius: var(--r-sm);
  background: var(--hd-hover);
  color: var(--hd-fg);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.nav-toggle:active {
  transform: scale(0.95);
}
.nav-toggle .icon {
  width: 24px;
  height: 24px;
}
.nav-toggle > span {
  display: inline-flex;
}
.nav-toggle > .nav-toggle__close {
  display: none;
}
.nav-toggle[aria-expanded="true"] > .nav-toggle__open {
  display: none;
}
.nav-toggle[aria-expanded="true"] > .nav-toggle__close {
  display: inline-flex;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--night-1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__item > a {
    padding: 16px 12px;
    font-size: 1.25rem;
  }
  .nav__item--sub {
    flex-wrap: wrap;
  }
  .nav__item--sub > a {
    flex: 1;
  }
  .nav__sub-btn {
    display: none;
  }
  .subnav {
    position: static;
    width: 100%;
    padding: 0 0 8px 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .subnav::before {
    display: none;
  }
  .nav__cta {
    padding: 17px 24px;
  }
}

.site-header .nav {
  margin-left: auto;
}

/* Temaknapp: måne när mörkt läge är valt, sol när ljust läge är valt */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hd-line);
  border-radius: var(--r-sm);
  background: var(--hd-hover);
  color: var(--hd-fg);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.theme-toggle:active {
  transform: scale(0.94);
}
.theme-toggle .icon {
  width: 22px;
  height: 22px;
}
.theme-toggle__sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle__sun {
  display: block;
}
:root[data-theme="light"] .theme-toggle__moon {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover {
    background: var(--hd-active);
  }
}

/* ---------- Natthimmel: norrsken, stjärnor och fjäll ---------- */

.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 58%, var(--night-2) 100%);
}
.sky > i {
  position: absolute;
  display: block;
  pointer-events: none;
}
.sky__glow {
  inset: 0;
  background:
    radial-gradient(70% 55% at 84% 6%, rgb(40 110 255 / 0.3), transparent 70%),
    radial-gradient(60% 50% at 8% 100%, rgb(20 80 200 / 0.32), transparent 70%);
}
.sky__stars {
  inset: 0 0 28% 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Ccircle cx='125' cy='144' r='0.9' fill='white' fill-opacity='0.39'/%3E%3Ccircle cx='372' cy='440' r='0.9' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='54' cy='111' r='0.9' fill='white' fill-opacity='0.49'/%3E%3Ccircle cx='187' cy='185' r='0.9' fill='white' fill-opacity='0.67'/%3E%3Ccircle cx='204' cy='249' r='0.9' fill='white' fill-opacity='0.55'/%3E%3Ccircle cx='66' cy='381' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='158' cy='65' r='0.9' fill='white' fill-opacity='0.38'/%3E%3Ccircle cx='188' cy='480' r='1.5' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='503' cy='25' r='0.9' fill='white' fill-opacity='0.74'/%3E%3Ccircle cx='17' cy='111' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='147' cy='453' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='377' cy='80' r='0.9' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='297' cy='215' r='0.9' fill='white' fill-opacity='0.66'/%3E%3Ccircle cx='237' cy='25' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='18' cy='360' r='0.9' fill='white' fill-opacity='0.64'/%3E%3Ccircle cx='145' cy='517' r='0.9' fill='white' fill-opacity='0.43'/%3E%3Ccircle cx='21' cy='268' r='0.9' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='381' cy='266' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='101' cy='322' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='35' cy='363' r='1.5' fill='white' fill-opacity='0.36'/%3E%3Ccircle cx='134' cy='191' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='166' cy='507' r='0.9' fill='white' fill-opacity='0.70'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Ccircle cx='188' cy='691' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='541' cy='232' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='198' cy='188' r='1.5' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='717' cy='371' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='113' cy='572' r='0.9' fill='white' fill-opacity='0.53'/%3E%3Ccircle cx='430' cy='656' r='1.5' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='317' cy='59' r='0.9' fill='white' fill-opacity='0.78'/%3E%3Ccircle cx='714' cy='27' r='0.9' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='233' cy='731' r='0.9' fill='white' fill-opacity='0.54'/%3E%3Ccircle cx='342' cy='8' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='356' cy='672' r='1.5' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='453' cy='105' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='709' cy='598' r='0.9' fill='white' fill-opacity='0.40'/%3E%3Ccircle cx='276' cy='89' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='311' cy='649' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='704' cy='39' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='671' cy='277' r='0.9' fill='white' fill-opacity='0.58'/%3E%3Ccircle cx='498' cy='446' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='408' cy='452' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='336' cy='70' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='741' cy='600' r='0.9' fill='white' fill-opacity='0.68'/%3E%3Ccircle cx='254' cy='697' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='581' cy='152' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='365' cy='535' r='1.5' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='223' cy='132' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='294' cy='582' r='0.9' fill='white' fill-opacity='0.79'/%3E%3C/svg%3E");
  background-size: 520px 520px, 760px 760px;
  background-repeat: repeat;
}
/* Norrskenet består av mjuka gradienter. Inga filter, masker eller blandlägen: Chrome ritar om stora
   blur-lager för dyrt, och det gjorde sidan seg. Gradienterna ger samma mjuka look utan kostnad. */
.sky__aurora {
  left: -12%;
  right: -12%;
}
.sky__aurora--a {
  top: 0;
  height: 62%;
  background:
    radial-gradient(34% 46% at 22% 50%, rgb(50 200 190 / 0.5), rgb(50 200 190 / 0.2) 55%, transparent 100%),
    radial-gradient(40% 50% at 52% 46%, rgb(64 150 255 / 0.55), rgb(64 150 255 / 0.22) 55%, transparent 100%),
    radial-gradient(34% 46% at 80% 52%, rgb(96 120 255 / 0.42), rgb(96 120 255 / 0.16) 55%, transparent 100%);
  opacity: 0.85;
  transform: skewY(-6deg);
}
.sky__aurora--b {
  top: 6%;
  height: 52%;
  background:
    repeating-linear-gradient(96deg, transparent 0, rgb(170 230 255 / 0.12) 14px, transparent 30px, transparent 46px),
    radial-gradient(40% 44% at 40% 46%, rgb(80 220 200 / 0.34), transparent 100%),
    radial-gradient(40% 44% at 64% 48%, rgb(120 190 255 / 0.34), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 52%, transparent 100%);
  opacity: 0.55;
  transform: skewY(5deg);
}
.sky__scrim {
  inset: 0;
  background: linear-gradient(90deg, rgb(3 8 22 / 0.7) 0%, rgb(3 8 22 / 0.5) 30%, rgb(3 8 22 / 0.14) 56%, transparent 72%);
}
@media (max-width: 900px) {
  .sky__scrim {
    background: linear-gradient(180deg, rgb(3 8 22 / 0.66) 0%, rgb(3 8 22 / 0.54) 55%, rgb(3 8 22 / 0.1) 85%, transparent 100%);
  }
}
.sky__ridge {
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(120px, 17vw, 250px);
}
.sky__ridge--back {
  background: linear-gradient(180deg, rgb(30 74 140 / 0.7), rgb(10 28 62));
  clip-path: polygon(0 100%, 0 54.2%, 2.3% 56.5%, 4.5% 56.8%, 6.8% 55.3%, 9.1% 43.7%, 11.4% 43.3%, 13.6% 35.1%, 15.9% 27.8%, 18.2% 30.6%, 20.5% 40.3%, 22.7% 49.9%, 25.0% 55.3%, 27.3% 58.6%, 29.5% 55.1%, 31.8% 51.3%, 34.1% 49.6%, 36.4% 40.7%, 38.6% 38.4%, 40.9% 37.2%, 43.2% 35.0%, 45.5% 42.5%, 47.7% 43.2%, 50.0% 50.0%, 52.3% 51.5%, 54.5% 57.6%, 56.8% 56.8%, 59.1% 60.2%, 61.4% 53.7%, 63.6% 57.7%, 65.9% 51.4%, 68.2% 43.6%, 70.5% 32.9%, 72.7% 25.8%, 75.0% 25.2%, 77.3% 31.4%, 79.5% 43.7%, 81.8% 49.2%, 84.1% 50.8%, 86.4% 51.9%, 88.6% 54.7%, 90.9% 52.3%, 93.2% 49.1%, 95.5% 47.4%, 97.7% 51.3%, 100.0% 51.3%, 100% 100%);
}
.sky__ridge--front {
  background: var(--bg);
  clip-path: polygon(0 100%, 0 71.1%, 1.9% 67.8%, 3.8% 65.8%, 5.8% 62.8%, 7.7% 65.9%, 9.6% 66.5%, 11.5% 72.1%, 13.5% 75.3%, 15.4% 75.3%, 17.3% 77.7%, 19.2% 74.5%, 21.2% 72.6%, 23.1% 72.0%, 25.0% 66.6%, 26.9% 62.3%, 28.8% 59.3%, 30.8% 54.5%, 32.7% 57.7%, 34.6% 62.0%, 36.5% 65.4%, 38.5% 69.2%, 40.4% 73.7%, 42.3% 74.7%, 44.2% 73.0%, 46.2% 77.2%, 48.1% 77.6%, 50.0% 76.0%, 51.9% 73.7%, 53.8% 70.0%, 55.8% 69.6%, 57.7% 65.2%, 59.6% 62.3%, 61.5% 62.5%, 63.5% 65.7%, 65.4% 68.6%, 67.3% 73.5%, 69.2% 74.8%, 71.2% 76.1%, 73.1% 75.6%, 75.0% 74.0%, 76.9% 76.9%, 78.8% 74.0%, 80.8% 69.1%, 82.7% 64.7%, 84.6% 61.7%, 86.5% 54.8%, 88.5% 52.3%, 90.4% 59.5%, 92.3% 63.9%, 94.2% 68.9%, 96.2% 73.1%, 98.1% 74.3%, 100.0% 73.5%, 100% 100%);
}

@media (prefers-reduced-motion: no-preference) {
  /* Syfte: norrskenet vandrar långsamt så att natthimlen känns levande, utan att dra blicken från texten. */
  .hero .sky__aurora--a {
    will-change: transform;
    animation: aurora-a 32s ease-in-out infinite alternate;
  }
}
@keyframes aurora-a {
  from {
    transform: skewY(-6deg) translate3d(-3%, 0, 0);
  }
  to {
    transform: skewY(-3deg) translate3d(3%, -3%, 0);
  }
}
@media (max-width: 760px) {
  .sky__aurora--a,
  .sky__aurora--b {
    animation: none;
  }
}

/* ---------- Sektioner ---------- */

.section {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
}
.section--flush {
  padding-top: 0;
}
.section--tint {
  background: var(--bg-2);
}
.section__head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head .lead {
  margin-top: 18px;
}
.section__title {
  max-width: 20ch;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.038em;
}
.web__text .section__title,
.live__text .section__title {
  margin-bottom: 22px;
}
.section__title--sm {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
}

/* Mörka band med diagonala kanter som ekar loggans snedställda form */
.section--night {
  --cut: clamp(28px, 4.5vw, 72px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--cut) + clamp(64px, 8vw, 112px));
  color: var(--on-night);
}
.band {
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  margin-block: calc(var(--cut) * -0.5);
}
.live {
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--cut) * -0.5);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + 24px) 0 clamp(120px, 15vw, 210px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.hero h1 {
  margin-bottom: 24px;
  font-size: var(--fs-h1);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.hero .lead {
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__art {
  justify-self: end;
  width: min(100%, 560px);
}
.hero__art figcaption {
  margin-top: 6px;
  color: var(--on-night-2);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Stjärnbilden över Norrbottens 14 kommuner */
.constellation {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.constellation .dust {
  fill: rgb(255 255 255 / 0.6);
}
.constellation .orbit {
  fill: none;
  stroke: rgb(143 201 255 / 0.14);
  stroke-dasharray: 2 9;
}
.constellation .edge {
  stroke: rgb(143 201 255 / 0.45);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.constellation .halo {
  fill: rgb(143 201 255 / 0.1);
}
.constellation .star {
  fill: #eaf5ff;
}
.constellation .star--hub {
  fill: var(--ice);
}
.constellation .ping {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.constellation .label {
  fill: rgb(226 238 255 / 0.8);
  font: 500 15.5px var(--font);
  letter-spacing: 0.02em;
}
.constellation .label--hub {
  fill: #fff;
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  /* Syfte: linjerna ritas upp som en stjärnbild och Boden pulserar som en sändning. */
  .constellation .edge {
    stroke-dashoffset: 1;
    animation: draw 1.8s var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 110ms + 500ms);
  }
  .constellation .ping {
    animation: ping 3.8s ease-out infinite;
  }
  .constellation .ping--b {
    animation-delay: 1.9s;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes ping {
  0% {
    opacity: 0.7;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(5);
  }
}

/* Etiketterna ska vara minst ca 11 px när bilden skalas ner: 21 enheter x 0,52 = 10,9 px */
@media (max-width: 600px) {
  .constellation .label {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 40px);
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__art {
    justify-self: center;
    width: min(100%, 420px);
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Sidhuvud för undersidor ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(120px, 15vw, 200px);
}
.page-hero--compact {
  padding-bottom: clamp(110px, 13vw, 170px);
}
.page-hero--full {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 40px) clamp(120px, 15vw, 200px);
}
.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 20px;
  font-size: var(--fs-h1-page);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.page-hero .btn {
  margin-top: 32px;
}
.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.anchors a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.05);
  color: var(--on-night);
  font-size: 0.9688rem;
  font-weight: 450;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.anchors .icon {
  width: 18px;
  height: 18px;
  color: var(--ice);
}
@media (hover: hover) and (pointer: fine) {
  .anchors a:hover {
    border-color: rgb(255 255 255 / 0.5);
    background: rgb(255 255 255 / 0.12);
  }
}

/* ---------- Fördelar ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.benefit {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--r-lg);
}
.benefit h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.benefit p {
  max-width: 46ch;
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.benefit__icon .icon {
  width: 26px;
  height: 26px;
}
.benefit--a {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 460px;
  color: var(--on-night);
  background:
    radial-gradient(90% 70% at 90% 0%, rgb(63 214 190 / 0.22), transparent 62%),
    radial-gradient(80% 70% at 0% 100%, rgb(60 120 255 / 0.34), transparent 66%),
    linear-gradient(165deg, var(--night-2), var(--night-0));
}
.benefit--a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Ccircle cx='125' cy='144' r='0.9' fill='white' fill-opacity='0.39'/%3E%3Ccircle cx='372' cy='440' r='0.9' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='54' cy='111' r='0.9' fill='white' fill-opacity='0.49'/%3E%3Ccircle cx='187' cy='185' r='0.9' fill='white' fill-opacity='0.67'/%3E%3Ccircle cx='204' cy='249' r='0.9' fill='white' fill-opacity='0.55'/%3E%3Ccircle cx='66' cy='381' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='158' cy='65' r='0.9' fill='white' fill-opacity='0.38'/%3E%3Ccircle cx='188' cy='480' r='1.5' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='503' cy='25' r='0.9' fill='white' fill-opacity='0.74'/%3E%3Ccircle cx='17' cy='111' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='147' cy='453' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='377' cy='80' r='0.9' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='297' cy='215' r='0.9' fill='white' fill-opacity='0.66'/%3E%3Ccircle cx='237' cy='25' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='18' cy='360' r='0.9' fill='white' fill-opacity='0.64'/%3E%3Ccircle cx='145' cy='517' r='0.9' fill='white' fill-opacity='0.43'/%3E%3Ccircle cx='21' cy='268' r='0.9' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='381' cy='266' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='101' cy='322' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='35' cy='363' r='1.5' fill='white' fill-opacity='0.36'/%3E%3Ccircle cx='134' cy='191' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='166' cy='507' r='0.9' fill='white' fill-opacity='0.70'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Ccircle cx='188' cy='691' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='541' cy='232' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='198' cy='188' r='1.5' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='717' cy='371' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='113' cy='572' r='0.9' fill='white' fill-opacity='0.53'/%3E%3Ccircle cx='430' cy='656' r='1.5' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='317' cy='59' r='0.9' fill='white' fill-opacity='0.78'/%3E%3Ccircle cx='714' cy='27' r='0.9' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='233' cy='731' r='0.9' fill='white' fill-opacity='0.54'/%3E%3Ccircle cx='342' cy='8' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='356' cy='672' r='1.5' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='453' cy='105' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='709' cy='598' r='0.9' fill='white' fill-opacity='0.40'/%3E%3Ccircle cx='276' cy='89' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='311' cy='649' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='704' cy='39' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='671' cy='277' r='0.9' fill='white' fill-opacity='0.58'/%3E%3Ccircle cx='498' cy='446' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='408' cy='452' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='336' cy='70' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='741' cy='600' r='0.9' fill='white' fill-opacity='0.68'/%3E%3Ccircle cx='254' cy='697' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='581' cy='152' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='365' cy='535' r='1.5' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='223' cy='132' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='294' cy='582' r='0.9' fill='white' fill-opacity='0.79'/%3E%3C/svg%3E");
  background-size: 520px 520px, 760px 760px;
  background-repeat: repeat;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(200deg, #000 0%, transparent 62%);
}
.benefit--a h3 {
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.benefit--a p {
  color: var(--on-night-2);
  font-size: 1.125rem;
}
.benefit--a .benefit__icon {
  background: rgb(255 255 255 / 0.12);
  color: var(--ice);
}
.benefit--b {
  grid-column: span 5;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.benefit--b p,
.benefit--c p {
  color: var(--muted);
}
.benefit--c {
  grid-column: span 5;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 450;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checks .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.22em;
  color: var(--ice);
}
.checks--light .icon {
  color: var(--accent);
}

@media (max-width: 860px) {
  .benefit {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }
}

/* ---------- Två erbjudanden ---------- */

.what {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
}
.what__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 44vw, 560px);
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--r-lg);
  color: var(--on-night);
  text-decoration: none;
}
.what__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
}
.what__media img {
  position: absolute;
  inset: 0;
  transition: transform 900ms var(--ease-out);
}
.what__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(4 9 21 / 0.1) 18%, rgb(4 9 21 / 0.9) 100%);
}
.what__body {
  display: grid;
  gap: 12px;
  max-width: 48ch;
  padding: clamp(24px, 3vw, 40px);
}
.what__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.14);
  color: var(--ice);
}
.what__icon .icon {
  width: 24px;
  height: 24px;
}
.what__body h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.what__body p {
  color: var(--on-night-2);
}
.what__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-weight: 500;
}
.what__more .icon {
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .what__card:hover .what__media img {
    transform: scale(1.05);
  }
  .what__card:hover .what__more .icon {
    transform: translate(3px, -3px);
  }
}
@media (max-width: 860px) {
  .what {
    grid-template-columns: minmax(0, 1fr);
  }
  .what__card {
    min-height: 400px;
  }
}

/* ---------- Samarbeten ---------- */

.section--logos {
  padding-block: clamp(32px, 5vw, 64px);
}
.logos {
  --logo-filter: grayscale(1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
:root:not([data-theme="light"]) .logos {
  --logo-filter: brightness(0) invert(1);
}
.logos__label {
  color: var(--muted);
  font-size: 0.9688rem;
  font-weight: 450;
  letter-spacing: 0.02em;
}
.logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 0;
}
.client {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline: 32px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.client:first-child {
  padding-left: 0;
}
.client:last-child {
  padding-right: 0;
}
.client + .client {
  border-left: 1px solid var(--line);
}
.client__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, #0a1d40, #0b4bb3);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.client__logo {
  width: auto;
  height: 40px;
  filter: var(--logo-filter);
  opacity: 0.8;
}
@media (max-width: 700px) {
  .logos__list {
    gap: 14px 24px;
  }
  .client,
  .client:first-child,
  .client:last-child {
    padding-inline: 0;
  }
  .client + .client {
    border-left: 0;
  }
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.member:nth-child(2) {
  margin-top: clamp(0px, 4vw, 56px);
}
.member__photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--night-1);
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member__sky {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(70% 50% at 26% 18%, rgb(63 214 190 / 0.38), transparent 70%),
    radial-gradient(70% 55% at 84% 44%, rgb(60 120 255 / 0.5), transparent 70%),
    linear-gradient(180deg, var(--night-0), var(--night-2));
}
.member__sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Ccircle cx='125' cy='144' r='0.9' fill='white' fill-opacity='0.39'/%3E%3Ccircle cx='372' cy='440' r='0.9' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='54' cy='111' r='0.9' fill='white' fill-opacity='0.49'/%3E%3Ccircle cx='187' cy='185' r='0.9' fill='white' fill-opacity='0.67'/%3E%3Ccircle cx='204' cy='249' r='0.9' fill='white' fill-opacity='0.55'/%3E%3Ccircle cx='66' cy='381' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='158' cy='65' r='0.9' fill='white' fill-opacity='0.38'/%3E%3Ccircle cx='188' cy='480' r='1.5' fill='white' fill-opacity='0.71'/%3E%3Ccircle cx='503' cy='25' r='0.9' fill='white' fill-opacity='0.74'/%3E%3Ccircle cx='17' cy='111' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='147' cy='453' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='377' cy='80' r='0.9' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='297' cy='215' r='0.9' fill='white' fill-opacity='0.66'/%3E%3Ccircle cx='237' cy='25' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='18' cy='360' r='0.9' fill='white' fill-opacity='0.64'/%3E%3Ccircle cx='145' cy='517' r='0.9' fill='white' fill-opacity='0.43'/%3E%3Ccircle cx='21' cy='268' r='0.9' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='381' cy='266' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='101' cy='322' r='0.9' fill='white' fill-opacity='0.42'/%3E%3Ccircle cx='35' cy='363' r='1.5' fill='white' fill-opacity='0.36'/%3E%3Ccircle cx='134' cy='191' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='166' cy='507' r='0.9' fill='white' fill-opacity='0.70'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Ccircle cx='188' cy='691' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='541' cy='232' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='198' cy='188' r='1.5' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='717' cy='371' r='0.9' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='113' cy='572' r='0.9' fill='white' fill-opacity='0.53'/%3E%3Ccircle cx='430' cy='656' r='1.5' fill='white' fill-opacity='0.51'/%3E%3Ccircle cx='317' cy='59' r='0.9' fill='white' fill-opacity='0.78'/%3E%3Ccircle cx='714' cy='27' r='0.9' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='233' cy='731' r='0.9' fill='white' fill-opacity='0.54'/%3E%3Ccircle cx='342' cy='8' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='356' cy='672' r='1.5' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='453' cy='105' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='709' cy='598' r='0.9' fill='white' fill-opacity='0.40'/%3E%3Ccircle cx='276' cy='89' r='0.9' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='311' cy='649' r='1.5' fill='white' fill-opacity='0.45'/%3E%3Ccircle cx='704' cy='39' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='671' cy='277' r='0.9' fill='white' fill-opacity='0.58'/%3E%3Ccircle cx='498' cy='446' r='0.9' fill='white' fill-opacity='0.76'/%3E%3Ccircle cx='408' cy='452' r='0.9' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='336' cy='70' r='0.9' fill='white' fill-opacity='0.82'/%3E%3Ccircle cx='741' cy='600' r='0.9' fill='white' fill-opacity='0.68'/%3E%3Ccircle cx='254' cy='697' r='0.9' fill='white' fill-opacity='0.83'/%3E%3Ccircle cx='581' cy='152' r='1.5' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='365' cy='535' r='1.5' fill='white' fill-opacity='0.61'/%3E%3Ccircle cx='223' cy='132' r='0.9' fill='white' fill-opacity='0.72'/%3E%3Ccircle cx='294' cy='582' r='0.9' fill='white' fill-opacity='0.79'/%3E%3C/svg%3E");
  background-size: 520px 520px, 760px 760px;
  background-repeat: repeat;
  opacity: 0.8;
}
.member:nth-child(2) .member__sky {
  background:
    radial-gradient(70% 50% at 70% 16%, rgb(63 214 190 / 0.38), transparent 70%),
    radial-gradient(70% 55% at 10% 52%, rgb(60 120 255 / 0.5), transparent 70%),
    linear-gradient(180deg, var(--night-0), var(--night-2));
}
.member:nth-child(3) .member__sky {
  background:
    radial-gradient(70% 50% at 50% 12%, rgb(90 150 255 / 0.5), transparent 70%),
    radial-gradient(70% 55% at 88% 70%, rgb(63 214 190 / 0.32), transparent 70%),
    linear-gradient(180deg, var(--night-0), var(--night-2));
}
.member__sky span {
  color: #fff;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.05em;
}
.member h3 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.member p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .team {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .member {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
  }
  .member:nth-child(2) {
    margin-top: 0;
  }
  .member__photo {
    grid-row: span 2;
    margin-bottom: 0;
    border-radius: 16px;
  }
  .member__sky span {
    font-size: 2.5rem;
  }
  .member h3 {
    align-self: end;
  }
  .member p {
    align-self: start;
  }
}

/* ---------- Webbplatser ---------- */

.web {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.web__more {
  max-width: 54ch;
  margin-top: 18px;
  color: var(--muted);
}
.web__photo {
  aspect-ratio: 4 / 5;
  max-height: 640px;
}
.web__photo img {
  position: absolute;
  inset: 0;
}
.support {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.support__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.support__icon .icon {
  width: 26px;
  height: 26px;
}
.support h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}
.support p {
  max-width: 60ch;
  color: var(--muted);
}
@media (max-width: 860px) {
  .web {
    grid-template-columns: minmax(0, 1fr);
  }
  .web__photo {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

/* Tidigare arbeten */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 20px;
}
.work-card__img {
  aspect-ratio: 16 / 10;
}
.work-card__img img {
  position: absolute;
  inset: 0;
}
.work-card__body {
  padding: 18px 4px 0;
}
.work-card__meta {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.875rem;
}
.work-card__meta strong {
  color: var(--accent);
  font-weight: 500;
}
.work-card h3 {
  margin-bottom: 8px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.work-card__link .icon {
  width: 0.85em;
  height: 0.85em;
  color: var(--accent);
  transition: transform 200ms var(--ease-out);
}
.work-card__body > p:last-child {
  color: var(--muted);
}
.work__all {
  margin-top: 36px;
}
@media (hover: hover) and (pointer: fine) {
  .work-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .work-card__link:hover .icon {
    transform: translate(2px, -2px);
  }
}
.work-empty {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.work-empty__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.work-empty__icon .icon {
  width: 30px;
  height: 30px;
}
.work-empty h3 {
  margin-bottom: 4px;
  font-size: 1.375rem;
}
.work-empty p {
  max-width: 54ch;
  color: var(--muted);
}
@media (max-width: 960px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-empty {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- Paket ---------- */

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pkg {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
}
.pkg__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.pkg__icon .icon {
  width: 26px;
  height: 26px;
}
.pkg h3 {
  font-size: 1.625rem;
  letter-spacing: -0.03em;
}
.pkg__text {
  color: var(--muted);
}
.pkg__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: auto;
  padding-block: 18px;
  border-block: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.pkg__price strong {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.pkg__from,
.pkg__unit {
  color: var(--muted);
  font-size: 0.9375rem;
}
.pkg__list {
  display: grid;
  gap: 10px;
  font-size: 0.9688rem;
}
.pkg__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pkg__list .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  color: var(--accent);
}
.pkg--plain {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pkg--tint {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.pkg--blue,
.pkg--black {
  color: var(--on-night);
  border: 1px solid var(--night-line);
}
.pkg--blue {
  background:
    radial-gradient(90% 60% at 100% 0%, rgb(63 214 190 / 0.22), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgb(60 120 255 / 0.4), transparent 66%),
    linear-gradient(165deg, var(--night-3), var(--night-1));
}
.pkg--black {
  background: linear-gradient(165deg, var(--night-1), var(--night-0));
}
.pkg--blue .pkg__text,
.pkg--blue .pkg__from,
.pkg--blue .pkg__unit,
.pkg--black .pkg__text,
.pkg--black .pkg__from,
.pkg--black .pkg__unit {
  color: var(--on-night-2);
}
.pkg--blue .pkg__icon,
.pkg--black .pkg__icon {
  background: rgb(255 255 255 / 0.12);
  color: var(--ice);
}
.pkg--blue .pkg__list .icon,
.pkg--black .pkg__list .icon {
  color: var(--ice);
}
@media (min-width: 961px) {
  .pkg--blue {
    transform: translateY(-14px);
  }
  .js .pkg--blue.reveal.is-in {
    transform: translateY(-14px);
  }
}
@media (max-width: 960px) {
  .packages {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Livesändning ---------- */

.live__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.live__refs {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--night-line);
}
.live__refs-label {
  margin-bottom: 8px;
  color: var(--on-night-2);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.streams {
  display: grid;
  gap: 4px;
}
.streams li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  font-size: 1.125rem;
}
.streams .icon {
  color: var(--ice);
}
.live__side {
  display: grid;
  gap: 16px;
}
.live__photo {
  aspect-ratio: 16 / 10;
}
.live__photo img {
  position: absolute;
  inset: 0;
}
.glass {
  border: 1px solid var(--night-line);
  border-radius: var(--r-lg);
  background: rgb(26 42 80 / 0.55);
}
.price {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(24px, 3vw, 32px);
}
.price__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgb(143 201 255 / 0.16);
  color: var(--ice);
}
.price__icon .icon {
  width: 24px;
  height: 24px;
}
.price h3 {
  font-size: 1.625rem;
  letter-spacing: -0.03em;
}
.price p {
  max-width: 44ch;
  margin-bottom: 8px;
  color: var(--on-night-2);
}
.upcoming {
  margin-top: clamp(64px, 8vw, 112px);
}
.upcoming__panel {
  padding: clamp(6px, 1.2vw, 14px);
}
.events {
  display: grid;
}
.event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(12px, 2vw, 24px);
}
.event + .event {
  border-top: 1px solid var(--night-line);
}
.event__date {
  display: grid;
  justify-items: center;
  padding: 10px 0;
  border-radius: 12px;
  background: rgb(143 201 255 / 0.13);
  line-height: 1.1;
}
.event__day {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.event__mon {
  color: var(--ice);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.event p {
  color: var(--on-night-2);
  font-size: 0.9688rem;
}
.event__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-weight: 500;
  text-decoration: none;
}
.events-empty {
  padding: 28px clamp(16px, 3vw, 32px);
  color: var(--on-night-2);
}
.events-empty[hidden] {
  display: none;
}
@media (max-width: 860px) {
  .live__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .event {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .event__link {
    grid-column: 2;
  }
}

/* ---------- Om oss ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.story__photo {
  aspect-ratio: 10 / 11;
}
.story__photo img {
  position: absolute;
  inset: 0;
}
.story__text .section__title {
  margin-bottom: 24px;
}
.story__text p + p {
  margin-top: 1em;
}
.story__text p {
  max-width: 54ch;
  color: var(--muted);
}
@media (max-width: 860px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
  }
  .story__photo {
    aspect-ratio: 4 / 3;
  }
}

.uf__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.uf__text .section__title {
  margin-bottom: 24px;
}
.uf__text p + p {
  margin-top: 1em;
}
.uf__text p {
  max-width: 52ch;
  color: var(--on-night-2);
  font-size: 1.125rem;
}
.uf__promises-title {
  margin-bottom: 8px;
  color: var(--on-night-2);
  font-size: 0.9375rem;
  font-weight: 450;
  letter-spacing: 0.02em;
}
.promise {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--night-line);
}
.promise__num {
  color: var(--ice);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.promise__text {
  color: var(--on-night-2);
}
@media (max-width: 860px) {
  .uf__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}
.card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.9375rem;
  font-weight: 500;
}
.optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input,
.field select {
  height: 52px;
  padding: 0 14px;
}
.field textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
}
.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 30%, transparent);
}
.field__help {
  color: var(--muted);
  font-size: 0.875rem;
}
.field__error {
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 500;
}
.field__error:empty {
  display: none;
}
.select {
  position: relative;
}
.select select {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select .icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.form__note {
  flex: 1 1 220px;
  color: var(--muted);
  font-size: 0.875rem;
}
.form__status {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--danger);
  border-radius: var(--r-sm);
  color: var(--danger);
  font-weight: 500;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-block: 12px;
}
.form-success[hidden],
.form[hidden],
.form__status[hidden] {
  display: none;
}
.form-success:focus {
  outline: none;
}
.form-success__icon .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}
.form-success h2 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}
.form-success p {
  max-width: 44ch;
  color: var(--muted);
}

.contact__aside h2 {
  margin-bottom: 24px;
  font-size: 1.625rem;
  letter-spacing: -0.03em;
}
.aside-list {
  display: grid;
  gap: 24px;
}
.aside-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
}
.step__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.step__icon .icon {
  width: 26px;
  height: 26px;
}
.aside-list h3 {
  margin-bottom: 2px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.aside-list p {
  color: var(--muted);
  font-size: 0.9688rem;
}
.direct {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.direct p {
  color: var(--muted);
}
.direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: var(--accent);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.direct .icon {
  width: 22px;
  height: 22px;
}
@media (max-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form__foot .btn {
    width: 100%;
  }
}

/* ---------- Projektsidan och tomma lägen ---------- */

.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 46ch;
  padding-block: clamp(24px, 6vw, 72px);
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.empty__icon .icon {
  width: 30px;
  height: 30px;
}
.empty h2 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}
.empty p {
  color: var(--muted);
}

/* ---------- Avslutande yta: CTA och sidfot ---------- */

.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 128px);
}
.sky--finale .sky__glow {
  background:
    radial-gradient(50% 70% at 12% 20%, rgb(40 100 255 / 0.4), transparent 70%),
    radial-gradient(40% 60% at 52% 10%, rgb(110 170 160 / 0.22), transparent 70%),
    radial-gradient(50% 70% at 92% 24%, rgb(40 110 255 / 0.34), transparent 70%);
}
.sky--finale .sky__aurora--a {
  opacity: 0.5;
}
.sky--finale .sky__aurora--b {
  opacity: 0.3;
}
.sky--band .sky__aurora--a {
  opacity: 0.62;
}
.sky--band .sky__aurora--b {
  opacity: 0.4;
}
.sky--finale .sky__stars {
  inset: 0 0 40% 0;
}
.finale__cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--night-line);
}
.finale__headline {
  max-width: 14ch;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.finale__side {
  display: grid;
  justify-items: start;
  gap: 24px;
  padding-bottom: 6px;
}
.finale__side p {
  max-width: 44ch;
  color: var(--on-night-2);
  font-size: 1.125rem;
}
.finale__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
.finale__about p {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--on-night-2);
  font-size: 0.9688rem;
}
.finale__about p.finale__uf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.finale__uf .icon {
  width: 20px;
  height: 20px;
  color: var(--ice);
}
.finale__title {
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.finale ul {
  display: grid;
  gap: 10px;
  color: var(--on-night-2);
  font-size: 0.9688rem;
}
.finale li a {
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .finale li a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
  color: var(--on-night);
  transition: background-color 160ms ease, border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .socials a:hover {
    border-color: rgb(255 255 255 / 0.55);
    background: rgb(255 255 255 / 0.1);
  }
}
.finale__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--night-line);
  color: var(--on-night-2);
  font-size: 0.9375rem;
}
.finale__bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
@media (max-width: 960px) {
  .finale__cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .finale__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finale__about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .finale__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .finale__side .btn {
    width: 100%;
  }
}

.finale .finale__side .btn--primary {
  gap: 18px;
  padding: 8px 8px 8px 28px;
  border-radius: 999px;
  background: #f1f6ff;
  color: #06142c;
  font-weight: 500;
}
.finale .finale__side .btn--primary .icon {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  background: #dbe5f3;
}
@media (hover: hover) and (pointer: fine) {
  .finale .finale__side .btn--primary:hover {
    background: #ffffff;
  }
  .finale .finale__side .btn--primary:hover .icon {
    transform: translateX(3px);
  }
}
@media (max-width: 560px) {
  .finale .finale__side .btn--primary {
    justify-content: space-between;
  }
}

/* ---------- Rörelse ---------- */
/* Syfte: avslöja innehåll i läsordning när det kommer i bild (hierarki). */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  /* Om skriptet inte hinner starta visas allt ändå efter tre sekunder. */
  html.js:not(.ready) .reveal {
    animation: reveal-fallback 0.01s 3s forwards;
  }
}
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
