/* Ripieno Basis: the club website and the ledenportaal. Colours, fonts and corners come from the
   house style settings (see the tokens below); a child theme can override anything. */

/* Tokens ---------------------------------------------------------------- */
:root {
    /* Huisstijl: three colours and a font pair come from Vereniging › Website & huisstijl
       (printed inline by inc/style.php). Everything else is derived from them. */
    --t-primary: #14254A;
    --t-accent: #D4A93C;
    --t-bg: #F6F2E9;
    --t-surface: #FFFFFF;
    --t-ink: #1B1E27;
    --t-font-heading: "DM Serif Display", Georgia, serif;
    --t-font-body: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
    --t-heading-weight: 400;
    --t-heading-style: italic;

    --t-primary-deep: color-mix(in srgb, var(--t-primary) 70%, #000);
    --t-primary-soft: color-mix(in srgb, var(--t-primary) 86%, #fff);
    --t-primary-tint: color-mix(in srgb, var(--t-primary) 8%, #fff);
    --t-primary-tint-2: color-mix(in srgb, var(--t-primary) 22%, #fff);
    --t-accent-soft: color-mix(in srgb, var(--t-accent) 62%, #fff);
    --t-accent-text: color-mix(in srgb, var(--t-accent) 52%, #000);
    --t-on-accent: var(--t-primary-deep);
    --t-ink-soft: color-mix(in srgb, var(--t-ink) 82%, var(--t-bg));
    --t-muted: color-mix(in srgb, var(--t-ink) 68%, var(--t-bg));
    --t-line: color-mix(in srgb, var(--t-bg) 86%, var(--t-ink));
    --t-input: color-mix(in srgb, var(--t-bg) 66%, var(--t-ink));
    --t-sand: color-mix(in srgb, var(--t-bg) 84%, var(--t-accent-text));
    --t-on-sand: color-mix(in srgb, var(--t-accent-text) 70%, var(--t-ink));
    --t-disabled: color-mix(in srgb, var(--t-bg) 45%, var(--t-ink));
    --t-on-primary: color-mix(in srgb, #fff 82%, var(--t-primary));
    --t-on-primary-soft: color-mix(in srgb, #fff 76%, var(--t-primary));
    --t-on-primary-muted: color-mix(in srgb, #fff 64%, var(--t-primary));
    --t-shadow: color-mix(in srgb, var(--t-primary-deep) 30%, transparent);

    --t-container: 1240px;
    --t-gutter: 24px;
    --t-radius: 1;
    --t-radius-s: calc(12px * var(--t-radius));
    --t-radius-m: calc(20px * var(--t-radius));
    --t-radius-l: calc(28px * var(--t-radius));
    --t-radius-xl: calc(32px * var(--t-radius));
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--t-font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--t-ink);
    background: var(--t-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--t-primary); }
a:hover { color: var(--t-accent-text); }
:focus-visible { outline: 3px solid var(--t-accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--t-accent); color: var(--t-primary-deep); font-weight: 700;
    padding: 12px 20px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--t-container); margin: 0 auto; padding-left: var(--t-gutter); padding-right: var(--t-gutter); }
.container--narrow { max-width: 820px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section + .section { padding-top: 0; }
.section--tight { padding-top: 0; padding-bottom: 104px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.muted { color: var(--t-muted); }
.muted-dark { color: var(--t-ink-soft); line-height: 1.6; }

.eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--t-accent-text);
}
.eyebrow--muted { color: var(--t-muted); }

.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 40px; }
.section-heading__text { display: flex; flex-direction: column; gap: 10px; }
.section-title {
    font-family: var(--t-font-heading); font-weight: var(--t-heading-weight);
    font-size: clamp(36px, 4.5vw, 52px); line-height: 1.08; color: var(--t-primary);
}
.section-title em { color: var(--t-accent-text); }
.section-title--sm { font-size: clamp(32px, 4vw, 44px); }
.section-title--spaced { margin-bottom: 40px; }
.link-arrow { font-weight: 700; color: var(--t-primary); }
.link-arrow::after { content: " \2192"; }
.single-optreden .link-arrow::after { content: ""; }

/* Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 14px 28px; border-radius: 999px;
    font: 700 16px/1.2 var(--t-font-body); text-decoration: none; text-align: center;
    border: 2px solid transparent; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--accent { background: var(--t-accent); color: var(--t-primary-deep); }
.btn--accent:hover { background: var(--t-accent-soft); color: var(--t-primary-deep); }
.btn--primary { background: var(--t-primary); color: var(--t-surface); }
.btn--primary:hover { background: var(--t-primary-deep); color: var(--t-surface); }
.btn--dark { background: var(--t-primary-deep); color: var(--t-surface); padding: 18px 32px; }
.btn--dark:hover { background: var(--t-primary); color: var(--t-surface); }
.btn--outline-light { border-color: var(--t-surface); color: var(--t-surface); font-weight: 600; }
.btn--outline-light:hover { background: var(--t-surface); color: var(--t-primary); }
.btn--outline-dark { border-color: var(--t-primary-deep); color: var(--t-primary-deep); font-weight: 600; }
.btn--outline-dark:hover { background: var(--t-primary-deep); color: var(--t-surface); }
.btn--outline { border-color: var(--t-primary); color: var(--t-primary); padding: 12px 22px; }
.btn--outline:hover { background: var(--t-primary); color: var(--t-surface); }
.btn--block { width: 100%; min-height: 52px; }
.btn--start { align-self: flex-start; }

/* Header ---------------------------------------------------------------- */
.site-header { background: var(--t-primary-deep); color: var(--t-surface); position: relative; z-index: 10; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--t-surface); }
.brand:hover { color: var(--t-surface); }
.brand__logo { height: 56px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; flex-shrink: 0; display: block; }
.logo--text { display: inline-flex; align-items: center; gap: 10px; max-width: none; color: var(--t-surface); }
.logo--text .logo__mark { width: auto; height: 100%; color: var(--t-accent); flex-shrink: 0; }
.logo__name { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 26px; line-height: 1; color: var(--t-surface); white-space: nowrap; }
h1 em, h2 em, h3 em { font-style: var(--t-heading-style); }
.brand__full { max-width: 170px; font-size: 13px; line-height: 1.3; letter-spacing: 0.04em; color: var(--t-on-primary-soft); overflow-wrap: anywhere; }
@media (max-width: 480px) { .brand__logo { height: 48px; } .brand__full { font-size: 12px; max-width: 150px; } }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav__link { display: inline-block; color: var(--t-surface); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--t-accent); }
.nav__link[aria-current="page"] { color: var(--t-accent); border-bottom-color: var(--t-accent); }
.nav__link.nav__button { background: var(--t-accent); color: var(--t-primary-deep); padding: 12px 22px; border-radius: 999px; font-weight: 700; border: 0; }
.nav__link.nav__button:hover { background: var(--t-accent-soft); color: var(--t-primary-deep); }
.nav__link.nav__button[aria-current="page"] { background: var(--t-surface); color: var(--t-primary-deep); }

.nav-toggle {
    display: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: transparent; color: var(--t-surface); cursor: pointer; position: relative;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; content: "";
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { top: 23px; }
.nav-toggle__bars::before { left: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .js .nav-toggle { display: block; }
    .js .nav { display: none; width: 100%; padding-bottom: 20px; }
    .js .nav.is-open { display: block; }
    .js .nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; }
    .js .nav__list li { border-top: 1px solid var(--t-primary-soft); }
    .js .nav__link { display: block; padding: 14px 0; border-bottom: 0; }
    .js .nav__link[aria-current="page"] { border-bottom: 0; }
    .js .nav__link.nav__button { display: inline-block; margin-top: 16px; padding: 12px 22px; }
    .site-header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .brand { flex: 1 1 0; min-width: 0; }
    .nav-toggle { flex-shrink: 0; }
    .js .nav__list li:last-child { border-top: 0; }
}

/* Hero ------------------------------------------------------------------ */
.hero { overflow: hidden; }
.hero--primary { background: var(--t-primary); color: var(--t-surface); }
.hero--accent { background: var(--t-accent); color: var(--t-primary-deep); }
.hero__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: end; padding-top: 88px; }
.hero__content { display: flex; flex-direction: column; gap: 24px; padding-bottom: 88px; }
.hero--primary .eyebrow { color: var(--t-accent); }
.hero--accent .eyebrow { color: var(--t-primary-deep); }
.hero__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: clamp(44px, 6vw, 80px); line-height: 1.02; }
.hero__title em { color: var(--t-accent); }
.hero--accent .hero__title em { color: var(--t-primary); }
.hero__intro { font-size: 19px; line-height: 1.6; max-width: 560px; }
.hero--primary .hero__intro { color: var(--t-on-primary); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { display: grid; gap: 16px; align-items: end; }
.hero__image { width: 100%; object-fit: cover; }
.hero__image.is-placeholder { background: var(--t-primary-soft); }

.hero--compact .hero__inner { display: block; padding-top: 72px; }
.hero--compact .hero__content { padding-bottom: 64px; max-width: 760px; }
.hero--compact .hero__title { font-size: clamp(44px, 6vw, 72px); }

.hero--arch .hero__image { height: 520px; border-radius: 240px 240px 0 0; }
.hero--duo .hero__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero--duo .hero__image { border-radius: 160px 160px 0 0; height: 300px; }
.hero--duo .hero__image:last-child { height: 420px; }

.hero--framed .hero__inner { align-items: center; padding-bottom: 88px; }
.hero--framed .hero__content { padding-bottom: 0; }
.hero--framed .hero__image { height: 420px; border-radius: var(--t-radius-l); }

@media (max-width: 700px) {
    .hero__inner { padding-top: 56px; gap: 32px; }
    .hero__content { padding-bottom: 0; }
    .hero--compact .hero__content { padding-bottom: 48px; }
    .hero--arch .hero__image { height: 340px; border-radius: 170px 170px 0 0; }
    .hero--duo .hero__image { height: 220px; }
    .hero--duo .hero__image:last-child { height: 300px; }
    .hero--framed .hero__inner { padding-bottom: 56px; }
    .hero--framed .hero__image { height: 300px; }
}

/* Stats ----------------------------------------------------------------- */
.stats { background: var(--t-primary-deep); color: var(--t-surface); border-top: 4px solid var(--t-accent); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stats__item { display: flex; flex-direction: column; gap: 4px; }
.stats__value { font-family: var(--t-font-heading); font-size: 44px; line-height: 1.1; color: var(--t-accent); }
.stats__label { color: var(--t-on-primary-soft); }

/* Grids & cards --------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--duo { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; }
.grid--start { align-items: start; gap: 48px; }

.card { background: var(--t-surface); border-radius: var(--t-radius-m); overflow: hidden; display: flex; flex-direction: column; }
.card__image { width: 100%; height: 200px; object-fit: cover; }
.card__image.is-placeholder {
    display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
    background: var(--t-sand); color: var(--t-on-sand); font-family: var(--t-font-heading); font-size: 22px;
}
.card:nth-child(3n+2) .card__image.is-placeholder { background: var(--t-primary-tint-2); color: var(--t-primary-soft); }
.card:nth-child(3n+3) .card__image.is-placeholder { background: color-mix(in srgb, var(--t-accent) 30%, var(--t-bg)); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.card__meta { font-size: 14px; font-weight: 700; color: var(--t-accent-text); }
.card__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 28px; line-height: 1.15; color: var(--t-primary); }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--t-muted); line-height: 1.55; }
.card__link { font-weight: 600; margin-top: auto; }
.card--linked { position: relative; cursor: pointer; }
.card__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card--linked .card__link { position: relative; z-index: 2; align-self: flex-start; }
.card__stretch:focus-visible { outline: none; }
.card--linked:has(.card__stretch:focus-visible) { outline: 3px solid var(--t-accent); outline-offset: 3px; }
.card--linked:hover .card__title { color: var(--t-accent-text); }
.card__title { transition: color .2s ease; }

.duo-card { border-radius: var(--t-radius-l); padding: 40px; display: flex; flex-direction: column; gap: 20px; min-height: 380px; }
.duo-card--primary { background: var(--t-primary); color: var(--t-surface); }
.duo-card--accent { background: var(--t-accent); color: var(--t-primary-deep); }
.duo-card__image { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.duo-card__image.is-placeholder { display: block; }
.duo-card--primary .duo-card__image.is-placeholder { background: var(--t-primary-soft); color: transparent; }
.duo-card--accent .duo-card__image.is-placeholder { background: var(--t-accent-soft); color: transparent; }
.duo-card__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 36px; line-height: 1.1; }
.duo-card__text { line-height: 1.6; }
.duo-card--primary .duo-card__text { color: var(--t-on-primary); }
.duo-card__link { font-weight: 700; }
.duo-card__link::after { content: " \2192"; }
.duo-card--primary .duo-card__link { color: var(--t-accent); }
.duo-card--primary .duo-card__link:hover { color: var(--t-surface); }
.duo-card--accent .duo-card__link { color: var(--t-primary-deep); }
@media (max-width: 600px) { .duo-card { padding: 28px; min-height: 0; } }

.feature { background: var(--t-surface); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature__icon { color: var(--t-accent-text); }
.feature__number {
    width: 48px; height: 48px; border-radius: 50%; background: var(--t-primary); color: var(--t-accent);
    display: flex; align-items: center; justify-content: center; font-family: var(--t-font-heading); font-size: 24px;
}
.feature__title { font-size: 22px; line-height: 1.3; color: var(--t-primary); }
.feature__text { color: var(--t-ink-soft); line-height: 1.6; }

/* Agenda ---------------------------------------------------------------- */
.agenda { display: flex; flex-direction: column; gap: 32px; padding-top: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
    min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
    font: 600 15px var(--t-font-body); border: 2px solid var(--t-primary);
    background: transparent; color: var(--t-primary);
}
.filter[aria-pressed="true"] { background: var(--t-primary); color: var(--t-surface); }
.agenda__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.agenda__item { background: var(--t-surface); border-radius: var(--t-radius-m); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.agenda__item[hidden] { display: none; }
.date-badge {
    width: 96px; height: 96px; border-radius: 16px; flex-shrink: 0;
    background: var(--t-primary); color: var(--t-surface);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.date-badge__day { font-family: var(--t-font-heading); font-size: 34px; line-height: 1; }
.date-badge__month { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-accent); }
.agenda__body { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.agenda__label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-accent-text); }
.agenda__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 30px; line-height: 1.15; color: var(--t-primary); }
.agenda__where { color: var(--t-muted); }
@media (max-width: 600px) {
    .agenda__item { padding: 20px; gap: 18px; }
    .date-badge { width: 72px; height: 72px; }
    .date-badge__day { font-size: 28px; }
    .agenda__body { flex-basis: 160px; }
}

/* Listen ---------------------------------------------------------------- */
.listen { background: var(--t-primary-deep); color: var(--t-surface); }
.listen .section-title { color: var(--t-surface); }
.listen .section-title em, .listen .eyebrow { color: var(--t-accent); }
.listen__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: start; }
.listen__intro { display: flex; flex-direction: column; gap: 18px; }
.listen__text { color: var(--t-on-primary-soft); font-size: 18px; line-height: 1.6; }
.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.track { display: flex; align-items: center; gap: 18px; background: var(--t-primary); border-radius: 16px; padding: 14px 20px; }
.track__play {
    width: 48px; height: 48px; border-radius: 50%; border: 0; flex-shrink: 0; cursor: pointer;
    background: var(--t-accent); color: var(--t-primary-deep);
    display: flex; align-items: center; justify-content: center;
}
.track__play:hover { background: var(--t-accent-soft); }
.track__icon-pause, .track.is-playing .track__icon-play { display: none; }
.track.is-playing .track__icon-pause { display: block; }
.track__text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.track__title { font-weight: 600; }
.track__sub, .track__time { font-size: 14px; color: var(--t-on-primary-muted); }
.track__time { font-variant-numeric: tabular-nums; }

/* History --------------------------------------------------------------- */
.lead { font-size: 18px; line-height: 1.65; color: var(--t-ink-soft); }
.lead p + p { margin-top: 1em; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--t-line); display: flex; flex-direction: column; }
.timeline__item { padding: 0 0 32px 28px; display: flex; flex-direction: column; gap: 6px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year { font-family: var(--t-font-heading); font-size: 32px; line-height: 1.1; color: var(--t-accent-text); }
.timeline__text { color: var(--t-ink-soft); line-height: 1.55; }

/* Info card (praktisch) ------------------------------------------------- */
.info-card { background: var(--t-surface); border-radius: var(--t-radius-xl); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.info-card__body { padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.info-card__image { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.info-card__image.is-placeholder { background: var(--t-sand); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.facts__item { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-accent-text); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .info-card__body { padding: 28px; } .info-card__image { min-height: 240px; } }

/* FAQ + form ------------------------------------------------------------ */
.faq { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.faq__item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--t-line); padding-bottom: 16px; }
.faq__item:last-child { border-bottom: 0; }
.faq dt { font-weight: 700; color: var(--t-primary); }
.faq dd { margin: 0; color: var(--t-ink-soft); }
.faq dd p + p { margin-top: .6em; }

.form-card { background: var(--t-surface); border-radius: var(--t-radius-l); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.form-card__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 30px; line-height: 1.15; color: var(--t-primary); margin-bottom: 4px; }
.form-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.form-card__hp { position: absolute; left: -9999px; }
.form-card__notice { padding: 14px 18px; border-radius: var(--t-radius-s); font-weight: 600; }
.form-card__notice.is-success { background: #E3EFE3; color: #1E4D25; }
.form-card__notice.is-error { background: #F6E1DC; color: #7A2412; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: auto; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
    width: 100%; border: 1.5px solid var(--t-input); border-radius: var(--t-radius-s);
    font: 16px var(--t-font-body); color: var(--t-ink); background: var(--t-surface);
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--t-accent); outline-offset: 0; border-color: var(--t-primary); }
@media (max-width: 600px) { .form-card { padding: 28px; } .field--half { grid-column: 1 / -1; } }

/* CTA ------------------------------------------------------------------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta__text { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cta__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); line-height: 1.05; }
.cta--accent { background: var(--t-accent); color: var(--t-primary-deep); border-radius: var(--t-radius-xl); padding: 64px 48px; }
.cta--accent .cta__title { font-size: clamp(34px, 4vw, 48px); }
.cta--accent p { font-size: 18px; line-height: 1.6; }
.cta--outline { background: var(--t-surface); border: 2px solid var(--t-accent); border-radius: 24px; padding: 36px; }
.cta--outline .cta__title { font-size: 32px; color: var(--t-primary); }
.cta--outline p { color: var(--t-ink-soft); line-height: 1.6; }
@media (max-width: 600px) { .cta--accent { padding: 40px 28px; } .cta--outline { padding: 28px; } }

/* Sponsors -------------------------------------------------------------- */
.sponsors { border-top: 1px solid var(--t-line); }
.sponsors__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.sponsors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.sponsors__item { width: 160px; height: 64px; display: flex; align-items: center; justify-content: center; }
.sponsors__item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.sponsors__logo { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; }
.sponsors__name { font-weight: 600; color: var(--t-muted); text-align: center; }

/* Prose ----------------------------------------------------------------- */
.prose { font-size: 18px; line-height: 1.7; color: var(--t-ink-soft); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); color: var(--t-primary); line-height: 1.15; margin-top: 1.4em; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 28px; }
.prose > h2:first-child { margin-top: 0; }
.prose__image { border-radius: var(--t-radius-m); margin-bottom: 32px; }

.nav-links { display: flex; gap: 16px; margin-top: 40px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--t-primary-deep); color: var(--t-on-primary-soft); }
.site-footer a { color: var(--t-on-primary-soft); }
.site-footer a:hover { color: var(--t-accent); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__logo { height: 80px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; display: block; margin-bottom: 4px; }
.site-footer__heading { font-weight: 700; color: var(--t-surface); }
.site-footer__menu, .site-footer__legal, .socials { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.socials { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.site-footer__bottom { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--t-primary-soft); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer__legal { flex-direction: row; gap: 16px; }
.site-footer__legal li::before { content: "· "; }

/* Ledenportaal ---------------------------------------------------------- */
.portal-nav { background: var(--t-surface); border-bottom: 1px solid var(--t-line); }
.portal-nav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; min-height: 64px; }
.portal-nav a { color: var(--t-primary); font-weight: 600; text-decoration: none; padding: 18px 0; border-bottom: 3px solid transparent; }
.portal-nav a:hover { color: var(--t-accent-text); }
.portal-nav a[aria-current="page"] { border-bottom-color: var(--t-accent); }
.portal-nav__logout { margin-left: auto; font-weight: 500 !important; color: var(--t-muted) !important; }
@media (max-width: 600px) { .portal-nav__inner { gap: 0 18px; } .portal-nav a { padding: 14px 0; } .portal-nav__logout { margin-left: 0; } }

.grid--portal { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.portal-card {
    background: var(--t-surface); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
    text-decoration: none; color: var(--t-ink); border: 2px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.portal-card:hover { border-color: var(--t-accent); color: var(--t-ink); }
.portal-card .feature__icon { color: var(--t-accent-text); }
.portal-card__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 32px; line-height: 1.1; color: var(--t-primary); }
.portal-card__text { color: var(--t-ink-soft); line-height: 1.6; }
.portal-card__cta { margin-top: auto; font-weight: 700; color: var(--t-primary); }
.portal-card__cta::after { content: " \2192"; }
.portal-latest { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }

.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.news-list__item { background: var(--t-surface); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.news-list__date { font-size: 14px; font-weight: 700; color: var(--t-accent-text); }
.news-list__title { font-family: var(--t-font-heading); font-size: 24px; line-height: 1.2; color: var(--t-primary); text-decoration: none; }
a.news-list__title:hover { text-decoration: underline; }
.news-list__excerpt { color: var(--t-ink-soft); }
.pager { display: flex; gap: 12px; margin-top: 32px; }
.link-back { font-weight: 700; color: var(--t-primary); }

.portal-login { max-width: 520px; display: flex; flex-direction: column; gap: 20px; }
.portal-login__lost { font-size: 15px; align-self: center; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--t-primary); }
.checkbox--card { border: 1.5px solid var(--t-input); border-radius: var(--t-radius-s); padding: 12px 14px; font-size: 16px; min-height: 48px; }
.checkbox--card:has(input:checked) { border-color: var(--t-primary); background: var(--t-primary-tint); }
.dates { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dates legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.dates__hint { color: var(--t-muted); font-size: 15px; }
.dates__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dates__list[hidden] { display: none; }
@media (max-width: 600px) { .dates__list { grid-template-columns: 1fr; } }
.dates + .dates { margin-top: 8px; }
.events-pick { display: flex; flex-direction: column; gap: 10px; }
.people-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 10px; }
.event-pick { align-items: flex-start; }
.event-pick input { margin-top: 2px; flex-shrink: 0; }
.event-pick__text { display: flex; flex-direction: column; gap: 2px; }
.event-pick__text strong { color: var(--t-primary); }
.event-pick__text span { color: var(--t-muted); font-size: 14px; }
.event-pick.is-done { opacity: .6; cursor: default; }
.event-pick__done { font-weight: 600; color: var(--t-primary) !important; }
.news-list__meta { display: block; color: var(--t-muted); font-size: 14px; margin-top: 2px; }

.cal { border: 1.5px solid var(--t-input); border-radius: 20px; padding: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal__month { font-family: var(--t-font-heading); font-size: 24px; color: var(--t-primary); }
.cal__nav {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--t-line);
    background: var(--t-surface); color: var(--t-primary); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cal__nav:hover:not(:disabled) { background: var(--t-primary); color: var(--t-surface); border-color: var(--t-primary); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal__dow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); padding: 6px 0; }
.cal__day {
    aspect-ratio: 1; min-height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font: 500 16px var(--t-font-body); color: var(--t-disabled);
}
.cal__day.is-empty { visibility: hidden; }
.cal__day.is-open {
    border: 2px solid var(--t-primary); background: var(--t-surface); color: var(--t-primary);
    font-weight: 700; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
.cal__day.is-open:hover { background: var(--t-primary-tint); }
.cal__day.is-open[aria-pressed="true"] { background: var(--t-primary); color: var(--t-accent); }
.cal__summary { font-size: 15px; color: var(--t-ink-soft); min-height: 1.6em; }
@media (max-width: 400px) { .cal { padding: 10px; } .cal__grid { gap: 2px; } .cal__day { font-size: 15px; } }

.parts-for { margin-bottom: 20px; color: var(--t-ink-soft); }
.folders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.folder { background: var(--t-surface); border-radius: var(--t-radius-m); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.folder__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--t-primary); color: var(--t-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.folder__text { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.folder__title { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 26px; line-height: 1.15; color: var(--t-primary); }
.folder__note { color: var(--t-muted); font-size: 15px; }

/* Personen (bestuur, dirigent) */
.section-intro { max-width: 680px; color: var(--t-ink-soft); font-size: 18px; margin: -16px 0 40px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.person { background: var(--t-surface); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.person__photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.person__photo--empty { display: flex; align-items: center; justify-content: center; background: var(--t-primary); color: var(--t-accent); font-family: var(--t-font-heading); font-size: 64px; }
.person__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.person__role { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-accent-text); margin: 0; }
.person__name { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 24px; line-height: 1.2; color: var(--t-primary); margin: 0; }
.person__text { color: var(--t-ink-soft); font-size: 15px; margin: 0; }
.person__email { font-size: 15px; font-weight: 600; color: var(--t-primary); word-break: break-all; }

/* Mijn gegevens, smoelenboek en agenda */
.field__hint { font-size: 14px; color: var(--t-muted); margin: 6px 0 0; }
.field input[type="file"] { height: auto; padding: 10px 14px; background: var(--t-surface); }
.consent { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; }
.consent legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.consent .checkbox--card { align-items: flex-start; }
.consent .checkbox--card input { margin-top: 2px; flex-shrink: 0; }
.family-member { border: 0; border-top: 1px solid var(--t-line); margin: 12px 0 0; padding: 24px 0 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.family-member legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--t-font-heading); font-size: 24px; color: var(--t-primary); }
.family-member .form-card__grid { clear: both; }
.consent-check { align-items: flex-start; }
.consent-check input { margin-top: 2px; flex-shrink: 0; }
.profile-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.profile-photo__image { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.people--compact { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.people--compact .person__photo { aspect-ratio: 1; }
.people--compact .person__photo--empty { font-size: 48px; }
.people--compact .person__body { padding: 14px 18px 18px; }
.people--compact .person__name { font-size: 20px; }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--t-ink-soft); }
.steps strong { color: var(--t-primary); }
.link-arrow--button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--t-primary); cursor: pointer; text-decoration: underline; }
input[data-copy] { font-size: 14px; }
.is-copied { color: var(--t-accent-text); font-weight: 600; font-size: 14px; }

/* Fotoalbum en reserveren */
.album { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.album__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.album__item a:focus-visible .album__image { outline: 3px solid var(--t-accent); outline-offset: 2px; }
.prose .form-card { margin-top: 40px; }

.member-times { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--t-primary-soft); color: var(--t-surface); font-weight: 600; }
.member-times__label { background: var(--t-accent); color: var(--t-primary-deep); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Ledenportaal: agenda ------------------------------------------------- */
.member-agenda { padding-bottom: 0; }
.member-agenda__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.member-agenda__legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--t-muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--t-primary); }
.legend--optreden::before { background: var(--t-accent); }
.member-agenda__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
    .member-agenda__grid { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 48px; }
    .member-agenda__cal { position: sticky; top: 100px; }
}
.member-agenda__cal { background: var(--t-surface); }
.member-agenda__month { font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 28px; color: var(--t-primary); margin: 8px 0 14px; }
.member-agenda__month::first-letter { text-transform: uppercase; }
.member-agenda__items { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.agenda-entry { display: flex; gap: 18px; align-items: flex-start; background: var(--t-surface); border-radius: var(--t-radius-m); padding: 18px; scroll-margin-top: 110px; transition: box-shadow .3s ease, transform .3s ease; }
.agenda-entry:focus { outline: none; }
.agenda-entry.is-highlight { box-shadow: 0 0 0 3px var(--t-accent); }
.agenda-entry__date { width: 60px; height: 64px; flex-shrink: 0; border-radius: 14px; background: var(--t-primary); color: var(--t-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.agenda-entry--optreden .agenda-entry__date { background: var(--t-accent); color: var(--t-primary-deep); }
.agenda-entry__dow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.agenda-entry__day { font-family: var(--t-font-heading); font-size: 28px; line-height: 1; }
.agenda-entry__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.agenda-entry__type { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t-accent-text); }
.agenda-entry__title { margin: 0; font-family: var(--t-font-heading); font-weight: var(--t-heading-weight); font-size: 24px; line-height: 1.15; color: var(--t-primary); }
.agenda-entry__title a { color: inherit; text-decoration: none; }
.agenda-entry__title a:hover { text-decoration: underline; }
.agenda-entry__times { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.agenda-entry__time { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--t-primary-tint); color: var(--t-primary); }
.agenda-entry__time dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.agenda-entry__time dd { margin: 0; font-weight: 700; }
.agenda-entry__time.is-present { background: var(--t-primary); color: var(--t-surface); }
.agenda-entry__time.is-present dt { color: var(--t-accent); opacity: 1; }
.agenda-entry__where { color: var(--t-muted); font-size: 15px; }
.cal__day.has-items { position: relative; border: 0; background: var(--t-primary-tint); color: var(--t-primary); font-weight: 700; cursor: pointer; padding: 0; }
.cal__day.has-items:hover { background: var(--t-primary); color: var(--t-surface); }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--t-accent); }
.cal__dots { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; }
.cal__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--t-primary); }
.cal__dots span.is-optreden { background: var(--t-accent); }
.cal__day.has-items:hover .cal__dots span:not(.is-optreden) { background: var(--t-surface); }
@media (max-width: 600px) {
    .agenda-entry { padding: 14px; gap: 14px; }
    .agenda-entry__date { width: 52px; height: 56px; }
    .agenda-entry__title { font-size: 21px; }
}

/* Motion -----------------------------------------------------------------
 * Everything below only runs with html.motion, which header.php sets when JS runs and the
 * visitor did not ask for reduced motion. Without it the site is simply static.
 */
:root { --t-ease: cubic-bezier(.22, 1, .36, 1); --t-ease-bounce: cubic-bezier(.34, 1.56, .64, 1); }

@keyframes t-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes t-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes t-arch { from { clip-path: inset(100% 0 0 0 round 240px 240px 0 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
@keyframes t-crown { 0% { opacity: 0; transform: translateY(18px) scale(.7); } 70% { opacity: 1; transform: translateY(-3px) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes t-staff { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes t-note-drop { 0% { opacity: 0; transform: translateY(-26px); } 60% { opacity: 1; transform: translateY(3px); } 80% { transform: translateY(-2px); } 100% { opacity: 1; transform: none; } }
@keyframes t-note-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-6px) rotate(-6deg); } 70% { transform: translateY(1px); } }
@keyframes t-float { 0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; } 12% { opacity: var(--o, .22); } 88% { opacity: var(--o, .22); } 100% { transform: translate(var(--dx, 40px), -220px) rotate(10deg); opacity: 0; } }
@keyframes t-wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(7deg) scale(1.08); } }
@keyframes t-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--t-accent) 55%, transparent); } 100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--t-accent) 0%, transparent); } }
@keyframes t-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Logo: crown pops up, staff lines draw, notes drop in. Notes hop on hover. */
.logo__crown, .logo__staff path, .logo__note { transform-box: fill-box; }
.motion .logo__crown { transform-origin: 50% 100%; animation: t-crown .8s var(--t-ease) .1s both; }
.motion .logo__staff path { transform-origin: 0 50%; animation: t-staff .7s var(--t-ease) both; }
.motion .logo__staff path:nth-child(1) { animation-delay: .25s; }
.motion .logo__staff path:nth-child(2) { animation-delay: .32s; }
.motion .logo__staff path:nth-child(3) { animation-delay: .39s; }
.motion .logo__staff path:nth-child(4) { animation-delay: .46s; }
.motion .logo__staff path:nth-child(5) { animation-delay: .53s; }
.motion .logo__letters { animation: t-fade .6s ease .2s both; }
.motion .logo__note { animation: t-note-drop .7s var(--t-ease) both; }
.motion .logo__note:nth-child(1) { animation-delay: .75s; }
.motion .logo__note:nth-child(2) { animation-delay: .9s; }
.motion .logo__note:nth-child(3) { animation-delay: 1.05s; }
.motion .site-footer .logo > * { animation: none; }
.motion .brand:hover .logo__note, .motion .brand:focus-visible .logo__note { animation: t-note-hop .6s ease both; }
.motion .brand:hover .logo__note:nth-child(2), .motion .brand:focus-visible .logo__note:nth-child(2) { animation-delay: .08s; }
.motion .brand:hover .logo__note:nth-child(3), .motion .brand:focus-visible .logo__note:nth-child(3) { animation-delay: .16s; }

