/* Ergo Dichtbij — redesign 2026
   Editorial / Dutch-design feel. Warm cream + navy + orange + terracotta.
*/

:root {
    --navy: #000033;
    --navy-soft: #1a1a4d;
    --orange: #ff8927;
    --orange-deep: #e87a18;
    --terracotta: #e87a18;        /* aliased to orange family — single accent */
    --cream: #fdf6e9;
    --cream-warm: #f6ebd3;
    --paper: #fafafa;             /* match original site bg */
    --ink: #14142b;
    --ink-soft: #4a4a63;
    --rule: #e3dccb;
    --sage: #7a8b6f;

    --serif: "Poppins", "Helvetica Neue", Arial, sans-serif;
    --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "Courier New", monospace;

    --maxw: 1320px;
    --gutter: clamp(1rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 400;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    line-height: 1.55;
}

/* Subtle paper grain overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.35;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: var(--navy); }

/* ─── Layout ─── */
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.rule {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 0;
}

/* ─── Top marquee ─── */
.marquee {
    background: var(--navy);
    color: var(--cream);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 38s linear infinite;
    padding-left: 100%;
}
.marquee-track span::before {
    content: "✱";
    color: var(--orange);
    margin-right: 0.8rem;
}
@keyframes marquee {
    to { transform: translateX(-100%); }
}

/* ─── Header ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    height: 56px;
}
.brand img {
    height: 100%;
    width: auto;
    display: block;
}
.brand-foot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    padding: 1.4rem 1.8rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4),
                0 0 0 1px rgba(255, 137, 39, 0.18);
    transition: transform .35s ease, box-shadow .35s ease;
    max-width: 240px;
}
.brand-foot:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,0.5),
                0 0 0 1px rgba(255, 137, 39, 0.35);
}
.brand-foot img {
    height: 64px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.nav a {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
    transition: color .25s ease;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--orange);
    transition: right .35s cubic-bezier(.7,.1,.2,1);
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a:hover { color: var(--navy); }

.nav-cta {
    background: var(--navy);
    color: var(--cream) !important;
    padding: 10px 18px !important;
    border-radius: 999px;
    font-size: 0.82rem !important;
    transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--orange); color: var(--navy) !important; transform: translateY(-1px); }
.nav-cta::after { display: none; }

.menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 30px; height: 22px;
    position: relative;
}
.menu-toggle span {
    position: absolute; left: 0; right: 0; height: 1.5px; background: var(--navy);
    transition: transform .3s, top .3s, opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 50%; }
.menu-toggle span:nth-child(3) { bottom: 4px; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: auto; top: 50%; transform: rotate(-45deg); }

@media (max-width: 920px) {
    .menu-toggle { display: block; z-index: 110; position: relative; }
    .nav {
        position: fixed;
        inset: 0;
        background: var(--navy);
        color: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 5rem var(--gutter) 3rem;
        gap: 1.6rem;
        transform: translateX(100%);
        transition: transform .45s cubic-bezier(.7,.1,.2,1);
        z-index: 105;
        box-shadow: -20px 0 60px rgba(0,0,0,0.25);
        overflow-y: auto;
    }
    .nav.open { transform: translateX(0); }
    .nav a {
        font-size: 1.8rem;
        font-family: var(--serif);
        font-weight: 300;
        color: var(--cream);
        letter-spacing: -0.01em;
    }
    .nav a em, .nav a:hover { color: var(--orange); }
    .nav a::after { background: var(--orange); }
    .nav .nav-cta {
        margin-top: 1rem;
        background: var(--orange);
        color: var(--navy) !important;
        font-family: var(--sans);
        font-size: 0.95rem !important;
        font-weight: 500;
        padding: 14px 24px !important;
    }
    .menu-toggle.open span { background: var(--cream); }
}

/* ─── Hero ─── */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
    overflow: hidden;
    isolation: isolate;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
    position: relative;
    z-index: 2;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}
.eyebrow::before {
    content: ""; width: 32px; height: 1px; background: var(--terracotta);
}

h1.display {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    color: var(--navy);
    font-variation-settings: "SOFT" 50, "WONK" 0;
    overflow-wrap: break-word;
    hyphens: auto;
}
h1.display em {
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
}
h1.display .swash {
    display: inline-block;
    color: var(--orange);
    font-style: italic;
}

