﻿* {
    scroll-margin-top: 50px;
}

@font-face {
    font-family: "Brown Std";
    src: url("../../fonts/BrownStd-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Thin.otf") format("opentype"), url("../../fonts/Aime-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Thin.otf") format("opentype"), url("../../fonts/Aime-Thin.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Regular.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Bold.otf") format("opentype"), url("../../fonts/Aime-Bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aime";
    src: url("../../fonts/Aime-Bold.otf") format("opentype"), url("../../fonts/Aime-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Aime", Georgia, "Times New Roman", serif;
}

.min-h-hero {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    min-height: calc(100dvh - 5rem);
}

@media (max-width: 639px) {
    .min-h-hero {
        min-height: 300px;
        height: 300px;
    }
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 7s cubic-bezier(0.22, 1, 0.36, 1);
}

    .hero-slide.is-active {
        opacity: 1;
        transform: scale(1.08);
    }

@keyframes hero-slide-one-zoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-slide--zoom.is-active {
        animation: hero-slide-one-zoom 5.2s cubic-bezier(0.25, 0.1, 0.2, 1) forwards;
    }
}

.hero-content-stack {
    position: relative;
}

.hero-content-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(0.8rem);
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1), transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

    .hero-content-slide.is-active {
        position: relative;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-slider-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(126, 138, 74, 0.78);
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.28s ease, background-color 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}

    .hero-slider-dot:hover {
        transform: scale(1.06);
        background: rgba(126, 138, 74, 0.5);
    }

    .hero-slider-dot:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.92);
        outline-offset: 2px;
    }

    .hero-slider-dot.is-active {
        width: 2.1rem;
        background: rgba(126, 138, 74, 0.92);
        outline: 2px solid rgba(154, 166, 111, 0.9);
        outline-offset: 2px;
        box-shadow: 0 0 0 1px rgba(238, 241, 228, 0.9);
    }

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
        transform: none;
    }

        .hero-slide.is-active {
            transform: none;
        }

    .hero-slide--zoom.is-active {
        animation: none;
    }

    .hero-content-slide {
        transition: none;
        transform: none;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(1.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-media-scale-up {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.09);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .animate-hero-fade-up {
        animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

.hero-overlay-premium {
    /* Tuned for hero photography; text legibility comes from the glass panel */
    background: radial-gradient(ellipse 130% 100% at 50% 38%, rgba(255, 255, 255, 0.07) 0%, transparent 48%), radial-gradient(ellipse 95% 50% at 50% 100%, rgba(0, 0, 0, 0.32) 0%, transparent 52%), linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.04) 40%, rgba(0, 0, 0, 0.22) 100%), linear-gradient(105deg, rgba(90, 99, 53, 0.2) 0%, transparent 28%, transparent 72%, rgba(90, 99, 53, 0.18) 100%);
}

.hero-content-panel {
    position: relative;
    isolation: isolate;
    -webkit-backdrop-filter: blur(32px) saturate(185%);
    backdrop-filter: blur(32px) saturate(185%);
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(227, 232, 212, 0.08) 100%), linear-gradient(90deg, rgba(126, 138, 74, 0.04) 0%, transparent 45%, transparent 55%, rgba(126, 138, 74, 0.03) 100%);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-bottom: 1px solid rgba(126, 138, 74, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.04), inset 0 0 80px rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(126, 138, 74, 0.14), 0 28px 90px -20px rgba(0, 0, 0, 0.38), 0 14px 50px -14px rgba(126, 138, 74, 0.18);
}

    .hero-content-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        z-index: 0;
        background: radial-gradient(95% 65% at 50% -8%, rgba(255, 255, 255, 0.22), transparent 55%);
        opacity: 0.5;
    }

    .hero-content-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        z-index: 0;
        background: linear-gradient(to bottom, transparent 52%, rgba(0, 0, 0, 0.06) 100%);
        opacity: 0.4;
    }

    .hero-content-panel .hero-panel-inner {
        position: relative;
        z-index: 1;
    }

/* QR inset — lives inside the single hero glass panel */
.hero-qr-inset {
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .hero-qr-inset {
        border-radius: 1rem;
    }
}

.hero-qr-caption {
    min-height: 0;
    display: block;
}

.hero-qr-image {
    width: 4.75rem;
    height: 4.75rem;
}

