﻿:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --gray-color: #888888;
    --font-main: 'Inter', sans-serif;
    --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2000001;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-follower.active {
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.trail-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    position: relative;
    color: var(--text-color);
}

.nav-logo::before {
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 2px;
    text-shadow: -3px 0 #ff00c1, 3px 2px #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.nav-logo::after {
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: -2px;
    text-shadow: -3px 0 #00fff9, 3px -2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 60px, 0);
    }

    15% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(20px, 9999px, 70px, 0);
    }

    25% {
        clip: rect(90px, 9999px, 30px, 0);
    }

    30% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    35% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(40px, 9999px, 10px, 0);
    }

    45% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    50% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    55% {
        clip: rect(50px, 9999px, 30px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    65% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    70% {
        clip: rect(90px, 9999px, 70px, 0);
    }

    75% {
        clip: rect(30px, 9999px, 20px, 0);
    }

    80% {
        clip: rect(60px, 9999px, 90px, 0);
    }

    85% {
        clip: rect(40px, 9999px, 50px, 0);
    }

    90% {
        clip: rect(70px, 9999px, 10px, 0);
    }

    95% {
        clip: rect(20px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(50px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    10% {
        clip: rect(30px, 9999px, 90px, 0);
    }

    15% {
        clip: rect(80px, 9999px, 40px, 0);
    }

    20% {
        clip: rect(50px, 9999px, 10px, 0);
    }

    25% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    30% {
        clip: rect(90px, 9999px, 30px, 0);
    }

    35% {
        clip: rect(40px, 9999px, 70px, 0);
    }

    40% {
        clip: rect(70px, 9999px, 20px, 0);
    }

    45% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    50% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    55% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 40px, 0);
    }

    65% {
        clip: rect(50px, 9999px, 90px, 0);
    }

    70% {
        clip: rect(20px, 9999px, 30px, 0);
    }

    75% {
        clip: rect(70px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 10px, 0);
    }

    85% {
        clip: rect(90px, 9999px, 50px, 0);
    }

    90% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    95% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 70px, 0);
    }
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
    z-index: 101;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s var(--easing);
}

