@font-face {
    font-family: "Museo Slab";
    src: url("fonts/Museo_Slab_500_2.otf") format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Museo Sans";
    src: url("fonts/MuseoSans_500.otf") format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Permanent Marker";
    src: url("fonts/PermanentMarker-Regular.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    --orange: #f59e00;
    --green: #59cd90;
    --navy: #252456;
    --cyan: #1eb5c4;
    --purple: #625599;
    --yellow: #ffd900;
    --paper: #fffaf0;
    --white: #ffffff;
    --ink: #252456;
    --shadow: 0 1.5rem 4rem rgb(12 11 47 / 24%);
    --radius-lg: 2.25rem;
    --radius-md: 1.35rem;
    --shell: min(74rem, calc(100% - 2rem));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 1rem;
}

body {
    margin: 0;
    min-width: 20rem;
    overflow-x: hidden;
    background: var(--navy);
    color: var(--ink);
    font-family: "Museo Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
}

.page-pattern {
    --pattern-parallax-y: 0px;
    position: fixed;
    z-index: -2;
    inset: -2rem;
    background: url("images/design/curly-background.png") center top / cover no-repeat;
    mix-blend-mode: screen;
    opacity: 0.2;
    pointer-events: none;
    transform: translate3d(0, var(--pattern-parallax-y), 0);
    will-change: transform;
}

.parallax-dot {
    --parallax-y: 0px;
    --dot-rotation: 0deg;
    position: absolute;
    z-index: -1;
    display: block;
    aspect-ratio: 1;
    pointer-events: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--parallax-y), 0) rotate(var(--dot-rotation));
    will-change: transform;
}

.parallax-dot--hero {
    --dot-rotation: -12deg;
    top: clamp(13rem, 17vw, 16rem);
    left: max(0rem, calc((100% - 62rem) / 2 - 7rem));
    width: clamp(12rem, 18vw, 18rem);
    background-image: url("images/design/stip-yellow.png");
}

.parallax-dot--purple {
    background-image: url("images/design/stip-purple.png");
}

.parallax-dot--lightblue {
    background-image: url("images/design/stip-lightblue.png");
}

.parallax-dot--green {
    background-image: url("images/design/stip-green.png");
}

.parallax-dot--yellow {
    background-image: url("images/design/stip-yellow.png");
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Museo Slab", Georgia, serif;
    font-weight: 500;
    line-height: 1.08;
}

h1 {
    max-width: 15ch;
    font-size: clamp(2.8rem, 7vw, 5.75rem);
    color: var(--navy);
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
}

p {
    max-width: 68ch;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    transform: translateY(-160%);
}

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

:focus-visible {
    outline: 0.25rem solid var(--cyan);
    outline-offset: 0.25rem;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
}

.hero__panel {
    position: relative;
    width: min(62rem, 100%);
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
    border: 0.12rem solid rgb(255 255 255 / 65%);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.hero__panel::before {
    content: "";
    position: absolute;
    top: -7rem;
    right: -5rem;
    width: 18rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.42;
}

.hero__logo {
    position: relative;
    z-index: 2;
    width: min(34rem, calc(100% - 2rem));
    margin: 0 auto clamp(1rem, 3vw, 2rem);
    padding: clamp(0.65rem, 1.5vw, 1rem) clamp(1rem, 2.5vw, 1.75rem);
}

.hero__copy {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin-inline: auto;
}

.hero__copy > .eyebrow,
.hero__copy > h1 {
    margin-inline: auto;
    text-align: center;
}

.hero__copy > p {
    margin-block: 1rem 0;
}

.hero__lead {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--purple);
    font-family: "Permanent Marker", cursive;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
    justify-content: center;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: 0.13rem solid var(--navy);
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    transition: translate 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    translate: 0 -0.16rem;
    box-shadow: 0 0.5rem 0 var(--navy);
}

.button--primary {
    background: var(--orange);
}

.button--secondary {
    background: var(--white);
}

.section {
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section-heading {
    max-width: 52rem;
    margin-inline: auto;
    color: var(--white);
    text-align: center;
}

.section-heading .eyebrow {
    color: var(--yellow);
}

.section-heading p:last-child {
    margin-inline: auto;
    font-size: 1.1rem;
}

#generaties {
    padding-top:0;
}

