/*
Theme Name: Nuvinno
Theme URI: https://nuvinno.no
Author: Nuvinno
Author URI: https://nuvinno.no
Description: Skreddersydd blokktema for Nuvinno. Moderne nordisk uttrykk inspirert av Tieto, med Nuvinno-farger og Inter.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Version: 5.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuvinno
Tags: full-site-editing, block-patterns, business, accessibility-ready, translation-ready
*/

/* ==========================================================================
   1. Tokens
   2. Tilgjengelighet
   3. Typografi-skala
   4. Layout (.nv-shell, .nv-section)
   5. Komponenter
   6. Header
   7. Footer
   8. Bevegelse
   9. Mobil
   ========================================================================== */

:root {
	--nv-header-height: var(--wp--custom--header--height, 72px);
	--nv-ease: var(--wp--custom--transition--base, 220ms cubic-bezier(0.22, 1, 0.36, 1));
	--nv-foreground: var(--wp--preset--color--foreground);
	--nv-brand: var(--wp--preset--color--brand-green);
	--nv-muted: var(--wp--preset--color--muted);
	--nv-section-alt: var(--wp--preset--color--section-alt);
	--nv-section-green: var(--wp--preset--color--section-green-light);
	--nv-section-dark: var(--wp--preset--color--section-dark);
	--nv-border: var(--wp--preset--color--border);
}

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

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

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	letter-spacing: -0.01em;
	overflow-x: hidden;
	padding-top: var(--nv-header-height);
}

::selection {
	background-color: color-mix(in srgb, var(--nv-brand) 15%, transparent);
	color: var(--nv-foreground);
}

[id] {
	scroll-margin-top: calc(var(--nv-header-height) + 2rem);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   2. Tilgjengelighet
   -------------------------------------------------------------------------- */

.skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform var(--nv-ease);
}

.skip-link:focus {
	transform: translateY(0);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--nv-brand);
	outline-offset: 2px;
	border-radius: var(--wp--custom--radius--sm);
}

.nv-section--dark :where(a, button, summary):focus-visible {
	outline-color: var(--wp--preset--color--base);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

/* --------------------------------------------------------------------------
   3. Typografi-skala
   -------------------------------------------------------------------------- */

:where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	letter-spacing: -0.03em;
}

.text-heading-hero {
	font-size: 26px;
	line-height: 34px;
}

@media (min-width: 640px) {
	.text-heading-hero {
		font-size: 48px;
		line-height: 62px;
	}
}

@media (min-width: 1024px) {
	.text-heading-hero {
		font-size: 64px;
		line-height: 83px;
	}
}

@media (min-width: 1440px) {
	.text-heading-hero {
		font-size: 72px;
		line-height: 94px;
	}
}

.text-heading-xxl {
	font-size: 32px;
	line-height: 42px;
}

@media (min-width: 640px) {
	.text-heading-xxl {
		font-size: 42px;
		line-height: 55px;
	}
}

@media (min-width: 1024px) {
	.text-heading-xxl {
		font-size: 56px;
		line-height: 73px;
	}
}

@media (min-width: 1440px) {
	.text-heading-xxl {
		font-size: 64px;
		line-height: 83px;
	}
}

.text-heading-xl {
	font-size: 32px;
	line-height: 42px;
}

@media (min-width: 640px) {
	.text-heading-xl {
		font-size: 38px;
		line-height: 50px;
	}
}

@media (min-width: 1024px) {
	.text-heading-xl {
		font-size: 44px;
		line-height: 58px;
	}
}

@media (min-width: 1440px) {
	.text-heading-xl {
		font-size: 52px;
		line-height: 67px;
	}
}

.text-heading-l {
	font-size: 24px;
	line-height: 26px;
}

@media (min-width: 640px) {
	.text-heading-l {
		font-size: 28px;
		line-height: 32px;
	}
}

@media (min-width: 1024px) {
	.text-heading-l {
		font-size: 40px;
		line-height: 43px;
	}
}

@media (min-width: 1440px) {
	.text-heading-l {
		font-size: 40px;
		line-height: 48px;
	}
}

.text-heading-m {
	font-size: 22px;
	line-height: 26px;
}

@media (min-width: 640px) {
	.text-heading-m {
		font-size: 26px;
		line-height: 31px;
	}
}

@media (min-width: 1024px) {
	.text-heading-m {
		font-size: 30px;
		line-height: 35px;
	}
}

@media (min-width: 1440px) {
	.text-heading-m {
		font-size: 34px;
		line-height: 40px;
	}
}

.text-heading-s {
	font-size: 18px;
	line-height: 21px;
}

@media (min-width: 640px) {
	.text-heading-s {
		font-size: 20px;
		line-height: 24px;
	}
}

@media (min-width: 1024px) {
	.text-heading-s {
		font-size: 24px;
		line-height: 28px;
	}
}

@media (min-width: 1440px) {
	.text-heading-s {
		font-size: 26px;
		line-height: 31px;
	}
}

.text-body-l {
	font-size: 16px;
	line-height: 22px;
}

@media (min-width: 640px) {
	.text-body-l {
		font-size: 18px;
		line-height: 25px;
	}
}

@media (min-width: 1024px) {
	.text-body-l {
		font-size: 20px;
		line-height: 28px;
	}
}

@media (min-width: 1440px) {
	.text-body-l {
		font-size: 22px;
		line-height: 31px;
	}
}

.text-body-s {
	font-size: 14px;
	line-height: 17px;
}

@media (min-width: 640px) {
	.text-body-s {
		font-size: 14px;
		line-height: 18px;
	}
}

@media (min-width: 1024px) {
	.text-body-s {
		font-size: 14px;
		line-height: 19px;
	}
}

@media (min-width: 1440px) {
	.text-body-s {
		font-size: 16px;
		line-height: 22px;
	}
}

.text-detail {
	font-size: 14px;
	line-height: 16px;
}

.nv-muted {
	color: var(--nv-muted);
}

.nv-italic {
	font-style: italic;
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.nv-shell {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

@media (min-width: 782px) {
	.nv-shell {
		padding-inline: 3rem;
	}
}

.nv-section {
	padding-block: clamp(5rem, 8vw, 9rem);
}

.nv-section--alt {
	background-color: var(--nv-section-alt);
}

.nv-section--green {
	background-color: var(--nv-section-green);
}

.nv-section--dark {
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

.nv-section--dark :where(h1, h2, h3, h4, p, li, span) {
	color: inherit;
}

.nv-section--brand {
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
}

.nv-section--brand :where(h1, h2, h3, h4, p) {
	color: inherit;
}

.nv-eyebrow {
	display: block;
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--nv-brand);
}

.nv-section--dark .nv-eyebrow,
.nv-section--brand .nv-eyebrow {
	color: color-mix(in srgb, var(--wp--preset--color--base) 70%, var(--nv-brand));
}

.nv-balance {
	text-wrap: balance;
}

.nv-prose :where(p, ul, ol) {
	max-width: var(--wp--custom--measure--prose, 68ch);
}

/* --------------------------------------------------------------------------
   5. Komponenter
   -------------------------------------------------------------------------- */

.nv-btn-pill,
.nv-btn-editorial {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.5rem;
	border-radius: var(--wp--custom--radius--md);
	border: 0;
	background-color: var(--nv-foreground);
	color: var(--wp--preset--color--base);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--nv-ease), color var(--nv-ease), transform var(--nv-ease);
}

.nv-btn-pill:hover,
.nv-btn-editorial:hover {
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
}

.nv-btn-pill--outline,
.nv-btn-editorial--outline {
	background-color: transparent;
	color: var(--nv-foreground);
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 28%, transparent);
}

.nv-btn-pill--outline:hover,
.nv-btn-editorial--outline:hover {
	background-color: var(--nv-foreground);
	color: var(--wp--preset--color--base);
	border-color: var(--nv-foreground);
}

.nv-btn-pill--light,
.nv-btn-editorial--light {
	background-color: var(--wp--preset--color--base);
	color: var(--nv-foreground);
}

.nv-btn-pill--light:hover,
.nv-btn-editorial--light:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent);
	color: var(--nv-foreground);
}

.nv-btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 0.25rem;
	color: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: gap var(--nv-ease);
}

.nv-btn-ghost:hover {
	gap: 0.75rem;
}

.nv-btn-pill .nv-icon,
.nv-btn-editorial .nv-icon {
	transition: transform var(--nv-ease);
}

.nv-btn-pill:hover .nv-icon,
.nv-btn-editorial:hover .nv-icon {
	transform: translateX(4px);
}

.nv-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	color: inherit;
	text-decoration: none;
	transition: gap var(--nv-ease);
}

.nv-link-arrow:hover {
	gap: 0.75rem;
}

.nv-icon {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Hero */
.nv-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

/* Knowit solid hero (forside) */
.nv-hero--knowit {
	display: flex;
	align-items: center;
	min-height: calc(100svh - var(--nv-header-height));
	background:
		radial-gradient(
			70% 60% at 88% 42%,
			color-mix(in srgb, #2a6b72 34%, transparent) 0%,
			transparent 58%
		),
		radial-gradient(
			90% 70% at 0% 100%,
			color-mix(in srgb, #061618 55%, transparent) 0%,
			transparent 50%
		),
		var(--nv-section-dark);
}

.nv-hero--knowit .nv-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 42rem;
	padding-block: clamp(4rem, 12vw, 8rem);
}

.nv-hero--knowit .nv-hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

.nv-hero--knowit .nv-hero__title {
	margin: 0;
	max-width: 18ch;
	color: inherit;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.08;
	text-wrap: balance;
}

.nv-hero--knowit .nv-hero__line {
	display: block;
}

.nv-hero--knowit .nv-hero__lead {
	margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
	max-width: 36rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

.nv-hero--knowit .nv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
}

.nv-hero--knowit .nv-btn-ghost {
	color: var(--wp--preset--color--base);
}

.nv-hero--knowit .nv-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.75rem;
	margin-top: clamp(2.25rem, 4.5vw, 3rem);
}

.nv-hero--knowit .nv-hero__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.35rem 0;
	color: inherit;
	font-size: 1.02rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 28%, transparent);
	transition: border-color var(--nv-ease), opacity var(--nv-ease), gap var(--nv-ease);
}

.nv-hero--knowit .nv-hero__links a span {
	transition: transform var(--nv-ease);
}

.nv-hero--knowit .nv-hero__links a:hover {
	opacity: 0.92;
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--base) 75%, transparent);
	gap: 0.7rem;
}

.nv-hero--knowit .nv-hero__links a:hover span {
	transform: translateX(3px);
}

/* Cinematic: linjebrutt tittel der det trengs */
.nv-hero--cinematic .nv-hero__line {
	display: block;
}

/* Cinematic hero (undersider) */
.nv-hero--cinematic {
	display: flex;
	align-items: flex-end;
	min-height: calc(100svh - var(--nv-header-height));
}

.nv-hero--cinematic .nv-hero__media {
	position: absolute;
	inset: 0;
}

.nv-hero--cinematic .nv-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 88% 40%;
}

.nv-hero--cinematic .nv-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			100deg,
			color-mix(in srgb, var(--nv-section-dark) 86%, transparent) 0%,
			color-mix(in srgb, var(--nv-section-dark) 55%, transparent) 28%,
			color-mix(in srgb, var(--nv-section-dark) 12%, transparent) 52%,
			transparent 72%
		),
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--nv-section-dark) 28%, transparent) 0%,
			transparent 45%,
			color-mix(in srgb, var(--nv-section-dark) 55%, transparent) 100%
		);
	pointer-events: none;
}

.nv-hero--cinematic .nv-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	width: 100%;
	min-height: inherit;
	padding-block: clamp(5rem, 12vw, 8rem) clamp(3.5rem, 8vw, 6rem);
}

