/* ═══════════════════════════════════════════════════════════════════════════
   Picture Your Home — editorial design system
   Display: Fraunces (serif) · Body/UI: Inter (sans) · self-hosted (GDPR)
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/fraunces-v38-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/fraunces-v38-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/fraunces-v38-latin-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* warm neutrals — never pure white or pure black */
    --pyh-bg:       #f9f7f4;
    --pyh-band:     #f2ede7;
    --pyh-ink:      #2c2c2c;
    --pyh-muted:    #605c53;
    --pyh-hairline: #d9d2cc;

    /* clay accent — used sparingly: eyebrows, links, one primary button */
    --pyh-primary:       #9e5052;
    --pyh-primary-dark:  #874244;
    --pyh-primary-light: #b76564;
    --pyh-focus-ring:    rgba(158, 80, 82, .35);
    --pyh-error:         #a3312b;

    /* Bootstrap bridge */
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-xxl: 0;
    --bs-border-radius-pill: 0;
    --bs-body-color: #2c2c2c;
    --bs-body-bg: #f9f7f4;
    --bs-secondary-color: #605c53;
    --bs-border-color: #d9d2cc;
    --bs-body-font-family: var(--font-body);
}

/* ── Base ────────────────────────────────────────────────────────────────── */
html, body {
    font-family: var(--font-body);
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--pyh-ink);
    background-color: var(--pyh-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--pyh-ink);
}

h1, .h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.1; }
h2, .h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.12; }

h1:focus { outline: none; }

a, .btn-link {
    color: var(--pyh-primary);
    text-underline-offset: 3px;
}

a:hover, .btn-link:hover {
    color: var(--pyh-primary-dark);
}

/* square everything — rounded corners are the loudest template tell */
.rounded, .rounded-1, .rounded-2, .rounded-3, .card, .card-img-top,
.btn, .form-control, .form-select, .breadcrumb, .alert, img.rounded {
    border-radius: 0 !important;
}

.shadow, .shadow-sm, .shadow-lg {
    box-shadow: none !important;
}

/* band system: cream page, beige alternate — replaces white/grey sections */
.bg-white { background-color: var(--pyh-bg) !important; }
.bg-light { background-color: var(--pyh-band) !important; }

/* editorial breathing room */
section.py-5 { padding-top: 6.5rem !important; padding-bottom: 6.5rem !important; }

.content { padding-top: 1.1rem; }

/* ── Eyebrow — the tracked uppercase micro-label above every heading ─────── */
.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .16em;
    color: var(--pyh-primary);
    margin-bottom: .75rem;
}

.eyebrow--light { color: rgba(255, 255, 255, .85); }

/* ── Buttons — square, tracked uppercase; one filled primary per page ────── */
.btn {
    border-radius: 0;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .1em;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn:not(.btn-sm):not(.btn-close) { padding: .9rem 2.5rem; }
.btn-lg { font-size: .875rem; padding: 1rem 3rem !important; }
.btn-sm { font-size: .75rem; padding: .55rem 1.5rem; }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--pyh-bg), 0 0 0 0.25rem var(--pyh-focus-ring) !important;
}

/* primary = ink fill */
.btn-dark, .btn-primary {
    color: #fff;
    background-color: var(--pyh-ink);
    border-color: var(--pyh-ink);
}

.btn-dark:hover, .btn-dark:active, .btn-primary:hover, .btn-primary:active {
    background-color: var(--pyh-primary-dark);
    border-color: var(--pyh-primary-dark);
    color: #fff;
}

/* secondary = hairline outline */
.btn-outline-dark, .btn-outline-primary {
    color: var(--pyh-ink);
    border: 1px solid var(--pyh-ink);
    background: transparent;
}

.btn-outline-dark:hover, .btn-outline-primary:hover {
    background-color: var(--pyh-ink);
    border-color: var(--pyh-ink);
    color: #fff;
}

/* cream variants for dark grounds (hero, CTA band) */
.btn-light {
    background-color: var(--pyh-bg);
    border-color: var(--pyh-bg);
    color: var(--pyh-ink);
}

.btn-light:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--pyh-ink);
}

.btn-outline-light { border-width: 1px; }

/* tertiary = animated underline text link */
.link-underline {
    display: inline-block;
    color: var(--pyh-ink);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8125rem;
    letter-spacing: .1em;
    font-weight: 500;
    padding-bottom: .25rem;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .4s cubic-bezier(.16, 1, .3, 1), color .25s ease;
}

