/* Vinther Consulting · grundlag: farver, skrift og typografi.
   Layout: fuldbredde bånd med indhold i en ramme på 1200 px; løbende tekst holdes under 66 tegn.
   Siden har bevidst ét lyst udtryk med navy bånd, ligesom LinkedIn-banneret. */
:root {
  --ink: #1C2236;
  --ink-2: #3A4660;
  --muted: #5C6882;
  --line: #D6DEE8;
  --paper: #FFFFFF;
  --mist: #F2F5F9;
  --sky: #DCEBF6;
  --green: #256B3A;
  --green-hover: #1C5730;
  --green-soft: rgba(37, 107, 58, 0.16);
  --green-bright: #8DC97B;
  --navy: #1C2236;
  --navy-2: #252E47;
  --navy-line: #3A4562;
  --on-navy: #E9EDF4;
  --on-navy-2: #AEB8CC;
  --band-bg: var(--paper);

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --frame: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  --header-h: 76px;
  color-scheme: light;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

/* Feltet over den klæbende topbjælke på telefoner med notch */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.45rem + 3.3vw, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.22rem; line-height: 1.32; letter-spacing: -0.004em; }

p, ul, ol, dl, figure, blockquote { margin: 0; }

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--green-hover); }

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

strong, b { font-weight: 600; }

.accent { color: var(--green); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.16rem, 1.04rem + 0.45vw, 1.36rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}

.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }

.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.small {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

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

.skip {
  position: absolute;
  left: var(--gutter-l);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
