:root {
    --ink: #111416;
    --ink-soft: #1b2024;
    --muted: #6f777c;
    --line: #d9dddf;
    --paper: #f4f3ef;
    --white: #ffffff;
    --accent: #c66a2b;
    --accent-dark: #9f501e;
    --container: 1200px;
    --shadow: 0 22px 70px rgba(0,0,0,.14);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.screen-reader-text { position:absolute!important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17,20,22,.95);
    border-bottom: 1px solid rgba(255,255,255,.09);
    backdrop-filter: blur(16px);
}
.header-inner { height:84px; display:flex; align-items:center; gap:34px; }
.brand { text-decoration:none; min-width:245px; }
.brand-wordmark { display:inline-flex; flex-direction:column; color:var(--white); line-height:1.05; }
.brand-wordmark strong { font-family:Georgia,'Times New Roman',serif; font-size:25px; letter-spacing:-.04em; }
.brand-wordmark small { margin-top:7px; font-size:11px; text-transform:uppercase; letter-spacing:.2em; color:rgba(255,255,255,.66); }
.custom-logo-link { display:inline-flex; }
.custom-logo { max-height:58px; width:auto; }
.main-nav { margin-left:auto; }
.nav-list,.footer-links { list-style:none; margin:0; padding:0; }
.nav-list { display:flex; gap:28px; align-items:center; }
.nav-list a { color:rgba(255,255,255,.78); text-decoration:none; font-size:14px; font-weight:700; transition:.2s ease; }
.nav-list a:hover { color:var(--white); }
.header-call { text-decoration:none; border:1px solid rgba(255,255,255,.25); color:var(--white); padding:11px 17px; font-size:13px; font-weight:700; }
.menu-toggle { display:none; }

