:root {
  --navy: #132235;
  --navy-soft: #21364c;
  --olive: #6f7130;
  --olive-dark: #555821;
  --coral: #e9826f;
  --coral-dark: #c96250;
  --lavender: #b9a0df;
  --periwinkle: #7f8dde;
  --yellow: #f3cf58;
  --cream: #faf3eb;
  --paper: #fffdf9;
  --mist: #eef2ef;
  --white: #ffffff;
  --ink: #172130;
  --muted: #5d6873;
  --line: #d8ddd8;
  --success: #326b57;
  --warning-bg: #fff7d8;
  --warning-line: #d7b74c;
  --shadow: 0 18px 50px rgba(19, 34, 53, .12);
  --content: 1180px;
  --site-header-height: 110px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  padding-top: var(--site-header-height);
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.concept-strip {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  padding: 7px 20px;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid rgba(19, 34, 53, .12);
  transform: translateY(0);
  transition: transform .32s ease;
}

body.header-hidden:not(.nav-open) .site-header { transform: translateY(calc(-100% + 4px)); }

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo { width: 58px; height: 40px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }

.brand-kicker {
  color: var(--olive-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-name { font-size: 16px; font-weight: 850; }

.site-nav { margin-left: auto; }
.nav-donate-mobile { display: none; }

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

.site-nav > ul > li { position: relative; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  color: #46525c;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--coral);
}

.nav-item-row { position: relative; display: flex; align-items: center; }
.has-submenu .nav-item-row > a { padding-right: 30px; }

.nav-submenu-toggle {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 25px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: var(--navy);
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.nav-submenu-toggle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.is-submenu-open .nav-submenu-toggle::before { transform: translateY(4px) rotate(225deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 5;
  width: max-content;
  min-width: 235px;
  max-width: 290px;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 2px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.is-submenu-open > .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .nav-submenu a {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: #3f4d58;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.site-nav .nav-submenu a:hover,
.site-nav .nav-submenu a:focus-visible { background: var(--mist); color: var(--navy); }

.header-cta { flex: 0 0 auto; }

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 12px;
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(19, 34, 53, .25);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.breadcrumbs {
  min-height: 44px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  width: min(var(--content), calc(100% - 48px));
  min-height: 44px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: #9aa3aa; }
.breadcrumbs a { color: #315773; font-weight: 750; }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 750; }

.page-nav {
  position: sticky;
  top: var(--site-header-height);
  z-index: 32;
  background: rgba(255,253,249,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(19,34,53,.06);
  transform: translateY(0);
  transition: transform .32s ease;
}

body.header-hidden .page-nav { transform: translateY(calc(-1 * var(--site-header-height) + 4px)); }

.page-nav-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.page-nav-label {
  flex: 0 0 auto;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.page-nav-toggle { display: none; }
.page-nav-links { display: flex; align-items: stretch; gap: 2px; min-width: 0; }

.page-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 11px 10px 9px;
  color: #4f5a64;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 730;
  line-height: 1.2;
  text-decoration: none;
}

.page-nav-links a:hover,
.page-nav-links a[aria-current="location"] { color: var(--navy); border-color: var(--coral); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--coral); color: var(--navy); border-color: var(--coral); }
.button--primary:hover { background: #f09784; }
.button--dark { background: var(--navy); color: var(--white); }
.button--ghost { background: rgba(255,255,255,.94); color: var(--navy); border-color: rgba(255,255,255,.94); }
.button--outline { background: transparent; color: var(--navy); border-color: rgba(19, 34, 53, .3); }
.button--small { min-height: 42px; padding: 10px 14px; font-size: 14px; }

.button--disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.button--disabled:hover { transform: none; }

.hero {
  --hero-image: image-set(url("images/muk/export/muk-banner-2400x1000.avif") type("image/avif"), url("images/muk/export/muk-banner-2400x1000.webp") type("image/webp"), url("images/muk/export/muk-banner-2400x1000.jpg") type("image/jpeg"));
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 30, 34, .96) 0%, rgba(13, 30, 34, .86) 45%, rgba(13, 30, 34, .32) 72%, rgba(13, 30, 34, .14) 100%);
}

.hero--subpage { min-height: 470px; background-position: center; }

.hero-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 14px;
  color: #ffd3c8;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1, h2, h3, h4, p { overflow-wrap: anywhere; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero--subpage h1 { font-size: 50px; }

.hero-payoff {
  margin: 15px 0 0;
  color: #ffd3c8;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.35;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-note {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.73);
  font-size: 14px;
}

.trust-band { background: var(--white); border-bottom: 1px solid var(--line); }

.trust-grid {
  width: min(var(--content), calc(100% - 48px));
  min-height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item { padding: 21px 28px; border-left: 1px solid var(--line); }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 18px; }
.trust-item span { color: var(--muted); font-size: 14px; }

.section { padding: 88px 24px; }
.section--compact { padding-top: 58px; padding-bottom: 58px; }
.section--soft { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.86); }
.wrap { width: min(var(--content), 100%); margin: 0 auto; }
.section-head { max-width: 780px; margin-bottom: 40px; }

.section-label {
  margin: 0 0 9px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h2 { margin: 0 0 18px; color: var(--navy); font-size: 39px; line-height: 1.18; letter-spacing: 0; }
h3 { margin: 0 0 11px; color: var(--navy); font-size: 23px; line-height: 1.28; letter-spacing: 0; }
h4 { margin: 0 0 8px; color: var(--navy); font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
p { margin: 0 0 17px; }
.lead-copy { color: var(--muted); font-size: 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.grid-2, .grid-3, .grid-4, .story-grid, .company-grid, .data-grid, .donation-grid, .donation-options, .appointment-grid { display: grid; gap: 22px; }
.grid-2, .story-grid, .company-grid, .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.story-grid { gap: 56px; align-items: center; }

.donation-section { background: var(--mist); }
.donation-grid { grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.donation-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.donation-panel,
.appointment-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 27px;
  box-shadow: 0 9px 26px rgba(19,34,53,.05);
}

.donation-panel .button,
.appointment-panel .button { width: 100%; }

.donation-status { margin: 11px 0 0; text-align: center; }

.donation-limit {
  margin: 19px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.donation-limit strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 16px;
}

.donation-limit a { color: #244f70; font-weight: 750; }

.donation-reference { margin-top: 12px; font-size: 13px; }
.donation-reference a { color: #244f70; }

.donation-details { margin: 19px 0 0; }
.donation-details div { padding: 10px 0; border-top: 1px solid var(--line); }
.donation-details dt { color: var(--muted); font-size: 13px; font-weight: 720; }
.donation-details dd { margin: 2px 0 0; color: var(--navy); font-weight: 820; }

.appointment-grid { grid-template-columns: 1fr 420px; gap: 52px; align-items: center; }
#direct-doneren, #plan-gesprek, #ux111, #waarom-nu, #kinderdementie, #vroeg-behandelen, #nederlandse-route, #wat-is-sanfilippo, #kernfeiten, #impact, #bekendheid { scroll-margin-top: calc(var(--site-header-height) + 82px); }

.childhood-dementia-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 52px;
  align-items: center;
}

.childhood-dementia-panel {
  border-left: 6px solid var(--coral);
  box-shadow: none;
}

.early-treatment-callout {
  margin-top: 44px;
  padding: 29px;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 34px;
  background: rgba(255,255,255,.08);
  border-left: 5px solid var(--coral);
  border-radius: 7px;
}

.section--dark .early-treatment-callout h3 { color: var(--white); }
.early-treatment-callout p:last-child { margin-bottom: 0; }

.access-steps { margin-top: 10px; }
.access-note { margin-top: 24px; }
.access-sources { margin-top: 22px; }
.access-sources .source-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.treatment-milestone {
  margin: -6px 0 38px;
  padding: 23px 27px;
  background: rgba(255,255,255,.1);
  border-left: 5px solid var(--yellow);
  border-radius: 7px;
}

.treatment-milestone strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 21px;
}

.treatment-milestone p { margin: 0; }

.funding-confidence {
  padding: 18px 20px;
  background: rgba(255,255,255,.08);
  border-left: 4px solid var(--yellow);
  border-radius: 5px;
}

.treatment-lead,
.funding-lead { color: rgba(255,255,255,.82); }

.treatment-status,
.funding-panel {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;
  padding: 29px;
}

.section--dark .treatment-status h3,
.section--dark .funding-panel h3,
.section--dark .source-box h3 { color: var(--navy); }

.treatment-status .data-row { grid-template-columns: 145px 1fr; }
.treatment-status .source-box { margin-top: 24px; padding: 20px; }
.treatment-status .source-box h3 { font-size: 18px; }
.treatment-status .source-list { font-size: 14px; }

.funding-number {
  margin: 2px 0 0;
  color: var(--coral-dark);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.05;
}

.funding-panel .check-list { margin-top: 20px; }
.story-links-intro { margin-top: 22px; }
.story-links { margin-top: 14px; }

.card, .fact-card, .gift-option, .company-option, .data-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 27px;
}

.card { box-shadow: 0 9px 26px rgba(19,34,53,.05); }

.card p:last-child, .fact-card p:last-child, .gift-option p:last-child,
.company-option p:last-child, .data-panel p:last-child { margin-bottom: 0; }

.card-accent { width: 44px; height: 6px; margin-bottom: 20px; border-radius: 3px; background: var(--lavender); }
.card:nth-child(2n) .card-accent { background: var(--coral); }
.card:nth-child(3n) .card-accent { background: var(--periwinkle); }
.card:nth-child(4n) .card-accent { background: var(--olive); }

.photo-frame {
  position: relative;
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.photo-frame img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: center; }

.photo-frame--portrait { aspect-ratio: 2 / 3; min-height: 0; }
.photo-frame--portrait img { min-height: 0; object-position: center; }

.photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  background: rgba(19, 34, 53, .88);
  color: var(--white);
  border-radius: 6px;
}

.photo-caption strong, .photo-caption span { display: block; }
.photo-caption span { color: rgba(255,255,255,.72); font-size: 13px; }

.quote {
  margin: 28px 0 0;
  padding: 24px 0 24px 24px;
  border-left: 5px solid var(--lavender);
  color: var(--navy);
  font-size: 22px;
  font-weight: 750;
}

.family-contact-band {
  padding: 64px 24px;
  background: var(--lavender);
  color: var(--navy);
}

.family-contact-inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
}

.family-contact-inner h2 { margin-bottom: 12px; }
.family-contact-inner p { max-width: 820px; }
.family-contact-inner .small { margin-bottom: 0; color: #3c4254; }
#aanmelden { scroll-margin-top: 105px; }

.form-hero { min-height: 380px; }
.form-section { background: var(--mist); }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: start;
}

.form-panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 12px 34px rgba(19,34,53,.07);
}

.form-panel fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.form-panel legend { width: 100%; margin-bottom: 20px; color: var(--navy); font-size: 22px; font-weight: 850; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: grid; align-content: start; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .form-field-label { color: var(--navy); font-size: 14px; font-weight: 780; }
.required-mark { color: var(--coral-dark); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #b9c1c4;
  border-radius: 5px;
}

.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(243,207,88,.52); outline-offset: 1px; }
.field-help { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.choice-group { display: grid; gap: 10px; }

.choice-control {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 14px;
}

.choice-control input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .button { cursor: pointer; }

.form-status {
  margin: 22px 0 0;
  padding: 18px;
  background: var(--warning-bg);
  color: #4e431c;
  border: 1px solid var(--warning-line);
  border-radius: 6px;
}

.form-status[hidden] { display: none; }
.form-status strong { display: block; color: #332b10; }
.form-sidebar { display: grid; gap: 22px; }
.form-sidebar .data-panel { box-shadow: none; }
.form-sidebar .numbered-steps { margin-top: 4px; }
.form-sidebar .step { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; }
.form-sidebar .step-number { width: 32px; height: 32px; font-size: 13px; }
.form-sidebar .step h3 { margin-bottom: 4px; font-size: 17px; }
.form-sidebar .step p { font-size: 14px; }

.amount-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.amount-option { position: relative; cursor: pointer; }
.amount-option input { position: absolute; opacity: 0; pointer-events: none; }

.amount-option span {
  min-height: 48px;
  padding: 9px 7px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid #b9c1c4;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 820;
  text-align: center;
}

.amount-option input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.amount-option input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }

.money-input {
  min-height: 50px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  background: var(--paper);
  border: 1px solid #b9c1c4;
  border-radius: 5px;
  overflow: hidden;
}

.money-input span { display: grid; place-items: center; align-self: stretch; background: var(--mist); color: var(--navy); font-weight: 850; }
.money-input input { min-height: 48px; border: 0; border-radius: 0; }
.money-input:focus-within { border-color: var(--navy); outline: 3px solid rgba(243,207,88,.52); outline-offset: 1px; }
.money-input input:focus { outline: 0; }
.donation-form-note { margin-top: 18px; }
.donation-form-note strong { color: var(--navy); }

.statement-band { padding: 50px 24px; background: var(--olive-dark); color: var(--white); }
.statement-inner { width: min(980px, 100%); margin: 0 auto; text-align: center; }
.statement-inner p { margin: 0; font-size: 25px; font-weight: 760; }

.path-list, .check-list, .source-list, .document-list { margin: 0; padding: 0; list-style: none; }
.path-list li, .check-list li { position: relative; padding: 0 0 13px 26px; }

.path-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.numbered-steps { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 850;
}

.step p { margin: 0; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  margin-bottom: 15px;
  padding: 5px 10px;
  background: var(--cream);
  color: var(--olive-dark);
  border: 1px solid #e4d7c6;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.gift-option--featured { border-top: 5px solid var(--coral); }
.tax-box, .notice, .source-box { border-radius: 7px; padding: 26px; }
.tax-box { background: var(--navy); color: rgba(255,255,255,.84); }
.tax-box h3, .tax-box h4 { color: var(--white); }
.notice { background: var(--warning-bg); border: 1px solid var(--warning-line); color: #4e431c; }
.notice strong { color: #332b10; }
.source-box { background: var(--mist); border: 1px solid var(--line); }
.source-list { display: grid; gap: 10px; }
.source-list a, .document-list a { color: #244f70; font-weight: 700; }
.source-list a:hover, .document-list a:hover { color: var(--coral-dark); }

.data-panel h3 { margin-bottom: 20px; }
.data-list { margin: 0; }

.data-row {
  display: grid;
  grid-template-columns: minmax(145px, .62fr) 1.38fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.data-row:last-child { border-bottom: 0; }
.data-row dt { color: var(--muted); font-weight: 720; }
.data-row dd { margin: 0; color: var(--navy); font-weight: 720; }

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  background: #e7f2ec;
  color: var(--success);
  border: 1px solid #bdd8ca;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 850;
}

.board-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.board-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.board-member:has(.board-member__photo) {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
}
.board-member:last-child { padding-bottom: 0; border-bottom: 0; }
.board-member__name, .board-member__role { display: block; }
.board-member__role { color: var(--muted); font-size: 14px; }
.board-member__photo { width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.board-member__bio { margin: 10px 0 0; }

.document-list { display: grid; gap: 12px; }
.document-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }

.cta-band { padding: 64px 24px; background: var(--lavender); color: var(--navy); }

.cta-inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { max-width: 760px; margin: 0; color: #2f3550; }

.site-footer { padding: 54px 24px 28px; background: #101b29; color: rgba(255,255,255,.72); }

.footer-grid {
  width: min(var(--content), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 38px;
}

.footer-brand { color: var(--white); font-size: 20px; font-weight: 850; }
.footer-grid h3, .footer-grid .footer-heading { color: var(--white); font-size: 15px; }
.footer-grid a { color: rgba(255,255,255,.78); }
.footer-nav { display: grid; gap: 8px; }

.footer-bottom {
  width: min(var(--content), 100%);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .site-nav a { padding-left: 7px; padding-right: 7px; font-size: 13px; }
  .header-cta { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --site-header-height: 101px; }
  .header-inner { width: min(100% - 28px, var(--content)); min-height: 72px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 39;
    display: none;
    min-height: calc(100dvh - var(--site-header-height));
    max-height: calc(100dvh - var(--site-header-height));
    margin: 0;
    padding: 20px;
    background: var(--cream);
    box-shadow: 0 18px 34px rgba(19, 34, 53, .16);
    overflow: auto;
  }

  .site-nav.is-open { display: block; }
  .site-nav > ul { width: min(560px, 100%); margin: 0 auto; display: grid; gap: 4px; }

  .site-nav a {
    width: 100%;
    min-height: 54px;
    padding: 12px 8px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-item-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; }
  .has-submenu .nav-item-row > a { padding-right: 8px; }
  .nav-submenu-toggle {
    position: relative;
    top: auto;
    right: auto;
    width: 48px;
    height: 54px;
    border-bottom: 1px solid var(--line);
    transform: none;
  }
  .nav-submenu-toggle::before { top: 19px; left: 19px; }
  .is-submenu-open .nav-submenu-toggle::before { transform: translateY(5px) rotate(225deg); }
  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 8px 17px;
    display: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .is-submenu-open > .nav-submenu { display: grid; }
  .site-nav .nav-submenu a { min-height: 44px; padding: 9px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; }

  .hero { min-height: 620px; background-position: 58% center; }
  .hero--subpage { min-height: 440px; }
  h1, .hero--subpage h1 { font-size: 42px; }
  .hero-lead { font-size: 18px; }
  h2 { font-size: 32px; }

  .trust-grid { grid-template-columns: 1fr; padding: 14px 0; }
  .trust-item, .trust-item:last-child { border: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }

  .grid-3, .story-grid, .company-grid, .data-grid, .donation-grid, .appointment-grid, .treatment-layout, .funding-layout, .childhood-dementia-grid, .early-treatment-callout { grid-template-columns: 1fr; }
  .donation-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-donate-mobile { display: block; }
  .site-nav .nav-donate-mobile a {
    justify-content: center;
    margin-top: 12px;
    background: var(--coral);
    color: var(--navy);
    border: 1px solid var(--coral);
    border-radius: 7px;
    font-weight: 850;
  }
  .story-grid { gap: 34px; }
  .cta-inner, .family-contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --site-header-height: 123px; }
  body { font-size: 16px; }
  .hero { --hero-image: image-set(url("images/muk/export/muk-banner-mobile-900x1200.avif") type("image/avif"), url("images/muk/export/muk-banner-mobile-900x1200.webp") type("image/webp"), url("images/muk/export/muk-banner-mobile-900x1200.jpg") type("image/jpeg")); background-position: center 28%; }
  .hero::before { background: rgba(13, 30, 34, .72); }
  .hero-note { display: none; }
  .concept-strip { padding-left: 12px; padding-right: 12px; }
  .header-inner { gap: 10px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-logo { width: 46px; height: 32px; }
  .brand-name { font-size: 14px; }
  .menu-toggle { padding: 7px 10px; }
  .hero-inner { width: min(100% - 38px, var(--content)); padding: 62px 0; }
  h1, .hero--subpage h1 { font-size: 38px; }
  .hero-actions, .action-row { display: grid; }
  .hero-actions .button, .action-row .button { width: 100%; }
  .section { padding: 62px 19px; }
  .section--compact { padding-top: 42px; padding-bottom: 42px; }
  .grid-2, .grid-4, .donation-options { grid-template-columns: 1fr; }
  .card, .fact-card, .gift-option, .company-option, .data-panel { padding: 23px; }
  .photo-frame, .photo-frame img { min-height: 430px; }
  .statement-inner p { font-size: 21px; }
  .funding-number { font-size: 36px; }
  .treatment-status, .funding-panel, .early-treatment-callout, .treatment-milestone { padding: 23px; }
  .treatment-status .data-row { grid-template-columns: 1fr; }
  .access-sources .source-list { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .breadcrumbs ol { width: calc(100% - 38px); }
  .form-panel { padding: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .amount-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .page-nav-inner { width: 100%; min-height: 0; display: block; }
  .page-nav-label { display: none; }
  .page-nav-toggle {
    width: 100%;
    height: 58px;
    padding: 10px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--paper);
    color: var(--navy);
    border: 0;
    font-weight: 820;
    text-align: left;
    cursor: pointer;
  }
  .page-nav-toggle::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 500; }
  .page-nav.is-open .page-nav-toggle::after { content: "−"; }
  .page-nav-toggle > span { min-width: 0; }
  .page-nav-current { display: block; max-width: calc(100vw - 112px); overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
  .page-nav-links { display: none; padding: 0 19px 14px; background: var(--paper); }
  .page-nav.is-open .page-nav-links { display: grid; }
  .page-nav-links a { min-height: 48px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .page-nav-links a[aria-current="location"] { border-bottom-color: var(--coral); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .page-nav, .button { transition: none; }
}

#periodieke-gift { scroll-margin-top: calc(var(--site-header-height) + 82px); }

.periodic-gift-block {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.periodic-gift-intro { max-width: 860px; }
.periodic-gift-intro .section-label { color: var(--olive-dark); }
.periodic-gift-intro h3 { font-size: 30px; }
.periodic-gift-layout { margin-top: 28px; align-items: start; }
.periodic-gift-layout h4 { margin-bottom: 14px; }

.periodic-gift-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 24px;
}

.periodic-gift-steps li { padding-left: 5px; }
.periodic-gift-steps li::marker { color: var(--navy); font-weight: 850; }
.periodic-gift-details { box-shadow: none; }
.periodic-gift-disclaimer { margin: 26px 0 0; }

.todo-inline {
  display: block;
  margin-top: 5px;
  color: #4e431c;
  font-weight: 750;
}

.todo-critical {
  display: block;
  padding: 10px 12px;
  background: var(--warning-bg);
  color: #4e431c;
  border: 2px solid var(--warning-line);
  border-radius: 5px;
  font-weight: 850;
}

.donation-periodic-gift { margin: 0 0 28px; padding: 15px 17px; background: var(--cream); border-left: 4px solid var(--olive); }
.donation-periodic-gift strong { display: block; color: var(--navy); }
.donation-periodic-gift a { color: #244f70; font-weight: 750; }

/* technical-finish:start */
.form-panel [hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.required-text { font-size: .86em; font-weight: 650; }
.field-error { margin: 0; color: #8f281d; font-size: 13px; font-weight: 750; }
.form-field [aria-invalid="true"] { border-color: #8f281d; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice--spaced { margin-bottom: 28px; }
.notice--top-spaced { margin-top: 22px; }
.source-box--spaced { margin-top: 22px; }
.subheading-spaced { margin-top: 24px; }
.amount-fieldset.form-field { margin-bottom: 0; }
.amount-fieldset.form-field > legend.form-field-label { margin-bottom: 7px; font-size: 14px; font-weight: 780; }
.form-actions button:disabled { cursor: not-allowed; opacity: .62; transform: none; }
/* technical-finish:end */
