/* China Rescue Flight 2. De pagina vliegt van nacht naar ochtend: hoe verder je scrolt, hoe lichter. */

@font-face {
    font-family: 'Crf2 Bebas';
    src: url('/assets/fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.crf2 {
    --night: #14294f;
    --deep: #1d3f73;
    --sky: #6fb3d9;
    --sun: #f7b52c;
    --red: #e4502e;
    --paper: #ffffff;
    --ink: #14294f;
    --mute: #4a5d7e;
    --rule: #c9d9e6;
    --lime: #c8cf0d;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--night);
}

.crf2 h1,
.crf2 h2,
.crf2 h3 {
    color: inherit;
}

.crf2 :focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
}

.crf2-sprites {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.crf2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 4px 4px 0 var(--night);
}

.crf2-intro {
    text-align: center;
}

.crf2-intro h2 {
    margin: 0 0 .4em;
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    line-height: 1.08;
}

.crf2-intro p {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #fff;
}

/* ---------- Hero: het panorama ---------- */

.crf2-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(600px, calc(100vh - 124px), 900px);
    overflow: hidden;
    background: var(--night);
}

.crf2-hero__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.crf2-hero__copy {
    position: relative;
    z-index: 2;
    padding-top: clamp(30px, 5.5vh, 64px);
}

.crf2-hero__title {
    max-width: 12em;
    margin: 0 0 .32em;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.02;
}

.crf2-hero__lead {
    max-width: 31rem;
    margin: 0 0 1.4em;
    font-size: clamp(1.03rem, 1.35vw, 1.2rem);
    line-height: 1.6;
    color: #fff;
}

.crf2-hero__dogs {
    position: absolute;
    left: 58%;
    bottom: 10px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 2vw, 28px);
    width: min(47vw, 640px);
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(-50%);
}