.hamburger-btn.active span:first-child {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--easing);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Nav Links */
.mobile-nav-overlay a,
.mobile-link {
    font-size: 2rem;
    margin: 1.5rem 0;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-link:focus,
.mobile-link:active {
    outline: none;
    background: transparent;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title .line {
    overflow: hidden;
}

.hero-title span {
    display: block;
    transform: translateY(100%);
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
    transition: color 0.5s;
    display: inline-block;
}

.hero-title .highlight:hover {
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    display: flex;
    justify-content: center;
}

.type-text {
    border-bottom: 2px solid #0000C5;
    padding-bottom: 2px;
}

.cursor {
    color: #0000C5;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Sections */
section {
    padding: 8rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Visual Hook */
.visual-hook {
    width: 100%;
    /* Use 100% instead of 100vw to avoid scrollbar */
    height: 60vh;
    padding: 0 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.visual-hook video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* NIEUW: Schuift de focus iets naar boven (minder dan de standaard 50%) */
    object-position: center 40%;
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 80px rgba(0, 0, 197, 0.25);
    will-change: transform;
    transform: scale(1.1);
    filter: brightness(0.85);
}

/* About */
/* About */
.about {
    padding: 128px 0;
}

.about .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 64px;
    align-items: start;
    /* Align top of text with top of title */
}

.about .section-header {
    grid-column: 1 / span 7;
    margin-bottom: 0;
    position: sticky;
    top: 128px;
    align-self: start;
}

.about-content {
    grid-column: 8 / span 5;
    display: flex;
    /* To easily stack p buttons */
    flex-direction: column;
}

.about-content p {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
    color: var(--gray-color);
    margin-bottom: 24px;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.about .contact-btn {
    margin-top: 48px;
    align-self: flex-start;
    /* Align with left side of content column */
}

.about h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.service-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, transform 0.3s;

    /* New Portrait Styling */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-radius: 24px;
    isolation: isolate;
    /* Create new stacking context */
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient Overlay */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.service-card:hover::after {
    opacity: 0.4;
}

.service-card:nth-child(2) {
    min-height: 550px;
}

.service-card:nth-child(3) {
    min-height: 480px;
}

.service-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    block-size: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    filter: grayscale(80%) brightness(0.6) contrast(1.1) sepia(20%) hue-rotate(190deg);
    transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card:hover img {
    filter: grayscale(0%) brightness(1) contrast(1.1) sepia(0%);
    transform: scale(1.05);
}

.card-index {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Helvetica Now Extended', sans-serif;
    /* Fallback will handle if not available */
    font-weight: 800;
    font-size: clamp(40px, 5vw, 80px);
    color: rgba(255, 255, 255, 0.4);
    /* Low opacity */
    line-height: 1;
    text-align: end;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* Floating Animation Class */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--gray-color);
    /* Might need to be lighter if on image */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Contact */
.contact {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-title {
    font-size: 6vw;
    margin-bottom: 3rem;
}

.contact-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border: 1px solid var(--text-color);
    border-radius: 50px;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s var(--easing);
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-arrow {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s var(--easing);
}

.contact-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

/* Footer Layout Update */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Scroll Up Button Styling */
.scroll-top-btn {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.scroll-top-btn:hover {
    color: var(--text-color);
}

.scroll-top-btn .btn-arrow {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover .btn-arrow {
    transform: translateY(-3px);
}

/* Responsive Design */

/* Tablet & Smaller Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 10vw;
    }

    section {
        padding: 6rem 2rem;
    }

    h2 {
        font-size: 3.5rem;
    }
}

/* Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
    .nav {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 12vw;
    }

    h2 {
        font-size: 3rem;
    }

    .about-content p {
        font-size: 1.5rem;
    }

    .desktop-only {
        display: none !important;
    }

    /* Visual Hook Mobile */
    .visual-hook {
        padding: 0;
        height: 20vh;
        /* Updated to 20vh for mobile */
    }

    .visual-hook video {
        border-radius: 0;
        box-shadow: none;
        /* Clean look on mobile */
    }

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

    .cursor-follower {
        display: none;
    }

    .cursor-trail {
        display: none;
    }

    * {
        cursor: auto !important;
    }

    .hamburger-btn {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    /* About Section Mobile */
    .about {
        padding: 64px 0;
        /* Reduced padding for mobile */
    }

    .about .container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .about .section-header,
    .about-content {
        grid-column: auto;
        position: static;
    }

    .about-content p {
        font-size: 1.2rem;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .about h2 {
        font-size: 2.5rem;
        /* Fallback/clamp adjustment if needed */
    }

    .about .contact-btn {
        margin-top: 32px;
    }

    /* Mobile Service Card Adjustments */
    @media (max-width: 768px) {
        .service-card {
            min-height: 400px;
            padding: 2rem;
            padding-bottom: 2.5rem;
            position: relative;
            /* Cruciaal om de gradient en index te positioneren */
            isolation: isolate;
            /* Zorgt dat z-index binnen de kaart blijft werken */
        }

        .service-card::after {
            content: "";
            /* Maakt het element actief */
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
            z-index: 1;
            /* Komt bovenop de afbeelding */
            pointer-events: none;
            /* Je kunt nog steeds door de gradient heen klikken */
        }

        /* Zorg dat de tekst BOVEN de gradient (z-index 1) komt te staan */
        .service-card h3,
        .service-card p {
            position: relative;
            z-index: 2;
        }

        .card-index {
            font-size: 2rem;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 2;
            /* Ook het nummer moet boven de gradient */
        }

        /* Override specifieke hoogtes van desktop */
        .service-card:nth-child(2),
        .service-card:nth-child(3) {
            min-height: 400px;
        }

        .service-card h3 {
            font-size: 1.25rem;
        }
    }

    /* Mobile (max-width: 480px) */
    @media (max-width: 480px) {
        .container {
            padding: 0 1rem;
        }

        .hero-title {
            font-size: 14vw;
            margin-top: 2rem;
            margin-bottom: 1.5rem;
        }

        .hero-subtitle {
            font-size: 1rem;
            padding: 0 1rem;
        }

        section {
            padding: 4rem 1.5rem;
        }

        h2 {
            font-size: 2.5rem;
        }

        .about-content p {
            font-size: 1.2rem;
        }

        .contact-title {
            font-size: 12vw;
        }

        .footer-content {
            flex-direction: column;
            gap: 1.5rem;
            text-align: center;
        }

        .socials a {
            margin: 0 0.75rem;
        }
    }
}

@media (max-width: 767px) {
    .visual-hook {
        padding: 0 !important;
        /* Forceert de video van rand tot rand */
    }

    .visual-hook video {
        border-radius: 0;
        box-shadow: none;
        transform: scale(1.05);
    }
}

/* Insights */
.insights {
    padding: 128px 0;
}

.insights .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    max-width: 1400px;
}

.insights .section-header {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 64px;
}

.insight-card {
    grid-column: span 4;
    background-color: transparent;
    transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
}

/* Featured Card (First Item) */
.insight-card:nth-of-type(1) {
    grid-column: 1 / 8;
    grid-row: 2 / 4;
}

.insight-card:nth-of-type(1) .card-image img {
    aspect-ratio: 16/10;
}

.insight-card:nth-of-type(1) h3 {
    font-size: 4rem;
}

/* Second Card */
.insight-card:nth-of-type(2) {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

/* Third Card */
.insight-card:nth-of-type(3) {
    grid-column: 8 / 13;
    grid-row: 3 / 4;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 197, 0.1);
}

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    cursor: pointer;
}

.card-image {
    width: 100%;
    margin-bottom: 0;
}

.card-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    filter: grayscale(80%) brightness(0.6) contrast(1.1) sepia(20%) hue-rotate(190deg);
    transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.insight-card:hover .card-image img {
    transform: scale(1.02);
    filter: grayscale(0%) brightness(1) contrast(1.1) sepia(0%);
}

.card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-label {
    font-size: 0.8rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 24px;
    margin-bottom: 8px;
    display: block;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.insight-card:hover h3 {
    color: #0000C5;
}

.read-more {
    margin-top: auto;
    color: #0000C5;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    transition: color 0.3s;
    border: none;
    background: none;
    color: var(--gray-color);
    /* Removed blue color */
}

.read-more .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s var(--easing);
}

.read-more:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Responsiveness for Insights */
@media (max-width: 1024px) {

    .insight-card,
    .insight-card:nth-of-type(1),
    .insight-card:nth-of-type(2),
    .insight-card:nth-of-type(3) {
        grid-column: span 12;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .insights {
        padding: 64px 0;
    }

    .insights .container {
        display: block;
    }

    .insight-card {
        margin-bottom: 48px;
    }

    .insight-card:last-child {
        margin-bottom: 0;
    }

    .insights .section-header {
        margin-bottom: 48px;
    }
}


/* Global Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* Space between arrow and text */
    padding: 12px 24px;
    margin-top: 64px;
    /* Move the inline style to CSS for consistency */

    /* Hardening the layout */
    white-space: nowrap;
    /* PREVENTS VERTICAL STACKING */
    flex-shrink: 0;
    /* PREVENTS SQUASHING */

    /* Visuals */
    border: 1px solid var(--gray-color);
    /* Subtle border */
    border-radius: 100px;
    /* Pill shape */
    color: var(--text-color);
    background-color: transparent;

    /* Typography */
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;

    /* Interaction */
    cursor: pointer;
    /* Override global cursor: none if necessary, or integrate with custom cursor */
    transition: all 0.4s var(--easing);
}

.back-btn:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: var(--bg-color);
    /* Invert colors on hover */
    transform: translateY(-2px);
}

.back-btn .btn-arrow {
    transition: transform 0.4s var(--easing);
}

.back-btn:hover .btn-arrow {
    transform: translateX(-4px);
    /* Animate arrow slightly */
}

/* Typography Portal */
.typography-portal {
    height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #050505;
    /* Terug naar solide zwart */
    padding: 0;
    z-index: 5;
}

.portal-marquee {
    width: 100%;
    white-space: nowrap;
}

.marquee-content {
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 800;
    color: transparent;
    /* Behoud de duidelijke witte omlijning voor de woorden */
    -webkit-text-stroke: 5px rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    will-change: transform;
}

/* De Blauwe Accent Stippen */
.marquee-content .dot {
    color: #0000C5;
    /* De blauwe brand kleur */
    -webkit-text-stroke: 0;
    /* Geen omlijning, maar een solide stip */
}

/* Verwijder de .pulse overrides voor achtergrond en tekstgloed */
.typography-portal.pulse {
    background-color: #050505;
}

.typography-portal.pulse .marquee-content {
    text-shadow: none;
    background: none;
}

@media (max-width: 768px) {
    .typography-portal {
        height: 40vh;
    }

    .marquee-content {
        font-size: 25vw;
        -webkit-text-stroke: 4px rgba(255, 255, 255, 0.7) !important;
    }
}

/* About Portrait Styles */
.about-portrait {
    grid-column: span 4;
    align-self: start;
    margin-top: 48px;
    z-index: 2;
    pointer-events: auto;
}

.about-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 197, 0.15));
    border-radius: 0 0 100px 100px;
    /* Matcht de ronde onderkant van de foto */
    will-change: transform;
}

@media (max-width: 768px) {
    .about-portrait {
        grid-column: span 12;
        max-width: 280px;
        margin: 0 auto 32px auto;
        text-align: center;
    }
}

/* Service Article Banner */
.article-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Iets hoger voor meer impact */
    overflow: hidden;
    margin-bottom: 64px;
}

/* De donkere filter laag */
.article-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
}

