/* ==========================================================================
   GAYA ARTSPACE — SAXONWOLD, JOHANNESBURG
   Design System & Styling — Spacious, Centered & Breathing Edition
   ========================================================================== */

/* ---------- Color Palette & Design Tokens ---------- */
:root {
    --white: #FFFFFF;
    --green-tint: #F2F7EE;
    --green-tint-deep: #E9F1E2;
    --forest: #2F4A2A;
    --forest-deep: #20331C;
    --ink: #181712;
    --ink-subtle: rgba(24, 23, 18, 0.65);
    --hairline: rgba(24, 23, 18, 0.1);
    --gold-1: #8a6a2f;
    --gold-2: #d4af37;
    --gold-3: #f6e6ad;
    --gold-4: #b8860b;
    --gold-gradient: linear-gradient(110deg, var(--gold-1), var(--gold-2), var(--gold-3), var(--gold-2), var(--gold-4));
    --gold-subtle: rgba(212, 175, 55, 0.15);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(24, 23, 18, 0.05);
    --shadow-hover: 0 20px 48px rgba(32, 51, 28, 0.16);

    /* ---------- Modernist Geometric Typography Stacks ---------- */
    --font-display: "ITC Avant Garde Gothic", "ITC Avant Garde Gothic Pro", "Century Gothic", "Avant Garde", "Montserrat", "Jost", sans-serif;
    --font-tagline: "Century Gothic", "ITC Avant Garde Gothic", "Avant Garde", "Questrial", "Jost", sans-serif;
    --font-body: "Century Gothic", "ITC Avant Garde Gothic", "Avant Garde", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Global Reset & Typography ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button,
input {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Structural Layout & Spacious Rhythm ---------- */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    position: relative;
    padding: 85px 0;
}

.section.tint {
    background-color: var(--green-tint);
}

.section.tint-deep {
    background-color: var(--green-tint-deep);
}

.section.dark {
    background-color: var(--forest-deep);
    color: var(--white);
}

/* ---------- Centered Editorial Typography & Eyebrows ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: var(--forest);
    text-align: center;
}

.section.dark h1,
.section.dark h2,
.section.dark h3,
.section.dark h4 {
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-tagline);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin-bottom: 22px;
    text-align: center;
    width: 100%;
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: var(--gold-2);
}

.eyebrow.gold,
.eyebrow.light {
    color: var(--gold-1);
}

.eyebrow.gold::before,
.eyebrow.gold::after,
.eyebrow.light::before,
.eyebrow.light::after {
    background: var(--gold-2);
}

/* Gold Shimmer Text Effect */
.shimmer-text {
    background: linear-gradient(110deg, #8a6a2f 0%, #d4af37 25%, #f6e6ad 50%, #d4af37 75%, #b8860b 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShimmer 6s linear infinite;
    display: inline-block;
}

@keyframes goldShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ---------- Centered Section Header Layout ---------- */
.section-head {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
}

.section-head p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--ink-subtle);
    line-height: 1.8;
    text-align: center;
}

/* ---------- Buttons & Interactive Pills ---------- */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-solid {
    background-color: var(--forest);
    color: var(--white);
}

.btn-solid:hover {
    background-color: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(32, 51, 28, 0.25);
}

.btn-gold {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--forest-deep);
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(212, 175, 55, 0.38);
}

.btn-outline {
    border-color: var(--forest);
    color: var(--forest);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-hero-primary {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--forest-deep);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.btn-hero-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.btn-hero-secondary {
    background: rgba(16, 26, 14, 0.7);
    color: var(--white);
    border: 1px solid var(--gold-2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.btn-hero-secondary:hover {
    background: var(--gold-2);
    color: var(--forest-deep);
    border-color: var(--gold-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.tag-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background-color: var(--green-tint-deep);
    color: var(--forest-deep);
    border: 1px solid rgba(47, 74, 42, 0.12);
}

/* Centered Filter Pills Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ink-subtle);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* ---------- Header & Spacious Navigation Bar ---------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 0.5s var(--ease-smooth),
        visibility 0.5s,
        transform 0.5s var(--ease-smooth),
        background-color 0.4s var(--ease-smooth),
        border-color 0.4s var(--ease-smooth),
        box-shadow 0.4s var(--ease-smooth),
        backdrop-filter 0.4s var(--ease-smooth);
}

#site-header.scrolled {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 4px 20px rgba(24, 23, 18, 0.04);
}

#site-header .wrap.header-nav-grid,
.header-nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.header-left {
    justify-self: start;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: transform 0.3s var(--ease-smooth), filter 0.4s ease, opacity 0.3s ease;
}

#site-header.scrolled .logo-img {
    filter: none;
    opacity: 1;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

/* Centered Primary Nav Links */
.primary-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 32px;
}

.primary-nav a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--gold-2);
}

#site-header.scrolled .primary-nav a {
    color: var(--ink);
    text-shadow: none;
}