/* Header: stays on top and gets slimmer once you scroll. */
html.motion { scroll-padding-top: 96px; }
.motion .site-header { position: sticky; top: 0; transition: box-shadow .3s ease; }
.motion .admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .motion .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .motion .admin-bar .site-header { top: 0; } }
.motion .site-header__inner { transition: min-height .3s var(--t-ease); }
.motion .brand__logo { transition: height .3s var(--t-ease); }
.motion .site-header.is-scrolled { box-shadow: 0 10px 30px color-mix(in srgb, var(--t-primary-deep) 45%, transparent); }
.motion .site-header.is-scrolled .site-header__inner { min-height: 68px; padding-top: 6px; padding-bottom: 6px; }
.motion .site-header.is-scrolled .brand__logo { height: 44px; }
@media (max-width: 960px) {
    .motion .nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; animation: t-rise .35s var(--t-ease) both; }
    .motion .nav.is-open li { animation: t-rise .4s var(--t-ease) both; }
    .motion .nav.is-open li:nth-child(2) { animation-delay: .04s; }
    .motion .nav.is-open li:nth-child(3) { animation-delay: .08s; }
    .motion .nav.is-open li:nth-child(4) { animation-delay: .12s; }
    .motion .nav.is-open li:nth-child(5) { animation-delay: .16s; }
    .motion .nav.is-open li:nth-child(6) { animation-delay: .2s; }
    .motion .nav.is-open li:nth-child(n+7) { animation-delay: .24s; }
}