.crf2-hero__dogs a {
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.crf2-hero__dogs img {
    display: block;
    width: 100%;
    max-width: 122px;
    height: auto;
    margin: 0 auto;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.crf2-hero__dogs a:hover img,
.crf2-hero__dogs a:focus-visible img {
    transform: translateY(-8px);
}

.crf2-hero__dogs span {
    display: block;
    margin-top: 5px;
    font-size: clamp(.82rem, 1.5vw, 1rem);
    font-weight: 600;
}

.crf2-route {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: .1 15;
}

.crf2-route--day {
    stroke: var(--night);
}

/* Verborgen tot er gevlogen is: een lijn van lengte 0 tekent door het ronde einde een stip. */
.crf2-route--flown {
    stroke: var(--red);
    stroke-width: 5;
    stroke-dasharray: 0 1000;
    visibility: hidden;
}

.crf2-place {
    font: 600 25px Outfit, sans-serif;
    text-anchor: middle;
    fill: #fff;
}

.crf2-place--end {
    fill: var(--night);
}

.crf2-plane-size {
    transform: scale(var(--plane-scale, 1));
}

.crf2-tag-size {
    transform: scale(var(--tag-scale, 1));
}

.crf2-tag__bg,
.crf2-tag__tip {
    fill: #fff;
}

.crf2-tag__text {
    font: 700 25px Outfit, sans-serif;
    fill: var(--ink);
}

.c2-gear {
    display: none;
}

.is-grounded .c2-gear {
    display: block;
}

.crf2-plane-bob {
    animation: c2bob 6s ease-in-out infinite;
}

.is-grounded .crf2-plane-bob {
    animation: none;
}

.c2-tw0 { animation: c2twinkle 4s ease-in-out infinite; }
.c2-tw1 { animation: c2twinkle 5.5s ease-in-out -1s infinite; }
.c2-tw2 { animation: c2twinkle 7s ease-in-out -3s infinite; }
.c2-sails { animation: c2spin 26s linear infinite; }
.c2-clouds-far { animation: c2drift 70s ease-in-out infinite alternate; }
.c2-clouds-near { animation: c2drift 46s ease-in-out -12s infinite alternate-reverse; }
.c2-strobe { animation: c2strobe 1.8s steps(1) infinite; }
.c2-strobe--late { animation-delay: -.7s; }
.c2-winclouds { animation: c2windowleft 30s linear infinite; }
.c2-winclouds--back { animation-direction: reverse; }

@keyframes c2bob { 50% { transform: translateY(-7px); } }
@keyframes c2twinkle { 50% { opacity: .12; } }
@keyframes c2spin { to { transform: rotate(360deg); } }
@keyframes c2drift { to { transform: translateX(46px); } }
@keyframes c2strobe { 0%, 100% { opacity: 1; } 12% { opacity: .15; } }
@keyframes c2windowleft { to { transform: translateX(520px); } }

/* ---------- Wolken tussen nacht en dag ---------- */

.crf2-cloudbank {
    display: block;
    width: 100%;
    height: clamp(58px, 8vw, 104px);
    margin-top: -1px;
    background: var(--night);
}

.crf2-cloudbank__top { fill: #fff; }
.crf2-cloudbank__sky { fill: var(--sky); }

/* ---------- Cabine: vier stoelen ---------- */

.crf2-cabin {
    padding: clamp(16px, 3vw, 34px) 0 0;
    color: var(--ink);
    background: var(--sky);
}

.crf2-cabin .crf2-intro p,
.crf2-passes .crf2-intro p {
    color: var(--ink);
}

.crf2-stage {
    position: relative;
    width: min(1000px, calc(100% - 24px));
    margin: 22px auto 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    box-shadow: 7px 7px 0 var(--night);
}

.crf2-stage__view {
    position: absolute;
    inset: 0;
}

.crf2-stage__cabin {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zelfde plaatsing als vlucht 1: de voet van de hond staat op het punt top/left. */
.crf2-seat {
    position: absolute;
    display: block;
    text-decoration: none;
    transform: translate(-50%, -100%);
}

.crf2-seat img {
    display: block;
    width: 100%;
    height: auto;
}

.crf2-seat__name {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    padding: 3px 9px;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--ink);
    background: #fff;
    transform: translateX(-50%);
}

.crf2-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 980px;
    margin-top: 14px;
    margin-bottom: 0;
    padding-bottom: 0;
    list-style: none;
}

.crf2-row a {
    display: block;
    padding: 7px 6px 8px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.25;
    text-decoration: none;
    color: #fff;
    background: var(--night);
}

.crf2-row strong {
    display: block;
    font-size: clamp(.82rem, 1.5vw, 1.02rem);
    font-weight: 700;
}

.crf2-row span {
    font-size: clamp(.74rem, 1.25vw, .9rem);
    color: var(--sun);
}

/* ---------- Instapkaarten ---------- */

.crf2-passes {
    color: var(--ink);
    background: var(--sky);
    padding: clamp(44px, 6vw, 72px) 0 clamp(44px, 6vw, 72px);
}

.crf2-pass-list {
    display: grid;
    gap: 24px;
    max-width: 980px;
    margin-top: 36px;
    filter: drop-shadow(7px 7px 0 var(--night));
}

.crf2-pass {
    --stub: 292px;
    --notch: 13px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--stub);
    color: var(--ink);
    background: var(--paper);
    border-radius: 18px;
    scroll-margin-top: 130px;
    -webkit-mask:
        radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
    mask:
        radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}

.crf2-pass.is-called {
    animation: c2called 1.1s ease-out 1;
}

@keyframes c2called {
    30% { transform: scale(1.018); }
}

.crf2-pass__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.crf2-pass__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 46px;
    padding: 0 24px;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 1.2rem;
    letter-spacing: .05em;
    color: #fff;
    background: var(--night);
}

.crf2-pass__air {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crf2-pass__air svg {
    width: 19px;
    height: 19px;
    color: var(--sun);
}

.crf2-pass__who {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 20px 24px 8px;
}

.crf2-pass__photo {
    display: block;
    width: 124px;
    height: 124px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 0 2px var(--night);
}

.crf2-pass__name {
    margin: 0;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 2.9rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
}

.crf2-pass__coat {
    margin: 2px 0 6px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--mute);
}