#site-header.scrolled .primary-nav a:hover,
#site-header.scrolled .primary-nav a.active {
    color: var(--forest);
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    width: 100%;
}

/* Header Right Actions (CTA & Hamburger) */
.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    font-family: var(--font-tagline);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
    color: var(--forest-deep);
    border: 1px solid var(--gold-2);
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

#site-header.scrolled .btn-header-cta {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
    box-shadow: 0 3px 12px rgba(47, 74, 42, 0.2);
}

#site-header.scrolled .btn-header-cta:hover {
    background: var(--forest-deep);
    color: var(--gold-2);
    box-shadow: 0 6px 18px rgba(47, 74, 42, 0.35);
}

/* ---------- Subpage / Exhibition Dedicated Header ---------- */
#site-header.subpage-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 4px 24px rgba(24, 23, 18, 0.04);
}

.subpage-header .wrap.header-nav-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.subpage-header .header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.subpage-header .logo-img {
    height: 32px;
    width: auto;
    filter: none !important;
    opacity: 1 !important;
}

.exhibit-nav-brand-sep {
    width: 1px;
    height: 18px;
    background: var(--hairline);
}

.exhibit-nav-artist-badge {
    font-family: var(--font-tagline);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--forest);
    white-space: nowrap;
}

.subpage-header .primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-grow: 1;
}

.subpage-header .primary-nav a {
    font-family: var(--font-tagline);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink) !important;
    text-shadow: none !important;
    padding: 4px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.subpage-header .primary-nav a:hover,
.subpage-header .primary-nav a.active {
    color: var(--forest) !important;
}

.subpage-header .primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.subpage-header .primary-nav a:hover::after,
.subpage-header .primary-nav a.active::after {
    width: 100%;
}

.subpage-header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.subpage-header .btn-header-cta {
    padding: 9px 24px;
    font-size: 0.72rem;
    background: var(--forest);
    color: var(--white);
    border: 1px solid var(--forest);
    box-shadow: 0 4px 14px rgba(47, 74, 42, 0.2);
}

.subpage-header .btn-header-cta:hover {
    background: var(--forest-deep);
    color: var(--gold-2);
    box-shadow: 0 6px 20px rgba(47, 74, 42, 0.35);
}

.subpage-header .hamburger span {
    background-color: var(--forest);
}

@media (max-width: 1024px) {
    .subpage-header .primary-nav {
        gap: 22px;
    }

    .subpage-header .wrap.header-nav-grid {
        gap: 16px;
    }
}

@media (max-width: 860px) {
    .exhibit-nav-brand-sep,
    .exhibit-nav-artist-badge {
        display: none;
    }

    .subpage-header .primary-nav {
        display: none;
    }

    .subpage-header .hamburger {
        display: flex;
    }
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#site-header.scrolled .hamburger span {
    background-color: var(--forest);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Overlay Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--forest-deep);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--white);
}

.mobile-nav a:hover {
    color: var(--gold-2);
}

/* ---------- Pinned Hero Track & Sticky Hero Section ---------- */
.hero-pinned-track {
    position: relative;
    height: 220vh;
    /* Scroll track for pinned hero animation sequence */
}

.hero-full {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--forest-deep);
    color: var(--white);
    padding: 160px 0 64px 0;
    overflow: hidden;
    z-index: 10;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../Images/The Gallery/Hero.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(16, 26, 14, 0.2) 0%, rgba(16, 26, 14, 0.48) 100%);
    z-index: 1;
    will-change: opacity;
}