/* Nav: a gold line slides in under the link. */
.motion .nav__link:not(.nav__button) { background: linear-gradient(var(--t-accent), var(--t-accent)) left bottom / 0 2px no-repeat; transition: background-size .3s var(--t-ease), color .15s ease; }
.motion .nav__link:not(.nav__button):hover { background-size: 100% 2px; }

/* Hero: text comes in line by line, images unfold from their arch. */
.hero { position: relative; isolation: isolate; }
.hero__inner { position: relative; z-index: 1; }
.motion .hero__content > * { animation: t-rise .9s var(--t-ease) both; }
.motion .hero__content > :nth-child(1) { animation-delay: .1s; }
.motion .hero__content > :nth-child(2) { animation-delay: .22s; }
.motion .hero__content > :nth-child(3) { animation-delay: .36s; }
.motion .hero__content > :nth-child(4) { animation-delay: .5s; }
.motion .hero__title em { background: linear-gradient(currentColor, currentColor) left 92% / 0 3px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: t-underline .9s var(--t-ease) 1s forwards; }
@keyframes t-underline { to { background-size: 100% 3px; } }
.motion .hero__media { overflow: visible; }
.motion .hero__image { animation: t-arch 1.3s var(--t-ease) .25s both; will-change: transform; }
.motion .hero--duo .hero__image:last-child { animation-delay: .45s; }
.motion .hero__media .hero__image { translate: 0 var(--parallax, 0px); }

