/* =====================================================================
   Nobelen Interieurbouw — dark, high-end theme. Accent: #FAB913
   Serif-italic + bold-sans display headings, editorial grid, photo-forward.
   Layered warm-charcoal surfaces for a luxe, steegaa-inspired look.
   All colours are driven by CSS variables and can be overridden per-tenant
   from the Thema-instellingen (see layouts/default.twig → :root override).
   ===================================================================== */

:root {
    /* --- Accent (logo-geel). Override via Thema-instellingen. --- */
    --gold:        #fab913;
    --gold-dark:   color-mix(in srgb, var(--gold) 82%, #ffffff);  /* lighter gold, legible as text on dark */
    --gold-soft:   color-mix(in srgb, var(--gold) 14%, transparent);
    --on-accent:   #1a1510;   /* dark text on gold surfaces */

    /* --- Foreground --- */
    --ink:         #f4efe4;   /* headings / high-contrast text */
    --ink-soft:    #c0b8a8;   /* body text */
    --muted:       color-mix(in srgb, var(--ink-soft) 58%, var(--bg));

    /* --- Layered dark surfaces (deepest → lightest) --- */
    --dark:        #0d0b08;   /* deepest contrast bands (featured / cta / hero) */
    --bg:          #15130e;   /* base page */
    --tint:        #1d1a14;   /* banded sections */
    --paper:       #241f17;   /* cards / raised panels */

    --line:        rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.20);

    --header-h:    88px;

    --font-sans:  'Outfit', system-ui, sans-serif;
    --font-body:  'DM Sans', system-ui, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    --maxw: 1280px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

/* ---------- editorial vertical grid lines ---------- */
.bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-grid span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.bg-grid span:nth-child(1) { left: 20%; }
.bg-grid span:nth-child(2) { left: 50%; }
.bg-grid span:nth-child(3) { left: 80%; }

/* keep content above the grid */
.site-header, main, .site-footer, .to-top, .menu-overlay { position: relative; z-index: 1; }

/* ---------- headings ---------- */
.dh { margin: 0 0 .55em; }
.dh-serif, .dh-sans { display: block; }
.dh-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.0;
    letter-spacing: 0;
}
.dh-sans {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.05;
    letter-spacing: -0.015em;
}
.dh { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.dh .dh-serif { font-size: 1.18em; margin-bottom: .04em; }
.dh .dh-sans { font-size: 1em; }
h1.dh { font-size: clamp(2.6rem, 6vw, 4.6rem); }

/* plain headings fallback */
h1, h2, h3, h4, h5 { font-family: var(--font-sans); color: var(--ink); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3.2rem); }
.container.narrow { max-width: 820px; }
.text-center { text-align: center; }
.pt-0 { padding-top: 0 !important; }

.section    { padding: clamp(4.5rem, 9vw, 9rem) 0; }
.section-sm { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #cfcabf; }
.section-dark .dh-serif, .section-dark .dh-sans, .section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- pills (eyebrows) ---------- */
.pill {
    display: inline-block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .68rem;
    font-weight: 600;
    color: var(--gold-dark);
    background: var(--gold-soft);
    padding: .55em 1.15em;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.pill--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.45; color: var(--ink); }

.rich { font-size: 1.0625rem; }
.rich h2, .rich h3 { margin-top: 1.5em; }
.rich a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--ink); }
.rich ul { padding-left: 1.2em; }
.rich--muted { color: var(--muted); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
    --btn-bg: var(--gold); --btn-fg: var(--on-accent);
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-sans); font-size: .8rem; font-weight: 500; letter-spacing: .14em;
    text-transform: uppercase; padding: 1.05em 2.15em;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.btn-primary { box-shadow: 0 12px 34px -14px rgba(250,185,19,.5); }