.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Versterkte filters om onscherpte te maskeren */
    filter: grayscale(100%) brightness(0.4) contrast(1.2);
    transform: scale(1.05);
    /* Subtiele zoom voor parallax ruimte */
}

/* Uitzondering voor zeer donkere bronfoto's */
.article-banner.lighter-filter::after {
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.5) 100%);
}

.article-banner.lighter-filter img {
    filter: grayscale(100%) brightness(0.8) contrast(1.1);
}

/* Ensure content sits above banner overlay if overlapping, or generally generally safe */
.service-page .container {
    position: relative;
    z-index: 2;
}

.service-intro {
    grid-column: 3 / span 8;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 96px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .article-banner {
        height: 40vh;
    }

    .service-intro {
        grid-column: 1 / -1;
        font-size: 1.25rem;
        margin-bottom: 64px;
    }
}

@media (max-width: 768px) {
    .about-page .container {
        display: block !important;
        padding: 0 24px;
    }

    .about-page h1,
    .about-page h2,
    .about-page p {
        grid-column: span 12 !important;
        width: 100% !important;
    }
}

.platform-links {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    grid-column: 3 / span 8;
}

@media (max-width: 768px) {
    .platform-links {
        flex-direction: column;
        grid-column: 1 / -1;
    }

    .platform-links .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

.contact-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

/* Secundaire knop stijl */
.contact-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--gray-color);
}