.lede {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 38ch;
    margin-top: 2rem;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1rem;
}
.hero-meta-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1rem;
    align-items: start;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
}
.hero-meta-item .num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--terracotta);
    letter-spacing: 0.1em;
}
.hero-meta-item h4 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.hero-meta-item p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.cta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .3s cubic-bezier(.7,.1,.2,1);
    font-family: var(--sans);
}
.btn-primary {
    background: var(--navy);
    color: var(--cream);
}
.btn-primary:hover {
    background: var(--orange);
    color: var(--navy);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--cream);
}
.btn .arrow {
    transition: transform .3s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* Decorative hero element */
.hero-mark {
    position: absolute;
    right: clamp(-80px, -4vw, 0px);
    top: 30%;
    transform: translateY(-50%);
    width: clamp(280px, 32vw, 460px);
    height: clamp(280px, 32vw, 460px);
    pointer-events: none;
    opacity: 0.16;
    z-index: 1;
}
.hero-mark svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 880px) {
    .hero-mark { display: none; }
}

/* ─── Notice strip ─── */
.notice {
    background: var(--orange);
    color: var(--navy);
    padding: 1.4rem 0;
}
.notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.notice strong {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.15rem;
    font-style: italic;
}
.notice .pill {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--orange);
    padding: 6px 12px;
    border-radius: 999px;
}

/* ─── Section conventions ─── */
section.block {
    padding: clamp(4rem, 9vw, 7rem) 0;
    border-top: 1px solid var(--rule);
}
section.block.dark {
    background: var(--navy);
    color: var(--cream);
    border-top: none;
}
section.block.cream {
    background: var(--cream);
    border-top: none;
}

.block-head {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    align-items: end;
}
@media (max-width: 760px) { .block-head { grid-template-columns: 1fr; } }

.block-head h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: inherit;
}
.block-head h2 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.block.dark .block-head h2 em { color: var(--orange); }

.block-head .lede-sm {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 50ch;
    line-height: 1.6;
}
.block.dark .block-head .lede-sm { color: rgba(246, 239, 225, 0.72); }

.section-num {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
    display: block;
}
.section-num::before { content: none !important; }

/* ─── Two cards (zorg op maat / verwijzers) ─── */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.duo-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 6px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .4s ease;
}
.duo-card:hover { transform: translateY(-4px); }

.duo-card.a {
    background: var(--cream);
    color: var(--navy);
    border: 1px solid var(--rule);
}
.duo-card.b {
    background: var(--navy);
    color: var(--cream);
}
.duo-card.b::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(255, 137, 39, 0.18), transparent 50%);
    pointer-events: none;
}

.duo-card .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--terracotta);
}
.duo-card.b .num { color: var(--orange); }

.duo-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 1rem;
}
.duo-card p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 36ch;
    opacity: 0.85;
}

.duo-card .arrow-link {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.duo-card .arrow-link svg { transition: transform .3s; }
.duo-card:hover .arrow-link svg { transform: translateX(6px); }
.duo-card.a .arrow-link { color: var(--terracotta); }
.duo-card.b .arrow-link { color: var(--orange); }

/* ─── Locations ─── */
.locations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.locations.locations-5 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .locations.locations-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px) {
    .locations { grid-template-columns: 1fr 1fr; }
    .locations.locations-5 { grid-template-columns: 1fr 1fr; }
    .locations.locations-5 .loc-multi { grid-column: span 2; }
}
@media (max-width: 480px) {
    .locations { grid-template-columns: 1fr; }
    .locations.locations-5 { grid-template-columns: 1fr; }
    .locations.locations-5 .loc-multi { grid-column: span 1; }
}

/* Amsterdam multi-address card */
.loc-multi h3 { margin-bottom: 0.6rem; }
.loc-multi .phone { margin-bottom: 1rem; }
.loc-multi .addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--rule);
}
@media (max-width: 480px) { .loc-multi .addr-grid { grid-template-columns: 1fr; } }
.loc-multi .addr p { margin: 0; line-height: 1.45; font-size: 0.86rem; color: var(--ink-soft); }
.loc-multi .addr .addr-title {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange-deep);
    margin-bottom: 0.25rem;
}

.loc {
    background: var(--paper);
    padding: 2.5rem 1.8rem;
    transition: background .35s;
    position: relative;
}
.loc:hover { background: var(--cream); }
.loc .city-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--terracotta);
    letter-spacing: 0.16em;
}
.loc h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 2rem;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0.8rem 0 1rem;
}
.loc p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.6;
}
.loc .phone {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--navy);
    margin-top: 0.6rem;
    display: block;
    letter-spacing: 0.02em;
}
.loc .phone:hover { color: var(--orange); }

