/*
Theme Name: Ambachterhoek
Theme URI: https://ambachterhoek.nl
Author: Mull2media
Author URI: https://mull2media.nl
Description: Ambachterhoek — netwerk voor vakmanschap in glas, kleur en interieur. Filmisch block theme gebaseerd op het Ambachterhoek design-system (filmisch v7).
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ambachterhoek
Tags: full-site-editing, block-theme, custom-colors, custom-menu, wide-blocks
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

/* =========================================================
   ROOT — COLORS, TYPE, SPACING (design-system + filmisch v7)
   ========================================================= */
:root {
    /* Base palette */
    --groen:          #5A6F4A;
    --groen-donker:   #465839;
    --groen-licht:    #7A9465;

    /* Filmische zand */
    --zand:           #E8E3D4;
    --zand-licht:     #F3EFE4;

    /* Filmische neutrals */
    --donker:         #1A1A1A;
    --tekst:          #3D3D3D;
    --wit:            #FFFFFF;

    /* Filmisch v7 — zwart + honing */
    --zwart-film:     #121212;
    --zwart-soft:     #242422;
    --honing:         #C8974B;
    --honing-licht:   #E3B66B;
    --honing-glow:    rgba(200, 151, 75, 0.28);

    /* Accents kept for compatibility */
    --accent-goud:    #B8860B;
    --rood:           #C45C5C;

    /* Semantic */
    --fg-1:           var(--donker);
    --fg-2:           var(--tekst);
    --fg-3:           rgba(26, 26, 26, 0.6);
    --bg-1:           var(--wit);
    --bg-2:           var(--zand-licht);
    --bg-3:           var(--zand);

    --border-soft:    rgba(26, 26, 26, 0.07);
    --border-paper:   rgba(120, 95, 60, 0.15);
    --focus-ring:     rgba(90, 111, 74, 0.2);

    /* Paper texture + washes */
    --paper-texture:  url('assets/textures/paper-texture.jpg');
    --hero-wash:      linear-gradient(135deg, var(--zand-licht) 0%, var(--zand) 100%);
    --hero-glow:      radial-gradient(ellipse at 80% 20%, rgba(90, 111, 74, 0.08) 0%, transparent 70%);
    --amber-glow:     radial-gradient(ellipse at 75% 25%, var(--honing-glow) 0%, transparent 60%);
    --scrim-film:     linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.88) 100%);
    --bg-paper:       var(--paper-texture) center/cover, var(--zand);
    --bg-paper-light: var(--paper-texture) center/cover, var(--zand-licht);
    --hero-wash-paper:
        var(--hero-glow),
        var(--paper-texture) center/cover,
        linear-gradient(135deg, var(--zand-licht) 0%, var(--zand) 100%);

    /* Typography */
    --font-display:   'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body:      'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --section-padding: clamp(60px, 10vw, 120px);

    /* Radii */
    --radius-sm:      6px;
    --radius-md:      8px;
    --radius-lg:      14px;
    --radius-xl:      16px;
    --radius-2xl:     24px;
    --radius-pill:    999px;

    /* Shadows */
    --shadow-xs:      0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-sm:      0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md:      0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg:      0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl:      0 40px 80px rgba(0, 0, 0, 0.15);
    --shadow-brand:   0 12px 40px rgba(90, 111, 74, 0.30);

    /* Motion */
    --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:  0.2s;
    --dur-base:  0.3s;
    --dur-slow:  0.6s;
}

/* =========================================================
   BASE
   ========================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--fg-2);
    background: var(--bg-1);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Remove blockGap between section-patterns on homepage */
.wp-block-post-content > * + * { margin-block-start: 0 !important; }

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: var(--font-display);
    color: var(--fg-1);
    margin: 0;
    text-wrap: balance;
}

p { text-wrap: pretty; margin: 0; }
figure, img { display: block; }

a { color: var(--honing); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--honing-licht); }

:where(a, button, input, textarea, select):focus-visible {
    outline: 2px solid var(--honing);
    outline-offset: 2px;
}
::selection { background: var(--honing); color: var(--donker); }

/* =========================================================
   SHARED ATOMS
   ========================================================= */
.wrap        { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 880px;  margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) {
    .wrap, .wrap-narrow { padding: 0 22px; }
}

.eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    color: var(--honing);
    text-transform: uppercase;
    letter-spacing: 2px;
}

