/* ─── Editorial Hero ─────────────────────────────────────────── */
.hero--editorial {
    position: relative;
    min-height: var(--hero-min);
    min-height: 85dvh;
    padding-top: var(--header-height);
    background: var(--color-cream);
    overflow: hidden;
    --hero-inset: clamp(var(--space-10), 5vw, var(--space-20));
    --hero-min: 85vh;
    --hero-content-max: 1200px;
    --hero-inner-width: min(var(--hero-content-max), 100vw);
    --hero-grid-width: calc(var(--hero-inner-width) - 2 * var(--container-padding));
    --hero-split-x: calc(
        (100vw - var(--hero-inner-width)) / 2
        + var(--container-padding)
        + var(--hero-grid-width) * 7 / 12
    );
    --hero-inner-offset: calc((100vw - var(--hero-inner-width)) / 2);
}

@media (max-width: 767px) {
    .hero--editorial {
        display: flex;
        flex-direction: column;
        /* Cream under header/copy; panel-stage supplies pink for the logo block */
        background:
            linear-gradient(135deg, var(--color-pink-mid) 0%, transparent 45%),
            var(--color-cream);
        overflow-x: clip;
        overflow-y: visible;
    }

    .hero__inner {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        /* No horizontal padding — panel is naturally full-bleed */
        padding-inline: 0;
        padding-top: 0;
        padding-bottom: 0;
        min-height: calc(85dvh - var(--header-height));
    }

    .hero__copy {
        flex: 0 0 auto;
        padding-top: var(--hero-inset);
        /* Restore side inset that hero__inner no longer provides */
        padding-inline: calc(var(--container-padding) + var(--hero-inset));
    }

    .hero__panel-stage {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .hero__panel-bg {
        inset: 0;
        left: 0;
        right: 0;
        z-index: 0;
    }

}

/* Full-width split backgrounds (desktop) */
@media (min-width: 768px) {
    .hero--editorial::before {
        content: '';
        position: absolute;
        z-index: 0;
        top: var(--header-height);
        bottom: 0;
        left: 0;
        width: var(--hero-split-x);
        background:
            linear-gradient(135deg, var(--color-pink-mid) 0%, transparent 45%),
            var(--color-cream);
        pointer-events: none;
    }

    .hero--editorial::after {
        content: '';
        position: absolute;
        z-index: 0;
        top: var(--header-height);
        bottom: 0;
        left: var(--hero-split-x);
        right: 0;
        background: var(--gradient-hero-panel);
        pointer-events: none;
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    max-width: var(--hero-content-max);
    width: 100%;
    min-height: calc(var(--hero-min) - var(--header-height) - 2 * var(--hero-inset) - var(--space-16));
    min-height: calc(85dvh - var(--header-height) - 2 * var(--hero-inset) - var(--space-16));
    margin-inline: auto;
    padding-top: var(--hero-inset);
    /* Extra bottom space so overlap from products section still leaves hero-inset visible */
    padding-bottom: calc(var(--hero-inset) + var(--space-16));
    padding-inline: var(--container-padding);
}

@media (min-width: 768px) {
    .hero__inner {
        grid-template-columns: 7fr 5fr;
        align-items: stretch;
        /* Fill full hero content height so the right panel motif can cover it */
        min-height: calc(var(--hero-min) - var(--header-height));
        min-height: calc(85dvh - var(--header-height));
    }
}

/* Mobile: must follow base .hero__inner so padding/min-height overrides win */
@media (max-width: 767px) {
    .hero__inner {
        padding-top: 0;
        padding-bottom: 0;
        padding-inline: 0;
        min-height: calc(85dvh - var(--header-height));
    }
}

/* Copy column */
.hero__copy {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: var(--hero-inset);
    text-align: left;
    background: transparent;
}

/* Full-bleed copy background — covers copy column including top padding on mobile */
.hero__copy::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background:
        linear-gradient(135deg, var(--color-pink-mid) 0%, transparent 45%),
        var(--color-cream);
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero__copy {
        min-height: 100%;
    }

    .hero__copy::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero__copy {
        padding-top: var(--hero-inset);
        padding-inline: calc(var(--container-padding) + var(--hero-inset));
    }
}

/* Category label row */
.hero__label-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.hero__label-line {
    display: block;
    width: 2.5rem;
    height: 2px;
    background: var(--color-primary);
    flex-shrink: 0;
    border-radius: var(--radius-pill);
}

.hero__label {
    font-family: var(--font-body);
    font-size: var(--text-label);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* Headline */
.hero__headline {
    margin-bottom: var(--space-6);
}

.hero__mission {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    line-height: var(--line-height-display);
    letter-spacing: var(--letter-tight);
}

.hero__mission-word {
    color: var(--color-ink);
    display: block;
}

.hero__mission-word--accent {
    color: var(--color-primary);
}

.hero__sub {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.25vw + 0.875rem, 1.25rem);
    font-weight: 400;
    color: var(--color-muted);
    max-width: 30rem;
    margin-bottom: var(--space-10);
    line-height: var(--line-height-body);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Grid spacer — reserves right column on desktop */
.hero__panel-spacer {
    display: none;
}

@media (min-width: 768px) {
    .hero__panel-spacer {
        display: block;
        min-height: 100%;
    }
}

/* Logo stage — full right panel on desktop, stacked block on mobile */
.hero__panel-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: visible;
    min-height: clamp(20rem, 50vw, 28rem);
    padding: var(--hero-inset) 0;
}

@media (min-width: 768px) {
    .hero__panel-stage {
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(var(--hero-split-x) - var(--hero-inner-offset));
        right: calc(-1 * var(--hero-inner-offset));
        width: auto;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }
}

/* Mobile panel: fit full logo above products overlap (must follow base rule) */
@media (max-width: 767px) {
    .hero__panel-stage {
        overflow: hidden;
        /* Tall enough for logo + padding; bottom pad absorbs products margin-top overlap */
        min-height: clamp(30rem, 90vw, 38rem);
        padding-top: var(--space-8);
        padding-bottom: calc(var(--space-16) + var(--space-6));
    }

    .hero__actions {
        margin-bottom: var(--space-10);
    }
}

/* Full-bleed panel background (mobile only — desktop uses hero::after) */
.hero__panel-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background: var(--gradient-hero-panel);
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero__panel-bg {
        display: none;
    }
}

