/*
 * Presentation at /presentatie — stylesheet, in the boeq house style (DESIGN.md).
 * White paper and a marine stage, marine for reading, one sans at 500 at most, DM Mono only for
 * amounts, dates and status pills. On paper, coral marks only a question to a person; the closing
 * slide is the deck's one koraal campaign band.
 * Works with the pitch deck's engine (resources/pitch/assets/deck.js), so the stage, reveal,
 * overview and presenter rules mirror deck.css. Sizes are for a 1600×900 canvas seen across a room.
 */

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/fonts/dm-sans-variable-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/fonts/dm-sans-variable-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-mono-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --koraal: #ff6b57;
    --koraal-diep: #c8442f;
    --koraal-ink: #b03a27;
    --koraal-tint: #fff1ee;
    --marine: #142a4a;
    --marine-tint: #eef1f6;
    --staal: #45536e;
    --lei: #56617c;
    --mist: #66728c;
    --lijn: #e5e7ee;
    --papier: #ffffff;
    --akkoord: #0f8a63;
    --akkoord-ink: #0b7052;
    --akkoord-tint: #e8f5f0;

    --font-sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --shadow-card: 0 1px 2px rgb(20 42 74 / 0.06), 0 8px 24px rgb(20 42 74 / 0.08);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    --canvas-w: 1600px;
    --canvas-h: 900px;
}

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