.link-underline:hover {
    color: var(--pyh-primary);
    background-size: 40% 1px;
}

.link-underline--light { color: rgba(255, 255, 255, .9); }
.link-underline--light:hover { color: #fff; }

/* ── Header / navbar ─────────────────────────────────────────────────────── */
.pyh-header {
    position: relative;
    z-index: 100;
}

.pyh-navbar {
    background: var(--pyh-bg) !important;
    border-bottom: 1px solid var(--pyh-hairline);
    box-shadow: none;
    transition: background-color .3s ease;
}

.pyh-navbar .nav-link {
    color: var(--pyh-ink) !important;
    text-transform: uppercase;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-shadow: none;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: .5rem .9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    transition: color .15s ease;
}

.pyh-navbar .nav-link.active,
.pyh-navbar .nav-link:hover {
    color: var(--pyh-primary) !important;
    opacity: 1;
    background: transparent !important;
}

.pyh-navbar .navbar-brand { padding: 0; }

.pyh-navbar .navbar-brand img { display: block; }

.pyh-navbar .navbar-toggler {
    border: 0;
    border-radius: 0;
    padding: .5rem;
}

.pyh-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 44, 44, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.pyh-navbar .navbar-toggler:focus { box-shadow: none; }
.pyh-navbar .navbar-toggler:focus-visible { box-shadow: 0 0 0 .2rem var(--pyh-focus-ring); }

/* On the home page the navbar floats transparently over the full-bleed hero —
   until the visitor scrolls or opens the mobile menu, which both bring back the solid header */
body:has(.hero) .pyh-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, transparent 100%) !important;
    border-bottom: none;
}

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .nav-link { color: #fff !important; }

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .nav-link.active,
body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .nav-link:hover { color: rgba(255, 255, 255, .7) !important; }

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .navbar-toggler-icon { filter: invert(1) brightness(2); }

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .navbar-brand img { filter: brightness(0) invert(1); }

body:has(.hero) .pyh-navbar:not(.scrolled):not(.nav-open) .nav-cta {
    background-color: var(--pyh-bg);
    border-color: var(--pyh-bg);
    color: var(--pyh-ink);
}

/* hamburger turns into a close cross while the mobile menu is open */
.pyh-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 44, 44, 0.85%29' stroke-linecap='round' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}

/* the one persistent call to action: top right on every page */
.pyh-navbar .nav-cta {
    padding: .6rem 1.4rem;
    white-space: nowrap;
}

html.scroll-locked { overflow: hidden; }

@media (max-width: 991.98px) {
    .pyh-navbar .navbar-brand img { width: 96px; height: 48px; }

    /* brand and toggler stay above the overlay so the cross can close it */
    .pyh-navbar .navbar-brand,
    .pyh-navbar .navbar-toggler {
        position: relative;
        z-index: 2;
    }

    /* full-screen menu: large serif links, contact details at the bottom */
    .pyh-navbar .navbar-collapse.show {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        padding: 6rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
        overflow-y: auto;
        background: var(--pyh-bg);
        animation: pyh-fade-in .2s ease;
    }

    /* left-aligned list: undo the desktop ms-auto that pushes it right */
    .pyh-navbar .navbar-collapse.show .navbar-nav {
        margin-left: 0 !important;
        align-items: flex-start;
    }

    .pyh-navbar .navbar-collapse.show .nav-link {
        font-family: var(--font-display);
        font-size: 2.25rem;
        font-weight: 400;
        text-transform: none;
        letter-spacing: -.02em;
        line-height: 1.2;
        padding: .3rem 0;
    }

    .nav-overlay-contact {
        border-top: 1px solid var(--pyh-hairline);
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    .nav-overlay-contact a:not(.btn) {
        color: var(--pyh-ink);
        text-decoration: none;
    }
}

@keyframes pyh-fade-in {
    from { opacity: 0; }
}

/* ── Mobile action bar — call, WhatsApp, quote; always one tap away ──────── */
.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--pyh-bg);
    border-top: 1px solid var(--pyh-hairline);
}

.mobile-action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .6rem 0 .55rem;
    font-size: .6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--pyh-ink);
    text-decoration: none;
}