.hero-full .wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Centered Display Title & Animated Subtitle */
.hero-center-content {
    margin: auto 0;
    text-align: center;
    will-change: opacity, transform;
}

.hero-title-display {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 14vw, 11rem);
    font-weight: 700;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    line-height: 1;
    margin-bottom: 24px;
    text-align: center;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 46%, rgba(246, 230, 173, 0.4) 49%, rgba(255, 250, 220, 0.6) 50%, rgba(246, 230, 173, 0.4) 51%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 255, 255, 0.98) 100%);
    background-size: 350% 350%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.15));
    transform-origin: center center;
    will-change: background-position, transform, letter-spacing;
    animation: diagonalBottomToTopGlint 16s linear infinite;
}

@keyframes diagonalBottomToTopGlint {
    0% {
        background-position: 140% 140%;
    }

    100% {
        background-position: -140% -140%;
    }
}

.hero-subtitle-display {
    font-family: var(--font-tagline);
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-2);
    max-width: 680px;
    margin: 0 auto;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    opacity: 0;
    animation: subtleSubtitleFade 1.8s var(--ease-out-expo) 0.4s forwards;
}

@keyframes subtleSubtitleFade {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Bar: Right Floating CTAs */
.hero-bottom-bar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
    padding-top: 40px;
    will-change: opacity, transform;
}

.hero-meta-location {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-meta-location::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-2);
    box-shadow: 0 0 10px var(--gold-2);
}

.hero-cta-bottom-right {
    display: flex;
    gap: 18px;
    align-items: center;
}

/* ---------- Gallery — Full-Width Auto-Scroll Slider ---------- */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-slider::before,
.gallery-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.gallery-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.gallery-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.gallery-slider-track {
    display: flex;
    gap: 20px;
    animation: galleryScroll 45s linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

.gallery-slider-track:hover {
    animation-play-state: paused;
}

.gallery-slide {
    flex: 0 0 auto;
    width: 520px;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 13 / 9;
    transition: transform 0.6s var(--ease-smooth);
}

.gallery-slide:hover img {
    transform: scale(1.04);
}

.gallery-slide-caption {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #ffffff;
    font-size: 0.74rem;
    font-family: var(--font-tagline, "Montserrat", sans-serif);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 2;
    line-height: 1.3;
    max-width: calc(100% - 32px);
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 4px 10px;
    background: rgba(14, 23, 13, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.garden-art-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 480px;
}

.garden-art-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garden-image-caption {
    position: absolute;
    right: auto;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(14, 23, 13, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: var(--font-tagline);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.gallery-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.gallery-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gallery-indicator-progress {
    width: clamp(70px, 12vw, 130px);
    height: 2px;
    overflow: hidden;
    background: rgba(47, 74, 42, 0.16);
    transform-origin: left center;
}

.gallery-indicator-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.gallery-indicator-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: width 0.35s var(--ease-out-expo), background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.gallery-indicator-dot:hover,
.gallery-indicator-dot:focus-visible {
    transform: scale(1.35);
    outline: 2px solid var(--gold-3);
    outline-offset: 3px;
}

.gallery-indicator-dot.active {
    width: 28px;
    border-color: var(--forest);
    border-radius: 10px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
}

.gallery-indicator-count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 48px;
    color: var(--ink-subtle);
    font-family: var(--font-tagline);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.gallery-indicator-count strong {
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 700;
}

@keyframes galleryScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(var(--gallery-loop-distance, 50%) * -1), 0, 0);
    }
}

@media (max-width: 768px) {
    .gallery-slide {
        width: 320px;
        height: 240px;
    }

    .gallery-slider::before,
    .gallery-slider::after {
        width: 30px;
    }

    .gallery-slider-controls {
        margin-top: 18px;
    }
}

/* ---------- Seamless Full-Size Lightbox Modal ---------- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 16, 9, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: zoom-out;
    transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-seamless-container {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.35s var(--ease-out-expo);
    cursor: zoom-out;
}

.lightbox-modal.active .lightbox-seamless-container {
    transform: scale(1);
}

.lightbox-seamless-img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-family: var(--font-tagline, "Montserrat", sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(14, 23, 13, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    max-width: calc(100% - 40px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(24, 38, 22, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--gold-2);
    color: var(--forest-deep);
    border-color: var(--gold-2);
    transform: scale(1.08);
}

/* ---------- Centered Philosophy Section ---------- */
.philosophy-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-lead {
    margin-top: 28px;
    font-size: 1.18rem;
    color: var(--ink);
    line-height: 1.85;
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 2-Column Founder Feature Card ---------- */
.founder-feature-card {
    margin-top: 56px;
    padding: 52px 48px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold-2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.founder-photo-slot {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, var(--green-tint) 0%, var(--green-tint-deep) 100%);
    border: 1px dashed var(--gold-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

.founder-photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.photo-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--forest);
}

.placeholder-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.placeholder-tag {
    font-family: var(--font-tagline);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-1);
}

.placeholder-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-deep);
}

