/* Self-hosted fonts — no Google Fonts request (GDPR-clean) */
@font-face {
    font-family: 'Bebas Neue';
    src: url('assets/fonts/BebasNeue.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'WindSong';
    src: url('assets/fonts/WindSong.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
/* Want the exact "TheSignature" font from 1001fonts? Its license is
   personal-use; after purchasing/confirming a commercial license,
   drop the file in assets/fonts/ and uncomment:
@font-face {
    font-family: 'TheSignature';
    src: url('assets/fonts/TheSignature.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
   The .signature rule below already lists it first. */
@font-face {
    font-family: 'Great Vibes';
    src: url('assets/fonts/GreatVibes.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/MontserratItalic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/NunitoItalic.woff2') format('woff2');
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

/* ================================================================
   THOMAS D ARCHITECT — Stylesheet v3.0
   Palette: White · Cream · Charcoal · Gold (same as V2)
   Font: Cormorant Garamond (display) + Switzer (body)
   Upgrade: Editorial typography scale, stronger sections,
            portrait layout, mobile nav, hover states
================================================================ */

/* ----------------------------------------------------------------
   1. ROOT
---------------------------------------------------------------- */
:root {
    --white:    #ffffff;
    --cream:    #faf9f7;
    --cream2:   #f2ede8;
    --charcoal: #1a1a1a;
    --mid:      #6b6b6b;
    --light:    #d4d0ca;
    --gold:     #A89B7C;
    --font-d:   'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-b:   'Nunito', 'Helvetica Neue', Arial, sans-serif;
    --font-t:   'Montserrat', 'Helvetica Neue', Arial, sans-serif;  /* titles — matches the wordmark */
    --container: 1200px;
    --px:        clamp(24px, 5.5vw, 72px);
}

/* ----------------------------------------------------------------
   2. RESET
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-b);
    background: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ----------------------------------------------------------------
   3. UTILITIES
---------------------------------------------------------------- */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section-label {
    display: block;
    font-family: var(--font-b);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
                transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------------
   4. HEADER
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--px);
    z-index: 900;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                border-color 0.4s ease;
    gap: 16px;
}
.site-header.scrolled { border-bottom-color: rgba(212,208,202,0.6); }
.site-header.hidden   { transform: translateY(-100%); }

a.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-header-img {
    height: 34px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}
.logo-header-img:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin-left: auto;
}
.nav-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    transition: color 0.25s ease;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-links a.nav-cta {
    color: var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 2px;
}
.nav-links a.nav-cta:hover { opacity: 0.5; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.lang-btn {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--light);
    padding: 6px 8px;
    transition: color 0.25s ease, background 0.25s ease;
    text-transform: uppercase;
}
.lang-btn:hover  { color: var(--charcoal); }
.lang-btn.active { color: var(--charcoal); }
.lang-btn + .lang-btn::before {
    content: '/';
    margin-right: 2px;
    color: var(--light);
    font-size: 9px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--charcoal);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 850;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--px);
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 48px;
}
.mobile-nav-links li { border-bottom: 1px solid var(--light); }
.mobile-nav-links a {
    display: block;
    font-family: var(--font-d);
    font-size: clamp(32px, 7vw, 52px);
    font-weight: 400;
    font-style: italic;
    color: var(--light);
    padding: 18px 0;
    transition: color 0.25s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--charcoal); }
.mobile-nav-lang {
    display: flex;
    gap: 20px;
}
.mobile-nav-lang a {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    transition: color 0.25s ease;
}
.mobile-nav-lang a:hover,
.mobile-nav-lang a.active { color: var(--gold); }

/* ----------------------------------------------------------------
   5. HERO — LOGO SPLIT
---------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 300vh;
}
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--white);
}

.logo-half {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    z-index: 2;
}

.logo-img-clip {
    position: relative;
    width: clamp(240px, min(38vw, 62vh), 520px);
    overflow: hidden;
}
.logo-clip-left  { clip-path: inset(0 37.485% 0 0); }
.logo-clip-right { clip-path: inset(0 0 0 62.515%); }
.logo-img-real {
    width: clamp(240px, min(38vw, 62vh), 520px);
    height: auto;
    display: block;
    vertical-align: bottom;
}

.hero-center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    width: clamp(280px, 52vw, 600px);
    padding: 0 24px;
    will-change: opacity;
}
.hero-center-text.visible { pointer-events: auto; }

.hero-eyebrow {
    font-family: var(--font-b);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 24px;
}
.hero-headline {
    font-family: var(--font-d);
    font-size: clamp(38px, 5.5vw, 76px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--charcoal);
    margin-bottom: 40px;
}
.hero-headline em { font-style: normal; font-weight: 300; }
.hero-cta {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}
.hero-cta:hover { opacity: 0.45; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-scroll.visible { opacity: 1; }
.hero-scroll span {
    font-family: var(--font-b);
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--light);
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--light), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { transform: scaleY(1);   opacity: 0.4; }
    50%      { transform: scaleY(1.3); opacity: 1; }
}

/* ----------------------------------------------------------------
   6. INTRODUCTION SECTION
---------------------------------------------------------------- */
.intro-section {
    padding: clamp(80px, 12vw, 160px) var(--px);
    max-width: var(--container);
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
    margin-bottom: clamp(72px, 10vw, 120px);
    padding-bottom: clamp(72px, 10vw, 120px);
    border-bottom: 1px solid var(--light);
}

.intro-left { position: sticky; top: 100px; }

.intro-title {
    font-family: var(--font-d);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.15;
    letter-spacing: -0.3px;
    color: var(--charcoal);
    margin-top: 16px;
}

.intro-body {
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 300;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 24px;
    max-width: 480px;
}

