/* Muziekvereniging Determinato Klundert */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #01244e;
  --navy-deep: #001833;
  --blue: #3b82e0;
  --blue-dark: #1f63bd;
  --blue-soft: #e8f1fc;
  --text: #23292f;
  --muted: #5d6b7a;
  --line: #dfe5ec;
  --tint: #f4f7fb;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(1, 36, 78, .06), 0 8px 24px rgba(1, 36, 78, .08);
  --shadow-lg: 0 2px 4px rgba(1, 36, 78, .06), 0 20px 40px rgba(1, 36, 78, .16);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font: 17px/1.7 var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

p { text-align: justify; text-justify: inter-word; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 1.8em 0 .5em;
}

svg { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -.15em; flex-shrink: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .6em;
}

.display { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0 0 .6em; }

.small { font-size: .9rem; color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
}

.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

/* the logo image has whitespace on the right; show only emblem + name */
.logo { display: block; width: 500px; height: 80px; overflow: hidden; flex-shrink: 0; }
.logo img { width: 800px; max-width: none; height: 80px; mix-blend-mode: multiply; }

.menu-toggle, .menu-button { display: none; }

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav li { position: relative; }

.main-nav > ul > li > a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.main-nav > ul > li > a:not(.btn):hover { background: var(--tint); }
.main-nav > ul > li.active > a:not(.btn) { color: var(--blue-dark); background: var(--blue-soft); }

.main-nav .chev { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.main-nav li:hover .chev { transform: rotate(180deg); }

.main-nav ul ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}

/* hover bridge so the menu doesn't close in the gap */
.main-nav ul ul::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

.main-nav li:hover > ul,
.main-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }

.main-nav ul ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  text-decoration: none;
}

.main-nav ul ul a:hover { background: var(--tint); color: var(--navy); }
.main-nav ul ul a[aria-current] { color: var(--blue-dark); font-weight: 600; background: var(--blue-soft); }

.nav-cta { margin-left: 8px; }

/* ---------- home hero ---------- */

.home-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
}

.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 51, .55) 0%, rgba(0, 24, 51, .35) 45%, rgba(0, 24, 51, .1) 100%),
    linear-gradient(0deg, rgba(0, 24, 51, .65) 0%, rgba(0, 24, 51, 0) 50%);
}

.home-hero h1,
.home-hero .eyebrow { text-shadow: 0 2px 10px rgba(0, 24, 51, .65); }

.home-hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 80px; width: 100%; }
.home-hero .eyebrow { color: #9cc3f5; font-size: 1.3rem; letter-spacing: .1em; }

.home-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 13em;
  margin: 0 0 .4em;
  letter-spacing: -.025em;
}

.lead { font-size: 1.2rem; line-height: 1.55; max-width: 34em; margin: 0; }
.home-hero .lead { color: rgba(255, 255, 255, .88); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 32px 0 0; }

.hero-social { display: flex; align-items: center; gap: 12px; }

/* ---------- stats ---------- */

.stats { background: var(--navy); color: rgba(255, 255, 255, .8); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid > div { padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font: 700 2.2rem/1.1 var(--font-display); color: var(--white); }
.stats span { font-size: .92rem; }

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-tint { background: var(--tint); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head .display { margin: 0; }

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
}

.upcoming {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.upcoming h2 { margin: 0 0 8px; font-size: 1.4rem; }
.upcoming .link-arrow { margin-top: 18px; }

/* ---------- page hero (sub pages) ---------- */

.page-hero {
  position: relative;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center 35%;
  color: var(--white);
  padding: 72px 0 64px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(59, 130, 224, .45), transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(59, 130, 224, .3), transparent 40%),
    var(--navy-deep);
}

.page-hero.has-image { padding: 160px 0 56px; }

.page-hero.has-image::before {
  background: linear-gradient(0deg, rgba(0, 24, 51, .95) 0%, rgba(0, 24, 51, .55) 55%, rgba(0, 24, 51, .25) 100%);
}

.page-hero.has-image.hero-bright::before {
  background: linear-gradient(0deg, rgba(0, 24, 51, .75) 0%, rgba(0, 24, 51, .3) 55%, rgba(0, 24, 51, .1) 100%);
}

.page-hero.has-image.hero-fit { background-size: contain; padding: 110px 0 36px; }

.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; letter-spacing: -.025em; }
.page-hero .lead { color: rgba(255, 255, 255, .85); margin-top: 14px; }

