
/* Keyboard accessibility */
.skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border: 2px solid #fff;
    border-radius: 3px;
    background: #111;
    color: #fff !important;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

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

#main-content:focus {
    outline: none;
}

/* ========================================================================
   Wide Open Windows — Homepage
   ======================================================================== */

:root {
    color-scheme: dark;

    --home-background: #233B69;
    --home-text: #f4f2ee;
    --home-muted: rgba(244, 242, 238, .72);
    --home-border: rgba(255, 255, 255, .18);
    --home-panel: rgba(12, 14, 17, .94);
    --panel-width: min(440px, 93vw);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--home-background);
}

body.home-poster {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    background: var(--home-background);
    color: var(--home-text);
}



.home-poster .site-shell {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
}

/*
 * The homepage must remain viewport-wide regardless of a previously docked
 * Rhizome state carried across PJAX navigation.
 */
body.home-poster,
body.home-poster.rhizome-open,
body.home-poster.rhizome-panel-open {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
}

body.home-poster .home-main,
body.home-poster .home-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-right: 0 !important;
}

.home-main {
    flex: 1 1 auto;
    min-height: 0;
}

.home-hero {
    position: relative;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 100px 28px 70px;
}

/* Achtergrondslideshow zonder JavaScript */

.home-slideshow,
.home-slide,
.home-slideshow__veil {
    position: absolute;
    inset: 0;
}

.home-slideshow {
    z-index: 0;
overflow: hidden;
    background: #111820;
}

.home-slide {
    opacity: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.035);
    animation: home-crossfade var(--home-cycle, 178s) infinite;
    animation-delay: var(--slide-delay, 0s);
}

.home-slideshow__veil {
    z-index: 2;
    background:
        linear-gradient(
            to bottom,
            rgba(4, 7, 10, .28),
            rgba(4, 7, 10, .10) 38%,
            rgba(4, 7, 10, .40) 100%
        ),
        radial-gradient(
            circle at 50% 48%,
            rgba(255, 255, 255, .03),
            rgba(0, 0, 0, .20) 74%
        );
}

/*
 * Eight-slide timing.
 * Slide 2 starts after 10 seconds so new visitors quickly notice
 * that the homepage background is a slideshow.
 *
 * Start times:
 * 1:   0s
 * 2:  10s
 * 3:  34s
 * 4:  58s
 * 5:  82s
 * 6: 106s
 * 7: 130s
 * 8: 154s
 *
 * Total cycle: 178s
 */