section { position: relative; padding: var(--section-padding) 0; }
h2.section-title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(36px, 5vw, 64px); line-height: 1.08;
    letter-spacing: -0.01em; margin: 16px 0 0;
    color: var(--donker);
    text-wrap: balance;
}
h2.section-title em { font-style: italic; color: var(--honing); }

.pull {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2;
    color: var(--donker); letter-spacing: -0.01em; margin: 0;
}
.pull em { color: var(--honing); }
.pull-quote {
    margin: 0; padding-left: 22px;
    border-left: 3px solid var(--honing);
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* =========================================================
   NAV
   ========================================================= */
nav.top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(243, 239, 228, 0.82);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
nav.top.scrolled {
    border-bottom-color: var(--border-paper);
    background: rgba(243, 239, 228, 0.95);
}
nav.top .inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 40px; max-width: 1240px; margin: 0 auto;
}
@media (max-width: 720px) { nav.top .inner { padding: 14px 22px; } }

.brand {
    display: inline-flex; align-items: baseline; gap: 8px;
    font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em;
    color: var(--donker); text-decoration: none;
}
.seal {
    display: inline-block; width: 34px; height: 34px;
    position: relative; vertical-align: middle; transform: translateY(-1px);
    margin-left: 6px;
}
.seal svg { width: 100%; height: 100%; display: block; }

.nav-links { display: flex; gap: 34px; font-size: 14px; }
.nav-links a {
    color: var(--fg-2); position: relative; padding: 4px 0;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--donker); }
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    height: 1px; background: var(--honing);
    width: var(--u, 0%); transition: width 0.35s var(--ease-out);
}
.nav-links a:hover { --u: 100%; }

.nav-cta {
    font-size: 13px; padding: 10px 18px;
    border: 1px solid var(--donker); border-radius: 999px;
    color: var(--donker);
    transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--donker); color: var(--zand-licht); }

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

/* =========================================================
   CURSOR HINT
   ========================================================= */
