:root {
  --font-family-base: "Palatino Linotype", Georgia, serif;
  --color-bg: #0b1020;
  --color-bg-top: rgba(11, 16, 32, 0.3);
  --color-bg-bottom: rgba(11, 16, 32, 0.54);
  --color-surface: rgba(34, 39, 54, 0.82);
  --color-surface-strong: rgba(47, 53, 71, 0.92);
  --color-surface-muted: rgba(255, 255, 255, 0.05);
  --color-text: #edf3fc;
  --color-text-soft: #b8c5df;
  --color-text-muted: #8190a9;
  --color-line: rgba(255, 255, 255, 0.12);
  --color-accent: #7cb9ff;
  --color-accent-strong: #4e8cff;
  --color-accent-soft: #97afd6;
  --button-bg: rgba(78, 140, 255, 0.18);
  --button-bg-strong: rgba(78, 140, 255, 0.24);
  --button-border: rgba(124, 185, 255, 0.38);
  --button-text: #edf4ff;
  --vipps-brand: #ff5b24;
  --vipps-brand-strong: #ff7343;
  --vipps-brand-shadow: rgba(255, 91, 36, 0.28);
  --vipps-modal-surface: rgba(228, 237, 249, 0.97);
  --vipps-modal-text: #14253a;
  --vipps-modal-text-soft: #4e5f73;
  --vipps-modal-border: rgba(33, 53, 72, 0.16);
  --vipps-modal-option-bg: rgba(255, 255, 255, 0.96);
  --vipps-modal-option-active-bg: #28475d;
  --vipps-modal-option-active-text: #f8fbff;
  --vipps-modal-close-bg: rgba(20, 37, 58, 0.08);
  --vipps-modal-close-bg-hover: rgba(20, 37, 58, 0.14);
  --vipps-modal-input-placeholder: rgba(20, 37, 58, 0.6);
  --partner-tile-bg: rgba(255, 255, 255, 0.58);
  --partner-tile-bg-hover: rgba(255, 255, 255, 0.72);
  --partner-tile-border: rgba(255, 255, 255, 0.24);
  --partner-tile-border-hover: rgba(255, 255, 255, 0.4);
  --partner-tile-inset: 10px;
  --partner-tile-min-height: 120px;
  --partner-tile-image-height: calc(var(--partner-tile-min-height) - (var(--partner-tile-inset) * 2));
  --color-contrast: rgba(24, 31, 46, 0.95);
  --color-contrast-text: #edf3fc;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 22px 54px rgba(0, 0, 0, 0.24);
  --radius-panel: 28px;
  --radius-card: 22px;
  --shell-width: 1120px;
  --shell-padding: 24px;
  --brand-name-size: 46px;
  --brand-name-min-height: 92px;
  --section-heading-size: 1.8rem;
  --common-text: 1.26rem;
  --text-body-size: var(--common-text);
  --section-copy-size: var(--common-text);
  --cta-menu-title-size: clamp(1rem, 2vw, 1.8rem);
  --media-carousel-card-size: clamp(374px, 38vw, 422px);
  --media-carousel-edge-width: 50px;
  --media-carousel-loop-gap: clamp(16px, 1.8vw, 24px);
  --media-carousel-preview-height: clamp(184px, 20vw, 208px);
  --media-carousel-hover-shadow: none;
  --media-carousel-control-color: rgba(237, 244, 255, 0.3);
  --media-carousel-control-hover-color: rgba(237, 244, 255, 0.48);
  --project-preview-fade-duration: 960ms;
  --project-preview-active-scale: 1.01;
  --project-preview-idle-scale: 1.055;
  --header-control-border-width: 1px;
  --header-control-inline: 50px;
  --header-control-height: 40px;
  --header-main-min-height: 215px;
  --lang-switcher-gap: 0px;
  --lang-switcher-padding: 4px;
  --lang-switcher-card-inline: var(--header-control-inline);
  --lang-switcher-overlap: 10px;
  --lang-switcher-expanded-inline: calc((var(--lang-switcher-card-inline) * 3) - (var(--lang-switcher-overlap) * 2));
  --lang-switcher-collapsed-inline: var(--lang-switcher-card-inline);
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 72px;
}

