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

:root {
    --bg:       #F5F1EB;
    --dark:     #0D0D0D;
    --text:     #0D0D0D;
    --muted:    #7A7469;
    --white:    #F5F1EB;
    --border:   rgba(13,13,13,0.11);
    --bd-dark:  rgba(245,241,235,0.11);
    --max:      1200px;
    --pad:      clamp(20px, 5vw, 80px);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── UTILS ─────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}
.label::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: var(--border);
}
.label--dark        { color: rgba(245,241,235,0.35); }
.label--dark::after { background: var(--bd-dark); }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(245,241,235,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--dark);
    padding: 9px 20px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.7; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 100px;
    padding-bottom: 30vh;
    position: relative;
    background-image: url('../../images/peter-beukema-OovEfuIwBOM-unsplash.jpg');
    background-size: 145%;
    background-position: 18% 40%;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to bottom,
        rgba(245,241,235,0.08) 0%,
        rgba(245,241,235,0.50) 42%,
        rgba(245,241,235,0.96) 70%,
        #F5F1EB 84%
    );
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: clamp(20px, min(3vw, 4vh), 56px);
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 {
    font-size: clamp(38px, min(6.5vw, 9vh), 100px);
    font-weight: 300;
    line-height: 1.01;
    letter-spacing: -0.035em;
    max-width: 18ch;
    margin-bottom: clamp(28px, min(4vw, 5vh), 64px);
    animation: fadeUp 0.8s ease 0.28s both;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    padding-top: clamp(20px, min(3vw, 4vh), 44px);
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s ease 0.5s both;
}

.hero-desc {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text);
    max-width: 48ch;
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-dark {
    background: var(--dark);
    color: var(--bg);
}
.btn-dark:hover { opacity: 0.72; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); }

/* ─── STATS ──────────────────────────────────────────────────────────────── */
.stats {
    background: var(--dark);
    color: var(--white);
    padding: clamp(80px, 10vw, 140px) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--bd-dark);
}

.stat {
    padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 48px);
    border-bottom: 1px solid var(--bd-dark);
    border-right: 1px solid var(--bd-dark);
    display: flex;
    flex-direction: column;
}
.stat:nth-child(3n)  { border-right: none; }
.stat:nth-child(n+4) { border-bottom: none; }