.cursor-hint {
    position: fixed; pointer-events: none; z-index: 100;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--honing);
    opacity: 0; transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
}
body.hint-on .cursor-hint { opacity: 0.7; }
@media (pointer: coarse) { .cursor-hint { display: none; } }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    border: 2px solid transparent; line-height: 1;
    transition: transform var(--dur-base) var(--ease),
                background var(--dur-base) var(--ease),
                color var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease),
                border-color var(--dur-base) var(--ease);
}
.btn-primary {
    background: var(--donker); color: var(--zand-licht); border-color: var(--donker);
}
.btn-primary:hover {
    background: var(--honing); border-color: var(--honing); color: var(--donker);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--honing-glow);
}
.btn-ghost {
    background: transparent; color: var(--donker); border-color: var(--donker);
}
.btn-ghost:hover {
    background: var(--donker); color: var(--zand-licht);
    transform: translateY(-3px);
}
.btn-white {
    background: var(--wit); color: var(--donker); border-color: var(--wit);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    background: var(--zand); border-color: var(--zand); color: var(--donker);
    transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.btn-outline-white {
    background: transparent; color: var(--wit); border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
    background: var(--wit); color: var(--groen); border-color: var(--wit);
    transform: translateY(-3px);
}
.btn:active { transform: translateY(-1px); transition-duration: 0.1s; }
.btn:focus-visible { outline: 2px solid var(--honing); outline-offset: 3px; }
.btn-white:focus-visible,
.btn-outline-white:focus-visible { outline-color: var(--wit); }
.btn .arr { transition: transform 0.25s; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

/* Wire WordPress .wp-block-button__link to .btn styling via className */
.wp-block-button__link.btn-primary        { /* relies on .btn-primary */ }
.wp-block-button__link { font-family: inherit; }

/* =========================================================
   HERO
   ========================================================= */
header.hero,
section.hero {
    position: relative; min-height: 100vh;
    padding: 140px 0 80px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
    background:
        var(--amber-glow),
        radial-gradient(ellipse at 15% 90%, rgba(26, 26, 26, 0.08) 0%, transparent 60%),
        var(--paper-texture) center/cover,
        linear-gradient(180deg, var(--zand-licht) 0%, var(--zand) 100%);
    background-blend-mode: normal, normal, multiply, normal;
}

.hero-top {
    display: flex; justify-content: space-between; gap: 40px;
    padding: 0 40px; max-width: 1240px; margin: 0 auto; width: 100%;
}
@media (max-width: 720px) { .hero-top { padding: 0 22px; } }
.hero-meta {
    display: flex; gap: 28px; flex-wrap: wrap;
    font-size: 12px; color: var(--fg-3);
    letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-meta b { color: var(--donker); font-weight: 600; letter-spacing: 0.1em; }

.hero-title {
    padding: 40px 40px 0; max-width: 1240px; margin: 0 auto; width: 100%;
}
@media (max-width: 720px) { .hero-title { padding: 24px 22px 0; } }
.hero-title h1 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(56px, 10vw, 156px);
    line-height: 0.96; letter-spacing: -0.015em;
    color: var(--donker); margin: 0;
    text-wrap: balance;
}
.hero-title h1 em {
    font-style: italic; color: var(--honing); font-weight: 400;
}
.hero-title h1 .word {
    display: inline-block;
    transform: translateY(60%); opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1),
                opacity 0.9s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.hero-title h1 .word.in { transform: translateY(0); opacity: 1; }

.hero-bottom {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
    padding: 60px 40px 0; max-width: 1240px; margin: 0 auto; width: 100%;
    align-items: end;
}
@media (max-width: 820px) { .hero-bottom { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 720px) { .hero-bottom { padding: 40px 22px 0; } }

.hero-lede {
    font-family: var(--font-body); font-weight: 400;
    font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55;
    color: var(--fg-2); max-width: 520px; margin: 0;
}
.hero-lede em {
    font-family: var(--font-display); font-style: italic; color: var(--honing); font-weight: 400;
}

.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-actions .row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .note {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-3); line-height: 1.5;
}

.hero-stack {
    position: absolute; right: -40px; top: 16vh;
    width: min(44vw, 520px); aspect-ratio: 4/5;
    pointer-events: none; z-index: 0;
}
@media (max-width: 980px) { .hero-stack { right: -20%; opacity: 0.5; width: 60vw; top: 22vh; } }
@media (max-width: 720px) { .hero-stack { display: none; } }
.layer {
    position: absolute; border-radius: var(--radius-2xl); overflow: hidden;
    transition: transform 0.6s var(--ease-out);
    will-change: transform;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(26, 26, 26, 0.08);
}
.layer img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.layer-a {
    inset: 0 30% 35% 0; background: var(--zwart-film);
}
.layer-a img { filter: saturate(0.5) brightness(0.68) sepia(0.4) hue-rotate(45deg) contrast(1.05); }
.layer-b {
    inset: 28% 0 8% 24%; background: var(--wit);
    border: 1px solid var(--border-soft);
}
.layer-b img { filter: saturate(0.55) brightness(0.88) sepia(0.35) hue-rotate(-15deg) contrast(1.05); }
.layer-c {
    inset: 52% 40% 0 4%; background: var(--zwart-film);
}
.layer-c img { filter: saturate(0.45) brightness(0.55) sepia(0.4) hue-rotate(20deg) contrast(1.15); }

.hero-scroll {
    position: absolute; left: 40px; bottom: 28px;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--fg-3);
    display: flex; align-items: center; gap: 10px;
}
@media (max-width: 720px) { .hero-scroll { left: 22px; } }
.hero-scroll .line {
    width: 24px; height: 1px; background: var(--fg-3);
    position: relative; overflow: hidden;
}
.hero-scroll .line::after {
    content: ''; position: absolute; inset: 0; background: var(--donker);
    transform: translateX(-100%);
    animation: lineSlide 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes lineSlide {
    0%   { transform: translateX(-100%); }
    50%  { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
    border-top: 1px solid var(--border-paper);
    border-bottom: 1px solid var(--border-paper);
    padding: 22px 0; overflow: hidden;
    background: var(--bg-1);
}
.ticker-track {
    display: flex; gap: 60px; white-space: nowrap;
    animation: tickerLoop 60s linear infinite;
    will-change: transform;
}
.ticker span {
    font-family: var(--font-display); font-size: 20px; color: var(--fg-2);
    letter-spacing: -0.005em;
}
.ticker span em { font-style: italic; color: var(--honing); }
.ticker span i { color: var(--honing); font-style: normal; margin: 0 10px; }
@keyframes tickerLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =========================================================
   TWO-COL (Verhaal)
   ========================================================= */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col .col p {
    font-size: 18px; line-height: 1.7; color: var(--fg-2); margin: 0;
}
.two-col .col p + p { margin-top: 18px; }
.two-col .col--right {
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 100%;
}

/* =========================================================
   BANNER REGIO
   ========================================================= */
.banner {
    position: relative; min-height: 72vh; overflow: hidden;
    border-radius: var(--radius-2xl);
    margin: 40px auto; max-width: calc(100% - 80px);
    display: flex; align-items: flex-end; color: var(--wit);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.banner .bg { position: absolute; inset: 0; z-index: 0; }
.banner .bg img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    object-position: 70% 50%;
    filter: saturate(0.5) brightness(0.55) sepia(0.45) hue-rotate(-8deg) contrast(1.08);
    transition: transform 18s linear;
}
.banner.in .bg img { transform: scale(1.08); }
.banner .bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, var(--honing-glow) 0%, transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
}
.banner .content {
    position: relative; z-index: 2;
    padding: 100px 60px 80px; max-width: 900px; width: 100%;
}
@media (max-width: 720px) {
    .banner { margin: 22px auto; max-width: calc(100% - 44px); }
    .banner .content { padding: 70px 28px 44px; }
}
.banner h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(36px, 5.5vw, 64px); line-height: 1.08;
    letter-spacing: -0.01em; color: var(--wit); margin: 18px 0 0;
}
.banner h2 em { font-style: italic; color: var(--honing-licht); }
.banner p {
    margin-top: 22px; max-width: 620px;
    font-size: 17px; line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
.banner .eyebrow, .banner .eyebrow-onimg { color: rgba(255, 255, 255, 0.9); }

/* =========================================================
   STATEMENT (zwart-film + honing)
   ========================================================= */
.statement {
    background:
        radial-gradient(ellipse at 85% 15%, var(--honing-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(88, 108, 70, 0.18) 0%, transparent 55%),
        var(--zwart-film);
    color: var(--zand-licht);
    padding: calc(var(--section-padding) + 20px) 0;
    position: relative; overflow: hidden;
}
.statement::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: var(--paper-texture) center/cover;
    opacity: 0.05; mix-blend-mode: overlay;
}
.statement .eyebrow { color: var(--honing); }
.statement h2.section-title { color: var(--zand-licht); }
.statement h2.section-title em { color: var(--honing); }
.statement .lede {
    margin-top: 28px; max-width: 780px;
    font-family: var(--font-body); font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.6; color: rgba(243, 239, 228, 0.85);
}
.statement .quote {
    margin-top: 70px; display: grid;
    grid-template-columns: auto 1fr; gap: clamp(24px, 3vw, 48px);
    align-items: start; max-width: 900px;
    position: relative; z-index: 1;
}
.statement .quote .mark {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(140px, 16vw, 240px); line-height: 0.8;
    color: rgba(200, 151, 75, 0.4); display: block;
    margin-top: -0.1em; user-select: none;
}
.statement .quote p {
    margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(26px, 3vw, 38px); line-height: 1.3;
    color: var(--zand-licht); letter-spacing: -0.005em;
    padding-top: clamp(8px, 1.4vw, 24px);
}
@media (max-width: 640px) {
    .statement .quote { grid-template-columns: 1fr; gap: 0; }
    .statement .quote .mark { font-size: 120px; margin-bottom: -20px; }
    .statement .quote p { padding-top: 0; }
}
.blob {
    position: absolute; pointer-events: none;
    border-radius: 50%; filter: blur(40px); animation: none;
}
.statement .blob-1 {
    right: -10%; top: -15%; width: min(55%, 620px); aspect-ratio: 1;
    background: radial-gradient(circle, var(--honing-glow) 0%, transparent 70%);
}
.statement .blob-2 {
    left: -12%; bottom: -18%; width: min(48%, 520px); aspect-ratio: 1;
    background: radial-gradient(circle, rgba(90, 111, 74, 0.22) 0%, transparent 70%);
}

/* =========================================================
   REGION (Waarom Achterhoek)
   ========================================================= */
.region {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start;
}
@media (max-width: 820px) { .region { grid-template-columns: 1fr; gap: 40px; } }

.region .wrap-vis { position: relative; }
.region .visual {
    aspect-ratio: 4/5;
    background: var(--zand);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-2xl);
    overflow: hidden; position: relative;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}
.region .visual img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 1.2s var(--ease-out);
    filter: saturate(0.55) brightness(0.85) sepia(0.35) hue-rotate(-10deg) contrast(1.05);
}
.region .visual:hover img { transform: scale(1.03); }
.region .blob-mark {
    position: absolute; right: -24px; top: -24px; width: 120px; height: 120px;
    background: radial-gradient(circle, var(--honing) 0%, #8a6529 100%);
    border-radius: 50%;
    z-index: -1;
}
.region .region-copy p {
    font-size: 18px; line-height: 1.7; color: var(--fg-2); margin: 0;
}
.region .region-copy p + p { margin-top: 18px; }

/* =========================================================
   BELIEFS
   ========================================================= */
section.paper-light {
    background: var(--bg-paper-light); background-blend-mode: multiply;
    border-top: 1px solid var(--border-paper);
    border-bottom: 1px solid var(--border-paper);
}
.beliefs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px;
}
@media (max-width: 900px) { .beliefs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .beliefs { grid-template-columns: 1fr; } }

