:root {
    --hero-height: 930px;
    --hero-title-size: 90px;
    --hero-top: 150px;
    --column-gap: 100px;
}

.hero,
.hero.sub-hero,
.hero.sub-hero:has(.racecar) {
    height: var(--hero-height);
    min-height: var(--hero-height);
    padding: var(--hero-top) 60px 80px;
    overflow: clip;
}

.hero h1,
.hero.sub-hero h1,
.hero.sub-hero:has(.racecar) h1 {
    font-size: var(--hero-title-size);
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
    line-height: 1.13;
}

.hero .ribbon { max-width: 100%; }
.hero-content { max-width: 1800px; }
.sub-hero .hero-lead { font-size: 28px; max-width: 1200px; }
.sub-hero p:not(.hero-lead) { font-size: 18px; }
.home-hero .hero-object {
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: contain;
    transform-origin: center;
}
.home-hero .tap { width: 43%; right: -13%; bottom: -17%; transform: none; }
.home-hero .amsterdam { width: 26%; right: -1%; bottom: -27%; transform: rotate(12deg); }
.home-hero .lamb { width: 46%; right: -10%; bottom: -57%; transform: none; }
.home-hero .container { width: 46%; right: -12%; bottom: -13%; transform: rotate(14deg); }

.three-columns { gap: var(--column-gap); }
/* The outer branch centers include both grid gaps, not just one sixth of the frame. */
.circuit-columns::before {
    left: calc((100% - 2 * var(--column-gap)) / 6);
    right: calc((100% - 2 * var(--column-gap)) / 6);
}

.aquacore-content .section-heading { max-width: 1200px; margin-bottom: 55px; }
.aquacore-content .section-heading p { margin-top: 28px; }
.aquacore-sources,
.aquacore-applications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 100px;
    list-style: none;
    padding: 0;
    margin: 45px 0;
}
.aquacore-sources li { border-top: 2px solid black; padding-top: 22px; }
.aquacore-sources h3,
.aquacore-applications h3 { font-size: 26px; margin-bottom: 18px; }
.aquacore-applications li { border-left: 2px solid var(--yellow); padding-left: 25px; }
.aquacore-standards .split-copy { padding-inline: 70px; }
.aquacore-standards h2 { font-size: 52px; margin-bottom: 35px; }
.aquacore-standards p + p { margin-top: 28px; }
.aquacore-audience { background: black; color: white; --surface: black; }
.aquacore-audience h2 { color: var(--yellow); }
.aquacore-audience .circuit-list { border-color: var(--yellow); margin-top: 0; }
.aquacore-audience .circuit-list li::before { border-color: var(--yellow); }
.aquacore-audience .circuit-list li::after { background: var(--yellow); }
.aquacore-contact p { margin-top: 35px; }