/* Stats as definition list rows */
.intro-stats {
    margin-top: 52px;
    border-top: 1px solid var(--light);
}
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--light);
    gap: 16px;
}
.stat-key {
    font-family: var(--font-b);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    flex-shrink: 0;
}
.stat-val {
    font-family: var(--font-d);
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    color: var(--charcoal);
    text-align: right;
}

/* ----------------------------------------------------------------
   7. ABOUT ROW
---------------------------------------------------------------- */
.about-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}

.about-photo-wrap { position: sticky; top: 100px; }

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--cream2);
    border: 1px solid var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--light);
}
.about-photo-placeholder p {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light);
    text-align: center;
    line-height: 1.7;
}
.about-real-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(10%);
    transition: filter 0.6s ease;
}
.about-real-photo:hover { filter: grayscale(0); }

.about-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--light);
}
.about-caption span:first-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
}
.about-caption span:last-child {
    font-size: 11px;
    font-weight: 300;
    color: var(--mid);
    letter-spacing: 1px;
}

.about-title {
    font-family: var(--font-d);
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.15;
    color: var(--charcoal);
    margin: 16px 0 32px;
}
.about-body {
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 300;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 20px;
    max-width: 520px;
}

.about-facts {
    margin: 36px 0;
    border-top: 1px solid var(--light);
}
.about-fact {
    font-size: 13px;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.6;
    padding: 14px 0;
    border-bottom: 1px solid var(--light);
    padding-left: 16px;
    position: relative;
}
.about-fact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.about-cta {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 3px;
    margin-top: 8px;
    transition: opacity 0.3s ease;
}
.about-cta:hover { opacity: 0.45; }

/* ----------------------------------------------------------------
   8. CLOSING CTA
---------------------------------------------------------------- */
.closing-cta {
    background: #4A4A44;   /* warm grey band — softer than the charcoal */
    color: var(--white);
    padding: clamp(80px, 12vw, 140px) var(--px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Ghost watermark letter */
.closing-cta::before {
    content: 'T';
    font-family: var(--font-d);
    font-size: min(50vw, 480px);
    font-style: italic;
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    line-height: 1;
}
.closing-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.closing-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 24px;
}
.closing-title {
    font-family: var(--font-d);
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 48px;
}

/* Compact variant: label + button only, no title/paragraph. Used
   as a persistent bar pinned to the bottom of the viewport on the
   werkwijze page, so it never shifts when a phase is expanded.
   It fades out once the footer scrolls into view (see script.js)
   so it never sits on top of the footer content. */
.closing-cta--compact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 16px var(--px);
    box-shadow: 0 -8px 28px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.closing-cta--compact.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.closing-cta--compact .closing-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    max-width: 720px;
}
.closing-cta--compact .closing-label {
    font-family: var(--font-t);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--white);
    margin-bottom: 0;
}
.closing-cta--compact .btn-primary {
    padding-top: 10px;
    padding-bottom: 10px;
}
/* Reserve space at the bottom of the werkwijze page so the fixed
   bar never overlaps the last phase while scrolling. */
.page-werkwijze #main-content { padding-bottom: clamp(72px, 10vw, 92px); }

@media (max-width: 560px) {
    .closing-cta--compact { padding: 14px var(--px); }
    .closing-cta--compact .closing-inner { flex-direction: column; gap: 12px; }
}

/* ----------------------------------------------------------------
   9. BUTTONS
---------------------------------------------------------------- */
.btn-primary {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid currentColor;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.btn-primary:hover { background: var(--white); color: var(--charcoal); }

.btn-light {
    color: var(--charcoal);
    border-color: var(--charcoal);
}
.btn-light:hover { background: var(--charcoal); color: var(--white); }

/* ----------------------------------------------------------------
   10. FOOTER
---------------------------------------------------------------- */
.site-footer {
    background: var(--cream);
    border-top: 1px solid var(--light);
    padding: 40px var(--px);
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--charcoal);
}
.footer-location {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--mid);
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--charcoal); }
.footer-copy {
    font-size: 10px;
    font-weight: 300;
    color: var(--light);
    text-align: right;
    letter-spacing: 1px;
}

/* ----------------------------------------------------------------
   11. BACK TO TOP
---------------------------------------------------------------- */
#backToTop {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 40px; height: 40px;
    background: var(--white);
    border: 1px solid var(--light);
    color: var(--charcoal);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease, color 0.25s ease;
    z-index: 400;
}
#backToTop.show { opacity: 1; transform: none; }
#backToTop:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

/* On the werkwijze page a fixed CTA bar occupies the bottom strip
   of the viewport — lift the back-to-top button clear of it. */
.page-werkwijze #backToTop { bottom: 96px; }
@media (max-width: 560px) {
    .page-werkwijze #backToTop { bottom: 128px; }
}

/* ----------------------------------------------------------------
   12. PORTFOLIO PAGE
---------------------------------------------------------------- */
.page-hero {
    padding: clamp(120px, 16vw, 180px) var(--px) clamp(48px, 6vw, 72px);
    max-width: var(--container);
    margin: 0 auto;
    border-bottom: 1px solid var(--light);
}
.page-title {
    font-family: var(--font-d);
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--charcoal);
    margin-bottom: 44px;
}

/* Filter */
.filter-bar { display: flex; gap: 24px; flex-wrap: wrap; }
.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    cursor: pointer;
    padding: 0 0 4px;
    transition: color 0.25s ease;
    position: relative;
}
.filter-btn.active,
.filter-btn:hover { color: var(--charcoal); }
.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--charcoal);
}