.breadcrumb { font-size: .88rem; margin-bottom: 16px; color: rgba(255, 255, 255, .6); }

.page-cover-image img { display: block; width: 100%; height: auto; }

.breadcrumb.breadcrumb-plain { color: var(--navy-deep, #01244e); margin-top: 24px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb.breadcrumb-plain a { color: var(--navy-deep, #01244e); }
.breadcrumb.breadcrumb-plain a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---------- prose ---------- */

.prose-media { display: flex; gap: 36px; align-items: flex-start; padding: 56px 0 72px; }
.prose-media-img { flex: 0 0 320px; width: 320px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose-media .prose { padding: 0; flex: 1 1 auto; min-width: 0; }

.prose { padding: 56px 0 72px; }
.section .prose { padding: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* link lists */
.prose .link-list { list-style: none; padding: 0; }
.link-list li { padding: 8px 0 8px 32px; position: relative; }
.link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.2 5.3 19.9 12l-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

.gallery-single { grid-template-columns: 1fr; max-width: 640px; }
.gallery-single img { aspect-ratio: 16 / 10; }

/* ---------- cards ---------- */

.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prose + .container .cards, .container > .cards { margin-bottom: 8px; }

.cards a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cards a:hover img { transform: scale(1.06); }

.cards a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 24, 51, .9) 0%, rgba(0, 24, 51, .3) 50%, rgba(0, 24, 51, 0) 75%);
}

.card-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.card-body strong { display: block; font: 700 1.3rem/1.2 var(--font-display); }
.card-body small { display: block; font-size: .92rem; opacity: .85; margin-top: 4px; }

/* ---------- support cards ---------- */

.support { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.support-card {
  display: block;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.support-card:first-child { background: var(--navy); color: rgba(255, 255, 255, .85); }
.support-card:first-child h3 { color: var(--white); }
.support-card:first-child .eyebrow { color: #9cc3f5; }
.support-card:first-child .link-arrow { color: var(--white); }
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.support-card:first-child:hover { color: rgba(255, 255, 255, .85); }
.support-card h3 { font-size: 1.7rem; margin: 0 0 .4em; }
.support-card p { margin: 0 0 1.2em; }

/* ---------- calendar ---------- */

.calendar { margin: 0 0 32px; }

.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.calendar-nav-group { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: center; }

.calendar-today {
  flex: 0 0 auto;
  padding: 0 16px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--blue-dark);
  font: 700 .85rem/1 var(--font-display);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.calendar-today:hover { background: var(--blue-soft); border-color: var(--blue); }

.calendar-title { flex: 1; margin: 0; text-align: center; font: 700 1.25rem/1 var(--font-display); color: var(--navy); text-transform: capitalize; }

.calendar-nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-dark);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.calendar-nav:hover { background: var(--blue-soft); border-color: var(--blue); }
.calendar-nav svg { width: 18px; height: 18px; }

.calendar-weekdays {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid transparent;
  margin-bottom: 6px;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}

.calendar-weekdays .wd-short { display: none; }

.calendar-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.calendar-day {
  min-height: 118px;
  min-width: 0;
  padding: 6px 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-day.is-outside { background: var(--tint); opacity: .5; }
.calendar-day.is-today { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.calendar-day .date-num { font: 700 .9rem/1 var(--font-display); color: var(--navy); }

.calendar-day .day-events { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.event-chip {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 2px 5px;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: .66rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  cursor: pointer;
}

.event-chip.chip-event { background: var(--blue); color: var(--white); font-weight: 600; }
.event-chip.chip-rehearsal { background: var(--tint); color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--line); }
.event-chip:hover, .event-chip:focus-visible { filter: brightness(1.08); outline: none; }

.cal-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cal-modal[hidden] { display: none; }
.cal-modal-backdrop { position: absolute; inset: 0; background: rgba(1, 36, 78, .55); }
.cal-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 50px rgba(1, 36, 78, .3);
}
.cal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.cal-modal-close:hover { background: var(--blue-soft); border-color: var(--blue); }
.cal-modal-kind { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.cal-modal-kind.chip-event { background: var(--blue); color: var(--white); }
.cal-modal-kind.chip-rehearsal { background: var(--tint); color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--line); }
.cal-modal-date { margin: 0 0 6px; color: var(--muted); font-size: .9rem; text-transform: capitalize; }
.cal-modal-title { margin: 0; font: 700 1.2rem/1.35 var(--font-display); color: var(--navy); }

.calendar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 32px; font-size: .8rem; color: var(--muted); }
.legend-chip { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.legend-chip.chip-event { background: var(--blue); }
.legend-chip.chip-rehearsal { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 640px) {
  .calendar-day { min-height: 76px; padding: 4px; gap: 3px; }
  .calendar-day .date-num { font-size: .75rem; }
  .event-chip { font-size: .58rem; padding: 1px 3px; }
  .calendar-title { font-size: 1.05rem; }
  .calendar-nav { width: 34px; height: 34px; }
  .calendar-today { padding: 0 10px; font-size: .75rem; }
  .calendar-weekdays .wd-full { display: none; }
  .calendar-weekdays .wd-short { display: inline; }
}

/* ---------- events ---------- */

.events { list-style: none; padding: 0; margin: 0; }
.prose .events { padding: 0; }

.events li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
  margin: 0;
}

.events li:last-child { border-bottom: 0; }

.events time {
  flex: 0 0 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
}

.events .day { font: 700 1.35rem/1 var(--font-display); }
.events .mon { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; color: var(--blue-dark); }
.events strong { display: block; color: var(--navy); font-weight: 600; }
.events .meta { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { background: var(--tint); color: var(--navy); font-weight: 600; }

/* ---------- sponsors ---------- */

.sponsors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.sponsors a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
}

.sponsors a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sponsors img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-bottom: 24px; }

.contact-card {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  border-radius: var(--radius);
  padding: 32px;
  align-self: start;
}

.contact-card h2 { color: var(--white); font-size: 1.3rem; margin: 0 0 .8em; }
.contact-card a { color: var(--white); }

.contact-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; color: var(--navy); }

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 224, .18);
}