/* ─── Specialties ─── */
.specialties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(246, 239, 225, 0.1);
}
@media (max-width: 760px) { .specialties { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .specialties { grid-template-columns: 1fr; } }

.spec {
    background: var(--navy);
    padding: 2.2rem 1.6rem;
    transition: background .35s;
    cursor: default;
}
.spec:hover { background: var(--navy-soft); }
.spec .ic {
    width: 88px; height: 88px;
    color: var(--orange);
    margin-bottom: 1.2rem;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}
.spec h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.spec p {
    font-size: 0.88rem;
    color: rgba(246, 239, 225, 0.7);
    line-height: 1.55;
}

/* ─── Team ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.2rem;
    align-items: start;
}

/* Member bio (collapsible) */
.member .bio {
    margin-top: 0.7rem;
    border-top: 1px solid var(--rule);
    padding-top: 0.7rem;
}
.member .bio summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-deep);
    transition: color .2s;
    user-select: none;
}
.member .bio summary::-webkit-details-marker { display: none; }
.member .bio summary:hover { color: var(--navy); }
.member .bio[open] summary { color: var(--navy); margin-bottom: 0.6rem; }
.member .bio[open] summary span { display: inline-block; transform: rotate(90deg); transition: transform .2s; }
.member .bio-content {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.member .bio-content p { margin: 0 0 0.7rem; }
.member .bio-content p:last-child { margin-bottom: 0; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.member {
    cursor: pointer;
}
.member-photo {
    aspect-ratio: 4 / 5;
    background: var(--cream-warm);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}
.member-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.6,.3,1), filter .5s;
    filter: grayscale(1) contrast(1.05) brightness(1.02);
}
.member:hover .member-photo img {
    transform: scale(1.04);
    filter: grayscale(1) contrast(1.08) brightness(1.04);
}

.member-photo.placeholder {
    background: linear-gradient(135deg, var(--cream), var(--cream-warm));
    display: flex; align-items: center; justify-content: center;
}
.member-photo.placeholder span {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--terracotta);
    font-style: italic;
}

.member h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.member .role {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--terracotta);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.3rem;
}
.member .area {
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* ─── News ─── */
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.news-item {
    display: grid;
    grid-template-columns: 100px 0.4fr 1fr auto;
    gap: 2rem;
    align-items: baseline;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding .3s, background .3s;
    cursor: pointer;
}
.news-item:hover { padding-left: 1rem; background: linear-gradient(to right, var(--cream), transparent 60%); }
.news-item:last-child { border-bottom: none; }
@media (max-width: 760px) {
    .news-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.4rem 0; }
}

.news-item .date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--terracotta);
    letter-spacing: 0.1em;
}
.news-item .cat {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}
.news-item h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.news-item .read {
    font-size: 0.82rem;
    color: var(--terracotta);
    white-space: nowrap;
}

/* ─── Quote / testimonial ─── */
.quote {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--cream);
    border-top: 1px solid var(--rule);
}
.quote-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}
.quote .open {
    font-family: var(--serif);
    font-style: italic;
    font-size: 6rem;
    line-height: 1;
    color: var(--orange);
    display: block;
    margin-bottom: -1.5rem;
}
.quote blockquote {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.015em;
}
.quote cite {
    display: block;
    margin-top: 2rem;
    font-style: normal;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta);
}

/* ─── Footer ─── */
footer.site {
    background: var(--navy);
    color: var(--cream);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem 2rem;
    margin-bottom: 4rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

footer .brand-foot {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--cream);
    margin-bottom: 1.5rem;
}
footer .brand-foot em { font-style: italic; color: var(--orange); }
footer .tagline {
    font-size: 0.9rem;
    color: rgba(246, 239, 225, 0.6);
    max-width: 32ch;
    line-height: 1.55;
}

footer h5 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; }
footer ul a {
    font-size: 0.92rem;
    color: rgba(246, 239, 225, 0.78);
    transition: color .25s;
}
footer ul a:hover { color: var(--orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(246, 239, 225, 0.12);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(246, 239, 225, 0.5);
}
.footer-bottom a:hover { color: var(--orange); }

/* ─── Page hero (subpages) ─── */
.page-hero {
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    color: var(--navy);
    max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero .lede {
    margin-top: 1.5rem;
    max-width: 50ch;
}

.breadcrumb {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.8rem;
}
.breadcrumb a { color: var(--terracotta); }

/* ─── Prose ─── */
.prose {
    max-width: 68ch;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}
.prose h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy);
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.prose h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 2rem 0 0.8rem;
}
.prose p { margin-bottom: 1.2rem; }
.prose ul { margin: 1rem 0 1.5rem 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--terracotta); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--navy); font-weight: 600; }

.two-col {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.two-col .meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
    position: sticky;
    top: 100px;
}

/* ─── Animations on enter ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s cubic-bezier(.2,.6,.3,1), transform .9s cubic-bezier(.2,.6,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ─── Contact form ─── */
.contact-form {
    display: grid;
    gap: 1.2rem;
    max-width: 560px;
}
.contact-form label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--navy);
    transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--orange);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ─── Location videos (contact.html) ─── */
.loc-videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
@media (max-width: 880px) { .loc-videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .loc-videos { grid-template-columns: 1fr 1fr; gap: 0.7rem; } }