@media (min-width: 640px) {
    .hero-qr-image {
        width: 5.5rem;
        height: 5.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-qr-image {
        width: 6.25rem;
        height: 6.25rem;
    }
}

.hero-title-premium {
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #fafaf8;
    white-space: nowrap;
    font-size: clamp(1.05rem, 5.8vmin, 3rem);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.9);
}

.hero-kicker-premium {
    color: #eef1e4;
    letter-spacing: 0.28em;
    white-space: nowrap;
    font-size: clamp(0.7rem, 2.5vmin, 0.9375rem);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-text-row {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .hero-text-row::-webkit-scrollbar {
        display: none;
    }

.hero-text-row--stack {
    overflow: visible;
}

.hero-title-stack {
    white-space: normal;
    text-wrap: balance;
}

.hero-title-adaptive {
    white-space: normal;
    /* text-wrap: balance; */
    max-width: 16ch;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.card-lift {
    transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.65s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s ease, filter 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .card-lift:hover {
        transform: translateY(-10px);
        filter: saturate(1.06) brightness(1.02);
        box-shadow: 0 32px 64px -20px rgba(90, 99, 53, 0.35), 0 14px 36px -12px rgba(126, 138, 74, 0.28), 0 0 0 1px rgba(126, 138, 74, 0.18);
        border-color: rgba(126, 138, 74, 0.52);
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-lift {
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .card-lift:hover {
            transform: none;
            filter: none;
        }
}

/* Mobile primary nav — slide-in drawer + fade backdrop + smooth close */
@media (max-width: 1023px) {
    /* Drop backdrop-filter on the header at mobile widths so it stops
       creating a containing block for the fixed drawer/backdrop. With this
       removed, #primary-nav and #nav-backdrop pin to the true viewport. */
    .site-header,
    .site-header.is-scrolled {
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
    }

    #primary-nav {
        display: flex;
        transform: translateX(110%);
        transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.42s ease;
        box-shadow: -18px 0 36px -16px rgba(0, 0, 0, 0.18), -2px 0 0 rgba(126, 138, 74, 0.18);
        will-change: transform;
        -webkit-backdrop-filter: blur(14px) saturate(160%);
                backdrop-filter: blur(14px) saturate(160%);
        -webkit-overflow-scrolling: touch;
    }

        #primary-nav.hidden {
            display: none;
        }

        #primary-nav.is-open {
            transform: translateX(0);
            box-shadow: -28px 0 60px -16px rgba(0, 0, 0, 0.32), -2px 0 0 rgba(126, 138, 74, 0.32);
        }

        #primary-nav .nav-link {
            opacity: 0;
            transform: translateX(18px);
            transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1), transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
        }

        #primary-nav.is-open .nav-link {
            opacity: 1;
            transform: translateX(0);
        }

        #primary-nav.is-open a.nav-link:nth-of-type(1) {
            transition-delay: 0.08s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(2) {
            transition-delay: 0.12s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(3) {
            transition-delay: 0.16s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(4) {
            transition-delay: 0.2s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(5) {
            transition-delay: 0.24s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(6) {
            transition-delay: 0.28s;
        }
        #primary-nav.is-open a.nav-link:nth-of-type(7) {
            transition-delay: 0.32s;
        }

    #nav-backdrop {
        opacity: 0;
        transition: opacity 0.38s ease;
        will-change: opacity;
    }

        #nav-backdrop.hidden {
            display: none;
        }

        #nav-backdrop.is-open {
            opacity: 1;
        }
}

@media (min-width: 1024px) {
    #primary-nav {
        transform: none;
        transition: none;
        box-shadow: none;
    }

        #primary-nav .nav-link {
            opacity: 1;
            transform: none;
            transition: none;
        }
}

@media (prefers-reduced-motion: reduce) {
    #primary-nav,
    #primary-nav .nav-link,
    #nav-backdrop {
        transition: none !important;
    }
}

/* Deals & Offers cards — animated gradient border + hover ring, harmonized with Village cards */
.deal-card {
    position: relative;
    isolation: isolate;
}

    .deal-card::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        padding: 1.5px;
        background: linear-gradient(135deg, rgba(126, 138, 74, 0.65) 0%, rgba(90, 99, 53, 0.18) 30%, rgba(154, 166, 111, 0.55) 60%, rgba(90, 99, 53, 0.7) 100%);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1);
        pointer-events: none;
        z-index: 1;
    }

    .deal-card::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: calc(0.75rem + 6px);
        background: radial-gradient(60% 50% at 50% 50%, rgba(126, 138, 74, 0.18) 0%, rgba(126, 138, 74, 0) 70%);
        opacity: 0;
        transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1);
        pointer-events: none;
        z-index: 0;
    }

    .deal-card > * {
        position: relative;
        z-index: 2;
    }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .deal-card:hover::before {
        opacity: 1;
    }

    .deal-card:hover::after {
        opacity: 1;
    }
}