.placeholder-sub {
    font-size: 0.78rem;
    color: var(--ink-subtle);
    letter-spacing: 0.06em;
}

.founder-story-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.founder-story-eyebrow {
    font-family: var(--font-tagline);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-1);
}

.founder-story-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700;
    color: var(--forest);
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

.founder-story-para {
    font-size: 1.02rem;
    color: var(--ink);
    line-height: 1.8;
    text-align: left;
}

.founder-story-para.highlight {
    color: var(--forest-deep);
    font-weight: 500;
    padding-left: 18px;
    border-left: 2px solid var(--gold-2);
}

@media (max-width: 900px) {
    .founder-feature-card {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 24px;
        text-align: center;
    }

    .founder-photo-slot {
        max-width: 260px;
        margin: 0 auto;
    }

    .founder-story-col {
        text-align: center;
    }

    .founder-story-heading {
        text-align: center;
    }

    .founder-story-para {
        text-align: center;
    }

    .founder-story-para.highlight {
        border-left: none;
        border-top: 2px solid var(--gold-2);
        padding-left: 0;
        padding-top: 14px;
    }
}

/* ---------- 4-Stage Framework & Animated Connecting Sine Wave Thread ---------- */
.framework-connect-wrapper {
    position: relative;
    width: 100%;
    padding: 14px 0;
}

.framework-sine-thread {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 180px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.sine-path-flowing {
    stroke-dasharray: 150 400;
    stroke-dashoffset: 550;
    stroke-width: 5;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.55));
    animation: flowSineThread 7s linear infinite;
}

@keyframes flowSineThread {
    0% {
        stroke-dashoffset: 550;
    }
    100% {
        stroke-dashoffset: -550;
    }
}

@keyframes pulseNode {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 1;
    }
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.framework-card {
    background: var(--white);
    padding: 52px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
    transition: all 0.4s var(--ease-smooth);
    text-align: center;
    position: relative;
    backdrop-filter: blur(8px);
}

.framework-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-2);
    box-shadow: var(--shadow-hover);
}

.framework-num {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-4);
    margin-bottom: 22px;
    text-align: center;
}

.framework-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    text-align: center;
}

.framework-card p {
    font-size: 0.95rem;
    color: var(--ink-subtle);
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 992px) {
    .framework-sine-thread {
        display: none;
    }
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .framework-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Seamless Unified Program & Magazine Scroller ---------- */
.program-seamless-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.program-type-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.program-type-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-tagline);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-subtle);
    padding: 10px 24px;
    border-radius: 40px;
    transition: all 0.35s var(--ease-smooth);
}

.program-type-btn:hover {
    color: var(--forest);
}

.program-type-btn.active {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 74, 42, 0.25);
}

.program-timeline-toggle {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.program-time-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-tagline);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-subtle);
    padding: 6px 12px;
    position: relative;
    transition: color 0.3s ease;
}

.program-time-btn:hover {
    color: var(--gold-1);
}

.program-time-btn.active {
    color: var(--gold-1);
}

.program-time-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background: var(--gold-2);
}

.switcher-divider {
    color: var(--gold-2);
    font-weight: 300;
    font-size: 0.85rem;
    opacity: 0.7;
}

.magazine-scroller-wrap {
    margin-top: 50px;
}

