/* Palette drawn from the logo: blush pink, botanical green, warm cream. */
:root {
    --cream: #fbf6f1;
    --cream-deep: #f4ebe2;
    --blush: #f3d6d3;
    --blush-deep: #e7b7b2;
    --rose: #b5636a;
    --green: #2f5d46;
    --green-dark: #1f3f30;
    --green-soft: #e3ece5;
    --ink: #1f1a17;
    --muted: #6b605a;
    --white: #ffffff;
    --radius: 20px;
    --container-width: 1180px;
    --font-serif: "Fraunces", Georgia, serif;
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 20px 50px -25px rgba(31, 63, 48, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
    color: var(--green-dark);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--rose);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--white);
}

svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-ghost {
    border: 1.5px solid var(--green);
    color: var(--green);
}

.btn-ghost:hover {
    background: var(--green-soft);
}

.btn-light {
    background: var(--cream);
    color: var(--green-dark);
}

.btn-light:hover {
    background: var(--white);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 246, 241, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 63, 48, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--green-dark);
}

.brand img {
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--blush);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul a {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}

.main-nav ul a:hover {
    color: var(--green);
}

.cart-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--green-dark);
    font-size: 22px;
    transition: background-color 0.2s;
}

.cart-link:hover {
    background: var(--blush);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--rose);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: min(calc(100vh - 76px - 112px), 760px);
    padding: 40px 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -120px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blush) 0%, rgba(243, 214, 211, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 72px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero h1 em {
    color: var(--rose);
    font-style: italic;
}

.lede {
    max-width: 520px;
    margin: 22px 0 32px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-media {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 400px;
}

.arch {
    overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--blush);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 76px - 112px - 80px);
    min-height: 380px;
    margin: 0 auto;
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.badge {
    position: absolute;
    left: -40px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--green-dark);
    animation: float 6s ease-in-out infinite;
}

.badge svg {
    font-size: 28px;
    color: var(--green);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Highlights */
.highlights {
    background: var(--green-dark);
    color: var(--cream);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlight {
    padding: 28px 28px;
}

.highlight + .highlight {
    border-left: 1px solid rgba(251, 246, 241, 0.15);
}

.highlight h3 {
    color: var(--blush);
    font-size: 22px;
    margin-bottom: 4px;
}

.highlight p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Story + results */
.story {
    padding: 96px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 72px;
}

.story-copy h2 {
    margin-bottom: 20px;
}

.story-copy p {
    color: var(--muted);
}

.signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 26px;
    color: var(--rose) !important;
    margin: 20px 0 0;
}

.results {
    padding: 40px 44px;
    border-radius: 28px;
    background: var(--blush);
    background: linear-gradient(150deg, var(--blush) 0%, #f8e4e1 100%);
}

.results h3 {
    font-weight: 400;
    font-style: italic;
    font-size: 26px;
    margin-bottom: 12px;
}

.results ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.results li {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--green-dark);
}

.results li + li {
    border-top: 1px solid rgba(181, 99, 106, 0.25);
}

.results li span {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--rose);
}

/* Ingredients */
.ingredients {
    padding: 88px 0;
    background: var(--cream-deep);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head h2 {
    margin-bottom: 12px;
}

.section-head p:last-child {
    margin: 0;
    color: var(--muted);
}

.ingredient-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ingredient-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.ingredient-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.ingredient-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ingredient-card li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.ingredient-card li svg {
    color: var(--green);
    font-size: 14px;
}

/* CTA */
.cta {
    padding: 88px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(243, 214, 211, 0.35), transparent 45%),
        var(--green);
    max-width: calc(var(--container-width) - 48px);
}

.cta h2 {
    color: var(--cream);
    max-width: 560px;
}

/* Scroll reveal (only when JS is running) */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .hero-media.reveal,
.js .ingredient-card.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.js .ingredient-card.reveal:nth-child(3),
.js .results.reveal {
    transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .badge {
        animation: none;
    }
}

/* Footer */
.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--cream-deep);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer ul {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}

.site-footer ul a:hover {
    color: var(--green);
}

.copyright {
    flex-basis: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        min-height: 0;
        padding: 48px 0 72px;
    }

    .hero-media {
        max-width: 380px;
    }

    .arch {
        max-height: none;
    }

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

    .highlight:nth-child(3) {
        border-left: 0;
    }

    .highlight:nth-child(n + 3) {
        border-top: 1px solid rgba(251, 246, 241, 0.15);
    }

    .ingredient-groups {
        grid-template-columns: 1fr;
    }

    .story,
    .ingredients,
    .cta {
        padding: 72px 0;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 32px;
        margin: 0 24px;
        width: auto;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .main-nav ul li:not(:last-child) {
        display: none;
    }

    .main-nav,
    .main-nav ul {
        gap: 16px;
    }

    .brand {
        font-size: 19px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .badge {
        left: -8px;
        bottom: 24px;
    }

    .highlight {
        padding: 24px 16px;
    }

    .highlight h3 {
        font-size: 20px;
    }

    .results {
        padding: 32px 24px;
    }

    .results li {
        font-size: 21px;
    }

    .cta-inner {
        margin: 0 16px;
        padding: 40px 24px;
    }

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