.btn-primary:hover { --btn-bg: #ffc63a; transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(250,185,19,.6); }
.btn-dark { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn-dark:hover { --btn-bg: var(--gold); --btn-fg: var(--on-accent); border-color: var(--gold); transform: translateY(-2px); }
.btn-outline-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn-outline-dark:hover { --btn-bg: var(--gold); --btn-fg: var(--on-accent); border-color: var(--gold); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .7em 1.4em; font-size: .72rem; }

/* arrow text link */
.link-arrow {
    font-family: var(--font-sans); font-weight: 500; font-size: .82rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink);
    display: inline-flex; align-items: center; gap: .55em;
    border: none; background: none; cursor: pointer; padding: .2em 0;
    border-bottom: 1px solid var(--line-strong);
}
.link-arrow::after { content: "→"; color: var(--gold-dark); transition: transform .25s var(--ease); }
.link-arrow--external::after { content: "↗"; }
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =====================================================================
   Header / navigation
   ===================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    /* Stays fully transparent — no background fill on scroll (client request).
       A faint top-down scrim keeps light nav text legible over hero imagery
       without reading as a solid bar. */
    background: linear-gradient(180deg, rgba(8,7,5,.42) 0%, rgba(8,7,5,0) 100%);
    transition: background .35s var(--ease);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-logo img { height: 58px; width: auto; transition: height .35s var(--ease); filter: drop-shadow(0 2px 12px rgba(0,0,0,.45)); }
.site-header.scrolled .site-logo img { height: 52px; }

.main-nav-list { display: flex; align-items: center; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav-list > li > a { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); position: relative; padding: .35rem 0; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.main-nav-list > li > a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.main-nav-list > li:hover > a::after, .main-nav-list > li.active > a::after { width: 100%; }

.nav-external > a { display: inline-flex; align-items: center; gap: .35em; color: var(--ink-soft); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.nav-external-icon { opacity: .7; }
.nav-external > a:hover { color: var(--gold-dark); }

.main-nav-list .nav-contact-btn {
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
    font-family: var(--font-sans); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: .8em 2em; text-indent: .08em; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink);
    transition: all .25s var(--ease); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.main-nav-list .nav-contact-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); }
/* the pill is a button, not a nav link — suppress the underline pseudo */
.main-nav-list .nav-contact-btn::after { display: none; }

/* drawer-only chrome (brand + close + socials) — hidden on desktop */
.mobile-nav-head, .mobile-nav-social { display: none; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 220px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 22px 54px -26px rgba(0,0,0,.7); list-style: none; margin: 0; padding: .5rem 0; border-radius: 6px; opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.dropdown li a { display: block; padding: .55rem 1.25rem; font-size: .9rem; color: var(--ink-soft); }
.dropdown li a:hover { background: var(--tint); color: var(--ink); }

/* hamburger */
.menu-toggle { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; position: relative; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); transition: all .3s var(--ease); }
.menu-toggle span { top: 21px; } .menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.menu-overlay.open { opacity: 1; visibility: visible; }

/* =====================================================================
   Hero slideshow
   ===================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.8s var(--ease); will-change: opacity, transform; }
.hero-slide.is-active { opacity: 1; animation: kenburns 11s ease forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,13,.42) 0%, rgba(18,16,13,.12) 34%, rgba(18,16,13,.8) 100%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(4rem, 9vh, 8rem); padding-top: calc(var(--header-h) + 3rem); max-width: 900px; }
.hero-content .dh-serif, .hero-content .dh-sans { color: #fff; }
.hero-content > * { animation: heroIn 1s var(--ease) both; }
.hero-content > .pill { animation-delay: .15s; }
.hero-content > .dh { animation-delay: .28s; }
.hero-content > .hero-lead { animation-delay: .44s; }
.hero-content > .hero-actions { animation-delay: .6s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.45; color: rgba(255,255,255,.92); max-width: 640px; margin-top: .4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.hero-actions--center { justify-content: center; }
.hero-dots { position: absolute; right: clamp(1.5rem, 4vw, 3.2rem); bottom: 2.4rem; z-index: 3; display: flex; flex-direction: column; gap: .7rem; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; padding: 0; transition: all .3s var(--ease); }
.hero-dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.85); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* =====================================================================
   Page hero (inner pages) + editorial page intro
   ===================================================================== */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3rem, 5vw, 4.5rem); overflow: hidden; background: var(--dark); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,13,.5), rgba(18,16,13,.78)); }