html,
body {
    margin: 0;
    height: 100%;
    background: var(--marine);
    color: var(--marine);
    font-family: var(--font-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

b,
strong {
    font-weight: 500;
}

em {
    font-style: normal;
}

::selection {
    background: var(--koraal);
    color: var(--marine);
}

.sprite {
    position: absolute;
}

.i {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

.lockup {
    display: block;
    flex: none;
    height: var(--lockup-h, 30px);
    width: calc(var(--lockup-h, 30px) * 140 / 48);
    overflow: visible;
    color: var(--marine);
}

.is-dark .lockup {
    color: var(--papier);
}

/* ---------------------------------------------------------------- Stage -- */

.viewport {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: calc(var(--canvas-h) / -2) 0 0 calc(var(--canvas-w) / -2);
    width: var(--canvas-w);
    height: var(--canvas-h);
    transform-origin: center center;
    perspective: 2600px;
    perspective-origin: 20% 50%;
}

/* Edge to edge on a projector; a window with other proportions letterboxes in marine. */
.slide {
    position: absolute;
    inset: 0;
    background: var(--papier);
    color: var(--marine);
    padding: 64px 96px 96px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: left center;
    backface-visibility: hidden;
    visibility: hidden;
    z-index: 1;
}

.slide.is-active,
.slide.is-turning,
.slide.is-under {
    visibility: visible;
}

.slide.is-active {
    z-index: 3;
}

.slide.is-under {
    z-index: 2;
}

.slide.is-turning {
    z-index: 4;
}

.slide .shade {
    position: absolute;
    inset: 0;
    background: var(--marine);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
}

.slide.is-tint {
    background: var(--marine-tint);
}

.slide.is-dark {
    background: var(--marine);
    color: var(--papier);
}

.slide.stage {
    background-image:
        radial-gradient(960px 480px at 85% 10%, rgb(255 255 255 / 0.06), transparent 60%),
        linear-gradient(to bottom, transparent, rgb(0 0 0 / 0.12));
}

.slide.is-koraal {
    --lockup-mark: #ffffff;
    background: var(--koraal-diep);
}

/* ---------------------------------------------------------------- Chrome -- */

.chrome {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.chrome__brand {
    position: absolute;
    left: 96px;
    bottom: 30px;
    transition: opacity 300ms var(--ease-out-expo);
}

.chrome__brand .lockup {
    transition: color 300ms var(--ease-out-expo);
}

.chrome.on-dark .chrome__brand .lockup {
    color: var(--papier);
}

.chrome.is-hidden .chrome__brand {
    opacity: 0;
}

.chrome__meta {
    position: absolute;
    right: 96px;
    bottom: 34px;
    display: flex;
    gap: 20px;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--mist);
    transition: color 300ms var(--ease-out-expo);
}

.chrome__count b {
    color: var(--marine);
    font-weight: 500;
    transition: color 300ms var(--ease-out-expo);
}

.chrome.on-dark .chrome__meta {
    color: rgb(255 255 255 / 0.72);
}

.chrome.on-dark .chrome__count b {
    color: var(--papier);
}

.progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgb(20 42 74 / 0.08);
    overflow: hidden;
    z-index: 10;
}

.chrome.on-dark + .progress {
    background: rgb(255 255 255 / 0.12);
}

.progress__bar {
    height: 100%;
    width: 100%;
    background: var(--koraal);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 700ms var(--ease-out-expo);
}

.canvas:has(.slide.is-koraal.is-active) .progress__bar {
    background: var(--papier);
}

.hint {
    position: fixed;
    right: 24px;
    top: 18px;
    font-size: 13px;
    color: rgb(255 255 255 / 0.72);
    z-index: 20;
    transition: opacity 600ms ease;
}

.hint kbd {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    font-family: inherit;
    padding: 0 6px;
    border: 1px solid rgb(255 255 255 / 0.24);
    border-radius: 6px;
    margin: 0 2px;
}

.hint.is-gone {
    opacity: 0;
}

/* Dutch only: the engine expects a language switch, this deck does not show one. */
.lang-switch {
    display: none !important;
}

/* ------------------------------------------------------------ Typography -- */

.label {
    font-size: 20px;
    line-height: 1.3;
    color: var(--mist);
}

.is-tint .label {
    color: var(--lei);
}

.is-dark .label,
.panel-marine .label {
    color: rgb(255 255 255 / 0.72);
}

.display {
    font-size: 96px;
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 500;
    text-wrap: balance;
}

.title {
    font-size: 64px;
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 500;
    max-width: 1320px;
    text-wrap: balance;
    color: var(--lei);
}

.title .key {
    color: var(--marine);
}

.is-dark .title {
    color: var(--papier);
}

.accent {
    color: var(--koraal);
}

.lead {
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: rgb(255 255 255 / 0.75);
    max-width: 680px;
    text-wrap: pretty;
}

.body {
    font-size: 26px;
    line-height: 1.4;
    color: var(--lei);
}

.amount {
    font-family: var(--font-mono);
    font-size: 0.92em;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.source {
    margin-top: auto;
    font-size: 16px;
    line-height: 1.5;
    color: var(--mist);
    padding-right: 240px;
    position: absolute;
    left: 96px;
    bottom: 72px;
}

/* ------------------------------------------------------------ Components -- */

.card {
    background: var(--papier);
    border: 1px solid var(--lijn);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 28px;
}

.accent-line {
    box-shadow: inset 3px 0 0 var(--koraal), var(--shadow-card);
}

.panel-tint {
    background: var(--marine-tint);
    border-radius: 16px;
}

.panel-marine {
    background: var(--marine);
    color: var(--papier);
    border-radius: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 13px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 17px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pill--done {
    background: var(--akkoord-tint);
    color: var(--akkoord-ink);
}

.pill--ask {
    background: var(--koraal-tint);
    color: var(--koraal-ink);
}

.pill--info {
    background: var(--marine-tint);
    color: var(--marine);
}

.is-dark .pill--done {
    background: rgb(15 138 99 / 0.22);
    color: #7fd6b5;
}

.is-dark .pill--ask {
    background: rgb(255 107 87 / 0.18);
    color: #ffb4a9;
}

.chip {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--lijn);
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--marine);
}

/* A shape-for-shape result line: green, because this one is done. */
.p-result {
    margin-top: auto;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    border-radius: 12px;
    background: var(--akkoord-tint);
    color: var(--akkoord-ink);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.p-result .i {
    font-size: 30px;
}

.p-result--start {
    align-self: flex-start;
}

/* --------------------------------------------------------------- Reveals -- */

[data-reveal] {
    --i: 0;
    --reveal-delay: calc(360ms + var(--i) * 110ms);
    transition:
        opacity 700ms var(--ease-out-expo) var(--reveal-delay),
        transform 900ms var(--ease-out-expo) var(--reveal-delay);
}

.slide:not(.is-revealed) [data-reveal='up'] {
    opacity: 0;
    transform: translateY(28px);
}

.slide:not(.is-revealed) [data-reveal='fade'] {
    opacity: 0;
}

.slide:not(.is-revealed) [data-reveal='left'] {
    opacity: 0;
    transform: translateX(-36px);
}

.slide:not(.is-revealed) [data-reveal='right'] {
    opacity: 0;
    transform: translateX(36px);
}

/* A [data-step] element waits for the next key press (see deck.js). */
[data-step] {
    transition: opacity 600ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}

.slide [data-step]:not(.is-step-shown) {
    opacity: 0;
    transform: translateY(24px);
}

/* The "today" side of a comparison steps back once the slide has settled. */
.dims .p-model__big {
    transition: color 900ms var(--ease-out-expo) 1900ms;
}

.slide.is-revealed .dims .p-model__big {
    color: var(--lei);
}

/* ------------------------------------------------------- Slide: the title -- */

.s-cover {
    padding: 64px 96px 72px;
    flex-direction: row;
    gap: 64px;
}

.s-cover .accent {
    white-space: nowrap;
}

.s-cover__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.s-cover__logo {
    --lockup-h: 56px;
    margin-bottom: auto;
}

.s-cover .lead {
    margin-top: 36px;
}

.s-cover__meta {
    margin-top: auto;
    font-size: 22px;
    color: rgb(255 255 255 / 0.72);
}

.s-cover__side {
    flex: none;
    width: 444px;
    display: grid;
    place-items: center;
}

/* A crowd of people, a few of them found one by one. Each ring has the proportions of the q's bowl. */
.p-crowd {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    width: 100%;
}

.p-crowd i {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 10px solid rgb(255 255 255 / 0.12);
    transition: border-color 900ms var(--ease-out-expo);
    transition-delay: var(--d, 0ms);
}

.slide.is-revealed .p-crowd i.is-found {
    border-color: var(--koraal);
}

/* ------------------------------------------------------- Slide: who I am -- */

.s-intro {
    padding: 0;
    flex-direction: row;
}

.s-intro__photo {
    flex: none;
    width: 560px;
    background: var(--marine-tint);
}

.s-intro__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.s-intro__main {
    flex: 1;
    min-width: 0;
    padding: 72px 96px 96px 80px;
    display: flex;
    flex-direction: column;
}

.p-keyfacts {
    margin-top: 56px;
    border-top: 1px solid var(--lijn);
}

.p-keyfacts > div {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: baseline;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--lijn);
}

.p-keyfacts dt {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.p-keyfacts dd {
    font-size: 24px;
    color: var(--lei);
}

/* The route: three stops on a line. */
.p-route {
    position: relative;
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 36px;
}

.p-route::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 2px;
    background: var(--lijn);
}

.p-route li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-route li::before {
    content: '';
    position: absolute;
    left: 0;
    top: -36px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--marine);
}

.p-route li.is-now::before {
    background: var(--koraal);
}

.p-route__year {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    color: var(--mist);
}

.p-route__place {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
}

/* ------------------------------------------------------ Shared: big stats -- */

.p-bigstat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-bigstat__value {
    font-size: 216px;
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.p-bigstat__label {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--lei);
    max-width: 560px;
}

/* ------------------------------------------------------ Slide: personeel -- */

.p-split {
    flex: 1;
    min-height: 0;
    margin: 36px 0 20px;
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 72px;
}

.p-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.p-stats .p-bigstat__value {
    font-size: 132px;
}

.p-stats .p-bigstat__label {
    font-size: 25px;
}

.p-team {
    flex: 1;
    padding: 28px 32px;
}

/* The consequences of the shortage: one series, so one hue and no legend; every value is labelled
   because a projected slide has no hover. Bars are drawn to scale against the largest value, 57. */
.p-effects {
    margin: 0;
}

.p-effects__title {
    padding-bottom: 14px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.p-effects li {
    display: grid;
    grid-template-columns: 1fr 214px 66px;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    border-top: 1px solid var(--lijn);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--staal);
}

.p-effects .amount {
    font-size: 21px;
    text-align: right;
    color: var(--marine);
}

.p-effects__track {
    display: block;
    height: 20px;
    border-left: 1px solid var(--mist);
}

.p-effects__track i {
    display: block;
    height: 100%;
    width: calc(var(--v) / 57 * 100%);
    border-radius: 0 4px 4px 0;
    background: var(--marine);
    transform-origin: left center;
    transition: transform 900ms var(--ease-out-expo) calc(800ms + var(--n) * 60ms);
}

.slide:not(.is-revealed) .p-effects__track i {
    transform: scaleX(0);
}

.p-team__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.p-team__dots i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 6px solid var(--marine);
}