.deal-card--premium::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.15) 30%, rgba(238, 241, 228, 0.5) 60%, rgba(255, 255, 255, 0.7) 100%);
}

.deal-card--premium::after {
    background: radial-gradient(60% 50% at 50% 50%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}

@media (prefers-reduced-motion: reduce) {
    .deal-card::before,
    .deal-card::after {
        transition: none;
    }
}

/* Section 4 — “A World of Flavors”: gallery bg + slide-up content on hover */
.things-flavors-card {
    isolation: isolate;
}

.things-flavors-card__bg {
    transform: scale(1);
    transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .things-flavors-card:hover .things-flavors-card__bg,
    .things-flavors-card:focus-within .things-flavors-card__bg {
        transform: scale(1.06);
    }
}

.things-flavors-card__drawer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid rgba(126, 138, 74, 0.22);
    background: linear-gradient( to top, rgba(255, 253, 248, 0.58), rgba(247, 248, 241, 0.38) );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1.1rem 1.25rem;
    min-height: 6.35rem;
    max-height: 6.35rem;
    transition: max-height 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .things-flavors-card:hover .things-flavors-card__drawer,
    .things-flavors-card:focus-within .things-flavors-card__drawer {
        justify-content: flex-start;
        max-height: 18.5rem;
    }
}

.things-flavors-card__body {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), margin-top 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.45s ease 0.08s, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.08s;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .things-flavors-card:hover .things-flavors-card__body,
    .things-flavors-card:focus-within .things-flavors-card__body {
        max-height: 12rem;
        margin-top: 0.75rem;
        opacity: 1;
        transform: translateY(0);
    }
}

.things-flavors-card.is-open .things-flavors-card__bg {
    transform: scale(1.06);
}

.things-flavors-card.is-open .things-flavors-card__drawer {
    justify-content: flex-start;
    max-height: 18.5rem;
}

.things-flavors-card.is-open .things-flavors-card__body {
    max-height: 12rem;
    margin-top: 0.75rem;
    opacity: 1;
    transform: translateY(0);
}