.page-hero--plain { background: transparent; color: var(--ink); padding-top: calc(var(--header-h) + 3.5rem); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: inherit; margin: 0; line-height: 1; }
.page-hero--plain .page-hero-title { color: var(--ink); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .82rem; letter-spacing: .02em; color: rgba(255,255,255,.72); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: var(--gold); }
.page-hero--plain .breadcrumb { color: var(--muted); }
.page-hero--plain .breadcrumb a:hover { color: var(--ink); }
.page-hero--plain .breadcrumb span[aria-current] { color: var(--gold-dark); }

.page-intro { padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-intro .dh { max-width: 14ch; }
.page-intro-text { max-width: 620px; color: var(--ink-soft); margin-top: 1.4rem; }

/* =====================================================================
   Split (image + text) / collage
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5.5vw, 5.5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-body .pill { margin-bottom: 1.2rem; }

.single-media { position: relative; }
.single-media img { width: 100%; border-radius: 4px; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: 0 50px 90px -50px rgba(0,0,0,.5); }
.single-media--tall img { aspect-ratio: 4/4.6; }
.single-media::after { content: ""; position: absolute; left: -16px; bottom: -16px; width: 84px; height: 84px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.split--reverse .single-media::after { left: auto; right: -16px; border-left: none; border-right: 2px solid var(--gold); }

.collage { position: relative; aspect-ratio: 1 / 1.04; }
.collage-item { position: absolute; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0,0,0,.5); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; }
.collage-item--1 { width: 64%; height: 58%; left: 0; top: 0; }
.collage-item--2 { width: 50%; height: 47%; right: 0; top: 19%; z-index: 2; border: 7px solid var(--bg); }
.collage-item--3 { width: 52%; height: 43%; left: 13%; bottom: 0; z-index: 3; border: 7px solid var(--bg); }

/* =====================================================================
   Pillars
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 4rem); }
.pillar { position: relative; padding-top: 2rem; border-top: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold); transition: width .4s var(--ease); }
.pillar:hover::before { width: 100%; }
.pillar-num { font-family: var(--font-serif); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--gold-dark); display: block; margin-bottom: 1rem; }
.pillar h3 { margin-bottom: .55em; font-size: 1.35rem; }
.pillar p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* =====================================================================
   Section heads
   ===================================================================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-head .dh { margin: 0; }
.section-head-text { max-width: 380px; color: var(--muted); margin: 0 0 .4rem; }
.section-cta { text-align: center; margin-top: clamp(2.6rem, 4vw, 3.6rem); }

/* =====================================================================
   Project grid + cards
   ===================================================================== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.8rem; }
.project-grid--stagger > .project-card:nth-child(3n+2) { margin-top: 3.5rem; }

.project-card { display: block; position: relative; }
.project-card-media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; border-radius: 4px; background: var(--tint); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.06); }
.project-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,13,0) 50%, rgba(18,16,13,.6) 100%); opacity: 0; transition: opacity .4s var(--ease); }
.project-card:hover .project-card-media::after { opacity: 1; }
.project-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--line-strong); }
.project-card-view { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.project-card-view::after { content: " →"; }
.project-card:hover .project-card-view { opacity: 1; transform: translateY(0); }

.project-card-body { padding: 1.1rem .2rem 0; }
.project-card-meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .4rem; }
.project-card-tag { font-family: var(--font-sans); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.project-card-loc { font-size: .85rem; color: var(--muted); }
.project-card-loc::before { content: "· "; }
.project-card-body h3 { font-size: 1.28rem; margin: 0; transition: color .25s var(--ease); }
.project-card:hover .project-card-body h3 { color: var(--gold-dark); }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.filter-label { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin-right: .3rem; }
.filter-btn { font-family: var(--font-sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; padding: 0; border: none; background: none; color: var(--ink-soft); cursor: pointer; position: relative; transition: color .25s var(--ease); }
.filter-btn::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .25s var(--ease); }
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { color: var(--gold-dark); }
.filter-btn.is-active::after { width: 100%; }
.project-card.is-hidden { display: none; }

/* =====================================================================
   Project detail
   ===================================================================== */
.project-intro { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.project-intro-main .lead { margin-bottom: 1.5rem; display: block; }
.project-meta { border-top: 2px solid var(--gold); padding-top: 1.4rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.project-meta-item { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.project-meta-label { display: block; font-family: var(--font-sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.project-meta-value { font-size: 1rem; color: var(--ink); }
.project-meta-value a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }

.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery-masonry { columns: 3; column-gap: 1.2rem; }
/* Each <img> carries its intrinsic width/height (from the media row), so the
   browser reserves the exact box before the image lazy-loads — the masonry no
   longer reflows as images stream in. We deliberately do NOT use
   content-visibility here: inside a CSS columns layout WebKit re-balances the
   columns as off-screen tiles render, which flickers and jumps in Safari. */
.gallery-item { display: block; margin: 0 0 1.2rem; break-inside: avoid; border-radius: 4px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--tint); }
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(.93); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12,11,9,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: none; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 3.4rem; line-height: 1; cursor: pointer; opacity: .65; padding: 1rem; transition: opacity .2s; }
.lightbox-nav:hover, .lightbox-close:hover { opacity: 1; }
.lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band { position: relative; background: var(--dark); color: #fff; text-align: center; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
/* Optional per-page background photo, dimmed by a dark overlay so the copy stays legible. */
.cta-band--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.cta-band--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13,11,8,.82), rgba(13,11,8,.78)); z-index: 0; }
.cta-band--image > .container { position: relative; z-index: 1; }
.cta-band .pill { margin-bottom: 1.5rem; }
.cta-band .dh, .cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 1.9rem; }
.cta-band .dh-sans { color: #fff; }

/* =====================================================================
   Featured projects slider (dark)
   ===================================================================== */
.featured { background: var(--dark); color: #c8c3b8; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: clamp(5rem, 9vh, 8rem) 0; }
.featured-inner { width: 100%; }
.section-head--light .dh-serif, .section-head--light .dh-sans { color: #fff; }

.featured-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; margin-bottom: clamp(2.5rem, 5vh, 4.5rem); }
.featured-top .dh-serif, .featured-top .dh-sans { color: #fff; }
.featured-top .dh { margin: 0; }
.featured-top-text { max-width: 340px; color: rgba(200,195,184,.7); margin: 0 0 .4rem; }

.featured-slider { position: relative; padding-right: clamp(3rem, 6vw, 7rem); }
.featured-stage { position: relative; }
.featured-slide {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
}
.featured-slide.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.featured-media { display: block; position: relative; border-radius: 6px; overflow: hidden; height: clamp(360px, 60vh, 680px); background: #2a2824; box-shadow: 0 60px 100px -50px rgba(0,0,0,.85); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.featured-media:hover img { transform: scale(1.04); }
.featured-index { position: absolute; left: 1.3rem; bottom: 1.1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: #fff; letter-spacing: .04em; background: rgba(0,0,0,.32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: .2rem .85rem; border-radius: 999px; }
.featured-index i { opacity: .5; margin: 0 .15rem; }

.featured-info .pill { margin-bottom: 1.6rem; }
.featured-title { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2.3rem, 4vw, 3.6rem); color: #fff; line-height: 1.0; margin: 0 0 1.1rem; }
.featured-meta { display: flex; flex-wrap: wrap; gap: .9rem; font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.featured-meta span:not(:first-child)::before { content: "·"; color: rgba(255,255,255,.4); margin-right: .9rem; }
.featured-text { color: rgba(214,209,199,.85); max-width: 42ch; margin-bottom: 1.9rem; font-size: 1.05rem; }
.link-arrow--light { color: #fff; border-color: rgba(255,255,255,.3); }
.link-arrow--light:hover { color: var(--gold); border-color: var(--gold); }

.featured-nav { position: absolute; top: 50%; right: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; }
.featured-num { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: rgba(255,255,255,.35); background: none; border: none; cursor: pointer; padding: .15rem .1rem; position: relative; transition: color .3s var(--ease); }
.featured-num::before { content: ""; position: absolute; left: -1.5rem; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.featured-num:hover { color: #fff; }
.featured-num.is-active { color: var(--gold); }
.featured-num.is-active::before { width: 1.1rem; }
.featured-foot { text-align: center; margin-top: clamp(2.5rem, 5vh, 4rem); }

/* =====================================================================
   Horizontal image carousel
   ===================================================================== */
.carousel-section { padding: clamp(3rem, 6vw, 5.5rem) 0; overflow: hidden; }
.carousel {
    overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; -ms-overflow-style: none;
    padding: 3rem clamp(1.25rem, 4vw, 3.2rem);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; }
.carousel.is-dragging .carousel-item { pointer-events: none; }
.carousel-track { display: flex; align-items: center; gap: 1.7rem; width: max-content; }
.carousel-item { flex: 0 0 auto; width: clamp(280px, 31vw, 440px); border-radius: 5px; overflow: hidden; box-shadow: 0 44px 74px -44px rgba(0,0,0,.5); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.carousel-item--0 { height: 320px; }
.carousel-item--1 { height: 400px; }
.carousel-item--2 { height: 270px; }

/* =====================================================================
   Contact
   ===================================================================== */
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .dh { max-width: none; }

/* editorial two-column layout: contact essentials + framed map */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-intro .pill { margin-bottom: 1.4rem; }
.contact-intro .dh { margin-bottom: 1.1rem; }
.contact-lead { color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.4rem; }

.contact-details { border-top: 1px solid var(--line); }
.contact-detail { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem .25rem; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.contact-detail:hover { padding-left: .6rem; }
.contact-detail-icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; transition: background .3s var(--ease), color .3s var(--ease); }
.contact-detail:hover .contact-detail-icon { background: var(--gold); color: var(--on-accent); }
.contact-detail-text { display: flex; flex-direction: column; gap: .25rem; }
.contact-detail-label { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-detail-value { font-size: 1.02rem; color: var(--ink); transition: color .25s var(--ease); }
.contact-detail:hover .contact-detail-value { color: var(--gold-dark); }

.contact-social { display: flex; align-items: center; gap: 1.1rem; margin-top: 2rem; }
.contact-social-icons { display: flex; gap: .6rem; }
.contact-social-icons a { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: all .25s var(--ease); }
.contact-social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); transform: translateY(-2px); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* framed map with gold corner accent (mirrors .single-media on the homepage) */
.contact-aside { position: relative; }
.contact-map { position: relative; border-radius: 6px; overflow: hidden; min-height: clamp(440px, 62vh, 640px); background: var(--tint); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.contact-map iframe { width: 100%; height: 100%; min-height: clamp(440px, 62vh, 640px); border: 0; display: block; }
.contact-aside::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 84px; height: 84px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); pointer-events: none; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; color: var(--muted); text-align: center; padding: 2.5rem; max-width: 420px; }
.map-placeholder svg { color: var(--gold-dark); opacity: .8; }
.map-placeholder p { margin: 0; }

/* opening hours panel inside a tinted band */
.opening-hours-panel { max-width: 620px; margin: clamp(2rem, 4vw, 3rem) auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.5rem, 3.5vw, 2.6rem); }
.opening-hours-grid { border-top: 1px solid var(--line); }
.opening-hours-row { display: flex; justify-content: space-between; padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
.opening-hours-day { font-family: var(--font-sans); font-weight: 500; color: var(--ink); }
.opening-hours-row.is-closed .opening-hours-time { color: var(--muted); }

@media (max-width: 880px) {
    .contact-grid { grid-template-columns: 1fr; gap: clamp(2.2rem, 6vw, 3rem); }
    .contact-aside { width: 100%; max-width: 620px; margin: 0 auto; }
    .contact-aside::after { display: none; }
    .contact-map, .contact-map iframe { min-height: clamp(340px, 48vh, 440px); }
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); color: var(--ink-soft); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.footer-logo { height: 58px; width: auto; margin-bottom: 1.4rem; }
.footer-tagline { max-width: 360px; color: var(--muted); font-size: .98rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.5rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: all .25s var(--ease); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); }
.footer-col h5 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--ink); margin-bottom: 1.2rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .7rem; }
.footer-menu a { color: var(--ink-soft); font-size: .96rem; }
.footer-menu a:hover { color: var(--gold-dark); }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: .6rem; }
.footer-contact a { color: var(--ink-soft); font-size: .96rem; }
.footer-contact a:hover { color: var(--gold-dark); }
.footer-bottom { border-top: 1px solid var(--line); }
/* padding-top/bottom only — never zero the horizontal container padding here,
   or the copyright/credit get jammed into the page edges. */
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .85rem; color: var(--muted); }
/* keep the credit clear of the floating "to-top" button (fixed, bottom-right) */
@media (min-width: 721px) { .footer-credit { margin-right: 3.6rem; } }
.footer-bottom-left { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.footer-legal a, .footer-legal-btn { font-size: .85rem; color: var(--muted); background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; transition: color .25s var(--ease); }
.footer-legal a:hover, .footer-legal-btn:hover { color: var(--gold-dark); }
.footer-cookie-btn { display: inline-flex; align-items: center; gap: .4rem; }
.footer-cookie-btn svg { flex: 0 0 auto; }
.footer-credit a { color: var(--ink-soft); }
.footer-credit a:hover { color: var(--gold-dark); }

/* =====================================================================
   Cookie / to-top / error
   ===================================================================== */
/* compact corner card */
.cookie-banner { position: fixed; bottom: 1.4rem; left: 1.4rem; z-index: 1500; width: min(380px, calc(100vw - 2.8rem)); background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.85); animation: cookieIn .4s var(--ease) both; }
.cookie-banner[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie-banner-inner { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.cookie-banner-title { display: block; font-family: var(--font-sans); font-weight: 600; letter-spacing: .02em; font-size: .95rem; color: var(--ink); margin-bottom: .4rem; }
.cookie-banner-inner p { margin: 0; font-size: .86rem; line-height: 1.55; }
.cookie-banner-status { font-size: .8rem; color: var(--gold-dark); }
.cookie-banner-status[hidden] { display: none; }
.cookie-banner-inner a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: .6rem; }
.cookie-banner-actions .btn { flex: 1; }

/* Floating action buttons (back-to-top + WhatsApp) share one size so they read as
   a matched pair anchored bottom-right. */
.to-top { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 1400; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .35s var(--ease); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); }

/* Floating WhatsApp button — always visible, anchored bottom-right. When present,
   the back-to-top button stacks directly above it (see sibling rule below). */
.wa-float { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 1400; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(0,0,0,.5); }
.wa-float ~ .to-top { bottom: calc(1.6rem + 50px + .7rem); }

/* The open mobile drawer owns the bottom-right corner — fold the floating buttons
   away so they don't sit on top of the menu. */
body:has(.main-nav.open) .wa-float,
body:has(.main-nav.open) .to-top { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }

.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-serif); font-style: italic; font-size: clamp(4.5rem, 13vw, 9rem); color: var(--gold); line-height: 1; margin: 0 0 .5rem; }

/* =====================================================================
   Stats band · Werkwijze · Sectoren  (homepage + portfolio enrichment)
   ===================================================================== */
/* tint (not --dark) so it never sits flush against the deep-dark featured band */
.stats-band { background: var(--tint); color: var(--ink-soft); padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; border-block: 1px solid var(--line); }
.stats-eyebrow { display: inline-block; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 600; color: var(--gold); margin-bottom: clamp(2rem, 4vw, 3rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }
.stat { position: relative; padding: 0 1rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 64%; background: rgba(255, 255, 255, .12); }
.stat-value { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--gold); margin-bottom: .55rem; }
.stat-label { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(207, 202, 191, .72); line-height: 1.45; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.8rem, 3.5vw, 3rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.process-step { position: relative; }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--gold-dark); margin-bottom: 1.3rem; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.process-step:hover .process-num { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.process-step h3 { font-size: 1.2rem; margin-bottom: .55em; }
.process-step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); margin-top: clamp(2.4rem, 4vw, 3.4rem); }
.sector { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 2.5vw, 2.1rem); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.sector::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--gold); transition: width .4s var(--ease); }
.sector:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -44px rgba(0, 0, 0, .6); }
.sector:hover::before { width: 100%; }
.sector h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.sector p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
    :root { --header-h: 74px; }
    .bg-grid span:nth-child(1) { left: 50%; } .bg-grid span:nth-child(3) { display: none; }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); background: var(--bg); padding: 1.4rem 1.8rem 2rem; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 1001; overflow-y: auto; box-shadow: -24px 0 60px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; }
    .main-nav.open { transform: translateX(0); }

    /* drawer header: logo on the left, clean close button on the right */
    .mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
    .mobile-nav-brand { display: inline-flex; align-items: center; }
    .mobile-nav-brand img { height: 42px; width: auto; display: block; }
    .mobile-nav-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s var(--ease); }
    .mobile-nav-close:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); transform: rotate(90deg); }

    /* drawer footer: social icons */
    .mobile-nav-social { display: flex; gap: .7rem; margin-top: auto; padding-top: 1.8rem; border-top: 1px solid var(--line); }
    .mobile-nav-social a { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: all .25s var(--ease); }
    .mobile-nav-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); }

    .main-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav-list > li { width: 100%; border-bottom: 1px solid var(--line); }
    /* Every top-level link reads identically — same size, weight and colour — so no
       single item (e.g. the active "Home") stands out by accident. */
    .main-nav-list > li > a { display: flex; align-items: center; gap: .5rem; padding: 1.05rem .2rem; font-size: 1.08rem; font-weight: 400; color: var(--ink); border: none; text-shadow: none; }
    .main-nav-list > li > a::after { display: none; }
    .main-nav-list > li.active > a { color: var(--gold); }
    .main-nav-list > li.nav-external > a { color: var(--ink); }
    .main-nav-list > li.nav-external > a:hover { color: var(--gold-dark); }
    /* Contact = a contained gold CTA at the foot of the mobile menu, not a full-width fill */
    .main-nav-list > li:has(.nav-contact-btn) { border-bottom: none; margin-top: 1.4rem; }
    .main-nav-list .nav-contact-btn {
        display: inline-block; width: auto; margin: 0; padding: .9em 2.1em;
        font-size: .95rem; background: var(--gold); color: var(--on-accent);
        border: none; border-radius: 999px; backdrop-filter: none; -webkit-backdrop-filter: none;
    }
    .main-nav-list .nav-contact-btn:hover { background: #ffc63a; color: var(--on-accent); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 .5rem 1rem; min-width: 0; }
    .pillars { grid-template-columns: 1fr; gap: 0; }
    .pillar { padding: 1.5rem 0; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid, .project-grid--stagger { grid-template-columns: repeat(2, 1fr); }
    .project-grid--stagger > .project-card:nth-child(3n+2) { margin-top: 0; }
    .gallery-masonry { columns: 2; }

    .featured { min-height: auto; }
    .featured-top { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
    .featured-slider { padding-right: 0; }
    .featured-slide { grid-template-columns: 1fr; gap: 1.8rem; }
    .featured-media { height: 52vh; }
    .featured-nav { position: static; transform: none; flex-direction: row; gap: 1.2rem; margin-top: 2rem; }
    .featured-num::before { display: none; }
}

@media (max-width: 720px) {
    body { font-size: 1rem; }
    .bg-grid { display: none; }
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split--reverse .split-media { order: 0; }
    .single-media::after { display: none; }
    .collage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
    .collage-item { position: static; width: 100% !important; height: auto !important; border: none; box-shadow: 0 24px 40px -28px rgba(0,0,0,.5); }
    .collage-item--1 { grid-column: 1 / -1; aspect-ratio: 16/10; }
    .collage-item--2, .collage-item--3 { aspect-ratio: 4/5; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head--center { align-items: center; }
    .contact-actions { flex-direction: column; }
    .contact-actions .btn { width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .stat + .stat::before { display: none; }
    .process-steps { grid-template-columns: 1fr; gap: 1.6rem; }
    .sectors-grid { grid-template-columns: 1fr; }
    .project-grid, .project-grid--stagger { grid-template-columns: 1fr; }
    .project-grid--stagger > .project-card { margin-top: 0 !important; }
    .gallery-masonry { columns: 1; }
    .project-intro { grid-template-columns: 1fr; }
    .project-meta { position: static; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 90vh; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-left { justify-content: center; }
    .footer-legal { justify-content: center; }
    .hero-dots { display: none; }
    .carousel-item { width: 80vw; }
    .carousel-item--0 { height: 240px; } .carousel-item--1 { height: 290px; } .carousel-item--2 { height: 220px; }
    .featured-title { font-size: 2rem; }
}

/* =====================================================================
   Accessibility — focus + reduced motion
   ===================================================================== */
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .featured :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .page-hero:not(.page-hero--plain) :focus-visible { outline-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .hero-slide { transition: opacity .35s linear !important; }
    .hero-scroll, .hero-slide.is-active { animation: none !important; }
    .hero-slide.is-active { transform: none !important; }
}

.skip-link { position: fixed; top: -120px; left: 1rem; z-index: 2200; background: var(--gold); color: var(--on-accent); padding: .75rem 1.3rem; border-radius: 0 0 5px 5px; font-family: var(--font-sans); font-size: .85rem; font-weight: 500; transition: top .25s var(--ease); }
.skip-link:focus { top: 0; }

/* =====================================================================
   Google reviews widget (manual reviews — includes/google-reviews.twig)
   ===================================================================== */
.gr-widget { max-width: var(--maxw); margin: 0 auto; }

.gr-head {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; margin-bottom: clamp(3.4rem, 6vw, 5.2rem);
}
.gr-head .pill { margin-bottom: 1.2rem; }
.gr-head .dh { margin-bottom: 1.5rem; }
.gr-l-b { color: #4285F4; } .gr-l-r { color: #EA4335; } .gr-l-y { color: #FBBC05; } .gr-l-g { color: #34A853; }
.gr-logo { font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.gr-badge {
    display: inline-flex; align-items: center; gap: .9rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    padding: .65rem 1.4rem; box-shadow: 0 24px 45px -38px rgba(0,0,0,.7);
}
.gr-rating { display: inline-flex; align-items: center; gap: .55rem; }
.gr-score { font-family: var(--font-sans); font-weight: 600; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.gr-count { color: var(--muted); font-size: .9rem; }
.gr-cta { white-space: nowrap; margin-top: 1.5rem; }

.gr-stars { display: inline-flex; gap: 1px; }
.gr-star { width: 21px; height: 21px; fill: rgba(255,255,255,.16); flex: 0 0 auto; }
.gr-star.is-on { fill: var(--gold); }
.gr-stars--sm .gr-star { width: 17px; height: 17px; }

.gr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.gr-card {
    position: relative; display: flex; flex-direction: column; gap: .85rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    padding: 1.5rem 1.5rem 1.6rem; overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.gr-card::before {
    content: '\201C'; position: absolute; top: -.55rem; right: 1rem;
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 6rem; line-height: 1;
    color: var(--gold); opacity: .12; pointer-events: none;
}
.gr-card:hover {
    transform: translateY(-5px); border-color: color-mix(in srgb, var(--gold) 40%, var(--line));
    box-shadow: 0 30px 55px -38px rgba(0,0,0,.7);
}
.gr-card-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .75rem; }
.gr-avatar {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-sans); font-weight: 600; font-size: .95rem; color: #fff; letter-spacing: .02em;
}
.gr-avatar--0 { background: #5b8def; } .gr-avatar--1 { background: #d9695f; }
.gr-avatar--2 { background: #5aa469; } .gr-avatar--3 { background: #c79338; }
.gr-avatar--4 { background: #7d6fc4; }
.gr-card-id { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.gr-author { font-family: var(--font-sans); font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.gr-time { color: var(--muted); font-size: .82rem; }

.gr-body {
    color: var(--ink-soft); font-size: .98rem; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.gr-card.is-open .gr-body { -webkit-line-clamp: unset; overflow: visible; }
.gr-more {
    align-self: flex-start; background: none; border: none; padding: 0; cursor: pointer;
    color: var(--gold-dark); font-family: var(--font-sans); font-size: .9rem; font-weight: 500;
}
.gr-more:hover { text-decoration: underline; }
.gr-more--link { text-decoration: none; }

@media (max-width: 980px) {
    .gr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .gr-cta { width: 100%; text-align: center; }
    .gr-grid { grid-template-columns: 1fr; }
}