body[data-theme="light"] {
  --color-bg: #dfe7f2;
  --color-bg-top: rgba(255, 255, 255, 0.58);
  --color-bg-bottom: rgba(215, 225, 238, 0.9);
  --color-surface: rgba(255, 255, 255, 0.86);
  --color-surface-strong: rgba(244, 248, 255, 0.96);
  --color-surface-muted: rgba(21, 31, 48, 0.04);
  --color-text: #132033;
  --color-text-soft: #314157;
  --color-text-muted: #617187;
  --color-line: rgba(14, 23, 38, 0.1);
  --color-accent-soft: #617187;
  --button-bg: rgba(97, 151, 255, 0.14);
  --button-bg-strong: rgba(97, 151, 255, 0.2);
  --button-border: rgba(76, 126, 221, 0.28);
  --button-text: #132033;
  --vipps-brand-shadow: rgba(255, 91, 36, 0.22);
  --vipps-modal-surface: rgba(232, 240, 251, 0.98);
  --vipps-modal-text: #14253a;
  --vipps-modal-text-soft: #4e5f73;
  --vipps-modal-border: rgba(20, 37, 58, 0.14);
  --vipps-modal-option-bg: rgba(255, 255, 255, 0.96);
  --vipps-modal-option-active-bg: #28475d;
  --vipps-modal-option-active-text: #f8fbff;
  --vipps-modal-close-bg: rgba(20, 37, 58, 0.08);
  --vipps-modal-close-bg-hover: rgba(20, 37, 58, 0.14);
  --vipps-modal-input-placeholder: rgba(20, 37, 58, 0.6);
  --partner-tile-bg: transparent;
  --partner-tile-bg-hover: transparent;
  --partner-tile-border: transparent;
  --partner-tile-border-hover: transparent;
  --partner-tile-inset: 10px;
  --partner-tile-min-height: 120px;
  --partner-tile-image-height: calc(var(--partner-tile-min-height) - (var(--partner-tile-inset) * 2));
  --color-contrast: rgba(227, 235, 245, 0.96);
  --color-contrast-text: #132033;
  --shadow-soft: 0 20px 42px rgba(58, 73, 96, 0.12);
  --shadow-card: 0 20px 42px rgba(58, 73, 96, 0.12);
  --media-carousel-hover-shadow: none;
  --media-carousel-control-color: rgba(78, 88, 104, 0.3);
  --media-carousel-control-hover-color: rgba(78, 88, 104, 0.48);
}

body[data-theme="dark"] {
  --vipps-modal-surface: rgba(14, 21, 34, 0.96);
  --vipps-modal-text: #f4f7fd;
  --vipps-modal-text-soft: rgba(228, 236, 248, 0.72);
  --vipps-modal-border: rgba(163, 183, 214, 0.18);
  --vipps-modal-option-bg: rgba(255, 255, 255, 0.06);
  --vipps-modal-option-active-bg: #375975;
  --vipps-modal-option-active-text: #f7fbff;
  --vipps-modal-close-bg: rgba(255, 255, 255, 0.08);
  --vipps-modal-close-bg-hover: rgba(255, 255, 255, 0.14);
  --vipps-modal-input-placeholder: rgba(226, 235, 248, 0.5);
}

* {
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  background:
    radial-gradient(circle at top left, rgba(111, 231, 255, 0.14), transparent 24%),
    radial-gradient(circle at right top, rgba(255, 93, 115, 0.1), transparent 22%),
    linear-gradient(var(--color-bg-top), var(--color-bg-bottom)),
    var(--color-bg);
  color: var(--color-text);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - (var(--shell-padding) * 2)), var(--shell-width));
  margin: 0 auto;
}

