/* ============================================================
   HINGEBJERG.DK – lancerings-site (uden referencer)
   Mørk dansk modernisme / signal orange
   ============================================================ */

:root {
  --bg: #0d0c0a;
  --bg-soft: #141310;
  --ink: #ece8df;
  --body-ink: #e2dbca;
  --mut: #b7ae9b;
  --line: rgba(236, 232, 223, 0.14);
  --acc: #ff4d00;
  --frame: #eae6dd;
  --sb: #3a372f;
  --font: "Archivo", sans-serif;
  --mono: "Spline Sans Mono", monospace;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.62, 0.05, 0.01, 0.99);
  /* viz-elementer: neutrale flader skåret af blækket, virker i begge temaer */
  --el: color-mix(in srgb, var(--ink) 9%, transparent);
  --el2: color-mix(in srgb, var(--ink) 18%, transparent);
}

:root[data-theme="light"] {
  --bg: #f1ede4;
  --bg-soft: #e7e2d5;
  --ink: #171410;
  --body-ink: #40382a;
  --mut: #4c4335;
  --line: rgba(23, 20, 16, 0.16);
  --frame: #e2dccd;
  --sb: #b9b2a2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: var(--sb) var(--bg); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 380;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.45s ease, color 0.45s ease;
}

::selection { background: var(--acc); color: var(--bg); }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

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

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 420;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  /* CSS-only failsafe: fjerner sig selv hvis JS aldrig gør det */
  animation: loader-off 0.5s ease 2.8s forwards;
}
@keyframes loader-off { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.loader__logo { width: clamp(200px, 30vw, 360px); }
.loader__count {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--mut);
}
.loader__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--line);
}
[data-theme="light"] .loader__logo,
[data-theme="light"] .site-foot__logo { filter: invert(1); }
[data-theme="light"] .hero__grain { filter: invert(1); opacity: 0.055; }
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--acc);
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--acc);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background-color 0.25s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: #0d0c0a; white-space: nowrap; opacity: 0;
  transition: opacity 0.2s;
}
.cursor.is-label { width: 84px; height: 84px; }
.cursor.is-label span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  padding: 18px var(--pad);
  mix-blend-mode: difference;
  transition: transform 0.5s var(--ease);
}
.site-head.is-hidden { transform: translateY(-110%); }
/* Logoet flugter med D'ets synlige venstrekant i overskriften:
   D har et sidebearing på ~0.076 em, så logoet rykkes ind
   proportionalt med titlens skriftstørrelse. */