.mobile-action-bar a i {
    font-size: 1.1rem;
    color: var(--pyh-primary);
}

.mobile-action-bar a.mobile-action-bar-primary,
.mobile-action-bar a.mobile-action-bar-primary i {
    background: var(--pyh-ink);
    color: #fff;
}

@media (max-width: 767.98px) {
    /* keep the footer's last line clear of the action bar */
    body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;   /* fallback */
    min-height: 100svh;  /* excludes the mobile address bar, prevents layout jump */
    background-color: #1a1a1a;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darkens only where there is text: a light band behind the nav, a heavier one behind
   the bottom-left headline. The middle of the photograph stays untouched. */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 22%),
        linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 7rem;
    padding-bottom: 4.5rem;
}

.hero h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 5.5vw, 4.75rem);
    line-height: 1.05;
    font-weight: 400;
    color: #fff;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
}

.hero .lead {
    max-width: 36rem;
    font-size: 1.0625rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .85);
}

/* ── Section head — heading left, intro + link right; breaks the centred rhythm ── */
.section-head {
    align-items: flex-end;
    row-gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
    .section-head { margin-bottom: 2rem; }
}

/* ── Filter chips — portfolio categories; one scrollable row on phones ───── */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-chip {
    padding: .55rem 1.1rem;
    border: 1px solid var(--pyh-hairline);
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    white-space: nowrap;
    color: var(--pyh-ink);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.filter-chip:hover {
    border-color: var(--pyh-ink);
    color: var(--pyh-ink);
}

.filter-chip[aria-current="page"] {
    background: var(--pyh-ink);
    border-color: var(--pyh-ink);
    color: #fff;
}

@media (max-width: 575.98px) {
    /* bleed to the screen edges so the row visibly continues */
    .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5) .25rem;
        scrollbar-width: none;
    }

    .filter-chips::-webkit-scrollbar { display: none; }
}

/* ── Work grid — staggered: rows alternate wide/narrow, bottoms aligned ──── */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1rem;
}

@media (min-width: 576px) {
    .work-grid { grid-template-columns: 1fr 1fr; }

    /* one full-width feature, then a pair */
    .work-grid > :nth-child(3n+1) { grid-column: span 2; }
}

@media (min-width: 992px) {
    .work-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 3.5rem 1.5rem;
        align-items: end;
    }

    /* 7/5, then 5/7, and so on: different widths at the same 4:3 make the stagger */
    .work-grid > :nth-child(n) { grid-column: span 5; }
    .work-grid > :nth-child(4n+1),
    .work-grid > :nth-child(4n+4) { grid-column: span 7; }
}

/* ── Photo tiles — flat, frame-contained hover ───────────────────────────── */
.photo-tile {
    display: block;
    text-decoration: none;
    color: inherit;
}

.photo-tile .photo-frame {
    overflow: hidden;
    margin: 0;
}

.photo-tile img {
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.photo-tile:hover img { transform: scale(1.03); }

.photo-caption {
    padding-top: .75rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--pyh-ink);
}

.photo-caption small {
    display: block;
    color: var(--pyh-muted);
    font-weight: 400;
}

/* ── Service tiles — numbered, hairline-topped, no icons ─────────────────── */
.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.service-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.service-tile {
    border-top: 1px solid var(--pyh-hairline);
    padding: 1.75rem 0 0;
    height: 100%;
    text-align: left;
    transition: border-color .3s ease;
}

.service-tile .tile-number {
    font-family: var(--font-display);
    font-style: italic;
    font-size: .95rem;
    color: var(--pyh-primary);
    display: block;
    margin-bottom: .9rem;
}

.service-tile h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: .5rem;
}

.service-card-link:hover .service-tile { border-top-color: var(--pyh-primary); }

/* with a photo above it, the tile drops its hairline: the photo is the divider */
.service-tile--photo {
    border-top: 0;
    padding-top: 1.1rem;
}

.service-tile--photo .tile-number { margin-bottom: .35rem; }

/* ── Page hero — full-bleed photo with the title bottom-left (projects, services) ── */
.page-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 62vh;
    min-height: 62svh;
    background-color: #1a1a1a;
    color: #fff;
}

.page-hero--tall {
    min-height: 82vh;
    min-height: 82svh;
}