.hero__logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 18rem);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 16px 40px rgba(var(--ink-rgb), 0.1));
}

@media (max-width: 767px) {
    .hero__logo {
        flex-shrink: 0;
        width: min(82%, 16.5rem);
        /* Keep tent clear of the products-section overlap (half of prior space-8) */
        margin-bottom: var(--space-4);
    }
}

@media (min-width: 768px) {
    .hero__logo {
        width: min(100%, 22rem);
        transform: translateY(-1.5rem);
    }
}

/* Hero enter animations */
@keyframes heroEnter {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__enter {
    opacity: 0;
    animation: heroEnter 0.7s var(--ease-smooth) forwards;
}

.hero__enter--1 { animation-delay: 0.05s; }
.hero__enter--2 { animation-delay: 0.2s;  }
.hero__enter--3 { animation-delay: 0.35s; }
.hero__enter--4 { animation-delay: 0.5s;  }
.hero__enter--5 { animation-delay: 0.1s;  }

@media (prefers-reduced-motion: reduce) {
    .hero__enter { opacity: 1; animation: none; }
}


/* ─── Products Section ───────────────────────────────────────── */
.products-section {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--space-16) * -1);
    background: var(--surface-products);
    color: var(--color-ink);
    border-radius: 2rem 2rem 0 0;
    padding-top: calc(var(--section-gap) + var(--space-8));
    overflow: hidden;
}