.site-head__logo img {
  width: 315px; height: auto;
  margin-left: calc(clamp(58px, 12.5vw, 236px) * 0.076);
}
.site-head__nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.site-head__nav a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  position: relative; padding: 4px 0;
}
.site-head__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.site-head__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-head__nav a.is-active::after {
  transform: scaleX(1); transform-origin: left;
  background: currentColor; height: 2px;
}
.site-head__meta {
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
}
.site-head__meta > span { opacity: 0.7; }
.site-head__contact {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid var(--acc); border-radius: 100px;
  padding: 8px 16px; line-height: 1;
  transition: background-color 0.3s, color 0.3s;
}
.site-head__contact:hover,
.site-head__contact.is-active { background: var(--acc); color: #0d0c0a; }

[data-theme="light"] .site-head {
  mix-blend-mode: normal;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .site-head__logo img { filter: invert(1); }

.theme-toggle {
  background: none; border: none; cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: grid; place-items: center;
}
.theme-toggle__dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform 0.55s var(--ease);
}
.theme-toggle:hover .theme-toggle__dot { border-color: var(--acc); }
[data-theme="light"] .theme-toggle__dot { transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
  overflow: hidden;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ember-loop bærer heroen i mørkt tema; shaderen tager over i lyst
   tema og ved reduced motion (videoen er skjult dér). */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
:root[data-theme="dark"] .hero__gl { display: none; }
[data-theme="light"] .hero__video { display: none; }
.hero__gl--static { background: radial-gradient(120% 90% at 70% 10%, #1a1812 0%, #0d0c0a 60%); }
[data-theme="light"] .hero__gl--static { background: radial-gradient(120% 90% at 70% 10%, #e3ddcf 0%, #f1ede4 60%); }
.hero__grain {
  position: absolute; inset: -100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -3%); }
  80% { transform: translate(4%, 2%); }
}
.hero__title {
  position: relative; z-index: 2;
  /* 12.5vw frem for 14.5vw: mindre klemt på laptops (1440: 180px),
     maks 236px nås stadig fra ~1890px skærmbredde */
  font-size: clamp(58px, 12.5vw, 236px);
  line-height: 0.86;
  text-transform: uppercase;
  font-weight: 640;
  font-stretch: 118%;
  letter-spacing: -0.015em;
  margin-bottom: clamp(28px, 5vh, 64px);
}
.hero__line { display: block; overflow: hidden; padding-block: 0.04em; }
/* DER står kompakt; undertekstens sidste linje flugter med DER's baseline.
   Fast afstand til DER – underteksten følger ikke med ud til højre kant
   på store skærme. */
.hero__line--mid {
  display: flex; align-items: flex-end; justify-content: flex-start;
  align-items: last baseline;
  gap: clamp(48px, 8vw, 180px);
}
.hero__word { display: inline-block; will-change: transform; }
.hero__word--outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
.hero__word--italic { font-style: italic; color: var(--acc); }
.hero__sub {
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.5;
  font-weight: 420;
  font-stretch: 100%;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body-ink);
  flex: 0 0 clamp(280px, 24vw, 340px);
  max-width: 340px;
}
/* Mobil-variant af hero-underteksten (skjult på desktop) */
.hero__sub-mobile { display: none; }
.hero__cta {
  position: relative; z-index: 2;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
  padding: 4px 0;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.hero__cta-arrow { color: var(--acc); transition: transform 0.3s var(--ease); }
.hero__cta:hover .hero__cta-arrow { transform: translateX(6px); }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 16px;
}
.hero__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mut);
  display: flex; align-items: center; gap: 10px;
}
.hero__arrow { display: inline-block; animation: bounce 1.8s infinite; color: var(--acc); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Manifesto ---------- */
.manifest { padding: clamp(90px, 16vh, 180px) var(--pad); max-width: 1500px; }
.manifest__kicker { margin-bottom: 28px; }
.manifest__text {
  font-size: clamp(26px, 4vw, 58px);
  line-height: 1.18;
  font-weight: 430; font-stretch: 106%;
  letter-spacing: -0.01em;
  max-width: 1180px;
  color: var(--body-ink);
}
.manifest__stats {
  display: flex; gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(48px, 8vh, 90px);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-size: clamp(40px, 5vw, 72px); font-weight: 560; font-stretch: 116%;
  line-height: 1; color: var(--acc);
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--mut); }

/* ---------- Section heads ---------- */
/* Notens sidste linje flugter med overskriftens baseline */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  align-items: last baseline;
  padding: 0 var(--pad);
  margin-bottom: clamp(40px, 7vh, 80px);
  gap: 24px;
}
.section-head__title {
  font-size: clamp(46px, 8vw, 130px);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 620; font-stretch: 118%;
  letter-spacing: -0.015em;
}
.section-head__title em {
  font-style: italic; font-weight: 380;
  color: var(--ink);
  display: inline-block;
  margin-left: clamp(32px, 7vw, 130px);
}
.section-head__note { text-align: right; line-height: 1.7; }

/* ---------- Ydelser ---------- */
.svcs { padding: clamp(80px, 14vh, 160px) 0; }
.svcs__list { display: flex; flex-direction: column; }
/* Samme rytme som featured-modulet på hovedsitet:
   viz altid 7/12, tekst 5/12, kun venstre/højre skifter. */
.svc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(16px, 2.5vw, 40px);
  align-items: start;
  padding: clamp(36px, 6vh, 72px) var(--pad);
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__viz {
  grid-column: 1 / 8;
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: var(--bg-soft);
  overflow: hidden;
  transition: background-color 0.45s ease;
}
.svc:nth-child(even) .svc__viz { grid-column: 6 / 13; order: 2; }
/* Alle viz-spans er absolut positionerede (blockificeres automatisk);
   undtagelser sætter selv position/display */
.svc__viz span { position: absolute; }
.svc__info {
  grid-column: 8 / 13;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; z-index: 2;
}
.svc:nth-child(even) .svc__info { grid-column: 1 / 6; order: 1; }
.svc__name {
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 580; font-stretch: 114%;
  line-height: 1; text-transform: uppercase; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.svc:hover .svc__name { color: var(--acc); }
.svc__tag {
  color: var(--body-ink);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 420; line-height: 1.4;
  max-width: 38ch;
}
.svc__cats { display: flex; gap: 8px; flex-wrap: wrap; position: static; }
.svc__cats .chip { position: static; }
.chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 12px; color: var(--mut);
  display: inline-block;
}
/* Certificerings-badge: vises i egne farver, men dæmpet så det
   ikke stikker af fra paletten */