.belief {
    background: var(--wit); padding: 36px 28px 32px;
    min-height: 300px; display: flex; flex-direction: column; gap: 14px;
    position: relative; border-radius: var(--radius-xl);
    border: 1px solid var(--border-paper);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.08);
    transition: background 0.4s, transform 0.4s, border-color 0.4s;
    overflow: hidden;
}
.belief:hover {
    background: var(--zand-licht); transform: translateY(-4px);
    border-color: rgba(200, 151, 75, 0.45);
}
.belief .marker {
    position: absolute; top: 0; left: 0; height: 3px; width: 0;
    background: var(--honing);
    transition: width 0.5s var(--ease-out);
}
.belief:hover .marker { width: 100%; }
.belief .num {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: var(--honing);
}
.belief h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 24px; line-height: 1.2; margin: 0; color: var(--donker);
}
.belief p {
    margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.6;
}

/* =========================================================
   OFFER-ROWS (Werkwijze)
   ========================================================= */
.offer-rows { margin-top: 60px; }
.offer-row {
    display: grid; grid-template-columns: 80px 1fr 1.1fr;
    gap: 40px; align-items: start; padding: 60px 0;
    border-top: 1px solid var(--border-paper);
    transition: background 0.4s;
}
.offer-row:last-child { border-bottom: 1px solid var(--border-paper); }
@media (max-width: 820px) {
    .offer-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
}
.offer-row .num {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: var(--honing); padding-top: 14px;
}
.offer-row h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0;
    color: var(--donker); letter-spacing: -0.005em;
    transition: color 0.3s;
}
.offer-row:hover h3 { color: var(--honing); }
.offer-row p {
    margin: 0; color: var(--fg-2); font-size: 16px; line-height: 1.7; max-width: 520px;
}

