/* --- Core Design System & Variables --- */
:root {
    /* Summer Colors (default) */
    --color-sage: #5D7B51;
    --color-sand: #E8E1D1; /* Tatami Zand */
    --color-bark: #966B4E;
    --color-charcoal: #363330;
    --color-white: #F9F7F2; /* Washi Papier */
    --color-white-pure: #FFFFFF;
    --color-tokonoma-wood: #2D1E17; /* Donker hout accent */
    
    --font-main: 'Outfit', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Warm Premium Tones */
    --color-clay: #9B7B61;
    --color-gold-dust: #D4AF37;
    --color-warm-shadow: rgba(155, 123, 97, 0.1);
    --color-glass-warm: rgba(255, 250, 248, 0.85);
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px rgba(122, 91, 73, 0.15);
    --transition-smooth: all 0.3s ease;
    
    /* Mobile-First Variables */
    --bottom-nav-height: 70px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: 15px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable; /* Prevents layout shift when scrollbar appears/disappears */
    min-height: 100%;
}

::selection {
    background-color: var(--color-sand);
    color: var(--color-bark);
}

/* Branded Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sand);
    border-radius: 5px;
    border: 2px solid var(--color-white);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sage);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.8s ease, color 0.8s ease;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-bark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-charcoal);
}

/* Accessible Focus States */
:focus-visible {
    outline: 2px solid var(--color-sage);
    outline-offset: 4px;
}

button:focus-visible, 
a:focus-visible {
    border-radius: 4px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--color-white-pure);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0.3rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.site-branding {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1.2rem;
    flex-shrink: 1;
    min-width: 0;
    transition: var(--transition-smooth);
}

.site-branding:hover {
    opacity: 0.85;
}

/* Logo height handled in .main-logo below */

.site-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--color-bark);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.site-tagline {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: var(--color-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    margin-top: 2px;
}

.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.main-logo {
    height: 55px;
    width: auto;
    max-width: none;
    object-fit: contain;
    aspect-ratio: 47 / 55;
    display: block;
    transition: filter 0.5s ease;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.main-nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 1;
}

.mobile-toggle {
    display: none;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
}

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

.main-nav a.nav-special {
    color: var(--color-bark) !important;
    border: 2px solid var(--color-bark); /* Slightly thicker border for emphasis */
    padding: 0.5rem 1.2rem; /* Match vertical padding of other links */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* Remove line-height interference */
    transition: all 0.3s ease;
}

.main-nav a.nav-special::after {
    display: none; /* Remove underline for the button style */
}

.main-nav a.nav-special:hover {
    background-color: var(--color-bark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(142, 108, 89, 0.2);
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--color-sage);
    color: white !important;
}

/* NBS special button when active */
.main-nav a.nav-special.active {
    background-color: var(--color-bark);
    color: white !important;
    border-color: var(--color-bark);
}

.main-nav a.nav-special.active:hover {
    background-color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

/* --- Premium Dropdown Navigation --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dropdown-trigger:hover,
.dropdown-trigger.active {
    background-color: var(--color-sage);
    color: white !important;
}

.dropdown-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown.open .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background-color: var(--color-white-pure);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Hovering nav-dropdown triggers display of dropdown-menu */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(6px);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.65rem 1.2rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--color-charcoal) !important;
    text-align: left !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.dropdown-menu a:hover {
    background-color: rgba(93, 123, 81, 0.08) !important;
    color: var(--color-sage) !important;
    padding-left: 1.4rem !important; /* Premium slide-in hover effect */
}

.dropdown-menu a.active {
    background-color: rgba(93, 123, 81, 0.05) !important;
    color: var(--color-sage) !important;
    font-weight: 600 !important;
}

/* Mobile responsive navigation overrides */
@media (max-width: 900px) {
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-trigger {
        width: 100%;
        justify-content: center;
        padding: 1rem !important;
        pointer-events: none; /* Make label inert on mobile drawer, just acts as heading */
        background: rgba(0, 0, 0, 0.01);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 1px;
        color: var(--color-sage) !important;
        border-radius: 0;
    }
    
    .dropdown-trigger:hover,
    .dropdown-trigger.active {
        background: rgba(0, 0, 0, 0.01) !important;
        color: var(--color-sage) !important;
    }
    
    .dropdown-chevron {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        padding: 0;
        transform: none !important;
        align-items: center;
        border: none;
        min-width: unset;
    }
    
    .dropdown-menu a {
        width: 100%;
        text-align: center !important;
        padding: 0.9rem 1rem !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--color-charcoal) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
    
    .dropdown-menu a:hover {
        background-color: var(--color-sage) !important;
        color: white !important;
        padding-left: 1rem !important;
    }
    
    .dropdown-menu a.active {
        background-color: var(--color-sage) !important;
        color: white !important;
    }
}

/* --- Content Area --- */
.content-area {
    padding: 2rem 0;
    background-color: var(--color-white);
    position: relative;
    flex: 1 0 auto;
}

.premium-section {
    background-color: var(--color-sand);
    padding: 3rem;
    margin: 1.5rem 0;
    border-radius: 30px;
    box-shadow: inset 0 0 80px rgba(155, 123, 97, 0.03);
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .premium-section {
        padding: 1.25rem;
        margin: 1rem 0;
        border-radius: 20px;
    }
}

.premium-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-warm-shadow) 0%, transparent 70%);
    pointer-events: none;
}

.home-page .premium-section {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 2.35rem 0;
    overflow: visible;
}

.home-page .premium-section::before {
    display: none;
}

.home-page .premium-section + .premium-section {
    border-top: 1px solid rgba(122, 91, 73, 0.1);
}

.content-container, .content-container-wide {
    margin: 0 auto;
    padding: 0 5%;
}

.content-container {
    max-width: 800px;
}

.content-container-wide {
    max-width: 1300px;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 300;
}

.text-content p strong {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-bark);
    display: block;
    margin-bottom: 2rem;
}

.text-content a {
    font-weight: 500;
    border-bottom: 2px solid var(--color-sand);
}

.text-content a:hover {
    border-bottom-color: var(--color-sage);
}

/* --- Instagram Widget --- */
.instagram-widget { min-width: 0;
    width: 100%;
    max-width: 450px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    color: var(--color-charcoal);
    box-shadow: var(--shadow-premium);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.ig-post-header {
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.ig-header-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex: 1;
    color: inherit;
}

.ig-header-link:hover {
    opacity: 0.85;
}

.ig-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 2px;
    flex-shrink: 0;
}

.ig-avatar-inner {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    overflow: hidden;
}

.ig-username {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
}

.ig-account-label {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.2;
}

.ig-insta-icon {
    color: #E1306C;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.ig-insta-icon:hover {
    color: #bc1888;
    transform: scale(1.1);
}

/* Carousel */
.ig-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ig-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ig-carousel::-webkit-scrollbar {
    display: none;
}

.ig-post-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.ig-post-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ig-post-slide:hover img {
    transform: scale(1.03);
}

/* Nav buttons */
.ig-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.2s;
    color: var(--color-charcoal);
}

.ig-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.ig-nav-prev { left: 4px; }
.ig-nav-next { right: 4px; }

@media (max-width: 450px) {
    .ig-nav {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
}

/* Dots */
.ig-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 4px;
    background: white;
}

.ig-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ig-dot.active {
    background: #E1306C;
    transform: scale(1.3);
}

.ig-post-content {
    padding: 0.9rem 1rem 1rem;
}

.ig-post-caption {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    color: var(--color-charcoal);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ig-post-caption strong {
    font-weight: 700;
}

.ig-follow-btn {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.ig-follow-btn:hover {
    filter: brightness(1.1);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

/* --- Activity Grid --- */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.activity-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--color-sand);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.activity-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--color-sage);
}

.activity-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Header */
.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-header h2 {
    font-size: 2.5rem;
    color: var(--color-bark);
    margin-bottom: 1rem;
}

.gallery-header p {
    color: var(--color-sage);
    font-style: italic;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Exhibition Gallery --- */
.exhibition-wrapper {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    overflow: hidden;
    background: #f8f6f3;
    padding: 4rem 0 5rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Fade edges removed per user request to ensure trees are perfectly visible */

.exhibition-container {
    display: flex;
    gap: 4rem;
    width: max-content;
    padding: 0 4rem 2rem 4rem;
    align-items: flex-end;
    scroll-snap-type: x mandatory;
}

.exhibition-wrapper {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f8f6f3;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-sage) transparent;
}

.exhibition-wrapper::-webkit-scrollbar {
    height: 6px;
}

.exhibition-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.exhibition-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--color-sage);
    border-radius: 10px;
}

.exhibition-card {
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    scroll-snap-align: center;
    cursor: pointer;
}

.exhibition-image-box {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.exhibition-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
    transition: transform 0.5s ease;
}

.exhibition-card:hover .exhibition-image-box img {
    transform: translateY(-12px);
}

.exhibition-card:focus-visible {
    outline: 2px solid var(--color-sage);
    outline-offset: 8px;
    border-radius: 8px;
}

.exhibition-details {
    text-align: center;
}

.exhibition-species {
    font-size: 1.2rem;
    color: var(--color-bark);
    margin: 0;
    font-weight: 600;
}

