/* =========================================================
   HosKejser Media – main.css  (polish run v1.1)
   Et farverigt, moderne theme med dark navy hero, store
   afrundede kort, gradients, dot patterns, organiske blobs
   og en blødere wave divider. Sektioner er kommenteret.
   ========================================================= */

/* ---------- 0. Selvhostede skrifttyper (v1.12.2) ----------
   Inter og Plus Jakarta Sans (begge SIL Open Font License 1.1, se
   assets/fonts/OFL-*.txt). Filerne er de samme variable woff2-filer
   (latin-delmængde), som Google Fonts leverede, så typografien er uændret.
   Dansk tekst (æ, ø, å) ligger i latin-delmængden. Tegn udenfor den falder
   tilbage til systemskrift. Ingen forbindelse til Google. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
	--navy: #0d1733;
	--navy-2: #131f44;
	--navy-3: #1a2754;
	--navy-soft: #182550;
	--teal: #2dd4bf;
	--teal-2: #14b8a6;
	--teal-3: #0f766e;
	--mint: #a7f3d0;
	--coral: #ff6b6b;
	--coral-2: #ff8a5b;
	--orange: #ff9f43;
	--gold: #fbbf24;
	--gold-2: #f59e0b;
	--purple: #8b5cf6;
	--purple-2: #7c3aed;
	--lavender: #c4b5fd;
	--pink: #ec4899;
	--cream: #fff8ef;
	--cream-2: #fdf2e3;
	--white: #ffffff;
	--ink: #0f172a;
	--ink-soft: #475569;
	--ink-mute: #6b7280;
	--line: rgba(15, 23, 42, .08);

	--shadow-sm: 0 4px 12px rgba(13, 23, 51, .08);
	--shadow-md: 0 14px 34px rgba(13, 23, 51, .12);
	--shadow-lg: 0 28px 64px rgba(13, 23, 51, .28);
	--shadow-xl: 0 44px 96px rgba(13, 23, 51, .42);
	--shadow-card: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 28px -14px rgba(15, 23, 42, .22);
	--shadow-color-coral: 0 10px 24px -12px rgba(255, 107, 107, .7);

	/* Radier er bevidst moderate – store "pille-bokse" overalt
	   får siden til at ligne en generisk SaaS-skabelon. */
	--radius-sm: 10px;
	--radius-md: 14px;
	--radius-lg: 18px;
	--radius-xl: 22px;
	--radius-2xl: 28px;

	--font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

	--container: 1240px;
	--header-h: 80px;

	/* Section spacing – brug disse for at holde et konsistent
	   "tight premium landing page"-flow mellem hovedsektioner. */
	--section-py: 72px;
	--section-py-sm: 52px;
	--section-py-xs: 40px;
	--section-gap: 28px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	margin: 0;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%);
	clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.hk-skip-link {
	position: absolute; left: -9999px; top: 12px;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
	z-index: 9999;
}
.hk-skip-link:focus { left: 12px; }

.hk-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 28px;
}

.hk-eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 107, 107, .12);
}

/* ---------- 3. Buttons ---------- */
.hk-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
	border: 1px solid transparent;
	position: relative;
	will-change: transform;
}
.hk-btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.hk-btn:hover { transform: translateY(-2px); }
.hk-btn:hover svg { transform: translateX(3px); }
.hk-btn:active { transform: translateY(0); }
.hk-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Navy tekst på koral: hvid tekst på #ff6b6b giver kun 2.8:1 i kontrast. */
.hk-btn--coral {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8a5b 100%);
	color: var(--navy);
	box-shadow: var(--shadow-color-coral);
}
.hk-btn--coral:hover { box-shadow: 0 16px 30px -12px rgba(255, 107, 107, .8); }

.hk-btn--ghost {
	background: rgba(255, 255, 255, .04);
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px);
}
.hk-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .65); }

.hk-btn--dark {
	background: var(--ink);
	color: #fff;
	box-shadow: 0 14px 30px rgba(15, 23, 42, .28);
}
.hk-btn--dark:hover { background: #000; box-shadow: 0 18px 36px rgba(15, 23, 42, .4); }

/* ---------- 4. Brand ---------- */
.hk-brand {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-display); font-weight: 800; font-size: 18px;
	color: #fff;
	letter-spacing: -.01em;
}
.hk-brand__mark {
	width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 60%, var(--gold) 100%);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hk-brand__mark svg { width: 24px; height: 24px; }
.hk-brand--footer { color: #fff; }

/* ---------- 5. Header ---------- */
.hk-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 30;
	padding: 18px 0;
}
.hk-header__cta { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.hk-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
}
.hk-nav { justify-self: center; }
.hk-nav-list {
	display: flex; gap: 32px;
	font-weight: 500;
	font-size: 14.5px;
	color: rgba(255, 255, 255, .82);
}
.hk-nav-list a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
.hk-nav-list a {
	white-space: nowrap;
	transition: color .2s ease;
	position: relative;
	padding: 4px 0;
}
.hk-nav-list a:hover { color: #fff; }
.hk-nav-list a::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: -8px;
	height: 2px; background: linear-gradient(90deg, var(--coral), var(--orange));
	border-radius: 2px;
	transition: left .25s ease, right .25s ease;
}
.hk-nav-list a:hover::after { left: 0; right: 0; }