.stories {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.story {
    --accent: var(--cyan);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.parallax-dot--story {
    --dot-rotation: 18deg;
    top: -4rem;
    right: -4rem;
    width: 12rem;
}

.story:nth-child(2) > .parallax-dot--story {
    --dot-rotation: -16deg;
    top: 35%;
    right: auto;
    left: -4rem;
}

.story:nth-child(3) > .parallax-dot--story {
    --dot-rotation: 9deg;
    top: auto;
    right: -3rem;
    bottom: -3rem;
}

.story--orange {
    --accent: var(--orange);
}

.story--green {
    --accent: var(--green);
}

.story--reverse .story__media {
    order: 2;
}

.story__media {
    min-width: 0;
}

.video-poster,
.video-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--navy);
}

.video-poster {
    padding: 0;
    color: var(--white);
    cursor: pointer;
}

.video-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(20 18 62 / 75%), transparent 55%);
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: scale 300ms ease;
}

.video-poster:hover img {
    scale: 1.025;
}

.story__media--portrait .video-poster {
    aspect-ratio: 3 / 4;
}

.story__media--portrait .video-poster img {
    object-fit: cover;
    object-position: center;
}

.video-poster__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 4.75rem;
    aspect-ratio: 1;
    place-items: center;
    border: 0.14rem solid var(--navy);
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1;
    translate: -50% -50%;
    box-shadow: 0 0.4rem 0 var(--navy);
}

.video-poster__label {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    font-family: "Museo Slab", Georgia, serif;
    font-size: 1.15rem;
    text-align: center;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback {
    margin: 0.65rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: center;
}

.video-fallback a {
    text-decoration-thickness: 0.1rem;
    text-underline-offset: 0.17rem;
}

.story__content {
    padding: clamp(0.25rem, 2vw, 1rem);
}

.story__content .eyebrow {
    color: var(--accent);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    text-shadow: 0.08rem 0.08rem 0 var(--navy);
}

.story__content h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.story__content > p:not(.eyebrow) {
    margin-block: 1rem 0;
}

.story-quote {
    position: relative;
    margin: 1.4rem 0;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 0.28rem solid var(--accent);
}

.story-quote--right {
    padding-right: clamp(1rem, 2vw, 1.5rem);
    padding-left: 0;
    border-right: 0.28rem solid var(--accent);
    border-left: 0;
    text-align: right;
}

.story-quote p {
    margin: 0;
    font-family: "Permanent Marker", cursive;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.42;
}

.story-quote cite {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.4;
}

.section--profiles {
    position: relative;
    overflow: hidden;
    border-radius: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) 0 0;
    background: var(--paper);
}

.section--profiles > .shell {
    position: relative;
    z-index: 1;
}

.parallax-dot--profiles-top,
.parallax-dot--profiles-bottom {
    z-index: 0;
    width: clamp(13rem, 22vw, 22rem);
    opacity: 0.8;
}

.parallax-dot--profiles-top {
    --dot-rotation: -15deg;
    top: -7rem;
    left: -7rem;
}

.parallax-dot--profiles-bottom {
    --dot-rotation: 18deg;
    right: -8rem;
    bottom: -8rem;
}

.section-heading--dark {
    position: relative;
    z-index: 1;
    color: var(--navy);
}

.section-heading--dark .eyebrow {
    color: var(--purple);
}

.profiles {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.profile-card {
    --card-accent: var(--orange);
    overflow: hidden;
    border: 0.1rem solid rgb(37 36 86 / 14%);
    border-top: 0.65rem solid var(--card-accent);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 1rem 2.7rem rgb(37 36 86 / 12%);
    align-self: start;
}

.profile-card:last-child {
    width: min(100%, 36rem);
    grid-column: 1 / -1;
    justify-self: center;
}

.profile-card--green {
    --card-accent: var(--green);
}

.profile-card--cyan {
    --card-accent: var(--cyan);
}

.profile-card--purple {
    --card-accent: var(--purple);
}

.profile-card--yellow {
    --card-accent: var(--yellow);
}

.profile-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper);
}