.exhibition-style {
    font-size: 0.78rem;
    color: var(--color-sage);
    font-weight: 500;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.exhibition-wrapper:hover .exhibition-container {
    animation-play-state: paused;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-nav button {
    background: var(--color-white-pure);
    border: 1px solid var(--color-sand);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-bark);
    cursor: pointer;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.gallery-nav button:hover {
    background: var(--color-sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(150, 107, 78, 0.1);
}

.gallery-nav button.active {
    background: var(--color-bark);
    color: white !important;
    border-color: var(--color-bark);
    box-shadow: 0 8px 20px rgba(150, 107, 78, 0.2);
}

.site-footer {
    padding: 2rem 0 1.5rem;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    border-top: none;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Subtle pattern for footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    aspect-ratio: auto 594 / 698;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    display: block;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

.footer-bottom .contact-link {
    color: var(--color-sand);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 225, 209, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.footer-bottom .contact-link:hover {
    color: white;
    border-bottom-color: white;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 0.55rem 0 0.6rem;
    }
    .footer-content {
        gap: 0.25rem;
        margin-bottom: 0.25rem;
    }
    .footer-logo {
        height: 22px;
    }
    .footer-bottom {
        padding-top: 0.3rem;
    }
    .footer-bottom p {
        max-width: 28rem;
        margin: 0 auto;
        font-size: 0.64rem;
        line-height: 1.25;
        letter-spacing: 0;
    }
}

/* --- Responsive & Mobile Optimization --- */
@media (max-width: 900px) {
    .site-header {
        padding: 0;
    }

    .header-container {
        padding: 0.38rem 5%;
        flex-direction: row;
        justify-content: space-between;
    }

    .site-branding {
        gap: 1rem;
    }

    .main-logo {
        height: 45px;
        width: auto;
    }
    
    .site-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .site-tagline {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .main-nav {
        display: none; /* Hide for mobile toggle */
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        padding: 1rem 0;
        background: var(--color-white-pure);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--color-sand);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 0;
    }

    /* Hamburger Menu Toggle */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 10px;
        z-index: 101;
        flex-shrink: 0;
    }
    
    .mobile-toggle span {
        width: 30px;
        height: 3px;
        background-color: var(--color-charcoal);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }
    
    /* Toggle Animation */
    .mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Adjust content for bottom nav */
    body {
        padding-bottom: var(--bottom-nav-height);
    }
}

@media (max-width: 600px) {
    .main-logo {
        height: 40px;
        width: auto;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .site-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .content-area {
        padding: 1.5rem 0;
    }
    
    .content-container, .content-container-wide {
        padding: 0 4%;
    }
    
    .text-content p {
        font-size: 1.05rem;
    }
    
    .text-content p strong {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .activity-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    /* Agenda & Gallery Specific Mobile Fixes */
    .agenda-item {
        padding: 1.2rem !important;
        gap: 1rem !important;
    }

    .gallery-nav {
        flex-direction: column !important;
        gap: 0.8rem !important;
        margin-bottom: 2.5rem !important;
        padding: 0 5%;
    }
    
    .gallery-nav button {
        width: auto;
        flex: 1;
        padding: 0.6rem !important;
        font-size: 0.85rem !important;
    }

    .ig-follow-btn {
        width: 100% !important;
        font-size: 0.9rem !important;
        padding: 0.7rem !important;
    }

}

/* Very Small Mobile (iPhone SE etc) */
@media (max-width: 360px) {
    .site-title {
        font-size: 1.3rem;
    }
    
    .header-container {
        padding: 0.32rem 0.5rem;
    }
    
    .main-logo {
        height: 40px;
        width: auto;
    }
}

/* Fix for header layout on mobile */
@media (max-width: 900px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .site-branding {
        flex-direction: row;
        gap: 0.65rem;
        text-align: left;
        align-items: center;
    }
    
    .main-logo {
        height: 45px;
        width: auto;
        margin-bottom: 0;
    }
}

/* --- Page Hero Styles (Reusable) --- */
.page-hero {
    height: clamp(125px, 10vw, 170px);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: var(--hero-focus-x, center) var(--hero-focus-y, 42%);
    z-index: 0;
}

.page-hero.flipped .page-hero-bg {
    transform: scaleX(-1);
}

.page-hero.show-tip .page-hero-bg {
    background-position: var(--hero-focus-x, center) var(--hero-tip-focus-y, var(--hero-focus-y, 42%)) !important;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(0,0,0,0.4));
    background-image: url('../images/textures/light_wood_texture.webp');
    background-blend-mode: overlay;
    opacity: 0.4;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem 5%;
    max-width: 1300px;
    width: 100%;
    text-align: left;
}

.page-hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin: 0;
    text-shadow: 0 4px 40px rgba(0,0,0,0.6);
    color: white;
    line-height: 1.1;
}

.page-hero-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.nbs-grid-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
}

.event-sidebar-card {
    background: var(--color-white-pure);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.event-sidebar-card h3 {
    color: var(--color-bark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.nbs-practical-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    background: var(--color-sand);
    border: 1px solid rgba(122, 91, 73, 0.12);
    border-radius: 12px;
}

.nbs-practical-strip div {
    min-width: 0;
}

.nbs-practical-strip strong,
.nbs-practical-strip span {
    display: block;
    line-height: 1.25;
}

.nbs-practical-strip strong {
    color: var(--color-bark);
    font-size: 0.92rem;
}

.nbs-practical-strip span {
    color: rgba(54, 51, 48, 0.78);
    font-size: 0.82rem;
}

.nbs-practical-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(84px, 1fr));
    gap: 0.5rem;
}

.nbs-practical-actions a {
    padding: 0.58rem 0.8rem;
    border-radius: 8px;
    background: var(--color-bark);
    color: white !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nbs-practical-actions a:hover {
    background: var(--color-forest);
    transform: translateY(-1px);
}

.fact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.fact-icon {
    color: var(--color-sage);
    flex-shrink: 0;
}

.fact-text strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-sage);
    letter-spacing: 1px;
}

.fact-text span {
    font-size: 1rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

/* Timeline Styles */
.nbs-timeline {
    position: relative;
    padding-left: 40px;
    margin: 1rem 0;
}

.nbs-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-sand);
}

.timeline-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-sand);
}

.timeline-day-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-bark);
    margin-bottom: 0;
    font-size: 1.4rem;
    position: relative;
}

.day-calendar-btn {
    flex-shrink: 0;
    z-index: 10;
}

@media (max-width: 600px) {
    .timeline-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 1.2rem;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--color-white-pure);
    border: 3px solid var(--color-sage);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.highlighted .timeline-dot {
    border-color: var(--color-bark);
    background: var(--color-bark);
}

.timeline-content {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.timeline-time {
    font-weight: 700;
    color: var(--color-sage);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    display: block;
    text-transform: uppercase;
}

.timeline-title {
    font-weight: 600;
    color: var(--color-bark);
    margin: 0;
}

.timeline-demo-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #fdfcfb;
    border-radius: 12px;
    border: 1px solid rgba(150, 107, 78, 0.1);
}

@media (max-width: 450px) {
    .timeline-demo-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-demo-portrait {
        width: 80px;
        height: 80px;
    }
}

.timeline-demo-portrait {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center; /* Focus on faces */
    border: 2px solid var(--color-bark);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 1280px) {
    .nbs-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .page-hero {
        height: clamp(120px, 13vw, 155px);
    }

    .nbs-sidebar {
        order: 1; /* Move entire sidebar to bottom on mobile */
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .event-sidebar-card {
        position: static;
        margin-bottom: 2rem;
    }
}

/* --- Feature Grid & Cards --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--color-white-pure);
    padding: 0; /* Remove padding to let image fill top */
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.feature-image-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image-wrapper img {
    transform: scale(1.1);
}

.feature-icon-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-bark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-white-pure);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-card-body {
    padding: 2.5rem 1.5rem 1.5rem;
    flex-grow: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--color-bark);
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--color-charcoal);
    line-height: 1.6;
    margin: 0;
}

.home-page .feature-grid {
    gap: 1.4rem;
    margin: 1.25rem 0 0;
}

.home-page .feature-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    text-align: left;
}

.home-page .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.home-page .feature-media {
    position: relative;
}

.home-page .feature-image-wrapper {
    height: 210px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.home-page .feature-icon-badge {
    width: 42px;
    height: 42px;
    left: 1rem;
    bottom: -14px;
    transform: none;
}

.home-page .feature-card-body {
    padding: 1.35rem 0.15rem 0;
}

.home-page .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.home-page .feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Layout Splits --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 1.5rem 0;
}

.split-text h2 {
    font-size: 2rem; /* Subtler heading */
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--color-bark);
}

.split-text .lead {
    font-size: 1.25rem !important; /* Larger intro text for seniors */
    color: var(--color-charcoal);
    margin-bottom: 1.5rem !important;
    line-height: 1.6;
}

.split-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.single-hero-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: var(--hero-focus-x, center) var(--hero-focus-y, center);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.split-image:hover .single-hero-image {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .single-hero-image {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .single-hero-image {
        height: 250px;
    }
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .split-text h2 {
        font-size: 2.2rem;
    }

    .nbs-sidebar {
        order: 1; /* Move entire sidebar to bottom on mobile */
    }

    .exhibition-wrapper {
        overflow-x: hidden;
        padding: 3rem 1.5rem;
    }
    
    .exhibition-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 1rem;
        padding: 0;
        align-items: start;
        width: 100% !important;
    }

    .exhibition-card {
        width: 100%;
        max-width: none;
    }

    .exhibition-image-box {
        height: 180px !important;
    }
    
    .exhibition-species {
        font-size: 0.9rem !important;
    }
    
    .exhibition-style {
        font-size: 0.75rem !important;
    }
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active img {
    transform: scale(1);
}

/* Tokonoma Mode for Exhibition Trees */
.lightbox.tokonoma-mode {
    background-color: #120e0c; /* Deeper, richer Japanese room background */
    backdrop-filter: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

.tokonoma-frame {
    display: none;
}

.lightbox.tokonoma-mode .tokonoma-frame {
    display: block;
    position: relative;
    width: 90vmin;
    height: 90vmin;
    max-width: 750px;
    max-height: 750px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 30px 80px rgba(0,0,0,0.85);
    border: 14px solid #231812; /* Premium rich dark-wood Tokonoma frame */
    border-radius: 4px;
    z-index: 5;
    overflow: hidden;
    animation: tokonomaAppear 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes tokonomaAppear {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox.tokonoma-mode #tokonoma-img {
    position: absolute;
    box-shadow: none !important;
    border-radius: 0 !important;
    pointer-events: none;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.65));
    transform: translateX(-50%) !important;
    transition: opacity 0.8s ease;
    object-fit: contain !important;
    object-position: bottom center !important;
}

/* Hide standard lightbox elements in Tokonoma mode */
.lightbox.tokonoma-mode #lightbox-img {
    display: none !important;
}