/* Projects grid — 3 col with stagger offset on middle column */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 32px) clamp(12px, 2vw, 24px);
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) var(--px);
}
.project-card { cursor: pointer; }
.project-card:nth-child(3n+2) { margin-top: clamp(24px, 4vw, 56px); }

.card-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--cream2);
}
.card-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
    transition: transform 1.2s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
}
.project-card:hover .card-image-wrap img {
    transform: scale(1.04);
    filter: grayscale(0);
}
.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex; align-items: flex-end; padding: 20px;
}
.project-card:hover .card-overlay { opacity: 1; }
.card-year {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-b);
}
.card-info { padding: 16px 0 24px; }
.card-type {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    display: block;
    margin-bottom: 8px;
}
.card-title {
    font-family: var(--font-d);
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.card-location {
    font-size: 12px;
    font-weight: 300;
    color: var(--mid);
    letter-spacing: 0.5px;
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    padding: clamp(56px, 8vw, 96px) var(--px);
    border-top: 1px solid var(--light);
    max-width: var(--container);
    margin: 0 auto;
}
.portfolio-cta p {
    font-family: var(--font-d);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    font-style: italic;
    color: var(--mid);
    margin-bottom: 28px;
}

/* ----------------------------------------------------------------
   13. CONTACT PAGE
---------------------------------------------------------------- */
.contact-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(120px, 16vw, 180px) var(--px) clamp(80px, 10vw, 120px);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(56px, 8vw, 112px);
    align-items: start;
}
.contact-info { position: sticky; top: 100px; }
.contact-title {
    font-family: var(--font-d);
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.12;
    color: var(--charcoal);
    margin: 16px 0 40px;
}
.contact-email a {
    font-family: var(--font-d);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    border-bottom: 1px solid var(--light);
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
}
.contact-email a:hover { border-color: var(--charcoal); }
.contact-loc {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 8px;
}
.contact-note {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--mid);
    margin-top: 28px;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.form-group label {
    font-family: var(--font-b);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid);
}
.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light);
    padding: 12px 0;
    font-family: var(--font-b);
    font-size: 15px;
    font-weight: 300;
    color: var(--charcoal);
    outline: none;
    transition: border-bottom-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    resize: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--charcoal); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--light); font-size: 14px; }
.form-group select option { background: var(--white); color: var(--charcoal); }
.form-group textarea { min-height: 100px; line-height: 1.7; }

/* iOS Safari zooms the whole page in when a focused input's font
   is under 16px — bump to 16px only on small/touch screens so
   filling in the contact form doesn't trigger that zoom. */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; }
}

/* Gold focus line */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}
.form-group:focus-within::after { width: 100%; }

.btn-submit {
    align-self: flex-start;
    margin-top: 8px;
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.btn-submit:hover { background: var(--charcoal); color: var(--white); }

/* Form success */
.form-success {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 48px 0;
}
.form-success.visible { display: flex; }
.form-success-title {
    font-family: var(--font-d);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    color: var(--charcoal);
}
.form-success p {
    font-size: 15px;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   14. RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .intro-grid    { grid-template-columns: 1fr; }
    .intro-left    { position: static; }
    .about-row     { grid-template-columns: 1fr 1.3fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card:nth-child(3n+2) { margin-top: 0; }
    .project-card:nth-child(2n)   { margin-top: clamp(20px, 3vw, 40px); }
    .footer-inner  { grid-template-columns: 1fr 1fr; }
    .footer-copy   { grid-column: span 2; text-align: left; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .site-header .nav-links,
    .site-header .lang-switcher { display: none; }

    .hero-section { height: 220vh; }
    .logo-img-real,
    .logo-img-clip { width: clamp(180px, 70vw, 320px); }

    .intro-section { padding: clamp(60px,10vw,100px) var(--px); }
    .intro-grid    { gap: 40px; }
    .about-row     { grid-template-columns: 1fr; }
    .about-photo-wrap { position: static; max-width: 340px; }

    .projects-grid { grid-template-columns: 1fr; gap: 24px; }
    .project-card:nth-child(2n),
    .project-card:nth-child(3n+2) { margin-top: 0; }
    .card-image-wrap { aspect-ratio: 3/2; }

    .contact-layout { grid-template-columns: 1fr; gap: 48px; padding-top: clamp(100px,14vw,140px); }
    .contact-info   { position: static; }

    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 12px; }
    .footer-left  { align-items: center; }
    .footer-nav   { justify-content: center; }
    .footer-copy  { grid-column: auto; text-align: center; }
}

@media (max-width: 420px) {
    .hero-headline { font-size: clamp(28px, 8vw, 40px); }
    .page-title    { font-size: clamp(30px, 9vw, 44px); }
    .contact-title { font-size: clamp(28px, 9vw, 40px); }
}


/* ----------------------------------------------------------------
   15. HERO SUB-INTRO (under the name, between the split halves)
---------------------------------------------------------------- */
.hero-sub {
    font-family: var(--font-b);
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--mid);
    max-width: 420px;
    margin: 0 auto 36px;
}

/* Reduced-motion / no-JS fallback: full logo above static text */
.hero-section.static { height: auto; }
.hero-section.static .hero-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    gap: 40px;
    padding: 120px var(--px) 80px;
}
.hero-section.static .logo-half { position: static; transform: none !important; }
.hero-section.static .logo-clip-left { clip-path: none; }
.hero-section.static .logo-right { display: none; }
.hero-section.static .hero-center-text {
    position: static;
    transform: none;
    opacity: 1 !important;
    pointer-events: auto;
}
.hero-section.static .hero-scroll { display: none; }

