:root {
    --bg: #161311;
    --surface: #f6f0e7;
    --text: #f4eee4;
    --muted: #c2b7a6;
    --line: #5a4f43;
    --accent: #b9925e;
    --accent-dark: #9d7847;
    --radius: 18px;
    --shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

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

html,
body {
    width: 100%;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% -5%, rgba(185, 146, 94, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 94% 12%, rgba(122, 97, 69, 0.2) 0%, transparent 34%),
        linear-gradient(180deg, #1b1714 0%, #151210 55%, #100d0c 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--text);
    color: #fff;
    padding: 0.65rem 0.9rem;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
    z-index: 999;
}

.site-header,
.hero,
.featured,
.pricing,
.contact,
.site-footer {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.brand-tag {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    border-color: var(--line);
    background: rgba(33, 28, 24, 0.78);
}

.hero {
    background: linear-gradient(145deg, rgba(39, 31, 27, 0.94), rgba(24, 20, 18, 0.96));
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: clamp(2rem, 5vw, 4.5rem);
    margin-top: 0.5rem;
    animation: riseIn 700ms ease both;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.85rem;
}

.hero h2,
.section-head h2,
.contact h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.1;
}

.hero h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    max-width: 16ch;
    margin-bottom: 1rem;
}

.hero p {
    color: #d6cab9;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-dark);
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(33, 28, 24, 0.78);
}

.featured {
    padding: clamp(2.2rem, 4.5vw, 4rem) 0 1rem;
}

.section-head {
    margin-bottom: 1.3rem;
}

.section-copy {
    max-width: 60ch;
    color: var(--muted);
}

.mobile-scroll-hint {
    display: none;
    margin-top: 0.7rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.product-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.product-media .primary {
    opacity: 1;
}

.product-media .hover {
    opacity: 0;
    transform: scale(1.03);
}

.product-card:hover .primary {
    opacity: 0;
}

.product-card:hover .hover {
    opacity: 1;
    transform: scale(1);
}

.product-body {
    padding: 0.85rem 1rem 1rem;
}

.product-body h3 {
    color: #1f1813;
    font-size: 1.18rem;
    margin-bottom: 0.28rem;
}

.product-body p {
    color: #51473d;
    font-size: 1rem;
}

.pricing {
    padding: 1rem 0 1rem;
}

.pricing-head {
    margin-bottom: 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pricing-tier {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(34, 28, 24, 0.98), rgba(20, 17, 15, 0.96));
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        border-color 0.26s ease;
}

.pricing-tier-featured {
    border-color: rgba(185, 146, 94, 0.34);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
}

.pricing-tier:hover,
.pricing-tier:focus-within {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.42);
    border-color: rgba(185, 146, 94, 0.42);
}

.pricing-tier-featured:hover,
.pricing-tier-featured:focus-within {
    box-shadow:
        0 30px 62px rgba(0, 0, 0, 0.44),
        0 0 0 1px rgba(185, 146, 94, 0.16);
}

.tier-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(185, 146, 94, 0.18);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tier-top {
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(215, 220, 227, 0.9);
}

.tier-label {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.pricing-tier h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    line-height: 1;
}

.price-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.price-list li {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.8rem;
    background: rgba(246, 240, 231, 0.08);
    border: 1px solid rgba(215, 220, 227, 0.92);
    border-radius: 14px;
}

.price-list span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.price-list strong {
    font-size: 0.88rem;
    color: var(--muted);
}

.pricing-note {
    margin-top: 1.15rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(29, 24, 21, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pricing-note p {
    max-width: 58ch;
    color: #d6cab9;
}

.product-grid,
.pricing-grid,
.product-media {
    scrollbar-width: thin;
    scrollbar-color: rgba(185, 146, 94, 0.45) transparent;
}

.contact {
    margin: 2.5rem auto 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    background: rgba(27, 23, 20, 0.9);
    border-radius: 20px;
    text-align: center;
}

.contact h2 {
    font-size: clamp(1.7rem, 3.1vw, 2.5rem);
    margin-bottom: 0.65rem;
}

.contact p {
    max-width: 58ch;
    margin-inline: auto;
    color: #d6cab9;
    margin-bottom: 1.1rem;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.3rem 0 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .site-header,
    .hero,
    .featured,
    .pricing,
    .contact,
    .site-footer {
        width: min(1120px, calc(100% - 1.2rem));
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand-tag {
        font-size: 0.7rem;
    }

    .product-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding-bottom: 0.35rem;
        padding-inline: 0.05rem;
    }

    .pricing-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 86%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding-bottom: 0.35rem;
        padding-inline: 0.05rem;
    }

    .product-card,
    .pricing-tier {
        scroll-snap-align: start;
    }

    .product-media {
        aspect-ratio: 1 / 1;
    }

    .product-media img {
        position: absolute;
        width: 100%;
        height: 100%;
        inset: 0;
        transform: none;
    }

    .product-media .primary {
        opacity: 0;
    }

    .product-media .hover,
    .product-card:hover .primary,
    .product-card:hover .hover,
    .product-card:hover .product-media .primary {
        opacity: 1;
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }

    .mobile-scroll-hint {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