.nv-hero--cinematic .nv-hero__content {
	width: min(100%, 32rem);
	max-width: 32rem;
	margin: 0;
	margin-right: auto;
}

.nv-hero--cinematic .nv-hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

.nv-hero--cinematic .nv-hero__title {
	margin: 0;
	max-width: 11.5em;
	color: inherit;
	font-size: clamp(2.15rem, 5.6vw, 4.35rem);
	font-weight: 500;
	letter-spacing: -0.042em;
	line-height: 1.05;
}

.nv-hero--cinematic .nv-hero__line--emphasis {
	font-weight: 600;
	letter-spacing: -0.048em;
}

.nv-hero--cinematic .nv-hero__lead {
	margin: clamp(1.35rem, 2.8vw, 1.85rem) 0 0;
	max-width: 28rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.55;
}

.nv-hero--cinematic .nv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
	margin-top: clamp(2.15rem, 4vw, 2.85rem);
}

.nv-hero--cinematic .nv-btn-ghost {
	color: var(--wp--preset--color--base);
}

.nv-hero--page {
	min-height: clamp(28rem, 62vh, 36rem);
}

.nv-hero-particles {
	display: none;
}

/* Help cards – moderne bildeflater */
.nv-help-cards {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.nv-help-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.35rem;
	}
}

@media (min-width: 1100px) {
	.nv-help-cards {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.nv-help-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--nv-section-alt);
	border: 1px solid transparent;
	color: inherit;
	text-decoration: none;
	transition:
		border-color var(--nv-ease),
		background-color var(--nv-ease),
		box-shadow var(--nv-ease),
		transform var(--nv-ease);
}

.nv-help-card:hover {
	border-color: color-mix(in srgb, var(--nv-brand) 18%, var(--nv-border));
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--wp--custom--shadow--md);
}

@media (prefers-reduced-motion: no-preference) {
	.nv-help-card:hover {
		transform: translateY(-2px);
	}
}

.nv-help-card__media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background-color: var(--nv-section-dark);
}

.nv-help-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.92) contrast(1.03);
	transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1), filter 750ms ease;
}

.nv-help-card:hover .nv-help-card__media img {
	transform: scale(1.05);
	filter: saturate(1) contrast(1.05);
}

.nv-help-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.35rem 1.25rem 1.45rem;
}

.nv-help-card__title {
	margin: 0 0 0.55rem;
	letter-spacing: -0.03em;
	transition: color var(--nv-ease);
}

.nv-help-card:hover .nv-help-card__title {
	color: var(--nv-brand);
}

.nv-help-card__text {
	margin: 0 0 1.15rem;
	flex: 1;
	color: var(--nv-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.nv-help-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nv-brand);
	transition: gap var(--nv-ease);
}

.nv-help-card:hover .nv-help-card__link {
	gap: 0.7rem;
}

/* Cases – featured + offer tiles */
.nv-cases__head {
	align-items: center;
}

.nv-cases__head .nv-section-head__lead {
	margin: 0;
	max-width: 36rem;
}

.nv-case-feature {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: 1rem;
	border-radius: var(--wp--custom--radius--lg);
	background:
		radial-gradient(
			90% 80% at 100% 0%,
			color-mix(in srgb, #2a6b72 38%, transparent) 0%,
			transparent 55%
		),
		var(--nv-section-dark);
	color: var(--wp--preset--color--base);
	text-decoration: none;
	transition:
		transform var(--nv-ease),
		box-shadow var(--nv-ease);
}

@media (min-width: 900px) {
	.nv-case-feature {
		grid-template-columns: minmax(10rem, 14rem) 1fr;
		align-items: end;
		min-height: 18rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.nv-case-feature:hover {
		transform: translateY(-2px);
		box-shadow: var(--wp--custom--shadow--md);
	}
}

.nv-case-feature__meta {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.nv-case-feature__client {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

.nv-case-feature__tag {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.35rem 0.7rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 22%, transparent);
	border-radius: var(--wp--custom--radius--md);
	font-size: 0.8125rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
}

.nv-case-feature__title {
	margin: 0 0 1rem;
	max-width: 18ch;
	color: inherit;
	letter-spacing: -0.035em;
}

.nv-case-feature__text {
	margin: 0 0 1.5rem;
	max-width: 36rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

.nv-case-feature__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: inherit;
	transition: gap var(--nv-ease);
}

.nv-case-feature:hover .nv-case-feature__more {
	gap: 0.75rem;
}

.nv-cases__grid {
	grid-template-columns: 1fr;
}

@media (min-width: 782px) {
	.nv-cases__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-cases .nv-case-tile__client {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nv-brand);
	transition: color var(--nv-ease);
}

.nv-cases .nv-offer-tile:hover .nv-case-tile__client {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

/* Expertise links */
.nv-expertise-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.nv-expertise-link {
	display: inline-flex;
	align-items: center;
	padding: 0.85rem 1.2rem;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 10%, transparent);
	color: var(--nv-foreground);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition:
		background-color var(--nv-ease),
		border-color var(--nv-ease),
		color var(--nv-ease),
		box-shadow var(--nv-ease),
		transform var(--nv-ease);
}

.nv-expertise-link:hover {
	background-color: var(--nv-brand);
	border-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	box-shadow: var(--wp--custom--shadow--md);
}

@media (prefers-reduced-motion: no-preference) {
	.nv-expertise-link:hover {
		transform: translateY(-2px);
	}
}

/* News list */
.nv-news-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--nv-border);
}

.nv-news-item {
	display: grid;
	gap: 0.55rem 1.5rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--nv-border);
	color: inherit;
	text-decoration: none;
	transition: color var(--nv-ease), padding-left var(--nv-ease);
}

@media (min-width: 782px) {
	.nv-news-item {
		grid-template-columns: 11rem 1fr auto;
		align-items: center;
	}
}

.nv-news-item:hover {
	color: var(--nv-brand);
	padding-left: 0.25rem;
}

.nv-news-item__meta {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nv-muted);
}

.nv-news-item__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.nv-news-item__more {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nv-brand);
	white-space: nowrap;
}

.nv-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.nv-section-head .text-heading-xxl {
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.nv-section-head__lead {
	margin: 0.85rem 0 0;
	max-width: 40rem;
	color: var(--nv-muted);
	line-height: 1.55;
}

/* Contact band */
.nv-contact-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

@media (min-width: 782px) {
	.nv-contact-band {
		grid-template-columns: 1fr auto;
	}
}

.nv-contact-band .text-heading-xl {
	margin: 0;
}

.nv-contact-band__desc {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 68%, transparent);
}

/* Image band */
.nv-image-band {
	position: relative;
	width: 100%;
	height: clamp(50vh, 55vh, 60vh);
	overflow: hidden;
}

.nv-image-band img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nv-image-band__overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--nv-foreground) 30%, transparent);
	pointer-events: none;
}

/* Stats */
.nv-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (min-width: 782px) {
	.nv-stat-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.nv-stat-card {
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 8%, transparent);
}

.nv-stat-card__value {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	color: var(--nv-foreground);
}

.nv-stat-card__desc {
	margin: 0;
	color: var(--nv-muted);
}

/* Case cards */
.nv-case-grid {
	display: grid;
	gap: clamp(3rem, 5vw, 4rem);
}

@media (min-width: 640px) {
	.nv-case-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.nv-case-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-case-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.nv-case-card__media,
.nv-case-tile__media {
	overflow: hidden;
	margin-bottom: 1.5rem;
	border-radius: var(--wp--custom--radius--lg);
}

.nv-case-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-case-card:hover .nv-case-card__media img {
	transform: scale(1.03);
}

.nv-case-card__client {
	margin: 0 0 0.75rem;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nv-brand);
}

.nv-case-card__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	color: var(--nv-foreground);
}

.nv-case-grid__footer {
	margin-top: clamp(3rem, 5vw, 4rem);
}

.nv-case-card:hover .nv-case-card__title {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Why cards */
.nv-why-grid {
	display: grid;
	gap: clamp(3rem, 5vw, 5rem);
	align-items: start;
}

@media (min-width: 960px) {
	.nv-why-grid {
		grid-template-columns: 1fr auto;
	}
}

.nv-why-cards {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 28rem;
}

.nv-why-card {
	padding: 1.75rem;
	border-radius: 0;
	background-color: var(--nv-section-alt);
}

.nv-why-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 1rem;
	border: 1px solid var(--nv-border);
	border-radius: 0;
	background-color: var(--wp--preset--color--base);
	color: var(--nv-brand);
}

.nv-why-card__title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
}

.nv-why-card__text {
	margin: 0;
	color: var(--nv-muted);
}

/* Expertise rows */
.nv-expertise-grid {
	display: grid;
	gap: clamp(3rem, 5vw, 5rem);
}

@media (min-width: 960px) {
	.nv-expertise-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.nv-expertise-rows {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

.nv-expertise-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.875rem 1.125rem;
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 18%, transparent);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--nv-foreground);
	text-decoration: none;
	transition: background-color var(--nv-ease), border-color var(--nv-ease);
}

a.nv-expertise-tag:hover {
	background-color: var(--nv-foreground);
	border-color: var(--nv-foreground);
	color: var(--wp--preset--color--base);
}

.nv-expertise-row {
	padding-block: 1.25rem;
	border-bottom: 1px solid color-mix(in srgb, var(--nv-foreground) 10%, transparent);
	font-size: inherit;
	font-weight: 500;
	color: var(--nv-foreground);
}

/* Process */
.nv-process-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem 1rem;
	margin-top: clamp(3.5rem, 6vw, 5rem);
}

.nv-process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.nv-process-step__pill {
	padding: 0.75rem 1.5rem;
	margin-bottom: 1rem;
	border: 1px solid var(--nv-border);
	border-radius: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--nv-foreground);
}

.nv-process-step__dot {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background-color: var(--nv-brand);
}

.nv-process-step__dot--70 {
	background-color: color-mix(in srgb, var(--nv-brand) 70%, transparent);
}

.nv-process-step__dot--50 {
	background-color: color-mix(in srgb, var(--nv-brand) 50%, transparent);
}

.nv-process-step__dot--blue {
	background-color: hsl(210 30% 50%);
}

.nv-process-line {
	display: none;
	height: 1px;
	margin: -7px 2rem 0;
	background-color: var(--nv-border);
}

@media (min-width: 640px) {
	.nv-process-line {
		display: block;
	}
}

/* Industries */
.nv-industry-grid {
	display: grid;
	gap: 0;
}

@media (min-width: 640px) {
	.nv-industry-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 3rem;
	}
}

@media (min-width: 960px) {
	.nv-industry-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-industry-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
	color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	text-decoration: none;
	transition: color var(--nv-ease);
}

a.nv-industry-item:hover {
	color: var(--wp--preset--color--base);
}

.nv-industry-item__arrow {
	flex: 0 0 auto;
	opacity: 0.7;
	transition: transform var(--nv-ease), opacity var(--nv-ease);
}

a.nv-industry-item:hover .nv-industry-item__arrow {
	opacity: 1;
	transform: translateX(4px);
}

/* Quote */
.nv-quote-grid {
	display: grid;
	gap: clamp(3rem, 5vw, 5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.nv-quote-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.nv-quote-block {
	margin: 0;
	padding: 0;
	border: 0;
}

.nv-quote-block__text {
	margin: 0 0 2.5rem;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	color: var(--nv-foreground);
}

.nv-quote-block__byline {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nv-quote-block__line {
	width: 2.5rem;
	height: 1px;
	background-color: var(--nv-brand);
}

.nv-quote-block__name {
	margin: 0;
	font-weight: 500;
}

.nv-quote-block__role {
	margin: 0.125rem 0 0;
	color: var(--nv-muted);
	font-size: 14px;
}

.nv-quote-grid img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 0;
}

.nv-quote-band {
	padding-block: clamp(5rem, 10vw, 8rem);
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

.nv-quote-band .nv-quote-block__text {
	color: inherit;
}

.nv-quote-band .nv-quote-block__role {
	color: color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent);
}

.nv-quote-band .nv-quote-block__line {
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 40%, transparent);
}

/* Insights / Aktuelt */
.nv-insights-grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
	.nv-insights-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.nv-insights-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-insight-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.nv-insight-card__label {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nv-brand);
}