/* ----------------------------------------------------------------
   16. INFO ROWS (contact page — official details, no form)
---------------------------------------------------------------- */
.info-rows { border-top: 1px solid var(--light); }
.info-rows .stat-val { max-width: 65%; }
.info-rows .stat-val a {
    border-bottom: 1px solid var(--light);
    padding-bottom: 1px;
    transition: border-color 0.25s ease;
}
.info-rows .stat-val a:hover { border-color: var(--gold); }
.info-note {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--mid);
    margin-top: 24px;
}

.contact-tree {
    height: 170px;
    width: auto;
    margin-top: 40px;
    opacity: 0.85;
}

/* ----------------------------------------------------------------
   17. LEGAL PAGES (privacy & cookies)
---------------------------------------------------------------- */
.legal-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) var(--px) clamp(80px, 10vw, 120px);
}
.legal-wrap h2 {
    font-family: var(--font-d);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    margin: 44px 0 14px;
}
.legal-wrap p, .legal-wrap li {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 12px;
}
.legal-wrap ul { padding-left: 20px; margin-bottom: 16px; }
.legal-wrap a { border-bottom: 1px solid var(--light); transition: border-color 0.25s ease; }
.legal-wrap a:hover { border-color: var(--gold); }
.legal-wrap code {
    font-family: monospace;
    font-size: 12px;
    background: var(--cream2);
    padding: 2px 6px;
}
.legal-updated {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light);
}

/* ----------------------------------------------------------------
   18. COOKIE NOTICE (strictly-necessary storage only)
---------------------------------------------------------------- */
.cookie-notice {
    position: fixed;
    left: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 950;
    max-width: 330px;
    background: var(--white);
    border: 1px solid var(--light);
    box-shadow: 0 20px 60px rgba(26,26,26,0.14);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
}
.cookie-notice.visible { display: flex; }
.cookie-notice .cookie-label {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}
.cookie-notice p {
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--mid);
}
.cookie-notice p a {
    color: var(--charcoal);
    border-bottom: 1px solid var(--light);
    transition: border-color 0.25s ease;
}
.cookie-notice p a:hover { border-color: var(--gold); }
.cookie-notice .cookie-ok {
    align-self: flex-start;
    font-family: var(--font-b);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 11px 26px;
    background: var(--charcoal);
    border: 1px solid var(--charcoal);
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.cookie-notice .cookie-ok:hover { background: transparent; color: var(--charcoal); }

/* Footer privacy link block */
.footer-legal-link {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--light);
    transition: color 0.25s ease;
}
.footer-legal-link:hover { color: var(--charcoal); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll-line { animation: none; }
}


/* ================================================================
   19. TYPE SYSTEM v4 — Nunito titles (sentence case) + Bebas labels
   Titles keep normal casing with a light, generous Nunito.
   Bebas Neue lives in the small uppercase labels (eyebrows,
   categories, years) where capitals belong — so both fonts
   stay part of one coherent whole.
================================================================ */
.hero-headline, .intro-title, .about-title, .closing-title,
.page-title, .contact-title, .card-title, .mobile-nav-links a,
.legal-wrap h2, .form-success-title {
    font-family: var(--font-t);
    font-style: normal;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0.015em;
    line-height: 1.2;
}
.hero-headline em, .intro-title em, .about-title em, .closing-title em,
.page-title em, .contact-title em, .card-title em, .mobile-nav-links a em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
}

.hero-headline  { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.18; margin-bottom: 26px; }
.intro-title    { font-size: clamp(24px, 3vw, 41px); line-height: 1.22; }
.about-title    { font-size: clamp(22px, 2.7vw, 36px); line-height: 1.22; }
.page-title     { font-size: clamp(28px, 4vw, 52px);   line-height: 1.16; }
.contact-title  { font-size: clamp(26px, 3.5vw, 45px); line-height: 1.2; }
.closing-title  { font-size: clamp(28px, 4vw, 50px);   line-height: 1.18; font-weight: 300; }
.card-title     { font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; margin-bottom: 4px; }
.legal-wrap h2  { font-size: clamp(19px, 2vw, 25px);   font-weight: 400; }
.mobile-nav-links a { font-weight: 300; }
.closing-cta::before {
    font-family: var(--font-t);
    font-weight: 200;
    font-style: normal;
}

/* Small uppercase labels: this is where Bebas Neue shines */
.section-label, .hero-eyebrow, .stat-key, .card-type, .card-year,
.footer-name, .filter-btn, .closing-label, .legal-updated,
.cookie-notice .cookie-label, .mobile-nav-lang a {
    font-family: var(--font-d);
    font-weight: 400;
}
.section-label  { font-size: 13px; letter-spacing: 4px; }
.hero-eyebrow   { font-size: 13px; letter-spacing: 5px; }
.stat-key       { font-size: 13px; letter-spacing: 3px; }
.card-type      { font-size: 13px; letter-spacing: 3px; }
.card-year      { font-size: 13px; letter-spacing: 3px; }
.footer-name    { font-size: 15px; letter-spacing: 3px; font-weight: 400; }
.filter-btn     { font-size: 14px; letter-spacing: 3px; }
.closing-label  { font-size: 13px; letter-spacing: 4px; }
.legal-updated  { font-size: 13px; letter-spacing: 2px; }
.cookie-notice .cookie-label { font-size: 12px; letter-spacing: 3px; }

