:root {
    --ink: #27302f;
    --muted: #6f7d78;
    --line: #d9ddcf;
    --bg: #f3dfaf;
    --panel: #e0cb8c;
    --sand: #e6d4b4;
    --foam: #eef8f5;
    --water: #9fc8c5;
    --water-deep: #507b78;
    --accent: #b6905f;
    --accent-dark: #77613f;
    --rose: #9f2f23;
    --shadow: 0 18px 54px rgba(61, 87, 82, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8fbf8 0, var(--bg) 46%, #f3eadb 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: inherit
}

.topbar {
    align-items: center;
    background-color: var(--line);
    border-bottom: 1px solid rgba(159, 200, 197, .34);
    display: flex;
    height: 72px;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px)
}

.brand {
    color: var(--ink);
    font-size: 18px;
    font-weight: 760;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap
}

.brand,
.brand-mark {
    align-items: center;
    display: inline-flex
}

.brand-mark {
    height: 80px;
}

.site-nav {
    flex: 2;
    align-items: center;
    display: flex;
    gap: 28px
}

.dropdown-menu a,
.site-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none
}

.dropdown-menu a:hover,
.site-nav a:hover {
    color: var(--accent)
}

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

.menu-toggle,
.nav-select,
.primary,
.secondary {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    gap: 8px;
    justify-content: center
}

.menu-toggle,
.nav-select {
    background: transparent;
    border: 1px solid rgba(80, 123, 120, .28);
    color: var(--ink);
    min-height: 40px;
    padding: 0 12px
}

.menu-toggle {
    display: none;
    width: 42px
}

.dropdown-menu {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    gap: 4px;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px)
}

.dropdown-menu.is-open {
    display: grid
}

.dropdown-menu a {
    border-radius: 6px;
    padding: 11px 12px
}

.dropdown-menu a:hover {
    background: var(--foam)
}

.hero {
    color: #fff;
    min-height: calc(100vh - 72px);
    padding: clamp(76px, 10vw, 138px) clamp(18px, 5vw, 72px) clamp(104px, 12vw, 150px);
    display: flex;
    align-items: center;
}

.heritage-hero {
    background:
        url("/Paestum\ Heritage\ Images/heroimage.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.heritage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(39, 48, 47, 0.65) 0%,
            rgba(39, 48, 47, 0.45) 30%,
            rgba(39, 48, 47, 0.15) 60%,
            rgba(39, 48, 47, 0) 100%);
    z-index: 1;
}

.heritage-hero {
    position: relative;
}

.hero-copy {
    max-width: 600px;
    position: relative;
    z-index: 2;

}

.hero h1,
.intro-section h2,
.section-heading h2 {
    font-family: Georgia, Times New Roman, serif;
    font-weight: 500;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero h1 {
    font-size: clamp(44px, 8vw, 94px);
    line-height: .98;
    margin: 0 0 22px
}

.hero p {
    color: rgba(255, 253, 247, .93);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
    margin: 0;
    max-width: 660px
}

.eyebrow {
    color: var(--water-deep);
    font-size: 12px !important;
    font-weight: 820;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-transform: uppercase
}

.hero .eyebrow {
    color: #effbf8
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px
}

.primary,
.secondary {
    border: 0;
    min-height: 46px;
    padding: 0 18px;
    text-decoration: none
}

.primary {
    background: var(--accent);
    color: #fff
}

.secondary {
    background: rgba(255, 253, 247, .14);
    border: 1px solid rgba(255, 253, 247, .58);
    color: #fff
}

.primary:hover {
    background-color: var(--accent-dark);
}

.intro-section {
    align-items: flex-end;
    display: grid;
    grid-gap: 28px;
    gap: 28px;
    grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
    margin: 0 auto;
    max-width: 1240px;
    padding: clamp(52px, 8vw, 88px) clamp(18px, 4vw, 32px) 32px
}

.intro-section h2 {
    font-size: clamp(30px, 4.5vw, 56px);
    line-height: 1.08;
    margin: 0
}

.intro-section p:last-child,
.muted,
.section-heading p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.65
}

.intro-section p:last-child {
    font-size: 16px;
    margin: 0
}

