/* Basis: tokens uit het New Future Studios-designsysteem (dark-first, één accentkleur). */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Host+Grotesk:wght@400;500&display=swap');

@font-face {
  font-family: 'Brockmann';
  src: url('../fonts/Brockmann-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --flame: #f93e0d;
  --night: #0e0e0e;
  --paper: #ffffff;
  --soft-render: #bfbfbf;
  --gradient-ember: #de3000;
  --gradient-blaze: #f22a1a;
  --gradient-dust: #c88a80;
  --gradient-haze: #b9c4c6;
  --gradient-frost: #f3fbfc;

  --surface: #0e0e0e;
  --surface-raised: #171717;
  --ink: #ffffff;
  --ink-muted: #bfbfbf;
  --line: #2e2e2e;
  --line-strong: #ffffff;
  --accent: var(--flame);
  --on-accent: var(--night);

  --font-display: Brockmann, 'Host Grotesk', system-ui, sans-serif;
  --font-body: 'Host Grotesk', system-ui, sans-serif;
  --font-tech: 'Chakra Petch', ui-monospace, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 120px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

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

[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}
h1 { font-size: clamp(40px, 9vw, 72px); line-height: .95; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 5vw, 44px); line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }

p { margin: 0; }

a { color: inherit; text-underline-offset: 4px; }

.label {
  font: 500 12px/1.2 var(--font-tech);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.index { font: 600 15px/1 var(--font-tech); letter-spacing: .04em; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.5; }

/* Het lijn-element uit de styleguide: opent een sectie. */
.bar { display: block; width: 48px; height: 5px; background: var(--line-strong); }

.rec-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); vertical-align: middle;
}

/* Knoppen: vierkant, paper op night, of outline. */
.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--night);
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--paper);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 16px/1 var(--font-body);
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fg);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--btn-bg); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.btn--ghost { --btn-bg: var(--night); --btn-fg: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-btn {
  background: none; border: 0; padding: var(--space-2) 0; color: var(--ink);
  font: inherit; cursor: pointer;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease);
}
.link-btn:hover { background-size: 100% 1.5px; }

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

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px var(--space-3);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-raised);
  color: var(--ink);
  font: 400 16px/1.4 var(--font-body);
}
input:focus, select:focus, textarea:focus { border-color: var(--line-strong); outline: none; }

/* Snijtekens (+) op de hoeken van een kader, zoals een drukproef. */
.crop { position: relative; }
.crop::before, .crop::after,
.crop > .crop-b::before, .crop > .crop-b::after {
  content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none;
  background:
    linear-gradient(var(--ink-muted), var(--ink-muted)) center / 1px 100% no-repeat,
    linear-gradient(var(--ink-muted), var(--ink-muted)) center / 100% 1px no-repeat;
}
.crop::before { top: -8px; left: -8px; }
.crop::after { top: -8px; right: -8px; }
.crop > .crop-b::before { bottom: -8px; left: -8px; }
.crop > .crop-b::after { bottom: -8px; right: -8px; }

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