.nv-insight-card__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	line-height: 1.25;
}

.nv-insight-card:hover .nv-insight-card__title {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.nv-insights__footer {
	margin-top: clamp(3rem, 5vw, 4rem);
}

/* Split (AOS etc.) */
.nv-split {
	display: grid;
	gap: clamp(3rem, 5vw, 5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.nv-split {
		grid-template-columns: 1fr 1fr;
	}
}

.nv-split img {
	width: 100%;
	border-radius: 0;
}

/* Plattform-side */
.nv-platform-intro__lead {
	margin: 1.35rem 0 1rem;
	max-width: 40rem;
}

.nv-platform-intro__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background-color: var(--nv-section-dark);
}

.nv-platform-intro__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.92) contrast(1.03);
}

.nv-platform-features__head {
	max-width: 36rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.nv-platform-features__head .text-heading-xxl {
	margin: 0;
}

.nv-platform-feature-grid {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--nv-border);
}

@media (min-width: 782px) {
	.nv-platform-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-platform-feature {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.75rem, 3vw, 2.25rem) 0;
	border-bottom: 1px solid var(--nv-border);
}

@media (min-width: 782px) {
	.nv-platform-feature:nth-child(odd) {
		padding-right: clamp(1.5rem, 3vw, 2.5rem);
		border-right: 1px solid var(--nv-border);
	}

	.nv-platform-feature:nth-child(even) {
		padding-left: clamp(1.5rem, 3vw, 2.5rem);
	}
}

.nv-platform-feature__index {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--nv-brand);
}

.nv-platform-feature__title {
	margin: 0;
}

.nv-platform-feature__text {
	margin: 0;
	max-width: 36rem;
}

.nv-platform-modules__head {
	max-width: 40rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.nv-platform-modules__head .text-heading-xxl {
	margin: 0;
}

.nv-platform-modules__lead {
	margin: 1.25rem 0 0;
	max-width: 38rem;
}

.nv-platform-module-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--nv-border);
}

.nv-platform-module {
	display: grid;
	gap: 0.35rem 2rem;
	align-items: baseline;
	padding-block: 1.35rem;
	border-bottom: 1px solid var(--nv-border);
}

@media (min-width: 700px) {
	.nv-platform-module {
		grid-template-columns: minmax(8rem, 14rem) 1fr;
	}
}

.nv-platform-module__name {
	margin: 0;
}

.nv-platform-module__desc {
	margin: 0;
}

.nv-platform-band__inner {
	max-width: 48rem;
}

.nv-platform-band__inner .text-heading-xxl {
	margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}

.nv-platform-steps {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: nv-platform-step;
}

.nv-platform-steps li {
	display: grid;
	gap: 0.35rem;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
	counter-increment: nv-platform-step;
}

.nv-platform-steps li::before {
	content: counter(nv-platform-step, decimal-leading-zero);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
}

.nv-platform-steps strong {
	font-weight: 500;
	font-size: 1.125rem;
	letter-spacing: -0.02em;
}

.nv-platform-steps .nv-muted {
	color: color-mix(in srgb, var(--wp--preset--color--base) 62%, transparent);
}

@media (min-width: 900px) {
	.nv-platform-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.nv-platform-steps li {
		padding-top: 1.5rem;
	}
}

/* CTA band */
.nv-cta-band__desc {
	margin: 0 0 3rem;
	max-width: 48rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent);
}

.nv-cta-band {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

.nv-cta-band h2 {
	margin: 0 0 1rem;
}

@media (min-width: 782px) {
	.nv-cta-band {
		grid-template-columns: 1fr auto;
		gap: 2rem;
		align-items: end;
	}

	.nv-cta-band .nv-btn-editorial {
		justify-self: end;
	}
}

/* Blogg / arkiv */
.nv-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--nv-border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--xs);
	transition:
		border-color var(--nv-ease),
		box-shadow var(--nv-ease),
		transform var(--nv-ease);
}

.nv-card--flush {
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.nv-card--interactive:hover {
	border-color: color-mix(in srgb, var(--nv-brand) 22%, var(--nv-border));
	box-shadow: var(--wp--custom--shadow--md);
}

@media (prefers-reduced-motion: no-preference) {
	.nv-card--interactive:hover {
		transform: translateY(-2px);
	}
}

.nv-card__title {
	margin: 0;
}

.nv-card__text {
	margin: 0;
	color: var(--nv-muted);
}

.nv-blog-related {
	background-color: var(--nv-section-alt);
}

.nv-lead {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	color: var(--nv-muted);
	max-width: 40rem;
}

/* Page hero (inner) */
.nv-page-hero {
	padding-top: clamp(6rem, 10vw, 10rem);
	padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
	background-color: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--nv-border);
}

/* Services page – hero (Knowit-inspired light editorial) */
.nv-services-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--nv-border);
}

.nv-services-hero__atmosphere {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			90% 70% at 100% 0%,
			color-mix(in srgb, var(--nv-section-green) 90%, transparent) 0%,
			transparent 58%
		),
		radial-gradient(
			70% 55% at 0% 100%,
			color-mix(in srgb, var(--nv-brand) 10%, transparent) 0%,
			transparent 55%
		),
		linear-gradient(
			180deg,
			var(--wp--preset--color--base) 0%,
			color-mix(in srgb, var(--nv-section-green) 45%, var(--wp--preset--color--base)) 100%
		);
	pointer-events: none;
}

.nv-services-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: clamp(5.5rem, 11vw, 8.5rem);
	padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.nv-services-hero__brand {
	margin: 0 0 0.35rem;
	font-size: clamp(3.25rem, 11vw, 7rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.92;
	color: var(--nv-foreground);
}

.nv-services-hero__title {
	margin: 0;
	max-width: 16ch;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.06;
	color: var(--nv-foreground);
}

.nv-services-hero__lead {
	margin: clamp(1.5rem, 3vw, 2rem) 0 0;
	max-width: 40rem;
	color: var(--nv-muted);
}

.nv-services-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
}

.nv-services-hero--compact .nv-services-hero__content {
	padding-top: clamp(3.5rem, 7vw, 5rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.nv-services-hero--compact .nv-services-hero__title {
	max-width: 18ch;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.nv-services-hero--compact .nv-services-hero__brand {
	display: none;
}

.nv-services-band {
	height: clamp(42vh, 48vh, 54vh);
}

.nv-services-band .nv-image-band__overlay {
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--nv-section-dark) 8%, transparent) 0%,
			color-mix(in srgb, var(--nv-section-dark) 35%, transparent) 100%
		);
}

/* Services page – offer index (Knowit-inspired) */
.nv-offer-index {
	padding-block: clamp(4.5rem, 8vw, 7rem);
	background-color: var(--wp--preset--color--base);
}

.nv-offer-index__head {
	max-width: 40rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.nv-offer-index__lead {
	margin: 1.25rem 0 0;
	max-width: 36rem;
}

.nv-offer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}

@media (min-width: 700px) {
	.nv-offer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

@media (min-width: 1100px) {
	.nv-offer-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-offer-grid--compact .nv-offer-tile {
	min-height: 13.5rem;
}

.nv-offer-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	min-width: 0;
	min-height: 16rem;
	padding: clamp(1.75rem, 3vw, 2.25rem);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--nv-section-green);
	color: var(--nv-foreground);
	text-decoration: none;
	transition:
		background-color var(--nv-ease),
		color var(--nv-ease),
		transform var(--nv-ease),
		box-shadow var(--nv-ease);
}

.nv-offer-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--nv-brand);
	transition: color var(--nv-ease);
}

.nv-offer-tile__icon .nv-icon {
	width: 1.5rem;
	height: 1.5rem;
	stroke-width: 1.35;
}

.nv-offer-tile__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
	min-width: 0;
}

.nv-offer-tile__title {
	display: block;
	margin: 0;
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--nv-foreground);
	transition: color var(--nv-ease);
}

.nv-offer-tile__text {
	margin: 0;
	max-width: 28ch;
	color: var(--nv-muted);
	transition: color var(--nv-ease);
}

.nv-offer-tile__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nv-brand);
	transition: color var(--nv-ease);
}

.nv-offer-tile__arrow {
	display: inline-flex;
	align-items: center;
	color: inherit;
	transition: transform var(--nv-ease);
}

.nv-offer-tile__arrow .nv-icon {
	width: 1.125rem;
	height: 1.125rem;
}

@media (prefers-reduced-motion: no-preference) {
	.nv-offer-tile:hover {
		transform: translateY(-2px);
	}
}

.nv-offer-tile:hover {
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	box-shadow: var(--wp--custom--shadow--md);
}

.nv-offer-tile:hover .nv-offer-tile__icon,
.nv-offer-tile:hover .nv-offer-tile__title,
.nv-offer-tile:hover .nv-offer-tile__text,
.nv-offer-tile:hover .nv-offer-tile__more {
	color: var(--wp--preset--color--base);
}

.nv-offer-tile:hover .nv-offer-tile__text {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

.nv-offer-tile:hover .nv-offer-tile__arrow {
	transform: translateX(0.35rem);
}

/* Services page – detail splits */
.nv-service-detail {
	padding-block: clamp(4rem, 7vw, 6.5rem);
	border-top: 1px solid var(--nv-border);
}

.nv-service-detail:first-of-type {
	border-top: 0;
}

.nv-service-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.nv-service-detail__grid {
		grid-template-columns: 1.05fr 1fr;
		gap: clamp(3rem, 6vw, 5rem);
	}

	.nv-service-detail--reverse .nv-service-detail__media {
		order: 2;
	}

	.nv-service-detail--reverse .nv-service-detail__copy {
		order: 1;
	}
}

.nv-service-detail__media {
	overflow: hidden;
	background-color: var(--nv-section-green);
}

.nv-service-detail__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
	.nv-service-detail:hover .nv-service-detail__media img {
		transform: scale(1.03);
	}
}

.nv-service-detail__copy .nv-eyebrow {
	margin-bottom: 1rem;
}

/* Langt tjenesteinnhold */
.nv-prose > * + * {
	margin-top: 1.25rem;
}

.nv-prose > h2 {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.nv-content-cards {
	display: grid;
	gap: 1.25rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 782px) {
	.nv-content-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 1100px) {
	.nv-content-cards--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-content-card {
	padding: 1.5rem;
	border: 1px solid var(--nv-border);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--wp--preset--color--base);
}

/* Tjenester – kompetanseblokk */
.nv-competence__head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.nv-competence__head .nv-eyebrow {
	margin-bottom: 1rem;
}

.nv-competence__head .text-heading-xxl {
	margin: 0;
	text-wrap: balance;
}

.nv-competence__lead {
	margin: 1.35rem 0 0;
	max-width: 40rem;
}

.nv-competence .nv-content-cards {
	margin-top: 0;
}

.nv-competence .nv-content-card {
	height: 100%;
	box-shadow: var(--wp--custom--shadow--xs, none);
}

.nv-competence .nv-content-card h3 {
	margin: 0 0 0.75rem;
}

.nv-content-card h3 {
	margin: 0 0 0.65rem;
}

.nv-content-card p {
	margin: 0;
}

.nv-content-steps {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.nv-content-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 1.25rem;
	align-items: start;
}

.nv-content-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	font-size: 0.875rem;
	font-weight: 600;
}

.nv-content-step h3 {
	margin: 0 0 0.4rem;
}

