/* Runde 2: fælles grundlag for maskot-siden og de to nye layout-koncepter */
:root {
  --ink: #14233a;
  --text: #2b3442;
  --muted: #5b6675;
  --paper: #fffbf3;
  --paper-2: #f3eee3;
  --blue: #2d68af;
  --blue-deep: #1c4a85;
  --night: #0e1b33;
  --blue-soft: #e4eefa;
  --spark: #f8c838;
  --spark-orig: #f8d648;
  --spark-soft: #fff3c4;
  --coral: #ee7b5e;
  --line: rgb(20 35 58 / 0.1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Lexend", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.2vw, 2.25rem);
  --fs-body: clamp(1.125rem, 1.09rem + 0.18vw, 1.1875rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--fs-body)/1.65 var(--sans);
  letter-spacing: 0.005em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.dark :focus-visible { outline-color: var(--spark); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 300; padding: 0.7rem 1rem; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font: 600 0.95rem/1.3 var(--sans);
  letter-spacing: 0.02em;
}
.kicker::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-10C1.3-2.9 2.9-1.3 10 0 2.9 1.3 1.3 2.9 0 10-1.3 2.9-2.9 1.3-10 0-2.9-1.3-1.3-2.9 0-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-10C1.3-2.9 2.9-1.3 10 0 2.9 1.3 1.3 2.9 0 10-1.3 2.9-2.9 1.3-10 0-2.9-1.3-1.3-2.9 0-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--spark);
}
.kicker { color: var(--blue); }
.dark .kicker { color: var(--spark-soft); }

.btn {
  --bg: var(--spark);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 1.0625rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
  box-shadow: 0 10px 24px -12px rgb(20 35 58 / 0.5);
}
.btn::after {
  /* lysglimt der glider hen over knappen ved hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%);
  translate: -120% 0;
  transition: translate 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 16px 30px -14px rgb(20 35 58 / 0.55); }
.btn:hover::after { translate: 120% 0; }
.btn--line { --bg: transparent; --fg: var(--blue-deep); border-color: rgb(28 74 133 / 0.3); box-shadow: none; }
.btn--line:hover { --bg: var(--blue-soft); box-shadow: none; }
.dark .btn--line { --fg: #fff; border-color: rgb(255 255 255 / 0.35); }
.dark .btn--line:hover { --bg: rgb(255 255 255 / 0.08); }
.btn--sm { min-height: 2.75rem; padding: 0.55rem 1.1rem; font-size: 1rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Reveal ved scroll (kun med JS) */
.js [data-in]:not(.in) { opacity: 0; translate: 0 18px; }
.js [data-in] { transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }

/* Forslags-bar øverst på koncept-siderne */
.proposal-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 200;
  translate: -50% 0;
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgb(14 27 51 / 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -12px rgb(0 0 0 / 0.5);
  font: 500 0.875rem/1 var(--sans);
}
.proposal-bar a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.proposal-bar a[aria-current="page"] { background: var(--spark); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .proposal-bar a { padding: 0.55rem 0.6rem; font-size: 0.8125rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-in]:not(.in) { opacity: 1; translate: none; }
}