.page-hero-img,
.page-hero-link {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero-img { object-fit: cover; }

.page-hero-link {
    display: block;
    cursor: zoom-in;
}

/* darkens only the bottom, where the text sits; the rest of the photo stays true */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, 0) 75%);
}

/* clicks fall through to the photo link, except on real links in the text */
.page-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 3rem;
    pointer-events: none;
}

.page-hero-content a { pointer-events: auto; }

.page-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.05;
    color: #fff;
}

.page-hero .lead {
    max-width: 38rem;
    color: rgba(255, 255, 255, .85);
}

.eyebrow a {
    color: inherit;
    text-decoration: none;
}

.eyebrow a:hover { text-decoration: underline; }

/* ── Project facts — hairline table ──────────────────────────────────────── */
.facts-table > div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
    padding: .8rem 0;
    border-top: 1px solid var(--pyh-hairline);
}

.facts-table > div:last-child { border-bottom: 1px solid var(--pyh-hairline); }

.facts-table dt {
    padding-top: .2rem;
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--pyh-muted);
}

.facts-table dd { margin: 0; }

/* longer labels (about timeline: "Na negen jaar") */
.facts-table--wide > div { grid-template-columns: 9rem 1fr; }

/* ── Photo layouts that keep each photo's own proportions ───────────────── */
.photo-tile--zoom { cursor: zoom-in; }

/* project page: one large, then a pair */
.photo-sequence {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* service pages: compact columns for a mix of portrait and landscape shots */
.photo-masonry {
    column-count: 1;
    column-gap: 1rem;
}

.photo-masonry > a {
    display: block;
    break-inside: avoid;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .photo-masonry { column-count: 2; }
}

@media (min-width: 768px) {
    .photo-sequence { gap: 1.5rem; }
}

@media (min-width: 992px) {
    .photo-masonry { column-count: 3; column-gap: 1.5rem; }
    .photo-masonry > a { margin-bottom: 1.5rem; }
}

/* ── Next album ────────────────────────────────────────────────────────── */
.next-album {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.next-album:hover { color: inherit; }

.next-album-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    transition: color .25s ease;
}

.next-album:hover .next-album-title { color: var(--pyh-primary); }

.next-album-thumb {
    display: block;
    flex: 0 0 auto;
    width: 9rem;
    overflow: hidden;
}

.next-album-thumb img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.next-album:hover .next-album-thumb img { transform: scale(1.03); }

@media (max-width: 575.98px) {
    .next-album-thumb { width: 6rem; }
}

/* ── Lightbox (wwwroot/js/site.js) ───────────────────────────────────────── */
.pyh-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(18, 18, 18, .97);
    color: #fff;
}

.pyh-lightbox[open] {
    display: flex;
    flex-direction: column;
}

.pyh-lightbox::backdrop { background: transparent; }

.lb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem .75rem 1.5rem;
}

.lb-counter {
    font-size: .8125rem;
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .75);
}

.lb-close,
.lb-nav {
    border: 0;
    background: transparent;
    color: #fff;
    line-height: 1;
    opacity: .8;
    transition: opacity .2s ease;
}

.lb-close:hover,
.lb-nav:hover { opacity: 1; }

.lb-close {
    width: 3rem;
    height: 3rem;
    font-size: 2.25rem;
}

.lb-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4.5rem;
    overflow: hidden;
}

.lb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 5rem;
    font-size: 3rem;
}

.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
.lb-nav[hidden], .lb-thumbs[hidden] { display: none; }

.lb-thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: 1rem 1.5rem 1.25rem;
    justify-content: safe center;
    scrollbar-width: thin;
}

.lb-thumb {
    flex: 0 0 auto;
    width: 4rem;
    height: 3rem;
    padding: 0;
    border: 0;
    background: none;
    opacity: .45;
    transition: opacity .2s ease;
}

.lb-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-thumb:hover,
.lb-thumb[aria-current="true"] { opacity: 1; }

.lb-thumb[aria-current="true"] {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.pyh-lightbox button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .lb-stage { padding: 0; }

    .lb-nav {
        width: 2.5rem;
        font-size: 2.25rem;
        background: rgba(0, 0, 0, .25);
    }

    .lb-thumbs { padding: .75rem 1rem; }
}

/* ── Process steps — numbered hairline list beside a sticky 72-hour figure ── */
@media (min-width: 992px) {
    .process-aside {
        position: sticky;
        top: 7rem;
    }
}