.nv-content-step p {
	margin: 0;
}

.nv-faq {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.nv-faq__item {
	border: 1px solid var(--nv-border);
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--base);
	padding: 0 1.25rem;
}

.nv-faq__question {
	cursor: pointer;
	list-style: none;
	padding: 1.1rem 0;
	font-weight: 600;
	font-size: 1.0625rem;
}

.nv-faq__question::-webkit-details-marker {
	display: none;
}

.nv-faq__answer {
	padding: 0 0 1.15rem;
}

.nv-faq__answer p {
	margin: 0;
}

.nv-internal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--nv-border);
}

.nv-section--dark .nv-prose .nv-muted,
.nv-section--dark .nv-prose p {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

.nv-section--dark .nv-prose h2 {
	color: var(--wp--preset--color--base);
}

.nv-subservices {
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 5vw, 3.5rem);
}

.nv-subservice {
	padding-bottom: clamp(2rem, 4vw, 2.75rem);
	border-bottom: 1px solid var(--nv-border);
	scroll-margin-top: calc(var(--nv-header-height) + 1.5rem);
}

.nv-subservice:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nv-subservice h3 {
	margin: 0 0 0.85rem;
}

.nv-subservice p {
	margin: 0;
	max-width: 68ch;
}

.nv-subservice__link {
	margin-top: 1rem !important;
}

.nv-section--dark .nv-content-steps .nv-muted,
.nv-section--dark .nv-content-step p {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

.nv-section--dark .nv-content-step h3 {
	color: var(--wp--preset--color--base);
}

.nv-service-detail__copy .text-heading-l {
	margin: 0 0 1.25rem;
}

.nv-service-detail__copy .text-body-l {
	margin: 0 0 1.75rem;
	max-width: 36rem;
}

.nv-service-detail__list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.nv-service-detail__list li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nv-foreground);
}

.nv-service-detail__list li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 0.4rem;
	height: 0.4rem;
	background-color: var(--nv-brand);
}

/* Services page – dark bridge */
.nv-service-bridge {
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.nv-service-bridge__inner {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: end;
}

@media (min-width: 900px) {
	.nv-service-bridge__inner {
		grid-template-columns: 1.1fr 1fr;
		gap: clamp(3rem, 6vw, 5rem);
	}
}

.nv-service-bridge .nv-eyebrow {
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
}

.nv-service-bridge__points {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.nv-service-bridge__points .text-body-l {
	margin: 0;
	max-width: 34rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

/* Grid helpers */
.nv-grid-2 {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 960px) {
	.nv-grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-grid-4 {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.nv-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.nv-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Om oss */
.nv-about-intro {
	padding-top: clamp(2rem, 4vw, 3rem);
}

.nv-about-prose {
	max-width: 46rem;
}

.nv-about-prose .text-heading-xxl {
	margin: 0 0 1.35rem;
}

.nv-about-prose .text-body-l + .text-body-l {
	margin-top: 1rem;
}

.nv-about-nordic__inner {
	text-align: center;
}

.nv-about-nordic__map {
	display: block;
	width: 100%;
	max-width: 720px;
	height: auto;
	margin: 0 auto;
	filter: brightness(0) saturate(100%) opacity(0.72);
}

.nv-about-nordic__lead {
	max-width: 40rem;
	margin: clamp(2rem, 4vw, 2.75rem) auto 0;
}

.nv-about-nordic__stats {
	margin-top: clamp(3rem, 5vw, 4rem);
	text-align: left;
}

.nv-about-nordic__stats .text-heading-m {
	margin: 0 0 0.4rem;
}

.nv-about-nordic__stats .text-body-s {
	margin: 0;
	max-width: 16rem;
}

.nv-about-topics {
	display: grid;
	gap: 0;
	margin: clamp(2rem, 4vw, 2.75rem) 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--nv-border);
	max-width: 46rem;
}

@media (min-width: 700px) {
	.nv-about-topics {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-about-topics li {
	padding: 1rem 1.25rem 1rem 0;
	border-bottom: 1px solid var(--nv-border);
	font-size: 1rem;
	letter-spacing: -0.01em;
}

@media (min-width: 700px) {
	.nv-about-topics li:nth-child(odd) {
		padding-right: 1.5rem;
		border-right: 1px solid var(--nv-border);
	}

	.nv-about-topics li:nth-child(even) {
		padding-left: 1.5rem;
	}
}

.nv-about-vision .text-body-l {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
	max-width: 42rem;
}

.nv-about-value-grid {
	display: grid;
	gap: 0;
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--nv-border);
}

@media (min-width: 782px) {
	.nv-about-value-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-about-value {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.75rem, 3vw, 2.25rem) 0;
	border-bottom: 1px solid var(--nv-border);
}

@media (min-width: 782px) {
	.nv-about-value:nth-child(odd) {
		padding-right: clamp(1.5rem, 3vw, 2.5rem);
		border-right: 1px solid var(--nv-border);
	}

	.nv-about-value:nth-child(even) {
		padding-left: clamp(1.5rem, 3vw, 2.5rem);
	}
}

.nv-about-value h3 {
	margin: 0;
}

.nv-about-value p {
	margin: 0;
	max-width: 36rem;
}

/* --------------------------------------------------------------------------
   6. Header – Tieto-inspirert overlay-meny (Nuvinno)
   -------------------------------------------------------------------------- */

.nv-header--knowit {
	--nv-menu-panel: var(--nv-section-alt);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background-color: transparent;
	color: var(--wp--preset--color--base);
	transition: background-color var(--nv-ease);
	/* Unngå at WP-layout pakker menyen under headerbaren */
	display: block !important;
}

.nv-header--knowit.is-scrolled {
	background-color: var(--nv-section-dark);
}

.nv-header--knowit.is-panel-open {
	background-color: transparent;
}

/* Fast header er ute av flow → WP block-gap på neste søsken laget hvit stripe øverst */
.wp-site-blocks > .wp-block-template-part:first-child {
	margin: 0 !important;
	padding: 0 !important;
}

.wp-site-blocks > .wp-block-template-part:first-child + * {
	margin-block-start: 0 !important;
}

/* Footer-template-part er siste blokk → samme WP block-gap-stripe som over */
.wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0 !important;
}

.nv-header--knowit .nv-header__bar {
	position: relative;
	z-index: 5;
}

.nv-header--knowit .nv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--nv-header-height);
	max-width: none;
	margin-inline: 0;
	padding-inline: 1.25rem;
	gap: 1rem;
}

@media (min-width: 782px) {
	.nv-header--knowit .nv-header__inner {
		padding-inline: clamp(1.5rem, 3vw, 2.75rem);
	}
}

.nv-header--knowit .nv-header__logo {
	position: relative;
	z-index: 1;
}

.nv-header--knowit .nv-header__logo img {
	display: block;
	height: clamp(1.5rem, 2.5vw, 1.85rem);
	width: auto;
	filter: brightness(0) invert(1);
}

.nv-footer__col img {
	filter: brightness(0) invert(1);
}

.nv-header__tools {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.nv-header__tool {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--base);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: opacity var(--nv-ease);
}

.nv-header__tool:hover {
	opacity: 0.78;
}

.nv-header__contact {
	display: none;
}

@media (min-width: 600px) {
	.nv-header__contact {
		display: inline-flex;
	}
}

.nv-header__tool .nv-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nv-header__burger path {
	stroke: currentColor;
}

.nv-header__menu-open,
.nv-header__menu-close {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.nv-header__menu-btn {
	border-radius: 0;
}

.nv-header--knowit.is-panel-open .nv-header__menu-btn {
	min-width: 5.75rem;
	min-height: 3.35rem;
	padding: 0.85rem 1.1rem;
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	opacity: 1;
}

.nv-header--knowit.is-panel-open .nv-header__menu-btn:hover {
	opacity: 1;
	background-color: color-mix(in srgb, var(--nv-brand) 88%, #000);
}

.nv-header--knowit.is-panel-open .nv-header__menu-open {
	display: none;
}

.nv-header--knowit.is-panel-open .nv-header__menu-close {
	display: inline-flex;
	font-weight: 600;
}

.nv-header--knowit:not(.is-panel-open) .nv-header__menu-close {
	display: none;
}

.nv-header--knowit.is-panel-open .nv-header__contact {
	color: var(--nv-section-dark);
}

/* Meny – mørk overlay + lys høyrepanel */
.nv-menu-backdrop {
	position: fixed !important;
	inset: 0;
	z-index: 3;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: color-mix(in srgb, var(--nv-section-dark) 72%, transparent);
	cursor: pointer;
	animation: nv-menu-fade-in 280ms ease both;
}

.nv-menu-backdrop[hidden] {
	display: none !important;
}

.nv-menu-panel {
	position: fixed !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	z-index: 4;
	display: flex;
	flex-direction: column;
	width: min(34rem, 92vw);
	max-width: 100%;
	margin: 0;
	padding: calc(var(--nv-header-height) + 2.25rem) clamp(1.5rem, 4vw, 3.5rem) 2.75rem;
	background-color: var(--nv-menu-panel);
	color: var(--nv-section-dark);
	overflow-x: hidden;
	overflow-y: auto;
	box-shadow: none;
	animation: nv-menu-slide-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 782px) {
	.nv-menu-panel {
		width: min(46vw, 40rem);
		padding-top: calc(var(--nv-header-height) + 3.5rem);
	}
}

@media (min-width: 1200px) {
	.nv-menu-panel {
		width: 48vw;
	}
}

.nv-menu-panel[hidden] {
	display: none !important;
}

.nv-menu-panel__nav {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 auto;
}

.nv-menu-panel__link {
	display: block;
	width: fit-content;
	max-width: 100%;
	padding: 0.42rem 0;
	color: var(--nv-section-dark);
	font-size: clamp(1.85rem, 4.2vw, 2.65rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.15;
	text-decoration: none;
	transition: color var(--nv-ease), transform var(--nv-ease);
}

.nv-menu-panel__link:hover {
	color: color-mix(in srgb, var(--nv-section-dark) 72%, var(--nv-brand));
	transform: translateX(3px);
}

.nv-menu-panel__footer {
	padding-top: 2.25rem;
	border-top: 1px solid color-mix(in srgb, var(--nv-section-dark) 10%, transparent);
}

.nv-menu-panel__lang-label {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nv-section-dark) 48%, transparent);
}

.nv-menu-panel__langs {
	display: flex;
	gap: 1rem;
}

.nv-menu-panel__langs a {
	color: color-mix(in srgb, var(--nv-section-dark) 55%, transparent);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.nv-menu-panel__langs a.is-current,
.nv-menu-panel__langs a:hover {
	color: var(--nv-section-dark);
}

@keyframes nv-menu-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes nv-menu-slide-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nv-menu-backdrop,
	.nv-menu-panel {
		animation: none;
	}

	.nv-menu-panel__link:hover {
		transform: none;
	}
}

body.nv-menu-open {
	overflow: hidden;
}

/* Undersider: solid header-bakgrunn */
body:not(.home):not(.nv-lang-home):not(.nv-knowit-hero):not(.error404) .nv-header--knowit {
	background-color: var(--nv-section-dark);
}

/* Forside (+ EN/SV hjem / Knowit-hero / 404): transparent header over mørk flate */
body.home,
body.nv-lang-home,
body.nv-knowit-hero,
body.error404 {
	padding-top: 0;
}

body.home .wp-site-blocks,
body.nv-lang-home .wp-site-blocks,
body.nv-knowit-hero .wp-site-blocks,
body.error404 .wp-site-blocks {
	padding-top: 0 !important;
}

body.home .nv-hero--knowit,
body.nv-lang-home .nv-hero--knowit,
body.nv-knowit-hero .nv-hero--knowit {
	min-height: 100svh;
}

body.home .nv-hero--knowit .nv-hero__content,
body.nv-lang-home .nv-hero--knowit .nv-hero__content,
body.nv-knowit-hero .nv-hero--knowit .nv-hero__content {
	padding-top: calc(var(--nv-header-height) + clamp(2.25rem, 8vw, 5.25rem));
}

/* Forside – samme rytme som tjenestesiden */
body.home .nv-section,
body.nv-lang-home .nv-section {
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

body.home .nv-section-head .text-heading-xxl,
body.nv-lang-home .nv-section-head .text-heading-xxl {
	max-width: 18ch;
}

@media (prefers-reduced-motion: no-preference) {
	body.home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__title,
	body.nv-lang-home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__title {
		animation: nv-home-rise 740ms cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	body.home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__lead,
	body.nv-lang-home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__lead {
		animation: nv-home-rise 740ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
	}

	body.home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__actions,
	body.nv-lang-home .nv-hero--knowit .nv-hero__content.is-visible .nv-hero__actions {
		animation: nv-home-rise 740ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
	}
}

@keyframes nv-home-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Språkvelger – dropdown */
.nv-langswitch {
	position: relative;
}

.nv-langswitch__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	padding: 0.375rem 0.25rem;
	border: 0;
	background: transparent;
	color: var(--nv-foreground);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: color var(--nv-ease);
}

.nv-langswitch__toggle:hover {
	color: var(--nv-brand);
}

.nv-langswitch__chevron {
	width: 0.875rem;
	height: 0.875rem;
	flex: 0 0 auto;
	transition: transform var(--nv-ease);
}

.nv-langswitch.is-open .nv-langswitch__chevron {
	transform: rotate(180deg);
}

.nv-langswitch__menu {
	position: absolute;
	top: calc(100% + 0.25rem);
	right: 0;
	z-index: 120;
	min-width: 5.5rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--nv-border);
	box-shadow: 0 10px 28px -12px rgba(13, 38, 41, 0.18);
}

.nv-langswitch__menu[hidden] {
	display: none;
}

.nv-langswitch__option {
	display: block;
	padding: 0.55rem 1rem;
	color: var(--nv-muted);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: color var(--nv-ease), background-color var(--nv-ease);
}

a.nv-langswitch__option:hover {
	color: var(--nv-foreground);
	background-color: var(--nv-section-alt);
}

.nv-langswitch__option.is-current {
	color: var(--nv-foreground);
	font-weight: 600;
}

.nv-footer .nv-langswitch__toggle {
	color: var(--wp--preset--color--base);
}

.nv-footer .nv-langswitch__menu {
	background-color: var(--nv-section-dark);
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
}

.nv-footer .nv-langswitch__option {
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
}

.nv-footer a.nv-langswitch__option:hover,
.nv-footer .nv-langswitch__option.is-current {
	color: var(--wp--preset--color--base);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
}

.nv-footer__lang-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nv-footer__lang-pill {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent);
	border-radius: 0;
	font-size: 12px;
	font-weight: 500;
	color: color-mix(in srgb, var(--wp--preset--color--base) 40%, transparent);
	text-decoration: none;
	transition: color var(--nv-ease), border-color var(--nv-ease), background-color var(--nv-ease);
}

.nv-footer__lang-pill.is-current,
.nv-footer__lang-pill:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 40%, transparent);
	color: var(--wp--preset--color--base);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent);
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.nv-footer {
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
	padding-block: clamp(4rem, 6vw, 5rem);
}