/* First card stays open by default; hovering/focusing another card collapses the first so that drawer slides down */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .things-cards-grid:has(> .things-flavors-card:nth-child(2):hover) > .things-flavors-card.is-open .things-flavors-card__bg,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):hover) > .things-flavors-card.is-open .things-flavors-card__bg,
    .things-cards-grid:has(> .things-flavors-card:nth-child(2):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__bg,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__bg {
        transform: scale(1);
    }

    .things-cards-grid:has(> .things-flavors-card:nth-child(2):hover) > .things-flavors-card.is-open .things-flavors-card__drawer,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):hover) > .things-flavors-card.is-open .things-flavors-card__drawer,
    .things-cards-grid:has(> .things-flavors-card:nth-child(2):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__drawer,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__drawer {
        justify-content: center;
        max-height: 6.35rem;
    }

    .things-cards-grid:has(> .things-flavors-card:nth-child(2):hover) > .things-flavors-card.is-open .things-flavors-card__body,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):hover) > .things-flavors-card.is-open .things-flavors-card__body,
    .things-cards-grid:has(> .things-flavors-card:nth-child(2):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__body,
    .things-cards-grid:has(> .things-flavors-card:nth-child(3):focus-within) > .things-flavors-card.is-open:not(:focus-within) .things-flavors-card__body {
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        transform: translateY(0.75rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .things-flavors-card__bg {
        transition: none;
    }

    .things-flavors-card__drawer {
        max-height: none;
        transition: none;
    }

    .things-flavors-card__body {
        max-height: none;
        margin-top: 0.75rem;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* About section — theme outline (outer shell); ring rotates for UI emphasis */

.about-image-frame-shell {
    position: relative;
    z-index: 0;
    isolation: isolate;
    border-radius: 1rem;
    overflow: visible;
    box-shadow: 0 0 0 2px rgba(126, 138, 74, 0.32), 0 0 18px rgba(126, 138, 74, 0.14), 0 0 36px -8px rgba(90, 99, 53, 0.18);
}

    .about-image-frame-shell::before {
        content: "";
        position: absolute;
        inset: -3px;
        transition: all 0.4s ease;
        z-index: 0;
        border-radius: calc(1rem + 5px);
        transform: rotate(-6deg);
        background: conic-gradient( from 0deg, rgba(154, 166, 111, 0.95) 0%, rgba(238, 241, 228, 0.55) 18%, rgba(126, 138, 74, 0.9) 36%, rgba(90, 99, 53, 0.95) 58%, rgba(126, 138, 74, 0.85) 78%, rgba(154, 166, 111, 0.95) 100% );
        padding: 3px;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        transform-origin: center;
        pointer-events: none;
    }

    .about-image-frame-shell:hover::before {
        transform: rotate(5deg);
    }


/* About section — framed image (brand border + depth + hover) */
.about-image-frame {
    position: relative;
    isolation: isolate;
    z-index: 1;
    padding: 2px;
    border-radius: 1rem;
    background: linear-gradient( 152deg, rgba(154, 166, 111, 0.75) 0%, rgba(126, 138, 74, 0.5) 42%, rgba(90, 99, 53, 0.72) 100% );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(90, 99, 53, 0.12), 0 0 0 1px rgba(126, 138, 74, 0.22), 0 20px 48px -18px rgba(90, 99, 53, 0.28), 0 10px 28px -12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

    .about-image-frame::before {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        top: 2px;
        height: 1px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
        pointer-events: none;
        z-index: 3;
        opacity: 0.85;
    }

    .about-image-frame::after {
        content: "";
        position: absolute;
        inset: 2px;
        border-radius: 0.875rem;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 36%, transparent 68%, rgba(90, 99, 53, 0.05) 100%);
        opacity: 0.38;
    }

.about-image-frame-inner {
    position: relative;
    z-index: 1;
    border-radius: 0.875rem;
    overflow: hidden;
}

    .about-image-frame-inner img {
        transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .about-image-frame:hover {
        transform: translateY(-5px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), inset 0 -1px 0 rgba(90, 99, 53, 0.14), 0 0 0 1px rgba(126, 138, 74, 0.38), 0 28px 56px -14px rgba(90, 99, 53, 0.36), 0 16px 40px -12px rgba(0, 0, 0, 0.12);
    }

        .about-image-frame:hover .about-image-frame-inner img {
            transform: scale(1.045);
        }
}

@media (prefers-reduced-motion: reduce) {
    .about-image-frame {
        transition: none;
    }

    .about-image-frame-inner img {
        transition: none;
    }
}

/* Village cards — same framed image treatment as About (radii match card rounded-xl) */
.village-card {
    overflow: visible;
}

/* Full-card link: invisible anchor + ::before covers the card; content uses pointer-events: none */
.village-card__cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

    .village-card__cover::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
    }

    .village-card .about-image-frame-shell {
        border-radius: 0.75rem;
    }

        .village-card .about-image-frame-shell::before {
            border-radius: calc(0.75rem + 5px);
        }

    .village-card .about-image-frame {
        border-radius: 0.75rem;
    }

        .village-card .about-image-frame::after {
            border-radius: 0.625rem;
        }

    .village-card .about-image-frame-inner {
        border-radius: 0.625rem;
    }
/* Village card: image frame “hover” when pointer is anywhere on the card (group), not only on the photo */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .village-card.group:hover .about-image-frame-shell::before {
        transform: rotate(5deg);
    }

    .village-card.group:hover .about-image-frame {
        transform: translateY(-5px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), inset 0 -1px 0 rgba(90, 99, 53, 0.14), 0 0 0 1px rgba(126, 138, 74, 0.38), 0 28px 56px -14px rgba(90, 99, 53, 0.36), 0 16px 40px -12px rgba(0, 0, 0, 0.12);
    }

    .village-card.group:hover .about-image-frame-inner img {
        transform: scale(1.045);
    }
}

@media (prefers-reduced-motion: reduce) {
    .village-card.group:hover .about-image-frame {
        transform: none;
    }

    .village-card.group:hover .about-image-frame-inner img {
        transform: none;
    }

    .village-card.group:hover .about-image-frame-shell::before {
        transform: rotate(-6deg);
    }
}

.btn-primary {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .btn-primary:hover:not(:active) {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.35);
    }
}

.site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(238, 241, 228, 0.42) 100%), linear-gradient(90deg, rgba(126, 138, 74, 0.12) 0%, rgba(126, 138, 74, 0.04) 35%, rgba(126, 138, 74, 0.1) 100%);
    background-color: rgba(255, 255, 255, 0.38);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    backdrop-filter: blur(20px) saturate(165%);
    border-bottom: 1px solid rgba(126, 138, 74, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 24px -6px rgba(90, 99, 53, 0.12), 0 12px 40px -12px rgba(0, 0, 0, 0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, -webkit-backdrop-filter 0.35s ease, backdrop-filter 0.35s ease;
}

    .site-header.is-scrolled {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(238, 241, 228, 0.62) 100%), linear-gradient(90deg, rgba(126, 138, 74, 0.16) 0%, rgba(126, 138, 74, 0.06) 40%, rgba(126, 138, 74, 0.12) 100%);
        background-color: rgba(255, 255, 255, 0.55);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        backdrop-filter: blur(24px) saturate(180%);
        border-bottom-color: rgba(126, 138, 74, 0.42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 28px -4px rgba(126, 138, 74, 0.2), 0 16px 48px -12px rgba(0, 0, 0, 0.1);
    }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header {
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

        .site-header.is-scrolled {
            background: rgba(255, 255, 255, 0.98);
        }
}

.header-accent-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #7e8a4a, #9aa66f, #7e8a4a, transparent);
    opacity: 0.85;
}

