        /* ─── ROOT ─── */
:root {
    --navy: #16233F;
    --navy-soft: #3A4A6B;
    --marigold: #F2A73B;
    --marigold-soft: #FCE7C2;
    --coral: #E85C3F;
    --coral-soft: #FBDDD4;
    --teal: #0E6E5D;
    --teal-soft: #D9EEE8;
    --white: #FFFFFF;
    --sand: #F7F2E7;
    --sand-deep: #F0E9D8;
    --ink: #201C15;
    --ink-soft: #645C4C;
    --line: rgba(32, 28, 21, 0.1);
    --shadow-soft: 0 24px 60px -30px rgba(22, 35, 63, 0.22);
    --shadow-card: 0 14px 34px -18px rgba(22, 35, 63, 0.16);
    --radius: 20px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--ink);
}
p {
    margin: 0;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 18px;
}
.eyebrow svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ─── PRELOADER ─── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--sand);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
    font-family: 'Inter', sans-serif;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.loader-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    object-fit: contain;
}
.loader-brand {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
    color: var(--navy);
}
.loader-sub {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--coral);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 28px 0;
}
.loader-dots {
    display: flex;
    gap: 14px;
}
.loader-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.loader-dots .dot-coral { background: var(--coral); animation-delay: -0.32s; }
.loader-dots .dot-marigold { background: var(--marigold); animation-delay: -0.16s; }
.loader-dots .dot-teal { background: var(--teal); animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ─── ALBUM LOADER (shown while an album's photos preload) ─── */
#albumLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(247, 242, 231, 0.97);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}
#albumLoader.active {
    display: flex;
}
.album-loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.album-loader-text {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px 0;
}
.album-loader-sub {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 26px 0;
}
.album-loader-dots {
    display: flex;
    gap: 14px;
}
.album-loader-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.album-loader-dots .dot-coral { background: var(--coral); animation-delay: -0.32s; }
.album-loader-dots .dot-marigold { background: var(--marigold); animation-delay: -0.16s; }
.album-loader-dots .dot-teal { background: var(--teal); animation-delay: 0s; }

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all .4s var(--ease);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px -12px rgba(22, 35, 63, 0.12);
}
header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}
.brand-logo {
    height: 44px;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
    transition: height 0.3s var(--ease);
}
header.scrolled .brand-logo {
    height: 36px;
    max-height: 36px;
}

.brand-text {
    line-height: 1.15;
    min-width: 0;
}
.brand-text .name {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-text .sub {
    font-size: 10px;
    letter-spacing: .05em;
    color: var(--coral);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 20px;
}
nav.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
nav.primary-nav>a,
nav.primary-nav .dropdown>a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}
nav.primary-nav a:hover {
    color: var(--coral);
}
nav.primary-nav>a::after,
nav.primary-nav .dropdown>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--coral);
    transition: width .3s var(--ease);
}
nav.primary-nav>a:hover::after,
nav.primary-nav .dropdown>a:hover::after {
    width: 100%;
}
nav.primary-nav>a.active {
    color: var(--coral);
}
nav.primary-nav>a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    border: 1px solid var(--line);
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13.5px;
    color: var(--navy);
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    background: var(--sand);
    color: var(--coral);
}
.dropdown-menu li a::after {
    display: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}

.btn-ghost-nav {
    background: transparent;
    color: var(--navy);
    border-color: rgba(22, 35, 63, 0.15);
}
.btn-ghost-nav:hover {
    background: rgba(22, 35, 63, 0.05);
    border-color: var(--navy);
    transform: translateY(-1px);
}