.crf2-pass__line {
    max-width: 30em;
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.crf2-track {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: auto;
    padding: 4px 24px 18px;
}

.crf2-track__end {
    padding-bottom: 1px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--mute);
}

.crf2-track__line {
    position: relative;
    display: block;
    height: 86px;
}

.crf2-track__line::before,
.crf2-track__fill {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 7px;
    border-radius: 4px;
}

.crf2-track__line::before {
    right: 0;
    background: var(--rule);
}

.crf2-track__fill {
    width: calc(var(--p) * 100%);
    background: var(--red);
    transition: width 1.9s cubic-bezier(.22, 1, .36, 1);
}

.crf2-track__dog {
    position: absolute;
    left: calc(26px + var(--p) * (100% - 52px));
    bottom: 11px;
    width: 52px;
    height: auto;
    transform: translateX(-50%);
    transition: left 1.9s cubic-bezier(.22, 1, .36, 1);
}

.crf2-track__plane {
    position: absolute;
    right: 0;
    bottom: 17px;
    width: 34px;
    height: 17px;
    color: var(--night);
}

.crf2-track.is-idle {
    --p: 0 !important;
}

.crf2-pass__stub {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 60px 22px 16px;
    border-left: 2px dashed var(--rule);
}

.crf2-pass__stub::before {
    content: attr(data-band);
    position: absolute;
    top: 0;
    left: -2px;
    right: 0;
    height: 46px;
    padding: 0 22px;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 1.2rem;
    line-height: 46px;
    letter-spacing: .05em;
    color: #fff;
    background: var(--red);
}

.crf2-pass__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}

.crf2-pass__facts dt {
    font-size: .8rem;
    font-weight: 600;
    color: var(--mute);
}

.crf2-pass__facts dd {
    margin: 0;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
}

.crf2-pass__sum {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    font-size: .95rem;
    color: var(--mute);
}

.crf2-pass__sum strong {
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
}

.crf2-pass__raised {
    margin: -8px 0 0;
    font-size: .9rem;
    color: var(--mute);
}

.crf2-pass__stub .crf2-cta {
    width: 100%;
    padding: 12px 14px;
}

.crf2-pass__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 14px;
    margin: 0;
}

.crf2-pass__links button {
    padding: 2px 0;
    border: 0;
    background: none;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.crf2-pass__code {
    display: block;
    width: 100%;
    height: 24px;
    margin-top: auto;
    fill: var(--ink);
}

.crf2-stamp {
    position: absolute;
    right: calc(var(--stub) + 22px);
    top: 66px;
    padding: 2px 14px;
    border: 4px double var(--red);
    border-radius: 10px;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 2rem;
    letter-spacing: .06em;
    color: var(--red);
    transform: rotate(-9deg);
    pointer-events: none;
}

.crf2-pass.is-seen .crf2-stamp {
    animation: c2stamp .42s cubic-bezier(.3, 1.6, .6, 1) .9s 1 both;
}

@keyframes c2stamp {
    from { opacity: 0; transform: rotate(-9deg) scale(1.9); }
    to { opacity: 1; transform: rotate(-9deg) scale(1); }
}

.crf2-alert {
    max-width: 980px;
    margin: 18px auto 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: #8a2410;
    background: #fde3dc;
}

/* ---------- Zo werkt het ---------- */

.crf2-how {
    padding: clamp(40px, 6vw, 68px) 0;
    color: var(--ink);
    background: #fff;
}

.crf2-how__inner {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}

.crf2-how__captain {
    display: block;
    width: 100%;
    height: auto;
}

.crf2-how h2 {
    margin: 0 0 .5em;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.crf2-how__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: crf2step;
}

.crf2-how__steps li {
    counter-increment: crf2step;
}

.crf2-how__steps li::before {
    content: counter(crf2step);
    display: block;
    font-family: 'Crf2 Bebas', sans-serif;
    font-size: 2.6rem;
    line-height: 1;
}

.crf2-how__steps h3 {
    margin: 2px 0 .3em;
    font-size: 1.14rem;
    font-weight: 700;
}

.crf2-how__steps p {
    margin: 0;
    line-height: 1.5;
}

/* ---------- Vlucht 1 ---------- */

.crf2-first {
    padding: clamp(40px, 6vw, 68px) 0 clamp(96px, 11vw, 132px);
    color: var(--ink);
    background: var(--sun);
}

.crf2-first__inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(22px, 5vw, 64px);
    align-items: center;
}