.contact-trap { display: none; }
.form-errors.validation-summary-valid { display: none; }
.form-errors { border-left: 4px solid #b52e26; padding: 15px 20px; background: white; }
.form-errors ul { margin: 0; padding-left: 20px; }
.form-status p { margin-top: 20px; }
.contact-form .g-recaptcha { min-width: 0; }
.footer-bottom button { border: 0; background: transparent; color: inherit; padding: 0; text-decoration: underline; }
.cookie-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 35px;
    padding: 25px max(24px, calc((100% - 1600px) / 2));
    background: white;
    border-top: 4px solid var(--yellow);
    box-shadow: 0 -4px 18px #0002;
    max-height: 80dvh;
    overflow: auto;
    font-size: 14px;
}
.cookie-consent h2 { font-size: 22px; margin-bottom: 12px; }
.cookie-controls { align-self: center; }
.cookie-controls label { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.cookie-controls input { width: 20px; height: 20px; accent-color: black; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.cookie-actions button { background: white; color: black; border: 2px solid black; padding: 12px 15px; font-weight: 700; font-size: 13px; }
.cookie-actions button:hover { background: var(--yellow); }
body:has(.cookie-consent:not([hidden])) .back-top { display: none; }
@media (max-width: 760px) {
    .cookie-consent { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 24px; }
    .cookie-actions { flex-direction: column; align-items: stretch; }
    .g-recaptcha { transform-origin: left top; }
}
@media (max-width: 360px) {
    .g-recaptcha { transform: scale(.84); margin-bottom: -12px; }
}

@media (min-width: 1800px) {
    :root { --hero-height: 1132px; --hero-title-size: 121px; --hero-top: 260px; --column-gap: 145px; }
    .sub-hero .hero-lead { font-size: 39px; max-width: 1400px; }
    .sub-hero p:not(.hero-lead) { font-size: 20px; }
    .aquacore-standards h2 { font-size: 70px; }
}

@media (max-width: 1500px) {
    :root { --hero-height: 800px; --hero-title-size: 76px; --hero-top: 145px; --column-gap: 65px; }
    .sub-hero .hero-lead { font-size: 26px; max-width: 1000px; }
    .sub-hero p:not(.hero-lead) { font-size: 16px; }
    .aquacore-standards h2 { font-size: 44px; }
}

@media (max-width: 1050px) {
    :root { --hero-height: 700px; --hero-title-size: 58px; --hero-top: 110px; --column-gap: 35px; }
    .hero, .hero.sub-hero, .hero.sub-hero:has(.racecar) { padding-inline: 35px; }
    .sub-hero .hero-lead { font-size: 22px; }
    .aquacore-sources, .aquacore-applications { gap: 35px 45px; }
    .aquacore-standards .split-copy { padding-inline: 35px; }
    .aquacore-standards h2 { font-size: 34px; }
}

@media (max-width: 760px) {
    :root { --hero-height: 590px; --hero-title-size: 30px; --hero-top: 55px; --column-gap: 45px; }
    .hero, .hero.sub-hero, .hero.sub-hero:has(.racecar) { padding: var(--hero-top) 24px 45px; }
    .sub-hero .hero-lead { font-size: 16px; }
    .sub-hero p:not(.hero-lead) { font-size: 14px; }
    .home-hero .tap { width: 260px; right: -65px; bottom: -110px; }
    .home-hero .amsterdam { width: 140px; right: -8px; bottom: -165px; }
    .home-hero .lamb { width: 235px; right: -50px; bottom: -210px; }
    .home-hero .container { width: 275px; right: -65px; bottom: -40px; }
    .circuit-columns::before { left: 0; right: auto; }
    .aquacore-content .section-heading { margin-bottom: 32px; }
    .aquacore-sources, .aquacore-applications { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-block: 30px; }
    .aquacore-sources h3, .aquacore-applications h3 { font-size: 18px; }
    .aquacore-standards .split-copy { padding: 50px 24px; }
    .aquacore-standards h2 { font-size: 27px; }
    .aquacore-standards .split-image { min-height: 0; }
    .aquacore-audience .circuit-list { margin-top: 10px; }
}

@media (max-width: 360px) {
    :root { --hero-title-size: 27px; --hero-top: 25px; }
}
@media (min-width: 761px) {
    .cloud-copy-first > h2 { order: 1; }
    .cloud-copy-first > .cloud-architect-heading { order: 1; }
}
.cloud-certifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 440px;
    margin-top: 40px;
}
.cloud-certifications a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}
.cloud-certifications a:hover span { text-decoration: underline; }
.cloud-certifications img { width: 150px; height: 150px; object-fit: contain; }
.cloud-certifications strong { font-size: 18px; margin: 12px 0 5px; }
@media (max-width: 760px) {
    .cloud-certifications { gap: 18px; margin-top: 30px; }
    .cloud-certifications img { width: 110px; height: 110px; }
    .cloud-certifications a { font-size: 12px; }
    .cloud-certifications strong { font-size: 16px; }
}
.cloud-server {
    position: absolute;
    width: 430px;
    height: 430px;
    object-fit: contain;
    right: 0;
    bottom: -25px;
    pointer-events: none;
}
.cloud-speed-visual {
    display: block;
    width: min(100%, 780px);
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    margin: 0;
}
.cloud-speed-grid { align-items: center; }
.cloud-speed-copy p { margin-top: 30px; }
.bingo-list { list-style: none; padding-left: 0; }
.bingo-list li { position: relative; padding-left: 24px; }
.bingo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc((1lh - .65em) / 2);
    width: .65em;
    height: .65em;
    border: 1px solid currentColor;
    background: transparent;
}
.bingo-image { transform: scaleX(-1); }
@media (min-width: 761px) {
    .bingo-image { transform: translateY(100px) scaleX(-1); }
}
.editorial-grid .cloud-opening-title { font-size: 42px; overflow-wrap: normal; word-break: normal; }
.cloud-opening-title > span { white-space: nowrap; }
.editorial-grid .cloud-opening-title > br { display: initial; }
.cloud-migration-copy p + p { margin-top: 24px; }
.band.ai-expertise { background: white; --surface: white; }
.back-top { box-shadow: none; border: 0; }
.legal-hero-visual {
    position: absolute;
    width: 430px;
    height: 430px;
    object-fit: contain;
    right: -15px;
    bottom: -35px;
    pointer-events: none;
}
@media (min-width: 1800px) {
    .legal-hero-visual { width: 560px; height: 560px; bottom: -45px; }
}
@media (max-width: 1050px) {
    .legal-hero-visual { width: 350px; height: 350px; bottom: -30px; }
}
@media (max-width: 760px) {
    .legal-hero-visual { width: 285px; height: 285px; right: -30px; bottom: -25px; }
}
.ai-robot {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: contain;
    right: -25px;
    bottom: -25px;
    pointer-events: none;
}
.video-player { position: relative; aspect-ratio: 16 / 9; }
.video-player video { width: 100%; height: 100%; }
.video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: black;
}
.video-poster > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border: 7px solid var(--yellow);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.video-play-icon img { width: 65px; height: 65px; filter: invert(86%) sepia(100%) saturate(1200%); }
.video-poster:hover .video-play-icon { background: #0003; }
@media (min-width: 1800px) {
    .ai-robot { width: 400px; height: 400px; }
}
@media (max-width: 760px) {
    .ai-robot { width: 210px; height: 210px; right: -25px; bottom: -35px; }
    .video-play-icon { width: 65px; height: 65px; border-width: 4px; }
    .video-play-icon img { width: 32px; height: 32px; }
}
.ai-expertise > .wrap { position: relative; }
.ai-expertise .expert-grid { column-gap: 210px; }
.expert-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}
@media (max-width: 1050px) {
    .ai-expertise .expert-grid { column-gap: 120px; }
}
@media (max-width: 760px) {
    .expert-connections { display: none; }
    .ai-expertise .expert-grid article { border-top: 1px solid black; padding-top: 20px; }
}
@media (min-width: 1800px) {
    .cloud-server { width: 560px; height: 560px; bottom: -35px; right: -20px; }
    .editorial-grid .cloud-opening-title { font-size: 60px; }
}
@media (max-width: 1200px) {
    .editorial-grid .cloud-opening-title { font-size: 34px; }
}
@media (max-width: 1050px) {
    .cloud-server { width: 350px; height: 350px; bottom: -20px; }
    .editorial-grid .cloud-opening-title { font-size: 27px; }
}
@media (max-width: 760px) {
    .cloud-server { width: 285px; height: 285px; bottom: -15px; right: -25px; }
    .cloud-speed-grid .cloud-speed-copy { max-width: none; }
    .cloud-speed-grid .cloud-speed-visual { order: 1; margin-top: 35px; }
    .editorial-grid .cloud-opening-title { font-size: 27px; }
}
@media (max-width: 360px) {
    .editorial-grid .cloud-opening-title { font-size: 22px; }
    .ai-robot { width: 160px; height: 160px; bottom: -25px; }
}

