/* ============================================================
   DE GOUDEN DAG | Base — reset & typografie
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--gd-font-body);
  font-size: var(--gd-fs-base);
  line-height: var(--gd-lh-loose);
  color: var(--gd-grey);
  background: var(--gd-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--gd-duration-fast) var(--gd-ease);
}

ul, ol { list-style: none; }

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

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

/* --- Typografie scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gd-font-headline);
  font-weight: 400;
  line-height: var(--gd-lh-tight);
  letter-spacing: var(--gd-tracking-wider);
  text-transform: uppercase;
  color: var(--gd-black);
}

.h-display {
  font-family: var(--gd-font-headline);
  font-size: clamp(2.75rem, 7vw + 0.5rem, var(--gd-fs-4xl));
  line-height: var(--gd-lh-tight);
  letter-spacing: var(--gd-tracking-wider);
  text-transform: uppercase;
}

.h-hero {
  font-family: var(--gd-font-headline);
  font-size: clamp(3rem, 8vw + 0.5rem, var(--gd-fs-5xl));
  line-height: 0.95;
  letter-spacing: var(--gd-tracking-wider);
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--gd-fs-3xl)); }
h2 { font-size: clamp(2rem, 4.5vw, var(--gd-fs-2xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--gd-fs-xl)); }
h4 { font-size: var(--gd-fs-lg); }
h5 { font-size: var(--gd-fs-md); }
h6 { font-size: var(--gd-fs-base); letter-spacing: var(--gd-tracking-wide); }

p, li {
  font-size: var(--gd-fs-base);
  line-height: var(--gd-lh-loose);
  color: var(--gd-grey);
}

p + p { margin-top: var(--gd-space-5); }

strong, b {
  color: var(--gd-black);
  font-weight: 600;
}

em, i {
  font-style: italic;
  color: var(--gd-grey);
}

a.text-link {
  color: var(--gd-gold-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a.text-link:hover { color: var(--gd-gold); }

.script {
  font-family: var(--gd-font-script);
  font-weight: 500;
  letter-spacing: var(--gd-tracking-normal);
  text-transform: none;
}

.serif {
  font-family: var(--gd-font-serif);
  font-weight: 400;
  letter-spacing: var(--gd-tracking-normal);
  text-transform: none;
}

.eyebrow {
  display: inline-block;
  font-family: var(--gd-font-body);
  font-size: clamp(1.4rem, 0.7vw + 1.1rem, 1.6rem);
  font-weight: 700;
  letter-spacing: var(--gd-tracking-wider);
  text-transform: uppercase;
  color: var(--gd-gold-dark);
  margin-bottom: var(--gd-space-5);
}

.lead {
  font-size: clamp(var(--gd-fs-md), 1.7vw, var(--gd-fs-lg));
  line-height: 1.55;
  color: var(--gd-grey);
}

.lead.serif {
  font-family: var(--gd-font-serif);
}

/* Hero subkop / scene-zin: cursief gestileerd zoals het brandbook */
.scene {
  font-family: var(--gd-font-serif);
  font-style: italic;
  font-size: clamp(var(--gd-fs-md), 2vw, var(--gd-fs-lg));
  line-height: 1.55;
  color: var(--gd-grey);
}

.theme-dark p,
.theme-dark li,
.theme-dark .lead,
.theme-dark .scene { color: rgba(255, 255, 255, 0.78); }
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6 { color: var(--gd-white); }
.theme-dark strong,
.theme-dark b { color: var(--gd-white); }

/* --- Selectie --- */
::selection {
  background: var(--gd-gold);
  color: var(--gd-black);
}

/* --- Focus visible --- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gd-gold);
  outline-offset: 3px;
  border-radius: var(--gd-radius-sm);
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: var(--gd-z-modal);
  background: var(--gd-black);
  color: var(--gd-white);
  padding: var(--gd-space-3) var(--gd-space-5);
  border-radius: var(--gd-radius-sm);
}
.skip-link:focus { top: 1rem; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--gd-container);
  margin: 0 auto;
  padding: 0 var(--gd-gutter);
}
.container--narrow { max-width: var(--gd-container-narrow); }
.container--text   { max-width: var(--gd-container-text); }

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gd-gold-dark); }
.text-black  { color: var(--gd-black); }
.text-white  { color: var(--gd-white); }
.text-italic { font-style: italic; }

.divider {
  height: 1px;
  background: var(--gd-border);
  border: 0;
  margin: var(--gd-space-9) 0;
}
.theme-dark .divider { background: rgba(255,255,255,0.12); }
