/* ============================================
   RESET & ROOT
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:     #080808;
    --off-black: #111;
    --white:     #f8f6f2;
    --gray:      #a3a3a3;
    --gray-lt:   #999;
    --gold:      #b8975a;
    --header-pad-x: clamp(24px, 5vw, 64px);
    --serif:     'Cormorant Garamond', Georgia, serif;
    --sans:      'Inter', system-ui, sans-serif;
    --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
    --ease-out:  cubic-bezier(0, 0.55, 0.45, 1);
    --header-h:  64px;
}

html {
    font-size: 17.5px;
    scroll-behavior: smooth;
    /* Reserve the scrollbar's space permanently so toggling body's
       overflow to hidden (menu/lightbox open) never shifts centered
       fixed-position content sideways. */
    scrollbar-gutter: stable;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ============================================
   HEADER
   ============================================ */
/* Push our fixed header below the WP admin bar when logged in */
.admin-bar .pg-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .pg-header { top: 46px; }
}

/* WP adds a 32px/46px admin bar above <html>, which otherwise pushes
   the 100dvh hero past the viewport and forces a small scroll. */
.admin-bar .pg-hero {
    height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
    .admin-bar .pg-hero { height: calc(100dvh - 46px); }
}

.pg-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 360;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--header-pad-x);
    transition: background 0.5s var(--ease), border-color 0.5s;
    border-bottom: 1px solid transparent;
}

.pg-header.is-scrolled {
    background: rgba(8,8,8,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255,255,255,0.06);
}

.pg-header__logo img {
    height: 34px;
    width: auto;
    transition: opacity 0.3s;
}

.pg-header__logo:hover img { opacity: 0.75; }

.pg-header__logo-mark { display: none; }

/* Gallery title — fades in centered once the page's own title (in
   .pg-single__header) has scrolled up behind the fixed header. */
.pg-header__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 6px));
    max-width: calc(100% - 140px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.pg-header__title.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Logo + long gallery title can't both fit on narrow screens — shrink
   to just the "TH" mark instead of hiding the logo entirely, so the
   title gets the room it needs while the header keeps a logo. */
@media (max-width: 640px) {
    .pg-header.has-title .pg-header__logo-full { display: none; }
    .pg-header.has-title .pg-header__logo-mark { display: block; }
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.pg-hamburger {
    position: relative;
    width: 42px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 400;
    flex-shrink: 0;
}

.pg-hamburger__line {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: transform 0.45s var(--ease), opacity 0.3s, width 0.45s var(--ease), top 0.45s var(--ease);
}

.pg-hamburger__line:nth-child(1) { top: 3px; width: 100%; }
.pg-hamburger__line:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.pg-hamburger__line:nth-child(3) { bottom: 3px; top: auto; width: 85%; }

/* Open state — morphs to X */
.pg-hamburger.is-open .pg-hamburger__line:nth-child(1) {
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(45deg);
}
.pg-hamburger.is-open .pg-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}
.pg-hamburger.is-open .pg-hamburger__line:nth-child(3) {
    top: 50%;
    bottom: auto;
    width: 100%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ============================================
   FULLSCREEN OVERLAY MENU
   ============================================ */
.admin-bar .pg-overlay {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .pg-overlay { top: 46px; }
}

.pg-overlay {
    position: fixed;
    inset: 0;
    z-index: 350;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;

    /* Reveal from top-right (hamburger corner) */
    clip-path: circle(0% at calc(100% - 50px) 32px);
    transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.pg-overlay.is-open {
    clip-path: circle(170% at calc(100% - 50px) 32px);
    pointer-events: auto;
}

.pg-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 80px clamp(32px, 8vw, 120px) 0;
    gap: 0;
}

/* Nav fills the space above the footer and centers its own content in
   it, instead of the nav+footer pair being centered together as one
   block — that squeezed the footer up against the nav items. */
.pg-overlay__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

/* Panel switcher — main list vs. galleries drill-down */
.pg-overlay__panels {
    position: relative;
    width: 100%;
    margin: auto 0;
}

.pg-overlay__panel-sub { display: none; }

.pg-overlay__panel-main {
    animation: overlayPanelInLeft 0.45s var(--ease-out) both;
}

.pg-overlay__panels.is-sub-open .pg-overlay__panel-main {
    display: none;
    animation: none;
}

.pg-overlay__panels.is-sub-open .pg-overlay__panel-sub {
    display: block;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    animation: overlayPanelInRight 0.45s var(--ease-out) both;
}

@keyframes overlayPanelInLeft {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes overlayPanelInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Breadcrumb back to the main menu */
.pg-overlay__crumb {
    position: relative;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-lt);
    margin-bottom: clamp(28px, 4vw, 48px);
    transition: color 0.2s;
}

.pg-overlay__crumb:hover { color: var(--gold); }

/* Positioned outside the button's own box so it never shifts the
   centered text — only the word itself determines the center. */
.pg-overlay__crumb-icon {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
}

/* Galleries drill-down list */
.pg-overlay__sublist {
    list-style: none;
    text-align: center;
    max-height: 56vh;
    padding: 0 24px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Scrolls when there are too many galleries to fit, but stays
       visually clean — no scrollbar chrome. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pg-overlay__sublist::-webkit-scrollbar { display: none; }

.pg-overlay__subitem { margin-bottom: clamp(8px, 1.4vw, 18px); }

.pg-overlay__sublink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.6vw, 1.7rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--white);
    transition: color 0.2s, letter-spacing 0.3s var(--ease);
}

.pg-overlay__sublink:hover {
    color: var(--gold);
    letter-spacing: 0.02em;
}

.pg-overlay__sublink svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: transform 0.25s var(--ease), opacity 0.25s;
}