.nv-footer :where(a, p, li) {
	color: inherit;
}

.nv-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
	.nv-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.nv-footer__grid {
		grid-template-columns: 1.4fr repeat(3, 1fr);
		gap: 3rem 4rem;
	}
}

.nv-footer__col img {
	display: block;
	height: 2rem;
	width: auto;
	margin-bottom: 1.25rem;
}

.nv-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
}

.nv-footer__tagline {
	margin: 0;
	max-width: 28ch;
	color: color-mix(in srgb, var(--wp--preset--color--base) 50%, transparent);
}

.nv-footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nv-footer__links a {
	color: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent);
	text-decoration: none;
	transition: color var(--nv-ease);
}

.nv-footer__links a:hover {
	color: var(--wp--preset--color--base);
}

.nv-cookie-renew {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent);
	font: inherit;
	font-size: inherit;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
	transition: color var(--nv-ease);
}

.nv-cookie-renew:hover {
	color: var(--wp--preset--color--base);
}

.nv-footer__cookie {
	color: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent);
}

/* Lokal cookie-boks (localhost – Cookie Information støtter ikke localhost) */
.nv-coc {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 10050;
	padding: 1rem;
	pointer-events: none;
}

.nv-coc[hidden] {
	display: none !important;
}

.nv-coc__panel {
	pointer-events: auto;
	width: min(40rem, 100%);
	margin-inline: auto;
	padding: 1.35rem 1.4rem 1.45rem;
	border: 1px solid color-mix(in srgb, var(--nv-section-dark) 12%, transparent);
	background: #f7f6f3;
	color: var(--nv-section-dark);
	box-shadow: 0 -12px 40px rgba(13, 38, 41, 0.18);
}

.nv-coc__title {
	margin: 0 0 0.55rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.nv-coc__text {
	margin: 0 0 1.15rem;
	color: var(--nv-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.nv-coc__text a {
	color: var(--nv-brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nv-coc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.nv-coc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.55rem 1rem;
	border: 1px solid transparent;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--nv-ease), color var(--nv-ease), border-color var(--nv-ease);
}

.nv-coc__btn--primary {
	background: var(--nv-brand);
	color: var(--wp--preset--color--base);
}

.nv-coc__btn--primary:hover {
	background: color-mix(in srgb, var(--nv-brand) 88%, #000);
}

.nv-coc__btn--ghost {
	border-color: color-mix(in srgb, var(--nv-brand) 28%, var(--nv-border));
	background: transparent;
	color: var(--nv-brand);
}

.nv-coc__btn--ghost:hover {
	background: color-mix(in srgb, var(--nv-brand) 8%, transparent);
}

.nv-coc__details {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--nv-border);
	display: grid;
	gap: 0.85rem;
}

.nv-coc__details[hidden] {
	display: none !important;
}

.nv-coc__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
}

.nv-coc__row strong {
	display: block;
	font-size: 0.9375rem;
}

.nv-coc__row small {
	display: block;
	margin-top: 0.2rem;
	color: var(--nv-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.nv-coc__row input {
	margin-top: 0.2rem;
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--nv-brand);
}

.nv-coc-fab {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 10040;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 999px;
	background: var(--nv-brand);
	color: var(--wp--preset--color--base);
	box-shadow: 0 8px 24px rgba(13, 38, 41, 0.28);
	cursor: pointer;
}

.nv-coc-fab svg {
	width: 1.35rem;
	height: 1.35rem;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
}

body.nv-coc-open .nv-coc-fab {
	display: none;
}

@media (max-width: 600px) {
	.nv-coc__actions {
		flex-direction: column;
	}

	.nv-coc__btn {
		width: 100%;
	}
}

.nv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent);
}

.nv-footer__copy {
	margin: 0;
	font-size: 14px;
	color: color-mix(in srgb, var(--wp--preset--color--base) 35%, transparent);
}

/* --------------------------------------------------------------------------
   7a. Kontaktside
   -------------------------------------------------------------------------- */

#nv-main:has(.nv-contact-main),
#nv-main:has(.nv-contact-main) > .entry-content,
#nv-main:has(.nv-contact-main) > .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-contact-main) .alignfull {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-page-hero),
#nv-main:has(.nv-page-hero) > .entry-content,
#nv-main:has(.nv-page-hero) > .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-page-hero) .alignfull {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-page-hero) {
	gap: 0;
}

.nv-contact-main {
	background-color: var(--wp--preset--color--base);
}

.nv-contact-main__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 2.5rem);
	align-items: start;
}

@media (min-width: 1024px) {
	.nv-contact-main__grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.75fr);
		gap: clamp(1.5rem, 3vw, 2rem);
	}
}

.nv-contact-panel {
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--nv-section-green);
}

.nv-contact-panel .text-heading-xl {
	margin: 0 0 0.75rem;
	max-width: 16ch;
}

.nv-contact-panel__lead {
	margin: 0 0 1.75rem;
	max-width: 32rem;
}

.nv-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0;
	max-width: none;
}

.nv-contact-form__row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 700px) {
	.nv-contact-form__row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	color: var(--nv-foreground);
}

.nv-contact-form__field > span {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.nv-contact-form__field > span em {
	font-style: normal;
	font-weight: 400;
	font-size: 0.8125rem;
	color: var(--nv-muted);
}

.nv-contact-form__field input,
.nv-contact-form__field textarea {
	width: 100%;
	margin: 0;
	padding: 0.9rem 1rem;
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 12%, transparent);
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--base);
	color: var(--nv-foreground);
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.45;
	box-shadow: none;
	appearance: none;
	transition: border-color var(--nv-ease), box-shadow var(--nv-ease);
}

.nv-contact-form__field input::placeholder,
.nv-contact-form__field textarea::placeholder {
	color: color-mix(in srgb, var(--nv-foreground) 38%, transparent);
}

.nv-contact-form__field textarea {
	min-height: 9rem;
	resize: vertical;
}

.nv-contact-form__field input:hover,
.nv-contact-form__field textarea:hover {
	border-color: color-mix(in srgb, var(--nv-foreground) 28%, transparent);
}

.nv-contact-form__field input:focus,
.nv-contact-form__field textarea:focus {
	outline: none;
	border-color: var(--nv-brand);
	box-shadow: var(--wp--custom--shadow--focus);
}

.nv-contact-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-top: 0.35rem;
}

.nv-contact-form__note {
	margin: 0;
	max-width: 28rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--nv-muted);
}

.nv-contact-aside .text-heading-l {
	margin: 0 0 1.5rem;
	max-width: 14ch;
}

.nv-contact-channels {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nv-contact-channel {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	padding: 1.1rem 1.15rem;
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--nv-section-alt);
	border: 1px solid transparent;
	color: inherit;
	text-decoration: none;
	transition:
		background-color var(--nv-ease),
		border-color var(--nv-ease),
		color var(--nv-ease),
		box-shadow var(--nv-ease),
		transform var(--nv-ease);
}

.nv-contact-channel--static {
	grid-template-columns: auto 1fr;
}

.nv-contact-channel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--nv-brand);
}

.nv-contact-channel__icon .nv-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.nv-contact-channel__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.nv-contact-channel__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nv-muted);
}

.nv-contact-channel__value {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--nv-foreground);
	overflow-wrap: anywhere;
}

.nv-contact-channel__arrow {
	display: inline-flex;
	color: var(--nv-brand);
	transition: transform var(--nv-ease);
}

a.nv-contact-channel:hover {
	background-color: var(--nv-brand);
	border-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
	box-shadow: var(--wp--custom--shadow--md);
}

@media (prefers-reduced-motion: no-preference) {
	a.nv-contact-channel:hover {
		transform: translateY(-2px);
	}
}

a.nv-contact-channel:hover .nv-contact-channel__icon,
a.nv-contact-channel:hover .nv-contact-channel__label,
a.nv-contact-channel:hover .nv-contact-channel__value,
a.nv-contact-channel:hover .nv-contact-channel__arrow {
	color: var(--wp--preset--color--base);
}

a.nv-contact-channel:hover .nv-contact-channel__arrow {
	transform: translateX(3px);
}

