/* Barber Floris — design tokens. Bron: design.md. Pas waarden dáár eerst aan. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..900&family=Instrument+Sans:wght@400;600&family=JetBrains+Mono:wght@500&display=swap");

:root {
  /* kleur */
  --ink: #14110f;
  --ink-raised: #1e1a17;
  --ink-line: #332c26;
  --chalk: #f1ece3;
  --chalk-muted: #a89f92;
  --lamp: #f2b441;
  --lamp-deep: #c98a1b;
  --lamp-glow: rgb(242 180 65 / 0.2);
  --paper: #f1ece3;
  --on-paper: #14110f;
  --on-lamp: #14110f;
  --error: #e5674f;

  /* typografie */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, monospace;
  --display-stretch: 62%;
  --text-display-xl: clamp(4.5rem, 21vw, 14rem);
  --text-display-lg: clamp(3rem, 11vw, 7rem);
  --text-display-md: clamp(2rem, 6vw, 3.5rem);
  --text-body: 1.0625rem;
  --text-label: 0.8125rem;

  /* ruimte */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 72px;
  --space-3xl: 120px;
  --gutter: 20px;
  --max-width: 1120px;

  /* vorm */
  --radius-sm: 4px;
  --radius-pill: 999px;

  /* beweging */
  --motion-fast: 150ms ease-out;
  --motion-base: 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font: 400 var(--text-body)/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, .display {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: var(--text-display-lg); }
h2 { font-size: var(--text-display-md); }
.hero h1 { font-size: var(--text-display-xl); }

.label {
  font: 500 var(--text-label)/1.2 var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-muted);
}

.wrap { max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-2xl); }
@media (min-width: 768px) { .section { padding-block: var(--space-3xl); } }
.section--paper { background: var(--paper); color: var(--on-paper); }
.section--paper .label { color: #5c544b; } /* chalk-muted is hier te licht */

/* knoppen */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  min-height: 56px; padding: 18px 28px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font: 500 var(--text-label)/1 var(--font-label);
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background var(--motion-fast), box-shadow var(--motion-fast);
}
.btn--primary { background: var(--lamp); color: var(--on-lamp); }
.btn--primary:hover { background: var(--lamp-deep); box-shadow: 0 0 28px 6px var(--lamp-glow); }
.btn--ghost { background: transparent; color: inherit; border-color: var(--ink-line); }
.btn--ghost:hover { border-color: var(--chalk-muted); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

/* kaart */
.card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
}

/* spiegellampen: kenmerkend element, ook als scheidingslijn.
   Gebruik: <div class="bulbs bulbs--intro"><i style="--i:0"></i><i style="--i:1"></i>…</div> */
.bulbs { display: flex; justify-content: center; gap: 28px; padding-block: var(--space-lg); }
.bulbs > i {
  width: 10px; height: 10px; border-radius: var(--radius-pill);
  background: var(--lamp); box-shadow: 0 0 14px 4px var(--lamp-glow);
}
.bulbs--intro > i { opacity: 0.15; box-shadow: none; animation: bulb-on 240ms ease-out forwards; }
.bulbs--intro > i:nth-child(n) { animation-delay: calc((var(--i, 0)) * 60ms); }
@keyframes bulb-on { to { opacity: 1; box-shadow: 0 0 14px 4px var(--lamp-glow); } }
@media (max-width: 767px) { .bulbs > i:nth-child(n + 6) { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bulbs--intro > i { opacity: 1; box-shadow: 0 0 14px 4px var(--lamp-glow); }
}