.site-header {
  z-index: 20;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.shell--header-main,
.shell--header-nav,
.hero-grid,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-grid {
  flex-wrap: nowrap;
}

.shell--header-main,
.shell--header-nav {
  padding: var(--space-sm) 0;
}

.shell--header-main {
  min-height: var(--header-main-min-height);
}

.shell--header-nav {
  align-items: stretch;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-mark {
  width: 84px;
  height: 84px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-kicker,
.eyebrow {
  margin: 0 0 var(--space-2xs);
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.brand-name,
.hero-title,
.section h2,
.site-footer h2 {
  margin: 0;
}

.section h2,
.site-footer h2 {
  font-size: var(--section-heading-size);
  line-height: 1.12;
}

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.04em;
  min-height: var(--brand-name-min-height);
  font-size: var(--brand-name-size);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-name__line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.brand-name__line--primary {
  font-size: 1em;
  transform-origin: left center;
  transform: scaleX(var(--brand-line-primary-scale, 1));
}

html[lang="uk"] .brand-name {
  --brand-name-size: 41.4px;
  --brand-line-primary-scale: 1.16;
  --brand-line-secondary-size: 0.93em;
}

html[lang="no"] .brand-name {
  --brand-line-primary-scale: 0.9;
  --brand-line-secondary-size: 0.925em;
}

html[lang="en"] .brand-name {
  --brand-line-primary-scale: 1.16;
  --brand-line-secondary-size: 34px;
}

.brand-name__line--secondary {
  font-size: var(--brand-line-secondary-size, 0.9em);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.cta-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: var(--space-sm);
}

.header-tools {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: calc(var(--lang-switcher-expanded-inline) + var(--header-control-inline) + var(--space-xs));
  min-width: calc(var(--lang-switcher-expanded-inline) + var(--header-control-inline) + var(--space-xs));
}

.control-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--lang-switcher-gap);
  min-height: calc(var(--header-control-height) + 8px);
  padding: var(--lang-switcher-padding);
  border-radius: 999px;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-line);
  box-shadow: none;
}

.lang-switcher {
  position: relative;
  width: var(--lang-switcher-collapsed-inline);
  min-height: var(--header-control-height);
  height: var(--header-control-height);
  padding: 0;
  justify-content: center;
  gap: 0;
  overflow: visible;
  flex-wrap: nowrap;
  background: var(--button-bg);
  border: 0;
  box-shadow: none;
  transition: width 240ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lang-switcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 5;
  box-sizing: border-box;
  border: var(--header-control-border-width) solid var(--button-border);
  box-shadow: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lang-switcher:not(.is-expanded):not(.is-collapsing):hover::after,
.lang-switcher:not(.is-expanded):not(.is-collapsing):focus-within::after {
  border-color: rgba(124, 185, 255, 0.48);
  box-shadow: 0 0 0 1px rgba(124, 185, 255, 0.2), 0 0 14px rgba(124, 185, 255, 0.2);
}

.lang-switcher:not(.is-expanded):not(.is-collapsing):hover,
.lang-switcher:not(.is-expanded):not(.is-collapsing):focus-within {
  transform: scale(1.03);
}

.lang-switcher.is-expanded {
  width: var(--lang-switcher-expanded-inline);
  justify-content: flex-end;
  box-shadow: none;
  overflow: visible;
}

.lang-switcher.is-expanded::after {
  opacity: 0;
}

.lang-switcher.is-collapsing {
  justify-content: flex-end;
  overflow: hidden;
}

.control-pill__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-soft);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.control-pill__button {
  min-inline-size: var(--header-control-inline);
  min-block-size: var(--header-control-height);
  padding: 8px 14px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--header-control-inline);
  height: var(--header-control-height);
  min-inline-size: var(--header-control-inline);
  min-block-size: var(--header-control-height);
  padding: 0;
  border-radius: 999px;
  box-shadow: none;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-badge {
  border: var(--header-control-border-width) solid var(--button-border);
  background: var(--button-bg);
  color: inherit;
  opacity: 0.5;
}

.header-badge:hover,
.header-badge:focus-visible {
  opacity: 0.8;
  transform: scale(1.03);
  border-color: rgba(124, 185, 255, 0.48);
  box-shadow: 0 0 0 1px rgba(124, 185, 255, 0.2), 0 0 14px rgba(124, 185, 255, 0.2);
}

.lang-switcher__link {
  position: relative;
  flex: 0 0 var(--lang-switcher-card-inline);
  width: var(--lang-switcher-card-inline);
  min-inline-size: var(--lang-switcher-card-inline);
  min-block-size: var(--header-control-height);
  height: var(--header-control-height);
  padding: 0;
  border: 0;
  overflow: visible;
  border-radius: 999px;
  opacity: 0.96;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lang-switcher.is-expanded .lang-switcher__link::after,
.lang-switcher.is-collapsing .lang-switcher__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-sizing: border-box;
  border: var(--header-control-border-width) solid var(--button-border);
  box-shadow: none;
  pointer-events: none;
  z-index: 4;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.lang-switcher:not(.is-expanded):not(.is-collapsing) .lang-switcher__link {
  position: absolute;
  inset: 0;
  width: 100%;
  min-inline-size: 100%;
  flex-basis: auto;
}

.lang-switcher.is-expanded .lang-switcher__link,
.lang-switcher.is-collapsing .lang-switcher__link {
  position: relative;
}

.lang-switcher:not(.is-expanded):not(.is-collapsing) .lang-switcher__link:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.lang-switcher.is-expanded .lang-switcher__link + .lang-switcher__link,
.lang-switcher.is-collapsing .lang-switcher__link + .lang-switcher__link {
  margin-left: calc(var(--lang-switcher-overlap) * -1);
}

.lang-switcher.is-expanded .lang-switcher__link {
  pointer-events: auto;
}

.lang-switcher.is-expanded .lang-switcher__link:hover,
.lang-switcher.is-expanded .lang-switcher__link:focus-visible,
.lang-switcher.is-collapsing .lang-switcher__link:hover,
.lang-switcher.is-collapsing .lang-switcher__link:focus-visible {
  transform: scale(1.03);
}

.lang-switcher__flag-card {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.lang-switcher__flag {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-switcher.is-expanded .lang-switcher__link:hover .lang-switcher__flag-card,
.lang-switcher.is-expanded .lang-switcher__link:focus-visible .lang-switcher__flag-card,
.lang-switcher.is-collapsing .lang-switcher__link:hover .lang-switcher__flag-card,
.lang-switcher.is-collapsing .lang-switcher__link:focus-visible .lang-switcher__flag-card {
  box-shadow: none;
}

.lang-switcher.is-expanded .lang-switcher__link:hover::after,
.lang-switcher.is-expanded .lang-switcher__link:focus-visible::after,
.lang-switcher.is-collapsing .lang-switcher__link:hover::after,
.lang-switcher.is-collapsing .lang-switcher__link:focus-visible::after {
  border-color: rgba(124, 185, 255, 0.48);
  box-shadow: 0 0 0 1px rgba(124, 185, 255, 0.2), 0 0 14px rgba(124, 185, 255, 0.2);
}

.lang-switcher__link:focus-visible {
  outline: none;
}

.lang-switcher__link:focus-visible .lang-switcher__flag-card {
  box-shadow: 0 0 0 2px rgba(124, 185, 255, 0.32);
}

.cta-menu__item {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 88px;
  padding: 10px 24px;
  border-radius: 22px;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.cta-menu__item:hover,
.cta-menu__item:focus-visible {
  transform: translateY(-1px);
  background: var(--button-bg-strong);
  border-color: var(--color-accent-soft);
  opacity: 1;
}

.cta-menu__title {
  font-size: var(--cta-menu-title-size);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
  white-space: normal;
}

.cta-menu__item--static {
  cursor: default;
}

.cta-menu__item--vipps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: min(100%, 580px);
  width: fit-content;
  max-width: 100%;
  padding: 12px 30px 12px 34px;
  background: linear-gradient(180deg, var(--vipps-brand-strong), var(--vipps-brand));
  border-color: var(--button-border);
  color: #fffaf6;
  cursor: pointer;
}

.cta-menu__item--vipps:hover,
.cta-menu__item--vipps:focus-visible {
  background: linear-gradient(180deg, var(--vipps-brand-strong), var(--vipps-brand));
  border-color: var(--color-accent-soft);
  transform: none;
  opacity: 1;
}

.cta-menu__item--vipps .cta-menu__title {
  color: inherit;
  white-space: nowrap;
  flex: 0 1 auto;
}

.cta-menu__vipps-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 8px;
  margin-top: 6px;
  pointer-events: none;
}

.cta-menu__vipps-logo .vipps-logo {
  display: block;
  width: 102px;
  height: auto;
  pointer-events: none;
}

.vipps-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: clamp(18px, 2.6vw, 32px);
  display: grid;
  place-items: start center;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0ms linear 360ms;
}

body.has-vipps-modal {
  overflow: hidden;
}

.vipps-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0ms;
}

.vipps-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 12, 22, 0.28);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 360ms ease;
}