@media (max-width: 767px) {
    .products-section {
        /* Flush edge; less overlap so the tent logo isn’t clipped */
        border-radius: 0;
        margin-top: calc(var(--space-10) * -1);
    }
}

.products-section__intro {
    margin-bottom: var(--space-12);
}

.products-section__label-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.products-section__label-line {
    display: block;
    width: 2.5rem;
    height: 2px;
    background: var(--color-primary);
    flex-shrink: 0;
    border-radius: var(--radius-pill);
}

.products-section__eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-label);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.products-section__intro-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 36rem;
}

.products-section__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: var(--letter-tight);
    line-height: var(--line-height-display);
    color: var(--color-ink);
    margin-bottom: 0;
}

.products-section__desc {
    color: var(--color-muted);
    max-width: 36rem;
    font-size: 18px;
    line-height: var(--line-height-body);
}

@media (min-width: 640px) {
    .products-section__intro-grid {
        max-width: none;
    }

    .products-section__desc {
        max-width: 42rem;
    }
}

.products-section__footer {
    margin-top: var(--space-10);
    text-align: center;
}

.products-section__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-ink);
    border: 2px solid var(--color-ink);
    border-radius: 2px;
    transition: background var(--transition), color var(--transition);
}

.products-section__link:hover {
    background: var(--color-ink);
    color: var(--color-white);
}


/* ─── Promise Section ────────────────────────────────────────── */
.promise-section {
    position: relative;
    background: var(--surface-promise);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
    padding-bottom: calc(var(--section-gap) * 0.7);
}

.promise-section__header {
    margin-bottom: var(--space-12);
    text-align: left;
}

@media (min-width: 768px) {
    .promise-section__header {
        text-align: center;
        max-width: 42rem;
        margin-inline: auto;
    }
}

.promise-section__motif {
    display: flex;
    margin-bottom: var(--space-4);
    opacity: 0.85;
}

@media (min-width: 768px) {
    .promise-section__motif {
        justify-content: center;
    }
}

.promise-section__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: var(--letter-tight);
    color: var(--color-ink);
    margin-bottom: var(--space-3);
}

.promise-section__subtitle {
    font-size: var(--text-body);
    color: var(--color-muted);
    line-height: var(--line-height-body);
}

.promise-steps {
    list-style: none;
    display: grid;
    gap: var(--space-10);
    position: relative;
}

@media (min-width: 768px) {
    .promise-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
        align-items: stretch;
    }

    .promise-steps::before {
        content: '';
        position: absolute;
        top: 3.2rem;
        left: 10%;
        right: 10%;
        height: 1px;
        border-top: 1px dashed var(--color-border);
        z-index: 0;
    }
}

.promise-step {
    position: relative;
    z-index: 1;
    padding: var(--space-5) var(--space-4) var(--space-5) var(--space-6);
    border-left: 3px solid var(--color-primary);
}

@media (min-width: 768px) {
    .promise-step {
        padding: var(--space-10) var(--space-8);
        border-left: none;
        border-top: 3px solid var(--color-primary);
        text-align: center;
        background: var(--color-white);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-soft);
    }
}

.promise-step__num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    line-height: 1;
}

@media (min-width: 768px) {
    .promise-step__num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        margin-inline: auto;
        margin-bottom: var(--space-6);
        background: var(--color-white);
        border: 2px solid var(--color-primary);
        border-radius: 50%;
        font-size: var(--text-small);
        font-weight: 700;
    }
}

.promise-step__title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 600;
    letter-spacing: var(--letter-tight);
    color: var(--color-ink);
    margin-bottom: var(--space-3);
}

.promise-step__text {
    font-size: var(--text-small);
    color: var(--color-muted);
    line-height: 1.7;
}


/* ─── Newsletter ─────────────────────────────────────────────── */
.newsletter--inset {
    position: relative;
    padding-block: calc(var(--section-gap) * 0.65);
    background-color: var(--surface-newsletter);
    overflow: hidden;
}