/* Hero decoration: faint staff lines and drifting notes (added by main.js). */
.hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__staff { position: absolute; left: -5%; right: -5%; bottom: 14%; height: 64px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); opacity: .12; }
.hero__staff span { height: 1px; background: currentColor; transform-origin: 0 50%; animation: t-staff 1.6s var(--t-ease) both; }
.hero__staff span:nth-child(2) { animation-delay: .1s; }
.hero__staff span:nth-child(3) { animation-delay: .2s; }
.hero__staff span:nth-child(4) { animation-delay: .3s; }
.hero__staff span:nth-child(5) { animation-delay: .4s; }
.hero--primary .hero__staff { color: var(--t-accent); opacity: .22; }
.hero__note { position: absolute; bottom: -40px; width: 28px; color: var(--t-accent); animation: t-float var(--t, 14s) linear var(--d, 0s) infinite both; }
.hero--accent .hero__note { color: var(--t-primary); }

/* Reveal on scroll. main.js adds .reveal and a --i for a small stagger within a group. */
.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--t-ease), transform .8s var(--t-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .reveal--left { transform: translateX(-32px); }
.motion .reveal--zoom { transform: scale(.94); }
.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Section titles: the gold word gets an underline once it is in view. */
.motion .section-title em { background: linear-gradient(currentColor, currentColor) left 92% / 0 2px no-repeat; transition: background-size 1s var(--t-ease) .35s; }
.motion .section-title.is-visible em { background-size: 100% 2px; }

/* Stats: digits roll into place like a counter. */
.odo { display: inline-flex; overflow: hidden; height: 1.1em; vertical-align: top; }
.odo__digit { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.8s var(--t-ease); transition-delay: calc(var(--k, 0) * 120ms + var(--i, 0) * 150ms); }
.odo__strip span { height: 1.1em; line-height: 1.1; }
.is-visible .odo__strip { transform: translateY(calc(var(--n) * -1.1em)); }
.motion .stats { background-image: linear-gradient(90deg, var(--t-accent), var(--t-accent)); background-size: 0 4px; background-position: left top; background-repeat: no-repeat; border-top-color: color-mix(in srgb, var(--t-accent) 25%, transparent); transition: background-size 1.4s var(--t-ease); }
.motion .stats.is-visible { background-size: 100% 4px; }

/* Timeline: the line draws itself, the years pop in with a gold dot. */
.motion .timeline { position: relative; border-left-color: transparent; }
.motion .timeline::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--t-line); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--t-ease); }
.motion .timeline.is-visible::before { transform: scaleY(1); }
.timeline__item { position: relative; }
.motion .timeline__item::before { content: ""; position: absolute; left: -8px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--t-accent); box-shadow: 0 0 0 4px var(--t-bg); transform: scale(0); transition: transform .5s var(--t-ease-bounce) calc(var(--i, 0) * 90ms + .2s); }
.motion .timeline__item.is-visible::before { transform: scale(1); }