.pg-overlay__sublink:hover svg {
    transform: translateX(3px);
    opacity: 1;
}

/* Nav items */
.pg-overlay__list {
    list-style: none;
    text-align: center;
}

.pg-overlay__item {
    overflow: hidden;
    margin-bottom: clamp(20px, 3vw, 36px);
}

.pg-overlay__item--expandable {
    /* Shrink-wraps to just the link (the button is taken out of flow
       below), so .pg-overlay__list's text-align: center centers the
       word itself — same position as "About" — with the chevron
       hanging off to the side instead of skewing that center. */
    position: relative;
    display: inline-block;
    /* .pg-overlay__item's overflow: hidden would clip the chevron,
       which now sits just outside this shrink-wrapped box. */
    overflow: visible;
}

.pg-overlay__expand {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: clamp(16px, 3vw, 40px);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gray-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Entrance slide matches .pg-overlay__link's; the resting translateY
       also carries the optical nudge for the label's descender space
       (the 'g' in "Galleries") that align-items: center can't account for. */
    transform: translateY(-50%) translateY(120%);
    transition: transform 0.7s var(--ease-out) 0.35s, opacity 0.5s 0.35s, color 0.2s;
}

.pg-overlay.is-open .pg-overlay__expand {
    opacity: 1;
    transform: translateY(-50%) translateY(0.12em);
}

.pg-overlay__expand:hover,
.pg-overlay__expand[aria-expanded="true"] { color: var(--gold); }

.pg-overlay__expand svg {
    width: 40px;
    height: 40px;
    transition: transform 0.35s var(--ease);
}

.pg-overlay__expand[aria-expanded="true"] svg { transform: rotate(90deg); }

.pg-overlay__link {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(12px, 2vw, 24px);
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.7s var(--ease-out), opacity 0.5s;
}

/* Staggered entrance */
.pg-overlay.is-open .pg-overlay__item:nth-child(1) .pg-overlay__link { transition-delay: 0.25s; }
.pg-overlay.is-open .pg-overlay__item:nth-child(2) .pg-overlay__link { transition-delay: 0.35s; }
.pg-overlay.is-open .pg-overlay__item:nth-child(3) .pg-overlay__link { transition-delay: 0.45s; }

.pg-overlay.is-open .pg-overlay__link {
    transform: translateY(0);
    opacity: 1;
}

.pg-overlay__index {
    font-family: var(--sans);
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--gold);
    line-height: 1;
    align-self: center;
    transform: translateY(-2px);
}

.pg-overlay__label {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 0.95;
    color: var(--white);
    transition: color 0.25s, letter-spacing 0.4s var(--ease);
    letter-spacing: -0.01em;
    /* Reserves room for the hover underline below, inside this box —
       it used to sit at bottom:-4px, which .pg-overlay__item's
       overflow:hidden (needed for the entrance animation) clipped away
       on every item except Galleries (the only one with overflow:visible). */
    padding-bottom: 6px;
}

.pg-overlay__link:hover .pg-overlay__label {
    color: var(--gold);
    letter-spacing: 0.04em;
}

/* Overlay footer */
.pg-overlay__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    justify-content: center;
    align-items: center;
    padding: 40px 0 clamp(24px, 4vw, 40px);
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s, transform 0.5s var(--ease-out);
}

.pg-overlay.is-open .pg-overlay__footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.pg-overlay__social {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-lt);
    transition: color 0.2s;
}

.pg-overlay__social:hover { color: var(--white); }

.pg-overlay__copy {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.js-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0ms);
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.pg-hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

/* --- Crossfading background slides --- */
.pg-hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
}

.pg-hero__slide {
    position: absolute;
    inset: -20% -6%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    will-change: opacity, transform;

    /*
     * Zoom draait op ALLE slides tegelijk, altijd gesynchroniseerd.
     * Zo reset de animatie nooit bij een wissel — de overgang
     * blijft volledig smooth want beide slides zitten op hetzelfde
     * punt in de zoom-cyclus.
     */
    animation: heroSlideZoom 22s ease-in-out infinite alternate;
}

.pg-hero__slide.is-active {
    opacity: 1;
    /* Geen animation-wijziging — zoom loopt gewoon door */
}

@keyframes heroSlideZoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1.00); }
}

/* Dark gradient overlay */
.pg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.25) 0%,
        rgba(8,8,8,0.50) 45%,
        rgba(8,8,8,0.80) 100%
    );
}

/* --- Content --- */
.pg-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 clamp(20px, 5vw, 60px);
    animation: heroFadeUp 1.4s 0.2s var(--ease-out) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pg-hero__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    animation: heroFadeUp 1s 0.5s var(--ease-out) both;
}

/* --- Text image mask (two-layer crossfade) --- */
.pg-hero__title-wrap {
    position: relative;
    margin-bottom: 32px;
    animation: heroFadeUp 1.2s 0.3s var(--ease-out) both;
}

.pg-hero__title {
    display: flex;
    flex-direction: column;

    /* The image mask */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Fallback: white text if background-clip unsupported */
    color: var(--white);

    /* Crossfade transition (JS drives opacity inline) */
    transition: opacity 0.9s ease;
}

/* B layer sits absolutely on top of A, initially invisible */
.pg-hero__title--b {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* Apply mask only when supported */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .pg-hero__title {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        /*
         * brightness(4) bleacht de foto-kleuren richting wit zodat
         * de tekst altijd goed leesbaar blijft, ongeacht de foto.
         * saturate(0.2) haalt de kleur eraf → tekst oogt bijna wit
         * met subtiele textuur van de foto.
         */
        filter: brightness(4) saturate(0.2) drop-shadow(0 2px 24px rgba(0,0,0,0.4));
    }
}