.magazine-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 40px;
}

.magazine-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-smooth);
    opacity: 1;
    transform: translateY(0);
}

.magazine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.magazine-window {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: zoom-in;
    background: #0d140b;
}

.magazine-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out-expo);
}

.magazine-card:hover .magazine-window img {
    transform: scale(1.06);
}

.magazine-window-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(16, 26, 14, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-2);
    color: var(--gold-2);
    font-family: var(--font-tagline);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    z-index: 2;
}

.magazine-window-badge.upcoming {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.magazine-window-badge.archive {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.magazine-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.magazine-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.exhibit-dates {
    color: var(--gold-1);
}

.exhibit-tag {
    color: var(--ink-subtle);
}

.magazine-artist {
    font-family: var(--font-tagline);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 6px;
    display: block;
}

.magazine-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--forest-deep);
    line-height: 1.25;
    margin-bottom: 14px;
    text-align: left;
}

.magazine-excerpt {
    font-size: 0.96rem;
    color: var(--ink-subtle);
    line-height: 1.75;
    margin-bottom: 22px;
    text-align: left;
}

.magazine-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.magazine-action {
    margin-top: auto;
}

.magazine-action .btn {
    width: 100%;
    padding: 13px 22px;
    font-size: 0.76rem;
}

@media (max-width: 768px) {
    .magazine-scroller {
        grid-template-columns: 1fr;
    }

    .magazine-window {
        height: 240px;
    }

    .magazine-content {
        padding: 28px 20px;
    }
}

/* ---------- Centered Upcoming Events Grid ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.event-img {
    height: 260px;
    overflow: hidden;
}

.event-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.event-date {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--forest);
    margin-bottom: 12px;
    text-align: center;
}

.event-content h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    text-align: center;
}

.event-content p {
    font-size: 0.95rem;
    color: var(--ink-subtle);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
}

/* ---------- 2-Column Venue Hire Section (Exact Design) ---------- */
.venue-hire-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.venue-hire-content {
    display: flex;
    flex-direction: column;
}

.venue-eyebrow {
    width: auto;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.venue-heading {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: left;
}

.venue-para {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.venue-event-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 32px 0;
}

.venue-pill {
    display: inline-block;
    background: #ffffff;
    border: 1px solid rgba(47, 74, 42, 0.2);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.82rem;
    color: #2b4528;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.venue-pill:hover {
    border-color: #d4af37;
    background: #fdfaf3;
    transform: translateY(-1px);
}

.venue-cta-wrap {
    margin-top: 8px;
}

.btn-venue-enquire {
    min-width: 220px;
    padding: 16px 28px;
    border: 1px solid rgba(138, 106, 47, 0.35);
    font-weight: 700;
}

.btn-venue-enquire:hover {
    color: var(--forest-deep);
}

/* Right Card */
.venue-hire-card {
    background: #f2f7ef;
    border-radius: 12px;
    padding: 44px 36px;
    border: 1px solid rgba(47, 74, 42, 0.08);
}

.venue-stat-block {
    margin-bottom: 24px;
}

.venue-stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #b89025;
    line-height: 1;
    font-family: var(--font-display, 'Jost', serif);
}

.venue-stat-sub {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #728c6e;
    margin-top: 8px;
}

.venue-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.venue-feature-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(47, 74, 42, 0.12);
    font-size: 0.95rem;
    color: #233420;
    font-weight: 500;
    line-height: 1.45;
}

.venue-feature-item:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .venue-hire-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- Centered Garden & Sanctuary ---------- */
.garden-centered {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- Quote Band ---------- */
.quote-band {
    text-align: center;
    padding: 160px 0;
    background: radial-gradient(circle at center, var(--green-tint) 0%, var(--white) 70%);
}

.quote-band blockquote {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--forest);
    max-width: 980px;
    margin: 0 auto;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-align: center;
}

.quote-band cite {
    display: block;
    margin-top: 32px;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-4);
    text-align: center;
}

/* ---------- Newsletter Band ---------- */
.newsletter-card {
    background: var(--forest-deep);
    padding: 58px 40px 72px;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.newsletter-card h2 {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 18px;
    text-align: center;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 44px auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    outline: none;
    transition: all 0.3s ease;
}

.program-count-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-1);
    font-family: var(--font-tagline);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.program-type-btn:hover .program-count-bubble,