.contact-btn.secondary:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: transparent;
}

@media (max-width: 768px) {
    .contact-actions {
        flex-direction: column;
        gap: 16px;
    }
}


/* Grid Helpers */
.grid-split-section,
.grid-stacked-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
}

/* Portrait Video Styling */
.visual-portrait video {
    width: 100%;
    height: auto;
    border-radius: 24px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    filter: brightness(0.9);
    /* Subtiel iets donkerder voor sfeer */
    transition: transform 0.6s var(--easing), filter 0.6s ease;
}

.visual-portrait:hover video {
    transform: scale(1.02);
    filter: brightness(1);
}

/* Landscape Video Styling */
.visual-landscape video {
    width: 100%;
    height: auto;
    border-radius: 24px;
    aspect-ratio: 16 / 9;
    /* Of 21/9 voor ultra-wide effect */
    object-fit: cover;
    transition: transform 0.6s var(--easing);
}

.visual-landscape:hover video {
    transform: scale(1.01);
}

/* Mobile Responsiveness for Mixed Media */
@media (max-width: 768px) {

    .grid-split-section,
    .grid-stacked-section {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .visual-portrait {
        width: 100%;
        max-width: 300px;
        /* Niet te gigantisch op mobiel */
        margin: 0 auto;
    }

    .visual-landscape {
        width: 100%;
    }
}

/* --- R&D & Manifesto Grid Layout (FINAL V66) --- */
.rd-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 128px;
    counter-reset: section-counter;
}