.pg-hero__line1 {
    display: block;
    font-family: var(--serif);
    font-size: clamp(3.8rem, 13vw, 12rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.025em;
}

.pg-hero__line2 {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 5.5vw, 5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

/* Line2 gets a solid white instead of background-clip-through.
   Thin italic text clips too little background area to be reliably visible. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .pg-hero__line2 {
        -webkit-text-fill-color: rgba(248, 246, 242, 0.6);
    }
}

.pg-hero__tagline {
    font-size: clamp(0.68rem, 1.2vw, 0.8rem);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 52px;
    animation: heroFadeUp 1s 0.6s var(--ease-out) both;
}

.pg-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(184,151,90,0.4);
    transition: color 0.25s, border-color 0.25s, gap 0.35s var(--ease);
    animation: heroFadeUp 1s 0.75s var(--ease-out) both;
}

.pg-hero__cta:hover {
    color: var(--gold);
    border-color: var(--gold);
    gap: 18px;
}

/* --- Slide dots (bottom-right corner of the hero photo) --- */
.pg-hero__dots {
    position: absolute;
    bottom: clamp(24px, 4vw, 40px);
    right: var(--header-pad-x);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    animation: heroFadeUp 1s 1.4s var(--ease-out) both;
}

@media (max-width: 640px) {
    .pg-hero__dots {
        left: 0;
        right: 0;
        justify-content: center;
    }
}

.pg-hero__dot {
    width: 22px;
    height: 1px;
    border-radius: 0;
    background: rgba(248,246,242,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.4s var(--ease), width 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pg-hero__dot:hover { background: rgba(248,246,242,0.6); }

.pg-hero__dot.is-active {
    width: 38px;
    box-shadow: 0 0 10px rgba(248,246,242,0.4);
}

/* White fill sweeps left-to-right over the dot, timed to the 6s autoplay
   interval in main.js — a visual countdown to the next slide. */
.pg-hero__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--white);
}

.pg-hero__dot.is-active::after {
    animation: heroDotFill 6s linear forwards;
}

@keyframes heroDotFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* --- Scroll indicator (click to jump to the next section) --- */
.pg-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: none;
    border: none;
    color: rgba(248,246,242,0.55);
    cursor: pointer;
    /* heroFadeUp only animates translateY, which would wipe out a
       static translateX(-50%) centering transform — so this button
       gets its own keyframes combining both. */
    animation: heroScrollFadeUp 1s 1.4s var(--ease-out) both;
    transition: color 0.25s;
}

@keyframes heroScrollFadeUp {
    from { opacity: 0; transform: translateX(-50%) translateY(40px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.pg-hero__scroll:hover { color: var(--gold); }

.pg-hero__scroll svg {
    animation: heroScrollBounce 2.2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

/* ============================================
   FEATURED SHOWCASE (homepage) — full-screen slider
   ============================================ */
.pg-showcase {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 860px;
    overflow: hidden;
    background: var(--black);
}

.pg-showcase__slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pg-showcase__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Positioning during the push transition is driven inline by JS
       (direction changes per navigation), so no transition is set here. */
}

.pg-showcase__slide.is-active {
    z-index: 2;
    opacity: 1;
}

/* Soft, blurred duplicate fills the frame around the full photo below,
   so nothing is ever cropped but the screen still feels full-bleed. */
.pg-showcase__slide-bg {
    position: absolute;
    inset: -6%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.5) saturate(1.15);
    transform: scale(1.15) translate(0, 0);
}

.pg-showcase__slide.is-active .pg-showcase__slide-bg {
    animation: showcaseKenBurns 9s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes showcaseKenBurns {
    from { transform: scale(1.15) translate(0, 0); }
    to   { transform: scale(1.0)  translate(-1.5%, -1%); }
}

/* The actual photo, shown whole — never cropped */
.pg-showcase__slide-img {
    position: relative;
    z-index: 1;
    max-width: min(88vw, 1500px);
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
    transform: scale(1.03);
    transition: filter 0.3s ease;
}

.pg-showcase__slide.is-active .pg-showcase__slide-img {
    animation: showcaseImgZoom 9s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes showcaseImgZoom {
    from { transform: scale(1.03); }
    to   { transform: scale(1.0); }
}

.pg-showcase__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0.1) 30%, rgba(8,8,8,0.35) 65%, rgba(8,8,8,0.88) 100%),
        linear-gradient(90deg, rgba(8,8,8,0.5) 0%, transparent 45%);
}

.pg-showcase__grain {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}

.pg-showcase__content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    padding: 0 clamp(24px, 6vw, 96px) clamp(72px, 10vw, 130px);
}

.pg-showcase__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.pg-showcase__captions {
    position: relative;
    min-height: clamp(3.5rem, 9vw, 7rem);
}

.pg-showcase__caption {
    position: absolute;
    left: 0; top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: min(560px, 68vw);
    opacity: 0;
    transform: translateY(20px);
    /* Fades/sinks away first — no delay — so it's fully gone before... */
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
    pointer-events: none;
}

.pg-showcase__caption.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* ...the incoming one rises in, delayed to start only once the
       outgoing caption's fade-out above has finished. */
    transition: opacity 0.6s var(--ease-out) 0.45s, transform 0.6s var(--ease-out) 0.45s;
}

.pg-showcase__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.75);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.pg-showcase__title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.8rem, 6vw, 4.2rem);
    line-height: 1.05;
    max-width: 16ch;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.pg-showcase__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.75);
    border-bottom: 1px solid rgba(184,151,90,0.4);
    padding-bottom: 4px;
    transition: color 0.2s, gap 0.3s var(--ease), border-color 0.2s;
}