/* =========================================================
   AUDIENCE (Voor wie)
   ========================================================= */
section.paper-zand {
    background: var(--bg-paper); background-blend-mode: multiply;
    border-top: 1px solid var(--border-paper);
    border-bottom: 1px solid var(--border-paper);
}
.audience {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px;
}
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }
.aud {
    background: var(--wit);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-xl); padding: 36px 30px;
    display: flex; flex-direction: column; gap: 18px; min-height: 320px;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s;
}
.aud:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: rgba(200, 151, 75, 0.5);
}
.aud .mono {
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 600; color: var(--honing);
}
.aud h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 26px; line-height: 1.2; margin: 0; color: var(--donker);
}
.aud p {
    margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.65; flex: 1;
}
.aud .quote {
    font-family: var(--font-display); font-style: italic;
    font-size: 19px; line-height: 1.35; color: var(--donker);
    border-top: 1px solid var(--border-paper); padding-top: 18px; margin: 0;
}

/* =========================================================
   SHOWROOM
   ========================================================= */
.showroom-wrap {
    padding: var(--section-padding) 0;
    background: var(--bg-paper); background-blend-mode: multiply;
}
.showroom {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
@media (max-width: 820px) { .showroom { grid-template-columns: 1fr; gap: 40px; } }
.showroom-copy .hint {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-3);
}
.showroom-copy .lede {
    margin-top: 28px; font-size: 18px; line-height: 1.65; max-width: 500px; color: var(--fg-2);
}
.showroom-copy .sublede {
    margin-top: 16px; color: var(--fg-3); font-size: 16px; line-height: 1.7; max-width: 500px;
}
.showroom-copy .actions {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 32px; align-items: flex-start;
}
.showroom-visual {
    position: relative; aspect-ratio: 5/4;
    border-radius: var(--radius-2xl); overflow: hidden;
    background: var(--zwart-film); color: var(--wit);
    border: 1px solid rgba(200, 151, 75, 0.18);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35);
    display: flex; align-items: flex-end; padding: 24px;
}
.showroom-visual img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.55) brightness(0.72) sepia(0.4) hue-rotate(-10deg) contrast(1.08);
}
.showroom-visual::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 15%, var(--honing-glow) 0%, transparent 55%),
        linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}
