/*
  base.css — zelf-gehoste fonts, reset, basistypografie, utilities
  Mobile-first: alle regels hieronder gelden als basis; verrijking gebeurt
  via min-width media queries in layout.css / components.css / pages.css.
*/

/* ---------- zelf-gehoste fonts (geen externe requests) ---------- */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebasneue-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebasneue-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0304, U+0308, U+1E00-1EFF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0304, U+0308, U+1E00-1EFF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfairdisplay-italic-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfairdisplay-italic-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-024F, U+0304, U+0308, U+1E00-1EFF;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/*
  Leesbaarheid: het condensed display-font (Bebas Neue) is gereserveerd voor
  grote, korte koppen (h1/h2) waar het merk-karakter moet spreken. Kleinere
  koppen (h3/h4) en alle functionele UI-tekst gebruiken het ruimere,
  beter leesbare Inter — condensed hoofdletters worden onleesbaar op kleine
  formaten.
*/
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-tight);
  color: var(--color-brand);
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--lh-heading);
  color: var(--color-brand);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; }

p {
  max-width: 65ch;
}

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

ul, ol {
  list-style: none;
  padding: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

fieldset {
  border: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--color-amber);
  color: var(--color-green-deep);
}

/* ---------- utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--color-green-deep);
  color: var(--color-cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-input);
  z-index: var(--z-toast);
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin-bottom: var(--space-2);
}

.signature {
  font-family: var(--font-signature);
  font-style: italic;
  color: var(--color-accent-strong);
}

.section {
  position: relative;
  padding-block: var(--section-pad-mobile);
}

@media (min-width: 64rem) {
  .section {
    padding-block: var(--section-pad-desktop);
  }
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--brand {
  background: var(--color-brand);
  color: var(--color-cream);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

@media (min-width: 48rem) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.link-arrow {
  display: inline-block;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--color-brand);
  background-image: linear-gradient(var(--color-amber), var(--color-amber));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur-base) var(--ease-out);
  padding-bottom: 3px;
  width: fit-content;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  background-size: 100% 2px;
}

.rings-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
}

.rings-deco circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