.pg-showcase__link:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }

/* Prev/next arrows — manual control */
.pg-showcase__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(248,246,242,0.85);
    cursor: pointer;
    transition: color 0.25s;
}

.pg-showcase__nav svg { transition: transform 0.3s var(--ease); }

.pg-showcase__nav:hover { color: var(--gold); }
.pg-showcase__nav--prev { left: clamp(6px, 2vw, 28px); }
.pg-showcase__nav--next { right: clamp(6px, 2vw, 28px); }
.pg-showcase__nav--prev:hover svg { transform: translateX(-4px); }
.pg-showcase__nav--next:hover svg { transform: translateX(4px); }

/* Swipe covers navigation on mobile — no need for floating buttons there. */
@media (max-width: 640px) {
    .pg-showcase__nav { display: none; }

    /* Ditch the fixed 100vh here — let the section size itself to the
       photo + text instead, so there's no dead empty gap between them. */
    .pg-showcase {
        height: auto;
        min-height: 0;
        max-height: none; /* the desktop cap would clip mobile's content-sized layout */
        display: flex;
        flex-direction: column;
        /* The photo can fill its whole 52vh zone edge-to-edge, so give
           it a guaranteed breathing gap from the hero above. */
        padding-top: 28px;
    }

    .pg-showcase__slides {
        position: relative;
        flex-shrink: 0;
        height: 52vh;
    }

    .pg-showcase__slide {
        align-items: center;
    }

    .pg-showcase__slide-img {
        max-height: 100%;
        max-width: 92vw;
    }

    .pg-showcase__content {
        position: relative;
        left: auto; right: auto; bottom: auto;
        flex: 1;
        padding: 28px clamp(20px, 6vw, 40px) 40px;
    }

    /* Shared blurred backdrop spanning the WHOLE section (photo zone +
       text zone below it) — JS keeps this in sync with the active
       slide's photo, since the per-slide blur layer only covers the
       52vh photo zone on its own. */
    .pg-showcase::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: var(--pg-showcase-bg);
        background-size: cover;
        background-position: center;
        filter: blur(50px) brightness(0.5) saturate(1.15);
        transform: scale(1.15);
    }

    /* Sits above the shared backdrop (z-index: 0) but still below the
       darkening overlay/grain (z-index: 3/4) and the text content
       (z-index: 5, from the base rule) — same stacking as desktop. */
    .pg-showcase__slides { position: relative; z-index: 1; }
}

/* Progress-bar dots — same gold countdown language as the hero */
.pg-showcase__dots {
    position: absolute;
    right: clamp(24px, 6vw, 96px);
    bottom: clamp(28px, 5vw, 44px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-showcase__dot {
    position: relative;
    width: 26px;
    height: 1px;
    border-radius: 0;
    background: rgba(248,246,242,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.4s var(--ease), width 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pg-showcase__dot:hover { background: rgba(248,246,242,0.6); }

.pg-showcase__dot.is-active {
    width: 42px;
    box-shadow: 0 0 10px rgba(248,246,242,0.4);
}

.pg-showcase__dot::before {
    content: '';
    position: absolute;
    top: -12px; bottom: -12px;
    left: -6px; right: -6px;
}

.pg-showcase__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--white);
}

.pg-showcase__dot.is-active::after {
    animation: showcaseDotFill 7s linear forwards;
}

@keyframes showcaseDotFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Respect the OS-level "reduce motion" preference: kill the Ken Burns
   zoom, the dot countdown fill, and slow the caption swap down to a
   plain fade. JS separately skips the push-transition transform and
   the auto-advance timer for this same preference. */
@media (prefers-reduced-motion: reduce) {
    .pg-showcase__slide-bg,
    .pg-showcase__slide-img,
    .pg-showcase__dot.is-active::after {
        animation: none !important;
    }
    .pg-showcase__dot.is-active::after { width: 100%; }
    .pg-showcase__caption {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }

    .pg-hero__slide,
    .pg-hero__scroll svg,
    .pg-hero__dot.is-active::after {
        animation: none !important;
    }
    .pg-hero__dot.is-active::after { width: 100%; }

    .pg-lightbox__slide.is-loading::before {
        animation: none !important;
        background-position: 0 0;
    }

    .pg-counter__autoplay-bar.is-filling::after {
        animation: none !important;
        width: 100%;
    }
}

/* ============================================
   FEATURED GALLERIES (homepage)
   ============================================ */
.pg-featured {
    padding: clamp(80px, 10vw, 140px) 0;
    overflow: hidden;
}

.pg-featured__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 clamp(24px, 5vw, 72px) clamp(36px, 5vw, 64px);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pg-featured__title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 300;
    letter-spacing: 0.04em;
}

.pg-featured__all {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-lt);
    transition: color 0.2s;
}

.pg-featured__all:hover { color: var(--white); }

.pg-featured__header-actions {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
}

/* Prev/next arrows — small inline icons next to "View all" */
.pg-featured__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: rgba(248,246,242,0.55);
    cursor: pointer;
    transition: color 0.2s;
}

.pg-featured__nav:hover { color: var(--gold); }
.pg-featured__nav:disabled { opacity: 0.3; cursor: default; }
.pg-featured__nav:disabled:hover { color: rgba(248,246,242,0.55); }

/* Full-bleed horizontal slider — shows ~2.5 galleries at a time as a
   scroll affordance (the half-visible card hints there's more). */
.pg-featured__slider-wrap { position: relative; }