/* Hover: cards lift, pictures zoom a little, arrows nudge. */
.motion .card, .motion .feature, .motion .portal-card, .motion .person, .motion .duo-card, .motion .agenda__item, .motion .news-list__item, .motion .folder {
    transition: opacity .8s var(--t-ease), transform .6s var(--t-ease), box-shadow .45s var(--t-ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .card:hover, .motion .feature:hover, .motion .portal-card:hover, .motion .person:hover, .motion .agenda__item:hover {
    transform: translateY(-6px); box-shadow: 0 18px 40px color-mix(in srgb, var(--t-primary) 14%, transparent);
}
.motion .duo-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 46px color-mix(in srgb, var(--t-primary) 20%, transparent); }
.card__image, .person__photo, .duo-card__image, .album__image { transition: transform .8s var(--t-ease); }
.motion .card:hover .card__image, .motion .person:hover .person__photo, .motion .album__item a:hover .album__image { transform: scale(1.06); }
.album__item a { display: block; overflow: hidden; border-radius: 14px; }
.motion .duo-card:hover .duo-card__image { transform: scale(1.03); }
.motion .feature:hover .feature__icon, .motion .portal-card:hover .feature__icon { animation: t-wiggle .6s ease; }
.motion .feature:hover .feature__number { animation: t-wiggle .6s ease; }
.motion .agenda__item:hover .date-badge { transform: rotate(-4deg) scale(1.05); }
.date-badge { transition: transform .4s var(--t-ease-bounce); }

.motion .btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .25s var(--t-ease), box-shadow .25s var(--t-ease); }
.motion .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px color-mix(in srgb, var(--t-primary-deep) 24%, transparent); }
.motion .btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.link-arrow::after, .duo-card__link::after { display: inline-block; transition: transform .25s var(--t-ease); }
.motion .link-arrow:hover::after, .motion .duo-card__link:hover::after { transform: translateX(5px); }