/* De Container */
.rd-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 64px;
    border-top: none;
    align-items: start;
    overflow: hidden;
}

/* Nummers */
.rd-number {
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-main);
    font-size: 14rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* --- Standaard Layout --- */
.rd-row .section-title {
    grid-column: 1 / span 5;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: left;
    font-size: clamp(3rem, 5vw, 4.5rem) !important;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #0000C5;
    margin-top: -6px;
    white-space: nowrap;
}

.rd-row .text-content {
    grid-column: 7 / span 6;
    position: relative;
    z-index: 2;
}

/* Hier fixen we de tekst stijl specifiek voor dit grid */
.rd-row .text-content p {
    font-size: 1.5rem !important;
    /* Forceer de grootte */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

.rd-row .text-content p:last-child {
    margin-bottom: 0;
}

/* --- Reversed Layout --- */
.rd-row.reversed .section-title {
    grid-column: 8 / span 5;
    text-align: left;
}

.rd-row.reversed .text-content {
    grid-column: 1 / span 6;
}

.rd-row.reversed .rd-number {
    left: auto;
    right: -10px;
}

/* --- Mobile --- */
@media (max-width: 1024px) {

    .rd-row .section-title,
    .rd-row.reversed .section-title {
        white-space: normal;
        font-size: 3.5rem !important;
    }
}

@media (max-width: 768px) {

    .rd-row,
    .rd-row.reversed {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .rd-row .section-title,
    .rd-row.reversed .section-title {
        font-size: 2.8rem !important;
        width: 100%;
    }

    .rd-number {
        font-size: 8rem;
        top: 0px;
    }
}

/* De Outro Statement */
.service-outro {
    grid-column: 2 / span 10;
    text-align: center;
    margin-bottom: 96px;
    padding: 0 1rem;
}

.service-outro p {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-outro p {
        font-size: 1.75rem;
        text-align: left;
    }
}

/* Podcast Editorial Layout */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    margin-bottom: 96px;
    align-items: start;
}

.podcast-text-col {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 64px;
    /* Ruimte tussen de tekstblokken */
}

.podcast-visual-col {
    grid-column: 9 / span 4;
    position: sticky;
    top: 150px;
    /* Blijft hangen als je scrollt (desktop) */
}

.podcast-image-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.podcast-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Brand Consistency: Zwart/wit filter standaard */
    filter: grayscale(100%) brightness(0.8) contrast(1.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Kleur komt terug bij hover */
.podcast-image-wrapper:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.03);
}

.podcast-footer-section {
    grid-column: 1 / -1;
    margin-top: 64px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .podcast-grid {
        display: flex;
        flex-direction: column-reverse;
        /* Foto boven tekst op tablet/mobiel */
        gap: 48px;
    }

    .podcast-visual-col {
        width: 100%;
        max-width: 500px;
        position: static;
        /* Geen sticky op mobiel */
    }
}

/* --- About Page Header Repair (V69) --- */

/* 1. De Titel: Weer gigantisch en strak */
.about-hero {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 64px;
    margin-top: 0;
    max-width: 100%;
}

/* 2. De Portretfoto: Getemd naar een normaal formaat */
.about-portrait {
    width: 100%;
    max-width: 500px;
    /* Voorkomt dat hij beeldvullend wordt */
    margin: 0 0 64px 0;
    /* Ruimte aan de onderkant */
    position: relative;
    z-index: 1;
}

.about-portrait img {
    width: 100%;
    height: auto;
    border-radius: 0 0 100px 100px;
    /* De kenmerkende ronding */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 197, 0.15));
}

/* 3. De Introductietekst: Groot en leesbaar (Lead Paragraph) */
.intro-block {
    margin-bottom: 96px;
    max-width: 900px;
    /* Niet te breed voor leesbaarheid */
}

.intro-block p {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    /* Veel groter dan standaard tekst */
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Mobile aanpassing voor de header */
@media (max-width: 768px) {
    .about-hero {
        font-size: 14vw;
        margin-bottom: 48px;
    }

    .about-portrait {
        max-width: 100%;
        /* Op mobiel mag hij wel breed */
        margin-bottom: 48px;
    }
}