/* ============================================
   Het Huis — theme.css
   V2 huisstijl baseline: clay / olive / paper + General Sans
   Aanvullingen op Tailwind die niet via utility classes te bereiken zijn
   ============================================ */

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FAF7F1;
    color: #262220;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

h1, h2, h3, h4 { color: #262220; margin: 0; }
h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: #4A413A; max-width: 65ch; margin: 0; }

a { color: inherit; }

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

/* Eyebrow label */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #A05A3A;
}

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 3rem; } }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}
.btn-primary { background: #A05A3A; color: #FAF7F1; }
.btn-primary:hover { background: #7E3E24; }
.btn-secondary { background: transparent; color: #262220; border-color: #262220; }
.btn-secondary:hover { background: #262220; color: #FAF7F1; }
.btn-white { background: #FAF7F1; color: #262220; }
.btn-white:hover { background: white; }
.btn-ghost-white { background: transparent; color: #FAF7F1; border-color: rgba(250, 247, 241, 0.3); }
.btn-ghost-white:hover { background: rgba(250, 247, 241, 0.1); border-color: #FAF7F1; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ----- Nav ----- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 247, 241, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #D7CFBD;
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 0;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: none; gap: 2rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: #4A413A; text-decoration: none; font-size: 0.9375rem; transition: color 0.15s; }
.nav-links a:hover { color: #A05A3A; }
.nav-links a.active { color: #262220; font-weight: 500; }
/* Buttons binnen nav: respecteer btn-primary kleuren */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #FAF7F1; }
.nav-links a.btn-secondary { color: #262220; }
.nav-links a.btn-secondary:hover { color: #FAF7F1; }
.nav-lang { font-size: 0.8125rem; color: #8C8379; letter-spacing: 0.02em; }
.nav-lang a { color: inherit; }
.nav-lang .active { color: #262220; font-weight: 500; }
.nav-hamburger {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-hamburger span { width: 22px; height: 1.5px; background: #262220; transition: transform 0.2s; }
@media (min-width: 1024px) {
    .nav-links { display: flex; }
    .nav-hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 100;
    background: #FAF7F1;
    transform: translateX(100%); transition: transform 0.3s ease;
    padding: 2rem 1.5rem; overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-menu__close {
    background: transparent; border: 1px solid #D7CFBD; border-radius: 9999px;
    width: 2.25rem; height: 2.25rem; cursor: pointer; font-size: 1.25rem; color: #262220;
}
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list li { border-bottom: 1px solid #EFE9DB; }
.mobile-menu__list a {
    display: block; padding: 1.1rem 0; font-size: 1.125rem;
    color: #262220; text-decoration: none;
}
.mobile-menu__cta { margin-top: 2rem; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }

/* ----- Sections ----- */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-paper { background: #FAF7F1; }
.section-linen { background: #EFE9DB; }
.section-ink { background: #262220; color: #FAF7F1; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #FAF7F1; }
.section-ink p { color: #D7CFBD; }
.section-ink .eyebrow { color: #A8AC84; }

/* ----- Hero (asymmetric split + bento) ----- */
.hero { padding: 4rem 0 3rem; }
@media (min-width: 768px) { .hero { padding: 6rem 0 4rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: end; }
}
.hero-title-col h1 { margin-top: 1rem; }
.hero-meta {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid #D7CFBD;
    font-size: 0.875rem; color: #4A413A;
}
.hero-meta strong { color: #262220; font-weight: 600; display: block; font-size: 1.25rem; letter-spacing: -0.01em; }
.hero-meta span { display: block; font-size: 0.75rem; color: #8C8379; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }
.hero-copy-col { padding-bottom: 1rem; }
.hero-copy-col p { font-size: 1.125rem; line-height: 1.6; margin-top: 0; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-bento {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 180px 180px 180px;
    gap: 0.75rem;
}
.hero-bento figure { margin: 0; position: relative; overflow: hidden; border-radius: 0.5rem; }
.hero-bento img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bento figcaption {
    position: absolute; left: 0.875rem; bottom: 0.75rem;
    font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #FAF7F1;
    padding: 0.35rem 0.6rem;
    background: rgba(38, 34, 32, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 999px;
}
.bento-a { grid-column: 1 / -1; grid-row: 1 / 3; }
.bento-b { grid-column: 1 / 2; grid-row: 3 / 4; }
.bento-c { grid-column: 2 / 3; grid-row: 3 / 4; }
.bento-d { display: none; }
@media (min-width: 768px) {
    .hero-bento {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: 220px 220px 220px;
        gap: 1rem;
    }
    .bento-a { grid-column: 1 / span 7; grid-row: 1 / span 3; }
    .bento-b { grid-column: 8 / span 5; grid-row: 1 / span 1; }
    .bento-c { grid-column: 8 / span 2; grid-row: 2 / span 2; }
    .bento-d { display: block; grid-column: 10 / span 3; grid-row: 2 / span 2; }
}

/* Hero variant (sub-pages — eenvoudige split) */
.hero-simple { padding: 4rem 0 3rem; }
@media (min-width: 768px) { .hero-simple { padding: 6rem 0 4rem; } }
.hero-simple-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-simple-grid { grid-template-columns: 6fr 6fr; gap: 4rem; } }
.hero-simple-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }

/* ----- USPs ----- */
.usp-intro { max-width: 780px; margin-bottom: 3rem; }
.usp-intro p { margin-top: 1rem; font-size: 1.0625rem; }
.usps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .usps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usps-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }
.usp { padding-top: 1.5rem; border-top: 1px solid #D7CFBD; }
.usp-number {
    display: inline-block; font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.1em; color: #A05A3A; margin-bottom: 1.5rem;
}
.usp h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.usp p { font-size: 0.9375rem; line-height: 1.55; color: #4A413A; }

/* ----- Services / segment cards ----- */
.services-intro { margin-bottom: 3rem; max-width: 780px; }
.services-intro p { margin-top: 1rem; font-size: 1.0625rem; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.service-card {
    display: block; text-decoration: none; color: inherit;
    background: #FAF7F1;
    border: 1px solid rgba(215, 207, 189, 0.7);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(38, 34, 32, 0.06); }
.service-card-image { aspect-ratio: 16/10; width: 100%; object-fit: cover; display: block; }
.service-card-body { padding: 1.5rem 1.75rem 1.75rem; }
.service-card .eyebrow { color: #6B6E43; margin-bottom: 0.5rem; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9375rem; margin-bottom: 1rem; }
.service-card-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.9375rem; font-weight: 500; color: #262220;
}
.service-card:hover .service-card-arrow { color: #A05A3A; }

/* ----- Split (interior + founders) ----- */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
    .split-grid { grid-template-columns: 6fr 5fr; gap: 5rem; }
    .split-grid--reverse { grid-template-columns: 5fr 6fr; }
    .split-grid--reverse .split-image-wrap { order: 2; }
}
.split-image-wrap img { width: 100%; border-radius: 0.5rem; aspect-ratio: 4/5; object-fit: cover; }
.split-text h2 { margin: 1rem 0 1.5rem; }
.split-text p { font-size: 1.0625rem; margin-bottom: 1rem; }
.split-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.split-list li {
    position: relative; padding-left: 1.5rem;
    margin-bottom: 0.85rem; color: #4A413A; font-size: 1rem;
}
.split-list li::before {
    content: ''; position: absolute; left: 0; top: 0.7rem;
    width: 0.75rem; height: 1px; background: #A05A3A;
}

.founders-row {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 2.25rem; padding-top: 1.5rem;
    border-top: 1px solid #D7CFBD;
}
.founders-row .avatars { display: flex; }
.founders-row .avatars span {
    width: 44px; height: 44px; border-radius: 50%;
    background: #D7CFBD; border: 2px solid #EFE9DB;
    margin-left: -10px; font-size: 0.875rem; font-weight: 600; color: #4A413A;
    display: inline-flex; align-items: center; justify-content: center;
}
.founders-row .avatars span:first-child { margin-left: 0; background: #A8AC84; color: #262220; }
.founders-row .avatars .avatar-g { background: #C99A6B; }
.founders-row p { font-size: 0.9375rem; margin: 0; }
.founders-row strong { color: #262220; font-weight: 600; }

/* ----- Partners strip (in donkere sectie) ----- */
.partners-strip {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; padding: 2.5rem 0;
    border-top: 1px solid rgba(215, 207, 189, 0.2);
    border-bottom: 1px solid rgba(215, 207, 189, 0.2);
    margin-top: 3rem;
}
@media (min-width: 768px) { .partners-strip { grid-template-columns: repeat(4, 1fr); } }
.partner-item {
    display: flex; align-items: center; justify-content: center;
    color: #A8AC84; font-size: 0.8125rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500; text-align: center;
}

/* Quote */
.quote-block { max-width: 900px; }
.quote-block blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35;
    font-weight: 500; letter-spacing: -0.01em;
    margin: 2rem 0 1.5rem; color: #FAF7F1;
}
.quote-attribution { font-size: 0.875rem; letter-spacing: 0.05em; color: #D7CFBD; }

/* CTA banner */
.cta-banner { padding: 5rem 0; background: #A05A3A; color: #FAF7F1; position: relative; overflow: hidden; }
@media (min-width: 768px) { .cta-banner { padding: 7rem 0; } }
.cta-banner h2 { color: #FAF7F1; max-width: 720px; }
.cta-banner p { color: rgba(250, 247, 241, 0.85); max-width: 560px; margin-top: 1rem; font-size: 1.0625rem; }
.cta-banner .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.cta-meta {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(250, 247, 241, 0.15);
    font-size: 0.875rem; color: rgba(250, 247, 241, 0.7);
}
.cta-meta strong { color: #FAF7F1; font-weight: 500; }

/* Smaller CTA banner variant (sub-pagina's) */
.cta-banner--compact { padding: 4rem 0; }
@media (min-width: 768px) { .cta-banner--compact { padding: 5rem 0; } }

/* ----- Footer ----- */
.footer { background: #262220; color: #D7CFBD; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.footer h4 {
    color: #FAF7F1; font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a { color: #D7CFBD; text-decoration: none; font-size: 0.9375rem; }
.footer a:hover { color: #FAF7F1; }
.footer-tagline { color: #8C8379; font-size: 0.875rem; margin-top: 1rem; max-width: 280px; }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(215, 207, 189, 0.15);
    display: flex; flex-wrap: wrap;
    justify-content: space-between; gap: 1rem;
    font-size: 0.8125rem; color: #8C8379;
}
.footer-bottom a { color: #8C8379; }
.footer-bottom a:hover { color: #D7CFBD; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-legal { font-size: 0.75rem; color: #6B6E43; margin-top: 0.5rem; }

/* ----- Pricing tabel ----- */
.pricing-table {
    width: 100%; border-collapse: collapse; margin-top: 2rem;
    background: #FAF7F1; border: 1px solid #D7CFBD; border-radius: 0.5rem; overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 1rem 1.25rem; text-align: left;
    border-bottom: 1px solid #EFE9DB;
    font-size: 0.9375rem;
}
.pricing-table th { background: #EFE9DB; font-weight: 600; color: #262220; }
.pricing-table td.price { font-weight: 600; color: #A05A3A; white-space: nowrap; }
.pricing-table tr:last-child td { border-bottom: 0; }

.pricing-grid-3 {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) {
    .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.pricing-card {
    background: #FAF7F1; border: 1px solid #D7CFBD;
    border-radius: 0.5rem; padding: 2rem;
    display: flex; flex-direction: column;
}
.pricing-card .pricing-amount {
    font-size: 2.5rem; font-weight: 600; color: #A05A3A;
    margin: 0.5rem 0; letter-spacing: -0.02em;
}
.pricing-card .pricing-amount span { font-size: 1rem; color: #8C8379; font-weight: 400; }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.pricing-card ul li { padding: 0.5rem 0; border-bottom: 1px solid #EFE9DB; font-size: 0.9375rem; color: #4A413A; }
.pricing-card ul li:last-child { border-bottom: 0; }

/* ----- Office gallery (varied 4-col grid) ----- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure {
    margin: 0; position: relative; overflow: hidden;
    border-radius: 0.5rem; aspect-ratio: 4/3;
    background: #EFE9DB;
}
.gallery-grid img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
    position: absolute; left: 0.75rem; bottom: 0.625rem;
    font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #FAF7F1;
    padding: 0.3rem 0.55rem;
    background: rgba(38, 34, 32, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 999px;
}
@media (min-width: 1024px) {
    .gallery-grid figure.tall { grid-row: span 2; aspect-ratio: 4/6; }
}

/* ----- Floor plan grid ----- */
.floors-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .floors-grid { grid-template-columns: repeat(2, 1fr); } }
.floor-card { background: #FAF7F1; border: 1px solid #D7CFBD; border-radius: 0.5rem; overflow: hidden; }
.floor-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #EFE9DB; }
.floor-card-body { padding: 1.5rem; }

/* ----- Forms ----- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .form-full { grid-column: 1 / -1; }
.form-field label {
    display: block; font-size: 0.8125rem; font-weight: 500;
    color: #4A413A; margin-bottom: 0.4rem; letter-spacing: 0.02em;
}
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.75rem 1rem; font-family: inherit; font-size: 0.9375rem;
    color: #262220; background: #FAF7F1;
    border: 1px solid #D7CFBD; border-radius: 0.5rem;
    transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: 0; border-color: #A05A3A;
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ----- Contact / location ----- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-info { padding-top: 1rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-info li { padding: 0.4rem 0; font-size: 0.9375rem; color: #4A413A; }
.contact-info li strong { color: #262220; font-weight: 600; }
.contact-info a { color: #A05A3A; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.map-embed iframe { width: 100%; height: 360px; border: 0; border-radius: 0.5rem; }

/* ----- Process / steps (used on offices/desks/meetings) ----- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: step; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: 1.5rem; border-top: 1px solid #D7CFBD; counter-increment: step; }
.step::before {
    content: counter(step, decimal-leading-zero);
    display: inline-block; font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.1em; color: #A05A3A; margin-bottom: 1rem;
}
.step h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.step p { font-size: 0.9375rem; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; padding: 4rem 0; }
.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.legal-content h3 { margin: 2rem 0 0.75rem; font-size: 1.125rem; }
.legal-content p, .legal-content li { margin-bottom: 0.75rem; font-size: 0.9375rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content a { color: #A05A3A; }

/* Skip link */
.skip-link {
    position: absolute; left: 0.5rem; top: 0.5rem;
    padding: 0.5rem 1rem; background: #262220; color: #FAF7F1;
    border-radius: 0.5rem; transform: translateY(-150%);
    transition: transform 0.2s; z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