.pg-featured__slider {
    display: flex;
    gap: clamp(8px, 1.2vw, 20px);
    overflow-x: auto;
    /* Without an explicit overflow-y, the browser auto-promotes it to
       "auto" too (per the CSS overflow spec) — which silently makes
       this vertically scrollable/swipeable as soon as content is even
       1px taller than the box. Lock it down explicitly. */
    overflow-y: hidden;
    /* Free scroll on drag/touch — no scroll-snap here. The arrow
       buttons snap to the next/prev card explicitly via JS instead. */
    scroll-padding-left: clamp(24px, 5vw, 72px);
    padding: 0 clamp(24px, 5vw, 72px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.pg-featured__slider::-webkit-scrollbar { display: none; }
.pg-featured__slider.is-dragging { cursor: grabbing; user-select: none; }

.pg-featured__item {
    flex: 0 0 40vw;
}

@media (max-width: 860px) {
    .pg-featured__item { flex-basis: 60vw; }
}

@media (max-width: 640px) {
    .pg-featured__item { flex-basis: 82vw; }
}

.pg-featured__link {
    display: flex;
    flex-direction: column;
}

.pg-featured__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--off-black);
}

.pg-featured__img-wrap img { -webkit-user-drag: none; }

.pg-featured__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease), filter 0.4s;
    filter: brightness(0.85);
}

.pg-featured__link:hover .pg-featured__img-wrap img {
    transform: scale(1.07);
    filter: brightness(1);
}

/* Shine sweep on hover */
.pg-featured__img-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease);
}

.pg-featured__link:hover .pg-featured__img-shine { transform: translateX(100%); }

.pg-featured__caption {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 4px;
    padding: 12px 0 0;
}

.pg-featured__name {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.pg-featured__link:hover .pg-featured__name { color: var(--gold); }

.pg-featured__count {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--gray);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================
   HOMEPAGE INTRO TEXT (closing statement)
   ============================================ */
.pg-intro {
    padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 72px) clamp(96px, 13vw, 160px);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.pg-intro__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.pg-intro__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.pg-intro__text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1.5;
    color: rgba(248,246,242,0.9);
    margin-bottom: clamp(28px, 4vw, 44px);
}

/* Words fade/rise/sharpen in one at a time once the section scrolls
   into view (piggybacks on the .js-reveal observer already watching
   .pg-intro__inner — no extra JS needed). */
.pg-intro__word {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease-out), filter 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 22ms);
}

.pg-intro__inner.is-visible .pg-intro__word {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.pg-intro__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 1px solid rgba(184,151,90,0.4);
    padding-bottom: 4px;
    transition: color 0.2s, gap 0.3s var(--ease), border-color 0.2s;
}

.pg-intro__cta:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }

/* ============================================
   GALLERY ARCHIVE
   ============================================ */
.pg-archive {
    min-height: 80vh;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) clamp(24px, 5vw, 72px) clamp(48px, 8vw, 96px);
}

.pg-archive__back {
    margin-bottom: clamp(24px, 4vw, 40px);
}

.pg-archive__header {
    margin-bottom: clamp(36px, 5vw, 64px);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pg-archive__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.04em;
}

.pg-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(8px, 1.5vw, 20px);
}

.pg-archive__item { overflow: hidden; }
.pg-archive__link { display: block; }

.pg-archive__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--off-black);
}

.pg-archive__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.4s;
    filter: brightness(0.88);
}

.pg-archive__link:hover .pg-archive__img-wrap img {
    transform: scale(1.07);
    filter: brightness(1);
}

.pg-archive__hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

.pg-archive__link:hover .pg-archive__hover { opacity: 1; }

.pg-archive__info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0 0;
}

.pg-archive__name {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 300;
    transition: color 0.2s;
}

.pg-archive__link:hover .pg-archive__name { color: var(--gold); }

.pg-archive__count {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: var(--gray);
    text-transform: uppercase;
}

/* ============================================
   SINGLE GALLERY — header + grid
   ============================================ */
.pg-single {
    padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 120px);
}

.pg-single__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 clamp(24px, 5vw, 72px) clamp(32px, 4vw, 56px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: clamp(24px, 3vw, 40px);
}

.pg-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-lt);
    white-space: nowrap;
    transition: color 0.2s;
    flex-shrink: 0;
}
.pg-back:hover { color: var(--white); }

.pg-single__title-wrap { flex: 1; width: 100%; }

.pg-single__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1;
}

.pg-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 8px;
}

.pg-single__count {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
}

.pg-single__exhibition-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-lt);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.pg-single__exhibition-btn:hover { color: var(--gold); }

/* Grid / contact sheet switcher — a small segmented control, pushed
   to the far right of the (now full-width) meta row. */
.pg-single__view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    padding: 3px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
}

.pg-single__view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    border-radius: 2px;
    color: var(--gray-lt);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.pg-single__view-btn:hover { color: var(--white); }

.pg-single__view-btn.is-active {
    color: var(--gold);
    background: rgba(184,151,90,0.15);
}

.pg-single__empty {
    padding: 80px clamp(24px, 5vw, 72px);
    color: var(--gray);
    font-family: var(--serif);
    font-size: 1.1rem;
}

/* 2-column masonry photo grid */
.pg-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4px, 0.8vw, 10px);
    padding: 0 clamp(4px, 0.8vw, 10px);
    grid-auto-rows: 2px;
    align-items: start;
}

@media (max-width: 500px) {
    .pg-photo-grid { grid-template-columns: 1fr; }
}

.pg-photo-grid__item {
    /* no overflow: hidden here — the button handles clip for hover scale */
    background: var(--off-black);
    min-height: 100px; /* prevents flash of 0-height rows before JS runs */
}

