/* Domusica — one-page site. Tokens uit de design handoff. */
:root {
  --accent: #FFED00;
  --accent-ink: #000;
  --blue: #009FE3;
  --pink: #E50B7E;
  --ink: #141414;
  --body: #2c2c2c;
  --pad-y: clamp(64px, 8vw, 120px);
  --pad-x: clamp(20px, 5vw, 72px);
  --poppins: 'Poppins', sans-serif;
  --mono: 'Inconsolata', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; }
img { max-width: 100%; }

.root {
  font-family: var(--mono);
  color: var(--ink);
  background: #fff;
  position: relative;
  overflow-x: clip; /* geen overflow:hidden: dat breekt de sticky header */
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / nav ---------- */
#topnav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid #000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad-x); }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 36px; display: block; }
#topnav [data-links] { display: flex; gap: 28px; align-items: center; }
#topnav [data-spy] {
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #000; text-decoration: none; padding-bottom: 4px; border-bottom: 3px solid transparent;
}
#topnav [data-spy]:hover, #topnav [data-spy].active { border-bottom-color: var(--accent); }
#topnav [data-burger] {
  display: none; flex-direction: column; gap: 5px; background: #FFED00; border: 2.5px solid #000;
  border-radius: 8px; padding: 9px 10px; cursor: pointer; box-shadow: 2px 2px 0 #000;
}
#topnav [data-burger] span { display: block; width: 22px; height: 3px; background: #000; border-radius: 2px; }
@media (max-width: 900px) {
  #topnav [data-links] {
    position: fixed; top: 67px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 6px;
    background: #fff; border-bottom: 3px solid #000; padding: 18px var(--pad-x) 26px; display: none; z-index: 60;
  }
  #topnav[data-open="true"] [data-links] { display: flex; }
  #topnav [data-burger] { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--poppins); font-weight: 700; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-accent { color: var(--accent-ink); background: var(--accent); border: 3px solid #000; }