.hero {
    position:relative;
    min-height:720px;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:var(--white);
    background:radial-gradient(circle at 76% 35%, rgba(198,106,43,.18), transparent 30%),linear-gradient(120deg,#121719 0%,#1b2226 56%,#111416 100%);
}
.hero-gridlines {
    position:absolute; inset:0; opacity:.13;
    background-image:linear-gradient(rgba(255,255,255,.20) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.20) 1px,transparent 1px);
    background-size:88px 88px;
    mask-image:linear-gradient(to right,transparent,black 55%,black);
}
.hero-inner { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:90px; align-items:center; padding:58px 0; }
.eyebrow { margin-bottom:18px; color:var(--accent); font-size:12px; line-height:1; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.hero h1,.page-hero h1,.section-heading h2,.values-copy h2,.cta-box h2 { font-family:Georgia,'Times New Roman',serif; margin:0; letter-spacing:-.045em; line-height:.98; font-weight:700; }
.hero h1 { max-width:750px; font-size:clamp(52px,5.7vw,86px); }
.hero-lead { max-width:660px; margin:30px 0 0; color:rgba(255,255,255,.7); font-size:19px; line-height:1.75; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:36px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px; text-decoration:none; font-weight:800; font-size:14px; transition:transform .2s ease,background .2s ease,border-color .2s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:var(--white); background:var(--accent); }
.button-primary:hover { background:var(--accent-dark); }
.button-secondary { color:var(--white); border:1px solid rgba(255,255,255,.22); }
.hero-trust { display:flex; margin-top:56px; border-top:1px solid rgba(255,255,255,.12); max-width:620px; }
.hero-trust span { flex:1; padding:22px 24px 0 0; }
.hero-trust strong,.hero-trust small { display:block; }
.hero-trust strong { font-size:18px; }
.hero-trust small { margin-top:3px; color:rgba(255,255,255,.52); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.hero-visual { display:flex; justify-content:flex-end; }
.steel-frame { position:relative; width:min(100%,480px); aspect-ratio:.88; border:1px solid rgba(255,255,255,.15); background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.01)); box-shadow:var(--shadow); overflow:hidden; }
.steel-grid { position:absolute; inset:-18%; transform:rotate(-7deg); background-image:repeating-linear-gradient(0deg,transparent 0 31px,rgba(255,255,255,.19) 32px 34px),repeating-linear-gradient(90deg,transparent 0 31px,rgba(255,255,255,.19) 32px 34px); }
.steel-grid::after { content:""; position:absolute; inset:0; background:linear-gradient(140deg,rgba(198,106,43,.35),transparent 50%); mix-blend-mode:screen; }
.hero-card { position:absolute; left:28px; right:28px; bottom:28px; padding:28px; background:rgba(17,20,22,.88); border-left:4px solid var(--accent); backdrop-filter:blur(12px); }
.hero-card-kicker { display:block; color:rgba(255,255,255,.56); font-size:12px; letter-spacing:.09em; text-transform:uppercase; }
.hero-card strong { display:block; margin-top:8px; font-family:Georgia,'Times New Roman',serif; font-size:31px; }
.hero-card p { margin:8px 0 0; color:rgba(255,255,255,.63); font-size:13px; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:start; }
.section-heading h2,.values-copy h2 { max-width:720px; font-size:clamp(40px,4vw,62px); }
.intro-copy { padding-top:30px; }
.intro-copy p,.values-copy p { color:#4e5559; font-size:18px; line-height:1.85; }
.text-link { display:inline-flex; gap:12px; align-items:center; margin-top:12px; color:var(--ink); text-decoration:none; font-weight:800; border-bottom:1px solid var(--ink); padding-bottom:4px; }
.text-link span { transition:transform .2s ease; }
.text-link:hover span { transform:translateX(4px); }
.section-dark { color:var(--white); background:var(--ink); }
.section-heading-light h2 { color:var(--white); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:58px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12); }
.service-card { min-height:340px; padding:34px; background:var(--ink); transition:background .25s ease; }
.service-card:hover { background:#191e21; }
.service-number { display:block; color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.15em; }
.service-card h3 { margin:100px 0 16px; font-family:Georgia,'Times New Roman',serif; font-size:31px; }
.service-card p { margin:0; color:rgba(255,255,255,.58); }
.section-top { display:flex; justify-content:space-between; gap:30px; align-items:end; }
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:54px; }
.project-card { min-width:0; }
.project-image { display:block; aspect-ratio:1.25; overflow:hidden; background:#c8ccce; }
.project-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.project-card:hover .project-image img { transform:scale(1.035); }
.project-placeholder { display:block; width:100%; height:100%; background:repeating-linear-gradient(0deg,transparent 0 35px,rgba(17,20,22,.38) 36px 39px),repeating-linear-gradient(90deg,transparent 0 35px,rgba(17,20,22,.38) 36px 39px),linear-gradient(140deg,#b8bdc0,#dadcdd); }
.project-meta { display:flex; justify-content:space-between; gap:16px; margin-top:18px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.project-card h2,.project-card h3 { margin:7px 0 0; font-family:Georgia,'Times New Roman',serif; font-size:25px; line-height:1.15; }
.project-card h2 a,.project-card h3 a { text-decoration:none; }
.values { border-top:1px solid var(--line); }
.values-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:100px; }
.value-list { border-top:1px solid #bfc4c6; }
.value-item { display:grid; grid-template-columns:58px 1fr; gap:22px; align-items:center; padding:23px 0; border-bottom:1px solid #bfc4c6; }
.value-item span { color:var(--accent); font-size:12px; font-weight:800; }
.value-item strong { font-size:18px; }
.cta-section { padding:0 0 110px; }
.cta-box { display:grid; grid-template-columns:1fr auto; gap:50px; align-items:center; padding:58px 62px; color:var(--white); background:var(--accent); }
.cta-box .eyebrow { color:rgba(255,255,255,.66); }
.cta-box h2 { font-size:clamp(40px,4vw,60px); }
.cta-box p { max-width:680px; margin:18px 0 0; color:rgba(255,255,255,.76); }
.cta-actions { display:flex; flex-direction:column; gap:10px; min-width:220px; }
.button-light { background:var(--white); color:var(--ink); }
.button-outline-light { color:var(--white); border:1px solid rgba(255,255,255,.5); }

.site-footer { padding:72px 0 24px; color:rgba(255,255,255,.72); background:#0b0e10; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr .7fr; gap:70px; }
.footer-brand { color:var(--white); font-family:Georgia,'Times New Roman',serif; font-size:28px; font-weight:700; }
.site-footer h3 { margin:0 0 16px; color:var(--white); font-size:13px; text-transform:uppercase; letter-spacing:.12em; }
.site-footer p { margin:7px 0; }
.site-footer a { color:rgba(255,255,255,.72); text-decoration:none; }
.site-footer a:hover { color:var(--white); }
.footer-muted { max-width:360px; color:rgba(255,255,255,.45); }
.footer-links li+li { margin-top:8px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:58px; padding-top:20px; border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.35); font-size:12px; }
.page-hero { padding:120px 0 86px; color:var(--white); background:radial-gradient(circle at 80% 10%,rgba(198,106,43,.16),transparent 25%),var(--ink); }
.page-hero h1 { max-width:900px; font-size:clamp(52px,7vw,88px); }
.page-hero p { max-width:720px; margin-top:24px; color:rgba(255,255,255,.62); font-size:18px; }
.project-single-meta { display:flex; gap:22px; margin-top:26px; color:rgba(255,255,255,.54); font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.content-narrow { max-width:850px; }
.content-card+.content-card { margin-top:40px; }
.entry-content { font-size:18px; }
.entry-content h2,.entry-content h3 { font-family:Georgia,'Times New Roman',serif; }
.single-featured-image { margin-bottom:42px; }
.single-featured-image img { width:100%; }
.reveal { opacity:0; transform:translateY(18px); transition:opacity .55s ease,transform .55s ease; }
.reveal.is-visible { opacity:1; transform:none; }

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

@media (max-width:980px) {
    .header-call { display:none; }
    .menu-toggle { display:inline-flex; margin-left:auto; width:44px; height:44px; border:0; padding:10px; background:transparent; flex-direction:column; justify-content:center; gap:5px; cursor:pointer; }
    .menu-toggle span:not(.screen-reader-text) { display:block; width:100%; height:2px; background:var(--white); }
    .main-nav { position:fixed; inset:84px 0 auto 0; display:none; padding:28px 20px 34px; background:var(--ink); border-top:1px solid rgba(255,255,255,.08); }
    .main-nav.is-open { display:block; }
    .nav-list { display:grid; gap:0; }
    .nav-list li { border-bottom:1px solid rgba(255,255,255,.09); }
    .nav-list a { display:block; padding:17px 0; font-size:17px; }
    .hero { min-height:auto; }
    .hero-inner,.split,.values-grid,.cta-box { grid-template-columns:1fr; }
    .hero-inner { gap:55px; padding-top:88px; padding-bottom:88px; }
    .hero-visual { justify-content:flex-start; }
    .steel-frame { max-width:620px; aspect-ratio:1.25; }
    .split,.values-grid { gap:44px; }
    .services-grid,.project-grid { grid-template-columns:1fr 1fr; }
    .cta-actions { flex-direction:row; min-width:0; }
}

@media (max-width:680px) {
    .container { width:min(calc(100% - 30px),var(--container)); }
    .section { padding:78px 0; }
    .header-inner { height:72px; }
    .brand { min-width:0; }
    .brand-wordmark strong { font-size:20px; }
    .brand-wordmark small { font-size:9px; }
    .main-nav { inset:72px 0 auto; }
    .hero-inner { padding-top:70px; padding-bottom:70px; }
    .hero h1 { font-size:clamp(48px,15vw,68px); }
    .hero-lead { font-size:17px; }
    .hero-trust { display:grid; grid-template-columns:repeat(3,1fr); }
    .hero-trust span { padding-right:10px; }
    .steel-frame { aspect-ratio:.95; }
    .hero-card { left:16px; right:16px; bottom:16px; padding:21px; }
    .hero-card strong { font-size:25px; }
    .section-heading h2,.values-copy h2 { font-size:42px; }
    .services-grid,.project-grid { grid-template-columns:1fr; }
    .service-card { min-height:280px; }
    .service-card h3 { margin-top:70px; }
    .section-top { display:block; }
    .section-top>.text-link { margin-top:24px; }
    .cta-box { padding:40px 28px; }
    .cta-actions { flex-direction:column; }
    .footer-grid { grid-template-columns:1fr; gap:36px; }
    .footer-bottom { flex-direction:column; }
}

/* Customizer images - behoudt exact dezelfde houders/verhoudingen */
.steel-frame-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steel-frame.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17,20,22,.10), rgba(17,20,22,.36));
    pointer-events: none;
}

.steel-frame.has-photo .steel-grid {
    z-index: 2;
    opacity: .20;
}

.steel-frame .hero-card {
    z-index: 3;
}

.project-customizer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.project-card:hover .project-customizer-image {
    transform: scale(1.035);
}

/* v0.3.3 - veilige mobiele responsive fix */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.hero-copy,
.hero-visual,
.split > *,
.values-grid > *,
.services-grid > *,
.project-grid > * {
    min-width: 0;
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 32px);
        max-width: 100%;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 40px;
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .hero-copy,
    .hero-visual {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(38px, 9.7vw, 44px);
        line-height: 1.02;
        letter-spacing: -.04em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero-lead {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero-trust {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .hero-trust span {
        min-width: 0;
        padding-right: 6px;
    }

    .hero-trust strong {
        font-size: 17px;
        white-space: nowrap;
    }

    .hero-trust small {
        max-width: 100%;
        font-size: 8px;
        line-height: 1.35;
        letter-spacing: .035em;
        overflow-wrap: anywhere;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .steel-frame {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1.08;
    }

    .steel-frame-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px;
    }

    .hero-card-kicker {
        font-size: 9px;
        letter-spacing: .07em;
    }

    .hero-card strong {
        font-size: 22px;
        line-height: 1.08;
    }

    .hero-card p {
        font-size: 10px;
        line-height: 1.45;
    }

    .section-heading h2,
    .values-copy h2 {
        max-width: 100%;
        font-size: 39px;
    }

    .service-card,
    .project-card,
    .cta-box,
    .projects-page-cta {
        max-width: 100%;
    }

    .cta-box {
        padding-left: 24px;
        padding-right: 24px;
    }

    .floating-whatsapp {
        right: 14px !important;
        bottom: 18px !important;
    }
}


/* Project gallery popup */
body.project-modal-open { overflow:hidden; }

.project-modal[hidden] { display:none !important; }
.project-modal {
    position:fixed;
    inset:0;
    z-index:10000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    opacity:0;
    transition:opacity .22s ease;
}
.project-modal.is-open { opacity:1; }

.project-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(7,9,10,.82);
    backdrop-filter:blur(7px);
}
.project-modal-dialog {
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0,1.30fr) minmax(390px,.82fr);
    width:min(1180px,100%);
    height:min(780px,calc(100vh - 56px));
    max-height:min(780px,calc(100vh - 56px));
    overflow:hidden;
    color:var(--ink);
    background:#f4f3ef;
    box-shadow:0 35px 100px rgba(0,0,0,.42);
    transform:translateY(16px) scale(.985);
    transition:transform .22s ease;
}
.project-modal.is-open .project-modal-dialog { transform:none; }

.project-modal-close {
    position:absolute;
    top:16px;
    right:16px;
    z-index:6;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.28);
    border-radius:50%;
    color:#fff;
    background:rgba(17,20,22,.72);
    font-size:28px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(8px);
}
.project-modal-media {
    display:flex;
    min-width:0;
    min-height:0;
    padding:18px 0 18px 18px;
    background:#111416;
}
.project-modal-stage {
    position:relative;
    flex:1;
    min-width:0;
    min-height:480px;
    overflow:hidden;
    background:#0b0e10;
}
.project-modal-image {
    width:100%;
    height:100%;
    object-fit:contain;
    background:#0b0e10;
    opacity:1;
    transition:opacity .18s ease;
}
.project-modal-image.is-changing { opacity:0; }
.project-modal-loading {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.65);
    font-size:14px;
}
.project-modal-arrow,
.project-single-arrow {
    position:absolute;
    top:50%;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:54px;
    padding:0;
    border:0;
    color:#fff;
    background:rgba(17,20,22,.64);
    font-size:34px;
    line-height:1;
    cursor:pointer;
    transform:translateY(-50%);
    backdrop-filter:blur(8px);
}
.project-modal-prev,
.project-single-prev { left:12px; }
.project-modal-next,
.project-single-next { right:12px; }
.project-modal-counter,
.project-single-counter {
    position:absolute;
    right:14px;
    bottom:14px;
    z-index:4;
    padding:6px 9px;
    color:#fff;
    background:rgba(17,20,22,.68);
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
}
.project-modal-thumbs {
    width:78px;
    display:flex;
    flex-direction:column;
    gap:8px;
    max-height:100%;
    overflow:auto;
    padding:0 10px;
}
.project-modal-thumb {
    flex:0 0 auto;
    width:58px;
    height:48px;
    padding:0;
    border:2px solid transparent;
    background:#2a3034;
    cursor:pointer;
    opacity:.66;
}
.project-modal-thumb.is-active {
    border-color:var(--accent);
    opacity:1;
}
.project-modal-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.project-modal-content {
    min-width:0;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
    padding:54px 38px 46px;
    background:#f4f3ef;
}
.project-modal-content .eyebrow { margin-bottom:14px; }
.project-modal-content h2 {
    margin:0;
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(32px,2.55vw,46px);
    line-height:1.02;
    letter-spacing:-.035em;
    overflow-wrap:break-word;
    hyphens:auto;
}
.project-modal-meta {
    margin-top:18px;
    padding-bottom:18px;
    border-bottom:1px solid var(--line);
    color:var(--muted);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.project-modal-description {
    margin-top:24px;
    color:#4e5559;
    font-size:16px;
    line-height:1.75;
}
.project-modal-description p:first-child { margin-top:0; }
.project-modal-page-link { margin-top:16px; }

/* Directe projectpagina */
.project-single-layout {
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
    gap:64px;
    align-items:start;
}
.project-single-gallery { min-width:0; }
.project-single-stage {
    position:relative;
    min-height:500px;
    overflow:hidden;
    background:#111416;
}
.project-single-main-image {
    width:100%;
    height:100%;
    min-height:500px;
    object-fit:contain;
    background:#111416;
    opacity:1;
    transition:opacity .18s ease;
}
.project-single-main-image.is-changing { opacity:0; }
.project-single-thumbs {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
}
.project-single-thumb {
    aspect-ratio:1.3;
    overflow:hidden;
    padding:0;
    border:2px solid transparent;
    background:#d8dcde;
    cursor:pointer;
    opacity:.72;
}
.project-single-thumb.is-active {
    border-color:var(--accent);
    opacity:1;
}
.project-single-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.project-single-copy {
    position:sticky;
    top:112px;
}
.project-single-copy h2 {
    margin:0 0 22px;
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(34px,3vw,50px);
    line-height:1.02;
    letter-spacing:-.04em;
}
.project-single-copy .entry-content {
    color:#4e5559;
    font-size:17px;
    line-height:1.78;
}

@media (max-width:980px) {
    .project-modal {
        padding:18px;
    }
    .project-modal-dialog {
        grid-template-columns:1fr;
        height:auto;
        max-height:calc(100vh - 36px);
        overflow:auto;
    }
    .project-modal-media {
        min-height:460px;
        padding:12px 0 12px 12px;
    }
    .project-modal-stage { min-height:420px; }
    .project-modal-content { padding:34px 30px 36px; }
    .project-single-layout {
        grid-template-columns:1fr;
        gap:36px;
    }
    .project-single-copy { position:static; }
}
@media (max-width:680px) {
    .project-modal {
        align-items:flex-end;
        padding:0;
    }
    .project-modal-dialog {
        width:100%;
        height:auto;
        max-height:94vh;
    }
    .project-modal-close {
        top:10px;
        right:10px;
        width:38px;
        height:38px;
    }
    .project-modal-media {
        min-height:0;
        padding:0;
        flex-direction:column;
    }
    .project-modal-stage {
        min-height:290px;
        height:42vh;
    }
    .project-modal-thumbs {
        width:100%;
        height:66px;
        flex-direction:row;
        padding:8px 10px;
    }
    .project-modal-thumb {
        width:62px;
        height:48px;
    }
    .project-modal-content {
        padding:28px 24px 34px;
    }
    .project-modal-content h2 { font-size:34px; }
    .project-single-stage,
    .project-single-main-image {
        min-height:300px;
    }
    .project-single-thumbs {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