.vipps-modal.is-open .vipps-modal__backdrop {
  opacity: 1;
}

.vipps-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin-top: clamp(84px, 12vh, 144px);
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid var(--vipps-modal-border);
  border-radius: 34px;
  background: var(--vipps-modal-surface);
  color: var(--vipps-modal-text);
  box-shadow: 0 40px 110px rgba(8, 18, 32, 0.28);
  transform-origin: top left;
  transform: translate(var(--vipps-start-x, 0px), var(--vipps-start-y, 0px)) scale(var(--vipps-start-scale-x, 0.28), var(--vipps-start-scale-y, 0.2));
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.2, 0.88, 0.24, 1), opacity 220ms ease;
}

.vipps-modal.is-open .vipps-modal__panel {
  transform: translate(0, 0) scale(1, 1);
  opacity: 1;
}

.vipps-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--vipps-modal-close-bg);
  color: inherit;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.vipps-modal__close:hover,
.vipps-modal__close:focus-visible {
  background: var(--vipps-modal-close-bg-hover);
}

.vipps-modal__title,
.vipps-modal__status {
  margin: 0;
}

.vipps-modal__title {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.vipps-modal__field {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.vipps-modal__label {
  font-size: 1rem;
  font-weight: 700;
}

.vipps-modal__amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vipps-modal__amount-button,
.vipps-modal__amount-input {
  min-height: 76px;
  border-radius: 24px;
  border: 3px solid #31495f;
  background: var(--vipps-modal-option-bg);
  color: var(--vipps-modal-text);
  font-size: clamp(1.15rem, 2.2vw, 1.34rem);
  font-weight: 700;
  text-align: center;
}

.vipps-modal__amount-button {
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.vipps-modal__amount-button:hover,
.vipps-modal__amount-button:focus-visible,
.vipps-modal__amount-button.is-active {
  transform: translateY(-1px);
  background: var(--vipps-modal-option-active-bg);
  border-color: var(--vipps-modal-option-active-bg);
  color: var(--vipps-modal-option-active-text);
}

.vipps-modal__amount-control {
  position: relative;
  display: block;
}

.vipps-modal__amount-input {
  width: 100%;
  padding: 0 84px 0 22px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.vipps-modal__amount-input::-webkit-outer-spin-button,
.vipps-modal__amount-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.vipps-modal__amount-stepper {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 42px;
  height: 58px;
  transform: translateY(-50%);
}

.vipps-modal__amount-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--vipps-modal-text-soft);
  cursor: pointer;
}

.vipps-modal__amount-step:hover,
.vipps-modal__amount-step:focus-visible {
  background: rgba(20, 37, 58, 0.08);
  color: var(--vipps-modal-text);
  outline: none;
}

.vipps-modal__amount-step-icon {
  display: block;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

.vipps-modal__amount-step-icon--up {
  border-bottom: 12px solid currentColor;
}

.vipps-modal__amount-step-icon--down {
  border-top: 12px solid currentColor;
}

.vipps-modal__amount-input::placeholder {
  color: var(--vipps-modal-input-placeholder);
}

.vipps-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.vipps-connect-button {
  width: 100%;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 16px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--vipps-brand-strong), var(--vipps-brand));
  color: #fffaf6;
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease, opacity 180ms ease;
}

.vipps-connect-button:hover,
.vipps-connect-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.02);
  background: linear-gradient(180deg, #ff6d3d, #ff5b24);
}

.vipps-connect-button:disabled,
.vipps-connect-button.is-pending {
  cursor: progress;
  opacity: 0.78;
  transform: none;
  filter: none;
}