/* Values and accents in clean Nunito */
.stat-val {
    font-family: var(--font-b);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.portfolio-cta p {
    font-family: var(--font-b);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(16px, 1.7vw, 21px);
}
.hero-sub { font-weight: 400; }
.intro-body, .about-body { font-weight: 400; }

/* ================================================================
   20. HEADER REWORK
   — the logo is the home link (no separate index item)
   — "Start a Project" is a plain link, no underline
   — the current page is highlighted in bold
================================================================ */
.nav-links a.nav-cta {
    color: var(--mid);
    border-bottom: none;
    padding-bottom: 0;
}
.nav-links a.nav-cta:hover { opacity: 1; color: var(--charcoal); }
.nav-links a.active,
.nav-links a[aria-current="page"] {
    color: var(--charcoal);
    font-weight: 800;
}
.mobile-nav-links a.active { color: var(--charcoal); }
.mobile-nav-links a.active em,
.mobile-nav-links a.active { border-left: 3px solid var(--gold); padding-left: 16px; }

/* ================================================================
   21. ENTRANCE & SCROLL ANIMATIONS — restrained and elegant
================================================================ */
@media (prefers-reduced-motion: no-preference) {

    /* Page opens: header settles down, logo breathes in */
    .site-header {
        animation: headerIn 0.7s 0.15s cubic-bezier(0.22,1,0.36,1) backwards;
    }
    @keyframes headerIn {
        from { opacity: 0; transform: translateY(-10px); }
    }
    .logo-img-clip {
        animation: logoIn 1.1s 0.1s cubic-bezier(0.22,1,0.36,1) backwards;
    }
    @keyframes logoIn {
        from { opacity: 0; transform: translateY(10px) scale(0.985); }
    }

    /* Section labels drift into place: letter-spacing settles as they appear */
    .section-label.reveal { letter-spacing: 8px; transition:
        opacity 0.9s cubic-bezier(0.22,1,0.36,1),
        transform 0.9s cubic-bezier(0.22,1,0.36,1),
        letter-spacing 1.2s cubic-bezier(0.22,1,0.36,1); }
    .section-label.reveal.visible { letter-spacing: 4px; }

    /* Rows inside a revealed block cascade in one by one */
    .reveal .stat-row,
    .reveal .about-fact {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
    }
    .reveal.visible .stat-row,
    .reveal.visible .about-fact { opacity: 1; transform: none; }
    .reveal.visible .stat-row:nth-child(1),  .reveal.visible .about-fact:nth-child(1) { transition-delay: 0.10s; }
    .reveal.visible .stat-row:nth-child(2),  .reveal.visible .about-fact:nth-child(2) { transition-delay: 0.22s; }
    .reveal.visible .stat-row:nth-child(3),  .reveal.visible .about-fact:nth-child(3) { transition-delay: 0.34s; }
    .reveal.visible .stat-row:nth-child(4),  .reveal.visible .about-fact:nth-child(4) { transition-delay: 0.46s; }
    .reveal.visible .stat-row:nth-child(5)  { transition-delay: 0.58s; }
    .reveal.visible .stat-row:nth-child(6)  { transition-delay: 0.70s; }

    /* Big headlines rise a touch further than ordinary reveals */
    .intro-title.reveal, .about-title.reveal, .page-title.reveal,
    .contact-title.reveal, h1.reveal, h2.reveal { transform: translateY(36px); }
    .intro-title.reveal.visible, .about-title.reveal.visible, .page-title.reveal.visible,
    .contact-title.reveal.visible, h1.reveal.visible, h2.reveal.visible { transform: none; }
}


/* ================================================================
   22. INTRO SECTION — full-width interior render behind the text
   A soft white veil keeps the charcoal text clearly readable
   everywhere (including over the darker dining corner of the
   image); the veil thins towards the right so the render shows
   through where there is no text. On smaller screens, where the
   text spans the full width, the veil is a touch stronger.
================================================================ */
#intro {
    max-width: none;
    position: relative;
    background:
        linear-gradient(100deg,
            rgba(251,251,249,0.90) 0%,
            rgba(251,251,249,0.78) 45%,
            rgba(251,251,249,0.52) 75%,
            rgba(251,251,249,0.28) 100%),
        url('assets/intro-bg.jpg') center 38% / cover no-repeat;
}
#intro .intro-grid {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
/* hairline between image band and the bio that follows */
#intro { border-bottom: 1px solid var(--light); }

@media (max-width: 900px) {
    #intro {
        background:
            linear-gradient(rgba(251,251,249,0.86), rgba(251,251,249,0.82)),
            url('assets/intro-bg.jpg') center 30% / cover no-repeat;
    }
}

/* Inside the image band, mid-grey text steps up one notch so the
   body copy and small labels stay crisply readable over the render */
#intro .intro-body { color: #4A4A46; }
#intro .stat-key   { color: #6F6F69; }
#intro .stat-row   { border-bottom-color: rgba(26,26,26,0.14); }
#intro .intro-stats { border-top-color: rgba(26,26,26,0.14); }


/* ================================================================
   23. BIO — single consolidated layout (replaces all older layers)
   Desktop: photo left-aligned to the content column, 46% wide.
   Fade: flat until 60% of the image (Thomas's silhouette ends at
   ~61% and keeps ~99% opacity), then dissolves fast — fully gone
   by 84%, leaving a clean white margin before the text column.
================================================================ */
#about { margin-top: clamp(64px, 9vw, 130px); }