.motion .sponsors__item { transition: opacity .8s var(--t-ease), transform .4s var(--t-ease-bounce), filter .3s ease; filter: grayscale(1); }
.motion .sponsors__item:hover { transform: scale(1.08); filter: none; }
.motion .filter { transition: background-color .2s ease, color .2s ease, transform .2s var(--t-ease); }
.motion .filter:hover { transform: translateY(-2px); }
.motion .agenda__item:not([hidden]) { animation: t-rise .5s var(--t-ease) both; }
.motion .agenda__item.reveal:not(.is-visible) { animation: none; }

/* Audio: the play button pulses and a small equaliser dances while a track plays. */
.motion .track { transition: background-color .3s ease, transform .3s var(--t-ease); }
.motion .track:hover { transform: translateX(4px); }
.track.is-playing { background: var(--t-primary-soft); }
.motion .track.is-playing .track__play { animation: t-pulse 1.4s ease-out infinite; }
.track__eq { display: none; align-items: flex-end; gap: 3px; height: 18px; flex-shrink: 0; }
.track__eq span { width: 3px; height: 100%; background: var(--t-accent); border-radius: 2px; transform-origin: bottom; transform: scaleY(.3); }
.track.is-playing .track__eq { display: flex; }
.motion .track.is-playing .track__eq span { animation: t-eq .9s ease-in-out infinite; }
.motion .track.is-playing .track__eq span:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.motion .track.is-playing .track__eq span:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.motion .track.is-playing .track__eq span:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }

/* Ledenportaal: calendar days spring when you pick them. */
.motion .cal__day.is-open { transition: transform .25s var(--t-ease-bounce), background-color .2s ease, color .2s ease; }
.motion .cal__day.is-open:hover { transform: scale(1.1); }
.motion .cal__day.is-open[aria-pressed="true"] { animation: t-pop .35s var(--t-ease-bounce); }
@keyframes t-pop { 0% { transform: scale(.8); } 100% { transform: scale(1); } }
.motion .form-card__notice { animation: t-rise .6s var(--t-ease) both; }

/* Back to top, appears after scrolling down a while. */
.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--t-accent); color: var(--t-primary-deep); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--t-primary-deep) 32%, transparent); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
    transition: opacity .3s ease, transform .4s var(--t-ease-bounce);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--t-accent-soft); }

@media (prefers-reduced-motion: reduce) {
    .hero__deco, .to-top { display: none; }
}

/* Text logo (no logo uploaded) */
.site-footer .site-footer__logo.logo--text { height: 56px; max-width: none; margin-bottom: 12px; }
.site-footer .site-footer__logo .logo__name { font-size: 28px; }
.brand .brand__logo.logo--text { max-width: none; }