.vipps-connect-button__label {
  min-width: 0;
  white-space: nowrap;
}

.vipps-connect-button__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  transform: translateY(3px);
}

.vipps-connect-button__logo .vipps-logo {
  width: 82px;
  height: auto;
  display: block;
}

.vipps-modal__status {
  min-height: 1.5em;
  margin-top: 14px;
  color: var(--vipps-modal-text-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.theme-switch {
  cursor: pointer;
}

.theme-switch__icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-theme="dark"] .theme-switch__icon--moon,
body[data-theme="light"] .theme-switch__icon--sun {
  display: none;
}

.lang-switcher.is-expanded .control-pill__button.is-active {
  background: transparent;
  border-color: transparent;
  color: inherit;
}

.lang-switcher__link.is-active {
  opacity: 1;
}

.lang-switcher:not(.is-expanded):not(.is-collapsing) .lang-switcher__link.is-active:not(:hover):not(:focus-visible) .lang-switcher__flag-card {
  border-color: transparent;
  box-shadow: none;
}

.footer-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin-left: auto;
}

.footer-meta {
  margin-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  text-align: center;
  color: var(--color-text-soft);
  font-size: var(--common-text);
  line-height: 1.65;
}

.footer-attribution {
  margin: 0;
}

.footer-legal-link {
  display: inline-block;
  margin-top: 0.24em;
  color: var(--color-accent);
  font: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.footer-legal-link:visited {
  color: var(--color-accent-soft);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--color-accent-strong);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 28px);
  flex-wrap: nowrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  transition: transform 180ms ease, opacity 120ms ease, filter 180ms ease;
}

.social-link img {
  display: block;
  width: 34px;
  height: 34px;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 1;
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top {
  --back-to-top-size: 54px;
  --back-to-top-frame-offset: clamp(150px, 11vw, 200px);
  --frame-outer-width: min(calc(100% - (var(--shell-padding) * 2)), var(--shell-width));
  --frame-gutter: calc((100% - var(--frame-outer-width)) / 2);
  position: fixed;
  right: max(20px, calc(var(--frame-gutter) - var(--back-to-top-frame-offset) - (var(--back-to-top-size) / 2)));
  bottom: clamp(20px, 3vw, 32px);
  z-index: 40;
  width: var(--back-to-top-size);
  height: var(--back-to-top-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
  color: var(--button-text);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--color-accent-soft);
  background: color-mix(in srgb, var(--button-bg-strong) 72%, var(--color-surface-strong));
}

.back-to-top__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-band,
.section,
.site-footer {
  padding: var(--space-xl) 0;
}

.cover-strip {
  padding: 0;
}

.cover-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.hero-band,
.section--accent,
.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--color-surface);
}

.section--contrast {
  background: var(--color-contrast);
  color: var(--color-contrast-text);
}

.hero-grid {
  align-items: end;
}

.hero-grid > * {
  flex: 1 1 0;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero-summary,
.section-copy,
.site-footer p,
.card p {
  font-size: var(--common-text);
  line-height: 1.65;
  color: var(--color-text-soft);
}

.section-copy--stack {
  display: grid;
  gap: 1.15em;
}

.section h2 + .section-copy {
  margin-top: var(--space-lg);
}

.section-copy--stack p {
  margin: 0;
}

.section--contrast .card p,
.section--contrast .partner-tile,
.section--contrast .section-copy,
.site-footer p,
.site-footer a {
  color: inherit;
}

.card-grid,
.partner-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card-grid--cta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--project {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-soft);
}

.card--cta {
  background: var(--color-surface-muted);
}

.card--cta-badge {
  background: color-mix(in srgb, var(--color-surface-strong) 72%, var(--color-surface-muted));
  min-height: 440px;
}

.card__link {
  display: block;
  padding: 24px;
}

.cta-badge {
  display: grid;
  grid-template-rows: 2fr 1fr 1fr;
  justify-items: center;
  align-items: stretch;
  gap: 0;
  min-height: 100%;
  padding: 24px;
  text-align: center;
}

.cta-badge__logo {
  display: block;
  align-self: center;
  width: clamp(156px, 16vw, 192px);
  height: clamp(156px, 16vw, 192px);
  object-fit: contain;
}

.cta-badge__title {
  margin: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  padding: 8px 0 12px;
}

.cta-badge__title {
  font-size: clamp(2rem, 2.8vw, 2.4rem);
  line-height: 1.1;
}