.crf2-first__video {
    display: block;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 474 / 850;
    margin-inline: auto;
    border-radius: 8px;
    background: var(--night);
    box-shadow: 7px 7px 0 var(--night);
}

.crf2-first h2 {
    margin: 0 0 .4em;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.crf2-first p {
    max-width: 34em;
    line-height: 1.6;
}

.crf2-first__link {
    font-weight: 700;
    color: inherit;
    text-underline-offset: 3px;
}

/* ---------- Alle honden aan boord ---------- */

.crf2-done {
    position: relative;
    margin-top: 44px;
    padding: 40px 24px;
    overflow: hidden;
    text-align: center;
}

.crf2-done h2 {
    margin: 0 0 .3em;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--sun);
}

.crf2-done__label {
    margin: 22px 0 8px;
    font-weight: 600;
}

.crf2-done__names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crf2-done__names li {
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--deep);
}

.crf2-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.crf2-confetti i {
    position: absolute;
    top: -14px;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    animation: c2fall linear infinite;
}

@keyframes c2fall {
    to { transform: translateY(620px) rotate(600deg); opacity: 0; }
}

/* ---------- Vensters ---------- */

.crf2-modal { z-index: 2000 !important; }
.modal-backdrop.show { z-index: 1990 !important; }

.crf2-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    color: var(--ink);
    background: var(--paper);
}

.crf2-modal .modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--rule);
}

.crf2-modal .modal-title {
    font-size: 1.5rem;
    color: var(--ink);
}

.crf2-modal .modal-body {
    padding: 20px 22px;
    line-height: 1.55;
}

.crf2-modal .modal-footer {
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    border-top: 1px solid var(--rule);
}

.crf2-modal__photo {
    display: block;
    width: 100%;
    border-radius: 14px;
}

.crf2-donors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.crf2-amounts {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.crf2-amounts legend,
.crf2-label {
    display: block;
    float: none;
    width: auto;
    margin-bottom: 6px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
}

.crf2-amounts__quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.crf2-amounts__quick button {
    padding: 10px 0;
    border: 2px solid var(--rule);
    border-radius: 10px;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
}

.crf2-amounts__quick button[aria-pressed="true"] {
    border-color: var(--night);
    color: #fff;
    background: var(--night);
}

.crf2-amounts__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 2px solid var(--rule);
    border-radius: 10px;
    background: #fff;
}

.crf2-amounts__field span {
    font-weight: 700;
}

.crf2-amounts__field input {
    width: 100%;
    padding: 11px 0;
    border: 0;
    outline: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    background: none;
}

.crf2-amounts__field:focus-within,
.crf2-input:focus {
    border-color: var(--night);
    outline: 0;
}

.crf2-input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--rule);
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
}

.crf2-input:disabled {
    color: var(--mute);
    background: #eef0f8;
}

.crf2-hint {
    margin: 5px 0 12px;
    font-size: .88rem;
    color: var(--mute);
}

.crf2-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    cursor: pointer;
}

.crf2-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--night);
}

.crf2-secure {
    margin: 0;
    font-size: .88rem;
    color: var(--mute);
}

.crf2-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.crf2-thanks {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 41, 79, .8);
}

.crf2-thanks__box {
    position: relative;
    width: min(460px, 100%);
    padding: 26px 26px 28px;
    border-radius: 20px;
    text-align: center;
    color: var(--ink);
    background: var(--paper);
}

.crf2-thanks__box img {
    display: block;
    width: 112px;
    height: auto;
    margin: 0 auto 8px;
}

.crf2-thanks__box h2 {
    margin: 0 0 .3em;
    font-size: 1.9rem;
}

.crf2-thanks__box p {
    margin: 0 0 14px;
    line-height: 1.55;
}