@media (min-width: 901px) {
    #about { max-width: none; padding-left: 0; padding-right: 0; }

    #about .about-row {
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        min-height: clamp(380px, 30vw, 480px);
    }
    #about .about-photo-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        left: max(var(--px), calc((100vw - var(--container)) / 2));
        /* the photo now runs up to and 80px UNDER the text column,
           so the fade tail can land exactly at the text's left edge */
        width: calc(100vw - (2 * max(var(--px), (100vw - var(--container)) / 2)) - min(var(--bio-text-w), 50vw) + 80px);
        max-width: 1400px;
        z-index: 0;
    }
    #about .about-real-photo {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: 28% 22%;
        filter: none;
        /* pixel-anchored fade, measured from the photo's right edge:
           fully opaque until 250px before the edge, exactly 5% where the
           text begins (80px before the edge), 0% at the edge itself —
           so a whisper of the image remains visible under the first
           characters, then dissolves completely */
        -webkit-mask-image: linear-gradient(to right,
            #000 max(61%, calc(100% - 250px)), rgba(0,0,0,0.05) calc(100% - 80px), rgba(0,0,0,0) 100%);
                mask-image: linear-gradient(to right,
            #000 max(61%, calc(100% - 250px)), rgba(0,0,0,0.05) calc(100% - 80px), rgba(0,0,0,0) 100%);
    }
    #about .about-real-photo:hover { filter: none; }

    #about .about-caption {
        position: absolute;
        left: 24px;          /* anchored to the photo itself: bottom-left,
                                on the fully opaque part of the image */
        bottom: 26px;
        margin: 0;
        padding: 0;
        border-top: none;
        width: auto;
    }
    #about .about-text {
        position: relative;
        z-index: 1;
        width: min(var(--bio-text-w), 50%);
        margin-right: max(var(--px), calc((100vw - var(--container)) / 2));
    }
}

@media (max-width: 900px) {
    #about .about-row { display: block; }
    #about .about-photo-wrap {
        position: relative;
        top: auto;
        width: auto;
        max-width: none;
        margin-left: calc(-1 * var(--px));
        margin-right: calc(-1 * var(--px));
    }
    #about .about-real-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: 32% 20%;
        filter: none;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,0) 100%);
                mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,0) 100%);
    }
    #about .about-caption {
        position: absolute;
        left: auto;
        right: clamp(16px, 5vw, 36px);
        bottom: clamp(14px, 4vw, 28px);
        margin: 0;
        padding-top: 0;
        border-top: none;
    }
    #about .signature-img { width: clamp(150px, 34vw, 220px); }
    #about .about-text { position: relative; margin-top: -28px; }
}

.signature-img {
    display: block;
    width: clamp(190px, 20vw, 300px);
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5)) drop-shadow(0 1px 3px rgba(0,0,0,0.35));
}


/* ================================================================
   30. STICKY FOOTER
   On short pages (contact) the footer used to float mid-screen.
   The body is now a full-height column: main stretches, the footer
   is always pinned to the bottom of the viewport or below.
================================================================ */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}
main { flex: 1 0 auto; width: 100%; }
.site-footer { margin-top: auto; }

/* ================================================================
   31. PROJECTS GRID — wider stage
   The three columns now use the full viewport (minus the page
   gutters), symmetrically left and right, so the preview images
   scale up with the visitor's screen.
================================================================ */
.projects-grid {
    max-width: 1760px;
    width: 100%;
    gap: clamp(18px, 2.8vw, 44px) clamp(14px, 2.2vw, 36px);
}

/* ================================================================
   32. BIO — justified text
================================================================ */
#about { --bio-text-w: 660px; }
html[lang="en"] #about { --bio-text-w: 630px; }
html[lang="fr"] #about { --bio-text-w: 690px; }

#about .about-body {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;             /* never chop words */
    -webkit-hyphens: none;
    overflow-wrap: normal;
}

/* ================================================================
   33. MOBILE POLISH
================================================================ */
@media (max-width: 768px) {
    /* hero: slightly smaller logo so the split has room to clear */
    .logo-img-clip, .logo-img-real { width: clamp(200px, 60vw, 300px); }

    .hero-center-text { padding: 0 22px; }
    .hero-sub { font-size: 14px; max-width: 100%; }

    /* label stays left, value stays right — even long values (e-mail,
       VAT) wrap within their own column instead of dropping onto a
       new line below the label, so every row looks consistent */
    .info-rows .stat-row { flex-wrap: nowrap; align-items: flex-start; gap: 10px; }
    .info-rows .stat-key { max-width: 42%; }
    .info-rows .stat-val { flex: 1 1 auto; max-width: 58%; text-align: right; overflow-wrap: break-word; }

    /* cookie notice never wider than the screen */
    .cookie-notice { max-width: min(330px, calc(100vw - 32px)); }

    /* footer stacks cleanly */
    .footer-inner { grid-template-columns: 1fr; gap: 14px; text-align: left; }
    .footer-copy { grid-column: auto; }
    .contact-tree { height: 130px; }
}


/* ================================================================
   34. ACTIVE PROJECTS — before / during / after exposition
   Three (or more) live projects side by side; each card carries a
   three-phase viewer with tab buttons that crossfade the images.
   On phones the strip becomes a swipeable, snap-scrolling row.
================================================================ */
.wip-section {
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(8px, 2vw, 24px) var(--px) clamp(56px, 7vw, 96px);
}
.wip-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: clamp(24px, 3.2vw, 44px);
}
.wip-title {
    font-family: var(--font-t);
    font-weight: 300;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: 0.015em;
}
.wip-title em { font-style: italic; color: var(--gold); }

/* Collection head: label + filter above the archive grid */
.collection-head {
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--px) clamp(20px, 2.5vw, 32px);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--light);
    padding-top: clamp(40px, 5vw, 64px);
}