.p-team__dots i.is-open {
    border-color: var(--koraal);
}

/* ------------------------------------------------------- Slide: de markt -- */

.p-market {
    flex: 1;
    min-height: 0;
    margin: 36px 0 20px;
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 64px;
}

.p-market__lead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 40px;
}

.p-market__fact + .p-market__fact {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid rgb(255 255 255 / 0.14);
}

.p-market__big {
    display: block;
    font-size: 96px;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.p-market__fact p {
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: rgb(255 255 255 / 0.8);
    text-wrap: pretty;
}

.p-market__rows {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--lijn);
}

.p-market__rows li {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--lijn);
}

.p-market__rows p {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--lei);
    text-wrap: pretty;
}

.p-market__rows .key {
    color: var(--marine);
}

/* ------------------------------------------------------------- Slide: AI -- */

.p-experiments {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.p-experiments__rows {
    border-top: 1px solid var(--lijn);
}

.p-experiments__rows li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 0;
    border-bottom: 1px solid var(--lijn);
}

.p-pipe {
    display: flex;
    align-items: center;
    gap: 16px;
}

.p-pipe__arrow {
    font-size: 26px;
    color: var(--mist);
}

.p-experiment__wow {
    display: flex;
    align-items: center;
    padding: 40px 48px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 500;
    text-wrap: balance;
}