.nv-contact-offices .nv-offer-index__head {
	margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.nv-contact-offices .nv-offer-grid {
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.nv-contact-offices .nv-offer-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-offer-tile--static {
	cursor: default;
	min-height: 14rem;
}

.nv-offer-tile--static:hover {
	background-color: var(--nv-section-green);
	color: var(--nv-foreground);
	box-shadow: none;
	transform: none;
}

.nv-offer-tile--static:hover .nv-offer-tile__icon,
.nv-offer-tile--static:hover .nv-offer-tile__title,
.nv-offer-tile--static:hover .nv-offer-tile__text {
	color: inherit;
}

.nv-offer-tile--static:hover .nv-offer-tile__text {
	color: var(--nv-muted);
}

.nv-contact-office__role {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nv-brand);
}

.nv-contact-office__meta {
	display: block;
	margin-top: 0.85rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--nv-muted);
}

.nv-contact-offices .nv-offer-tile {
	background-color: var(--wp--preset--color--base);
}

.nv-contact-offices .nv-offer-tile--static:hover {
	background-color: var(--wp--preset--color--base);
}

/* Contact / legal hero uses page-height Knowit hero */
.nv-hero--knowit.nv-hero--page {
	min-height: clamp(28rem, 58vh, 36rem);
}

/* Personvern */
.nv-privacy__updated {
	margin: 1.25rem 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
	font-size: 0.875rem;
	font-weight: 500;
}

.nv-privacy__layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 960px) {
	.nv-privacy__layout {
		grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2.5rem, 5vw, 4.5rem);
	}
}

.nv-privacy__toc {
	position: sticky;
	top: calc(var(--nv-header-height) + 1.25rem);
}

.nv-privacy__toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.nv-privacy__toc a {
	color: var(--nv-muted);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	transition: color var(--nv-ease);
}

.nv-privacy__toc a:hover {
	color: var(--nv-foreground);
}

.nv-privacy__body {
	max-width: 42rem;
}

.nv-privacy__section + .nv-privacy__section {
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: clamp(2rem, 4vw, 2.75rem);
	border-top: 1px solid var(--nv-border);
}

.nv-privacy__section h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.4vw, 1.65rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.nv-privacy__section p,
.nv-privacy__section li {
	color: var(--nv-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.nv-privacy__section p + p,
.nv-privacy__section ul {
	margin-top: 1rem;
}

.nv-privacy__section ul {
	margin: 1rem 0 0;
	padding-left: 1.15rem;
}

.nv-privacy__section li + li {
	margin-top: 0.45rem;
}

.nv-privacy__table-wrap {
	margin-top: 1.25rem;
	overflow-x: auto;
	border: 1px solid var(--nv-border);
	border-radius: var(--wp--custom--radius--md);
}

.nv-privacy__table {
	width: 100%;
	min-width: 36rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.nv-privacy__table th,
.nv-privacy__table td {
	padding: 0.75rem 0.9rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--nv-border);
	color: var(--nv-muted);
}

.nv-privacy__table th {
	background-color: var(--nv-section-alt);
	color: var(--nv-foreground);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

.nv-privacy__table tr:last-child td {
	border-bottom: 0;
}

.nv-contact-form__note a {
	display: inline;
	margin-left: 0.25rem;
	color: var(--nv-brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.nv-contact-form__note a:hover {
	color: var(--nv-foreground);
}

.nv-privacy__cookie {
	margin-top: 1.35rem !important;
}

.nv-privacy__cookie .nv-cookie-renew {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--nv-brand) 35%, var(--nv-border));
	background: transparent;
	color: var(--nv-brand);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--nv-ease), color var(--nv-ease);
}

.nv-privacy__cookie .nv-cookie-renew:hover {
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
}

.nv-privacy__contact {
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nv-border);
}

.nv-privacy__contact a {
	color: var(--nv-brand);
	font-weight: 600;
	text-decoration: none;
}

.nv-privacy__contact a:hover {
	text-decoration: underline;
}

.nv-hero--knowit .nv-hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent);
}

.nv-hero--knowit .nv-hero__lead {
	margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
	max-width: 36rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

/* --------------------------------------------------------------------------
   7a2. Plattform-side (hjemmeside-design)
   -------------------------------------------------------------------------- */

#nv-main:has(.nv-hero--knowit),
#nv-main:has(.nv-hero--cinematic),
#nv-main:has(.nv-hero--knowit) > .entry-content,
#nv-main:has(.nv-hero--cinematic) > .entry-content,
#nv-main:has(.nv-hero--knowit) > .wp-block-post-content,
#nv-main:has(.nv-hero--cinematic) > .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-hero--knowit) .alignfull,
#nv-main:has(.nv-hero--cinematic) .alignfull {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.nv-platform-prose {
	max-width: 46rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.nv-platform-prose p {
	margin: 0;
}

.nv-offer-index.nv-section--alt {
	background-color: var(--nv-section-alt);
}

.nv-platform-detail-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 48rem;
}

.nv-platform-detail {
	padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
	border-bottom: 1px solid var(--nv-border);
	scroll-margin-top: calc(var(--nv-header-height) + 1.5rem);
}

.nv-platform-detail:first-child {
	padding-top: 0;
}

.nv-platform-detail:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nv-platform-detail .text-heading-l {
	margin: 0 0 1rem;
	max-width: 22ch;
}

.nv-platform-detail .text-body-l {
	margin: 0;
	max-width: 46rem;
}

.nv-platform-principle-grid {
	display: grid;
	gap: 1.5rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
	.nv-platform-principle-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.nv-platform-principle-card {
	padding: 0;
}

.nv-platform-principle-card__num {
	display: block;
	margin-bottom: 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--nv-brand);
}

.nv-platform-principle-card h3 {
	margin: 0 0 0.75rem;
}

.nv-platform-principle-card p {
	margin: 0;
	max-width: 36ch;
}

/* --------------------------------------------------------------------------
   7b. Områdesider (Knowit-inspirert layout, Nuvinno-farger)
   -------------------------------------------------------------------------- */

/* Brødsmuler: full-bleed, sømløst inn i mørk hero */
.nv-service-crumbs {
	margin: 0 !important;
	padding: 1.25rem 0 0;
	background-color: transparent;
}

/*
 * Modulsider: nullstill nestet constrained + has-global-padding.
 * Ellers får alignfull feil negativ margin → hvit stripe til venstre
 * og innhold som klippes til høyre.
 */
#nv-main:has(.nv-area-hero),
#nv-main:has(.nv-area-hero) > .entry-content,
#nv-main:has(.nv-area-hero) > .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-area-hero) .alignfull {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#nv-main:has(.nv-area-hero) {
	gap: 0;
}

#nv-main:has(.nv-area-hero) .nv-service-crumbs {
	background-color: var(--nv-section-dark);
}

#nv-main:has(.nv-area-hero) > .nv-service-crumbs,
#nv-main:has(.nv-area-hero) > .entry-content,
#nv-main:has(.nv-area-hero) > .entry-content > *:first-child,
#nv-main:has(.nv-area-hero) .nv-area-hero {
	margin-block-start: 0 !important;
}

#nv-main:has(.nv-area-hero) > .entry-content {
	padding-block-start: 0 !important;
}

.nv-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.nv-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.5rem;
	opacity: 0.55;
}

.nv-breadcrumbs a {
	text-decoration: none;
	color: inherit;
}

#nv-main:has(.nv-area-hero) .nv-breadcrumbs,
#nv-main:has(.nv-area-hero) .nv-breadcrumbs a {
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
}

#nv-main:has(.nv-area-hero) .nv-breadcrumbs a:hover {
	color: var(--wp--preset--color--base);
}

#nv-main:has(.nv-area-hero) .nv-breadcrumbs [aria-current="page"] {
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

#nv-main:has(.nv-area-hero) .nv-breadcrumbs li:not(:last-child)::after {
	color: color-mix(in srgb, var(--wp--preset--color--base) 35%, transparent);
	opacity: 1;
}

.nv-area-hero {
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

.nv-area-hero__content {
	padding-top: clamp(1.5rem, 3.5vw, 2.25rem);
	padding-bottom: clamp(4rem, 9vw, 7rem);
	max-width: 52rem;
}

.nv-area-hero__eyebrow {
	margin-bottom: 1.25rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 62%, transparent);
}

.nv-area-hero__title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(2.35rem, 5.6vw, 4rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--wp--preset--color--base);
	text-wrap: balance;
}

.nv-area-hero__lead {
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
	max-width: 38rem;
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.55;
	color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent);
}

.nv-area-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
}

.nv-link-arrow--on-dark {
	color: var(--wp--preset--color--base);
}

.nv-link-arrow--on-dark:hover {
	color: color-mix(in srgb, var(--wp--preset--color--base) 85%, transparent);
}

.nv-area-intro {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--wp--preset--color--base);
}

.nv-area-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.nv-area-intro__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: clamp(3.5rem, 7vw, 6rem);
	}
}

.nv-area-intro__title {
	margin: 0 0 1.5rem;
	max-width: 18ch;
	font-size: clamp(1.85rem, 3.4vw, 2.75rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.12;
	color: var(--nv-foreground);
}

.nv-area-intro__text {
	margin: 0;
	max-width: 40rem;
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.65;
	color: color-mix(in srgb, var(--nv-foreground) 72%, transparent);
}

.nv-area-intro__media {
	margin: 0;
	overflow: hidden;
	background-color: var(--nv-section-green);
}

.nv-area-intro__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.nv-area-section-head {
	max-width: 40rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.nv-area-section-head__title {
	margin: 0;
	font-size: clamp(1.85rem, 3.2vw, 2.65rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.12;
	color: var(--nv-foreground);
}

.nv-area-section-head--on-dark .nv-area-section-head__title {
	color: var(--wp--preset--color--base);
}

.nv-area-offers,
.nv-area-more {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--nv-section-green);
}

.nv-area-more {
	background-color: var(--wp--preset--color--base);
	border-top: 1px solid var(--nv-border);
}

.nv-offer-grid--area {
	gap: 1rem;
}

@media (min-width: 700px) {
	.nv-offer-grid--area {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.nv-offer-grid--area {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nv-offer-grid--area .nv-offer-tile {
	min-height: 14.5rem;
	background-color: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--nv-foreground) 8%, transparent);
	box-shadow: none;
}

.nv-area-more .nv-offer-grid--area .nv-offer-tile {
	background-color: var(--nv-section-green);
	border-color: transparent;
}

.nv-offer-grid--area .nv-offer-tile:hover {
	background-color: var(--nv-brand);
	border-color: var(--nv-brand);
	box-shadow: none;
}

.nv-area-details {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--wp--preset--color--base);
}

.nv-subservices--area {
	max-width: 46rem;
	gap: 0;
}

.nv-subservices--area .nv-subservice {
	padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
	border-bottom: 1px solid var(--nv-border);
}

.nv-subservices--area .nv-subservice:first-child {
	padding-top: 0;
}

.nv-subservices--area .nv-subservice h3 {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.nv-subservices--area .nv-subservice p {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.nv-area-value {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

.nv-content-steps--area {
	display: grid;
	gap: 0;
	margin-top: 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
}

.nv-content-steps--area .nv-content-step {
	grid-template-columns: 3.5rem 1fr;
	gap: 1.25rem 1.75rem;
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
	align-items: start;
}

.nv-content-steps--area .nv-content-step__num {
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: color-mix(in srgb, var(--wp--preset--color--base) 45%, transparent);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	justify-content: flex-start;
	padding-top: 0.15rem;
}

.nv-content-steps--area .nv-content-step h3 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	color: var(--wp--preset--color--base);
}

.nv-content-steps--area .nv-content-step p {
	max-width: 40rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
}

.nv-area-faq {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--wp--preset--color--base);
}

.nv-faq--area {
	max-width: 46rem;
	gap: 0;
	margin-top: 0;
	border-top: 1px solid var(--nv-border);
}

.nv-faq--area .nv-faq__item {
	border: 0;
	border-bottom: 1px solid var(--nv-border);
	border-radius: 0;
	background: transparent;
	padding: 0;
}

.nv-faq--area .nv-faq__question {
	padding: 1.35rem 0;
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--nv-foreground);
}

.nv-faq--area .nv-faq__answer {
	padding: 0 0 1.35rem;
}

.nv-faq--area .nv-faq__answer p {
	max-width: 40rem;
	font-size: 1.0625rem;
	line-height: 1.65;
}

.nv-area-cta {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background-color: var(--nv-brand);
	color: var(--wp--preset--color--base);
}

.nv-area-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(2rem, 4vw, 2.75rem);
	max-width: 42rem;
}

.nv-area-cta .nv-eyebrow {
	color: color-mix(in srgb, var(--wp--preset--color--base) 65%, transparent);
}

.nv-area-cta__title {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 3.2vw, 2.65rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.12;
	color: var(--wp--preset--color--base);
}

.nv-area-cta__text {
	margin: 0;
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
}

/* --------------------------------------------------------------------------
   8. Bevegelse
   -------------------------------------------------------------------------- */

.js .nv-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--nv-reveal-delay, 0ms);
}