.program-type-btn.active .program-count-bubble,
.program-time-btn:hover .program-count-bubble,
.program-time-btn.active .program-count-bubble {
    border-color: var(--gold-2);
    background: var(--gold-2);
    color: var(--forest-deep);
    transform: translateY(-1px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: var(--gold-2);
    background: rgba(255, 255, 255, 0.14);
}

.newsletter-success {
    display: none;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--gold-3);
    font-weight: 600;
    text-align: center;
}

/* ---------- Visit & Contact Details + Live Map ---------- */
.visit-centered {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.visit-section {
    padding-bottom: 0;
}

.newsletter-section {
    padding-top: 85px;
}

.visit-section-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.visit-section-heading h2 {
    margin: 0 auto;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.visit-details-column {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.visit-details-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px 28px 32px 72px;
}

.visit-info {
    text-align: left;
}

.visit-info p {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--ink-subtle);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.visit-info strong {
    display: block;
    margin-bottom: 2px;
    color: var(--forest);
    font-family: var(--font-tagline);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.visit-details-content .live-status-badge {
    margin-top: 26px;
    margin-bottom: 0;
}

.visit-detail-thread {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 92px;
    height: 100%;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.visit-thread-bg,
.visit-thread-flow {
    fill: none;
    stroke-linecap: round;
}

.visit-thread-bg {
    stroke: rgba(138, 106, 47, 0.38);
    stroke-width: 3;
    stroke-dasharray: 8 10;
}

.visit-thread-flow {
    stroke: url(#visit-thread-grad);
    stroke-width: 5;
    stroke-dasharray: 145 365;
    stroke-dashoffset: 510;
    filter: drop-shadow(0 0 9px rgba(212, 175, 55, 0.62));
    animation: flowVisitThread 7s linear infinite;
}

@keyframes flowVisitThread {
    0% { stroke-dashoffset: 510; }
    100% { stroke-dashoffset: -510; }
}

.map-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin-top: 0;
    overflow: hidden;
}

.map-frame {
    width: 100%;
    min-height: 330px;
    background: var(--green-tint-deep);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: 0;
    filter: saturate(0.72) sepia(0.12);
}

.map-card-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 28px 26px;
}

.map-card-copy h4 {
    font-size: 1.4rem;
    color: var(--forest);
}

.map-card-copy p {
    margin: 6px 0 0;
    color: var(--ink-subtle);
    font-size: 0.95rem;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(47, 74, 42, 0.08);
    color: var(--forest);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

/* ---------- Image Framing ---------- */
.art-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
    border: 1px solid var(--hairline);
    cursor: pointer;
    contain: layout paint;
}

.art-frame:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.art-frame img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--ease-out-expo);
}

.art-frame:hover img {
    transform: scale(1.05);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-body {
        grid-template-columns: 1fr;
    }

    .stat-group {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .wrap {
        padding: 0 24px;
    }

    .section {
        padding: 72px 0;
    }

    .header-nav-grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .primary-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-header-cta {
        padding: 7px 16px;
        font-size: 0.68rem;
    }

    .hero-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .framework-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-card {
        padding: 42px 24px 52px;
    }

    .newsletter-section {
        padding-top: 58px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stat-group {
        flex-direction: column;
        gap: 24px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .visit-details-column {
        min-height: 0;
    }

    .visit-details-content {
        padding: 20px 12px 20px 64px;
    }

    .visit-detail-thread {
        left: 0;
        width: 78px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 280px;
    }
}

/* ==========================================================================
   EXHIBITION DETAIL PAGES & CONTENT BLOCKS
   ========================================================================== */

.subpage-header {
    background: rgba(20, 34, 19, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exhibit-nav-brand-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
}

.exhibit-nav-artist-badge {
    font-family: var(--font-tagline);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-2);
    text-transform: uppercase;
}

.exhibition-page-header {
    padding: 160px 0 80px 0;
    background: linear-gradient(180deg, var(--forest-deep) 0%, #162414 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.badge-live-exhibition {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.badge-upcoming-exhibition {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-2);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.badge-past-exhibition {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Content Blocks in Exhibition Detail */
.content-block-display {
    margin-bottom: 56px;
}

.content-block-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--forest);
    margin-bottom: 20px;
    line-height: 1.25;
}

.content-block-body p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--ink);
    margin-bottom: 18px;
}

.content-block-body p:last-child {
    margin-bottom: 0;
}

.content-block-image-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    background: var(--green-tint);
    max-height: 600px;
}

.content-block-image-frame img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.content-block-image-frame:hover img {
    transform: scale(1.02);
}

.content-block-caption {
    font-size: 0.88rem;
    color: var(--ink-subtle);
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

/* Side-by-Side Text + Image Block */
.text-image-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.text-image-block.image-left {
    grid-template-columns: 0.9fr 1.1fr;
}

.text-image-block.image-left .text-image-text {
    order: 2;
}

.text-image-block.image-left .text-image-media {
    order: 1;
}

@media (max-width: 860px) {
    .text-image-block,
    .text-image-block.image-left {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .text-image-block.image-left .text-image-text {
        order: 1;
    }

    .text-image-block.image-left .text-image-media {
        order: 2;
    }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--forest-deep);
    color: var(--white);
    padding: 90px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 360px;
}

.footer-heading {
    font-family: var(--font-tagline);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 24px;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: left;
}

.footer-links a:hover {
    color: var(--gold-2);
    transform: translateX(4px);
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info-item {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.footer-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;
    color: var(--gold-2);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link a:hover {
    color: var(--gold-3);
    border-color: var(--gold-2);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
}

.footer-instagram-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-instagram-dot {
    fill: currentColor;
    stroke: none;
}

.footer-info-item a {
    color: var(--gold-3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-info-item a:hover {
    color: var(--white);
}

.footer-bottom-bar {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-admin-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.6);
    padding: 4px 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.footer-admin-link:hover {
    color: var(--gold-2);
    border-color: var(--gold-2);
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-heading {
        text-align: left;
    }
}

/* ==========================================================================
   EXHIBITION ARTWORK ACTION BUTTONS, TAGS & INTERACTIVE DIALOGUES
   ========================================================================== */
.btn-artwork-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: var(--forest);
    color: var(--white);
    font-family: var(--font-tagline);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--forest);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(32, 51, 28, 0.15);
}

.btn-artwork-action:hover {
    background: var(--forest-deep);
    border-color: var(--gold-2);
    color: var(--gold-3);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(32, 51, 28, 0.25);
}

.artwork-status-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(32, 51, 28, 0.06);
    color: var(--forest);
    border: 1px solid rgba(32, 51, 28, 0.12);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Modal Dialog Backdrops & Windows */
.modal-dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 9, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog-box {
    background: var(--white);
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 20px;
}

.modal-dialog-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--forest);
    margin: 0;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: var(--cream);
    color: var(--forest);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--forest);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-meta-highlight {
    background: var(--green-tint);
    border: 1px solid rgba(47, 74, 42, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--hairline);
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.modal-input:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(47, 74, 42, 0.12);
}

/* In-page feedback keeps form responses usable on touch devices. */
.site-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    max-width: min(420px, calc(100vw - 32px));
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--white);
    background: var(--forest-deep);
    box-shadow: 0 14px 36px rgba(24, 23, 18, 0.22);
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.show { opacity: 1; transform: translateY(0); }
.site-toast.success { background: var(--forest); border-color: rgba(246, 230, 173, 0.55); }
.site-toast.error { background: #8f2f2f; border-color: #f2aaaa; }

@media (max-width: 600px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .section { padding: 58px 0; }
    .section-head { margin-bottom: 44px; }
    .section-head h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
    .section-head p { font-size: 1rem; }
    .btn { width: 100%; padding: 14px 20px; white-space: normal; }
    .btn-group { width: 100%; gap: 12px; }
    .site-toast { right: 16px; bottom: 16px; left: 16px; max-width: none; }
    .lightbox-modal { padding: 16px; }
    .lightbox-seamless-container { max-width: 96vw; max-height: 82vh; }
}

@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}