.data-hero-visual { width: 430px; height: 430px; bottom: -45px; }
.stories > .wrap { position: relative; }
.task-strip .task-word { font-weight: 800; }
.team-toy img { aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.team-toy figcaption { position: relative; margin-top: 10px; }
.hero.kennismaken-hero { height: auto; min-height: 0; padding-top: 55px; padding-bottom: 70px; }
.kennismaken-hero .hero-content { max-width: 1080px; }
.kennismaken-hero h1 { font-size: 40px; }
.kennismaken-hero h2 { margin: 20px 0 30px; font-size: 50px; }
.kennismaken-eyebrow { font-weight: 800; text-transform: uppercase; margin-bottom: 24px; }
.kennismaken-visual { position: absolute; width: 240px; height: 240px; object-fit: contain; right: -35px; bottom: -45px; pointer-events: none; }
.kennismaken-results .circuit-list { margin-bottom: 35px; }
.kennismaken-quote blockquote { margin: 0; }
.kennismaken-quote h2 { font-size: 46px; margin-bottom: 45px; }
.kennismaken-quote footer { margin-top: 30px; font-weight: 800; }
.kennismaken-partners { padding-block: 60px; }
.kennismaken-partners a { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
.kennismaken-partners img { width: 330px; max-width: 100%; }
@media (max-width: 760px) {
    .hero.kennismaken-hero { min-height: 0; padding: 55px 24px 175px; }
    .kennismaken-hero h1 { font-size: 28px; }
    .kennismaken-hero h2 { font-size: 32px; margin-block: 22px 30px; }
    .kennismaken-eyebrow { font-size: 12px; }
    .kennismaken-visual { width: 170px; height: 170px; right: -10px; bottom: -30px; }
    .kennismaken-quote h2 { font-size: 28px; margin-bottom: 30px; }
}
@media (min-width: 901px) {
    .nav-submenu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -22px;
        height: 22px;
    }
}
@media (min-width: 761px) {
    .band.notched:has(+ .about-strip.about-detail)::after { left: calc(25% - 18px); }
    .band:has(+ .about-strip.about-detail) .circuit-columns { row-gap: 0; }
    .band:has(+ .about-strip.about-detail) .circuit-columns article {
        display: grid;
        grid-row: span 2;
        grid-template-rows: subgrid;
        justify-items: center;
        align-items: start;
    }
    .band.notched:has(+ .task-strip)::after,
    .task-strip.notched::after { left: calc(75% - 18px); }
    .clients.notched:has(+ .about-strip)::after { left: calc(25% - 18px); }
    .about-strip.notched::after {
        left: calc(50% - 50px);
        bottom: -25px;
        width: 50px;
        height: 25px;
        transform: none;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }
    .about-strip .circuit-list {
        position: relative;
        border-left: 0;
        max-width: 390px;
        margin: 18px 0 0 10px;
        padding: 28px 0 0;
    }
    .about-strip .circuit-list::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 39px;
        border-left: 1px solid var(--ink);
    }
    .about-strip .circuit-list li {
        padding-left: 64px;
        margin: 0 0 32px;
        font-size: 14px;
        line-height: 1.3;
    }
    .about-strip .circuit-list li::before {
        left: 0;
        top: 11px;
        width: 34px;
        height: calc(100% + 32px);
        border-top: 1px solid var(--ink);
        border-left: 1px solid var(--ink);
    }
    .about-strip .circuit-list li::after {
        left: 23px;
        top: 0;
        width: 22px;
        height: 22px;
    }
    .about-strip .circuit-list li:last-child { margin-bottom: 0; }
    .about-strip .circuit-list li:last-child::before { height: 0; }
}
.stories h2 { position: relative; z-index: 1; }
.story-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.stories .story-grid { max-width: 1000px; gap: 50px 250px; margin-top: 80px; }
.stories .story-grid details::before { content: none; }
.stories .story-grid summary { font-size: 24px; line-height: 1.14; padding-right: 0; }
.stories .story-grid p { font-size: 14px; margin-top: 28px; }
@media (min-width: 761px) {
    .stories .story-grid summary img { display: none; }
    .stories.notched::after { left: calc(25% - 18px); }
}
@media (min-width: 1800px) {
    .stories .story-grid { max-width: 1440px; column-gap: 300px; }
    .stories .story-grid summary { font-size: 35px; }
    .stories .story-grid p { font-size: 20px; }
}
@media (max-width: 1050px) {
    .stories .story-grid { column-gap: 150px; }
    .stories .story-grid summary { font-size: 22px; }
}
@media (max-width: 760px) {
    .story-connections { display: none; }
    .stories .story-grid { grid-template-columns: minmax(0,1fr); gap: 30px; margin-top: 45px; }
    .stories .story-grid summary { padding-right: 30px; }
    .stories .story-grid p { font-size: 16px; margin-top: 20px; }
}
.home-hero .hero-question { font-style: italic; }
.client-logos { display: block; overflow: hidden; --client-gap: 60px; }
.client-track { display: flex; align-items: center; gap: var(--client-gap); transform: translateX(calc((100% + var(--client-gap)) / -3)); }
.client-logos .client-track img { display: block; flex: 0 0 calc((100% - 2 * var(--client-gap)) / 3); min-width: 0; }
@media (max-width: 760px) {
    .client-logos { --client-gap: 15px; }
    .client-carousel { gap: 10px; }
    .client-track img { height: 70px; }
}
.data-benefits { background: var(--ink); color: white; }
.data-section-heading { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 90px; }
.data-benefit-grid { list-style: none; padding: 0; margin: 65px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 85px; }
.data-benefit-grid li { border-top: 2px solid var(--yellow); padding-top: 25px; margin: 0; }
.data-benefit-grid h3 { font-size: 26px; }
.data-benefit-grid p { margin-top: 20px; }
.data-expertise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 70px; margin-top: 65px; }
.data-expertise-grid article { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 24px; border-top: 2px solid var(--ink); padding-top: 25px; }
.data-step { font-size: 35px; font-weight: 800; }
.data-expertise-grid h3 { font-size: 26px; }
.data-expertise-grid p { margin-top: 20px; }
@media (min-width: 761px) {
    .data-opening { align-items: end; }
    .aquacore-audience h2 { order: 2; }
    .aquacore-audience .circuit-list { order: 1; }
}
@media (min-width: 1800px) {
    .data-hero-visual { width: 590px; height: 590px; bottom: -60px; }
}
@media (max-width: 1050px) {
    .data-section-heading { gap: 45px; }
    .data-benefit-grid, .data-expertise-grid { column-gap: 45px; }
    .data-hero-visual { width: 350px; height: 350px; }
}
@media (max-width: 760px) {
    .data-hero-visual { width: 250px; height: 250px; bottom: -30px; right: -20px; }
    .data-section-heading, .data-benefit-grid, .data-expertise-grid { grid-template-columns: minmax(0,1fr); gap: 35px; }
    .data-section-heading h2, .data-expertise h2 { font-size: 27px; }
    .data-benefit-grid, .data-expertise-grid { margin-top: 40px; }
    .data-benefit-grid h3, .data-expertise-grid h3 { font-size: 20px; }
    .data-expertise-grid article { grid-template-columns: 35px minmax(0,1fr); gap: 16px; }
    .data-step { font-size: 26px; }
    .data-goldmine h2 { order: -1; }
}