/* Shorter, subtler reveal than the site-wide .js-reveal default — with
   many photos triggering in quick succession while scrolling a gallery,
   the standard 0.8s/32px version reads as sluggish. */
.pg-photo-grid__item.js-reveal {
    transform: translateY(10px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.pg-photo-grid__btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.pg-photo-grid__btn img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s var(--ease), filter 0.45s;
    filter: brightness(0.88);
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.pg-photo-grid__btn:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.pg-photo-grid__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(8,8,8,0.28);
    opacity: 0;
    transition: opacity 0.35s;
}

.pg-photo-grid__btn:hover .pg-photo-grid__overlay { opacity: 1; }

/* Lazy-load image fade */
.pg-photo-grid__btn img {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.8s var(--ease), filter 0.45s;
}
.pg-photo-grid__btn img.is-loaded { opacity: 1; }

.pg-photo-grid.is-hidden { display: none; }

/* ============================================
   CONTACT SHEET — alternate view: a photographer's contact print,
   uniform square crops in a dense grid with frame numbers, as a
   counterpoint to the masonry grid's varied aspect ratios.
   ============================================ */
.pg-contactsheet {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 2px;
    padding: 0 clamp(4px, 0.8vw, 10px);
    background: rgba(255,255,255,0.03);
}

.pg-contactsheet.is-active { display: grid; }

/* 3:2 — the actual frame ratio of a 35mm negative, not a square. Crops
   far less of a photo's original composition than 1:1 did, and reads
   more like a real contact sheet. */
.pg-contactsheet__item {
    position: relative;
    aspect-ratio: 3 / 2;
    background: var(--off-black);
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

.pg-contactsheet__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82) saturate(0.9);
    transition: filter 0.3s, transform 0.5s var(--ease);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.pg-contactsheet__item:hover img {
    filter: brightness(1) saturate(1);
    transform: scale(1.06);
}

@media (max-width: 500px) {
    .pg-contactsheet { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}

/* ============================================
   LIGHTBOX OVERLAY
   ============================================ */
.pg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 600;
    background: rgba(8,8,8,0.97);
    display: flex;
    flex-direction: column;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}

.pg-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease), visibility 0s 0s;
}

/* Close button */
.pg-lightbox__close {
    position: absolute;
    top: 20px; right: 24px;
    z-index: 10;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.4s var(--ease);
}

.pg-lightbox__close:hover {
    background: rgba(255,255,255,0.14);
    transform: rotate(90deg);
}