.cta-badge__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 80%;
  min-height: 72px;
  padding: 14px 21px;
  border: 1px solid var(--button-border);
  border-radius: 22px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: clamp(1.5rem, 2.25vw, 1.725rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.cta-badge__action:hover,
.cta-badge__action:focus-visible {
  transform: translateY(-1px);
  border-color: var(--color-accent-soft);
  background: var(--button-bg-strong);
}

.cta-badge__action--static {
  cursor: default;
  font-size: clamp(2.25rem, 3.4vw, 2.8rem);
  font-weight: 800;
}

.cta-badge__action--static:hover,
.cta-badge__action--static:focus-visible {
  transform: none;
  border-color: var(--button-border);
  background: var(--button-bg);
}

.card--project,
.card--media {
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card--media:hover {
  transform: perspective(900px) rotateX(2deg) rotateY(-3deg) scale(1.02);
  box-shadow: var(--shadow-card);
}

.project-card {
  display: flex;
}

.project-card__surface {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 100%;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.project-card__surface:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.project-card__preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, var(--color-line) 78%, transparent);
  border-radius: calc(var(--radius-card) - 6px);
  background:
    radial-gradient(circle at top left, rgba(124, 185, 255, 0.2), transparent 38%),
    linear-gradient(160deg, color-mix(in srgb, var(--color-contrast) 84%, var(--color-bg)), color-mix(in srgb, var(--color-surface-strong) 92%, var(--color-bg)));
  isolation: isolate;
}

.project-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.08) 0, rgba(6, 11, 24, 0.12) 42%, rgba(6, 11, 24, 0.42) 100%);
  pointer-events: none;
}

.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(var(--project-preview-idle-scale));
  transition:
    opacity var(--project-preview-fade-duration) ease,
    transform calc(var(--project-preview-fade-duration) * 2.8) ease;
  will-change: opacity, transform;
}

.project-card__image.is-active {
  opacity: 1;
  transform: scale(var(--project-preview-active-scale));
}

@media (prefers-reduced-motion: reduce) {
  .project-card__image {
    transition: none;
    transform: scale(var(--project-preview-active-scale));
  }
}

.project-card__preview.is-fallback {
  display: grid;
  place-items: center;
  padding: 20px;
}

.project-card__preview-label {
  position: relative;
  z-index: 1;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.14;
  text-align: center;
  color: var(--color-contrast-text);
}

.project-card__title {
  margin: 0;
  font-size: clamp(1.26rem, 1.8vw, 1.5rem);
  line-height: 1.14;
}

.project-card__summary {
  margin: 0;
  color: var(--color-text-soft);
}

.project-card__actions {
  justify-content: flex-end;
  margin-top: auto;
  margin-left: auto;
  width: 100%;
  gap: clamp(5px, 1vw, 14px);
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 700;
}

.project-card__cta::after,
.media-card__cta::after {
  content: "";
  width: 1.08em;
  height: 0.7em;
  flex: 0 0 auto;
  display: block;
  transform: translateY(2px);
  background-color: currentColor;
  -webkit-mask: url("./assets/icons/cta-arrow.svg") center / contain no-repeat;
  mask: url("./assets/icons/cta-arrow.svg") center / contain no-repeat;
}

.media-carousel-host {
  margin-top: 0;
  overflow: visible;
}

.section h2 + .media-carousel-host {
  margin-top: var(--space-lg);
}

.media-carousel {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.media-carousel::before,
.media-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: var(--media-carousel-edge-width);
  pointer-events: none;
}

.media-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.media-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.media-carousel__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--button-border) transparent;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.media-carousel__viewport::-webkit-scrollbar {
  height: 12px;
}

.media-carousel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.media-carousel__viewport::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--button-border);
  background-clip: content-box;
}

.media-carousel__content {
  position: relative;
  z-index: 1;
}

.media-carousel__track {
  display: flex;
  align-items: flex-start;
  gap: var(--media-carousel-loop-gap);
  width: max-content;
  will-change: transform;
}

.media-carousel__group {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  width: max-content;
}

@media (hover: none) {
  .media-carousel__viewport {
    overflow-x: auto;
  }
}

.media-carousel__controls {
  position: absolute;
  top: calc(50% + 10px);
  right: calc((var(--media-carousel-edge-width) * 0.08) - 5px);
  left: calc((var(--media-carousel-edge-width) * 0.08) - 5px);
  z-index: 20;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.media-carousel__control {
  display: inline-grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--media-carousel-control-color);
  cursor: pointer;
  font-size: 0;
  pointer-events: auto;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.media-carousel__control::before {
  content: "";
  display: block;
  width: 60px;
  height: 46px;
  background-color: currentColor;
  -webkit-mask: url("./assets/icons/cta-arrow.svg") center / contain no-repeat;
  mask: url("./assets/icons/cta-arrow.svg") center / contain no-repeat;
  transform: scaleX(0.68);
}

.media-carousel__control--previous::before {
  transform: rotate(180deg) scaleX(0.68);
}

.media-carousel__control:hover,
.media-carousel__control:focus-visible {
  color: var(--media-carousel-control-hover-color);
  transform: scale(1.08);
}

.media-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--media-carousel-card-size);
  min-width: var(--media-carousel-card-size);
  min-height: 356px;
  margin-block: 8px 0;
  background: color-mix(in srgb, var(--color-surface-strong) 84%, var(--color-surface-muted));
  box-shadow: none;
}

.media-carousel .card--media:hover,
.media-carousel .card--media:focus-within {
  z-index: 2;
  transform: translateY(-7px) scale(1.01);
  border-color: color-mix(in srgb, var(--button-border) 80%, var(--color-line));
  background: color-mix(in srgb, var(--color-surface-strong) 92%, var(--color-surface-muted));
  box-shadow: var(--media-carousel-hover-shadow);
}

