/* ==========================================================================
   Eendracht meets Okapi – stijl
   Kleuren en letters afgeleid van de campagnevisuals (Sveinn, 27/10/2026)
   ========================================================================== */

/* ---------- Lettertypes (SIL Open Font License) ---------- */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --zwart: #000000;
  --wit: #ffffff;
  --navy-top: #194278;
  --navy: #182f4e;
  --blauw: #0c4890;
  --oranje: #fa6a4c;
  --grijs: #474d57;
  --lijn: #d6dbe3;
  --font-eendracht: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-okapi: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--zwart);
  color: var(--wit);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 3px; }
.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; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Clubtypografie */
.t-e { font-family: var(--font-eendracht); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .005em; display: inline-block; transform: skewX(-11deg); transform-origin: left bottom; margin: 0; }
.t-o { font-family: var(--font-okapi); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: .92; margin: 0; }

/* ---------- Header: beide logo's ---------- */
.top {
  background: linear-gradient(90deg, var(--zwart) 50%, var(--navy-top) 50%);
  padding-top: env(safe-area-inset-top, 0px);
}
.logos {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3.5vw, 2.5rem) 0;
}
.logos a:first-child { justify-self: end; }
.logos a:last-child { justify-self: start; }
.logo-e { height: clamp(64px, 9vw, 112px); width: auto; }
.logo-o { height: clamp(78px, 11vw, 136px); width: auto; }
.logos .x { font-family: var(--font-okapi); font-style: italic; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1; }

/* ---------- Twee matchen naast elkaar ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.match { display: flex; flex-direction: column; min-width: 0; }
.match.e { background: var(--zwart); }
.match.o { background: linear-gradient(180deg, var(--navy-top) 0, var(--navy) 60%); }

/* Banner: titel bovenaan, foto eronder (zoals de campagneposts) */
.title { position: relative; z-index: 2; padding: clamp(.5rem, 1.5vw, 1.25rem) var(--gutter) 0; }
.photo { position: relative; margin-top: clamp(-4.5rem, -6vw, -2rem); }
.photo img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 66%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 66%, transparent 100%);
}

/* Titel: Eendracht meets Okapi */
.title-e {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "big big" "meets okapi";
  column-gap: .4em; font-size: clamp(3rem, 7.4vw, 6.6rem);
}
.title-e .big { grid-area: big; }
.title-e .meets { grid-area: meets; align-self: center; font-size: .34em; }
.title-e .okapi { grid-area: okapi; display: flex; align-items: flex-end; gap: .35em; }
.title-e .date { font-size: .3em; line-height: 1.05; padding-bottom: .25em; white-space: nowrap; }

/* Titel: Okapi meets Eendracht */
.title-o {
  display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "ok me date" "ee ee ee";
  column-gap: .18em; align-items: end; font-size: clamp(2.8rem, 6.6vw, 5.8rem);
}
.title-o .ok { grid-area: ok; }
.title-o .me { grid-area: me; }
.title-o .ee { grid-area: ee; padding-left: .55em; }
.title-o .outline { color: transparent; -webkit-text-stroke: 1.5px var(--wit); }
.title-o .date { grid-area: date; justify-self: end; align-self: center; font-size: .3em; line-height: 1.05; white-space: nowrap; }
.title-o .date .d { display: block; color: var(--oranje); font-weight: 700; }