/* Exhibition mode: auto-advance toggle, next to the close button */
.pg-lightbox__exhibition {
    position: absolute;
    top: 20px; right: 76px;
    z-index: 10;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.pg-lightbox__exhibition:hover { background: rgba(255,255,255,0.14); }

.pg-lightbox__exhibition.is-active {
    color: var(--gold);
    background: rgba(184,151,90,0.15);
    border-color: rgba(184,151,90,0.35);
}

/* Icon shows what a click will do, not the current state — play while
   paused/stopped, pause once it's running. */
.pg-lightbox__exhibition-icon-pause { display: none; }
.pg-lightbox__exhibition.is-active .pg-lightbox__exhibition-icon-play  { display: none; }
.pg-lightbox__exhibition.is-active .pg-lightbox__exhibition-icon-pause { display: block; }

.pg-lightbox__share-wrap {
    position: absolute;
    top: 20px; left: 24px;
    z-index: 10;
}

.pg-lightbox__share {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.pg-lightbox__share:hover { background: rgba(255,255,255,0.14); }
.pg-lightbox__share[aria-expanded="true"] { color: var(--gold); background: rgba(184,151,90,0.12); }

/* Dropdown share menu */
.pg-lightbox__share-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 168px;
    background: rgba(14,14,14,0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 6px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}

.pg-lightbox__share-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pg-lightbox__share-title {
    padding: 8px 10px 6px;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.pg-lightbox__share-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    background: none;
    border: none;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(248,246,242,0.85);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.pg-lightbox__share-item svg { flex-shrink: 0; opacity: 0.8; }

.pg-lightbox__share-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold);
}

.pg-lightbox__share-item.is-copied .pg-lightbox__share-copy-label::after {
    content: ' — copied!';
    color: var(--gold);
}

/* Stage */
.pg-lightbox__stage {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.pg-lightbox__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    pointer-events: none;
}

.pg-lightbox__slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Blurred, zoomed duplicate of the current photo filling the frame
   behind it — same "full-bleed without cropping" trick as the homepage
   showcase. Populated lazily by JS alongside the main image. */
.pg-lightbox__slide-bg {
    position: absolute;
    inset: -6%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.45) saturate(1.15);
    transform: scale(1.15);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.pg-lightbox__slide-bg.is-loaded { opacity: 1; }

.pg-lightbox__slide img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* Per-photo caption overlay (hover) */
.pg-lightbox__meta {
    position: absolute;
    z-index: 2;
    bottom: 0; left: 0; right: 0;
    padding: 32px clamp(24px, 5vw, 72px) 72px;
    background: linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.pg-lightbox__slide.is-active:hover .pg-lightbox__meta { opacity: 1; }
@media (hover: none) { .pg-lightbox__meta { opacity: 1; } }

.pg-lightbox__caption {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(248,246,242,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 1.6;
}

/* UI bar (bottom) */
/* Thumbnail scrubber — quick jump for galleries with many photos */
.pg-lightbox__scrubber {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    max-height: 0;
    padding: 0 clamp(20px, 4vw, 56px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-top: 1px solid transparent;
    opacity: 0;
    /* Hidden by default — the photo itself should be the focus.
       Click the counter to reveal it for quick jumping. */
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.2s, border-color 0.3s;
}

.pg-lightbox__scrubber.is-open {
    max-height: 70px;
    padding: 10px clamp(20px, 4vw, 56px);
    opacity: 1;
    border-top-color: rgba(255,255,255,0.07);
}

.pg-lightbox__scrubber::-webkit-scrollbar { display: none; }

.pg-lightbox__scrub-thumb {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--off-black);
    border: none;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.pg-lightbox__scrub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pg-lightbox__scrub-thumb:hover { opacity: 0.75; }

.pg-lightbox__scrub-thumb.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--gold);
}

.pg-lightbox__ui {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 60px;
    padding: 0 clamp(20px, 4vw, 56px);
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.pg-lightbox__gallery-title {
    font-family: var(--serif);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(248,246,242,0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-lightbox__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    justify-content: center;
    overflow: hidden;
    min-width: 0; /* laat grid-cel krimpen zodat ellipsis werkt */
}

.pg-lb-info__location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg-lb-info__date {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(248,246,242,0.6);
    white-space: nowrap;
}

.pg-lightbox__controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pg-nav {
    background: none;
    border: none;
    color: var(--gray-lt);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s, opacity 0.2s;
}

.pg-nav:hover:not(:disabled) { color: var(--white); }
.pg-nav:disabled { opacity: 0.18; cursor: default; }

.pg-counter {
    position: relative;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 44px;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
}

.pg-counter:hover { color: var(--white); }

.pg-counter__sep { opacity: 0.3; }

/* Exhibition mode countdown — fills up to the next auto-advance */
.pg-counter__autoplay-bar {
    position: absolute;
    left: 0; right: 0;
    bottom: -8px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.pg-counter__autoplay-bar.is-active { opacity: 1; }

.pg-counter__autoplay-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--gold);
}

.pg-counter__autoplay-bar.is-filling::after {
    animation: lbAutoplayFill 5s linear forwards;
}

@keyframes lbAutoplayFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Progress bar */
.pg-lightbox__progress {
    height: 2px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.pg-lightbox__bar {
    height: 100%;
    background: var(--gold);
    transition: width 0.45s var(--ease);
}

/* ============================================
   PAGES (About / Contact)
   ============================================ */
.pg-page {
    min-height: 100vh;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) clamp(24px, 5vw, 72px) clamp(64px, 10vw, 120px);
}

/* About */
.pg-about__back {
    margin-bottom: clamp(24px, 4vw, 40px);
}

.pg-about__layout {
    display: grid;
    grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

@media (max-width: 860px) {
    .pg-about__layout { grid-template-columns: 1fr; }
}

.pg-about__info {
    max-width: 640px;
}

.pg-about__portrait {
    overflow: hidden;
    aspect-ratio: 4/5;
}

.pg-about__portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
}

.pg-about__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.pg-about__name {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.pg-about__body {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.75;
    color: rgba(248,246,242,0.8);
    margin-bottom: clamp(28px, 4vw, 48px);
}

.pg-about__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(8px, 2vw, 16px);
}

.pg-about__flickr-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-lt);
    transition: color 0.2s;
}

.pg-about__flickr-link:hover { color: var(--gold); }

.pg-about__contact-block {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    margin-bottom: 40px;
}

.pg-about__contact-label {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.pg-about__contact-link {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-lt);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.pg-about__contact-link:hover { color: var(--white); }

.pg-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 1px solid rgba(184,151,90,0.4);
    padding-bottom: 4px;
    transition: color 0.2s, gap 0.3s var(--ease), border-color 0.2s;
}

.pg-about__cta:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }

/* Contact */
.pg-contact__header {
    margin-bottom: clamp(48px, 8vw, 96px);
}

.pg-contact__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.pg-contact__title {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.01em;
}

.pg-contact__title em {
    font-style: italic;
    color: rgba(248,246,242,0.45);
}

.pg-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

@media (max-width: 720px) {
    .pg-contact__grid { grid-template-columns: 1fr; }
}

.pg-contact__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pg-contact__row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.pg-contact__row-label {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.pg-contact__row-value {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--white);
    transition: color 0.2s;
}

.pg-contact__row-value:hover { color: var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
.pg-footer {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 72px);
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.pg-footer__copy {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
}

/* ============================================
   UTILITIES
   ============================================ */
.pg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
    color: var(--gray);
    font-family: var(--serif);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .pg-slideshow__title-wrap { display: none; }
    .pg-slideshow__ui { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   HERO GRAIN TEXTURE
   ============================================ */
.pg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}


/* ============================================
   OVERLAY NAV — underline hover
   ============================================ */
.pg-overlay__label::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.45s var(--ease);
}

.pg-overlay__link:hover .pg-overlay__label::after {
    width: 100%;
}

/* ============================================
   PAGE ENTRANCE
   ============================================ */
body {
    animation: pageEnter 0.6s var(--ease-out) both;
}

@keyframes pageEnter {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ============================================
   FOCUS VISIBLE — keyboard navigation
   ============================================ */
:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ============================================
   HERO DOTS — larger invisible touch target
   ============================================ */
.pg-hero__dot {
    position: relative;
}

.pg-hero__dot::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -6px;
    right: -6px;
}

/* ============================================
   404 PAGE
   ============================================ */
.pg-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 0 clamp(24px, 5vw, 72px);
}

.pg-404__inner {
    max-width: 560px;
}

.pg-404__code {
    font-family: var(--serif);
    font-size: clamp(6rem, 22vw, 16rem);
    font-weight: 300;
    line-height: 1;
    color: rgba(248,246,242,0.05);
    letter-spacing: -0.05em;
    margin-bottom: -0.1em;
    user-select: none;
}