.p-duo {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.p-duo__person {
    display: flex;
    align-items: center;
    gap: 18px;
}

.p-duo__person img {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 8%;
    background: var(--marine-tint);
}

.p-duo__person p {
    font-size: 40px;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.p-duo__sign {
    font-size: 44px;
    color: var(--mist);
}

.p-duo__result {
    --lockup-h: 84px;
}

/* -------------------------------------------------- Slide: two solutions -- */

.p-pair {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    align-items: center;
}

.p-pair__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px 44px;
}

.p-pair__tile {
    display: block;
    width: 128px;
    height: 128px;
    border-radius: 34px;
    margin-bottom: 16px;
}

.p-pair__tile--icon {
    display: grid;
    place-items: center;
    background: var(--marine-tint);
    color: var(--marine);
    font-size: 68px;
}

.p-pair__name {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.p-pair__link svg {
    display: block;
    width: 100%;
}

/* ------------------------------------------------------- Slide: the pain -- */

.p-process {
    margin: auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.p-process li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 300px;
    padding: 28px 16px 24px 20px;
    border-top: 3px solid var(--lijn);
    border-left: 1px solid var(--lijn);
}

.p-process li.has-pain {
    border-top-color: var(--koraal);
    background: var(--koraal-tint);
}

.p-process li.has-pain .pill--ask {
    background: var(--papier);
}

.p-process b {
    font-size: 31px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.035em;
    margin-bottom: auto;
    hyphens: manual;
}

/* The pain slide: the same blocks, small, above what the pain looks like. */
.p-process--compact {
    margin: 32px 0 0;
}

.p-process--compact li {
    min-height: 0;
    padding: 18px 16px 20px 20px;
}

.p-process--compact b {
    margin-bottom: 0;
    font-size: 28px;
}

/* -------------------------------------------- Process tracker (slides 9-12 and 16) -- */

/* The six steps of the bookkeeping process, shown small at the top of each slide
   so the audience sees where in the process the talk is. */
.p-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 36px;
}

.p-steps li {
    padding-top: 10px;
    border-top: 3px solid var(--lijn);
    font-size: 18px;
    color: var(--mist);
    hyphens: manual;
}

.is-tint .p-steps li {
    border-top-color: rgb(20 42 74 / 0.14);
    color: var(--lei);
}

.p-steps li.is-done {
    border-top-color: var(--akkoord);
    color: var(--akkoord-ink);
}

.p-steps li.is-on,
.is-tint .p-steps li.is-on {
    border-top-color: var(--koraal);
    color: var(--marine);
    font-weight: 500;
}

.is-dark .p-steps li {
    border-top-color: rgb(255 255 255 / 0.16);
    color: rgb(255 255 255 / 0.62);
}

.is-dark .p-steps li.is-done {
    border-top-color: var(--akkoord);
    color: #7fd6b5;
}

.is-dark .p-steps li.is-on {
    border-top-color: var(--koraal);
    color: var(--papier);
}

/* -------------------------------------------------------- Slide: Leo -- */

.s-leo {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.s-leo__intro {
    display: flex;
    align-items: center;
    gap: 40px;
}

.s-leo__portrait {
    width: 132px;
    height: 132px;
    border-radius: 36px;
    flex: none;
}

.s-leo__hello {
    font-size: 26px;
    letter-spacing: -0.03em;
    color: rgb(255 255 255 / 0.72);
}

.s-leo__name {
    margin-top: 2px;
    font-size: 92px;
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 500;
}

.s-leo .lead {
    margin-top: 22px;
    font-size: 28px;
}

.s-leo__facts {
    margin-top: 22px;
}

.s-leo__facts li {
    padding: 11px 0;
    border-top: 1px solid rgb(255 255 255 / 0.14);
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: rgb(255 255 255 / 0.85);
    text-wrap: pretty;
}

.worklog {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.worklog__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 10px;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.1);
}

.worklog__row.is-ask {
    box-shadow: inset 3px 0 0 var(--koraal);
}

.worklog__what {
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.s-leo__stat {
    margin-top: 40px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.s-leo__stat .p-bigstat__value {
    font-size: 112px;
}

.s-leo__stat .p-bigstat__label {
    color: rgb(255 255 255 / 0.75);
}

/* ------------------------------------------------------ Slide: vraagposten -- */

.p-pain {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

.p-pain__who {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.p-pain__who p {
    margin-top: 6px;
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
    text-wrap: balance;
}

.p-pain__stack {
    position: relative;
    height: 350px;
}

.p-mail {
    position: absolute;
    left: 0;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 26px;
    border-radius: 12px;
    background: var(--papier);
    border: 1px solid var(--lijn);
    box-shadow: var(--shadow-card);
    font-size: 25px;
    letter-spacing: -0.02em;
}

.p-mail .label {
    font-size: 18px;
    letter-spacing: 0;
    color: var(--mist);
}

.p-mail:nth-child(1) {
    top: 0;
    transform: rotate(-3deg);
}

.p-mail:nth-child(2) {
    top: 112px;
    left: 30px;
    right: 10px;
    transform: rotate(2deg);
}

.p-mail:nth-child(3) {
    top: 224px;
    left: 10px;
    right: 30px;
    box-shadow: inset 3px 0 0 var(--koraal), var(--shadow-card);
    transform: rotate(-1deg);
}

.slide:not(.is-revealed) .p-mail[data-reveal='up'] {
    transform: translateY(28px);
}

/* ----------------------------------------------------- Slide: klantportaal -- */

.p-portal {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 72px;
    align-items: center;
}

.p-window {
    border-radius: 16px;
    background: var(--papier);
    border: 1px solid var(--lijn);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.p-window__firm {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--lijn);
    font-size: 21px;
    font-weight: 500;
}

.p-window__firm span {
    font-size: 19px;
    font-weight: 400;
    color: var(--mist);
}

.p-window__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px 14px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.p-todo li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 10px 28px;
    border-top: 1px solid var(--lijn);
    font-size: 24px;
    letter-spacing: -0.015em;
}

.p-todo li.is-done {
    color: var(--staal);
}

.p-todo__box {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--mist);
}

.is-done .p-todo__box {
    background: var(--akkoord);
    box-shadow: none;
    color: var(--papier);
    font-size: 16px;
}

.p-todo__action {
    margin-left: auto;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--marine);
    color: var(--papier);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.p-todo__action + .p-todo__action {
    margin-left: 0;
}

.p-todo__action--alt {
    background: var(--papier);
    color: var(--marine);
    box-shadow: inset 0 0 0 1px var(--lijn);
}

.p-portal__points li {
    padding: 18px 0;
    border-top: 1px solid var(--lijn);
    font-size: 30px;
    line-height: 1.14;
    font-weight: 500;
    letter-spacing: -0.035em;
    text-wrap: pretty;
}

.p-portal__points li:last-child {
    border-bottom: 1px solid var(--lijn);
}

.p-dash li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 8px 28px;
    border-top: 1px solid var(--lijn);
    font-size: 24px;
    letter-spacing: -0.015em;
    color: var(--staal);
}

.p-dash .amount {
    font-size: 24px;
    color: var(--marine);
}

.p-dash li.is-total {
    color: var(--marine);
    font-weight: 500;
}

/* -------------------------------------------------------- Slide: context -- */

.p-context {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 112px 420px;
    align-items: center;
}

.p-context__sources {
    padding: 40px 44px 24px;
    color: var(--marine);
}

.p-context__lead {
    padding-bottom: 24px;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.p-context__sources li {
    padding: 20px 0;
    border-top: 1px solid var(--lijn);
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--staal);
}

.p-context__arrow {
    justify-self: center;
    font-size: 48px;
    color: rgb(255 255 255 / 0.72);
}

.p-context__leo img {
    display: block;
    width: 240px;
    height: 240px;
    border-radius: 64px;
}

.p-context__leo p {
    margin-top: 24px;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

/* -------------------------------------------------------- Slide: controle -- */

.p-control {
    margin: auto 0 0;
}

.p-control li {
    display: grid;
    grid-template-columns: 560px 1fr;
    align-items: center;
    gap: 40px;
    min-height: 118px;
    padding: 16px 0 16px 28px;
    border-top: 1px solid var(--lijn);
    box-shadow: inset 3px 0 0 var(--koraal);
}

.p-control li:last-child {
    border-bottom: 1px solid var(--lijn);
}

.p-control b {
    font-size: 36px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.p-control span {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--lei);
}

.p-control__line {
    margin: 36px 0 auto;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.04em;
}

/* -------------------------------------------------------- Slide: the loop -- */

.p-loop {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.p-loop li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 216px;
    justify-content: center;
    padding: 28px 40px;
}

.p-loop li:first-child {
    border-radius: 16px 0 0 16px;
}

.p-loop li:last-child {
    border-radius: 0 16px 16px 0;
}

.p-loop li.is-portal {
    background: var(--marine-tint);
}

.p-loop li.is-portal .label {
    color: var(--lei);
}

.p-loop li.is-leo {
    background: var(--marine);
    color: var(--papier);
}

.p-loop li.is-leo .label {
    color: rgb(255 255 255 / 0.72);
}

.p-loop b {
    font-size: 46px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.p-loop__facts {
    margin-top: 24px;
}

.p-loop__facts li {
    padding: 16px 0;
    border-bottom: 1px solid var(--lijn);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--staal);
}

.p-loop__arrow {
    position: absolute;
    right: -24px;
    top: 50%;
    z-index: 1;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid var(--lijn);
    background: var(--papier);
    color: var(--marine);
    box-shadow: var(--shadow-card);
}

/* ------------------------------------------------- Slide: Sara en Pieter -- */

.p-colleagues {
    margin: auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.p-colleague {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px 44px;
}

.p-colleague__head {
    display: flex;
    align-items: center;
    gap: 24px;
}

.p-colleague__head .pill {
    margin-left: auto;
}

.p-colleague__portrait {
    display: block;
    flex: none;
    width: 128px;
    height: 128px;
    border-radius: 34px;
}

.p-colleague__name {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.p-colleague__role {
    margin-top: 4px;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--lei);
}

.p-colleague__tasks li {
    padding: 20px 0;
    border-top: 1px solid var(--lijn);
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* ----------------------------------------------------------- Slide: data -- */

.p-data__flow {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.p-data__flow li {
    display: flex;
    align-items: center;
    min-height: 204px;
    padding: 24px 28px;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 10px;
    font-size: 33px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--papier);
}

.p-data__flow li.is-ai {
    background: rgb(255 255 255 / 0.14);
    border-color: rgb(255 255 255 / 0.24);
}

.p-data__flow li.is-sign {
    box-shadow: inset 3px 0 0 var(--koraal);
}

/* One joined grid, like the site's boundaries block. */
.p-data__never {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 200px repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 16px;
    background: rgb(255 255 255 / 0.1);
}

.p-data__never p {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 38px 28px;
    background: var(--marine);
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.p-data__never .i {
    font-size: 28px;
    color: rgb(255 255 255 / 0.72);
}

.p-data__never p.p-data__never-label {
    color: var(--koraal);
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.p-contact {
    margin-top: auto;
    font-size: 26px;
    letter-spacing: -0.015em;
    color: rgb(255 255 255 / 0.75);
}

.p-contact b {
    color: var(--papier);
}

/* ------------------------------------------------------ Slide: licenties -- */

.p-model {
    flex: 1;
    min-height: 0;
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: stretch;
}

.p-model__col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 40px 48px;
}

.p-model__big {
    font-size: 68px;
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.p-model__why {
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--lei);
}

.p-model__why .i {
    margin: 0 2px;
    font-size: 22px;
}

.panel-marine .p-model__why {
    color: rgb(255 255 255 / 0.75);
}

.p-model__arrow {
    align-self: center;
    justify-self: center;
    font-size: 44px;
    color: var(--mist);
}

/* ------------------------------------- Slide: bedankt, vragen? (closing) -- */

.s-close {
    padding-bottom: 72px;
}

.s-close__logo {
    --lockup-h: 56px;
}

.s-close__text {
    margin-top: auto;
    font-size: 168px;
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 500;
}

.s-close .p-contact {
    margin-top: 44px;
    font-size: 36px;
    letter-spacing: -0.03em;
}

/* -------------------------------------------------------------- Overview -- */

.viewport.is-overview .slide {
    visibility: visible;
    cursor: pointer;
    transition: transform 600ms var(--ease-out-expo), outline-color 300ms ease;
    outline: 6px solid transparent;
}

.viewport.is-overview .slide:hover {
    outline-color: rgb(255 255 255 / 0.5);
}

.viewport.is-overview .slide.is-current {
    outline-color: var(--koraal);
}

.viewport.is-overview .chrome,
.viewport.is-overview .progress {
    opacity: 0;
}

/* ------------------------------------------------------------- Presenter -- */

.presenter {
    display: none;
}

.is-presenter .presenter {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 24px;
    padding: 24px;
    background: var(--marine);
    color: var(--papier);
    z-index: 100;
}

.is-presenter .viewport,
.is-presenter .hint {
    display: none;
}

.presenter__current,
.presenter__next {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--papier);
}

.presenter__stagewrap {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    min-height: 0;
}

.presenter__side {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 12px;
    min-height: 0;
}

.presenter__next {
    aspect-ratio: 16 / 9;
}

.presenter__frame {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--canvas-w);
    height: var(--canvas-h);
    transform-origin: 0 0;
}

.presenter__frame .slide {
    visibility: visible;
    transform: none !important;
}

.presenter__notes {
    overflow: auto;
    font-size: 24px;
    line-height: 1.4;
    color: rgb(255 255 255 / 0.88);
    padding-right: 8px;
    scrollbar-color: rgb(255 255 255 / 0.24) transparent;
}

.presenter__notes ul {
    padding-left: 1.1em;
    list-style: disc;
}

.presenter__notes li + li {
    margin-top: 10px;
}

.presenter__notes li::marker {
    color: var(--koraal);
}

.presenter__bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 15px;
    color: rgb(255 255 255 / 0.72);
}

.presenter__timer {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--papier);
}

.presenter__title {
    font-size: 22px;
    font-weight: 500;
    color: var(--papier);
}

.notes {
    display: none;
}

/* -------------------------------------------------------- Reduced motion -- */

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .dims .p-model__big,
    .p-effects__track i,
    .progress__bar {
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
    }
}

/* ----------------------------------------------------------------- Print -- */

@page {
    size: 1600px 900px;
    margin: 0;
}

@media print {
    html,
    body {
        overflow: visible;
        height: auto;
        background: var(--papier);
    }

    .viewport {
        position: static;
        display: block;
    }

    .canvas {
        position: static;
        margin: 0;
        transform: none !important;
        width: auto;
        height: auto;
        perspective: none;
    }

    .chrome,
    .progress,
    .hint,
    .presenter {
        display: none !important;
    }

    .slide {
        position: relative;
        inset: auto;
        width: var(--canvas-w);
        height: var(--canvas-h);
        visibility: visible !important;
        transform: none !important;
        break-after: page;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .slide .shade {
        display: none;
    }

    [data-reveal],
    .dims .p-model__big,
    .p-effects__track i {
        transition: none !important;
    }
}
