html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f2eb;
    color: #2f2a27;
    font-family: 'Manrope', sans-serif;
}

a {
    color: inherit;
}

.gallery-hero {
    padding: 28px 24px 88px;
    background:
        radial-gradient(circle at top left, rgba(207, 181, 149, 0.22), transparent 35%),
        linear-gradient(180deg, #fbf8f4 0%, #f2e9df 100%);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 70px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 230px;
    padding: 14px 18px;
    display: grid;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(170, 125, 85, 0.16);
    box-shadow: 0 18px 40px rgba(77, 59, 43, 0.1);
    z-index: 20;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.gallery-nav a {
    text-decoration: none;
    color: #7a6552;
}

.gallery-nav a:hover {
    color: #aa7d55;
}

.gallery-nav .nav-dropdown-menu a {
    padding: 0;
}

.gallery-intro,
.gallery-masonry-wrap,
.gallery-story-break,
.gallery-cta {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
}

.gallery-hero-inner {
    width: min(1260px, calc(100vw - 40px));
    margin: 0 auto;
}

.eyebrow,
.section-label {
    margin: 0 0 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: #aa7d55;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.gallery-hero h1,
.gallery-intro h2,
.gallery-cta h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 0.96;
    color: #47362a;
}

.gallery-hero h1 {
    max-width: 1120px;
    font-size: clamp(3.1rem, 5.8vw, 5.8rem);
    text-wrap: balance;
}

.hero-copy,
.gallery-intro p,
.intro-note p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(47, 42, 39, 0.82);
}

.hero-copy {
    max-width: 620px;
    margin: 28px 0 0;
}

.hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 34px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 26px;
    border-radius: 999px;
    background: #b77f4f;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-button:hover {
    background: #9d6940;
    color: white;
}

.hero-link {
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a6552;
}

.gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 38px;
    align-items: end;
    padding: 82px 0 28px;
}

.intro-note {
    padding: 28px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(170, 125, 85, 0.18);
}

.intro-note span {
    display: block;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #7a6552;
}

.gallery-masonry-wrap {
    padding: 14px 0;
}

.gallery-masonry-wrap-top {
    padding-bottom: 26px;
}

.gallery-masonry-wrap-bottom {
    padding-top: 26px;
    padding-bottom: 100px;
}

.gallery-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.gallery-editorial-column {
    display: grid;
    gap: 14px;
    align-content: start;
}

.gallery-editorial-column-offset {
    margin-top: 54px;
}

.gallery-masonry {
    column-count: 2;
    column-gap: 14px;
}

.gallery-item {
    break-inside: avoid;
    margin: 0 0 14px;
    overflow: hidden;
    background: #e4d9cb;
}

.gallery-item img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

.gallery-story-break {
    padding: 34px 0 40px;
}

.gallery-story-card {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 18px 0;
    text-align: center;
}

.gallery-story-card::before,
.gallery-story-card::after {
    content: "";
    display: block;
    width: 96px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(183, 127, 79, 0), rgba(183, 127, 79, 0.8), rgba(183, 127, 79, 0));
}

.gallery-story-card::before {
    margin-bottom: 22px;
}

.gallery-story-card::after {
    margin-top: 24px;
}

.gallery-story-copy {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.9;
    color: rgba(47, 42, 39, 0.84);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.gallery-cta {
    padding: 0 0 90px;
    text-align: center;
}

.gallery-cta h2 {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.site-social-footer {
    padding: 12px 20px 56px;
    text-align: center;
}

.site-social-label {
    margin: 0 0 12px;
    color: #aa7d55;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.site-social-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 88px;
    color: #6f5b49;
    text-decoration: none;
}

.site-social-icon img,
.site-social-icon i {
    width: 28px;
    height: 28px;
    font-size: 28px;
    display: block;
}

.site-social-icon span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-social-icon:hover {
    color: #aa7d55;
}

.site-social-icon-static {
    cursor: default;
}

.site-social-icon-static:hover {
    color: #6f5b49;
}

.site-social-icon-muted {
    opacity: 0.72;
}

@media (max-width: 900px) {
    .gallery-nav {
        flex-wrap: wrap;
        gap: 14px 18px;
        margin-bottom: 48px;
    }

    .nav-dropdown-menu {
        left: 0;
        transform: translateX(0) translateY(10px);
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        transform: translateX(0) translateY(0);
    }

    .gallery-intro {
        grid-template-columns: 1fr;
        padding-top: 64px;
    }

    .gallery-masonry {
        column-count: 1;
    }

    .gallery-editorial-grid {
        grid-template-columns: 1fr;
    }

    .gallery-editorial-column {
        gap: 14px;
    }

    .gallery-editorial-column-offset {
        margin-top: 0;
    }

    .gallery-story-card {
        padding: 14px 0;
    }

}

@media (max-width: 640px) {
    .gallery-hero {
        padding: 20px 16px 66px;
    }

    .gallery-intro,
    .gallery-masonry-wrap,
    .gallery-story-break,
    .gallery-cta {
        width: min(1180px, calc(100vw - 24px));
    }

    .gallery-hero-inner {
        width: min(1260px, calc(100vw - 24px));
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-button {
        width: 100%;
    }

    .gallery-story-card {
        padding: 10px 0;
    }

    .gallery-story-copy {
        font-size: 1rem;
        line-height: 1.85;
        text-wrap: pretty;
    }
}