.svc__badge {
  display: flex; align-items: center; gap: 14px;
  margin-top: 10px;
}
.svc__badge img {
  width: 52px; height: auto; border-radius: 9px;
  filter: saturate(0.82);
}
.svc__badge .mono { line-height: 1.6; }

/* --- Viz 1: UI/UX – interfaceflade med vandrende fokus --- */
.viz-ui__top { left: 6%; right: 6%; top: 8%; height: 7%; background: var(--el2); }
.viz-ui__side { left: 6%; top: 21%; width: 17%; bottom: 12%; background: var(--el); }
.viz-ui__grid {
  left: 27%; right: 6%; top: 21%; bottom: 12%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6%;
}
.viz-ui__grid .viz-ui__card {
  position: relative;
  background: var(--el);
  outline: 1.5px solid transparent;
  outline-offset: -1.5px;
  animation: uiCard 6s infinite;
}
.viz-ui__card:nth-child(2) { animation-delay: 1s; }
.viz-ui__card:nth-child(3) { animation-delay: 2s; }
.viz-ui__card:nth-child(4) { animation-delay: 3s; }
.viz-ui__card:nth-child(5) { animation-delay: 4s; }
.viz-ui__card:nth-child(6) { animation-delay: 5s; }
@keyframes uiCard {
  0% { outline-color: transparent; transform: none; }
  5%, 13% { outline-color: var(--acc); transform: translateY(-4%); background: var(--el2); }
  20%, 100% { outline-color: transparent; transform: none; }
}
.viz-ui__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acc);
  animation: uiDot 6s cubic-bezier(0.6, 0.05, 0.2, 1) infinite;
}
@keyframes uiDot {
  0%, 10%       { left: 38%; top: 40%; }
  16.6%, 26.6%  { left: 61%; top: 40%; }
  33.3%, 43.3%  { left: 84%; top: 40%; }
  50%, 60%      { left: 38%; top: 74%; }
  66.6%, 76.6%  { left: 61%; top: 74%; }
  83.3%, 93.3%  { left: 84%; top: 74%; }
  100%          { left: 38%; top: 40%; }
}