/* ---------- friend-form ---------- */

.friend-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 8px;
  margin: 0 0 24px;
}

.friend-form legend {
  padding: 0 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}

.friend-form .optional {
  font-weight: 400;
  color: var(--muted);
}

.friend-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.friend-form .radio-option,
.friend-form .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text);
}

.friend-form .radio-option input,
.friend-form .checkbox-option input {
  width: auto;
  margin-top: 4px;
  flex: none;
}

.friend-form .conditional-field {
  margin-left: 0;
  padding: 16px;
  background: var(--tint);
  border-radius: var(--radius-sm);
}

.friend-form .incasso-fields {
  display: block;
  margin-top: 4px;
  margin-bottom: 20px;
}

.friend-form .sepa-tekst { margin-top: 0; }

@media (max-width: 640px) {
  .friend-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- sponsor-form ---------- */

.sponsor-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 8px;
  margin: 0 0 24px;
}

.sponsor-form legend {
  padding: 0 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}

.sponsor-form .legend-hint {
  display: block;
  font-weight: 400;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

.sponsor-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.sponsor-form .optional {
  font-weight: 400;
  color: var(--muted);
}

.sponsor-form .conditional-field {
  margin: 0 0 20px;
  padding: 16px;
  background: var(--tint);
  border-radius: var(--radius-sm);
}

.pakket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.pakket-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 44px 20px 20px;
  background: var(--white);
  font-weight: 400;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.pakket-card:hover { border-color: var(--blue); }

.pakket-card:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px var(--blue);
}