@media (max-width: 900px) {
    .wip-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        margin: 0 calc(-1 * var(--px));
        padding: 0 var(--px);
        scrollbar-width: none;
    }
    .wip-strip::-webkit-scrollbar { display: none; }
    .wip-card { flex: 0 0 84%; scroll-snap-align: center; }
    .collection-head { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   35. CONTACT — naturally centred in the viewport
   main already stretches between header and footer (sticky-footer
   column); on the contact page its content now centres vertically,
   with just enough top padding to clear the fixed header.
================================================================ */
.page-contact main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-contact .contact-layout {
    width: 100%;
    padding-top: clamp(110px, 12vw, 140px);
    padding-bottom: clamp(40px, 5vw, 64px);
}


.wip-nav {
    position: absolute;
    right: 10px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wip-nav.hidden { display: none; }
.wip-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,251,249,0.85);
    border: 1px solid rgba(26,26,26,0.12);
    border-radius: 50%;
    color: var(--charcoal);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease;
    padding-bottom: 2px;
}
.wip-arrow:hover { background: #fff; }
.wip-counter {
    font-family: var(--font-d);
    font-size: 11px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
    min-width: 34px;
    text-align: center;
}
/* a project with only one phase needs no tab bar */




/* ================================================================
   37. PROJECT EXPOSITION v2 — "planlegende" rows
   Each active project is a full-width row: a large stage on the
   left that shows every photo at its TRUE aspect ratio (contained,
   never cropped), and on the right a schedule-like legend: the
   project info, a vertical phase timeline (Voor→Tijdens→Na) and
   the list of rooms. Room choice is kept when switching phases —
   the three states of the same room stay in sync.
================================================================ */
/* tighter page head so the projects sit higher in view */
.page-portfolio .page-hero {
    padding-top: clamp(88px, 10vw, 118px);
    padding-bottom: clamp(10px, 1.4vw, 18px);
}
.page-portfolio .page-title { margin-bottom: 0; font-size: clamp(26px, 3.6vw, 46px); }
.wip-section { padding-top: clamp(18px, 2.4vw, 30px); }

.exp-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(44px, 5.5vw, 80px);
}
.exp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 300px);
    gap: clamp(22px, 3vw, 52px);
    align-items: start;
}
.exp-stage {
    position: relative;
    height: clamp(340px, 44vw, 620px);
    background: var(--cream2);
    border: 1px solid rgba(26,26,26,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.exp-frame {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;          /* true aspect ratio — contained, never cropped */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.exp-frame.active { opacity: 1; pointer-events: auto; }

.exp-side { display: flex; flex-direction: column; }
.exp-side .card-info { padding-bottom: 18px; border-bottom: 1px solid var(--light); }

.exp-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 0 18px;
    border-bottom: 1px solid var(--light);
}
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 30px;
    bottom: 32px;
    width: 1px;
    background: var(--light);
}
.exp-phase {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-d);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid);
    transition: color 0.25s ease;
    position: relative;
}
.exp-phase::before {
    content: '';
    width: 11px;
    height: 11px;
    border: 1px solid var(--line, #B9B9B4);
    border: 1px solid var(--light);
    border-radius: 50%;
    background: var(--paper, #FBFBF9);
    background: var(--cream);
    transition: background 0.25s ease, border-color 0.25s ease;
    flex: none;
    z-index: 1;
}
.exp-phase:hover { color: var(--charcoal); }
.exp-phase.active { color: var(--charcoal); }
.exp-phase.active::before { background: var(--charcoal); border-color: var(--charcoal); }
.exp-timeline--single { display: none; }
.exp-timeline--single + .exp-rooms { border-top: none; }

.exp-rooms { padding-top: 14px; display: flex; flex-direction: column; }
.exp-room {
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-b);
    font-weight: 300;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    color: var(--mid);
    padding: 7px 0 7px 14px;
    position: relative;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.exp-room::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--light);
    transition: width 0.25s ease, background 0.25s ease;
}
.exp-room:hover { color: var(--charcoal); }
.exp-room.active { color: var(--charcoal); font-weight: 600; }
.exp-room.active::before { width: 10px; background: var(--gold); }
.exp-room.unavailable { opacity: 0.35; }

@media (max-width: 900px) {
    .exp-row { display: block; }
    .exp-stage { height: clamp(260px, 62vw, 420px); }
    .exp-side { padding-top: 14px; }
    .exp-timeline { flex-direction: row; gap: 22px; border-bottom: none; padding-bottom: 6px; }
    .exp-timeline::before { display: none; }
    .exp-rooms {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 18px;
        border-top: 1px solid var(--light);
    }
    .exp-room { padding: 6px 0 6px 12px; }
}


/* ================================================================
   38. PROJECT INFO in the exposition side panel
================================================================ */
.exp-desc {
    font-family: var(--font-b);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #3B3B37;
    margin-top: 12px;
}
.exp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    margin-top: 14px;
}
.exp-meta div { display: flex; flex-direction: column; gap: 2px; }
.exp-meta dt {
    font-family: var(--font-d);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mid);
}
.exp-meta dd {
    font-family: var(--font-b);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--charcoal);
}
.exp-credit {
    font-family: var(--font-b);
    font-style: italic;
    font-weight: 300;
    font-size: 12px;
    color: var(--mid);
    margin-top: 12px;
}
.exp-side .card-info { padding-bottom: 20px; }

/* Simplified row for realized projects — single delivered image,
   no phase timeline or room legend (only used when a project has
   just one photo and no voor/tijdens/na breakdown). */
.exp-row-simple .card-info { border-bottom: none; padding-bottom: 0; }
.exp-row-simple .exp-meta { margin-top: 10px; }

/* Placeholder stage for a project that has been added to the site
   before any photos are available yet (e.g. a brand new commission
   still in preliminary design). Keeps the same dimensions as a
   normal exp-stage so the row layout stays consistent. */
.exp-stage-placeholder {
    border: 1px dashed rgba(26,26,26,0.15);
    background: var(--cream2);
}
.exp-placeholder-text {
    font-family: var(--font-b);
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    color: var(--mid);
    letter-spacing: 0.02em;
}