/* Stempels */
.stamp { position: absolute; z-index: 2; right: clamp(.75rem, 3vw, 2rem); bottom: 20%; width: clamp(112px, 15vw, 190px); transform: rotate(-8deg); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.stamp.o { bottom: 7%; }
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp .ring { font-family: var(--font-okapi); font-weight: 600; font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; }
.stamp .mid1 { font-family: var(--font-okapi); font-style: italic; font-weight: 800; font-size: 24px; }
.stamp .mid2 { font-family: var(--font-okapi); font-style: italic; font-weight: 800; font-size: 42px; }
.stamp.e .mid1, .stamp.e .mid2 { font-family: var(--font-eendracht); font-style: normal; font-weight: 400; }

/* Info onder de banner */
.info { flex: 1; display: flex; flex-direction: column; gap: 1.75rem; padding: clamp(.5rem, 2vw, 1.5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem); }
.side { margin-top: auto; display: grid; gap: 1.75rem; justify-items: start; }
.who.t-e { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.who.t-o { font-size: clamp(2.3rem, 3.6vw, 3.3rem); }
.lede { margin: 1rem 0 0; font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 32rem; }
.count { margin: 1.5rem 0 0; display: flex; align-items: baseline; gap: .6rem; }
.count b { font-family: var(--font-okapi); font-style: italic; font-weight: 800; font-size: 3.4rem; line-height: 1; }
.match.o .count b { color: var(--oranje); }
.match.e .count b { font-family: var(--font-eendracht); font-style: normal; font-weight: 400; display: inline-block; transform: skewX(-11deg); }
.count span { color: rgba(255, 255, 255, .8); }
.facts { margin: 0; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.5rem; border-top: 2px solid var(--wit); padding-top: 1.1rem; }
.facts dt { color: rgba(255, 255, 255, .65); }
.facts dd { margin: 0; font-weight: 600; min-width: 0; }

.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase; text-align: center; line-height: 1;
  padding: .95rem 1.7rem .9rem; border: 2px solid transparent; min-height: 48px;
  transition: background-color .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-e { font-family: var(--font-eendracht); font-size: 1.5rem; letter-spacing: .02em; background: var(--wit); color: var(--zwart); }
.btn-o { font-family: var(--font-okapi); font-style: italic; font-weight: 800; font-size: 1.6rem; background: var(--oranje); color: var(--wit); }
@media (hover: hover) {
  .btn-e:hover { background: transparent; color: var(--wit); border-color: var(--wit); }
  .btn-o:hover { background: var(--wit); color: var(--navy); }
}

/* ---------- Praktisch ---------- */
.how { background: var(--wit); color: var(--zwart); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.how .cols { display: grid; gap: 3rem clamp(2rem, 6vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.how h2.t-e { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
.how h2.t-o { font-size: clamp(2.5rem, 5vw, 3.9rem); color: var(--blauw); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1rem; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--font-eendracht); font-size: 3rem; line-height: .95; transform: skewX(-11deg); }
.steps h3 { margin: 0 0 .25rem; font-size: 1.15rem; line-height: 1.3; }
.steps p { margin: 0; color: var(--grijs); }
.where { margin: 2rem 0 0; border-top: 2px solid var(--zwart); }
.where div { padding: 1rem 0; border-bottom: 1px solid var(--lijn); }
.where dt { font-family: var(--font-okapi); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 1.35rem; color: var(--blauw); }
.where dd { margin: .2rem 0 0; color: var(--grijs); }
.note { margin-top: 3rem; background: var(--zwart); color: var(--wit); padding: 1.4rem 1.6rem; border-left: 10px solid var(--oranje); max-width: 46rem; }
.note p { margin: 0; }
.note p + p { margin-top: .4rem; color: rgba(255, 255, 255, .85); }
.note a { color: var(--wit); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
footer { background: var(--zwart); color: rgba(255, 255, 255, .75); padding: 2rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; border-top: 8px solid var(--navy-top); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
footer a { color: var(--wit); }

/* ---------- Tablet en mobiel ---------- */
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .title-e { font-size: clamp(3rem, 15vw, 6rem); }
  .title-o { font-size: clamp(2.8rem, 13.5vw, 5.4rem); }
  .stamp { width: clamp(104px, 26vw, 170px); }
  .info { gap: 1.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .title-o { grid-template-columns: auto 1fr; grid-template-areas: "ok me" "ee ee" "date date"; }
  .title-o .ee { padding-left: 0; }
  .title-o .date { justify-self: start; margin-top: .45em; font-size: .36em; }
  .btn { display: block; width: 100%; }
  .side { justify-items: stretch; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dt { font-size: .875rem; margin-top: .6rem; }
  .facts dt:first-child { margin-top: 0; }
  .note { padding: 1.2rem 1.25rem; border-left-width: 6px; }
  footer .wrap { flex-direction: column; }
}
@media (max-width: 360px) {
  .title-e .okapi { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