.catalog-section {
    margin: 0 auto 64px;
    max-width: 1280px;
    padding: 32px clamp(18px, 4vw, 32px) 0
}

.section-heading {
    background: rgba(255, 253, 247, .86);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px
}

.section-heading h2 {
    font-size: 28px;
    margin: 0 0 8px
}

.section-heading p:not(.eyebrow) {
    margin: 0
}

.product-grid {
    display: grid;
    grid-gap: 16px;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr))
}

.product-card {
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    grid-gap: 10px;
    gap: 10px;
    padding: 14px;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease
}

.product-card:hover {
    transform: translateY(-2px)
}

.product-card.is-selected {
    border-color: var(--water);
    box-shadow: 0 0 0 3px rgba(159, 200, 197, .26)
}

.product-card img {
    aspect-ratio: 1;
    background: #eef3ed;
    border-radius: 6px;
    object-fit: cover;
    width: 100%
}

.price,
.product-name {
    font-weight: 800
}

.price {
    color: var(--water-deep)
}

.swatches {
    display: flex;
    gap: 6px
}

.swatches i {
    border: 1px solid var(--line);
    border-radius: 999px;
    height: 18px;
    width: 18px
}

.form-error,
.notice {
    color: var(--rose)
}

.notice {
    margin: 24px auto 0;
    max-width: 1224px;
    padding: 0 28px
}

.form-error {
    font-size: 14px;
    margin: 0
}

.panel {
    background: rgba(255, 253, 247, .88);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px
}

@media (max-width:1020px) {
    .site-nav {
        display: flex
    }

    .menu-toggle {
        display: inline-flex
    }

    .nav-select {
        display: none
    }

    .dropdown-menu {
        right: 0
    }

    .intro-section,
    .wellness-section {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: 620px
    }
}

@media (max-width:640px) {
    .topbar {
        height: 64px
    }

    .brand {
        font-size: 15px;
        gap: 9px
    }

    .brand-mark {
        height: 34px;
        width: 34px
    }

    .hero {
        min-height: 560px;
        padding-top: 72px
    }

    .hero-actions,
    .hero-button,
    .primary,
    .secondary {
        width: 100%
    }

    .catalog-section,
    .intro-section {
        padding-top: 34px
    }

    .panel,
    .section-heading,
    .wellness-card {
        padding: 16px
    }

    .dropdown-menu {
        width: min(280px, calc(100vw - 32px))
    }
}

.nav-dropdown {
    display: none;
}

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

@media (max-width:640px) {
    .hero {
        min-height: 100vh;
        padding: 100px 20px 60px;
    }
}

@media (max-width:640px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

@media (max-width:640px) {
    .heritage-hero {
        background-position: 65% center;
    }
}

@media (max-width:640px) {
    .hero-copy {
        margin: 0;
        padding: 20px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.1;
    }
}

@media (max-width:640px) {
    .heritage-hero::before {
        background: linear-gradient(180deg,
                rgba(39, 48, 47, 0.2) 0%,
                rgba(39, 48, 47, 0.6) 60%,
                rgba(39, 48, 47, 0.85) 100%);
    }
}

@media (max-width:640px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }
}

@media (max-width:640px) {
    .brand-mark {
        height: 42px;
        width: auto;
    }
}

@media (max-width:640px) {
    .brand {
        display: flex;
        align-items: center;
    }
}
@media (max-width:640px) {
    .site-nav {
        gap: 12px;
    }

    .site-nav a {
        font-size: 12px;
        font-weight: 600;
    }
}

@media (max-width:640px) {
    .nav-actions {
        display: none;
    }
}

@media (max-width:640px) {
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .site-nav {
        justify-content: center;
        flex: 1;
    }

    .brand {
        flex: 0;
    }
}

@media (max-width:640px) {
    .topbar {
        justify-content: space-between;
    }

    .site-nav {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex: 1;
    }

    .brand {
        flex: 0;
    }
}

@media (max-width:640px) {
    .brand-mark {
        height: 44px;
        width: auto;
        filter: contrast(1.2) brightness(0.9);
    }
}

.desktop-logo {
    display: inline-block;
}

.mobile-logo {
    display: none;
}

@media (max-width:640px) {
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: inline-block;
        height: 42px;
        width: auto;
    }
}