@import url(fonts/fonts.css);

:root {
  --forest: #122415;
  --moss: #384D31;
  --acid: #62FF42;
  --sage: #4E6C3E;
  --sand: #F1EFE3;
  --sand-2: #E6E3D3;
  --ink: #122415;
  --ink-soft: #3B4A3C;
  --line: #CFCBB8;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--sans);
  color: var(--ink);
  background: var(--sand);
  caret-color: var(--sage);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--acid); color: var(--forest); }

/* ID page */
.id {
  background: var(--forest);
  color: var(--sand);
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}
body:has(.id) { background: var(--forest); }
.id :focus-visible { outline-color: var(--acid); }
.id__mark {
  position: absolute;
  right: -12vw;
  bottom: -22%;
  width: min(72vw, 1000px);
  pointer-events: none;
}
.id__mark path { fill: var(--moss); }
.id__top, .id__main, .id__foot { position: relative; padding-inline: var(--gutter); }
.id__top { padding-top: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.id__lang { font-size: 0.9375rem; color: var(--sand); padding-block: 10px; }
.id__top img { width: clamp(150px, 18vw, 220px); height: auto; }
.id__main { align-self: center; padding-block: clamp(48px, 9vh, 120px); max-width: 1180px; }
.id__main h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 12ch; }
.id__lead { margin-top: 1.6rem; max-width: 36rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: #D9D7C9; }
.id__fields { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.id__contact { margin-top: clamp(40px, 7vh, 72px); display: grid; gap: 0.2rem; }
.id__contact strong { font-weight: 500; }
.id__contact a { display: inline-block; padding-block: 8px; justify-self: start; font-size: 1.15rem; color: var(--acid); text-decoration-color: rgba(98,255,66,.45); }
.id__foot a, .id__foot span { display: inline-block; padding-block: 10px; }
.id__foot p { margin: 0; padding-block: 10px; line-height: 1.6; }
.b-legal { margin: 0; line-height: 1.6; }
.id__foot { padding-bottom: 18px; padding-top: 12px; align-items: center; font-size: 0.875rem; color: #BFC3B2; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* Brand page */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.b-head { padding-top: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.b-head img { width: clamp(170px, 22vw, 260px); height: auto; }
.b-head a { font-size: 0.9375rem; }
.b-intro { padding-block: clamp(56px, 10vh, 112px) clamp(40px, 7vh, 80px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.b-intro h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.b-intro p { color: var(--ink-soft); max-width: 34rem; }
.b-intro .actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--forest); color: var(--sand);
  padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 500;
  transition: background-color .15s ease-out;
}
.btn:hover { background: var(--moss); }
.btn small { font-weight: 400; color: #C9CCBC; font-size: 0.875rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

section { padding-block: clamp(56px, 9vh, 104px); border-top: 1px solid var(--line); }
section h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.sec-lead { margin-top: 0.9rem; color: var(--ink-soft); max-width: 40rem; }

/* Waarom: tekst naast groot beeldmerk */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__mark { background: var(--forest); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.why__mark img { width: 52%; }
.why__text h2 { margin-bottom: 1.2rem; }
.why__text p + p { margin-top: 1rem; }
.why__text p { color: var(--ink-soft); max-width: 36rem; }

/* Logo-varianten */
.variants { margin-top: clamp(32px, 5vh, 56px); display: grid; gap: clamp(36px, 5vw, 56px); }
.variant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 13rem; gap: 12px 16px; align-items: stretch; }
.variant__name { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.variant__name h3 { font-size: 1.5rem; font-weight: 400; }
.variant__name span { color: var(--ink-soft); font-size: 0.9375rem; }
.tile { display: grid; place-items: center; min-height: 190px; padding: 36px; }
.tile--light { background: #FBFAF4; outline: 1px solid var(--line); outline-offset: -1px; }
.tile--dark { background: var(--forest); }
.tile img { max-height: 120px; width: auto; max-width: 100%; }
.tile--wide img { width: 100%; max-width: 340px; height: auto; }
.dl { display: grid; gap: 4px; align-content: center; font-size: 0.9375rem; }
.dl div { display: grid; gap: 2px; }
.dl b { font-weight: 500; }
.dl p { display: flex; gap: 0; flex-wrap: wrap; }
.dl p a:first-child { margin-left: -10px; }
.dl a { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.02em; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; }

/* Kleuren */
.palette { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: 3fr 2fr 2fr 1.7fr 2.4fr; min-height: 300px; }
.swatch {
  appearance: none; border: 0; margin: 0; font: inherit; text-align: left; cursor: pointer;
  padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  color: var(--sand);
}
.swatch--light { color: var(--forest); outline: 1px solid var(--line); outline-offset: -1px; }
.swatch--acid { color: var(--forest); }
.swatch b { font-weight: 500; display: block; }
.swatch .codes { font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.swatch { touch-action: manipulation; transition: filter .15s ease-out; }
.swatch:hover { filter: brightness(1.08); }
.swatch:active { filter: brightness(0.96); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swatch:focus-visible { outline: 2px solid var(--acid); outline-offset: -4px; }
.palette-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-soft); max-width: 44rem; }

/* Typografie */
.type { margin-top: clamp(32px, 5vh, 56px); }
.type__row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 16px 40px; padding-block: 28px; border-top: 1px solid var(--line); align-items: center; }
.type__row:last-child { border-bottom: 1px solid var(--line); }
.type__meta b { display: block; font-weight: 500; font-size: 1.05rem; }
.type__meta span { color: var(--ink-soft); font-size: 0.9375rem; display: block; }
.type__meta a { font-size: 0.9375rem; }
.type__sample { overflow-wrap: anywhere; }
.s-serif { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.s-sans { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; max-width: 36rem; }
.s-mono { font-family: var(--mono); font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.02em; }

/* Gebruik */
.use { margin-top: clamp(28px, 4vh, 44px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.use ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.7rem; max-width: 38rem; }
.use li::marker { color: var(--sage); }
.use aside { background: var(--sand-2); padding: 28px; align-self: start; }
.use aside h3 { font-size: 1.5rem; margin-bottom: 0.6rem; font-weight: 400; }

.b-foot { background: var(--forest); color: #CFD1C3; padding-block: 40px; font-size: 0.9375rem; }
.b-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.b-foot img { width: 130px; height: auto; }
.b-foot a { color: var(--sand); }

@media (max-width: 860px) {
  .b-intro, .why, .use { grid-template-columns: minmax(0, 1fr); }
  .variant { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dl { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .swatch { min-height: 150px; }
  .swatch:first-child { grid-column: 1 / -1; }
  .type__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .variant { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 140px; padding: 28px; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .b-head a { font-size: 0.875rem; }
  .id__mark { width: 92vw; right: -30vw; bottom: -14vw; }
  .id__foot { padding-top: max(160px, 40vw); }
  .why__mark { aspect-ratio: 16 / 9; order: 2; }
  .swatch { padding: 16px; }
  .swatch .codes { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