.newsletter__card {
    position: relative;
    max-width: 52rem;
    margin-inline: auto;
    padding: var(--space-6) var(--space-5);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: 1rem;
    box-shadow: 0 8px 28px rgba(var(--ink-rgb), 0.06);
    text-align: center;
}

/* Decorative rings — grey */
.newsletter__card::before {
    content: '';
    position: absolute;
    width: clamp(6rem, 12vw, 9rem);
    height: clamp(6rem, 12vw, 9rem);
    bottom: -3rem;
    left: -3rem;
    border-radius: 50%;
    border: 2px solid rgba(var(--ink-rgb), 0.08);
    pointer-events: none;
}

.newsletter__card::after {
    content: '';
    position: absolute;
    width: clamp(10rem, 22vw, 16rem);
    height: clamp(10rem, 22vw, 16rem);
    top: -4rem;
    right: -4rem;
    border-radius: 50%;
    border: 2px solid rgba(var(--ink-rgb), 0.08);
    pointer-events: none;
}

@media (min-width: 640px) {
    .newsletter__card {
        padding: var(--space-8);
    }
}

.newsletter__perks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.newsletter__perk {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.newsletter__perk-dot {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.newsletter--inset .newsletter__title {
    font-size: var(--text-h3);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-ink);
    margin-bottom: var(--space-1);
}

.newsletter--inset .newsletter__sub {
    color: var(--color-muted);
    margin-bottom: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.newsletter--inset .newsletter__form {
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .newsletter--inset .newsletter__form {
        flex-direction: row;
    }
}

.newsletter--inset .newsletter__form .btn--primary {
    padding: 0.6875rem 1.25rem;
    font-size: 0.8125rem;
}

.newsletter--inset .newsletter__input {
    flex: 1;
    width: 100%;
    padding: 0.6875rem 0.875rem;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 600;
    border-radius: 2px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter--inset .newsletter__input:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}

.newsletter--inset .newsletter__message {
    color: var(--color-primary);
    margin-top: var(--space-4);
    font-size: var(--text-small);
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition);
}

.newsletter--inset .newsletter__message.is-visible {
    opacity: 1;
}

/* -------------------------------------------------------------------------
   Home reviews
   ------------------------------------------------------------------------- */

.reviews-section {
    background: var(--color-cream);
    padding-top: calc(var(--section-gap) * 0.7);
}

.reviews-section__intro {
    max-width: 36rem;
    margin-bottom: var(--space-8);
}

.reviews-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
    margin: 0.5rem 0;
    letter-spacing: var(--letter-tight);
}

.reviews-section__desc,
.reviews-section__empty {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.55;
}

.reviews-flash {
    margin-bottom: var(--space-5);
}

.reviews-flash__ok,
.reviews-flash__err {
    margin: 0 0 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.reviews-flash__ok {
    background: rgba(46, 125, 50, 0.1);
    color: #1b5e20;
}

.reviews-flash__err {
    background: rgba(237, 28, 36, 0.08);
    color: var(--color-primary-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-card__stars {
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.18);
    font-size: 0.95rem;
}

.review-card__stars .is-on {
    color: var(--color-primary);
}

.review-card__body {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-ink);
    flex: 1;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.review-card__meta strong {
    color: var(--color-ink);
    font-size: 0.8125rem;
}

.review-form-card {
    max-width: 28rem;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background: var(--color-white);
}

.review-form-card__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.review-form-card__hint {
    margin: 0 0 var(--space-5);
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.review-form__row {
    margin-bottom: var(--space-4);
}

.review-form__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.review-form__control {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 0.4rem;
    background: var(--color-cream);
    color: var(--color-ink);
    font: inherit;
}

.review-form__control:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}

.review-form .btn--primary {
    margin-top: 0.25rem;
}