/* --- Viz 2: Web – browser der loader --- */
.viz-web__bar {
  left: 0; right: 0; top: 0; height: 12%;
  background: var(--el);
  display: flex; align-items: center; gap: 2.5%;
  padding: 0 4%;
}
.viz-web__bar span { position: static; display: block; }
.viz-web__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--el2); flex: none; }
.viz-web__url {
  margin-left: 3%;
  flex: 0 1 44%;
  min-width: 0;
  height: 52%;
  border-radius: 100px;
  background: var(--bg);
  display: flex !important; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: 0.1em;
  overflow: hidden;
}
.viz-web__progress {
  left: 0; top: 12%; height: 2px; width: 0;
  background: var(--acc);
  animation: webProgress 5s ease-out infinite;
}
@keyframes webProgress {
  0% { width: 0; opacity: 1; }
  45% { width: 100%; opacity: 1; }
  55% { width: 100%; opacity: 0; }
  100% { width: 100%; opacity: 0; }
}
.viz-web__page {
  left: 8%; right: 8%; top: 24%; bottom: 10%;
  display: flex; flex-direction: column; gap: 6%;
}
.viz-web__page span { position: static; display: block; }
.viz-web__hero {
  height: 42%;
  background: var(--el2);
  transform-origin: left center;
  animation: webEl 5s ease infinite backwards;
  animation-delay: 0.35s;
}
.viz-web__line {
  height: 7%; width: var(--w, 70%);
  background: var(--el);
  transform-origin: left center;
  animation: webEl 5s ease infinite backwards;
}
.viz-web__line:nth-child(2) { animation-delay: 0.65s; }
.viz-web__line:nth-child(3) { animation-delay: 0.85s; }
.viz-web__line:nth-child(4) { animation-delay: 1.05s; }
@keyframes webEl {
  0% { transform: scaleX(0); opacity: 1; }
  14% { transform: scaleX(1); opacity: 1; }
  86% { transform: scaleX(1); opacity: 1; }
  94% { transform: scaleX(1); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

/* --- Viz 3: Motion – hoppende bold over en tidslinje --- */
.viz-motion__stage { left: 8%; right: 8%; top: 10%; bottom: 34%; }
.viz-motion__floor { left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.viz-motion__x {
  bottom: 1px; left: 0;
  width: 13%; aspect-ratio: 1;
  animation: motionX 4s linear infinite alternate;
}
.viz-motion__ball {
  inset: 0;
  border-radius: 50%;
  background: var(--acc);
  animation: motionY 1s infinite;
  will-change: transform;
}
@keyframes motionX { from { left: 0; } to { left: 87%; } }
@keyframes motionY {
  0%   { transform: translateY(0) scale(1.18, 0.82); animation-timing-function: cubic-bezier(0.3, 0.7, 0.4, 1); }
  8%   { transform: translateY(-24%) scale(0.96, 1.06); }
  45%  { transform: translateY(-185%) scale(1, 1); animation-timing-function: cubic-bezier(0.6, 0, 0.7, 0.3); }
  84%  { transform: translateY(-10%) scale(0.98, 1.04); }
  92%, 100% { transform: translateY(0) scale(1.18, 0.82); }
}
.viz-motion__track { left: 8%; right: 8%; bottom: 18%; height: 1px; background: var(--line); }
.viz-motion__key {
  width: 7px; height: 7px;
  top: 50%; left: var(--p, 0%);
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg-soft);
  border: 1px solid var(--mut);
}
.viz-motion__head {
  width: 2px; top: -7px; bottom: -7px; left: 0;
  background: var(--acc);
  animation: motionHead 4s linear infinite alternate;
}
@keyframes motionHead { from { left: 0; } to { left: 100%; } }

/* --- Viz 4: Print – ark med skæremærker --- */
.viz-print__sheet {
  width: 27%;
  aspect-ratio: 21 / 29.7;
  left: 50%; top: 50%;
  background: var(--frame);
  border: 1px solid rgba(23, 20, 16, 0.08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}
.viz-print__sheet--back { animation: sheetBack 7s ease-in-out infinite alternate; }
.viz-print__sheet--mid { animation: sheetMid 8s ease-in-out infinite alternate; }
.viz-print__sheet--front {
  padding: 4% 3%;
  animation: sheetFront 6.5s ease-in-out infinite alternate;
}
@keyframes sheetBack { from { transform: translate(-58%, -52%) rotate(-14deg); } to { transform: translate(-58%, -52%) rotate(-10deg); } }
@keyframes sheetMid { from { transform: translate(-50%, -54%) rotate(-2deg); } to { transform: translate(-50%, -54%) rotate(2deg); } }
@keyframes sheetFront { from { transform: translate(-42%, -50%) rotate(9deg); } to { transform: translate(-42%, -50%) rotate(13deg); } }
.viz-print__sheet span { position: static; display: block; }
.viz-print__logo {
  width: 26%; aspect-ratio: 1;
  background: var(--acc);
  margin-bottom: 14%;
}
.viz-print__text {
  height: 4.5%; width: var(--w, 70%);
  background: rgba(23, 20, 16, 0.26);
  margin-bottom: 7%;
}
.viz-print__mark { width: 16px; height: 16px; opacity: 0.55; }
.viz-print__mark--tl { left: 12%; top: 12%; border-left: 1px solid var(--mut); border-top: 1px solid var(--mut); }
.viz-print__mark--tr { right: 12%; top: 12%; border-right: 1px solid var(--mut); border-top: 1px solid var(--mut); }
.viz-print__mark--bl { left: 12%; bottom: 12%; border-left: 1px solid var(--mut); border-bottom: 1px solid var(--mut); }
.viz-print__mark--br { right: 12%; bottom: 12%; border-right: 1px solid var(--mut); border-bottom: 1px solid var(--mut); }

/* ---------- Det får du ---------- */
/* Ingen bundpadding – kontaktsektionens topstreg skal sidde med samme
   afstand til sidste rækkes tekst som rækkestregerne ovenfor */
.why { padding: clamp(80px, 14vh, 160px) 0 0; }
.why__list { list-style: none; }
.why-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px clamp(16px, 2.5vw, 40px);
  padding: clamp(36px, 6vh, 64px) var(--pad);
  border-top: 1px solid var(--line);
}
/* Ingen bundstreg på sidste række – kontaktsektionens topstreg er delestregen */
.why-row__title {
  grid-column: 1 / 6;
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 580; font-stretch: 114%;
  line-height: 0.98; text-transform: uppercase; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.why-row:hover .why-row__title { color: var(--acc); }
.why-row__text {
  grid-column: 6 / 12;
  color: var(--body-ink);
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 54ch;
  /* Første linjes x-højde-overkant flugter med overskriftens versalhøjde:
     cap-top = 0.139 × titel-em, x-top = 0.584 × brød-em (målt via canvas) */
  margin-top: calc(clamp(26px, 3.4vw, 52px) * 0.139 - clamp(16px, 1.4vw, 20px) * 0.584);
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(110px, 20vh, 220px) var(--pad);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.contact__title {
  font-size: clamp(40px, 8.5vw, 140px);
  line-height: 0.95; text-transform: uppercase;
  font-weight: 630; font-stretch: 118%; letter-spacing: -0.015em;
  margin: 28px 0 48px;
}
.contact__line { display: block; overflow: hidden; padding-block: 0.05em; }
.contact__line em {
  font-style: italic; font-weight: 360;
  color: var(--ink);
}
.contact__cta {
  display: inline-flex; align-items: center; gap: 18px;
  border: 1px solid var(--ink); border-radius: 100px;
  padding: 22px 44px;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 460; font-stretch: 108%;
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s;
}
.contact__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--acc);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  border-radius: inherit;
}
.contact__cta:hover { color: var(--bg); border-color: var(--acc); }
.contact__cta:hover::before { transform: translateY(0); }
.contact__cta svg { width: 22px; height: 22px; }
.contact__meta {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; justify-content: center;
}

/* ---------- Footer ---------- */
.site-foot {
  padding: clamp(40px, 8vh, 90px) var(--pad) 28px;
  border-top: 1px solid var(--line);
}
.site-foot__logo { width: min(50%, 700px); margin: 0 auto clamp(32px, 6vh, 64px); }
.site-foot__row { display: flex; justify-content: space-between; gap: 16px; }
.site-foot__row a:hover { color: var(--acc); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .why-row { grid-template-columns: 1fr; }
  .why-row__title, .why-row__text { grid-column: 1 / -1; }
  /* Stakket layout: ingen optisk topflugt at holde */
  .why-row__text { margin-top: 0; }
}

@media (max-width: 760px) {
  .site-head {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 4px;
    padding: 8px var(--pad) 6px;
  }
  .site-head__logo { grid-column: 1; grid-row: 1; display: flex; align-items: center; }
  .site-head__logo img {
    width: clamp(116px, 32vw, 150px);
    margin-left: calc(clamp(52px, 18.6vw, 122px) * 0.076);
  }
  .site-head__meta { grid-column: 2; grid-row: 1; gap: 10px; }
  .site-head__meta > span { display: none; }
  .site-head__contact { font-size: 11px; padding: 7px 13px; }
  .site-head__nav {
    grid-column: 1 / -1; grid-row: 2;
    justify-content: flex-start; gap: clamp(18px, 6vw, 32px);
  }
  .site-head__nav a { font-size: 12px; padding: 2px 0; }

  .hero { padding-top: 88px; padding-bottom: 16px; }
  .hero__line--mid { flex-direction: row; align-items: center; }
  .hero__sub { display: none; }
  .hero__word--outline { -webkit-text-stroke: 2px var(--ink); }
  .hero__title { font-size: clamp(52px, 18.6vw, 122px); margin-bottom: 20px; }
  .hero__line--mid { font-size: 0.86em; }
  .hero__line--last { font-size: 0.74em; }
  .hero__sub-mobile {
    display: block;
    position: relative; z-index: 2;
    color: var(--body-ink);
    font-size: 14px; line-height: 1.5;
    max-width: 34ch;
    margin-bottom: 22px;
  }
  .hero__cta { font-size: 12px; margin-bottom: 18px; padding: 6px 0; }
  .hero__foot { padding-top: 14px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head__note { text-align: left; }

  .svc { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .svc__viz, .svc:nth-child(even) .svc__viz { grid-column: 1 / -1; order: 0; }
  .svc__info, .svc:nth-child(even) .svc__info { grid-column: 1 / -1; order: 1; gap: 12px; }

  .contact__cta { padding: 16px 28px; gap: 12px; }
  .contact__meta { gap: 10px; flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__grain { animation: none; }
  .hero__video { display: none; }
  :root[data-theme="dark"] .hero__gl { display: block; }
  .hero__arrow { animation: none; }
  .viz-ui__card, .viz-ui__dot,
  .viz-web__progress, .viz-web__hero, .viz-web__line,
  .viz-motion__x, .viz-motion__ball, .viz-motion__head,
  .viz-print__sheet { animation: none; }
  /* Statisk, komponeret hviletilstand for miniaturerne */
  .viz-ui__dot { left: 61%; top: 40%; }
  .viz-web__progress { width: 100%; opacity: 0; }
  .viz-motion__x { left: 44%; }
  .viz-motion__ball { transform: translateY(-120%); }
  .viz-motion__head { left: 50%; }
  .viz-print__sheet--back { transform: translate(-58%, -52%) rotate(-12deg); }
  .viz-print__sheet--mid { transform: translate(-50%, -54%) rotate(0deg); }
  .viz-print__sheet--front { transform: translate(-42%, -50%) rotate(11deg); }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