.back-to-top-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(126, 138, 74, 0.45);
    background: linear-gradient(145deg, rgba(154, 166, 111, 0.96), rgba(126, 138, 74, 0.96));
    color: #ffffff;
    box-shadow: 0 14px 28px -10px rgba(90, 99, 53, 0.55), 0 0 0 1px rgba(238, 241, 228, 0.35);
    opacity: 0;
    transform: translateY(0.7rem) scale(0.96);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, filter 0.25s ease;
}

    .back-to-top-btn.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .back-to-top-btn:hover {
        filter: brightness(1.08);
    }

    .back-to-top-btn:focus-visible {
        outline: 2px solid rgba(238, 241, 228, 0.95);
        outline-offset: 2px;
    }

@media (min-width: 768px) {
    .back-to-top-btn {
        right: 1.3rem;
        bottom: 1.3rem;
        width: 3rem;
        height: 3rem;
    }
}

.nav-link {
    position: relative;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

    .nav-link:focus-visible {
        outline: none;
    }

    .nav-link:hover {
        color: #5a6335;
        background-color: rgba(238, 241, 228, 0.95);
    }

    .nav-link:active {
        transform: scale(0.96);
    }

@media (prefers-reduced-motion: reduce) {
    .nav-link:active {
        transform: none;
    }
}

.nav-link.nav-link-active {
    color: #fff !important;
    background: linear-gradient(145deg, #8a9654 0%, #7e8a4a 45%, #6d7840 100%);
    box-shadow: 0 4px 14px -3px rgba(90, 99, 53, 0.35);
}

    .nav-link.nav-link-active:hover {
        color: #fff !important;
        background: linear-gradient(145deg, #939e5c 0%, #7e8a4a 50%, #5c6436 100%);
        box-shadow: 0 4px 16px -3px rgba(90, 99, 53, 0.4);
    }

@media (max-width: 1023px) {
    #primary-nav .nav-link {
        display: block;
        width: 100%;
        border-radius: 0.75rem;
        text-align: left;
        padding: 0.75rem 0.9rem;
    }

    .about-image-frame-shell::before {
        inset: 0;
    }
}

.cta-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

    .cta-primary:hover {
        filter: brightness(1.05);
    }

    .cta-primary:active {
        transform: scale(0.96);
        box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.35);
    }

    
    .page-theme {
        background:
          radial-gradient(70rem 28rem at 12% -5%, rgba(154, 166, 111, 0.18), transparent 58%),
          radial-gradient(48rem 24rem at 88% 22%, rgba(126, 138, 74, 0.14), transparent 56%),
          linear-gradient(180deg, #ffffff 0%, #f9fbf4 48%, #f2f5e9 100%);
      }
      .village-hero-shell {
        position: relative;
        margin: 1.1rem auto 0;
        width: min(100% - 2rem, 86rem);
        border-radius: 1.4rem;
        overflow: hidden;
        border: 1px solid rgba(126, 138, 74, 0.24);
        box-shadow:
          0 26px 70px -36px rgba(90, 99, 53, 0.55),
          0 8px 24px -18px rgba(0, 0, 0, 0.5);
      }
      .village-hero-shell::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(208, 214, 7, 0.08) 0%, rgba(0, 0, 0, 0.34) 100%),
          linear-gradient(95deg, rgba(90, 99, 53, 0.18) 0%, transparent 40%, transparent 70%, rgba(90, 99, 53, 0.18) 100%);
        pointer-events: none;
      }
      .village-hero-chip {
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 9999px;
        padding: 0.5rem 0.95rem;
        font-size: 0.76rem;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }
      .village-sidenav {
        position: fixed;
        bottom: 2rem;
        right: 5rem;
        top: auto;
        z-index: 60;
        font-family: inherit;
      }
      .village-sidenav__toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 50%;
        background:
          radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 38%),
          linear-gradient(160deg, #6d7a3e 0%, #7e8a4a 50%, #5a6335 100%);
        color: #ffffff;
        cursor: pointer;
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.45) inset,
          0 -3px 8px rgba(255, 255, 255, 0.18) inset,
          0 0 0 6px rgba(126, 138, 74, 0.18),
          0 0 0 12px rgba(126, 138, 74, 0.08),
          0 18px 40px -16px rgba(47, 52, 25, 0.6);
        transition: transform 0.2s ease, box-shadow 0.25s ease;
      }
      .village-sidenav__toggle::before,
      .village-sidenav__toggle::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        pointer-events: none;
      }
      .village-sidenav__toggle::before {
        background: radial-gradient(circle at 50% 50%, rgba(126, 138, 74, 0.55) 0%, rgba(126, 138, 74, 0) 70%);
        filter: blur(8px);
        z-index: -1;
        animation: villageSidenavGlow 2.6s ease-in-out infinite;
      }
      .village-sidenav__toggle::after {
        border: 2px solid rgba(255, 255, 255, 0.6);
        opacity: 0;
        animation: villageSidenavRing 2.6s ease-out infinite;
      }
      .village-sidenav__toggle:hover {
        transform: scale(1.06);
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.55) inset,
          0 -3px 10px rgba(255, 255, 255, 0.22) inset,
          0 0 0 7px rgba(126, 138, 74, 0.26),
          0 0 0 14px rgba(126, 138, 74, 0.12),
          0 22px 48px -16px rgba(47, 52, 25, 0.65);
      }
      .village-sidenav__toggle:active {
        transform: scale(0.97);
      }
      .village-sidenav__toggle:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 4px;
      }
      .village-sidenav.is-open .village-sidenav__toggle {
        transform: scale(1.04);
      }
      .village-sidenav.is-open .village-sidenav__toggle::before,
      .village-sidenav.is-open .village-sidenav__toggle::after {
        animation-play-state: paused;
        opacity: 0.4;
      }
      .village-sidenav__toggle-label {
        position: absolute;
        right: calc(100% + 0.55rem);
        top: 50%;
        transform: translateY(-50%) translateX(6px);
        padding: 0.32rem 0.7rem;
        border-radius: 9999px;
        background: rgba(47, 52, 25, 0.92);
        color: #ffffff;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 8px 22px -10px rgba(47, 52, 25, 0.55);
        transition: opacity 0.2s ease, transform 0.2s ease;
      }
      .village-sidenav__toggle:hover .village-sidenav__toggle-label,
      .village-sidenav__toggle:focus-visible .village-sidenav__toggle-label {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
      }
      .village-sidenav__toggle-icon {
        line-height: 0;
        position: relative;
        z-index: 1;
      }
      .village-sidenav__toggle-icon svg {
        width: 22px;
        height: 22px;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
      }
      @keyframes villageSidenavGlow {
        0%, 100% {
          opacity: 0.55;
          transform: scale(1);
        }
        50% {
          opacity: 1;
          transform: scale(1.18);
        }
      }
      @keyframes villageSidenavRing {
        0% {
          opacity: 0.7;
          transform: scale(1);
        }
        70% {
          opacity: 0;
          transform: scale(1.55);
        }
        100% {
          opacity: 0;
          transform: scale(1.55);
        }
      }
      .village-sidenav__panel {
        position: absolute;
        bottom: calc(100% + 0.65rem);
        right: 0;
        transform: translateY(10px);
        max-height: min(78vh, 28rem);
        width: 17.5rem;
        padding: 1rem 1rem 1.05rem;
        overflow-y: auto;
        background:
          linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 246, 239, 0.92) 100%);
        border: 1px solid rgba(126, 138, 74, 0.42);
        border-right: 0;
        border-radius: 1.1rem 0 0 1.1rem;
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.85) inset,
          -18px 30px 60px -28px rgba(47, 52, 25, 0.45),
          -10px 14px 30px -16px rgba(90, 99, 53, 0.4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
      }
      .village-sidenav.is-open .village-sidenav__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
      }
      .village-sidenav__heading {
        margin: 0 0 0.65rem;
        padding: 0 0.25rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: #5a6335;
        border-bottom: 1px dashed rgba(126, 138, 74, 0.4);
      }
      .village-sidenav__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
      }
      .village-sidenav__link {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        padding: 0.55rem 0.75rem;
        border-radius: 0.75rem;
        text-decoration: none;
        color: #2f3419;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid transparent;
        transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
      }
      .village-sidenav__link:hover {
        background: linear-gradient(180deg, rgba(238, 241, 228, 0.95), rgba(212, 220, 185, 0.65));
        border-color: rgba(126, 138, 74, 0.45);
        transform: translateX(-2px);
      }
      .village-sidenav__link:focus-visible {
        outline: 2px solid rgba(126, 138, 74, 0.7);
        outline-offset: 2px;
      }
      .village-sidenav__link.is-active {
        background: linear-gradient(135deg, #5a6335 0%, #7e8a4a 55%, #6d7a3e 100%);
        border-color: rgba(255, 255, 255, 0.32);
        color: #ffffff;
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.25) inset,
          0 8px 18px -10px rgba(47, 52, 25, 0.55);
      }
      .village-sidenav__link.is-active:hover {
        transform: none;
      }
      .village-sidenav__city {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #6d7a3e;
      }
      .village-sidenav__link.is-active .village-sidenav__city {
        color: rgba(255, 255, 255, 0.85);
      }
      .village-sidenav__name {
        font-size: 0.92rem;
        font-weight: 600;
        line-height: 1.2;
      }
      @media (max-width: 768px) {
        .village-sidenav {
          bottom: 1.25rem;
          right: 1.25rem;
        }
        .village-sidenav__toggle {
          width: 3.1rem;
          height: 3.1rem;
        }
        .village-sidenav__toggle-icon svg {
          width: 20px;
          height: 20px;
        }
        .village-sidenav__panel {
          width: min(80vw, 16rem);
          max-height: 60vh;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .village-sidenav__toggle::before,
        .village-sidenav__toggle::after {
          animation: none;
          opacity: 0.3;
        }
        .village-sidenav__toggle,
        .village-sidenav__toggle-label {
          transition: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .village-sidenav__panel,
        .village-sidenav__link {
          transition: none;
        }
        .village-sidenav__link:hover {
          transform: none;
        }
      }
      .intro-panel {
        border: 1px solid rgba(126, 138, 74, 0.2);
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 100%),
          linear-gradient(105deg, rgba(154, 166, 111, 0.12) 0%, transparent 45%, rgba(126, 138, 74, 0.09) 100%);
        box-shadow: 0 18px 42px -30px rgba(90, 99, 53, 0.55);
      }
      .highlights-panel {
        border: 1px solid rgba(126, 138, 74, 0.26);
        background:
          radial-gradient(circle at 20% 0%, rgba(154, 166, 111, 0.25), transparent 36%),
          linear-gradient(155deg, rgba(255, 255, 255, 0.83) 0%, rgba(238, 241, 228, 0.9) 100%);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.78),
          0 22px 52px -34px rgba(90, 99, 53, 0.58);
      }
      .highlight-card {
        border: 1px solid rgba(255, 255, 255, 0.74);
        background: rgba(255, 255, 255, 0.9);
        transition:
          transform 0.22s ease,
          box-shadow 0.22s ease,
          border-color 0.22s ease;
      }
      .highlight-card:hover {
        transform: translateY(-3px);
        border-color: rgba(126, 138, 74, 0.25);
        box-shadow: 0 16px 26px -24px rgba(90, 99, 53, 0.72);
      }
      @media (max-width: 1023px) {
        #primary-nav .nav-link {
          display: block;
          width: 100%;
          border-radius: 0.75rem;
          text-align: left;
          padding: 0.75rem 0.9rem;
        }
      }