@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Antraciet uit het logo, plus één helder waterblauw als accent: bewust geen amber/goud,
   dat leest als bier. */
:root {
  --bg: #f4f2ee;
  --surface: #ebe8e2;
  --ink: #3a3d40;
  --muted: #6b6e71;
  --line: #d6d2ca;
  --accent: #1f7a8c;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191b;
    --surface: #202326;
    --ink: #e4e2de;
    --muted: #9a9da0;
    --line: #34383c;
    --accent: #5fc3d4;
    /* Logo is antraciet op transparant; omgekeerd wordt het lichtgrijs. */
    --logo-filter: invert(1) brightness(1.1);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.65 "Source Serif 4", Georgia, serif;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

/* --- hero --- */

.hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 3.5rem);
  padding: 3rem 0;
}

.logo {
  width: min(100%, 30rem);
  height: auto;
  filter: var(--logo-filter);
  animation: opkomen 1.2s ease-out both;
}

.motto {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.35em;
  font: 500 clamp(1.6rem, 6vw, 2.6rem)/1.1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.motto span { animation: opkomen 0.8s ease-out both; }
.motto span:nth-child(1) { animation-delay: 0.5s; }
.motto span:nth-child(2) { animation-delay: 0.7s; }
.motto span:nth-child(3) { animation-delay: 0.9s; }
.motto span:nth-child(4) { animation-delay: 1.1s; }
.motto b { font-weight: 800; color: var(--accent); }

@keyframes opkomen {
  from { opacity: 0; transform: translateY(0.6rem); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logo, .motto span { animation: none; }
}

/* --- teller --- */

.teller {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.teller p { margin: 0; }
.teller-getal {
  font: 800 clamp(4.5rem, 22vw, 9rem)/0.9 "Barlow Condensed", sans-serif;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.teller-label {
  font: 500 1.25rem/1.2 "Barlow Condensed", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- verhaal --- */

.verhaal {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
.verhaal p { margin: 0 0 1.1em; }
.verhaal .lead {
  font: 800 clamp(2rem, 8vw, 3.25rem)/1.05 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* --- vier letters --- */

.letters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 4rem;
}
@media (min-width: 34rem) {
  .letters { grid-template-columns: 1fr 1fr; }
}
.letters article {
  background: var(--surface);
  padding: 1.5rem 1.5rem 1.75rem;
}
.letters h2 {
  margin: 0;
  font: 800 4.5rem/0.85 "Barlow Condensed", sans-serif;
  color: var(--accent);
}
.letters h3 {
  margin: 0.4rem 0 0.5rem;
  font: 500 1.35rem/1.2 "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.letters p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* --- footer --- */

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font: 500 0.95rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
footer p { margin: 0; }
footer p + p { margin-top: 0.7em; }
