/* SV Wadloper — demo (Business). Anton + Barlow. Club navy / signal yellow / chalk white. Matchday-poster energy. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0f1f3d; --navy-deep: #091430; --navy-soft: #1b2f57;
  --yellow: #ffd60a; --yellow-deep: #e6bf00;
  --chalk: #f6f4ec; --chalk-deep: #ebe7d9; --line: rgba(15,31,61,.14);
  --ink: #0f1f3d; --muted: #4c5873;
  --display: "Anton", Impact, "Franklin Gothic", sans-serif;
  --body: "Barlow", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 64px); --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 17px/1.5 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; margin: 0; line-height: .92; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(40px, 6.5vw, 88px); }
h3 { font-size: clamp(24px, 3vw, 34px); }
p { margin: 0; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tape { display: inline-block; background: var(--yellow); color: var(--navy); font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; transform: rotate(-1.5deg); }

/* buttons */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; background: var(--yellow); color: var(--navy); padding: 18px 26px; transition: transform .2s var(--ease), background .2s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.btn:hover { background: var(--yellow-deep); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn--navy { background: var(--navy); color: var(--chalk); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; clip-path: none; }
.btn--ghost:hover { background: rgba(255,214,10,.15); }
.btn--small { padding: 12px 16px; font-size: 13px; }

/* demo note (badge script injects it) */
.bbrm-demo-note { font: 500 15px/1.4 var(--body); color: var(--navy); background: var(--yellow); padding: 12px 16px; margin-top: 14px; border-left: 6px solid var(--navy); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--chalk); display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter); min-height: 64px; border-bottom: 4px solid var(--yellow); }
.wordmark { font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: .02em; text-decoration: none; color: var(--yellow); display: inline-flex; align-items: baseline; gap: 6px; }
.wordmark small { font: 700 11px/1 var(--body); letter-spacing: .2em; color: var(--chalk); opacity: .8; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 12px 12px; opacity: .85; border-bottom: 3px solid transparent; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--yellow); }
.top .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; appearance: none; background: none; border: 2px solid var(--yellow); color: var(--yellow); font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-deep); flex-direction: column; padding: 8px var(--gutter) 16px; display: none; border-bottom: 4px solid var(--yellow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .top > .btn { display: none; }
}

/* marquee */
.ticker { background: var(--yellow); color: var(--navy); overflow: hidden; border-bottom: 1px solid rgba(15,31,61,.25); }
.ticker__track { display: flex; gap: 48px; width: max-content; padding: 10px 0; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; animation: ticker 28s linear infinite; }
.ticker__track span::before { content: "●"; margin-right: 48px; font-size: 8px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* hero */
.hero { position: relative; background: var(--navy); color: var(--chalk); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,20,48,.1), rgba(9,20,48,.85) 80%); }
.hero__in { padding: clamp(56px, 9vw, 110px) var(--gutter) clamp(72px, 9vw, 130px); display: grid; gap: 28px; grid-template-columns: 1fr; align-items: end; }
.hero__title { font-size: clamp(64px, 12vw, 150px); line-height: .86; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__sub { max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); color: rgba(246,244,236,.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* next match card */
.match { background: var(--chalk); color: var(--navy); padding: 22px; border-top: 8px solid var(--yellow); display: grid; gap: 14px; max-width: 460px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.match__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; line-height: 1; }
.match__vs .vs { font: 700 12px/1 var(--body); letter-spacing: .2em; color: var(--muted); }
.match__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 14px/1.3 var(--body); color: var(--muted); }
.match__meta strong { color: var(--navy); }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.3fr .9fr; } .match { justify-self: end; } }

/* stripes decoration */
.stripes { height: 18px; background: repeating-linear-gradient(-45deg, var(--navy) 0 14px, var(--yellow) 14px 28px); }

/* sections */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--navy { background: var(--navy); color: var(--chalk); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { max-width: 52ch; color: var(--muted); }
.section--navy .section__head p { color: rgba(246,244,236,.8); }

/* news cards */
.news { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; display: grid; grid-template-rows: auto 1fr; text-decoration: none; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15,31,61,.5); }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card__body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.card__date { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 26px; }
.card p { color: var(--muted); font-size: 15px; }

/* groups strip */
.groups { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.group { position: relative; min-height: 360px; color: var(--chalk); overflow: hidden; text-decoration: none; display: grid; align-content: end; padding: 24px; isolation: isolate; }
.group img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.group::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,20,48,.9), rgba(9,20,48,.1) 60%); }
.group:hover img { transform: scale(1.05); }
.group h3 { font-size: clamp(36px, 4vw, 56px); color: var(--yellow); }
.group p { font-size: 15px; opacity: .9; }

/* join CTA */
.join { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
.join h2 { font-size: clamp(48px, 8vw, 120px); }
.join h2 em { font-style: normal; color: var(--yellow); }
@media (min-width: 900px) { .join { grid-template-columns: 1.4fr 1fr; } }

/* schedule */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { appearance: none; cursor: pointer; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 12px 16px; background: #fff; color: var(--navy); border: 2px solid var(--navy); transition: background .2s, color .2s; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--yellow); }
.chip:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.schedule { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.schedule th, .schedule td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule thead th { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; background: var(--navy); color: var(--chalk); }
.schedule tbody th { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
.schedule tr[hidden] { display: none; }
.schedule .pill { display: inline-block; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; background: var(--chalk-deep); }
.schedule .pill--jeugd { background: #ffe66d; } .schedule .pill--senioren { background: var(--navy); color: var(--yellow); } .schedule .pill--recreanten { background: #cfe3ff; }
.count { margin-top: 12px; font: 500 14px/1.4 var(--body); color: var(--muted); }
@media (max-width: 640px) {
  .schedule thead { display: none; }
  .schedule tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .schedule th, .schedule td { padding: 4px 0; border: 0; }
  .schedule tbody th { grid-column: 1 / -1; }
  .schedule td:nth-child(3) { grid-column: 1 / -1; font-weight: 500; font-size: 18px; }
  .schedule tbody tr { border-bottom: 1px solid var(--line); }
}

/* form */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select { font: 400 17px/1.3 var(--body); padding: 14px 14px; border: 2px solid var(--navy); background: #fff; color: var(--ink); border-radius: 0; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field small { color: var(--muted); font-size: 14px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.fact strong { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--navy); line-height: 1; min-width: 2.2ch; text-transform: uppercase; }
.fact p { color: var(--muted); }
.section--navy .fact { border-top-color: rgba(246,244,236,.18); }
.section--navy .fact strong { color: var(--yellow); }
.section--navy .fact p { color: rgba(246,244,236,.88); }

/* posts */
.post { display: grid; gap: 18px; padding: clamp(28px, 4vw, 48px) 0; border-top: 2px solid var(--navy); grid-template-columns: 1fr; }
.post img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post h2 { font-size: clamp(32px, 4vw, 56px); }
.post__body { display: grid; gap: 12px; align-content: start; }
.post__body p { color: var(--ink); max-width: 62ch; }
@media (min-width: 800px) { .post { grid-template-columns: 2fr 3fr; } .post:nth-child(even) img { order: 2; } }

/* contact */
.address { font-size: 19px; line-height: 1.4; }
.address strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; display: block; }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours th { font-weight: 700; width: 46%; }

/* footer */
.foot { background: var(--navy-deep); color: rgba(246,244,236,.8); padding: 40px var(--gutter); display: grid; gap: 8px; font-size: 14px; border-top: 8px solid var(--yellow); }
.foot .wordmark { font-size: 20px; }
.foot__small { opacity: .6; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .card, .group img, .btn { transition: none; } }