.crf2-thanks__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--mute);
    background: none;
    cursor: pointer;
}

/* ---------- Kleinere schermen ---------- */

@media (max-width: 991.98px) {
    /* Tekst, scène en honden onder elkaar. De hele route blijft in beeld, zodat je
       altijd ziet waar het vliegtuig heen gaat; alleen vliegtuig en teksten groeien mee. */
    .crf2-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .crf2-hero__copy {
        order: 1;
        padding-top: 30px;
        padding-bottom: 0;
    }

    .crf2-hero__scene {
        --plane-scale: 1.25;
        --tag-scale: 1.5;
        --tag-lift: 200;
        order: 2;
        position: relative;
        inset: auto;
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 7.6;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
    }

    .crf2-route {
        stroke-width: 7;
        stroke-dasharray: .1 24;
    }

    .crf2-route--flown {
        stroke-width: 8;
        stroke-dasharray: 0 1000;
    }

    .crf2-place {
        font-size: 38px;
    }

    .crf2-hero__dogs {
        order: 3;
        position: relative;
        left: auto;
        bottom: auto;
        width: min(640px, 94%);
        margin: 6px auto 12px;
        transform: none;
    }
}

@media (max-width: 600px) {
    .crf2-hero__scene {
        --plane-scale: 1.28;
        --tag-scale: 2.3;
        --tag-lift: 235;
    }

    .crf2-route {
        stroke-width: 10;
        stroke-dasharray: .1 34;
    }

    .crf2-route--flown {
        stroke-width: 12;
    }

    .crf2-place {
        font-size: 58px;
    }

    /* Rechts van de molen, zodat de wieken de naam niet raken. */
    .crf2-place--end {
        text-anchor: end;
        transform: translate(150px, -92px);
    }
}

@media (max-width: 860px) {
    .crf2-pass {
        --stub: 250px;
    }

    .crf2-how__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .crf2-how__captain {
        width: 130px;
    }

    .crf2-first__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .crf2-first__video {
        max-width: 240px;
        margin-inline: 0;
    }
}

@media (max-width: 760px) {
    .crf2-pass {
        grid-template-columns: minmax(0, 1fr);
        -webkit-mask: none;
        mask: none;
    }

    .crf2-pass__head {
        padding: 0 16px;
    }

    .crf2-pass__who {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 16px 6px;
    }

    .crf2-pass__photo {
        width: 92px;
        height: 92px;
    }

    .crf2-pass__name {
        font-size: 2.3rem;
    }

    .crf2-track {
        padding: 4px 16px 14px;
    }

    .crf2-pass__stub {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 22px;
        padding: 14px 16px;
        border-top: 2px dashed var(--rule);
        border-left: 0;
    }

    .crf2-pass__facts {
        gap: 18px;
    }

    .crf2-pass__sum {
        flex-direction: column;
        gap: 0;
        align-items: flex-end;
        text-align: right;
    }

    .crf2-pass__raised,
    .crf2-pass__stub .crf2-cta,
    .crf2-pass__links,
    .crf2-pass__code {
        grid-column: 1 / -1;
    }

    .crf2-pass__raised {
        margin: 0;
        text-align: right;
    }

    .crf2-pass__code {
        height: 18px;
    }

    /* Inzoomen op de stoelen: het hele vliegtuig past niet leesbaar op een telefoon. */
    .crf2-stage {
        aspect-ratio: 5 / 4;
    }

    .crf2-stage__view {
        inset: auto auto 0 -40%;
        width: 142%;
        aspect-ratio: 3 / 2;
    }

    .crf2-seat__name {
        padding: 2px 7px;
        font-size: .68rem;
    }

    .crf2-row {
        gap: 5px;
        padding-inline: 8px;
    }

    .crf2-row a {
        padding: 5px 2px 6px;
    }

    .crf2-pass__stub::before {
        display: none;
    }

    .crf2-stamp {
        right: 14px;
        top: 56px;
        font-size: 1.5rem;
    }

    .crf2-how__steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .crf2 *,
    .crf2 *::before,
    .crf2 *::after {
        animation: none !important;
        transition: none !important;
    }
}