.process-figure {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--pyh-primary);
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--pyh-hairline);
}

.process-step:last-child { border-bottom: 1px solid var(--pyh-hairline); }

.process-step .tile-number {
    margin: .35rem 0 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--pyh-primary);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

/* ── FAQ — native <details>, hairline rows, plus that turns into a cross ─── */
.faq-list { border-top: 1px solid var(--pyh-hairline); }

.faq-item { border-bottom: 1px solid var(--pyh-hairline); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0;
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    transition: color .2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--pyh-primary);
    transition: transform .25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--pyh-primary); }

.faq-item summary:focus-visible {
    outline: 2px solid var(--pyh-focus-ring);
    outline-offset: 4px;
}

.faq-item > p { padding: 0 3rem 1.5rem 0; }

/* ── Check list — em-dash markers instead of icon circles ────────────────── */
.check-list { padding-left: 0; }

.check-list li {
    list-style: none;
    padding: .4rem 0 .4rem 1.75rem;
    position: relative;
    font-size: 1rem;
}

.check-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--pyh-primary);
}

/* legacy alias kept until all pages migrate */
.why-list li { padding: .4rem 0; font-size: 1rem; }

/* ── Quote tiles (testimonials) ──────────────────────────────────────────── */
.quote-tile {
    border-top: 1px solid var(--pyh-hairline);
    padding: 1.75rem 0 0;
    height: 100%;
}

.quote-tile blockquote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
}

.quote-tile blockquote::before {
    content: "\201C";
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--pyh-primary);
}

.quote-tile figcaption {
    font-size: .875rem;
    font-weight: 500;
}

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-control, .form-select {
    background-color: var(--pyh-bg);
    border-color: var(--pyh-hairline);
    padding: .65rem .9rem;
    font-size: .95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--pyh-primary);
    background-color: #fff;
}

.form-check-input { border-color: var(--pyh-muted); }

.form-check-input:checked {
    background-color: var(--pyh-primary);
    border-color: var(--pyh-primary);
}

.form-label, legend.fs-6 {
    font-size: .8125rem !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
    color: var(--pyh-muted);
}

/* errors in a muted brick red from the clay family; valid fields stay quiet (no green outline) */
.invalid,
.form-control.invalid,
.form-select.invalid { border-color: var(--pyh-error); }

.form-control.invalid:focus { border-color: var(--pyh-error); }

.validation-message {
    margin-top: .35rem;
    color: var(--pyh-error);
    font-size: .8125rem;
}

.form-check-input.invalid { border-color: var(--pyh-error); }

/* contact page aside: travels along with the long form on desktop */
@media (min-width: 992px) {
    .contact-aside {
        position: sticky;
        top: 2rem;
    }
}

.facts-table a { word-break: break-word; }

/* ── CTA band — flat ink, no gradient ────────────────────────────────────── */
.pyh-cta {
    background: var(--pyh-ink);
}

.pyh-cta h2 { color: #fff; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.pyh-footer {
    background: var(--pyh-ink);
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
}

.pyh-footer a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}

.pyh-footer a:hover { color: #fff; }

.pyh-footer .footer-brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
}

.footer-heading {
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .16em;
    font-weight: 500;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1rem;
}

.pyh-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