.pakket-card input {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.pakket-naam {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  margin: 0 0 .2em;
}

.pakket-prijs {
  display: block;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 1.15rem;
  margin: 0 0 .6em;
}

.pakket-lijst {
  display: block;
  margin: 0;
  padding-left: 1.1em;
  font-size: .9rem;
  color: var(--muted);
}

.pakket-punt { display: block; position: relative; margin: .2em 0; }
.pakket-punt::before { content: "\2022"; color: var(--blue); position: absolute; left: -1.1em; }

.pakket-card .pakket-tekst {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .sponsor-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .18), transparent 40%),
    linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-band h2 { color: var(--white); font-size: 2rem; margin: 0 0 .3em; }
.cta-band p { margin: 0; max-width: 36em; color: rgba(255, 255, 255, .9); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); font-size: .95rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 16px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { margin: 0 0 1em; }

.footer-name { font: 700 1.5rem/1.15 var(--font-display); color: var(--white); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  transition: background .2s;
}

.footer-social a:hover { background: var(--blue); text-decoration: none; }
.footer-social svg { width: 20px; height: 20px; }

.copyright {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  padding-bottom: 20px;
}

.copyright p { margin: 0; }

/* ---------- social feeds ---------- */

.social-feeds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.social-feed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-feed-head { display: flex; align-items: center; gap: 14px; }

.social-feed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  flex-shrink: 0;
}

.social-feed-icon svg { width: 22px; height: 22px; }
.social-feed-head h3 { margin: 0; font-size: 1.15rem; }
.social-feed-head p { margin: 4px 0 0; }

.social-feed-consent, .social-feed-soon {
  background: var(--tint);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.social-feed-consent p, .social-feed-soon p { margin: 0 0 14px; }
.social-feed-soon p:last-child { margin-bottom: 0; }
.social-feed-consent .btn { width: 100%; justify-content: center; }

.social-feed-embed { border-radius: var(--radius-sm); overflow: hidden; }
.social-feed-embed[hidden] { display: none; }
.social-feed-embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }

.social-feed-card .link-arrow { margin-top: auto; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .home-grid { grid-template-columns: 1fr; gap: 48px; }
  .upcoming { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; min-height: 80px; }
  .logo { width: 375px; height: 60px; }
  .logo img { width: 600px; height: 60px; }

  .menu-button {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
  }

  .menu-button span,
  .menu-button span::before,
  .menu-button span::after {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    content: "";
    transition: transform .2s, opacity .2s;
  }

  .menu-button span { top: 21px; }
  .menu-button span::before { left: 0; top: -7px; }
  .menu-button span::after { left: 0; top: 7px; }

  .menu-toggle:checked + .menu-button span { background: transparent; }
  .menu-toggle:checked + .menu-button span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { display: none; width: 100%; padding: 4px 0 20px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .menu-toggle:checked ~ .main-nav { display: block; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a:not(.btn) { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 1.05rem; }
  .main-nav .chev { display: none; }

  .main-nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 14px;
    min-width: 0;
  }

  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }

  .home-hero { min-height: 560px; }
  .home-hero::after { background: linear-gradient(0deg, rgba(0, 24, 51, .95) 0%, rgba(0, 24, 51, .6) 60%, rgba(0, 24, 51, .3) 100%); }
  .home-hero-inner { padding-bottom: 48px; }
  .lead { font-size: 1.08rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats-grid > div:nth-child(-n+2) { border-top: 0; }
  .stats-grid > div:nth-child(odd) { padding-left: 0; }
  .stats strong { font-size: 1.8rem; }

  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .page-hero { padding: 48px 0 40px; }
  .page-hero.has-image { padding: 120px 0 36px; }
  .page-hero.has-image.hero-fit { padding: 70px 0 24px; }
  .prose { padding: 36px 0 48px; }

  .prose-media { flex-direction: column; padding: 36px 0 48px; }
  .prose-media-img { flex-basis: auto; width: 240px; }

  .cards, .support, .contact-grid, .social-feeds { grid-template-columns: 1fr; }
  .support-card { padding: 28px; }
  .contact-grid { gap: 28px; }

  .cta-inner { flex-direction: column; align-items: flex-start; padding-top: 44px; padding-bottom: 44px; }
  .cta-band h2 { font-size: 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
}