.loc-video {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 6px 18px -10px rgba(0,0,51,0.2);
    transition: transform .25s ease, box-shadow .25s ease;
}
.loc-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0,0,51,0.3);
}
.loc-video .vid-wrap {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #000;
}
.loc-video .vid-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.loc-video figcaption {
    padding: 0.8rem 1rem;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--navy);
    letter-spacing: -0.01em;
    text-align: center;
    background: var(--cream);
}

/* ─── Service tiles (used on /clienten/) ─── */
.tiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 1.5rem 0 2.5rem;
}
.tiles.row-2 { grid-template-columns: repeat(6, 1fr); margin-top: 0; }
@media (max-width: 880px) {
    .tiles, .tiles.row-2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .tiles, .tiles.row-2 { grid-template-columns: repeat(2, 1fr); }
}
.tiles img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 5px;
    display: block;
    transition: transform .25s ease;
}
.tiles img:hover { transform: translateY(-3px); }

/* Stats grid responsive (used on Ergo Learning) */
@media (max-width: 760px) {
    section.block.cream div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ─── Misc ─── */
.tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
    border: 1px solid var(--rule);
    padding: 5px 10px;
    border-radius: 999px;
    margin: 0 4px 4px 0;
}

/* ─── Feedback adjustments (2026-05) ─── */

/* Hero h1: prevent 'leven' from breaking/hyphenating across lines */
h1.display { hyphens: manual; }
h1.display em { white-space: nowrap; }

/* Tone down placeholder-looking orange numeric markers */
.section-num,
.loc .city-num,
.duo-card .num { display: none !important; }

/* Locations: warm, separated cards with left accent bar */
section .locations,
section .locations.locations-5 {
    background: transparent;
    border: none;
    gap: clamp(1rem, 1.6vw, 1.4rem);
    padding: 0 var(--gutter);
    max-width: var(--maxw);
    margin: 0 auto;
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
section .locations.locations-5 .loc-multi { grid-column: 1 / -1; }
@media (max-width: 960px) {
    section .locations.locations-5 { grid-template-columns: 1fr !important; }
    section .locations.locations-5 .loc-multi { grid-column: 1 / -1 !important; }
    .loc { padding: 1.6rem 1.4rem 1.4rem; }
    .loc h3 { font-size: 1.5rem; word-break: normal; overflow-wrap: anywhere; }
    .loc-multi .addr-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
}
@media (max-width: 480px) {
    .loc-multi .addr-grid { grid-template-columns: 1fr; }
}
.loc {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 51, 0.05), 0 1px 2px rgba(0, 0, 51, 0.04);
    padding: 2.2rem 1.8rem 2rem;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.loc::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--orange);
}
.loc:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 51, 0.10), 0 2px 4px rgba(0, 0, 51, 0.05);
    background: var(--paper);
}
.loc h3 {
    margin: 0 0 1rem;
    font-size: 1.7rem;
    line-height: 1.1;
}
.loc p {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.55;
}
.loc .phone {
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Amsterdam multi: full-bleed wider card with a clean 2-col address grid */
.loc-multi { grid-column: span 1; }
.loc-multi h3 { margin-bottom: 0.4rem; }
.loc-multi .phone,
.loc-multi .phone-big { margin: 0.6rem 0 1.4rem; }
.loc-multi .addr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
}
@media (max-width: 560px) {
    .loc-multi .addr-grid { grid-template-columns: 1fr; }
}
.loc-multi .addr { min-width: 0; }
.loc-multi .addr .addr-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--orange-deep);
    margin-bottom: 0.25rem;
    line-height: 1.25;
}
.loc-multi .addr p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
    word-wrap: break-word;
}

/* Specialty cards: small lift + shadow so they feel separated */
.specialties { gap: clamp(1rem, 2vw, 1.4rem); background: transparent; }
.spec {
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    transition: transform .3s ease, box-shadow .3s ease, background .35s;
}
.spec:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
.spec p { font-size: 0.98rem; }

/* Contact page: prominent phone numbers with icon */
.loc .phone-big {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--orange-deep);
    letter-spacing: -0.01em;
    margin-top: 0.6rem;
}
.loc .phone-big svg { width: 20px; height: 20px; color: var(--orange); }
.loc .phone-big:hover { color: var(--navy); }
.loc-multi .phone-big { margin-bottom: 1.2rem; }

/* Ergo Learning: 'Goed om te weten' as proper heading w/ check list */
.info-card {
    background: var(--cream);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.8rem 1.6rem;
}
.info-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}
.info-card .info-list { list-style: none; margin: 0; padding: 0; }
.info-card .info-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--rule);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
.info-card .info-list li:first-child { border-top: none; }
.info-card .info-list svg {
    width: 18px; height: 18px;
    color: var(--orange);
    margin-top: 2px;
}
.info-card .info-list strong { color: var(--navy); display: block; }