.stat-num {
    display: block;
    font-size: clamp(40px, 5.5vw, 84px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stat-desc {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(245,241,235,0.5);
    max-width: 28ch;
    flex: 1;
}

.stat-source {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(245,241,235,0.22);
    margin-top: 14px;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services {
    padding: clamp(80px, 10vw, 140px) 0;
    border-bottom: 1px solid var(--border);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: clamp(60px, 8vw, 96px);
}

.services-header h2 {
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.services-header p {
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    align-self: end;
}

.service {
    display: grid;
    grid-template-columns: 72px 1fr 1fr;
    gap: 32px;
    padding: clamp(24px, 2.5vw, 36px) 0;
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}
.service:last-child { border-bottom: 1px solid var(--border); }

.service-num {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
}

.service-title {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
}

.service-deliverable {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.service-deliverable strong { font-weight: 500; }

/* ─── WHY ────────────────────────────────────────────────────────────────── */
.why {
    background: var(--dark);
    color: var(--white);
    padding: clamp(80px, 10vw, 140px) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 110px);
    align-items: start;
}

.why-headline {
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.025em;
    position: sticky;
    top: 100px;
}

.why-headline em {
    font-style: italic;
    font-weight: 300;
}

.why-points { display: flex; flex-direction: column; }

.why-point {
    padding: clamp(28px, 3vw, 44px) 0;
    border-top: 1px solid var(--bd-dark);
}
.why-point:last-child { border-bottom: 1px solid var(--bd-dark); }

.why-point-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 14px;
}

.why-point-text {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(245,241,235,0.5);
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact { padding: clamp(80px, 10vw, 140px) 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
}

.contact-left h2 {
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.contact-left p {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    max-width: 40ch;
}

.contact-meta {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-meta-item label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-meta-item p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
}

/* ─── FORM ───────────────────────────────────────────────────────────────── */
.form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 300;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--text); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(13,13,13,0.28); }

.form-group textarea { min-height: 110px; }

.form-honeypot { display: none; }

.form-notice {
    font-size: 12px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
}

.form-msg {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}
.form-msg.success { background: rgba(13,13,13,0.04); color: var(--text); }
.form-msg.error   { background: rgba(180,40,40,0.06); color: #7B2020; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-copy {
    font-size: 12px;
    font-weight: 300;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.footer-links a {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ─── LEGAL PAGES ────────────────────────────────────────────────────────── */
.legal-hero {
    padding-top: clamp(120px, 16vw, 200px);
    padding-bottom: clamp(60px, 8vw, 100px);
    border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.legal-title {
    font-size: clamp(38px, 6vw, 80px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.legal-subtitle {
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
    max-width: 60ch;
}

.legal-content {
    padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
}

.legal-grid {
    display: flex;
    flex-direction: column;
    max-width: 780px;
}

.legal-block {
    padding: clamp(32px, 4vw, 52px) 0;
    border-bottom: 1px solid var(--border);
}
.legal-block:last-child { border-bottom: none; }

.legal-block--intro p {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text);
}

.legal-section-title {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.legal-num {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.legal-block p {
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 16px;
}
.legal-block p:last-child { margin-bottom: 0; }

.legal-basis {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--text) !important;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.legal-source {
    font-size: 11px !important;
    color: rgba(13,13,13,0.35) !important;
    margin-top: 20px;
}

.legal-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-meta-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: start;
}

.legal-meta-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 2px;
}

.legal-meta-value {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
}

.legal-meta-value a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s;
}
.legal-meta-value a:hover { border-bottom-color: var(--text); }

.legal-block--contact { border-bottom: none; }

@media (max-width: 600px) {
    .legal-meta-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in {
    opacity: 1;
    transform: none;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ─── IMAGE BLOCKS ───────────────────────────────────────────────────────── */
.img-break {
    margin: 0;
    width: 100%;
    height: clamp(260px, 35vw, 500px);
    overflow: hidden;
}
.img-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(0.82);
}

.img-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: clamp(200px, 25vw, 340px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.img-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.82);
}
.img-mosaic img + img   { border-left: 1px solid var(--border); }
.img-mosaic-solar       { object-position: center 40%; }
.img-mosaic-sunset      { object-position: center 55%; }
.img-mosaic-dam         { object-position: center 35%; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (min-width: 961px) {
    .hero { padding-bottom: 15vh; }
}

@media (min-width: 1600px) {
    .hero { padding-bottom: 30vh; }
}

@media (max-width: 960px) {
    .nav-links { display: none; }

    .hero-bottom { grid-template-columns: 1fr; }
    .hero-actions { justify-content: flex-start; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3n)   { border-right: 1px solid var(--bd-dark); }
    .stat:nth-child(n+4)  { border-bottom: 1px solid var(--bd-dark); }
    .stat:nth-child(even) { border-right: none; }
    .stat:nth-child(5),
    .stat:nth-child(6)    { border-bottom: none; }

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

    .service {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
    }
    .service-desc { grid-column: 2; }

    .why-grid { grid-template-columns: 1fr; }
    .why-headline { position: static; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row     { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat {
        border-right: none !important;
        border-bottom: 1px solid var(--bd-dark) !important;
        padding-right: 0;
    }
    .stat:last-child { border-bottom: none !important; }

    .service {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .service-num { margin-bottom: -4px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }

    .img-mosaic { grid-template-columns: 1fr; height: auto; }
    .img-mosaic img {
        height: 220px;
        border-left: none !important;
    }
    .img-mosaic img + img {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .hero { background-image: none; }
}