@keyframes home-crossfade-first {
    0% {
        opacity: 0;
        transform: scale(1.035);
    }

    1%,
    4.5% {
        opacity: 1;
    }

    5.6%,
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes home-crossfade {
    0% {
        opacity: 0;
        transform: scale(1.035);
    }

    1.35%,
    12.1% {
        opacity: 1;
    }

    13.5%,
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Affiche */

.home-poster {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    margin: 0 auto;
    margin-top:-80px;
    text-align: center;
}

.home-poster h2 {
    margin: 0 0 30px;
    color: var(--home-muted);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: clamp(.76rem, 1vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .46);
}

.home-poster h1 {
    max-width: 12ch;
    margin: 0 auto;
    font-family:"Pagella","Palatino Linotype",Palatino,"Book Antiqua","Cormorant Infant",Georgia,serif;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 5px 26px rgba(0, 0, 0, .42);
}

.home-entry {
    display: inline-flex;
    align-items: center;
    gap: .65em;
    margin-top: clamp(42px, 6vh, 72px);
    padding: 12px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    color: var(--home-text);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        border-color 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.home-entry:hover,
.home-entry:focus-visible {
    border-color: #fff;
    opacity: 1;
    outline: none;
    transform: translateY(-2px);
}

.home-entry {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.home-entry::before {
    content: "";
    width: 22px;
    height: 22px;
    background: url("../favicon/favicon.svg") center center / contain no-repeat;
    flex: 0 0 22px;
} 


/* Vaste bedieningsknoppen */

.site-controls {
    position: fixed;
    z-index: 200;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    background: rgba(8, 9, 11, .66);
    backdrop-filter: blur(14px);
    color: var(--home-text);
    cursor: pointer;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.control-button:hover,
.control-button:focus-visible {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .36);
    outline: none;
    transform: translateY(-1px);
}

.control-button__icon {
    font-size: 1.1rem;
    line-height: 1;
}

.home-hint {
    margin-top: 14px;
    color: rgba(255,255,255,.55);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-hint kbd {
    padding: 1px 6px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 3px;
    background: rgba(255,255,255,.05);
    color: inherit;
    font: inherit;
}

/* Rhizome-paneel */

.rhizome-panel {
    position: fixed;
    z-index: 400;
    top: 0;
    right: 0;
    width: var(--panel-width);
    height: 100vh;
    padding: 84px 38px 44px;
    overflow-y: auto;
    background: var(--home-panel);
    border-left: 1px solid var(--home-border);
    backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform 260ms ease;
}

.rhizome-panel.is-open {
    transform: translateX(0);
}

.rhizome-panel__close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--home-border);
    border-radius: 50%;
    background: transparent;
    color: var(--home-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.rhizome-panel__eyebrow {
    margin: 0 0 10px;
    color: var(--home-muted);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rhizome-panel h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
}

.rhizome-panel__description {
    margin: 22px 0 34px;
    color: rgba(244, 242, 238, .72);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.65;
}

.rhizome-group {
    margin-top: 30px;
}

.rhizome-group h3 {
    margin: 0 0 10px;
    color: var(--home-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.rhizome-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhizome-group li + li {
    border-top: 1px solid rgba(255, 255, 255, .075);
}

.rhizome-group a,
.rhizome-group span {
    display: block;
    padding: 8px 0;
    color: var(--home-text);
    text-decoration: none;
}

.rhizome-group a:hover,
.rhizome-group a:focus-visible {
    color: #fff;
    outline: none;
}

.rhizome-backdrop {
    position: fixed;
    z-index: 350;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 260ms ease,
        visibility 260ms ease;
}

.rhizome-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

body.rhizome-panel-open {
    overflow: hidden;
}

/* Footer */

.home-poster .footer {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 10px;
    color: var(--home-text);
    font-size: 1rem;
    line-height: 1.5;
    font-family:Arial,Helvetica,sans-serif;
    background:#020B19!important;
}

.home-poster .footer a {
    color: #ccc !important;
    text-decoration: none;
}

.home-poster .footer a:hover,
.home-poster .footer a:focus-visible {
    color: #fff !important;
}


/* External-link marker restored from the original WOW site. */
.home-poster .footer a[target="_blank"] {
    position: relative;
    padding-right: 24px;
    background-image: url("../images/link.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px 13px;
}

/* Responsive */

@media (max-width: 700px) {
    .home-hero {
        height: 100%;
        min-height: 0;
        padding: 108px 22px 70px;
    }

    .site-controls {
        top: 15px;
        right: 15px;
    }

    .control-button__label {
        display: none;
    }

    .home-poster h2 {
        margin-bottom: 24px;
        font-size: .68rem;
        line-height: 1.7;
        letter-spacing: .22em;
    }

    .home-poster h1 {
        font-size: clamp(3.6rem, 19vw, 6rem);
    }

    .rhizome-panel {
        padding: 78px 25px 38px;
    }

    .home-poster .footer {
    padding: 10px;
    font-size: .9rem;
    text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .home-slide:first-child {
        opacity: 1;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* BWP: slide order comes from Home META; timing is generated by home.php. */
.home-slide--first {
    animation-name: home-crossfade-first;
}


/* --------------------------------------------------
   Reader Aids: homepage Rhizome navigation
-------------------------------------------------- */

.home-poster .rhizome-panel__eyebrow,
.home-poster .rhizome-group h3,
.home-poster .rhizome-group a,
.home-poster .rhizome-group span {
    font-size: calc(1em * var(--wow-reading-scale, 1));
}

.home-poster .rhizome-group a,
.home-poster .rhizome-group span {
    line-height: var(--wow-reading-line-height, 1.55);
    overflow-wrap: anywhere;
}

.home-poster .rhizome-panel h2 {
    font-size: calc(1.8rem * var(--wow-reading-scale, 1));
    line-height: 1.12;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .home-poster .rhizome-group a,
    .home-poster .rhizome-group span {
        min-height: calc(44px * var(--wow-reading-scale, 1));
        height: auto;
    }
}


/* --------------------------------------------------
   8C.14.2m — Homepage Rhizome scale refinement
-------------------------------------------------- */

.home-poster .rhizome-panel__eyebrow,
.home-poster .rhizome-group h3 {
    font-size: calc(.72rem * var(--wow-reading-scale, 1));
}

.home-poster .rhizome-group a,
.home-poster .rhizome-group span {
    font-size: calc(.92rem * var(--wow-reading-scale, 1));
    line-height: var(--wow-reading-line-height, 1.55);
}

.home-poster .rhizome-panel h2 {
    font-size: calc(1.3rem * var(--wow-reading-scale, 1));
}

.home-poster .rhizome-panel__toggle {
    font-size: calc(.82rem * var(--wow-reading-scale, 1));
}

/* RP_WOW_HOME_FORCE_FIRST_SLIDE_VISIBLE_20260902_FIX2C */
.home-slide.home-slide--first {
    opacity: 1 !important;
    animation: none !important;
}

/* RP_WOW_HOME_LAYERING_20260902_FIX3
 * Deterministic stacking test/fix.
 * The image path and image response are already proven good.
 * This removes ambiguity from the stacking context:
 * slideshow layer 1, veil layer 2, poster layer 3.
 */
.home-hero {
    isolation: isolate;
}

.home-hero > .home-slideshow {
    z-index: 1 !important;
    background: transparent !important;
}

.home-hero > .home-slideshow > .home-slide {
    z-index: 1 !important;
}

.home-hero > .home-slideshow > .home-slide.home-slide--first {
    opacity: 1 !important;
    animation: none !important;
}

.home-hero > .home-slideshow > .home-slideshow__veil {
    z-index: 2 !important;
}

.home-hero > .home-poster {
    position: relative;
    z-index: 3 !important;
}