.js .nv-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.nv-reveal-stagger > *:nth-child(2) { --nv-reveal-delay: 70ms; }
.nv-reveal-stagger > *:nth-child(3) { --nv-reveal-delay: 140ms; }
.nv-reveal-stagger > *:nth-child(4) { --nv-reveal-delay: 210ms; }
.nv-reveal-stagger > *:nth-child(5) { --nv-reveal-delay: 280ms; }
.nv-reveal-stagger > *:nth-child(6) { --nv-reveal-delay: 340ms; }
.nv-reveal-stagger > *:nth-child(7) { --nv-reveal-delay: 400ms; }

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .nv-reveal {
		opacity: 1;
		transform: none;
	}

	.nv-header {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   404 – siden finnes ikke
   -------------------------------------------------------------------------- */

.nv-404-main {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
	background-color: var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

#nv-main.nv-404-main,
#nv-main.nv-404-main > .entry-content,
#nv-main.nv-404-main > .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nv-404 {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 100svh;
	margin: 0 !important;
	background:
		radial-gradient(
			70% 60% at 88% 42%,
			color-mix(in srgb, #2a6b72 28%, transparent) 0%,
			transparent 58%
		),
		radial-gradient(
			90% 70% at 0% 100%,
			color-mix(in srgb, #061618 55%, transparent) 0%,
			transparent 50%
		),
		var(--nv-section-dark);
	color: var(--wp--preset--color--base);
}

.nv-404__canvas {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.nv-404__rings {
	position: absolute;
	top: 42%;
	right: clamp(-28%, -6vw, 4%);
	width: min(72vw, 40rem);
	height: min(72vw, 40rem);
	color: color-mix(in srgb, var(--wp--preset--color--base) 55%, #2a6b72);
	transform: translateY(-50%);
	transform-origin: center;
	opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
	.nv-404__rings {
		animation: nv-404-spin 56s linear infinite;
	}
}

@keyframes nv-404-spin {
	from {
		transform: translateY(-50%) rotate(0deg);
	}

	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

@media (max-width: 781px) {
	.nv-404__rings {
		right: -48%;
		top: 18%;
		width: min(110vw, 26rem);
		height: min(110vw, 26rem);
		opacity: 0.35;
	}
}

.nv-404__frame {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(2.5rem, 5vw, 3.75rem);
	padding-top: calc(var(--nv-header-height) + clamp(2.5rem, 7vw, 5rem));
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.nv-404__copy {
	max-width: 38rem;
}

.nv-404__code {
	margin: 0 0 0.65rem;
	font-size: clamp(4.5rem, 14vw, 8.5rem);
	font-weight: 500;
	letter-spacing: -0.06em;
	line-height: 0.9;
	color: color-mix(in srgb, var(--wp--preset--color--base) 22%, transparent);
}

.nv-404__title {
	margin: 0;
	max-width: 16ch;
	font-size: clamp(2rem, 4.8vw, 3.5rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.08;
	color: var(--wp--preset--color--base);
	text-wrap: balance;
}

.nv-404__lead {
	margin: clamp(1.1rem, 2.5vw, 1.5rem) 0 0;
	max-width: 34rem;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.55;
	color: color-mix(in srgb, var(--wp--preset--color--base) 74%, transparent);
}

.nv-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.35rem;
	margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

.nv-404 .nv-btn-ghost {
	color: var(--wp--preset--color--base);
}

.nv-404__search {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	width: min(100%, 34rem);
	margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
	padding: 0.35rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 18%, transparent);
	border-radius: var(--wp--custom--radius--lg);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
	backdrop-filter: blur(8px);
}

.nv-404__search-input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 2.85rem;
	padding: 0.65rem 1.15rem;
	border: 0;
	border-radius: var(--wp--custom--radius--md);
	background: transparent;
	color: var(--wp--preset--color--base);
	font: inherit;
	font-size: 1rem;
	outline: none;
}

.nv-404__search-input::placeholder {
	color: color-mix(in srgb, var(--wp--preset--color--base) 48%, transparent);
}

.nv-404__search-input:focus-visible {
	outline: none;
}

.nv-404__search:focus-within {
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 42%, transparent);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 12%, transparent);
}

.nv-404__search-btn {
	flex: 0 0 auto;
	min-height: 2.85rem;
	padding: 0.65rem 1.35rem;
	border: 0;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--base);
	color: var(--nv-section-dark);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: background-color var(--nv-ease), color var(--nv-ease), transform var(--nv-ease);
}

.nv-404__search-btn:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 88%, #2a6b72);
}

.nv-404__search-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--base);
	outline-offset: 2px;
}

.nv-404__links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 782px) {
	.nv-404__links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

.nv-404__link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	gap: 0.9rem;
	min-height: 100%;
	padding: 1.15rem 1.2rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
	border-radius: var(--wp--custom--radius--lg);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 6%, transparent);
	color: inherit;
	text-decoration: none;
	transition:
		border-color var(--nv-ease),
		background-color var(--nv-ease),
		transform var(--nv-ease);
}

.nv-404__link:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 32%, transparent);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent);
	transform: translateY(-2px);
}

.nv-404__link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: var(--wp--custom--radius--md);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent);
	color: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
}

.nv-404__link-icon .nv-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.nv-404__link-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.nv-404__link-title {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.nv-404__link-text {
	font-size: 0.92rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--wp--preset--color--base) 68%, transparent);
}

.nv-404__link-arrow {
	display: inline-flex;
	margin-top: 0.2rem;
	opacity: 0.55;
	transition: transform var(--nv-ease), opacity var(--nv-ease);
}