/* Lightbox UI Elements */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: white;
    font-size: 2.5rem;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    z-index: 1000;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1) rotate(90deg);
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    user-select: none;
    outline: none;
}

.lightbox-prev {
    left: 30px;
    padding-right: 4px; /* visually center the lsaquo symbol */
}

.lightbox-next {
    right: 30px;
    padding-left: 4px; /* visually center the rsaquo symbol */
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: var(--color-sand, #d4af37);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20px 30px;
    text-align: center;
    color: white;
    font-family: var(--font-main);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Tokonoma Specific Caption */
.lightbox.tokonoma-mode .lightbox-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, transparent 100%);
    padding-bottom: env(safe-area-inset-bottom, 25px);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 2.2rem;
        background: rgba(0,0,0,0.6);
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox.tokonoma-mode .tokonoma-frame {
        width: 92vw;
        height: 92vw;
        max-width: none;
        max-height: none;
        border-width: 8px;
    }
}

/* --- Social Block --- */
.social-block {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.social-block .ig-intro h2 {
    font-size: 2.5rem;
    color: var(--color-bark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.social-block .ig-intro p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .social-block {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 2rem;
        text-align: center;
        overflow: hidden; /* Prevent overflow of internal widgets */
    }
}

@media (max-width: 400px) {
    .social-block {
        padding: 1rem 0.5rem;
    }

    .social-block .ig-intro h2 {
        font-size: 2rem;
    }
}

.social-links-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.cta-btn.ig-btn {
    background-color: var(--color-bark);
    color: white !important;
    border-color: var(--color-bark);
    box-shadow: 0 4px 15px rgba(122, 91, 73, 0.15);
}

.cta-btn.ig-btn:hover {
    background-color: transparent;
    color: var(--color-bark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 91, 73, 0.25);
}

.cta-btn.fb-btn {
    background-color: #1877F2;
    color: white !important;
    border-color: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.15);
}

.cta-btn.fb-btn:hover {
    background-color: transparent;
    color: #1877F2 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.25);
}

@media (max-width: 600px) {
    .social-links-flex {
        justify-content: center;
        flex-wrap: nowrap;
    }
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* --- Grid Layouts (Agenda & NBS) --- */
.agenda-grid-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.agenda-main-column {
    min-width: 0;
}

.agenda-single-layout {
    grid-template-columns: 1fr;
    max-width: 1100px;
}

.agenda-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--color-sand);
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(155, 123, 97, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.sidebar-card h3 {
    color: var(--color-bark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sidebar-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.sync-btn {
    background-color: var(--color-bark);
    color: white !important;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid var(--color-bark);
}

.sync-btn:hover {
    background-color: transparent;
    color: var(--color-bark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(150, 107, 78, 0.1);
}

.agenda-sync-action {
    align-self: center;
    display: inline-flex;
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    white-space: nowrap;
}

.agenda-location-section {
    margin-top: 2.5rem;
    padding: 1.35rem;
    background: var(--color-sand);
    border: 1px solid rgba(122, 91, 73, 0.12);
    border-radius: 16px;
}

.agenda-location-section h3 {
    color: var(--color-bark);
    margin-bottom: 0.75rem;
}

.agenda-location-section .map-iframe-wrapper {
    height: 260px;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .agenda-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .agenda-sidebar {
        position: static;
        order: 2;
    }
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-sand);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237A5B49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-bark);
    box-shadow: 0 0 0 3px rgba(122, 91, 73, 0.1);
}

.hp-field {
    display: none;
}

.turnstile-group {
    margin-bottom: 1.25rem;
}

.form-status {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(217, 83, 79, 0.28);
    border-radius: 8px;
    background: rgba(217, 83, 79, 0.08);
    color: #8f2f2b;
    font-weight: 600;
    line-height: 1.45;
}

.form-submit {
    margin-top: 2rem;
}

.submit-btn {
    background-color: var(--color-bark);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-2px);
}

/* --- Gallery & Agenda Specifics (Moved from inline) --- */
.gallery-category {
    display: none;
}
.gallery-category.active {
    display: block;
}

.agenda-container {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 30px;
}
.agenda-list-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.no-events-card {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}
.no-events-card p {
    font-size: 1.1rem;
    color: #666;
}
.agenda-container::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-sage), var(--color-sand));
    border-radius: 2px;
}
.agenda-item {
    position: relative;
    background: #fdfaf5;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(155, 123, 97, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.agenda-item.is-highlight {
    border: 2px solid var(--color-bark);
    background: #fdfaf7;
}
.agenda-item:nth-child(1) { z-index: 20; }
.agenda-item:nth-child(2) { z-index: 19; }
.agenda-item:nth-child(3) { z-index: 18; }
.agenda-item:nth-child(4) { z-index: 17; }
.agenda-item:nth-child(5) { z-index: 16; }
.agenda-item:nth-child(6) { z-index: 15; }
.agenda-item:nth-child(7) { z-index: 14; }
.agenda-item:nth-child(8) { z-index: 13; }
.agenda-item:nth-child(9) { z-index: 12; }
.agenda-item:nth-child(10) { z-index: 11; }
.agenda-item:nth-child(n+11) { z-index: 10; }
.agenda-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 35px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid var(--color-sage);
    border-radius: 50%;
    z-index: 2;
}
.agenda-item:hover,
.agenda-item:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.agenda-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}
.date-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.day-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-bark);
    line-height: 1;
}
.month-year {
    display: flex;
    flex-direction: column;
}
.month-year .month {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-charcoal);
}
.month-year .weekday {
    font-size: 0.9rem;
    color: var(--color-sage);
    font-weight: 500;
}
.event-details {
    flex: 1;
}
.event-tag {
    display: inline-block;
    background: rgba(130, 148, 126, 0.1);
    color: var(--color-sage);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-tag.event {
    background: rgba(140, 106, 92, 0.1);
    color: var(--color-bark);
}
.event-tag.nbv {
    background: rgba(194, 155, 56, 0.1);
    color: #C29B38;
}
.event-tag.highlight {
    background: var(--color-bark);
    color: white;
}
.event-title {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}
.event-extra {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-bark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.event-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 1rem;
}
.event-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.event-actions.compact {
    gap: 0.8rem;
}
.agenda-more-link {
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.9rem;
}
.agenda-more-link.compact {
    padding: 6px 12px;
    font-size: 0.85rem;
}
.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-sand);
    font-size: 0.9rem;
    color: var(--color-charcoal);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-sage);
}