.btn-donate-pulse {
    background: linear-gradient(135deg, var(--coral) 0%, #D04627 100%);
    color: #fff;
    padding: 8px 18px;
    box-shadow: 0 8px 20px -8px rgba(232, 92, 63, 0.5);
    position: relative;
    overflow: hidden;
    font-size: 13px;
}
.btn-donate-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(232, 92, 63, 0.65);
    background: linear-gradient(135deg, #F06A4B 0%, var(--coral) 100%);
}
.btn-donate-pulse svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    animation: heartPulse 1.8s infinite ease-in-out;
}
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: .3s;
}
.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── PAGE HEADER SECTION ─── */
.page-header {
    padding: 160px 0 60px;
    background: var(--sand);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--navy);
    margin-bottom: 14px;
}
.page-header p {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── GALLERY SECTION & VIEWS ─── */
.gallery-page-section {
    padding: 80px 0 120px;
    background: var(--white);
}
.gallery-view {
    display: none;
}
.gallery-view.active {
    display: block;
}

/* Breadcrumb Bar */
.gallery-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--ink-soft);
}
.gallery-breadcrumb button {
    background: none;
    border: none;
    color: var(--coral);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.gallery-breadcrumb button:hover {
    text-decoration: underline;
}

/* ─── ALBUM GRID STYLES ─── */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.album-card {
    background: var(--sand);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    display: flex;
    flex-direction: column;
}
.album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}
.album-card-cover {
    position: relative;
    height: 220px;
    background: var(--sand-deep);
    overflow: hidden;
}
.album-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.album-card:hover .album-card-cover img {
    transform: scale(1.05);
}
.album-placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-soft), var(--navy));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 28px;
    letter-spacing: 2px;
}
.album-share-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(22, 35, 63, 0.8);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background .3s var(--ease), transform .3s var(--ease);
    z-index: 2;
}
.album-share-btn:hover {
    background: var(--coral);
    transform: scale(1.08);
}
.album-share-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}
.album-count-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(22, 35, 63, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}
.album-empty-note {
    position: absolute;
    inset: 0;
    background: rgba(22, 35, 63, 0.6);
    backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}
.album-card-info {
    padding: 20px;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.album-card-info h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 4px;
}
.album-card-info span {
    font-size: 13px;
    color: var(--ink-soft);
}

.gallery-breadcrumb {
    justify-content: flex-start;
}
.share-album-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    background: var(--sand);
    border: 1px solid var(--line);
    padding: 9px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--navy);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.share-album-btn:hover {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
    box-shadow: 0 8px 20px -8px rgba(232, 92, 63, 0.4);
}
.share-album-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ─── SHARE TOAST ─── */
.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy);
    color: #fff;
    padding: 14px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.share-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.share-toast svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--marigold);
}

/* ─── CONTROLS: Filters + Search ─── */
.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 40px;
}
.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-btn {
    background: var(--sand);
    border: 1px solid var(--line);
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
    box-shadow: 0 8px 20px -8px rgba(232, 92, 63, 0.4);
}

/* ─── SEARCH BOX ─── */
.search-wrapper {
    position: relative;
    flex: 0 1 280px;
    min-width: 180px;
}
.search-wrapper input {
    width: 100%;
    padding: 10px 18px 10px 44px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.search-wrapper input::placeholder {
    color: var(--ink-soft);
    opacity: 0.7;
}
.search-wrapper input:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(232, 92, 63, 0.15);
}
.search-wrapper .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ink-soft);
    opacity: 0.6;
}
.search-wrapper .search-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}
.search-wrapper .clear-search {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 0 4px;
    display: none;
    line-height: 1;
}
.search-wrapper .clear-search.visible {
    display: block;
}
.search-wrapper .clear-search:hover {
    color: var(--coral);
}
.search-results-count {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 20px;
    min-height: 22px;
}

/* Responsive Grid Layout */
.gallery-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    grid-auto-rows: 240px;
}
.gallery-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--sand);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s ease;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.gallery-card:hover img {
    transform: scale(1.05);
}
.gallery-card.landscape {
    grid-column: span 2;
}
.gallery-card.portrait {
    grid-row: span 2;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(22, 35, 63, 0.85), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-card:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}