.pyh-footer .footer-bottom a { color: rgba(255, 255, 255, .55); }
.pyh-footer .footer-bottom a:hover { color: #fff; }

/* keep .bg-dark ink, not Bootstrap navy */
.bg-dark {
    background-color: var(--pyh-ink) !important;
}

/* ── Cookie notice — small corner card instead of a full-width bar ──────── */
.cookie-notice {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 1060;
    max-width: 21rem;
    padding: 1.25rem 1.25rem 1.1rem;
    background: var(--pyh-ink);
    color: rgba(255, 255, 255, .85);
}

.cookie-notice[hidden] { display: none; }

.cookie-notice strong,
.cookie-notice a { color: #fff; }

@media (max-width: 767.98px) {
    /* one compact row just above the mobile action bar */
    .cookie-notice {
        display: flex;
        align-items: center;
        gap: .75rem;
        left: .5rem;
        right: .5rem;
        max-width: none;
        bottom: calc(3.6rem + .5rem + env(safe-area-inset-bottom));
        padding: .75rem .75rem .75rem 1rem;
    }

    .cookie-notice p {
        margin: 0 !important;
        font-size: .8125rem;
        line-height: 1.4;
    }

    .cookie-notice .btn { flex: 0 0 auto; }
}

/* ── Blog: rendered markdown ─────────────────────────────────────────────── */
.post-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.post-body h2, .post-body h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.post-body img {
    max-width: 100%;
    height: auto;
}

.post-body blockquote {
    border-left: 3px solid var(--pyh-primary);
    padding-left: 1rem;
    color: var(--pyh-muted);
}

/* ── Policy tables (cookies) — hairline rows on the page background ─────── */
.policy-table {
    --bs-table-bg: transparent;
    font-size: .9375rem;
}

.policy-table th {
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--pyh-muted);
    border-bottom-color: var(--pyh-ink);
}

.policy-table td { padding-block: 1rem; }

.policy-table code {
    color: var(--pyh-ink);
    white-space: nowrap;
}

/* phones: each row becomes a labelled block instead of a sideways-scrolling table */
@media (max-width: 575.98px) {
    .policy-table thead { display: none; }

    .policy-table tr {
        display: block;
        padding: .75rem 0;
        border-top: 1px solid var(--pyh-hairline);
    }

    .policy-table tr:last-child { border-bottom: 1px solid var(--pyh-hairline); }

    .policy-table td {
        display: grid;
        grid-template-columns: 7.5rem 1fr;
        gap: .75rem;
        padding: .35rem 0;
        border: 0;
    }

    .policy-table td::before {
        content: attr(data-label);
        padding-top: .15rem;
        font-size: .6875rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--pyh-muted);
    }

    .policy-table code { white-space: normal; word-break: break-all; }
}

/* ── Pull quote — one of Margot's own sentences, set large ──────────────── */
.pull-quote {
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--pyh-primary);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.3;
    color: var(--pyh-ink);
}

/* ── About: portrait travels with the long text column ──────────────────── */
@media (min-width: 768px) {
    .about-aside {
        position: sticky;
        top: 1.5rem;
    }
}

/* ── Blazor plumbing ─────────────────────────────────────────────────────── */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Er is een fout opgetreden."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    section.py-5 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }

    /* the mobile action bar is fixed over the bottom of the screen; end the hero above it */
    .hero {
        min-height: calc(100vh - 3.6rem);
        min-height: calc(100svh - 3.6rem - env(safe-area-inset-bottom));
    }

    .hero-content { padding-top: 5rem; padding-bottom: 2.5rem; }

    .pyh-cta .btn + .btn { margin-top: .5rem; }
}

@media (max-width: 575.98px) {
    /* g-5's 3rem gutter pokes 12px past the full-width phone container and makes every page
       scroll sideways (the footer uses it); phones get Bootstrap's default gutter instead */
    .row.g-5,
    .row.gx-5 { --bs-gutter-x: 1.5rem; }

    .hero .btn-lg { padding: .75rem 1.5rem !important; font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
    .photo-tile img, .link-underline, .btn, .pyh-navbar, .service-tile,
    .next-album-title, .next-album-thumb img, .lb-close, .lb-nav, .lb-thumb, .filter-chip,
    .faq-item summary, .faq-item summary::after {
        transition: none;
    }

    .pyh-navbar .navbar-collapse.show { animation: none; }
}

/* ── Back to top (wwwroot/js/site.js) ────────────────────────────────────── */
.to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 0;
    background: var(--pyh-ink);
    color: var(--pyh-bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(.5rem);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}

.to-top.is-visible { opacity: .9; visibility: visible; transform: none; }
.to-top:hover { opacity: 1; background: var(--pyh-primary-dark); }
.to-top:focus-visible { outline: 2px solid var(--pyh-primary); outline-offset: 3px; opacity: 1; }

.to-top svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767.98px) {
    /* above the call / WhatsApp / quote bar */
    .to-top {
        right: .75rem;
        bottom: calc(3.6rem + .75rem + env(safe-area-inset-bottom));
        width: 2.6rem;
        height: 2.6rem;
    }

    /* the cookie notice spans the full width there; the button waits until it is dismissed */
    body:has(.cookie-notice:not([hidden])) .to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .to-top { transition: none; }
}

/* ── Blog cards: the whole image, letterboxed in a steady 3:2 frame ──────── */
.blog-card-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    background: var(--pyh-band);
}

.blog-card-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