/* ================================================================
   39. WERKWIJZE PAGE — intro left, tight accordion rows right
   The intro (label, title, paragraph) sits in a sticky left column;
   the six phases live in a compact right column as single-line
   rows (number + name + toggle) that expand in place on click.
================================================================ */
.werkwijze-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(110px, 12vw, 140px) var(--px) clamp(64px, 8vw, 110px);
}
.werkwijze-layout-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}
.werkwijze-intro-col {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: clamp(100px, 12vw, 128px);
}
.werkwijze-intro-col .page-title {
    margin: 10px 0 18px;
    font-size: clamp(26px, 3vw, 40px);
}
.werkwijze-intro-col .page-intro {
    font-family: var(--font-b);
    font-weight: 300;
    font-size: clamp(14.5px, 1.2vw, 16.5px);
    line-height: 1.7;
    color: var(--charcoal);
    max-width: 480px;
    margin: 0;
    text-align: justify;
    hyphens: none;
    -webkit-hyphens: none;
}
html[lang="fr"] .werkwijze-intro-col .page-intro { max-width: 520px; }
html[lang="en"] .werkwijze-intro-col .page-intro { max-width: 480px; }

.werkwijze-steps-col { min-width: 0; }

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.process-step { border-top: 1px solid var(--light); }
.process-step:last-child { border-bottom: 1px solid var(--light); }

.process-step-toggle {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 28px);
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: clamp(16px, 2vw, 22px) 4px;
    text-align: left;
    transition: opacity 0.25s ease;
}
.process-step-toggle:hover { opacity: 0.72; }
.process-step-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.process-step-index {
    font-family: var(--font-d);
    font-weight: 600;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--gold);
    flex: none;
    min-width: 28px;
}
.process-step-title {
    font-family: var(--font-t);
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 19.5px);
    line-height: 1.3;
    color: var(--charcoal);
    margin: 0;
    flex: 1 1 auto;
}
.process-step-indicator {
    font-family: var(--font-d);
    font-size: 22px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    flex: none;
    transition: transform 0.3s ease;
}
.process-step-toggle[aria-expanded="true"] .process-step-indicator {
    transform: rotate(45deg);
}
.process-step-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.45, 0, 0.15, 1);
    padding-left: calc(28px + clamp(16px, 2.2vw, 28px));
}
.process-step-content.is-open {
    grid-template-rows: 1fr;
}
.process-step-content-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease 0s, transform 0.4s ease 0s;
}
.process-step-content.is-open .process-step-content-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.12s, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) 0.12s;
}
.process-step-text {
    font-family: var(--font-b);
    font-weight: 300;
    font-size: clamp(14px, 1.15vw, 15.5px);
    line-height: 1.7;
    color: var(--charcoal);
    text-align: justify;
    hyphens: none;
    -webkit-hyphens: none;
    margin: 0;
    max-width: 620px;
    padding: 0 4px clamp(20px, 2.4vw, 28px) 0;
}

@media (max-width: 900px) {
    .werkwijze-layout-inner { grid-template-columns: 1fr; gap: 32px; }
    .werkwijze-intro-col { position: static; }
    .werkwijze-intro-col .page-intro { max-width: none; }
    .process-step-content { padding-left: 20px; }
}
@media (max-width: 500px) {
    .process-step-content { padding-left: 4px; }
    .process-step-toggle { gap: 14px; }
}

/* Closing CTA on the werkwijze page shows an intro paragraph too */
.closing-cta .closing-text {
    font-family: var(--font-b);
    font-weight: 300;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 22px auto 32px;
    text-align: center;
}

/* ================================================================
   40. PROCESS SUMMARY on the homepage (short, links to /werkwijze/)
   Placed between the bio section and the closing CTA. Compact list
   of the six phases with numeric prefixes; visually consistent with
   the site's typographic pace.
================================================================ */
.process-summary {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 84px) var(--px);
    border-top: 1px solid var(--light);
}
.process-summary-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
    max-width: none;
}
.process-summary-left {
    display: flex;
    flex-direction: column;
}
.process-summary-right {
    display: flex;
    flex-direction: column;
}
.process-summary-title {
    font-family: var(--font-t);
    font-weight: 300;
    font-size: clamp(24px, 2.9vw, 38px);
    line-height: 1.18;
    color: var(--charcoal);
    margin: 8px 0 0;
    letter-spacing: 0.005em;
}
.process-summary-intro {
    font-family: var(--font-b);
    font-weight: 300;
    font-size: clamp(14.5px, 1.2vw, 16px);
    line-height: 1.65;
    color: var(--charcoal);
    max-width: 640px;
    margin: 0 0 clamp(20px, 2.6vw, 28px);
    text-align: justify;
    hyphens: none;
    -webkit-hyphens: none;
}

/* Compact vertical list of the six phases — plain rows with a
   number and name, no colour distinction or legend. Kept tight so
   the whole section stays short. */
.process-track-steps {
    list-style: none;
    margin: 0 0 clamp(24px, 3vw, 34px);
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--light);
}
.ptrack-step {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
}
.ptrack-num {
    font-family: var(--font-d);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--gold);
    min-width: 24px;
    flex: none;
}
.ptrack-name {
    font-family: var(--font-b);
    font-weight: 500;
    font-size: 14px;
    color: var(--charcoal);
}

.process-summary .btn-primary {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    justify-self: start;
}
.process-summary .btn-primary:hover {
    background: transparent;
    color: var(--charcoal);
}

@media (max-width: 700px) {
    .process-summary-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================================================
   42. IMAGE PROTECTION
   Prevents the default drag-ghost and text/image selection so
   casual "drag to desktop" or "select + copy" saving is blocked.
   Right-click / context-menu is disabled via script.js.
================================================================ */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