.pg-404__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 16px;
}

.pg-404__text {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
}

.pg-404__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 1px solid rgba(184,151,90,0.4);
    padding-bottom: 4px;
    transition: color 0.2s, gap 0.35s var(--ease), border-color 0.2s;
}

.pg-404__back:hover {
    color: var(--gold);
    border-color: var(--gold);
    gap: 18px;
}

/* Lightbox UI bar — mobiel: locatie op aparte regel */
@media (max-width: 600px) {
    .pg-lightbox__scrubber.is-open { padding: 8px clamp(16px, 4vw, 32px); max-height: 56px; }
    .pg-lightbox__scrub-thumb { width: 38px; height: 38px; }

    .pg-lightbox__ui {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        height: auto;
        padding: 10px clamp(16px, 4vw, 32px);
        gap: 4px 0;
    }

    .pg-lightbox__gallery-title { display: none; }

    .pg-lightbox__controls { grid-column: 1 / -1; justify-content: center; }

    .pg-lightbox__info {
        grid-column: 1 / -1;
        align-items: center;
        flex-direction: row;
        gap: 10px;
        padding-bottom: 4px;
    }

    .pg-lb-info__location,
    .pg-lb-info__date { text-overflow: unset; overflow: visible; white-space: normal; }
}

/* ============================================
   LIGHTBOX — directional slide (replaces scale)
   ============================================ */
.pg-lightbox__slide {
    transform: none;
}
.pg-lightbox__slide.is-active {
    transform: none;
}

/* Lightbox lazy-load shimmer */
@keyframes lb-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.pg-lightbox__slide.is-loading::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.03) 100%
    );
    background-size: 200% 100%;
    animation: lb-shimmer 1.4s ease-in-out infinite;
    pointer-events: none;
}

.pg-lightbox__slide.is-loading img {
    opacity: 0;
}

/* More galleries — single gallery page footer */
.pg-related {
    padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px) 0;
}

.pg-related__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);
    margin-bottom: clamp(28px, 4vw, 44px);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pg-related__title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 300;
    letter-spacing: 0.03em;
}

.pg-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

/* Above the 3-column breakpoint, the header's prev/next arrows are
   inert (nothing to scroll) — the featured-slider component this
   reuses always shows them, so hide them explicitly here instead. */
@media (min-width: 861px) {
    .pg-related__header .pg-featured__nav { display: none; }
}

/* On narrow phones, the title + arrows + "back to all/view all" link no
   longer fit on one row — the title was wrapping mid-word while the
   whole actions block squeezed in beside it. Keep the compact arrows on
   the title's row, but move the wider text link below the grid/slider
   entirely instead of just below the header — that's the ".pg-featured__all-mobile"
   / ".pg-related__all-mobile" wrapper rendered after the grid markup, a
   duplicate of the same link shown only at this breakpoint. Shared by the
   homepage "Selected Work" header and the "More galleries" header (both
   classes are reused as-is in both contexts). */
.pg-featured__all-mobile,
.pg-related__all-mobile {
    display: none;
}

@media (max-width: 480px) {
    .pg-featured__header .pg-featured__all,
    .pg-related__header .pg-featured__all {
        display: none;
    }
    .pg-featured__all-mobile,
    .pg-related__all-mobile {
        display: block;
        text-align: center;
        margin-top: 28px;
        padding: 0 clamp(24px, 5vw, 72px);
    }
}

/* Below the 3-column breakpoint a grid always strands one card alone on
   its own row — swap to the same free-scroll slider behaviour as the
   Selected Work slider instead (full-bleed, peeking next card, no
   scroll-snap — it fights the drag/momentum handling). */
@media (max-width: 860px) {
    .pg-related { padding-left: 0; padding-right: 0; }

    .pg-related__header {
        padding-left: clamp(24px, 5vw, 72px);
        padding-right: clamp(24px, 5vw, 72px);
    }

    .pg-related__grid {
        display: flex;
        gap: clamp(8px, 1.2vw, 20px);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: clamp(24px, 5vw, 72px);
        padding: 0 clamp(24px, 5vw, 72px);
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
    }
    .pg-related__grid::-webkit-scrollbar { display: none; }
    .pg-related__grid.is-dragging { cursor: grabbing; user-select: none; }

    .pg-related__item { flex: 0 0 60vw; }
}

@media (max-width: 640px) {
    .pg-related__item { flex-basis: 82vw; }
}

/* Single gallery footer back link */
.pg-single__footer {
    display: flex;
    justify-content: center;
    padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 72px);
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: clamp(32px, 6vw, 64px);
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.pg-search {
    padding-top: var(--header-h);
    min-height: 100vh;
}

.pg-search__header {
    padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 72px) clamp(32px, 5vw, 56px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pg-search__label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.pg-search__query {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
}

.pg-search__count {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}

.pg-search__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.pg-search__item {
    background: var(--black);
}

.pg-search__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.pg-search__link:hover {
    background: rgba(255,255,255,0.02);
}

.pg-search__img-wrap {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.pg-search__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.pg-search__link:hover .pg-search__img-wrap img {
    transform: scale(1.04);
}

.pg-search__info {
    padding: 20px 24px 28px;
}

.pg-search__type {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.pg-search__title {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 8px;
}

.pg-search__excerpt {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.7;
}

.pg-search__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: clamp(64px, 12vw, 120px) clamp(24px, 5vw, 72px);
    text-align: center;
}

.pg-search__none {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--gray);
}

.pg-search__none strong {
    color: var(--white);
    font-weight: 300;
}