.showroom-visual span {
    position: relative; z-index: 2;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.showroom-hint {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-3); margin-top: 16px;
    display: flex; justify-content: space-between; gap: 20px;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 40px; flex-wrap: wrap;
}
.projects {
    margin-top: 60px; display: grid;
    grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 820px) { .projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.project .frame {
    aspect-ratio: 4/5; background: var(--zand);
    border: 1px solid var(--border-paper); border-radius: var(--radius-2xl);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.25);
    position: relative; overflow: hidden;
    transition: transform 0.6s var(--ease-out);
}
.project:hover .frame { transform: translateY(-6px); }
.project .frame img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 1.2s var(--ease-out);
}
.project:hover .frame img { transform: scale(1.04); }
.project[data-tone="glas"] .frame img      { filter: saturate(0.5) brightness(0.75) sepia(0.45) hue-rotate(40deg)  contrast(1.08); }
.project[data-tone="kleur"] .frame img     { filter: saturate(0.6) brightness(0.85) sepia(0.4)  hue-rotate(-15deg) contrast(1.05); }
.project[data-tone="interieur"] .frame img { filter: saturate(0.5) brightness(0.7)  sepia(0.4)  hue-rotate(5deg)   contrast(1.1);  }
.project .frame .tag {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 600;
    background: var(--zand-licht); color: var(--donker);
    border: 1px solid var(--border-paper);
    padding: 6px 12px; border-radius: 999px;
}
.project .meta {
    display: flex; justify-content: space-between; align-items: baseline; font-size: 14px;
}
.project .meta h4 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 18px; margin: 0; color: var(--donker);
}
.project .meta small {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
}

/* =========================================================
   PARTNER (donker full-bleed)
   ========================================================= */
