/* ========================================
   STORM WITHIN
   COLOURS
======================================== */

:root {
    --lemon: #F7E493;
    --ruby: #570300;
    --green: #B9C29A;
    --cream: #FFFDF6;

    --text: #570300;

    --max-width: 1200px;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--lemon);
    color: var(--text);
    line-height: 1.65;
}


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


a {
    color: inherit;
}


.container {
    width: min(90%, var(--max-width));
    margin-inline: auto;
}


.narrow {
    max-width: 820px;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2 {
    line-height: 1.05;
    font-weight: 800;
}


h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}


h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}


p {
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
}


.eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.4rem;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    background-color: var(--ruby);
    color: var(--lemon);
    padding: 1rem 0;
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}


/* ========================================
   RESPONSIVE LOGO
======================================== */

.logo-link {
    display: block;
    flex-shrink: 0;
}


.site-logo {
    width: clamp(120px, 18vw, 220px);
    height: auto;
    object-fit: contain;
}


/* ========================================
   NAVIGATION
======================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}


.main-nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}


.main-nav a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background-color: var(--lemon);

    transition: width 0.25s ease;
}


.main-nav a:hover::after {
    width: 100%;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 7rem 0;
}


.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}


.hero-content {
    max-width: 760px;
}


.hero-intro {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.6;
}


.hero-card {
    min-height: 480px;
    background-color: var(--green);

    padding: clamp(2rem, 4vw, 3.5rem);

    border-radius: 0 80px 0 80px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.hero-card-small {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}


.hero-card-big {
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 0;
}
.hero-card {
    width: 100%;
    min-width: 0;

    background-color: var(--green);

    padding: clamp(2rem, 5vw, 4rem);

    border-radius: 0 110px 0 110px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Belangrijk:
       tekstgrootte reageert nu op de KAART,
       niet alleen op het volledige scherm */
    container-type: inline-size;
}

.hero-card-small {
    font-size: clamp(0.75rem, 2.5cqi, 1rem);

    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;

    margin-bottom: 2rem;
}

.hero-card-big {
    /*
       cqi = percentage van de breedte van deze container.
       Daardoor schaalt de tekst mee met het groene vlak.
    */

    font-size: clamp(2.3rem, 10cqi, 5.5rem);

    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -0.035em;

    margin: 0;

    max-width: 100%;
}

/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-block;

    margin-top: 1.5rem;
    padding: 1rem 1.7rem;

    border-radius: 100px;

    text-decoration: none;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.button:hover {
    transform: translateY(-3px);
    opacity: 0.88;
}


.button-primary {
    background-color: var(--ruby);
    color: var(--lemon);
}


.button-secondary {
    background-color: var(--lemon);
    color: var(--ruby);
}


/* ========================================
   INTRO
======================================== */

.intro-section {
    background-color: var(--cream);
    padding: 8rem 0;
}


.intro-section p {
    font-size: 1.2rem;
}


.intro-highlight {
    margin-top: 3rem;
    padding-left: 1.5rem;

    border-left: 5px solid var(--ruby);

    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
    line-height: 1.3;
    font-weight: 800;
}


/* ========================================
   CONTENT SECTIONS
======================================== */

.content-section {
    padding: 8rem 0;
}


.parent-section {
    background-color: var(--green);
}


.business-section {
    background-color: var(--lemon);
}


.child-section {
    background-color: var(--cream);
}


.section-grid {
    display: grid;
    grid-template-columns: 0.28fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}


.section-number {
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.8;
    font-weight: 900;
    opacity: 0.15;
}


.section-content {
    max-width: 780px;
}


/* ========================================
   TOPICS
======================================== */

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
}


.topics span {
    border: 2px solid var(--ruby);
    border-radius: 100px;

    padding: 0.65rem 1.1rem;

    font-size: 0.9rem;
    font-weight: 700;
}


/* ========================================
   STATEMENT
======================================== */

.statement-section {
    background-color: var(--ruby);
    color: var(--lemon);
    padding: 7rem 0;
}


.statement-inner {
    max-width: 950px;
    text-align: center;
}


.statement {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}


/* ========================================
   ABOUT
======================================== */

.about-section {
    background-color: var(--green);
    padding: 8rem 0;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
}


.about-content {
    max-width: 620px;
}


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

.home-about {
    background-color: var(--cream);
    padding: 8rem 0;
}

.home-about-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);

    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.home-about-image {
    overflow: hidden;

    border-radius: 0 90px 0 90px;

    aspect-ratio: 4 / 5;
}

.home-about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.home-about-content {
    max-width: 680px;
}

@media (max-width: 900px) {

    .home-about-grid {
        grid-template-columns: 1fr;
    }

    .home-about-image {
        max-width: 550px;
    }

}

@media (max-width: 600px) {

    .home-about {
        padding: 5rem 0;
    }

    .home-about-image {
        border-radius: 0 55px 0 55px;
    }

}

/* ========================================
   CTA
======================================== */

.cta-section {
    background-color: var(--ruby);
    color: var(--lemon);

    padding: 8rem 0;

    text-align: center;
}


.cta-inner {
    max-width: 800px;
}


.cta-inner p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    background-color: var(--lemon);
    color: var(--ruby);

    padding: 4rem 0;
}


.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.footer-logo-link {
    display: block;
    margin-bottom: 2rem;
}


.footer-logo {
    width: clamp(130px, 20vw, 230px);
    height: auto;
    object-fit: contain;
}


.copyright {
    margin-top: 1.5rem;

    font-size: 0.85rem;
    opacity: 0.7;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .header-inner {
        flex-direction: column;
        gap: 1.3rem;
    }


    .site-logo {
        width: clamp(140px, 30vw, 200px);
    }


    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }


    .hero {
        min-height: auto;
    }


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


    .hero-card {
        min-height: 350px;
    }


    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .section-number {
        font-size: 5rem;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .container {
        width: min(88%, var(--max-width));
    }


    .site-header {
        padding: 1.2rem 0;
    }


    .site-logo {
        width: min(55vw, 180px);
    }


    .main-nav {
        gap: 0.6rem 1rem;
    }


    .main-nav a {
        font-size: 0.82rem;
    }


    .hero,
    .intro-section,
    .content-section,
    .statement-section,
    .about-section,
    .cta-section {
        padding: 5rem 0;
    }


    .hero-card {
        min-height: 300px;
        border-radius: 0 50px 0 50px;
    }


    .topics {
        gap: 0.5rem;
    }


    .topics span {
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
    }


    .intro-highlight {
        padding-left: 1rem;
        border-left-width: 4px;
    }

}