@media (max-width: 768px) {
    .agenda-header-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .event-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mb-1-5 { margin-bottom: 1.5rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mb-4 { margin-bottom: 4rem !important; }
.w-full { width: 100% !important; }
.flex { display: flex !important; }
.muted-copy { color: #555; }
.fine-print { font-size: 0.9rem; }
.footer-note { font-size: 0.9rem; color: var(--color-sage); }
.action-row {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.button-primary,
.button-secondary {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}
.button-primary {
    background: var(--color-bark);
    color: white !important;
}
.button-secondary {
    border: 1px solid var(--color-bark);
    color: var(--color-bark);
}

.contact-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.contact-quick-actions a {
    text-align: center;
}

.compact-summary,
.nbs-mobile-summary {
    display: none;
}

details[data-mobile-collapsible] > summary {
    display: none;
}

.mobile-filter-panel,
.mobile-practical-info {
    min-width: 0;
}

.schedule-day {
    margin-bottom: 1.5rem;
}

.schedule-day:last-child {
    margin-bottom: 0;
}
.inline-link {
    color: var(--color-clay);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}
.feature-media {
    position: relative;
}
.social-title {
    font-size: 2.5rem;
    color: var(--color-bark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.social-copy {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.stacked-card {
    margin-top: 2rem;
}
.contact-inline-link {
    color: var(--color-bark);
    font-weight: 600;
    text-decoration: none;
}
.timeline-header {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-bark);
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}
.timeline-description {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    margin-top: 0.5rem;
}
.sponsor-link-small {
    font-size: 0.85rem;
}
.map-iframe-wrapper {
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

/* --- Mobile-First "App-Like" Components --- */

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 2000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
    .bottom-nav {
        display: flex;
    }
}

.bottom-nav-item {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--color-charcoal);
    text-decoration: none;
    font-size: 0.7rem;
    font-family: var(--font-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    opacity: 0.7;
    flex: 1;
    cursor: pointer;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.bottom-nav-item.active {
    color: var(--color-bark);
    opacity: 1;
}

.bottom-nav-item:active {
    transform: scale(0.92);
}

.bottom-nav-item.special {
    position: relative;
    top: -14px;
    flex: 0 0 62px;
    background: linear-gradient(145deg, var(--color-bark) 0%, #6b4f40 100%);
    color: white;
    width: 62px;
    height: 58px;
    border-radius: 18px 18px 14px 14px;
    box-shadow: 0 9px 20px rgba(150, 107, 78, 0.34),
                0 0 0 4px var(--color-white);
    opacity: 1;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

.bottom-nav-item.special::before {
    content: none;
}

.bottom-nav-item.special:active {
    transform: scale(0.9) translateY(3px);
    box-shadow: 0 5px 15px rgba(150, 107, 78, 0.3), 
                0 0 0 4px var(--color-white);
}

.bottom-nav-item.special .nbs-nav-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 1px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.bottom-nav-item.special:active .nbs-nav-icon {
    transform: scale(0.9);
}

.bottom-nav-item.special span {
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: -2px;
}

.bottom-nav-button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: inherit;
    cursor: pointer;
}

.map-frame {
    border: 0;
}

/* --- 404 Page --- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content h1 {
    font-size: clamp(5rem, 15vw, 8rem);
    color: var(--color-sand);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--color-bark);
    margin-bottom: 1.5rem;
}

.error-content p {
    margin: 0 auto 2.5rem;
    max-width: 500px;
    opacity: 0.8;
}

.error-content .cta-btn {
    background-color: var(--color-sage);
    color: white !important;
    border-color: var(--color-sage);
}

.error-content .cta-btn:hover {
    background-color: var(--color-bark);
    border-color: var(--color-bark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.form-feedback {
    text-align: center;
    padding: 2rem 0;
}

.form-feedback-icon {
    width: 80px;
    height: 80px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-feedback-icon.success {
    background: var(--color-sage);
}

.form-feedback-icon.error {
    background: #d9534f;
}

.form-feedback-title {
    color: var(--color-bark);
    margin-bottom: 1rem;
}

.form-feedback-text {
    color: var(--color-charcoal);
    line-height: 1.6;
}

.form-feedback-action {
    margin-top: 2rem;
    background: transparent;
    border: 1px solid var(--color-bark);
    color: var(--color-bark);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

.tokonoma-caption-content {
    padding: 0 20px;
    text-align: center;
}

.tokonoma-caption-species {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2px;
    color: white;
}

.tokonoma-caption-style {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-sand);
    margin-bottom: 8px;
}

.tokonoma-caption-size {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: var(--color-sand);
    letter-spacing: 0.5px;
}

/* Full Screen Menu Overlay */
.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

.full-screen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fs-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-charcoal);
    cursor: pointer;
    padding: 10px;
}

.fs-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
}

.fs-menu-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-bark);
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.full-screen-menu.active .fs-menu-links a {
    transform: translateY(0);
    opacity: 1;
}

.fs-menu-links a:nth-child(1) { transition-delay: 0.1s; }
.fs-menu-links a:nth-child(2) { transition-delay: 0.15s; }
.fs-menu-links a:nth-child(3) { transition-delay: 0.2s; }
.fs-menu-links a:nth-child(4) { transition-delay: 0.25s; }
.fs-menu-links a:nth-child(5) { transition-delay: 0.3s; }

.fs-menu-footer {
    margin-top: 4rem;
    text-align: center;
}

.fs-menu-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0;
}

/* Hide mobile toggle in header if using bottom nav */
@media (max-width: 900px) {
    .site-header .mobile-toggle {
        display: none;
    }
}
/* --- Premium Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

/* Staggered reveal for grids and lists */
.reveal-staggered > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-staggered.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Generate delays for children */
.reveal-staggered.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-staggered.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-staggered.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-staggered.active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-staggered.active > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-staggered.active > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-staggered.active > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-staggered.active > *:nth-child(8) { transition-delay: 0.8s; }
.reveal-staggered.active > *:nth-child(9) { transition-delay: 0.9s; }
.reveal-staggered.active > *:nth-child(10) { transition-delay: 1s; }
.reveal-staggered.active > *:nth-child(11) { transition-delay: 1.1s; }
.reveal-staggered.active > *:nth-child(12) { transition-delay: 1.2s; }

/* Specialized reveal for images */
.reveal-image {
    overflow: hidden;
}

.reveal-image img {
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-image.active img {
    transform: scale(1);
}

/* --- Honorary Members (Ereleden) --- */
.honorary-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    margin: 2rem 0;
}

.honorary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.honorary-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    border: 0;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.honorary-card:hover {
    transform: none;
    box-shadow: none;
}

.honorary-portrait {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
    border: 5px solid var(--color-sand);
    box-shadow: var(--shadow-soft);
}

.honorary-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honorary-card h3 {
    color: var(--color-bark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.honorary-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-sage);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.honorary-bio {
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.6;
    font-size: 1rem;
}

.about-root-section {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0 0 2rem;
    padding: 2.35rem 0;
    overflow: visible;
}

.about-root-section::before {
    display: none;
}

@media (max-width: 600px) {
    .honorary-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .honorary-card {
        padding: 1.5rem;
    }
    .honorary-portrait {
        width: 140px;
        height: 140px;
    }
}

/* --- Interactive Map --- */
.nl-interactive-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 1.5rem;
    align-items: center;
}

.nl-map-container-new { max-width: 100vw; box-sizing: border-box; min-width: 0;
    flex: 1 1 620px;
    min-width: 320px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.nl-svg-final {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(118,136,118,0.15));
}

.map-primary-link {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}

.map-primary-link-top {
    margin-top: 1.15rem;
    margin-bottom: 0.8rem;
}

.map-nbv-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: var(--color-bark);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    font-size: 1.08rem;
}

.map-nbv-link:hover {
    color: var(--color-charcoal);
}

.map-nbv-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--color-white-pure);
    border: 1px solid rgba(122, 91, 73, 0.22);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    color: var(--color-bark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.map-nbv-town {
    color: #777;
    font-size: 0.92em;
    font-weight: 600;
}

.map-prov {
    fill: #ffffff;
    stroke: var(--color-sage);
    stroke-width: 0.25;
    pointer-events: none;
}

.club-marker {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.marker-dot {
    fill: var(--color-sage);
    stroke: white;
    stroke-width: 0.6;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.club-marker.is-active-marker .marker-dot {
    fill: var(--color-charcoal);
    r: 4.5;
    stroke-width: 0.8;
}

/* Specific styling for the Active BVB marker */
.club-marker.active .marker-dot {
    fill: #D97706; /* Warm amber gold */
    stroke: white;
    stroke-width: 0.8;
}

.club-marker.active.is-active-marker .marker-dot {
    fill: var(--color-charcoal);
}

/* Modern HTML Dynamic Tooltip styling */
.map-tooltip {
    position: absolute;
    background: var(--color-white-pure);
    border: 1px solid var(--color-sand);
    padding: 0.8rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(93, 123, 81, 0.15);
    pointer-events: auto; /* Clickable on both desktop and mobile */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 100;
    text-align: center;
    min-width: 170px;
    white-space: nowrap;
    flex-direction: column;
    align-items: center;
}

.map-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: calc(50% + var(--arrow-offset, 0px));
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-white-pure);
    border-right: 1px solid var(--color-sand);
    border-bottom: 1px solid var(--color-sand);
}

.map-tooltip.flipped::after {
    top: -6px;
    bottom: auto;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid var(--color-sand);
    border-top: 1px solid var(--color-sand);
}

.tooltip-town {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 2px;
    line-height: 1.2;
}

.tooltip-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-bark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.tooltip-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background-color: var(--color-sage);
    color: white !important;
    text-decoration: none !important;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.tooltip-cta:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(93, 123, 81, 0.2);
}

.tooltip-cta:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .nl-interactive-map-wrapper {
        margin-bottom: 3.5rem; /* Ensure bottom dots clear fixed bottom-nav on scroll */
    }
}

@media (max-width: 800px) {
    .nl-interactive-map-wrapper {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .nl-interactive-map-wrapper {
        padding: 0;
        border-radius: 0;
    }
    .nl-map-container-new {
        min-width: unset;
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .map-nbv-link {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.45rem;
        font-size: 0.95rem;
        text-align: center;
    }

    .map-nbv-town {
        width: 100%;
    }
}

/* --- Utility Classes & Performance Helpers --- */
.text-center { text-align: center; }

.m-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }

.flex-center { display: flex; justify-content: center; align-items: center; }

.w-full { width: 100%; }

.color-bark { color: var(--color-bark); }
.color-sage { color: var(--color-sage); }
.font-bold { font-weight: 700; }

.heading-lg { font-size: 2.2rem; margin-bottom: 1.2rem; }
.heading-xl { font-size: 2.5rem; }

.lead-alt { font-style: normal; color: var(--color-bark); margin-bottom: 1.5rem !important; }

.instagram-widget { min-width: 0;
    margin: 0;
    box-shadow: var(--shadow-premium);
}

.instagram-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-home {
    background-image: url('../images/tokonoma/04_tokonoma_apr_2024.webp');
    --hero-focus-y: 43%;
}

.hero-bijeenkomst {
    background-image: url('../images/tokonoma/12_tokonoma_dec_2024.webp');
    --hero-focus-y: 37%;
}

.hero-over-ons {
    background-image: url('../images/tokonoma/05_tokonoma_mei_2024.webp');
    --hero-focus-y: 45%;
    --hero-tip-focus-y: 40%;
}

.hero-nbs {
    background-image: url('../images/tokonoma/10_tokonoma_okt_2024.webp');
    --hero-focus-y: 40%;
}

.hero-contact {
    background-image: url('../images/tokonoma/02_tokonoma_feb_2024.webp');
    --hero-focus-y: 32%;
}

.hero-gallery {
    background-image: url('../images/tokonoma/02_tokonoma_feb_2024.webp');
    --hero-focus-y: 32%;
}
.hero-club-photo { background-image: url('../images/over-ons-collage4-upscaled.webp'); }

/* --- Section Headers --- */
.section-header {
    margin-bottom: 2rem;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-sage);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-charcoal);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* --- Sidebar Sponsors & Flyer --- */