.media-card__link {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  min-height: auto;
  padding: 18px;
}

.media-card__meta,
.media-card__summary {
  margin: 0;
}

.media-card__preview {
  position: relative;
  overflow: hidden;
  min-height: var(--media-carousel-preview-height);
  border: 1px solid color-mix(in srgb, var(--color-line) 78%, transparent);
  border-radius: calc(var(--radius-card) - 6px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--color-contrast) 82%, var(--color-bg)), color-mix(in srgb, var(--color-surface-strong) 92%, var(--color-bg)));
  isolation: isolate;
}

.media-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.1) 0, rgba(6, 11, 24, 0.16) 34%, rgba(6, 11, 24, 0.68) 74%, rgba(6, 11, 24, 0.94) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-card__preview-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: rgba(237, 243, 252, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card__preview-source,
.media-card__preview-domain {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card__preview-source {
  font-weight: 700;
}

.media-card__preview-domain {
  color: rgba(237, 243, 252, 0.62);
}

.media-card__preview-body {
  position: relative;
  min-height: var(--media-carousel-preview-height);
}

.media-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.media-card__preview-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 88px 18px 18px;
}

.media-card__preview.is-fallback .media-card__preview-body {
  background:
    radial-gradient(circle at top right, rgba(124, 185, 255, 0.22), transparent 34%),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(160deg, color-mix(in srgb, var(--color-contrast) 88%, var(--color-bg)), color-mix(in srgb, var(--color-surface-strong) 92%, var(--color-bg)));
}

.media-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card__publisher {
  color: var(--color-accent-soft);
}

.media-card__date {
  white-space: nowrap;
}

.media-card__title {
  margin: 0;
  font-size: clamp(1.28rem, 1.8vw, 1.58rem);
  line-height: 1.12;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.media-card__summary {
  color: var(--color-text-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.media-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 700;
}

.partner-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--partner-tile-min-height);
  padding: var(--partner-tile-inset);
  text-align: center;
  border: 1px solid var(--partner-tile-border);
  border-radius: 20px;
  background: var(--partner-tile-bg);
  overflow: visible;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.partner-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.partner-tile:hover,
.partner-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--partner-tile-border-hover);
  background: var(--partner-tile-bg-hover);
}

.partner-tile__image {
  display: block;
  width: 100%;
  max-width: none;
  height: var(--partner-tile-image-height);
  object-fit: contain;
}

.partner-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: max-content;
  max-width: min(240px, calc(100vw - 32px));
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-contrast);
  color: var(--color-contrast-text);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.partner-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