section.partner {
    background: var(--zwart-film); color: var(--wit);
    padding: 140px 0; position: relative; overflow: hidden;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    min-height: 72vh;
    display: flex; align-items: center;
}
.partner .bg { position: absolute; inset: 0; z-index: 0; }
.partner .bg img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    object-position: 50% 25%;
    filter: saturate(0.5) brightness(0.5) sepia(0.5) hue-rotate(-10deg) contrast(1.1);
    transform: scale(1.05); transition: transform 1.6s var(--ease-out);
}
.partner.in .bg img { transform: scale(1); }
.partner .bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 85% 20%, var(--honing-glow) 0%, transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.88) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, transparent 65%);
}
.partner .inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.partner .title-row { grid-column: 1 / -1; }
@media (max-width: 820px) {
    .partner .inner { grid-template-columns: 1fr; gap: 30px; }
}
.partner .eyebrow { color: var(--honing); }
.partner h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 16px 0 0;
    letter-spacing: -0.01em; color: var(--wit);
}
.partner h2 em { font-style: italic; color: var(--honing-licht); }
.partner p {
    font-size: 18px; line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0; max-width: 520px;
}
.partner-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.partner .btn-primary {
    background: var(--honing); color: var(--donker); border-color: var(--honing);
}
.partner .btn-primary:hover {
    background: var(--honing-licht); border-color: var(--honing-licht); color: var(--donker);
    box-shadow: 0 16px 50px rgba(200, 151, 75, 0.35);
}
.partner-criteria {
    margin-top: 28px; display: flex; flex-direction: column; gap: 10px;
    padding: 0; list-style: none;
}
.partner-criteria li {
    display: flex; gap: 12px; align-items: baseline;
    font-size: 15px; color: rgba(255, 255, 255, 0.9);
}
.partner-criteria li::before {
    content: '→'; color: var(--honing);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
    background: var(--zwart-film); color: rgba(255, 255, 255, 0.8);
    padding: 90px 0 40px; position: relative; overflow: hidden;
    border-top: 1px solid rgba(200, 151, 75, 0.12);
}
.site-footer .foot-grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 820px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.site-footer h4 {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 700; color: rgba(255, 255, 255, 0.55);
    margin: 0 0 18px; font-family: var(--font-body);
}
.site-footer ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.site-footer ul li {
    font-size: 15px; color: rgba(255, 255, 255, 0.85); line-height: 1.5;
}
.site-footer a {
    text-decoration: none; color: rgba(255, 255, 255, 0.85); font-size: 15px;
    transition: color 0.2s;
}
.site-footer a:hover { color: var(--honing-licht); }
.site-footer .brand-lg {
    font-family: var(--font-display); font-weight: 400;
    font-size: 36px; line-height: 1; color: var(--zand-licht);
    letter-spacing: -0.01em;
    display: inline-flex; align-items: baseline;
}
.site-footer .brand-lg .seal {
    width: 44px; height: 44px; transform: translateY(4px);
}
.site-footer .brand-intro {
    margin-top: 18px; max-width: 340px;
    font-size: 15px; color: rgba(255, 255, 255, 0.75);
}
.site-footer .foot-bottom {
    margin-top: 70px; padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   UTILITY CLASSES (block-validation safe)
   ========================================================= */
.v-opacity-70 { opacity: 0.7; }
.v-opacity-80 { opacity: 0.8; }
.v-opacity-90 { opacity: 0.9; }
.v-opacity-95 { opacity: 0.95; }

.v-narrow-500 { max-width: 500px; margin-left: auto; margin-right: auto; }
.v-narrow-550 { max-width: 550px; margin-left: auto; margin-right: auto; }
.v-narrow-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.v-narrow-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.v-narrow-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.v-max-500 { max-width: 500px; }
.v-max-520 { max-width: 520px; }
.v-max-600 { max-width: 600px; }
.v-max-700 { max-width: 700px; }
.v-max-800 { max-width: 800px; }

.v-mb-20 { margin-bottom: 20px !important; }
.v-mb-24 { margin-bottom: 24px !important; }
.v-mb-30 { margin-bottom: 30px !important; }
.v-mb-36 { margin-bottom: 36px !important; }
.v-mb-40 { margin-bottom: 40px !important; }
.v-mb-60 { margin-bottom: 60px !important; }
.v-mt-20 { margin-top: 20px !important; }
.v-mt-24 { margin-top: 24px !important; }
.v-mt-30 { margin-top: 30px !important; }
.v-mt-36 { margin-top: 36px !important; }
.v-mt-40 { margin-top: 40px !important; }
.v-mt-60 { margin-top: 60px !important; }

/* =========================================================
   MOBILE OFF-CANVAS
   ========================================================= */
.ak-hamburger {
    display: none;
    background: transparent; border: none;
    width: 44px; height: 44px; padding: 0; cursor: pointer;
    align-items: center; justify-content: center;
    color: var(--donker);
}
.ak-hamburger svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 820px) { .ak-hamburger { display: inline-flex; } }

.ak-offcanvas {
    position: fixed; top: 0; right: 0; height: 100vh;
    width: 80%; max-width: 380px; background: var(--wit);
    z-index: 10000; transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    padding: 24px 32px;
    display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
}
.ak-offcanvas.ak-open { transform: translateX(0); }
.ak-offcanvas-backdrop {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 9999;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.ak-offcanvas-backdrop.ak-open { opacity: 1; pointer-events: auto; }
.ak-offcanvas-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.ak-offcanvas-logo { font-family: var(--font-display); font-size: 24px; color: var(--donker); }
.ak-offcanvas-close {
    background: transparent; border: none; width: 40px; height: 40px;
    cursor: pointer; color: var(--donker);
}
.ak-offcanvas-close svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.ak-offcanvas-nav { display: flex; flex-direction: column; gap: 4px; }
.ak-offcanvas-nav a {
    display: block; padding: 14px 0;
    font-size: 18px; font-weight: 500; color: var(--donker);
    border-bottom: 1px solid var(--border-paper);
}
.ak-offcanvas-nav a:hover { color: var(--honing); }
.ak-offcanvas-cta {
    background: var(--donker); color: var(--zand-licht) !important;
    padding: 14px 24px !important; border-radius: 999px; text-align: center;
    margin-top: 12px; border-bottom: none !important; font-weight: 600;
}
.ak-offcanvas-cta:hover { background: var(--honing); color: var(--donker) !important; }

/* WordPress block padding reset for our custom sections */
section.hero, section.partner, section.statement { padding-left: 0; padding-right: 0; }