.sidebar-sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--color-sand);
    margin-bottom: 2rem;
}

.sidebar-sponsor-card h4 {
    color: var(--color-bark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-sponsor-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.sidebar-sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf7f2;
    border: 1px solid var(--color-sand);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sidebar-sponsor-item img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12)) drop-shadow(0 0 1px rgba(0,0,0,0.55)) grayscale(0%);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-sponsor-grid:hover .sidebar-sponsor-item {
    background: #fdfcf9;
    border-color: rgba(0, 0, 0, 0.03);
}

.sidebar-sponsor-grid:hover .sidebar-sponsor-item img {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.08)) drop-shadow(0 0 1px rgba(0,0,0,0.4)) grayscale(100%);
    opacity: 0.4;
}

.sidebar-sponsor-grid .sidebar-sponsor-item:hover {
    background: white;
    border-color: var(--color-bark);
    box-shadow: 0 8px 24px rgba(122, 91, 73, 0.12);
    transform: translateY(-3px) scale(1.04);
}

.sidebar-sponsor-grid .sidebar-sponsor-item:hover img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18)) drop-shadow(0 0 1px rgba(0,0,0,0.6)) grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

/* Sidebar Section Divider */
.sidebar-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.8rem 0 1.2rem;
}

.sidebar-divider::before,
.sidebar-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-sand);
}

.sidebar-divider span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-sage);
    white-space: nowrap;
}

/* Flyer Card - Clean Minimal */
.flyer-card {
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-sand);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    background: white;
}

.flyer-card-preview {
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
}

.flyer-card-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.flyer-card-preview:hover img {
    transform: scale(1.03);
}

.flyer-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--color-sand);
}

.flyer-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    background: transparent;
    color: var(--color-charcoal);
    text-decoration: none;
}

.flyer-card-btn:first-child {
    border-right: 1px solid var(--color-sand);
    color: var(--color-bark);
}

.flyer-card-btn:hover {
    background: var(--color-sand);
    color: var(--color-charcoal);
}

.flyer-card-btn.ghost {
    color: var(--color-charcoal);
}

@media (max-width: 900px) {
    .community-map-section {
        padding: 0;
        border-radius: 0;
    }
}

/* --- Community Map Section --- */
.community-map-section {
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    position: relative;
    overflow: visible;
}

.community-map-section::before {
    display: none;
}

/* ==========================================================================
   INTERACTIVE CALENDAR & AGENDA FILTERS
   ========================================================================== */

/* Agenda Controls */
.agenda-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    border: none;
    background: #f5f5f5;
    color: #444;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.filter-btn:hover {
    background: #e8e8e8;
}

.filter-btn.active {
    background: var(--color-sage);
    color: white;
}

.filter-btn.active[data-filter="event"] {
    background: var(--color-bark);
}

.filter-btn.active[data-filter="nbv"] {
    background: #C29B38;
}

.dot-legend {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-legend.club {
    background: #5D7B51; /* var(--color-sage) */
}

.dot-legend.nbv {
    background: #C29B38;
}

.dot-legend.event {
    background: #8C6A5C; /* var(--color-bark) */
}

.view-toggle {
    display: flex;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 20px;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.toggle-btn:hover {
    color: #222;
}

.toggle-btn.active {
    background: white;
    color: var(--color-bark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Calendar Grid Styles */
.calendar-view-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
    padding: 1.5rem;
    animation: fadeIn 0.4s ease-out forwards;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-bark);
    margin: 0;
    text-transform: capitalize;
}

.calendar-nav-btn {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: var(--color-sage);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day-name {
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #888;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-cell {
    aspect-ratio: 1;
    background: #fafafa;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-cell:hover {
    background: #f0f0f0;
    border-color: #ddd;
}

.calendar-cell.other-month {
    opacity: 0.25;
    cursor: default;
}

.calendar-cell.other-month:hover {
    background: #fafafa;
    border-color: transparent;
}

.calendar-day-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.calendar-cell.today .calendar-day-number {
    color: var(--color-sage);
    font-weight: 800;
}

.calendar-cell.today {
    border-color: rgba(93, 123, 81, 0.4);
    background: rgba(93, 123, 81, 0.04);
}

.calendar-cell-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: auto;
}

.calendar-cell-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.calendar-cell-dot.club {
    background: var(--color-sage);
}

.calendar-cell-dot.nbv {
    background: #C29B38;
}

.calendar-cell-dot.event {
    background: var(--color-bark);
}

/* Selected Day popover or dynamic card */
.calendar-event-popover {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 12px;
    border-left: 4px solid var(--color-sage);
    display: none;
    animation: slideDown 0.3s ease;
}

.calendar-event-popover.active {
    display: block;
}

.calendar-event-popover.nbv-mode {
    border-left-color: #C29B38;
}

.calendar-event-popover.event-mode {
    border-left-color: var(--color-bark);
}

.calendar-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.calendar-popover-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-popover-tag.club {
    background: rgba(93, 123, 81, 0.1);
    color: var(--color-sage);
}

.calendar-popover-tag.nbv {
    background: rgba(194, 155, 56, 0.1);
    color: #C29B38;
}

.calendar-popover-tag.event {
    background: rgba(140, 106, 92, 0.1);
    color: var(--color-bark);
}

.calendar-divider {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 1.5rem 0;
}

.calendar-popover-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.calendar-popover-title {
    font-size: 1.2rem;
    margin: 0.3rem 0;
    color: #222;
}

.calendar-popover-extra {
    font-size: 0.9rem;
    color: var(--color-bark);
    font-weight: 600;
    margin: 0.3rem 0;
}

.calendar-popover-empty {
    text-align: center;
    color: #888;
    padding: 1rem 0;
}

.calendar-popover-empty p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .calendar-cell {
        padding: 4px;
    }
    .calendar-day-number {
        font-size: 0.8rem;
    }
    .calendar-cell-dot {
        width: 4px;
        height: 4px;
    }
    .calendar-day-name {
        font-size: 0.7rem;
    }
}

/* --- Full Screen Menu Accordion --- */
.fs-menu-dropdown {
    width: 100%;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fs-menu-trigger {
    background: transparent;
    border: none;
    font-family: var(--font-main), sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-bark);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: -0.5px;
}

.fs-menu-trigger:hover,
.fs-menu-dropdown.expanded .fs-menu-trigger {
    color: var(--color-bark);
}

.fs-menu-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
    width: clamp(20px, 4vw, 28px);
    height: clamp(20px, 4vw, 28px);
    color: currentColor;
}

.fs-menu-dropdown.expanded .fs-menu-chevron {
    transform: rotate(180deg);
}

.fs-menu-submenu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-radius: 12px;
    padding: 0;
}

.fs-menu-dropdown.expanded .fs-menu-submenu {
    max-height: 250px;
    opacity: 1;
    visibility: visible;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.full-screen-menu:not(.active) .fs-menu-submenu {
    visibility: hidden;
}

.fs-menu-submenu a {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem) !important;
    font-weight: 600 !important;
    color: var(--color-charcoal) !important;
    padding: 0.5rem 1.5rem !important;
    width: auto !important;
    text-align: center !important;
    opacity: 0.8;
    transition: var(--transition-smooth) !important;
}

.fs-menu-submenu a:hover,
.fs-menu-submenu a.active {
    color: var(--color-sage) !important;
    opacity: 1;
    transform: scale(1.05);
}