.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-card__body {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.profile-card__meta {
    margin: 0 0 0.65rem;
    color: var(--purple);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.profile-card h3 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.profile-card__body > p:not(.profile-card__meta) {
    margin-block: 1rem 0;
}

.marker-quote {
    padding-left: 1rem;
    border-left: 0.35rem solid var(--card-accent);
    font-family: "Permanent Marker", cursive;
    font-size: 1.05rem;
    line-height: 1.5;
}

details {
    margin-top: 1.5rem;
    border-top: 0.1rem solid rgb(37 36 86 / 18%);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
    color: var(--navy);
    cursor: pointer;
    font-family: "Museo Slab", Georgia, serif;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--card-accent);
    font-family: "Museo Sans", Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1;
}

details[open] summary::after {
    content: "−";
}

.qa {
    margin: 0;
}

.qa div {
    padding-block: 0.9rem;
    border-top: 0.08rem solid rgb(37 36 86 / 12%);
}

.qa dt {
    font-family: "Museo Slab", Georgia, serif;
    color: var(--navy);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.4;
}

.qa dd {
    margin: 0.35rem 0 0;
    line-height: 1.6;
}

.closing {
    position: relative;
    padding-block: clamp(5rem, 10vw, 9rem);
    color: var(--white);
    text-align: center;
}

.parallax-dot--closing {
    --dot-rotation: -4deg;
    top: 50%;
    left: 50%;
    width: min(36rem, 88vw);
    opacity: 0.55;
    transform: translate3d(-50%, calc(-50% + var(--parallax-y)), 0) rotate(var(--dot-rotation));
}

.closing__content {
    width: min(42rem, 100%);
    margin-inline: auto;
}

.closing .eyebrow {
    color: var(--yellow);
}

.closing p:not(.eyebrow) {
    margin: 1.2rem auto 2rem;
    font-size: 1.1rem;
}

.footer {
    padding-block: 1rem 2.5rem;
    border-top: 0.08rem solid rgb(255 255 255 / 25%);
    color: var(--white);
    text-align: center;
}

.footer p {
    margin: 0 auto;
    font-size: 0.85rem;
}

.motion-enabled .reveal {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
    transition:
        opacity 520ms ease var(--reveal-delay, 0ms),
        transform 680ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.motion-enabled .reveal--left {
    transform: translate3d(-1.5rem, 0, 0);
}

.motion-enabled .reveal--right {
    transform: translate3d(1.5rem, 0, 0);
}

.motion-enabled .reveal--down {
    transform: translate3d(0, -1rem, 0);
}

.motion-enabled .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.story-quote {
    border-left: 0;
}

.story-quote--right {
    border-right: 0;
}

.story-quote::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0.28rem;
    background: var(--accent);
    transform: scaleY(1);
    transform-origin: top;
}

.story-quote--right::before {
    right: 0;
    left: auto;
}

.motion-enabled .story-quote::before {
    transform: scaleY(0);
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.motion-enabled .story-quote.is-visible::before {
    transform: scaleY(1);
}

.quote-word {
    display: inline-block;
}

.motion-enabled .quote-word {
    opacity: 0;
    transform: translate3d(0, 0.32em, 0) rotate(1deg);
}

.motion-enabled .story-quote.is-visible .quote-word {
    animation: quote-word-in 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(120ms + (var(--word-index) * 38ms));
}

.motion-enabled .story-quote cite {
    opacity: 0;
    transform: translate3d(0, 0.45rem, 0);
    transition: opacity 320ms ease var(--quote-finish, 650ms), transform 420ms ease var(--quote-finish, 650ms);
}

.motion-enabled .story-quote.is-visible cite {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-enabled .video-poster__play.play-intro.is-visible {
    animation: play-intro 680ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

@keyframes quote-word-in {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0);
    }
}

@keyframes play-intro {
    0% {
        opacity: 0;
        scale: 0.72;
    }
    65% {
        opacity: 1;
        scale: 1.08;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}

@media (max-width: 52rem) {
    .parallax-dot--story {
        display: none;
    }

    .hero__logo {
        width: min(27rem, calc(100% - 1rem));
    }

    .story {
        grid-template-columns: 1fr;
    }

    .story--reverse .story__media {
        order: initial;
    }

    .story__media--portrait .video-poster {
        max-height: 38rem;
    }

    .profiles {
        grid-template-columns: 1fr;
    }

    .profile-card:last-child {
        width: 100%;
        grid-column: auto;
    }

    .motion-enabled .reveal--left,
    .motion-enabled .reveal--right {
        transform: translate3d(0, 1.25rem, 0);
    }

    .motion-enabled .reveal--left.is-visible,
    .motion-enabled .reveal--right.is-visible {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 36rem) {
    :root {
        --shell: min(100% - 1rem, 74rem);
        --radius-lg: 1.5rem;
    }

    .hero__panel {
        padding: 1.25rem;
    }

    .hero__nav,
    .button {
        width: 100%;
    }

    .section {
        padding-block: 3.5rem;
    }

    .story {
        padding: 0.75rem;
    }

    .story__content {
        padding: 0.5rem;
    }

    .video-poster__play {
        width: 3.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .quote-word,
    .story-quote cite,
    .story-quote::before,
    .video-poster__play {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