.btn-white { color: #000; background: #fff; border: 3px solid #000; }
.btn-black { color: #fff; background: #000; border: 3px solid #000; }
.btn-white-on-black { color: #000; background: #fff; border: 3px solid #fff; }
.btn-nav { font-size: 13px; letter-spacing: 1px; padding: 11px 20px; border-width: 2.5px; box-shadow: 3px 3px 0 #000; }
.btn-lg { font-size: 15px; letter-spacing: .5px; padding: 16px 28px; box-shadow: 5px 5px 0 #000; }
.btn-md { align-self: flex-start; font-size: 14px; letter-spacing: .5px; padding: 14px 26px; box-shadow: 4px 4px 0 #000; }
.btn-black.btn-lg { padding: 17px 32px; box-shadow: 5px 5px 0 #fff; }
.btn-white-on-black.btn-md { box-shadow: 4px 4px 0 var(--accent); }
.btn-submit { font-size: 15px; letter-spacing: .5px; padding: 15px 30px; box-shadow: 4px 4px 0 #000; }

.btn-nav:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 #000; }
.btn-lg:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 #000; }
.btn-black.btn-lg:hover { box-shadow: 3px 3px 0 #fff; }
.btn-md:hover, .btn-submit:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 #000; }
.btn-white-on-black.btn-md:hover { box-shadow: 2px 2px 0 var(--accent); }
.btn-submit:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Shared ---------- */
.section { padding: var(--pad-y) var(--pad-x); background: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-narrow { max-width: 1080px; }
.rel { position: relative; z-index: 2; }
.dots { position: absolute; pointer-events: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: #000; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); display: inline-block; border: 1px solid #000; }
.eyebrow-lg { margin-bottom: 22px; }
.eyebrow-dark { color: #fff; }
.eyebrow-dark::before { border: 0; }
.eyebrow-black { color: var(--accent-ink); }
.eyebrow-black::before { background: #000; border: 0; }

h2 {
  font-family: var(--poppins); font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.02;
  letter-spacing: -1.2px; text-transform: uppercase; margin: 0 0 24px;
}
.h2-spaced { margin-bottom: 40px; }
.mw-18 { max-width: 18ch; } .mw-20 { max-width: 20ch; }
.body { font-size: 17px; line-height: 1.75; color: var(--body); margin: 0 0 18px; }
.body:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 5vw, 64px); }
.split-start { align-items: start; }
.split-center { align-items: center; gap: clamp(36px, 5vw, 56px); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.chip { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; border-radius: 999px; padding: 8px 16px; }
.chip-dark { color: #fff; border: 2px solid #444; }
.chip-accent { color: #000; background: var(--accent); border-color: var(--accent); }
.chips-vrij { gap: 12px; margin-bottom: 36px; }
.chip-white, .chip-inverse { font-size: 14px; padding: 10px 20px; border: 2.5px solid #000; }
.chip-white { background: #fff; color: #000; box-shadow: 3px 3px 0 #000; }
.chip-inverse { background: #000; color: #fff; box-shadow: 3px 3px 0 #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px,7vw,96px) var(--pad-x) clamp(56px,8vw,104px); }
.hero-dots { top: -30px; left: -40px; width: 230px; height: 230px; opacity: .12; }
.hero-grid {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(36px,5vw,72px); align-items: center; position: relative; z-index: 2;
}
h1 {
  font-family: var(--poppins); font-weight: 800; font-size: clamp(42px, 6.4vw, 80px); line-height: .96;
  letter-spacing: -2px; text-transform: uppercase; margin: 0 0 34px;
}
h1 .outline { color: #fff; -webkit-text-stroke: 2.5px #000; white-space: nowrap; }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: var(--body); max-width: 48ch; margin: 0 0 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative; min-height: 380px; border: 3px solid #000; border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: 12px 12px 0 #000;
}
.hero-diagonal { position: absolute; inset: 0; background: var(--accent); clip-path: polygon(36% 0, 100% 0, 100% 100%, 0% 100%); }
.hero-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); width: 52%; max-width: 240px; }
.hero-visual-dots { bottom: -24px; left: -24px; width: 150px; height: 150px; opacity: .16; }
.hero-tag { position: absolute; font-weight: 700; font-size: 12px; text-transform: uppercase; color: #000; }
.hero-tag-tl { top: 18px; left: 20px; letter-spacing: 2px; }
.hero-tag-br { bottom: 18px; right: 20px; letter-spacing: 1.5px; text-align: right; }

/* ---------- Marquee ---------- */
.marquee { background: #000; border-top: 3px solid #000; border-bottom: 3px solid #000; overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; animation: dm-marquee 26s linear infinite; will-change: transform; }
.marquee-set {
  display: flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--poppins);
  font-weight: 800; font-size: 24px; letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.marquee-set i { width: 13px; height: 13px; display: inline-block; transform: rotate(45deg); }
.d-y { background: var(--accent); } .d-b { background: var(--blue); } .d-p { background: var(--pink); }
@keyframes dm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-play-state: paused; }
  html { scroll-behavior: auto; }
}

/* ---------- Over ons ---------- */
.stats { display: grid; gap: 18px; }
.stat { border: 3px solid #000; border-radius: 14px; padding: 24px 26px; background: #fff; box-shadow: 6px 6px 0 #000; color: #000; }
.stat-accent { background: var(--accent); color: var(--accent-ink); }
.stat-black { background: #000; color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.stat-num { font-family: var(--poppins); font-weight: 800; font-size: 46px; line-height: 1; }
.stat-label { font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }

/* ---------- Het gebouw ---------- */
.section-black { background: #000; color: #fff; position: relative; overflow: hidden; }
.gebouw-dots { top: -30px; right: -30px; width: 220px; height: 220px; opacity: .18; filter: invert(1); }
.h2-gebouw { font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: -1.5px; margin-bottom: 22px; }
.body-dark { color: #dcdcdc; margin-bottom: 24px; max-width: 50ch; }
.infoblocks { display: flex; flex-wrap: wrap; gap: 28px; }
.infoblock { display: inline-flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; font-size: 15px; }
.infoblock strong { font-weight: 700; letter-spacing: 1px; color: #fff; }
.infoblock span { color: #bdbdbd; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo {
  aspect-ratio: 1 / 1; border: 3px solid #333; border-radius: 14px; background: #161616; position: relative;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.photo-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-color: var(--accent); }
.photo span { font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #7a7a7a; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Activiteiten ---------- */
.disciplines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.disc {
  border: 3px solid #000; border-radius: 16px; padding: 28px 26px 30px; box-shadow: 7px 7px 0 #000; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.disc-num { font-weight: 700; font-size: 14px; }
.disc h3 { font-family: var(--poppins); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: -.5px; margin: 0 0 8px; }
.disc p { font-size: 15px; line-height: 1.6; margin: 0; }
.disc-yellow { background: #FFED00; color: #000; } .disc-yellow p { color: #1a1a1a; }
.disc-blue { background: var(--blue); color: #fff; } .disc-blue p { color: #f0fbff; }
.disc-pink { background: var(--pink); color: #fff; } .disc-pink p { color: #ffeaf4; }
.disc-black { background: #000; color: #fff; box-shadow: 7px 7px 0 var(--accent); }
.disc-black .disc-num { color: var(--accent); } .disc-black p { color: #cfcfcf; }
.notice {
  margin-top: 40px; border: 3px solid #000; border-radius: 16px; background: #fff; padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; box-shadow: 6px 6px 0 #000;
}
.pill-label {
  font-family: var(--poppins); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); border: 2.5px solid #000; border-radius: 999px; padding: 7px 16px;
}
.notice p { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0; flex: 1; min-width: 240px; text-wrap: pretty; }
.notice strong { font-weight: 700; }

/* ---------- Vrijwilligers ---------- */
.section-accent { background: var(--accent); border-top: 3px solid #000; border-bottom: 3px solid #000; position: relative; overflow: hidden; }
.h2-vrij { font-size: clamp(30px, 4.6vw, 56px); line-height: 1; margin-bottom: 22px; color: var(--accent-ink); max-width: 20ch; }
.vrij-p { font-size: 18px; line-height: 1.7; color: var(--accent-ink); margin: 0 0 14px; max-width: 62ch; font-weight: 500; }
.vrij-sub { font-family: var(--poppins); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; color: var(--accent-ink); margin: 0 0 26px; max-width: 24ch; }

/* ---------- Doe mee ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { border: 3px solid #000; border-radius: 18px; padding: 34px 32px; background: #fff; box-shadow: 8px 8px 0 #000; display: flex; flex-direction: column; }
.card h3 { font-family: var(--poppins); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: -.5px; margin: 0 0 12px; }
.card p { font-size: 16px; line-height: 1.65; color: var(--body); margin: 0 0 26px; flex: 1; }
.card-black { background: #000; color: #fff; box-shadow: 8px 8px 0 var(--accent); }
.card-black h3 { color: #fff; } .card-black p { color: #d8d8d8; }

/* ---------- Contact / footer ---------- */
.footer { background: #000; color: #fff; padding: clamp(64px,8vw,110px) var(--pad-x) 40px; position: relative; overflow: hidden; }
.footer-dots { bottom: -40px; left: -30px; width: 220px; height: 220px; opacity: .14; filter: invert(1); }
.h2-contact { font-size: clamp(32px, 4.6vw, 58px); line-height: 1; margin-bottom: 40px; max-width: 18ch; }
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px,4vw,48px);
  align-items: start; padding-bottom: 48px; border-bottom: 2px solid #2a2a2a;
}
.form { background: #fff; color: #000; border: 3px solid #000; border-radius: 18px; padding: clamp(24px,3vw,36px); box-shadow: 9px 9px 0 var(--accent); }
.form h3 { font-family: var(--poppins); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: -.5px; margin: 0 0 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 16px; }
.form label { display: block; }
.field { margin-bottom: 16px; }
.field-last { margin-bottom: 22px; }
.label { display: block; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #000; margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; font-family: var(--mono); font-size: 15px; padding: 13px 15px; border: 2.5px solid #000;
  border-radius: 9px; background: #fff; color: #111; outline: none;
}
.form textarea { line-height: 1.5; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.form .invalid { border-color: var(--pink); }
.select-wrap { position: relative; display: block; }
.form select {
  font-weight: 700; padding-right: 52px; appearance: none; -webkit-appearance: none; cursor: pointer; box-shadow: 3px 3px 0 #000;
}
.form select:focus { border-color: var(--accent); }
.select-arrow {
  position: absolute; top: 0; right: 0; bottom: 0; width: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); border-left: 2.5px solid #000; border-radius: 0 7px 7px 0; pointer-events: none;
  font-family: var(--poppins); font-weight: 800; font-size: 14px; color: #000;
}
.form-note { font-size: 14px; line-height: 1.5; color: var(--ink); background: #f4f4f4; border: 2px solid #000; border-radius: 9px; padding: 10px 14px; margin: 10px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* captcha */
.captcha {
  display: flex; align-items: center; gap: 12px; border: 2.5px solid #000; border-radius: 9px;
  padding: 12px 14px; margin-bottom: 22px; background: #fff; box-shadow: 3px 3px 0 #000;
}
.captcha-box {
  width: 28px; height: 28px; flex: none; border: 2.5px solid #000; border-radius: 6px; background: #fff;
  cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center;
}
.captcha-tick { font-family: var(--poppins); font-weight: 800; font-size: 16px; color: #000; visibility: hidden; }
.captcha-text { font-weight: 700; font-size: 15px; flex: 1; }
.captcha-brand { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #8a8a8a; }
.captcha[data-state="working"] .captcha-box { border-style: dashed; animation: dm-spin 1s linear infinite; cursor: wait; }
.captcha[data-state="done"] .captcha-box { background: var(--accent); }
.captcha[data-state="done"] .captcha-tick { visibility: visible; }
.captcha[data-state="error"], .captcha.invalid { border-color: var(--pink); }
@keyframes dm-spin { to { transform: rotate(360deg); } }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-hint { font-size: 13px; color: #777; }
.form-status { margin: 16px 0 0; font-size: 15px; line-height: 1.5; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b0005a; }
.form-done { text-align: left; }
.form-done p { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0 0 20px; }

.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px 24px; align-content: start; }
.ci-label { font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.ci-value { font-size: 16px; line-height: 1.6; color: #e6e6e6; text-decoration: none; }
a.ci-value:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.bottombar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; }
.bottom-logo { background: #fff; border-radius: 10px; padding: 9px 14px; display: inline-flex; }
.bottom-logo img { height: 30px; display: block; }
.bottom-text { font-size: 13px; letter-spacing: .5px; color: #8a8a8a; }