/* --- Compact Mobile Spacing & Typography --- */
@media (max-width: 600px) {
    h1, .h1 { font-size: 1.45rem !important; }
    h2, .h2 { font-size: 1.3rem !important; }
    h3, .h3 { font-size: 1.1rem !important; }
    h4, .h4 { font-size: 0.95rem !important; }
    
    .heading-xl { font-size: 1.5rem !important; }
    .heading-lg { font-size: 1.3rem !important; margin-bottom: 0.6rem !important; }
    .section-title { font-size: 1.4rem !important; letter-spacing: -0.3px !important; }
    
    .text-content p, 
    .lead-alt, 
    p.large-text,
    p { 
        font-size: 0.92rem !important; 
        line-height: 1.5 !important;
        margin-bottom: 0.6rem !important;
    }

    /* Keep tokonoma photos readable instead of reducing them to a thin strip. */
    .page-hero {
        min-height: 92px !important;
        height: clamp(92px, 14svh, 124px) !important;
    }
    .page-hero-content {
        padding: 0.35rem 4% !important;
    }
    .page-hero-content h1 {
        font-size: 1.28rem !important;
        line-height: 1.05 !important;
    }
    .page-hero-content p {
        font-size: 0.68rem !important;
        letter-spacing: 0.12em !important;
        margin-bottom: 0.05rem !important;
    }
    
    /* Compact mobile card spacing */
    .sidebar-card, 
    .event-sidebar-card, 
    .premium-section {
        padding: 0.95rem !important;
        border-radius: 12px !important;
        gap: 0.8rem !important;
    }

    .contact-form-wrapper,
    .honorary-card,
    .calendar-view-wrapper {
        padding: 0.95rem !important;
        border-radius: 12px !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.035) !important;
    }

    .about-root-section {
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .honorary-card {
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .contact-form-wrapper {
        margin-top: 0 !important;
    }

    .home-intro-section .split-layout {
        gap: 0 !important;
        margin: 0 !important;
    }

    .home-intro-section .split-image {
        display: none;
    }

    .home-intro-section .split-text .lead {
        margin-bottom: 0.45rem !important;
    }

    .action-row {
        margin-top: 0.85rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .button-primary,
    .button-secondary {
        min-width: 0;
        padding: 0.6rem 0.35rem;
        font-size: clamp(0.68rem, 3.1vw, 0.78rem);
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
    }

    .contact-quick-actions {
        gap: 0.45rem;
        margin: 0.75rem 0 0.9rem;
    }

    .contact-quick-actions .button-primary,
    .contact-quick-actions .button-secondary {
        padding: 0.62rem 0.45rem;
        font-size: 0.78rem;
    }

    .form-group {
        margin-bottom: 0.85rem;
    }

    .form-label {
        margin-bottom: 0.28rem;
        font-size: 0.86rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.62rem 0.75rem;
        font-size: 0.92rem;
        border-radius: 7px;
    }

    .submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.86rem;
    }

    .compact-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        margin: 0.7rem max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px));
        padding: 0.75rem;
        background: var(--color-sand);
        border: 1px solid rgba(122, 91, 73, 0.12);
        border-radius: 12px;
    }

    .compact-summary div {
        min-width: 0;
    }

    .compact-summary strong,
    .compact-summary span {
        display: block;
        line-height: 1.2;
    }

    .compact-summary strong {
        color: var(--color-bark);
        font-size: 0.82rem;
    }

    .compact-summary span {
        color: var(--color-charcoal);
        font-size: 0.72rem;
    }

    .compact-summary-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .compact-summary-actions a {
        padding: 0.52rem 0.4rem;
        border-radius: 8px;
        background: var(--color-bark);
        color: white !important;
        font-size: 0.75rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .nbs-practical-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        padding: 0.75rem;
        border-radius: 12px;
    }

    .nbs-practical-strip strong {
        font-size: 0.82rem;
    }

    .nbs-practical-strip span {
        font-size: 0.72rem;
    }

    .nbs-practical-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .nbs-practical-actions a {
        padding: 0.52rem 0.4rem;
        font-size: 0.75rem;
    }

    details[data-mobile-collapsible] > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 42px;
        padding: 0.58rem 0.75rem;
        border: 1px solid rgba(122, 91, 73, 0.12);
        border-radius: 10px;
        background: var(--color-white-pure);
        color: var(--color-bark);
        font-size: 0.86rem;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    details[data-mobile-collapsible] > summary::-webkit-details-marker {
        display: none;
    }

    details[data-mobile-collapsible] > summary::after {
        content: "+";
        flex: 0 0 auto;
        font-size: 1rem;
        line-height: 1;
    }

    details[data-mobile-collapsible][open] > summary::after {
        content: "-";
    }

    .mobile-filter-panel,
    .mobile-practical-info,
    .mobile-read-more,
    .schedule-day {
        margin-bottom: 0.7rem;
    }

    .schedule-day {
        overflow: hidden;
        border: 1px solid rgba(122, 91, 73, 0.12);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 8px 22px rgba(54, 51, 48, 0.05);
    }

    .mobile-filter-panel .filter-group,
    .mobile-practical-info > .sidebar-card,
    .mobile-read-more > p {
        margin-top: 0.65rem;
    }

    .schedule-day > summary {
        display: grid !important;
        grid-template-columns: 1fr auto;
        align-items: center !important;
        gap: 0.12rem 0.75rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, 0.86) !important;
    }

    .schedule-day > summary span,
    .schedule-day > summary small {
        grid-column: 1;
    }

    .schedule-day > summary::after {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .schedule-day > summary small {
        color: var(--color-charcoal);
        font-size: 0.72rem;
        font-weight: 500;
        line-height: 1.25;
    }

    .schedule-day[open] > summary {
        border-bottom: 1px solid rgba(122, 91, 73, 0.1) !important;
    }

    .schedule-day[open] > .timeline-day-header,
    .schedule-day[open] > .nbs-timeline {
        animation: scheduleReveal 0.24s ease both;
    }
    
    .feature-card-body {
        padding: 1.1rem 0.8rem 0.8rem !important;
    }
    
    /* Compact Timeline Spacing */
    .nbs-timeline {
        padding-left: 26px !important;
        margin: 0 !important;
        padding-top: 0.2rem;
        padding-right: 0.75rem;
        padding-bottom: 0.75rem;
    }
    .nbs-timeline::before {
        left: 9px !important;
    }
    .timeline-dot {
        left: -22px !important;
        width: 10px !important;
        height: 10px !important;
        top: 6px !important;
    }
    .timeline-item {
        margin-bottom: 0.65rem !important;
    }
    .timeline-content {
        padding: 0.4rem 0.75rem !important;
    }
    .timeline-time {
        font-size: 0.7rem !important;
        padding: 0.1rem 0.35rem !important;
        margin-bottom: 0.2rem !important;
    }
    .timeline-title {
        font-size: 0.9rem !important;
    }
    .timeline-day-header {
        margin: 0 !important;
        padding: 0.65rem 0.75rem 0.45rem !important;
        gap: 0.4rem !important;
        border-bottom: 0 !important;
    }
    .timeline-day-label {
        display: none;
    }
    
    /* Global Compact Margin/Padding Spacing Utilities */
    .mb-4 { margin-bottom: 1.4rem !important; }
    .mb-3 { margin-bottom: 1rem !important; }
    .mb-2 { margin-bottom: 0.75rem !important; }
    .mb-1-5 { margin-bottom: 0.55rem !important; }
    
    .mt-4 { margin-top: 1.4rem !important; }
    .mt-2 { margin-top: 0.75rem !important; }
    .mt-1 { margin-top: 0.35rem !important; }
    
    .content-area {
        padding: 0.8rem 0 !important;
    }
}

@keyframes scheduleReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Usability Polish & Overflow Guards --- */
img,
video,
canvas,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

body {
    overflow-x: hidden;
}

a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: rgba(93, 123, 81, 0.18);
}