.nv-404__link:hover .nv-404__link-arrow {
	opacity: 1;
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.nv-404__rings,
	.nv-404__link {
		animation: none;
		transition: none;
	}

	.nv-404__link:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	body.error404 .nv-404__copy.is-visible .nv-404__code {
		animation: nv-home-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	body.error404 .nv-404__copy.is-visible .nv-404__title {
		animation: nv-home-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
	}

	body.error404 .nv-404__copy.is-visible .nv-404__lead {
		animation: nv-home-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 110ms both;
	}

	body.error404 .nv-404__copy.is-visible .nv-404__actions,
	body.error404 .nv-404__copy.is-visible .nv-404__search {
		animation: nv-home-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
	}
}

/* --------------------------------------------------------------------------
   9. Mobil (< 782px)
   -------------------------------------------------------------------------- */

@media (max-width: 781px) {
	.wp-site-blocks {
		overflow-x: clip;
	}

	#nv-main .alignfull,
	.wp-block-group.alignfull {
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
	}

	.nv-shell {
		padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
		max-width: 100%;
	}

	.nv-section {
		padding-block: clamp(3.5rem, 7vw, 9rem);
	}

	body.home .nv-section,
	body.nv-lang-home .nv-section {
		padding-block: clamp(3.5rem, 7vw, 7rem);
	}

	.nv-offer-index,
	.nv-service-detail,
	.nv-area-intro,
	.nv-area-offers,
	.nv-area-more,
	.nv-area-details,
	.nv-area-value,
	.nv-area-faq,
	.nv-area-cta {
		padding-block: clamp(3.5rem, 7vw, 7rem);
	}

	/* Hero – innhold nederst, men uten klipping */
	.nv-hero--cinematic {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		overflow: visible;
		min-height: max(100svh, 100dvh);
	}

	.nv-hero--cinematic .nv-hero__inner {
		flex: 0 0 auto;
		min-height: 0;
		width: 100%;
		padding-block: 0 max(2rem, env(safe-area-inset-bottom, 0px));
	}

	.nv-hero--cinematic .nv-hero__title {
		font-size: clamp(1.75rem, 8.2vw, 2.5rem);
		line-height: 1.08;
	}

	.nv-hero--cinematic .nv-hero__lead {
		font-size: 1rem;
		line-height: 1.5;
	}

	.nv-hero--cinematic .nv-hero__content {
		width: 100%;
		max-width: none;
	}

	.nv-hero--cinematic .nv-hero__media img {
		object-position: 75% 35%;
		max-width: 100%;
	}

	.nv-btn-editorial,
	.nv-btn-pill {
		box-sizing: border-box;
		max-width: 100%;
	}

	/* Knowit-hero: kompakt mobil-komposisjon, ikke midtstilt tomrom */
	.nv-hero--knowit {
		align-items: flex-start;
		min-height: auto;
	}

	body.home .nv-hero--knowit,
	body.nv-lang-home .nv-hero--knowit,
	body.nv-knowit-hero .nv-hero--knowit {
		min-height: min(10svh, 44rem);
	}

	.nv-hero--knowit .nv-hero__content,
	body.home .nv-hero--knowit .nv-hero__content,
	body.nv-lang-home .nv-hero--knowit .nv-hero__content,
	body.nv-knowit-hero .nv-hero--knowit .nv-hero__content {
		max-width: none;
		padding-top: calc(var(--nv-header-height) + clamp(1.25rem, 4vw, 2rem));
		padding-bottom: max(2.25rem, env(safe-area-inset-bottom, 0px));
	}

	.nv-hero--knowit .nv-hero__title {
		max-width: none;
		font-size: clamp(1.85rem, 8.4vw, 2.45rem);
		line-height: 1.12;
	}

	/* La desktop-linjebrudd flyte naturlig på smale skjermer */
	.nv-hero--knowit .nv-hero__line {
		display: inline;
	}

	.nv-hero--knowit .nv-hero__line::after {
		content: "\00a0";
	}

	.nv-hero--knowit .nv-hero__lead {
		margin-top: 1.1rem;
		font-size: 1rem;
		line-height: 1.5;
	}

	.nv-hero--knowit .nv-hero__actions {
		margin-top: 1.6rem;
		gap: 0.75rem;
	}

	.nv-page-hero {
		padding-top: clamp(2rem, 5vw, 3.5rem);
		padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
	}

	.nv-page-hero .text-heading-hero {
		font-size: clamp(1.85rem, 8vw, 2.5rem);
		line-height: 1.1;
	}

	.nv-services-hero__content {
		padding-top: clamp(3.5rem, 8vw, 5rem);
		padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
	}

	.nv-services-hero__brand {
		font-size: clamp(2.5rem, 14vw, 4.5rem);
	}

	.nv-services-hero__title {
		font-size: clamp(1.75rem, 7.5vw, 2.35rem);
		max-width: none;
	}

	.nv-area-hero__content {
		padding-bottom: clamp(3rem, 7vw, 4.5rem);
	}

	.nv-area-hero__title {
		font-size: clamp(1.85rem, 8vw, 2.65rem);
		max-width: none;
	}

	.nv-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
		margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
	}

	body.home .nv-section-head .text-heading-xxl,
	body.nv-lang-home .nv-section-head .text-heading-xxl,
	.nv-section-head .text-heading-xxl {
		max-width: none;
		font-size: clamp(1.65rem, 7vw, 2.25rem);
		line-height: 1.15;
	}

	.nv-section-head__lead {
		max-width: none;
		font-size: 1rem;
		line-height: 1.55;
	}

	.nv-section-head .nv-btn-editorial,
	.nv-section-head .nv-btn-pill,
	.nv-section-head .nv-btn-editorial--outline {
		width: 100%;
		justify-content: center;
	}

	.nv-hero__actions,
	.nv-hero--knowit .nv-hero__links,
	.nv-services-hero__actions,
	.nv-area-hero__actions,
	.nv-404__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.nv-hero__actions .nv-btn-editorial,
	.nv-hero__actions .nv-btn-ghost,
	.nv-services-hero__actions .nv-btn-editorial,
	.nv-services-hero__actions .nv-btn-ghost,
	.nv-area-hero__actions .nv-btn-editorial,
	.nv-area-hero__actions .nv-link-arrow,
	.nv-404__actions .nv-btn-editorial,
	.nv-404__actions .nv-btn-ghost {
		justify-content: center;
		width: 100%;
	}

	.nv-hero--knowit .nv-hero__actions .nv-btn-ghost {
		justify-content: flex-start;
		width: auto;
		padding-inline: 0.15rem;
	}

	.nv-contact-band,
	.nv-cta-band,
	.nv-area-cta__inner {
		gap: 1.5rem;
	}

	.nv-contact-band .nv-btn-editorial,
	.nv-cta-band .nv-btn-editorial,
	.nv-area-cta__inner .nv-btn-editorial,
	.nv-service-bridge__points .nv-btn-editorial {
		width: 100%;
		justify-content: center;
	}

	.nv-section--brand .nv-cta-band {
		grid-template-columns: 1fr;
	}

	.nv-process-steps {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: clamp(2rem, 4vw, 3rem);
	}

	.nv-process-step {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 1rem;
		text-align: left;
		padding-block: 0.85rem;
		border-bottom: 1px solid var(--nv-border);
	}

	.nv-process-step:last-child {
		border-bottom: 0;
	}

	.nv-process-step__pill {
		margin-bottom: 0;
		flex: 0 0 auto;
		padding: 0.55rem 1rem;
		font-size: 0.8125rem;
	}

	.nv-process-line {
		display: none;
	}

	.nv-offer-grid {
		gap: 0.85rem;
	}

	.nv-offer-tile {
		min-height: auto;
		gap: 1rem;
		padding: 1.25rem 1.2rem 1.3rem;
	}

	.nv-offer-grid--compact .nv-offer-tile {
		min-height: auto;
	}

	.nv-offer-tile__title {
		font-size: clamp(1.2rem, 5.2vw, 1.45rem);
		line-height: 1.2;
	}

	.nv-offer-tile__text {
		max-width: none;
		font-size: 0.9rem;
		line-height: 1.5;
	}

	.nv-case-feature {
		padding: 1.35rem;
		gap: 1.25rem;
		margin-bottom: 0.85rem;
	}

	.nv-case-feature__title {
		max-width: none;
		font-size: clamp(1.35rem, 6vw, 1.75rem);
	}

	.nv-case-feature__text {
		max-width: none;
		font-size: 1rem;
		line-height: 1.5;
	}

	.nv-expertise-links {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.nv-expertise-link {
		width: 100%;
		justify-content: flex-start;
		min-height: 2.85rem;
		padding: 0.85rem 1rem;
		font-size: 0.9375rem;
		text-align: left;
	}

	.nv-image-band,
	.nv-services-band {
		height: clamp(32vh, 38vh, 44vh);
	}

	.nv-stat-grid {
		gap: 1rem;
	}

	.nv-stat-card {
		padding: 1.15rem;
	}

	.nv-news-item {
		gap: 0.4rem;
		padding: 1.05rem 0;
	}

	.nv-news-item__title {
		font-size: 1.02rem;
		line-height: 1.35;
		overflow-wrap: anywhere;
	}

	.nv-news-item__more {
		white-space: normal;
		padding-block: 0.25rem;
	}

	.nv-contact-panel {
		padding: 1.35rem;
	}

	.nv-contact-form__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nv-contact-form__actions .nv-btn-editorial {
		width: 100%;
		justify-content: center;
	}

	.nv-contact-channel {
		grid-template-columns: auto 1fr auto;
		padding: 1rem;
	}

	.nv-privacy__layout {
		gap: 1.75rem;
	}

	.nv-privacy__toc {
		position: static;
	}

	.nv-header--knowit .nv-header__inner {
		padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
	}

	.nv-header__tool {
		padding-inline: 0.5rem;
		font-size: 0.875rem;
	}

	.nv-menu-panel {
		width: min(100vw, 100%);
		padding-inline: max(1.25rem, env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
	}

	.nv-menu-panel__link {
		font-size: clamp(1.65rem, 7.5vw, 2.15rem);
	}

	.nv-footer {
		padding-block: clamp(3rem, 6vw, 4rem);
	}

	.nv-footer__grid {
		gap: 2rem;
	}

	.nv-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 2.5rem;
	}

	.nv-404__frame {
		padding-top: calc(var(--nv-header-height) + clamp(1.75rem, 5vw, 2.5rem));
	}

	.nv-404__search {
		flex-direction: column;
		align-items: stretch;
		border-radius: var(--wp--custom--radius--lg);
		padding: 0.5rem;
	}

	.nv-404__search-input,
	.nv-404__search-btn {
		width: 100%;
		border-radius: var(--wp--custom--radius--md);
	}

	.nv-platform-steps {
		gap: 1.25rem;
	}

	.nv-content-steps--area .nv-content-step {
		grid-template-columns: 2.5rem 1fr;
		gap: 1rem;
	}

	.nv-service-crumbs {
		padding-top: 0.85rem;
	}

	.nv-breadcrumbs ol {
		font-size: 0.75rem;
	}

	/* Undersider – kortere hero enn forside */
	.nv-hero--page.nv-hero--cinematic {
		min-height: auto;
	}

	.nv-hero--page.nv-hero--cinematic .nv-hero__inner {
		min-height: clamp(18rem, 68svh, 26rem);
		padding-block: 0 max(1.75rem, env(safe-area-inset-bottom, 0px));
	}

	#nv-main:has(.nv-page-hero),
	#nv-main:has(.nv-contact-main),
	#nv-main:has(.nv-hero--cinematic) {
		padding-inline: 0 !important;
	}

	/* Kontakt */
	.nv-contact-main {
		padding-block: clamp(3rem, 6vw, 5rem);
	}

	.nv-contact-main__grid {
		gap: 2.5rem;
	}

	.nv-contact-panel .text-heading-xl,
	.nv-contact-aside .text-heading-l {
		max-width: none;
		font-size: clamp(1.5rem, 6.5vw, 2rem);
	}

	.nv-contact-panel .text-heading-xl {
		margin-bottom: 0.65rem;
	}

	.nv-contact-form__field input,
	.nv-contact-form__field textarea {
		font-size: 16px;
		padding: 0.85rem 0.95rem;
	}

	.nv-contact-form__field textarea {
		min-height: 8rem;
	}

	.nv-contact-form__note {
		text-align: center;
		max-width: none;
	}

	.nv-contact-aside {
		padding-top: 0.5rem;
		border-top: 1px solid var(--nv-border);
	}

	.nv-contact-channel__value {
		font-size: 0.9375rem;
	}

	.nv-contact-offices .nv-offer-tile {
		padding: 1.35rem;
	}

	.nv-contact-offices .nv-offer-tile__text {
		max-width: none;
	}

	/* Tjenester */
	.nv-offer-index__head .text-heading-xxl,
	.nv-competence__head .text-heading-xxl,
	.nv-platform-modules__head .text-heading-xxl,
	.nv-area-section-head__title {
		font-size: clamp(1.65rem, 7vw, 2.25rem);
		max-width: none;
	}

	.nv-offer-index__lead,
	.nv-competence__lead {
		font-size: 1rem;
		line-height: 1.55;
	}

	.nv-service-detail__grid {
		gap: 1.75rem;
	}

	.nv-service-detail__media {
		order: -1;
	}

	.nv-service-detail--reverse .nv-service-detail__media,
	.nv-service-detail--reverse .nv-service-detail__copy {
		order: unset;
	}

	.nv-service-detail__media img {
		aspect-ratio: 16 / 10;
	}

	.nv-service-detail__copy .text-heading-l {
		font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	}

	.nv-service-detail__list li {
		font-size: 0.875rem;
	}

	.nv-service-bridge__inner {
		gap: 1.75rem;
	}

	.nv-service-bridge__points {
		gap: 1.25rem;
		width: 100%;
	}

	.nv-subservices {
		gap: 2rem;
	}

	.nv-subservice {
		padding-bottom: 1.75rem;
	}

	.nv-subservice h3 {
		font-size: clamp(1.2rem, 5vw, 1.45rem);
	}

	.nv-faq__question {
		min-height: 2.75rem;
		padding: 1rem 0;
		font-size: 1rem;
		line-height: 1.35;
	}

	.nv-faq__answer {
		padding-bottom: 1rem;
	}

	.nv-internal-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
		margin-top: 2rem;
		padding-top: 1.5rem;
	}

	.nv-content-card {
		padding: 1.25rem;
	}

	.nv-competence__head {
		margin-bottom: clamp(1.5rem, 3vw, 2rem);
	}

	/* Om oss */
	.nv-about-intro {
		padding-top: clamp(2rem, 4vw, 3rem);
	}

	.nv-about-prose {
		max-width: none;
	}

	.nv-about-nordic__map {
		max-width: min(100%, 20rem);
	}

	.nv-about-nordic__stats.nv-grid-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem 1rem;
	}

	.nv-about-nordic__stats .text-heading-m {
		font-size: clamp(1.35rem, 5vw, 1.75rem);
	}

	.nv-about-nordic__stats .text-body-s {
		max-width: none;
		font-size: 0.8125rem;
		line-height: 1.4;
	}

	.nv-about-topics li {
		padding: 0.85rem 0;
		font-size: 0.9375rem;
	}

	.nv-about-value {
		padding-block: 1.5rem;
	}

	.nv-section--brand .nv-cta-band__desc {
		font-size: 1rem;
		line-height: 1.55;
		margin-bottom: 1.75rem !important;
	}

	/* Plattform */
	.nv-platform-prose {
		max-width: none;
		gap: 1rem;
	}

	.nv-platform-detail .text-heading-l {
		max-width: none;
		font-size: clamp(1.25rem, 5vw, 1.5rem);
	}

	.nv-platform-detail {
		padding-block: 2rem;
	}

	.nv-platform-principle-grid {
		gap: 1.25rem;
		margin-top: 2rem;
	}

	.nv-platform-principle-card p {
		max-width: none;
	}

	.nv-platform-feature {
		padding-block: 1.5rem;
	}

	.nv-platform-module {
		padding-block: 1.15rem;
	}

	/* Forside: litt strammere rytme mellom seksjoner */
	body.home .nv-section,
	body.nv-lang-home .nv-section {
		padding-block: clamp(2.75rem, 7vw, 4.5rem);
	}

	body.home .nv-section-head,
	body.nv-lang-home .nv-section-head {
		margin-bottom: 1.5rem;
	}
}

/* Ekstra smale telefoner */
@media (max-width: 380px) {
	.nv-shell {
		padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
	}

	.nv-hero--knowit .nv-hero__title {
		font-size: clamp(1.7rem, 8.8vw, 2.1rem);
	}

	.nv-header__tool {
		font-size: 0.8125rem;
	}

	.nv-offer-tile {
		padding: 1.1rem;
	}
}

@media print {
	.nv-header,
	.nv-footer,
	.nv-hero-particles {
		display: none !important;
	}

	body {
		padding-top: 0;
	}
}