.gallery-caption h4 {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.gallery-caption span {
    font-size: 12px;
    color: var(--marigold-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── LIGHTBOX MODAL ─── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(22, 35, 63, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(8px);
}
.lightbox.open {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 85vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-text {
    color: #fff;
    margin-top: 14px;
    font-size: 16px;
    font-family: 'Fraunces', serif;
}

/* ─── FOOTER ─── */
footer {
    background: #EFF1F6;
    color: var(--ink-soft);
    padding: 60px 0 30px;
    border-top: 1px solid var(--line);
}
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-soft);
    font-size: 18px;
    grid-column: 1 / -1;
    display: none;
}
.no-results.visible {
    display: block;
}
.no-results strong {
    color: var(--ink);
}

/* ════════════════════════════════════════════ */
/*  MOBILE MENU - FULL SCREEN OVERLAY           */
/* ════════════════════════════════════════════ */
@media (max-width: 860px) {
    header .wrap {
        gap: 8px;
    }
    .brand-logo {
        height: 34px;
        max-height: 34px;
    }
    header.scrolled .brand-logo {
        height: 28px;
        max-height: 28px;
    }
    .brand-text .name {
        font-size: 14px;
    }
    .brand-text .sub {
        font-size: 9px;
    }
    .btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    .btn-donate-pulse {
        padding: 6px 14px;
        font-size: 12px;
    }
    .btn-donate-pulse svg {
        width: 12px;
        height: 12px;
    }

    .nav-right-cluster {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 90px 32px 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.25, .46, .45, .94);
        box-shadow: none;
        z-index: 1050;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-right-cluster.open {
        transform: translateX(0);
    }

    nav.primary-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
        padding: 0;
        margin: 0 0 24px 0;
    }

    nav.primary-nav>a,
    nav.primary-nav .dropdown>a {
        font-size: 20px;
        font-weight: 600;
        color: var(--navy);
        white-space: normal;
        text-align: center;
        padding: 6px 0;
        width: 100%;
    }
    nav.primary-nav>a::after,
    nav.primary-nav .dropdown>a::after {
        display: none;
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }
    .dropdown>a {
        display: inline-block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 12px 0 4px 0;
        margin: 0 auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: transparent;
        border-radius: 0;
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-menu li a {
        padding: 10px 16px;
        font-size: 17px;
        font-weight: 500;
        color: var(--ink-soft);
        white-space: normal;
        text-align: center;
        border-radius: 8px;
        transition: background .25s, color .25s;
    }
    .dropdown-menu li a:hover {
        background: var(--sand);
        color: var(--coral);
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 14px;
        margin-top: 8px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    .header-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .gallery-grid-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-card.landscape { grid-column: span 2; }
    .gallery-card.portrait { grid-row: span 1; }
    .gallery-controls { flex-direction: column; align-items: stretch; }
    .gallery-breadcrumb { flex-wrap: wrap; row-gap: 10px; }
    .share-album-btn { margin-left: 0; width: 100%; justify-content: center; }
    .search-wrapper { flex: 1 1 auto; min-width: unset; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 30px;
        max-height: 30px;
    }
    header.scrolled .brand-logo {
        height: 24px;
        max-height: 24px;
    }
    .brand-text .name {
        font-size: 13px;
    }
    .brand-text .sub {
        font-size: 8px;
    }
    .btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    .btn-donate-pulse {
        padding: 5px 12px;
        font-size: 11px;
    }
    .btn-donate-pulse svg {
        width: 11px;
        height: 11px;
    }
    .header-actions .btn {
        font-size: 15px;
        padding: 12px 16px;
    }
    nav.primary-nav>a,
    nav.primary-nav .dropdown>a {
        font-size: 18px;
    }
    .dropdown-menu li a {
        font-size: 15px;
        padding: 8px 12px;
    }
    .nav-right-cluster {
        padding: 80px 20px 30px;
    }
    .gallery-grid-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .gallery-card.landscape { grid-column: span 1; }
}

/* ─── Added: album pages ─── */
a.album-card { color: inherit; }
.album-card.is-empty { cursor: default; }
.album-card-info span { color: var(--coral); font-weight: 600; }
figure.gallery-card { margin: 0; }
.gallery-grid-masonry { grid-auto-flow: dense; }
.gallery-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
#albumLoader .album-loader-bar {
    width: 220px; height: 6px; border-radius: 6px; background: rgba(22, 35, 63, .1);
    overflow: hidden; margin: 0 auto 22px;
}
#albumLoader .album-loader-bar span {
    display: block; height: 100%; width: 0; border-radius: 6px;
    background: linear-gradient(90deg, var(--coral), var(--marigold));
    transition: width .3s ease;
}
.back-to-gallery {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 100px;
    padding: 9px 18px 9px 14px; font-weight: 600; font-size: 14px; color: var(--navy);
    margin-bottom: 22px; transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.back-to-gallery:hover { border-color: var(--coral); color: var(--coral); transform: translateX(-3px); }
.back-to-gallery svg { width: 16px; height: 16px; }
.page-header .crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.page-header .crumbs a { color: var(--coral); font-weight: 600; }
.album-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.album-toolbar .share-album-btn { margin-left: 0; }
.album-pager {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line);
}
.pager-link {
    display: block; padding: 18px 22px; border-radius: 16px; background: var(--sand);
    border: 1px solid var(--line); font-family: 'Fraunces', serif; font-size: 18px; color: var(--navy);
    transition: border-color .25s, transform .25s var(--ease);
}
.pager-link small {
    display: block; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--coral); font-weight: 700; margin-bottom: 4px;
}
.pager-link.next { text-align: right; }
.pager-link:hover { border-color: var(--coral); transform: translateY(-3px); }
@media (max-width: 600px) { .album-pager { grid-template-columns: 1fr; } .pager-link.next { text-align: left; } }