.hk-nav__toggle {
	display: none;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .15);
	width: 46px; height: 46px;
	border-radius: 14px;
	flex-direction: column; align-items: center; justify-content: center;
	gap: 4px;
}
.hk-nav__bar { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* Sider uden mørk hero (404, søgning, almindelige sider, indlæg).
   Headeren har hvid tekst og er normalt absolut placeret over en mørk hero.
   Uden hero ville den ligge hvid-på-creme og dække sidens overskrift. Her får
   den samme navy som heroen og placeres i normalt flow, så den fylder sin egen
   plads og aldrig overlapper indholdet. Body-klassen sættes i functions.php. */
.hk-header-solid .hk-header {
	position: relative;
	background: var(--navy);
}
.hk-header-solid .hk-section--page { padding-top: 56px; }

/* ---------- 6. Hero ---------- */
.hk-hero {
	position: relative;
	color: #fff;
	background:
		radial-gradient(70% 80% at 0% 0%, #1c2a5a 0%, transparent 60%),
		radial-gradient(60% 70% at 100% 25%, #3b1e6b 0%, transparent 60%),
		radial-gradient(50% 60% at 90% 70%, #4c1d5a 0%, transparent 65%),
		radial-gradient(45% 55% at 50% 100%, #131f44 0%, transparent 70%),
		linear-gradient(180deg, #0d1733 0%, #08102a 100%);
	/* Ingen fast højde: indhold + padding bestemmer. Top = header + luft,
	   bund = plads til wave (som er lav) + luft under CTA'erne. */
	padding:
		calc(var(--header-h) + clamp(16px, 3.2vw, 44px))
		0
		calc(var(--hk-wave-h) + clamp(28px, 3.6vw, 48px));
	overflow: hidden;
	isolation: isolate;
	--hk-wave-h: clamp(24px, 3.6vw, 52px);
}

.hk-hero__bg {
	position: absolute; inset: 0;
	pointer-events: none;
	z-index: 0;
}

.hk-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
}
/* To rolige farvefelter – teal (brand) og lilla (dybde). Koral er
   reserveret til handling (knapper), så den bruges ikke i baggrunden. */
.hk-blob--teal {
	width: 560px; height: 560px;
	background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
	top: -260px; left: -200px;
	opacity: .38;
}
.hk-blob--purple {
	width: 520px; height: 520px;
	background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
	top: -40px; right: -180px;
	opacity: .42;
}

.hk-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.hk-hero__title {
	font-size: clamp(38px, 4.9vw, 68px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.03em;
	margin-bottom: clamp(16px, 1.8vw, 22px);
	text-wrap: balance;
}
.hk-hero__title-line { display: block; }
.hk-hero__title-line--accent {
	background: linear-gradient(100deg, var(--teal) 0%, var(--mint) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hk-hero__tagline {
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.45;
	color: #fff;
	margin: 0 0 10px;
	max-width: 34em;
	font-weight: 600;
}
.hk-hero__lead {
	font-size: 15.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .72);
	max-width: 36em;
	margin: 0 0 clamp(22px, 2.4vw, 30px);
}

.hk-hero__ctas {
	display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- 7. Hero collage / mockups ---------- */
.hk-hero__collage {
	position: relative;
	display: flex;
	justify-content: center;
}

/* Evergreen website-bygge-illustration – projekt-uafhængig.
   Flader bag vinduet er skarpe, forskudte farveblokke (print-agtigt)
   i stedet for glow; det giver dybde uden at "lyse op". */
.hk-showcase {
	position: relative;
	width: min(100%, 440px);
	margin: 0 0 14px;
}
.hk-showcase::before,
.hk-showcase::after {
	content: "";
	position: absolute;
	border-radius: var(--radius-xl);
	transform: rotate(-2deg);
}
.hk-showcase::before {
	inset: 18px -16px -16px 18px;
	background: var(--coral);
}
.hk-showcase::after {
	width: 64px; height: 64px;
	top: -18px; right: 36px;
	border-radius: 50%;
	background: var(--gold);
	transform: none;
}

.hk-showcase__window {
	position: relative;
	width: 100%;
	border-radius: var(--radius-xl);
	background: linear-gradient(165deg, #18244c 0%, #0f1a3a 100%);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6);
	overflow: hidden;
	color: #fff;
	z-index: 1;
	transform: rotate(-2deg);
}
.hk-showcase__bar {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, .28);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hk-showcase__dots { display: flex; gap: 6px; }
.hk-showcase__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hk-showcase__dots span:nth-child(1) { background: #ff6b6b; }
.hk-showcase__dots span:nth-child(2) { background: #fbbf24; }
.hk-showcase__dots span:nth-child(3) { background: #2dd4bf; }
.hk-showcase__url {
	flex: 1;
	font-size: 11px; font-weight: 600; letter-spacing: .03em;
	color: rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .06);
	border-radius: 999px;
	padding: 5px 12px;
	text-align: center;
}
.hk-showcase__screen { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 16px; }
.hk-showcase__rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 2px; }
.hk-showcase__logo {
	width: 30px; height: 30px; border-radius: 9px;
	background: linear-gradient(135deg, var(--teal), var(--teal-2));
	box-shadow: 0 6px 16px rgba(45, 212, 191, .45);
}
.hk-showcase__rail span:not(.hk-showcase__logo) {
	width: 26px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12);
}
.hk-showcase__rail span:nth-child(2) { background: rgba(255, 255, 255, .22); }
.hk-showcase__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Website-bygning – en lille side der tager form (web-design, ikke dashboard) */
.hk-build {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	padding: 12px;
	background:
		radial-gradient(130% 130% at 80% 0%, rgba(139, 92, 246, .14), transparent 55%),
		rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	display: flex; flex-direction: column; gap: 11px;
}
.hk-build__nav { display: flex; align-items: center; gap: 8px; }
.hk-build__logo {
	width: 18px; height: 18px; border-radius: 6px;
	background: linear-gradient(135deg, var(--teal), var(--teal-2));
	flex: 0 0 auto;
}
.hk-build__links { display: flex; gap: 6px; flex: 1; }
.hk-build__links i { width: 18px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.hk-build__navcta { width: 34px; height: 14px; border-radius: 999px; background: linear-gradient(135deg, #ff6b6b, #ff8a5b); }

.hk-build__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; align-items: center; }
.hk-build__copy { display: flex; flex-direction: column; gap: 6px; }
.hk-build__h1 { height: 9px; width: 90%; border-radius: 4px; background: rgba(255, 255, 255, .82); }
.hk-build__h1--2 { width: 62%; background: linear-gradient(90deg, var(--teal), var(--mint)); }
.hk-build__txt { height: 5px; width: 100%; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.hk-build__txt--short { width: 70%; }
.hk-build__btn { margin-top: 4px; width: 52px; height: 16px; border-radius: 999px; background: linear-gradient(135deg, #ff6b6b, #ff8a5b); box-shadow: 0 6px 14px -4px rgba(255, 107, 107, .6); }
.hk-build__media {
	position: relative; height: 72px; border-radius: 10px; overflow: hidden;
	background: linear-gradient(180deg, #1e3a8a 0%, #6d28d9 55%, #be185d 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.hk-build__sun {
	position: absolute; top: 12px; right: 14px;
	width: 18px; height: 18px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff7ed, #fbbf24 70%);
	box-shadow: 0 0 18px rgba(251, 191, 36, .8);
}
.hk-build__hill {
	position: absolute; left: -10%; bottom: -28px; width: 120%; height: 56px;
	border-radius: 50%;
	background: linear-gradient(180deg, #14b8a6, #0f766e);
}

.hk-build__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hk-build__cards span { height: 22px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hk-build__cards span:nth-child(1) { background: linear-gradient(135deg, rgba(45, 212, 191, .35), rgba(45, 212, 191, .15)); }
.hk-build__cards span:nth-child(2) { background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(139, 92, 246, .15)); }
.hk-build__cards span:nth-child(3) { background: linear-gradient(135deg, rgba(251, 191, 36, .35), rgba(251, 191, 36, .15)); }

/* "Drop zone" + cursor = aktiv bygning */
.hk-build__drop {
	position: absolute; right: 12px; bottom: 12px;
	width: 88px; height: 22px; border-radius: 8px;
	border: 1.5px dashed rgba(45, 212, 191, .8);
	background: rgba(45, 212, 191, .08);
}
.hk-build__cursor {
	position: absolute; right: 18px; bottom: 6px;
	width: 22px; height: 22px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
	animation: hk-build-cursor 4.5s ease-in-out infinite;
}
@keyframes hk-build-cursor {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-10px, -10px); }
}

/* ---------- 8. Wave divider ---------- */
.hk-wave {
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	line-height: 0;
	z-index: 2;
}
.hk-wave svg { width: 100%; height: var(--hk-wave-h, 60px); display: block; }
.hk-wave__back  { fill: rgba(255, 248, 239, .35); }
.hk-wave__front { fill: var(--cream); }

/* ---------- 9. Section base ---------- */
.hk-section {
	padding: var(--section-py) 0;
	position: relative;
}
.hk-section--page { padding: 130px 0 var(--section-py); min-height: 60vh; }
.hk-section__head {
	display: flex; align-items: baseline; flex-wrap: wrap;
	gap: 8px 24px;
	margin-bottom: 24px;
	position: relative;
}
.hk-section__lede {
	margin: 0;
	font-size: 15px;
	color: var(--ink-soft);
	max-width: 56ch;
}
.hk-section__title {
	font-size: clamp(30px, 3.6vw, 42px);
	font-weight: 800;
	color: var(--ink);
}
.hk-section__title--stack {
	display: flex; flex-direction: column; line-height: 1;
	gap: 4px;
}
.hk-section__title--stack span { display: block; }

/* ---------- 10. Projects ----------
   Bemærk: hero har en wave divider der skyder ind over toppen af
   projects, så projects-top står tæt for at undgå dobbelt-luft. */
.hk-projects {
	background: var(--cream);
	padding-top: clamp(20px, 2.4vw, 32px);
	padding-bottom: var(--section-py);
}
.hk-projects__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

/* Smart grid: tilpas antal kolonner til antal projekter, så rækker
   altid føles balancerede uanset hvor mange projekter brugeren tilføjer.
   Bruger :has() (browser-support 95%+). Scoped til desktop – tablet/mobil
   håndterer antal via deres egne media queries længere nede. */
@media (min-width: 1081px) {
	@supports selector(:has(*)) {
		/* 1 projekt: ét stort kort centreret. */
		.hk-projects__grid:has(.hk-project:nth-child(1):last-child) {
			grid-template-columns: minmax(0, 420px);
			justify-content: center;
		}
		/* 2 projekter: 2 kolonner centreret. */
		.hk-projects__grid:has(.hk-project:nth-child(2):last-child) {
			grid-template-columns: repeat(2, minmax(0, 380px));
			justify-content: center;
		}
		/* 3 projekter: 3 lige brede kolonner. */
		.hk-projects__grid:has(.hk-project:nth-child(3):last-child) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
		/* 5 projekter: 3 kolonner (3+2 ser pænere end 4+1). */
		.hk-projects__grid:has(.hk-project:nth-child(5):last-child) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
		/* 6 projekter: 3 kolonner (3+3 i stedet for 4+2). */
		.hk-projects__grid:has(.hk-project:nth-child(6):last-child) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
		/* 4, 7, 8, 9+: behold default 4-kolonne grid. */
	}
}

/* Hvert kort ejer én farve (--hk-accent). Den bruges i illustrationen,
   pil-knappen og hover-skyggen – ikke spredt ud over hele kortet. */
.hk-project {
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .3s ease, box-shadow .3s ease;
	border: 1px solid rgba(15, 23, 42, .06);
	position: relative;
	display: flex;
	flex-direction: column;
}
.hk-project:hover {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 22px 40px -18px var(--hk-glow, rgba(15, 23, 42, .3));
}
.hk-project--teal   { --hk-accent: #0f766e; --hk-glow: rgba(20, 184, 166, .6); }
.hk-project--purple { --hk-accent: #6d28d9; --hk-glow: rgba(139, 92, 246, .6); }
.hk-project--navy   { --hk-accent: #1e1b4b; --hk-glow: rgba(30, 27, 75, .6); }
.hk-project--orange { --hk-accent: #c2410c; --hk-glow: rgba(255, 159, 67, .65); }

.hk-project__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
	border-radius: inherit;
}
.hk-project__link:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.hk-project__visual {
	position: relative;
	height: 196px;
	overflow: hidden;
}

.hk-project--teal   .hk-project__visual { background: linear-gradient(155deg, #5eead4 0%, #14b8a6 60%, #0f766e 100%); }
.hk-project--purple .hk-project__visual { background: linear-gradient(155deg, #c4b5fd 0%, #8b5cf6 60%, #6d28d9 100%); }
.hk-project--navy   .hk-project__visual { background: linear-gradient(155deg, #312e81 0%, #1e1b4b 60%, #0f172a 100%); }
.hk-project--orange .hk-project__visual { background: linear-gradient(155deg, #fde68a 0%, #ff9f43 50%, #ff6b6b 100%); }

/* Project photo (featured image fra admin) */
.hk-project__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.hk-project:hover .hk-project__photo { transform: scale(1.05); }

.hk-project__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	mix-blend-mode: multiply;
	opacity: .58;
	transition: opacity .35s ease;
}
.hk-project--teal.has-photo   .hk-project__overlay { background: linear-gradient(155deg, rgba(94,234,212,.55) 0%, rgba(15,118,110,.85) 100%); }
.hk-project--purple.has-photo .hk-project__overlay { background: linear-gradient(155deg, rgba(196,181,253,.55) 0%, rgba(109,40,217,.85) 100%); }
.hk-project--navy.has-photo   .hk-project__overlay { background: linear-gradient(155deg, rgba(49,46,129,.55) 0%, rgba(15,23,42,.9) 100%); }
.hk-project--orange.has-photo .hk-project__overlay { background: linear-gradient(155deg, rgba(253,230,138,.45) 0%, rgba(255,107,107,.85) 100%); }
.hk-project.has-photo:hover .hk-project__overlay { opacity: .42; }

.hk-project.has-photo .hk-project__visual { background: #0f172a; }

.hk-project__deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.hk-project__deco--1 {
	width: 120px; height: 120px;
	top: -30px; right: -30px;
	background: rgba(255, 255, 255, .18);
	filter: blur(2px);
}
.hk-project__deco--2 {
	width: 60px; height: 60px;
	bottom: -10px; left: -10px;
	background: rgba(0, 0, 0, .12);
}

.hk-project__badge {
	position: absolute;
	left: 14px; bottom: 14px;
	background: #fff;
	color: #0f172a;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .12em;
	padding: 5px 9px;
	border-radius: 6px;
}
.hk-project--navy .hk-project__badge { background: rgba(45, 212, 191, .95); color: #0f172a; }

/* Status-badge på projektkort (kun synlig når status != live) */
.hk-project__status {
	position: absolute;
	top: 14px; right: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(15, 23, 42, .82);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 6px 10px 6px 9px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(0,0,0,.22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.18);
}
.hk-project__status-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, .25);
	animation: hk-pulse 2s ease-in-out infinite;
}
@keyframes hk-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); }
	50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, .12); }
}
.hk-project__status--developing .hk-project__status-dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); }
.hk-project__status--coming     .hk-project__status-dot { background: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); animation-name: hk-pulse-coming; }
.hk-project__status--archived   .hk-project__status-dot { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .25); animation: none; }
.hk-project__status--paused     .hk-project__status-dot { background: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, .25); animation: none; }
@keyframes hk-pulse-coming {
	0%, 100% { box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
	50%      { box-shadow: 0 0 0 6px rgba(167, 139, 250, .12); }
}

/* "Se alle projekter" CTA under grid'et */
.hk-projects__more {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}
.hk-projects__more-text {
	font-size: 15px;
	color: var(--ink-mute);
	margin: 0;
	max-width: 540px;
}
.hk-projects__more-btn {
	font-size: 15px;
}
.hk-projects__more-btn svg {
	transition: transform .25s ease;
}
.hk-projects__more-btn:hover svg {
	transform: translateX(4px);
}

/* Optisk dæmpning af kort der ikke er live */
.hk-project.is-archived .hk-project__visual { filter: grayscale(.4); }
.hk-project.is-archived .hk-project__visual::before {
	content: ""; position: absolute; inset: 0;
	background: rgba(15, 23, 42, .25); pointer-events: none;
}

.hk-project__body {
	padding: 18px 20px 20px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 14px;
	flex: 1;
	border-top: 3px solid var(--hk-accent, var(--ink));
}
.hk-project__text { min-width: 0; flex: 1; }
.hk-project__title {
	font-size: 18px; font-weight: 800;
	margin-bottom: 4px;
	color: var(--ink);
	letter-spacing: -.015em;
}
.hk-project__desc {
	color: var(--ink-mute);
	font-size: 13.5px;
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hk-project__more {
	flex: 0 0 auto;
	width: 38px; height: 38px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--hk-accent, var(--ink));
	box-shadow: inset 0 0 0 2px currentColor;
	transition: transform .25s ease, background .25s ease, color .25s ease;
}
.hk-project__more svg { width: 16px; height: 16px; }
.hk-project:hover .hk-project__more {
	background: var(--hk-accent, var(--ink));
	box-shadow: none;
	color: #fff;
	transform: translateX(3px);
}

/* mini visuals i project cards */
.hk-mini { position: absolute; inset: 0; overflow: hidden; }

/* PlanKassen: hus med vinduer, dør, skygge og horisontlinje */
.hk-mini--house::before {
	content: ""; position: absolute; left: 50%; bottom: 38px; width: 132px; height: 86px;
	background:
		linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
	border-radius: 8px; transform: translateX(-50%);
	box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
	background-image:
		radial-gradient(circle at 30% 35%, transparent 7px, #fff 7px),
		radial-gradient(circle at 70% 35%, transparent 7px, #fff 7px),
		linear-gradient(transparent 0 70%, #14b8a6 70% 100%);
}
.hk-mini--house::after {
	content: ""; position: absolute; left: 50%; bottom: 112px; width: 158px; height: 52px;
	background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
	transform: translateX(-50%);
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
	filter: drop-shadow(0 8px 14px rgba(220, 38, 38, .4));
}

/* MyPlanDIY: laptop screen + telefon med UI-stripes */
.hk-mini--screens::before {
	content: ""; position: absolute; left: 24px; top: 28px; width: 160px; height: 100px;
	background: #fff; border-radius: 10px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	background-image:
		linear-gradient(180deg, #4c1d95 0 26%, transparent 26%),
		linear-gradient(90deg, #2dd4bf 0 22%, transparent 22%),
		repeating-linear-gradient(180deg, transparent 36% 48%, rgba(15, 23, 42, .08) 48% 50%);
}
.hk-mini--screens::after {
	content: ""; position: absolute; right: 18px; bottom: 18px; width: 84px; height: 130px;
	background: #fff; border-radius: 16px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	background-image:
		radial-gradient(circle at 50% 14px, #1e1b4b 4px, transparent 5px),
		linear-gradient(180deg, transparent 30px, #6d28d9 30px 56px, transparent 56px),
		linear-gradient(180deg, transparent 70px, #c4b5fd 70px 80px, transparent 80px),
		linear-gradient(180deg, transparent 90px, #fbbf24 90px 100px, transparent 100px);
}

/* Skumringen: måne, stjerner, mountain silhuet */
.hk-mini--moon::before {
	content: ""; position: absolute; right: 30px; top: 32px; width: 48px; height: 48px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fef3c7 0%, #fcd34d 70%, #fbbf24 100%);
	box-shadow: 0 0 40px rgba(254, 243, 199, .9);
}
.hk-mini--moon::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
	background:
		radial-gradient(2px 2px at 10% 30%, rgba(255, 255, 255, .9), transparent 3px),
		radial-gradient(1.5px 1.5px at 25% 18%, rgba(255, 255, 255, .8), transparent 3px),
		radial-gradient(2px 2px at 60% 22%, rgba(255, 255, 255, .9), transparent 3px),
		radial-gradient(1.5px 1.5px at 80% 36%, rgba(255, 255, 255, .8), transparent 3px),
		linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .65) 100%);
	clip-path: polygon(0 70%, 14% 35%, 26% 55%, 40% 25%, 56% 55%, 74% 30%, 100% 60%, 100% 100%, 0 100%);
}

/* Orange: donut chart + center number-frame */
.hk-mini--chart::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 144px; height: 144px;
	border-radius: 50%; transform: translate(-50%, -50%);
	background:
		conic-gradient(#ff6b6b 0 28%, #fbbf24 28% 56%, #2dd4bf 56% 82%, #8b5cf6 82% 100%);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.hk-mini--chart::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, .05),
		inset 0 -8px 16px rgba(255, 159, 67, .12);
	background-image:
		linear-gradient(180deg, transparent 22px, #ff9f43 22px 24px, transparent 24px 36px, #fbbf24 36px 38px, transparent 38px 50px, #2dd4bf 50px 52px, transparent 52px);
	background-size: 36px 100%;
	background-position: center;
	background-repeat: no-repeat;
}

/* ---------- 11. Capabilities ---------- */
.hk-capabilities {
	background: var(--cream);
	padding-top: var(--section-gap);
	padding-bottom: var(--section-gap);
}
.hk-capabilities__panel {
	background: linear-gradient(135deg, #fffaf2 0%, #ffeedd 100%);
	border-radius: var(--radius-2xl);
	padding: clamp(28px, 3.6vw, 44px);
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
	border: 1px solid rgba(255, 159, 67, .22);
	position: relative;
}
.hk-capabilities__head { position: relative; }

/* Kolonner adskilt af tynde linjer i stedet for kort-i-kort. */
.hk-capabilities__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.hk-capability {
	padding: 4px 22px;
	border-left: 1px solid rgba(15, 23, 42, .1);
}
.hk-capability__icon {
	width: 40px; height: 40px;
	border-radius: var(--radius-sm);
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff;
	margin-bottom: 14px;
}
.hk-capability__icon svg { width: 22px; height: 22px; }
.hk-capability--teal   .hk-capability__icon { background: var(--teal-2); }
.hk-capability--purple .hk-capability__icon { background: var(--purple-2); }
.hk-capability--orange .hk-capability__icon { background: var(--orange); }
.hk-capability--coral  .hk-capability__icon { background: var(--pink); }

.hk-capability__title { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.hk-capability__desc { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- 12. About ---------- */
.hk-about {
	background: var(--cream);
	padding-top: var(--section-gap);
	padding-bottom: var(--section-gap);
}
.hk-about__panel {
	position: relative;
	/* Blød gradient: teal -> mint -> peach -> coral. Multi-stop med
	   tunable hjørner via radials ovenpå for at undgå hård gul/grøn diagonal. */
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(45, 212, 191, .9) 0%, rgba(45, 212, 191, 0) 55%),
		radial-gradient(110% 90% at 100% 100%, rgba(255, 138, 91, .85) 0%, rgba(255, 138, 91, 0) 55%),
		radial-gradient(80% 80% at 70% 0%, rgba(251, 191, 36, .55) 0%, rgba(251, 191, 36, 0) 60%),
		linear-gradient(135deg, #5eead4 0%, #99f6e4 30%, #fde9c9 65%, #ffd1b3 100%);
	border-radius: var(--radius-2xl);
	padding: clamp(32px, 4vw, 52px);
	color: #0f172a;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
}

.hk-about__intro {
	display: flex; align-items: center; gap: 32px; position: relative; z-index: 1;
}
.hk-avatar {
	position: relative; flex: 0 0 auto;
	width: 170px; height: 170px;
	border-radius: 50%;
	overflow: visible;
}
.hk-avatar__ring {
	position: absolute; inset: -8px;
	border-radius: 50%;
	background: conic-gradient(from 220deg, #2dd4bf, #fbbf24, #ff6b6b, #8b5cf6, #2dd4bf);
	filter: blur(2px);
	z-index: -1;
}
.hk-avatar svg {
	width: 170px; height: 170px;
	border-radius: 50%;
	background: var(--navy);
	box-shadow: 0 18px 36px rgba(13, 23, 51, .35);
	border: 5px solid #fff;
	display: block;
}
.hk-avatar__sig {
	position: absolute; left: -28px; top: -14px;
	font-family: 'Caveat', 'Brush Script MT', cursive;
	font-size: 36px; font-weight: 700;
	color: var(--ink);
	transform: rotate(-12deg);
	background: rgba(255, 255, 255, .9);
	padding: 2px 12px;
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
	z-index: 2;
}

.hk-about__title { color: var(--ink); margin-bottom: 14px; font-size: clamp(28px, 3vw, 36px); }
.hk-about__text {
	color: rgba(15, 23, 42, .82);
	font-size: 15.5px; line-height: 1.75;
	max-width: 500px;
	margin: 0;
}

.hk-values {
	display: flex; flex-direction: column;
	position: relative; z-index: 1;
	background: rgba(255, 255, 255, .55);
	border-radius: var(--radius-lg);
	padding: 6px 20px;
}
.hk-value {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 0;
}
.hk-value + .hk-value { border-top: 1px solid rgba(15, 23, 42, .1); }
.hk-value__icon {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: var(--radius-sm);
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff;
}
.hk-value__icon svg { width: 20px; height: 20px; }
.hk-value--teal  .hk-value__icon { background: var(--teal-3); }
.hk-value--coral .hk-value__icon { background: #e5484d; }
.hk-value--gold  .hk-value__icon { background: var(--gold-2); }
.hk-value__title { font-size: 17px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.hk-value__text { font-size: 13.5px; color: rgba(15, 23, 42, .76); margin: 0; line-height: 1.55; }

/* ---------- 13. CTA strip ---------- */
.hk-cta {
	padding-top: var(--section-gap);
	padding-bottom: 56px;
}
.hk-cta__panel {
	position: relative;
	/* Navy tekst på koral→pink (hvid tekst består ikke WCAG AA her). */
	background: linear-gradient(110deg, #ff6b6b 0%, #ff8a5b 45%, #f472b6 100%);
	border-radius: var(--radius-2xl);
	padding: clamp(28px, 3.4vw, 40px) clamp(24px, 4vw, 48px);
	color: var(--navy);
	overflow: hidden;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: center;
}

.hk-cta__icon {
	position: relative; z-index: 1;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
.hk-cta__icon svg { width: 30px; height: 30px; }
.hk-cta__copy { position: relative; z-index: 1; }
.hk-cta__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 6px; }
.hk-cta__text { font-size: 15.5px; color: rgba(13, 23, 51, .82); margin: 0; max-width: 560px; line-height: 1.55; }
.hk-cta__btn { position: relative; z-index: 1; }

/* ---------- 14. Footer ---------- */
.hk-footer {
	background:
		radial-gradient(60% 80% at 50% 0%, #131f44 0%, transparent 60%),
		linear-gradient(180deg, #0d1733 0%, #08102a 100%);
	color: rgba(255, 255, 255, .75);
	padding: 60px 0 28px;
	margin-top: 0;
	position: relative;
}
.hk-footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--coral), var(--orange), var(--teal), transparent);
	opacity: .5;
}
.hk-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 48px;
}
.hk-footer__tagline {
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	margin: 18px 0 22px;
	max-width: 280px;
	line-height: 1.65;
}
.hk-footer__social { display: flex; gap: 10px; }
.hk-footer__social a {
	width: 38px; height: 38px; border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, .85);
	transition: background .2s, transform .2s, border-color .2s;
}
.hk-footer__social a:hover {
	background: linear-gradient(135deg, var(--coral), var(--orange));
	border-color: transparent;
	color: #fff;
	transform: translateY(-3px) scale(1.05);
}
.hk-footer__social svg { width: 18px; height: 18px; }

.hk-footer__title {
	font-family: var(--font-display); font-weight: 800;
	font-size: 13px; color: #fff;
	margin-bottom: 18px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hk-footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.hk-footer__list a { color: rgba(255, 255, 255, .65); transition: color .2s, transform .2s; display: inline-block; }
.hk-footer__list a:hover { color: var(--teal); transform: translateX(3px); }
.hk-footer__list--icons li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .7); }
.hk-footer__list--icons svg { width: 16px; height: 16px; color: var(--teal); flex: 0 0 auto; }

.hk-footer__text { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin: 0 0 16px; line-height: 1.6; }

.hk-footer__bottom {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	display: flex; justify-content: space-between; gap: 16px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .5);
}
.hk-footer__privacy {
	margin-left: 10px;
	color: rgba(255, 255, 255, .85);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hk-footer__privacy:hover,
.hk-footer__privacy:focus-visible { color: #fff; }
.hk-footer__heart {
	display: inline-flex; vertical-align: middle;
	color: var(--coral);
}
.hk-footer__heart svg { width: 14px; height: 14px; }

/* ---------- 15a. Asset-ready image hooks (opt-in) ----------
   Theme'et virker uden disse filer. For at aktivere dekorative
   background-images, læg filer i /assets/images/ med navn:

     hero-bg-accent.webp
     about-underlay.webp
     cta-texture.webp
     project-texture-plankassen.webp
     project-texture-myplandiy.webp
     project-texture-skumringen.webp
     project-texture-orange.webp

   Tilføj derefter den passende modifier-klasse i HTML/PHP, fx:

     <section class="hk-hero has-bg-image">
     <div class="hk-about__panel has-bg-image">
     <div class="hk-cta__panel has-bg-image">
     <article class="hk-project hk-project--teal has-bg-texture">

   Se template-parts/* for nemmest indsætningssted.
   ----------------------------------------------------------- */

/* Hero – subtil accent-tekstur over gradient (fx en stjernehimmel,
   dot-pattern eller abstrakt blob-kompos). Lægger sig under content. */
.hk-hero.has-bg-image::after {
	content: "";
	position: absolute; inset: 0;
	background-image: url('../images/hero-bg-accent.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .35;
	mix-blend-mode: screen;
	pointer-events: none;
	z-index: 1;
}

/* About-panel – underlay-tekstur der lægger sig over gradient men under
   content. Brug en blød watercolor / paper-texture WebP. */
.hk-about__panel.has-bg-image::after {
	content: "";
	position: absolute; inset: 0;
	background-image: url('../images/about-underlay.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .35;
	mix-blend-mode: soft-light;
	pointer-events: none;
}
.hk-about__panel.has-bg-image > * { position: relative; z-index: 1; }

/* CTA-strip – tekstur over coral/orange/pink gradient. Fx subtle grain
   eller wavy lines. */
.hk-cta__panel.has-bg-image::after {
	content: "";
	position: absolute; inset: 0;
	background-image: url('../images/cta-texture.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .25;
	mix-blend-mode: overlay;
	pointer-events: none;
}
.hk-cta__panel.has-bg-image > * { position: relative; z-index: 1; }

/* Projektkort – per-projekt tekstur over visual-area. Lægger sig over
   eksisterende gradient og mini-illustration. */
.hk-project.has-bg-texture .hk-project__visual::after {
	content: "";
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .55;
	mix-blend-mode: soft-light;
	pointer-events: none;
}
.hk-project--teal.has-bg-texture   .hk-project__visual::after { background-image: url('../images/project-texture-plankassen.webp'); }
.hk-project--purple.has-bg-texture .hk-project__visual::after { background-image: url('../images/project-texture-myplandiy.webp'); }
.hk-project--navy.has-bg-texture   .hk-project__visual::after { background-image: url('../images/project-texture-skumringen.webp'); }
.hk-project--orange.has-bg-texture .hk-project__visual::after { background-image: url('../images/project-texture-orange.webp'); }


/* ---------- 15. Page (fallback) ---------- */
.hk-page-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.hk-page-content { font-size: 16px; color: var(--ink-soft); }

/* 404: mørk tekst på creme (ink på cream ≈ 16:1, ink-soft ≈ 7:1). */
.hk-404__code {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(56px, 12vw, 112px);
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--navy-3);
	opacity: .14;
}
.hk-404 .hk-page-title { color: var(--ink); }
.hk-404__text { max-width: 560px; margin: 0 0 28px; font-size: 17px; color: var(--ink-soft); }
.hk-404__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
	.hk-projects__grid { grid-template-columns: repeat(2, 1fr); }
	.hk-capabilities__panel { grid-template-columns: 1fr; gap: 24px; }
	.hk-capabilities__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
	.hk-capability:nth-child(odd) { border-left: 0; padding-left: 0; }
	.hk-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
	.hk-footer__brand { grid-column: 1 / -1; }

	.hk-about__panel { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1000px) {
	.hk-header__cta { display: none; }
	.hk-nav { justify-self: end; }
	.hk-nav-list { gap: 24px; }
}

/* Under 900px bliver illustrationen dekorativ støj der skubber
   projekterne ned – heroen bliver ren typografi i én kolonne. */
@media (max-width: 899px) {
	.hk-hero__inner { grid-template-columns: 1fr; }
	.hk-hero__collage { display: none; }
	.hk-hero__copy { max-width: 620px; }
}

@media (max-width: 760px) {
	.hk-header { padding: 14px 0; }
	.hk-header__inner { grid-template-columns: auto auto; }
	.hk-header__cta { display: none; }
	.hk-nav { justify-self: end; }
	.hk-nav__toggle { display: inline-flex; }
	.hk-nav__menu {
		position: absolute;
		top: 76px; right: 16px; left: 16px;
		background: rgba(13, 23, 51, .96);
		backdrop-filter: blur(14px);
		border: 1px solid rgba(255, 255, 255, .08);
		border-radius: 18px;
		padding: 20px;
		display: none;
		box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
	}
	.hk-nav.is-open .hk-nav__menu { display: block; }
	.hk-nav-list { flex-direction: column; gap: 16px; }
	.hk-nav-list a::after { display: none; }

	.hk-hero { --header-h: 72px; }
	.hk-hero__lead { font-size: 15px; }
	.hk-hero__ctas { gap: 10px; }

	.hk-section { padding: var(--section-py-sm) 0; }
	.hk-section__head { margin-bottom: 18px; }
	.hk-projects__grid { grid-template-columns: 1fr; gap: 16px; }
	.hk-projects { padding-top: 16px; padding-bottom: var(--section-py-sm); }
	.hk-capabilities,
	.hk-about { padding-top: 20px; padding-bottom: 20px; }
	.hk-cta { padding-top: 20px; padding-bottom: 40px; }
	.hk-project__visual { height: 180px; }

	.hk-about__intro { flex-direction: column; align-items: flex-start; gap: 22px; }
	.hk-avatar { width: 130px; height: 130px; }
	.hk-avatar svg { width: 130px; height: 130px; }
	.hk-avatar__sig { font-size: 28px; left: -18px; top: -10px; }

	.hk-cta__panel { grid-template-columns: 1fr; text-align: center; gap: 18px; }
	.hk-cta__icon { margin: 0 auto; }
	.hk-cta__btn { justify-self: center; }

	.hk-footer { padding: 48px 0 24px; }
	.hk-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.hk-footer__brand { grid-column: 1 / -1; }
	.hk-footer__bottom { flex-direction: column; text-align: center; margin-top: 28px; padding-top: 18px; }
}

@media (max-width: 460px) {
	.hk-container { padding: 0 20px; }
	.hk-capabilities__grid { grid-template-columns: 1fr; row-gap: 0; }
	.hk-capability,
	.hk-capability:nth-child(odd) { border-left: 0; padding: 16px 0; }
	.hk-capability + .hk-capability { border-top: 1px solid rgba(15, 23, 42, .1); }
	.hk-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.hk-footer__brand,
	.hk-footer__col,
	.hk-hero__title { font-size: 34px; }
	.hk-hero__tagline { font-size: 16.5px; }
	.hk-hero__lead { font-size: 14.5px; }
	.hk-section { padding: var(--section-py-xs) 0; }
	.hk-projects { padding-bottom: var(--section-py-xs); }
	.hk-capabilities,
	.hk-about { padding-top: 14px; padding-bottom: 14px; }
	.hk-cta { padding-top: 14px; padding-bottom: 32px; }
	.hk-cta__title { font-size: 22px; }
	.hk-btn { padding: 12px 18px; font-size: 14px; }
}

/* ---------- 16. Archive page (/projekter/) ---------- */
.hk-archive-hero {
	position: relative;
	background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
	color: #fff;
	padding: 96px 0 120px;
	overflow: hidden;
}
.hk-archive-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hk-archive-hero .hk-blob--teal   { width: 520px; height: 520px; top: -120px; left: -160px; opacity: .58; }
.hk-archive-hero .hk-blob--purple { width: 480px; height: 480px; top: 160px; right: -140px; opacity: .55; }
.hk-archive-hero .hk-blob--coral {
	width: 360px; height: 360px;
	background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
	bottom: -80px; left: 28%;
	opacity: .48;
}
.hk-archive-hero .hk-dots {
	position: absolute;
	top: 90px; right: 6%;
	width: 180px; height: 110px;
	background-image: radial-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.6px);
	background-size: 14px 14px;
	opacity: .55;
}
.hk-archive-hero .hk-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
	background-size: 90px 90px;
	mask-image: radial-gradient(60% 60% at 30% 50%, #000 0%, transparent 80%);
	-webkit-mask-image: radial-gradient(60% 60% at 30% 50%, #000 0%, transparent 80%);
	opacity: .6;
}
.hk-archive-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hk-archive-hero__crumb {
	display: inline-flex; gap: 10px; align-items: center;
	font-size: 13px;
	color: rgba(255,255,255,.65);
	margin-bottom: 18px;
}
.hk-archive-hero__crumb a { color: rgba(255,255,255,.8); transition: color .2s; }
.hk-archive-hero__crumb a:hover { color: #2dd4bf; }
.hk-archive-hero__title {
	font-family: var(--font-display);
	font-size: clamp(40px, 5.4vw, 64px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.05;
	margin-bottom: 16px;
	background: linear-gradient(95deg, #ffffff 0%, #2dd4bf 60%, #f9a8d4 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hk-archive-hero__intro {
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255,255,255,.78);
	max-width: 620px;
}
.hk-wave--archive { position: absolute; bottom: -1px; left: 0; right: 0; height: 100px; }
.hk-wave--archive svg { width: 100%; height: 100%; display: block; }
.hk-wave--archive .hk-wave__back  { fill: rgba(255, 246, 233, .55); }
.hk-wave--archive .hk-wave__front { fill: var(--cream); }
.hk-projects--archive { padding-top: 30px; }
.hk-projects--archive .hk-projects__grid { gap: 28px; }

/* ---------- 17. Single project page (/projekter/[slug]/) ---------- */
.hk-single { background: var(--cream); }

.hk-single__hero {
	position: relative;
	color: #fff;
	padding: 96px 0 120px;
	overflow: hidden;
	min-height: 380px;
}
.hk-single__hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hk-single__photo {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.hk-single__overlay {
	position: absolute; inset: 0;
	/* v1.12.2: tættere øverst, så navigationen (hvid tekst) har ≥ 4,5:1 også over lyse
	   projektbilleder som PlanKassen-logoet (målt 3,7:1 med den tidligere .55). */
	background: linear-gradient(180deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .92) 100%);
}
.hk-single--teal   .hk-single__hero { background: linear-gradient(155deg, #0f766e 0%, #134e4a 60%, #0f172a 100%); }
.hk-single--purple .hk-single__hero { background: linear-gradient(155deg, #6d28d9 0%, #4c1d95 60%, #0f172a 100%); }
.hk-single--navy   .hk-single__hero { background: linear-gradient(155deg, #1e1b4b 0%, #0f172a 100%); }
.hk-single--orange .hk-single__hero { background: linear-gradient(155deg, #c2410c 0%, #7c2d12 60%, #0f172a 100%); }
.hk-single.no-photo .hk-single__overlay { display: none; }

.hk-single__blob {
	position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
	pointer-events: none;
}
.hk-single__blob--1 { width: 360px; height: 360px; background: #2dd4bf; top: -80px; right: -80px; }
.hk-single__blob--2 { width: 280px; height: 280px; background: #ff6b6b; bottom: -100px; left: -60px; }

.hk-single__hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hk-single__breadcrumb {
	display: inline-flex; gap: 10px; align-items: center;
	font-size: 13px;
	color: rgba(255,255,255,.7);
	margin-bottom: 24px;
}
.hk-single__breadcrumb a { color: rgba(255,255,255,.85); transition: color .2s; }
.hk-single__breadcrumb a:hover { color: #2dd4bf; }
.hk-single__breadcrumb span:not([aria-hidden]) { color: #fff; font-weight: 600; }

.hk-single__meta {
	display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap;
	margin-bottom: 16px;
}
.hk-single__pill {
	background: rgba(255,255,255,.95);
	color: #0f172a;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	padding: 7px 11px;
	border-radius: 999px;
}
.hk-single__status {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(15,23,42,.5);
	border: 1px solid rgba(255,255,255,.18);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 6px 12px 6px 10px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.hk-single__status-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
}
.hk-single__status--developing .hk-single__status-dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); animation: hk-pulse 2s ease-in-out infinite; }
.hk-single__status--coming     .hk-single__status-dot { background: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); animation: hk-pulse-coming 2s ease-in-out infinite; }
.hk-single__status--archived   .hk-single__status-dot { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .25); }
.hk-single__status--paused     .hk-single__status-dot { background: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, .25); }

.hk-single__title {
	font-family: var(--font-display);
	font-size: clamp(40px, 5.6vw, 68px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.05;
	margin-bottom: 18px;
	color: #fff;
}
.hk-single__excerpt {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255,255,255,.85);
	max-width: 680px;
	margin-bottom: 28px;
}
.hk-single__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Body med content + sidebar */
.hk-single__body { padding-top: 56px; padding-bottom: 56px; }
.hk-single__body .hk-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}
.hk-single__content {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 44px 48px;
	box-shadow: var(--shadow-card);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
}
.hk-single__content > * + * { margin-top: 1em; }
.hk-single__content h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; letter-spacing: -.01em; }
.hk-single__content h3 { font-size: 20px; font-weight: 700; margin-top: 1.4em; }
/* Første element i casen (typisk "Formål") skal ikke have ekstra luft over sig. */
.hk-single__content > :first-child { margin-top: 0; }
.hk-single__content p  { color: var(--ink-mute); }
.hk-single__content ul, .hk-single__content ol { padding-left: 1.4em; color: var(--ink-mute); }
.hk-single__content li { margin: .35em 0; }
.hk-single__content a { color: #0d9488; text-decoration: underline; text-underline-offset: 3px; }
.hk-single__content img { max-width: 100%; height: auto; border-radius: 12px; }
.hk-single__content blockquote {
	border-left: 3px solid #2dd4bf;
	padding: 4px 0 4px 18px;
	color: var(--ink);
	font-style: italic;
}
.hk-single__placeholder { color: var(--ink-mute); font-style: italic; }

.hk-single__aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.hk-single__card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	box-shadow: var(--shadow-card);
}
.hk-single__card-title {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--ink-mute);
	margin-bottom: 16px;
}
.hk-single__facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.hk-single__facts dt {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ink-mute);
}
.hk-single__facts dd {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hk-single__facts dd a { color: #0d9488; }

.hk-single__contact {
	display: flex; flex-direction: column; gap: 4px;
	background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 22px 24px;
	box-shadow: var(--shadow-card);
	transition: transform .25s ease, box-shadow .25s ease;
}
.hk-single__contact strong { font-size: 16px; font-weight: 800; }
.hk-single__contact span { font-size: 13px; opacity: .82; }
.hk-single__contact:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(15,23,42,.45); }

.hk-single__nav-bar {
	background: var(--cream);
	padding-top: 12px;
	padding-bottom: 64px;
}
.hk-single__nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hk-btn--ghost-dark {
	background: transparent;
	color: var(--ink);
	border: 2px solid rgba(15, 23, 42, .15);
}
.hk-btn--ghost-dark:hover { border-color: var(--ink); }

@media (max-width: 1080px) {
	.hk-single__body .hk-container { grid-template-columns: 1fr; gap: 32px; }
	.hk-single__aside { position: static; order: 2; flex-direction: row; }
	.hk-single__card, .hk-single__contact { flex: 1; }
	.hk-single__hero { padding: 72px 0 96px; }
}
@media (max-width: 760px) {
	.hk-single__aside { flex-direction: column; }
	.hk-single__content { padding: 28px 24px; }
	.hk-single__hero { padding: 64px 0 80px; }
	.hk-archive-hero { padding: 72px 0 96px; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