@media (max-width: 900px) {
    :root {
        --bottom-nav-height: 64px;
    }

    body {
        padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    }

    .bottom-nav {
        height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
        padding: 4px max(8px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    }

    .bottom-nav-item {
        min-width: 0;
        min-height: 40px;
        gap: 2px;
        font-size: 0.64rem;
        letter-spacing: 0.03em;
    }

    .bottom-nav-item svg {
        width: 21px;
        height: 21px;
    }

    .bottom-nav-item.special {
        flex-basis: 56px;
        width: 56px;
        height: 54px;
        top: -11px;
        box-shadow: 0 8px 18px rgba(150, 107, 78, 0.32),
                    0 0 0 4px var(--color-white);
    }

    .bottom-nav-item.special .nbs-nav-icon {
        width: 24px;
        height: 24px;
    }

    .bottom-nav-item.special span {
        font-size: 0.58rem;
    }

    .bottom-nav-item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .full-screen-menu {
        justify-content: flex-start;
        overflow-y: auto;
        padding: calc(4rem + env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    }
}

@media (max-width: 600px) {
    .content-container,
    .content-container-wide,
    .header-container,
    .footer-container {
        width: 100%;
        max-width: 100%;
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
    }

    .content-area,
    .home-intro-section,
    .split-layout,
    .split-text,
    .gallery-category,
    .gallery-header,
    .agenda-grid-layout,
    .agenda-main-column,
    .agenda-sidebar,
    .community-map-section {
        min-width: 0;
        max-width: 100%;
    }

    .header-container {
        padding-top: 0.28rem;
        padding-bottom: 0.28rem;
    }

    .site-branding {
        gap: 0.58rem;
        min-width: 0;
    }

    .site-title-box {
        min-width: 0;
    }

    .site-title {
        max-width: calc(100vw - 96px);
        font-size: clamp(1.02rem, 5.6vw, 1.26rem) !important;
        line-height: 1.05 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: 0 !important;
    }

    .site-tagline {
        max-width: calc(100vw - 96px);
        font-size: 0.68rem !important;
        letter-spacing: 0.08em !important;
        line-height: 1.05 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-logo {
        height: 42px !important;
        width: auto !important;
        max-width: none !important;
    }

    .home-page .premium-section {
        padding: 1.25rem 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .home-page .premium-section + .premium-section {
        border-top: 1px solid rgba(122, 91, 73, 0.1);
    }

    .page-hero {
        min-height: 92px !important;
        height: clamp(92px, 14svh, 124px) !important;
    }

    .gallery-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem !important;
        padding: 0 !important;
        margin-bottom: 0.7rem !important;
    }

    .gallery-nav button {
        width: 100% !important;
        min-height: 42px;
        min-width: 0;
        padding: 0.55rem 0.28rem !important;
        font-size: 0.76rem !important;
        line-height: 1.1;
        justify-content: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .gallery-header {
        margin-bottom: 0.75rem !important;
    }

    .gallery-header h2 {
        font-size: 1.15rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.25rem !important;
    }

    .gallery-header p {
        max-width: 100%;
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        overflow-wrap: break-word;
        padding: 0 0.1rem;
    }

    .activity-grid {
        gap: 0.45rem !important;
        margin-top: 0.6rem;
    }

    .activity-item {
        border-radius: 10px;
    }

    .home-page .feature-grid {
        gap: 0;
        margin-top: 0.7rem;
    }

    .home-page .feature-card {
        display: grid;
        grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
        align-items: center;
        gap: 0.75rem;
        padding: 0.62rem 0;
        border-bottom: 1px solid rgba(122, 91, 73, 0.1);
    }

    .home-page .feature-card:last-child {
        border-bottom: 0;
    }

    .home-page .feature-card:hover {
        transform: none;
    }

    .home-page .feature-image-wrapper {
        height: 96px !important;
        border-radius: 10px;
        box-shadow: none;
    }

    .home-page .feature-icon-badge {
        display: none;
    }

    .home-page .feature-card-body {
        padding: 0 !important;
    }

    .home-page .feature-card h3 {
        font-size: 0.98rem;
        line-height: 1.15;
        margin-bottom: 0.2rem;
    }

    .home-page .feature-card p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .home-intro-section .split-text {
        overflow-wrap: break-word;
    }

    .home-intro-section .split-text .lead {
        max-width: 100%;
        font-size: 0.94rem !important;
        line-height: 1.42 !important;
        overflow-wrap: break-word;
    }

    .action-row .button-primary,
    .action-row .button-secondary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .agenda-grid-layout {
        gap: 1rem;
    }

    .agenda-sidebar {
        order: -1;
    }

    .agenda-controls {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        padding: 0.75rem;
        border-radius: 12px;
    }

    .agenda-sync-action {
        justify-content: center;
        width: 100%;
    }

    .agenda-location-section {
        margin-top: 1.5rem;
        padding: 0.95rem;
        border-radius: 12px;
    }

    .agenda-location-section .map-iframe-wrapper {
        height: 210px;
    }

    .filter-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .filter-btn {
        justify-content: center;
        min-height: 42px;
        padding: 0.62rem 0.5rem;
        border-radius: 12px;
        font-size: 0.78rem;
        line-height: 1.15;
        white-space: normal;
    }

    .filter-btn[data-filter="all"] {
        grid-column: 1 / -1;
    }

    .dot-legend {
        flex: 0 0 8px;
    }

    .view-toggle {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        border-radius: 14px;
        padding: 3px;
    }

    .toggle-btn {
        justify-content: center;
        min-height: 40px;
        padding: 0.55rem 0.4rem;
    }

    .agenda-container {
        margin-top: 1rem;
        padding-left: 18px;
    }

    .agenda-container::before {
        left: 4px;
    }

    .agenda-item {
        padding: 0.95rem !important;
        margin-bottom: 0.9rem;
        border-radius: 14px;
    }

    .agenda-item::before {
        left: -20px;
        top: 24px;
        width: 9px;
        height: 9px;
        border-width: 2px;
    }

    .agenda-header-flex {
        gap: 0.75rem !important;
        margin-bottom: 0.9rem;
    }

    .date-box {
        gap: 0.7rem;
    }

    .day-num {
        font-size: 1.85rem;
    }

    .month-year .month {
        font-size: 0.76rem;
        letter-spacing: 0.08em;
    }

    .month-year .weekday {
        font-size: 0.78rem;
    }

    .event-tag {
        margin-bottom: 0.65rem;
        padding: 0.32rem 0.7rem;
        border-radius: 10px;
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .event-meta {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        gap: 0.55rem !important;
        font-size: 0.82rem;
    }

    .meta-item {
        align-items: flex-start;
    }

    .meta-item svg {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }

    .calendar-view-wrapper {
        padding: 0.75rem;
        border-radius: 14px;
    }

    .calendar-header {
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .calendar-header h3 {
        font-size: 1rem;
        line-height: 1.2;
        text-align: center;
    }

    .calendar-nav-btn {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day-name {
        padding: 4px 0;
        font-size: 0.58rem;
        letter-spacing: 0;
    }

    .calendar-cell {
        min-width: 0;
        padding: 3px;
        border-radius: 7px;
    }

    .calendar-day-number {
        font-size: 0.75rem;
    }

    .calendar-cell-dots {
        gap: 2px;
    }

    .calendar-cell-dot {
        width: 4px;
        height: 4px;
    }

    .calendar-event-popover {
        margin-top: 0.85rem;
        padding: 0.9rem;
        border-radius: 10px;
    }

    .calendar-popover-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .calendar-popover-tag {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
    }

    .exhibition-wrapper {
        margin: 0.7rem 0 0;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        scrollbar-width: none;
    }

    .exhibition-container {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0.75rem;
        padding: 0;
        align-items: stretch;
        scroll-snap-type: none;
    }

    .exhibition-card {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem;
        background: var(--color-white-pure);
        border: 1px solid rgba(122, 91, 73, 0.12);
        border-radius: 12px;
        scroll-snap-align: none;
    }

    .exhibition-image-box {
        height: clamp(118px, 32vw, 150px) !important;
        width: 100%;
    }

    .exhibition-species {
        font-size: 1rem !important;
    }

    .exhibition-style {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .scroll-indicator {
        display: none;
    }

    .lightbox.tokonoma-mode {
        padding: calc(54px + env(safe-area-inset-top, 0px)) 10px calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .lightbox.tokonoma-mode .tokonoma-frame {
        width: min(92vw, 68svh);
        height: min(92vw, 68svh);
        border-width: 7px;
    }

    .lightbox-close {
        top: calc(10px + env(safe-area-inset-top, 0px));
        right: 12px;
        width: 42px;
        height: 42px;
    }

    .lightbox.tokonoma-mode .lightbox-caption {
        padding: 42px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .lightbox-caption > div {
        padding: 0 10px !important;
    }

    .lightbox-caption span {
        line-height: 1.2 !important;
    }

    .lightbox-caption span:first-child {
        font-size: 1.05rem !important;
    }

    .lightbox-caption span:nth-child(2),
    .lightbox-caption span:nth-child(3) {
        font-size: 0.68rem !important;
        letter-spacing: 0.08em !important;
    }

    .map-primary-link-top {
        margin-top: 0.85rem;
        margin-bottom: 1rem;
    }

    .nl-interactive-map-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 0.8rem;
        overflow: hidden;
    }

    .nl-map-container-new {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
    }

    .map-nbv-link {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0.35rem 0;
        text-align: left;
        font-size: 0.9rem;
    }

    .map-nbv-town {
        width: auto;
        grid-column: 2;
        font-size: 0.78rem;
    }

    .map-tooltip {
        max-width: calc(100vw - 32px);
        min-width: 0;
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .bottom-nav {
        padding-left: 4px;
        padding-right: 4px;
    }

    .bottom-nav-item {
        font-size: 0.62rem;
        letter-spacing: 0;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
    }

    .bottom-nav-item.special {
        flex-basis: 52px;
        width: 52px;
        height: 50px;
        top: -10px;
    }

    .bottom-nav-item.special .nbs-nav-icon {
        width: 22px;
        height: 22px;
    }

    .filter-btn,
    .toggle-btn {
        font-size: 0.72rem;
    }

    .calendar-day-name {
        font-size: 0.52rem;
    }
}

@media (max-width: 600px) and (max-height: 700px) {
    .lightbox.tokonoma-mode .tokonoma-frame {
        width: min(90vw, 62svh);
        height: min(90vw, 62svh);
    }
}

/* --- Home Page Layout Refresh --- */
.home-page .content-area {
    padding-top: 0;
}

.home-page .page-hero-content {
    animation: homeHeroEntrance 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-page .page-hero-bg {
    animation: homeHeroImage 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-quick-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: -1.8rem auto 2.35rem;
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(122, 91, 73, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(54, 51, 48, 0.08);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.quick-strip-item {
    padding: 1.05rem 1.2rem;
    min-width: 0;
}

.quick-strip-item + .quick-strip-item {
    border-left: 1px solid rgba(122, 91, 73, 0.12);
}

.quick-strip-label {
    display: block;
    color: var(--color-clay);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.quick-strip-item strong {
    display: block;
    color: var(--color-bark);
    font-size: 1.02rem;
    line-height: 1.2;
}

.home-story-section {
    padding: clamp(2.25rem, 4vw, 3.6rem) 0 3rem;
}

.home-story-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
    gap: clamp(2rem, 4.2vw, 4.75rem);
    align-items: start;
}

.home-story-copy {
    max-width: 620px;
    padding-top: clamp(0.25rem, 1vw, 0.8rem);
}

.home-story-copy h2 {
    color: var(--color-bark);
    margin-bottom: 0.85rem;
}

.home-story-copy .lead {
    margin-bottom: 0.85rem !important;
}

.home-story-copy > p:not(.lead) {
    color: rgba(54, 51, 48, 0.82);
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 0;
}

.home-story-copy > p:not(.lead) + p:not(.lead) {
    margin-top: 0.7rem;
}

.home-story-copy .action-row {
    margin-top: 1.15rem;
}

.home-welcome .split-layout {
    display: block;
    margin: 0;
}

.home-welcome .split-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "title"
        "lead"
        "body"
        "actions";
    gap: 0.78rem;
    align-items: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.home-welcome .split-text h2 {
    grid-area: title;
    margin-bottom: 0;
    max-width: 760px;
}

.home-welcome .split-text .lead {
    grid-area: lead;
    margin-bottom: 0 !important;
    max-width: 820px;
}

.home-welcome .split-text > p:not(.lead) {
    grid-area: body;
    color: rgba(54, 51, 48, 0.82);
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 0;
    max-width: 820px;
}

.home-welcome .action-row {
    grid-area: actions;
    margin-top: 0.55rem;
}

.home-gallery-section {
    min-width: 0;
    margin: 0;
}

.home-gallery-intro {
    max-width: 690px;
    margin: 0 0 1.05rem;
}

.home-gallery-intro h2 {
    margin-bottom: 0.45rem;
}

.home-gallery-intro p {
    margin: 0;
}

.home-insta-widget {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    padding: 0.78rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(122, 91, 73, 0.13);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(54, 51, 48, 0.08);
    color: var(--color-charcoal);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-insta-widget:hover,
.home-insta-widget:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(122, 91, 73, 0.28);
    box-shadow: 0 24px 54px rgba(54, 51, 48, 0.12);
}

.home-insta-header {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    min-width: 0;
    flex: 0 0 auto;
}

.home-insta-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-sand);
    border: 1px solid rgba(122, 91, 73, 0.14);
    flex: 0 0 auto;
}

.home-insta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-insta-account {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.home-insta-account strong {
    color: var(--color-bark);
    font-size: 0.94rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-insta-account span {
    color: rgba(54, 51, 48, 0.62);
    font-size: 0.76rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-widget-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex: 0 0 auto;
}

.home-insta-follow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.43rem 0.68rem;
    border-radius: 999px;
    background: rgba(122, 91, 73, 0.08);
    border: 1px solid rgba(122, 91, 73, 0.12);
    color: var(--color-bark);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
    text-decoration: none;
}

.home-insta-follow svg {
    width: 15px;
    height: 15px;
}

.home-facebook-follow {
    background: rgba(24, 119, 242, 0.08);
    border-color: rgba(24, 119, 242, 0.18);
    color: #1877F2;
}

.home-gallery-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.92fr);
    gap: 0;
    align-items: stretch;
    padding: 0.72rem;
    background: rgba(249, 247, 242, 0.72);
    border: 1px solid rgba(122, 91, 73, 0.12);
    border-radius: 20px;
}

.home-showcase-carousel {
    position: relative;
    min-height: clamp(360px, 34vw, 470px);
    overflow: hidden;
    background: var(--color-sand);
    border: 1px solid rgba(122, 91, 73, 0.12);
    border-radius: 18px;
}

.home-showcase-track {
    position: absolute;
    inset: 0;
}

.home-showcase-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.35s ease, transform 0.55s ease;
    pointer-events: none;
}

.home-showcase-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.home-showcase-link {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(249, 247, 242, 0.72);
}

.home-showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-showcase-link img {
    object-fit: contain;
    padding: 0.65rem;
}

.home-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: rgba(249, 247, 242, 0.88);
    color: var(--color-bark);
    box-shadow: 0 10px 24px rgba(54, 51, 48, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-gallery-nav:hover,
.home-gallery-nav:focus-visible {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 30px rgba(54, 51, 48, 0.16);
}

.home-gallery-prev {
    left: 0.85rem;
}

.home-gallery-next {
    right: 0.85rem;
}

.home-insta-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: clamp(1rem, 2.4vw, 1.55rem) clamp(2.75rem, 4vw, 3.4rem) clamp(1rem, 2.4vw, 1.55rem) clamp(1rem, 2.4vw, 1.55rem);
    background: rgba(255, 255, 255, 0.62);
    border: 0;
    border-left: 1px solid rgba(122, 91, 73, 0.13);
    border-radius: 0 16px 16px 0;
    color: rgba(54, 51, 48, 0.78);
    font-size: 0.94rem;
    line-height: 1.45;
}

.home-gallery-label {
    color: var(--color-clay);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.home-insta-caption h3 {
    color: var(--color-bark);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.12;
    margin: 0 0 0.65rem;
}

.home-insta-caption p {
    margin: 0;
}

.home-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.home-gallery-controls span {
    color: rgba(54, 51, 48, 0.56);
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.home-gallery-controls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    background: var(--color-bark);
    color: #fff;
    box-shadow: 0 10px 22px rgba(54, 51, 48, 0.16);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-gallery-controls a:hover,
.home-gallery-controls a:focus-visible {
    background: var(--color-clay);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(54, 51, 48, 0.2);
}

.home-section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.home-social-section {
    padding-top: 3rem !important;
    padding-bottom: 3.2rem !important;
}

.home-social-section .instagram-widget {
    max-width: min(480px, 100%);
}

/* Stronger home scroll reveals */
.home-page .reveal-on-scroll.reveal-left {
    opacity: 0;
    transform: translate3d(-62px, 26px, 0) rotate(-1deg);
    filter: blur(8px);
}

.home-page .reveal-on-scroll.reveal-scale {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.94);
    filter: blur(7px);
}

.home-page .reveal-on-scroll.reveal-left.active,
.home-page .reveal-on-scroll.reveal-scale.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
    filter: blur(0);
}

.home-page .reveal-staggered > * {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.96);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-page .reveal-staggered.active > * {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.home-page .reveal-staggered.active > *:nth-child(1) { transition-delay: 0.08s; }
.home-page .reveal-staggered.active > *:nth-child(2) { transition-delay: 0.2s; }
.home-page .reveal-staggered.active > *:nth-child(3) { transition-delay: 0.32s; }

.home-page .reveal-staggered.active > .feature-card:hover {
    transform: translateY(-8px) scale(1);
}

@keyframes homeHeroEntrance {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0) scale(0.97);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes homeHeroImage {
    from {
        transform: scale(1.08);
        filter: saturate(0.9);
    }
    to {
        transform: scale(1);
        filter: saturate(1);
    }
}

@media (max-width: 900px) {
    .home-quick-strip {
        grid-template-columns: 1fr;
        margin: 1rem 0 0.9rem;
        border-radius: 16px;
    }

    .quick-strip-item {
        padding: 0.85rem 0.95rem;
    }

    .quick-strip-item + .quick-strip-item {
        border-left: 0;
        border-top: 1px solid rgba(122, 91, 73, 0.12);
    }

    .home-story-section {
        padding: 1.8rem 0 2.2rem;
    }

    .home-story-layout {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .home-story-copy {
        max-width: 760px;
        padding-top: 0;
    }

    .home-welcome .split-text {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "lead"
            "body"
            "actions";
        gap: 0.9rem;
        padding: 0;
        border-radius: 0;
    }

    .home-gallery-section {
        margin: 0;
    }

    .home-gallery-intro {
        max-width: 760px;
        margin-bottom: 1.05rem;
    }

    .home-gallery-section .home-insta-widget {
        display: flex;
        height: auto;
        padding: 0.68rem;
        border-radius: 16px;
    }

    .home-gallery-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "media media"
            "caption caption"
            "prev next";
        gap: 0 0.5rem;
        padding: 0.55rem;
        overflow: hidden;
        border-radius: 18px;
    }

    .home-showcase-carousel {
        grid-area: media;
        aspect-ratio: 4 / 3;
        min-height: 300px;
        border: 0;
        border-radius: 14px 14px 0 0;
    }

    .home-insta-caption {
        grid-area: caption;
        border-left: 0;
        border-top: 1px solid rgba(122, 91, 73, 0.13);
        border-radius: 0;
        padding: 1rem;
    }

    .home-gallery-nav {
        position: static;
        transform: none;
        width: 100%;
        height: 42px;
        margin-top: 0.55rem;
        border-color: rgba(122, 91, 73, 0.14);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: none;
    }

    .home-gallery-nav:hover,
    .home-gallery-nav:focus-visible {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(54, 51, 48, 0.1);
    }

    .home-gallery-prev {
        grid-area: prev;
        left: auto;
    }

    .home-gallery-next {
        grid-area: next;
        right: auto;
    }

}

@media (max-width: 600px) {
    .home-quick-strip {
        margin-top: 0.75rem;
    }

    .quick-strip-label {
        font-size: 0.66rem;
    }

    .quick-strip-item strong {
        font-size: 0.9rem;
    }

    .home-story-section {
        padding: 1.35rem 0 1.55rem;
    }

    .home-story-layout {
        gap: 1.85rem;
    }

    .home-story-copy .action-row {
        margin-top: 0.95rem;
    }

    .home-welcome .split-text {
        gap: 0.8rem;
        padding: 0;
    }

    .home-page .home-welcome {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .home-welcome .split-text h2 {
        margin-bottom: 0 !important;
    }

    .home-showcase-carousel {
        min-height: 250px;
    }

    .home-gallery-section {
        margin-top: 0.6rem;
        margin-bottom: 0;
        padding-top: 1rem;
        border-top: 1px solid rgba(122, 91, 73, 0.12);
    }

    .home-gallery-section .home-insta-widget {
        gap: 0.58rem;
        padding: 0.6rem;
    }

    .home-insta-avatar {
        width: 36px;
        height: 36px;
    }

    .home-insta-account strong {
        font-size: 0.82rem;
    }

    .home-insta-account span,
    .home-insta-follow {
        font-size: 0.68rem;
    }

    .home-insta-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .home-widget-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        width: 100%;
        margin-left: 0;
    }

    .home-insta-follow {
        justify-content: center;
        padding: 0.38rem 0.52rem;
    }

    .home-insta-caption {
        font-size: 0.82rem;
        line-height: 1.4;
        padding: 0.9rem;
    }

    .home-insta-caption h3 {
        font-size: 1.12rem;
    }

    .home-gallery-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
        padding-top: 0.85rem;
    }

    .home-gallery-nav {
        height: 40px;
    }

    .home-page .reveal-on-scroll.reveal-left,
    .home-page .reveal-on-scroll.reveal-scale,
    .home-page .reveal-staggered > * {
        transform: translate3d(0, 28px, 0);
        filter: blur(4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .home-page .reveal-on-scroll,
    .home-page .reveal-staggered > *,
    .home-page .page-hero-bg,
    .home-page .page-hero-content {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .home-showcase-slide {
        transition: none !important;
    }

    .home-showcase-slide.is-active {
        opacity: 1 !important;
        transform: none !important;
    }
}