@media (max-width: 1320px) {
  .partner-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .card-grid--project,
  .card-grid--media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root {
    --media-carousel-card-size: clamp(365px, 54vw, 413px);
    --media-carousel-edge-width: 50px;
    --media-carousel-preview-height: 196px;
  }

  .partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .media-carousel__viewport {
    scroll-snap-type: x proximity;
  }

  .media-card {
    scroll-snap-align: center;
  }

  .shell--header-main,
  .shell--header-nav,
  .hero-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .shell--header-main {
    gap: 18px;
    min-height: 0;
  }

  .shell--header-nav {
    width: min(calc(100% - var(--shell-padding)), var(--shell-width));
  }

  .brand-lockup {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .brand-copy {
    width: min(90vw, 520px);
    max-width: 100%;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .brand-kicker {
    margin-bottom: 6px;
  }

  html[lang="uk"] .brand-name,
  html[lang="no"] .brand-name,
  html[lang="en"] .brand-name {
    --brand-name-size: clamp(1.16rem, 5.15vw, 1.95rem);
    --brand-line-primary-scale: 1;
    --brand-line-secondary-size: 1em;
  }

  .brand-name {
    align-items: center;
    min-height: 0;
    line-height: 1.06;
  }

  .brand-name__line {
    width: auto;
    max-width: 100%;
  }

  .brand-name__line--primary {
    transform-origin: center;
  }

  .header-tools {
    align-self: stretch;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    padding-right: 0;
    flex-wrap: nowrap;
    transform: translateX(calc(var(--shell-padding) - 20px));
  }

  .footer-grid {
    align-items: center;
    gap: var(--space-sm);
  }

  .card-grid--cta,
  .card-grid--project,
  .card-grid--media {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
  }

  :root {
    --media-carousel-card-size: calc(100vw - (2 * var(--shell-padding)) - var(--media-carousel-loop-gap));
    --media-carousel-edge-width: 50px;
    --media-carousel-loop-gap: 18px;
    --media-carousel-preview-height: 178px;
  }

  .cta-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(5px, 1.6vw, 8px);
  }

  .cta-menu__item {
    min-height: clamp(56px, 16vw, 72px);
    padding: clamp(7px, 2.4vw, 10px);
    border-radius: clamp(14px, 4vw, 18px);
  }

  .cta-menu__title {
    font-size: var(--cta-mobile-title-size, clamp(0.62rem, 2.72vw, 0.98rem));
    line-height: 1.05;
    white-space: pre-line;
  }

  .cta-menu__item--vipps {
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 0;
    padding: 4px 6px;
  }

  .cta-menu__item--vipps .cta-menu__title {
    line-height: 1.05;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .cta-menu__vipps-logo {
    margin-left: 0;
    margin-top: 6px;
  }

  .cta-menu__vipps-logo .vipps-logo {
    width: clamp(50px, 13.6vw, 58px);
  }

  .vipps-modal__panel {
    margin-top: clamp(76px, 10vh, 110px);
    width: min(100%, 700px);
  }

  .vipps-modal__title {
    max-width: none;
    font-size: clamp(1.8rem, 6vw, 2.45rem);
  }

  .vipps-modal__amount-button,
  .vipps-modal__amount-input,
  .vipps-connect-button {
    min-height: 68px;
  }

  .vipps-modal__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vipps-connect-button {
    gap: 10px;
    padding-inline: 16px;
    font-size: clamp(0.9rem, 1.7vw, 1.02rem);
  }

  .vipps-connect-button__label {
    font-size: inherit;
  }

  .vipps-connect-button__logo .vipps-logo {
    width: clamp(58px, 8vw, 72px);
  }

  html[lang="uk"] .cta-menu {
    --cta-mobile-title-size: clamp(12.4px, 4vw, 18px);
  }

  html[lang="no"] .cta-menu {
    --cta-mobile-title-size: clamp(14.6px, 4.55vw, 17.8px);
  }

  html[lang="en"] .cta-menu {
    --cta-mobile-title-size: clamp(14.8px, 4.65vw, 19px);
  }

  .footer-actions {
    align-items: center;
  }

  .footer-social {
    justify-content: flex-end;
  }

  .media-card {
    min-height: 322px;
  }

  .media-card__meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .media-card__preview-copy {
    padding: 74px 16px 16px;
  }

  .media-carousel::before,
  .media-carousel::after {
    display: none;
  }

  .media-carousel__viewport {
    padding-inline: calc(var(--media-carousel-loop-gap) / 2);
    scroll-padding-inline: calc(var(--media-carousel-loop-gap) / 2);
    scroll-snap-type: none;
    scrollbar-width: none;
    touch-action: pan-y;
  }

  .media-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .media-carousel__group {
    gap: var(--media-carousel-loop-gap);
  }

  .media-carousel__controls {
    right: calc(var(--shell-padding) * -1);
    left: calc(var(--shell-padding) * -1);
    opacity: 0.1;
    user-select: none;
  }

  .media-carousel__control {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
  }

}

@media (max-width: 480px) {
  :root {
    --shell-padding: 16px;
    --space-xl: 56px;
    --brand-name-size: clamp(1.35rem, 5.6vw, 1.55rem);
    --brand-name-min-height: auto;
    --header-control-inline: 50px;
    --lang-switcher-overlap: 10px;
  }

  .vipps-modal {
    padding: 12px;
  }

  .vipps-modal__panel {
    width: 100%;
    margin-top: 68px;
    padding: 22px 18px 24px;
    border-radius: 28px;
  }

  .vipps-modal__close {
    top: 10px;
    right: 10px;
  }

  .vipps-modal__amounts {
    gap: 10px;
  }

  .vipps-modal__amount-button,
  .vipps-modal__amount-input {
    min-height: 60px;
    border-width: 2px;
    border-radius: 20px;
    font-size: 1.02rem;
  }

  .vipps-modal__amount-input {
    padding-right: 68px;
  }

  .vipps-modal__amount-stepper {
    right: 16px;
    width: 36px;
    height: 48px;
  }

  .vipps-modal__amount-step {
    width: 36px;
    height: 24px;
  }

  .vipps-modal__amount-step-icon {
    border-right-width: 8px;
    border-left-width: 8px;
  }

  .vipps-modal__amount-step-icon--up {
    border-bottom-width: 10px;
  }

  .vipps-modal__amount-step-icon--down {
    border-top-width: 10px;
  }

  .vipps-connect-button {
    min-height: 64px;
    font-size: 1rem;
  }

  .vipps-modal__actions {
    grid-template-columns: 1fr;
  }

  .vipps-connect-button__label {
    white-space: normal;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  .hero-title {
    max-width: none;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root {
    --media-carousel-card-size: calc(100vw - (2 * var(--shell-padding)) - var(--media-carousel-loop-gap));
    --media-carousel-edge-width: 40px;
    --media-carousel-loop-gap: 14px;
    --media-carousel-preview-height: 164px;
  }

  .media-card__link {
    padding: 16px;
  }

  .media-card__meta {
    font-size: 0.74rem;
  }

  .media-card__preview-copy {
    padding: 68px 14px 14px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-actions {
    justify-content: center;
    margin-left: 0;
  }

  .footer-meta {
    white-space: pre-line;
    font-size: clamp(1rem, 4.2vw, 1.12rem);
    line-height: 1.45;
  }

  .footer-legal-link {
    margin-top: 0.35em;
  }

  .footer-social {
    justify-content: center;
    gap: 10px;
  }

  .social-link img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 360px) {
  html[lang="uk"] .brand-name,
  html[lang="no"] .brand-name,
  html[lang="en"] .brand-name {
    --brand-name-size: clamp(1.02rem, 5vw, 1.16rem);
  }
}

