/* ============================================
   WOLF FAMILY CANDY — PAGE TEMPLATES CSS
   Styles for individual pages (Our Story, Benefits,
   Science, Ingredients, Wholesale, FAQ, Contact)
   ============================================ */

/* ============================
   PAGE HERO (shared across all sub-pages)
   ============================ */
.page-hero {
    position: relative;
    min-height: min(60vh, 500px);
    display: flex;
    align-items: flex-end;
    padding: 0;
    text-align: left;
    overflow: hidden;
    background: center / cover no-repeat;
}

/* Gradient overlay for text readability */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(13, 6, 8, 0.15) 0%,
            rgba(13, 6, 8, 0.3) 40%,
            rgba(13, 6, 8, 0.75) 70%,
            rgba(13, 6, 8, 0.92) 100%);
    z-index: 0;
}

/* Per-page hero backgrounds */
.page-our-story .page-hero {
    background-image: url('../img/saffron-hero-1.jpg');
}

.page-benefits .page-hero {
    background-image: url('../img/saffron-hero-2.jpg');
}

.page-science .page-hero {
    background-image: url('../img/saffron-hero-1.jpg');
}

.page-ingredients .page-hero {
    background-image: url('../img/saffron-hero-3.jpg');
}

.page-wholesale .page-hero {
    background-image: url('../img/saffron-hero-4.jpg');
}

.page-faq .page-hero {
    background-image: url('../img/saffron-hero-2.jpg');
}

.page-contact .page-hero {
    background-image: url('../img/saffron-hero-4.jpg');
}

.page-hero-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 240px 2rem 3rem;
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.page-hero-sub {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    max-width: 600px;
}

/* Warm gold-orange gradient bleed from hero into first content section */
.page-hero+section:not(.science) {
    background: linear-gradient(180deg, rgba(224, 120, 48, 0.14) 0%, rgba(224, 120, 48, 0.04) 35%, transparent 65%);
}

/* ============================
   SECTION LINK (CTA arrow links on homepage)
   ============================ */
.section-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gold-light, #F0A060);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.section-link:hover {
    color: var(--gold, #E07830);
    transform: translateX(4px);
}

.section-cta-row {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================
   CTA BANNER (bottom of sub-pages)
   ============================ */
.cta-banner {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 26, 43, 0.25) 0%, rgba(107, 15, 30, 0.15) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    text-wrap: balance;
}

/* CTA banner button row — flex wrap with gap instead of margin-left hack */
.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 540px) {
    .cta-banner-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-banner-actions .btn-primary,
    .cta-banner-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ============================
   HOMEPAGE-SPECIFIC OVERRIDES
   Tighten section spacing when on the front page
   ============================ */
.page-home .story-section {
    padding: 4rem 2rem;
}

.page-home .story-section-alt {
    padding: 4rem 2rem;
}

.page-home .section-header {
    margin-bottom: 2.5rem;
}

/* Wholesale perks — spread evenly on homepage */
.page-home .partner-perks-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-home .partner-perks-horizontal .perk {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ============================
   STORY PAGE — Grid Layout
   ============================ */
.story-section {
    position: relative;
    padding: 5rem 2rem;
}

.story-section-alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.story-grid-reverse {
    direction: rtl;
}

.story-grid-reverse>* {
    direction: ltr;
}

.story-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-wrap: balance;
}

.story-content p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
}

.story-image img.render-img {
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

.story-image-badge {
    position: absolute;
    bottom: -16px;
    right: 20px;
    background: linear-gradient(135deg, var(--coral, #8B1A2B), var(--coral-deep, #6B0F1E));
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(139, 26, 43, 0.4);
}

.story-badge-year {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #fff;
}

.story-badge-loc {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

/* Story Values */
.story-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.story-value {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.story-value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.story-value strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.story-value p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin: 0;
}

/* ============================
   HOW IT WORKS (Benefits page)
   ============================ */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.hiw-step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.hiw-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral, #8B1A2B), var(--coral-deep, #6B0F1E));
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(139, 26, 43, 0.35);
}

.hiw-step h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.hiw-step p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================
   COMPARISON TABLE (Benefits page)
   ============================ */
.comparison-table {
    max-width: 750px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    gap: 0;
    background: rgba(139, 26, 43, 0.2);
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold-light, #F0A060);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    gap: 0;
    padding: 0.9rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-feature {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-us {
    color: var(--sage-light, #B0D4BD);
    font-size: 0.9rem;
}

.comparison-them {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* ============================
   COMPOUNDS GRID (Science page)
   ============================ */
.compounds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.compound-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.compound-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.compound-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.compound-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.compound-header h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.compound-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.compound-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compound-benefits li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.compound-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage, #7BA68D);
    font-weight: 700;
}

/* ============================
   RESEARCH CARDS (Science page)
   ============================ */
.research-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.research-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.research-card:hover {
    transform: translateX(4px);
    border-color: rgba(139, 26, 43, 0.3);
}

.research-stat {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--gold, #E07830);
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    line-height: 1;
    padding-top: 0.25rem;
}

.research-content h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.research-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.research-content cite {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ============================
   BENEFIT SVG ICONS (Benefits page)
   ============================ */
.benefit-svg-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(224, 120, 48, 0.1);
    border: 1px solid rgba(224, 120, 48, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light, #F0A060);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.science-research-card:hover .benefit-svg-icon {
    background: rgba(224, 120, 48, 0.18);
    border-color: rgba(224, 120, 48, 0.35);
}

/* 3-column grid on Benefits page (6 cards fit better as 3x2) */
.benefits-research-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

@media (max-width: 900px) {
    .benefits-research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-research-grid {
        grid-template-columns: 1fr;
    }
}

/* Larger icon variant for big cards */
.benefit-svg-icon-lg {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

/* ============================
   BENEFITS v2 — STAT STRIP
   ============================ */
.benefits-stats-strip {
    position: relative;
    padding: 2rem 2rem;
    background: rgba(139, 26, 43, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tighten all section spacing on benefits page */
.page-benefits .story-section {
    padding: 3.5rem 2rem;
}

.page-benefits .story-section-alt {
    padding: 3.5rem 2rem;
}

.page-benefits .section-header {
    margin-bottom: 2rem;
}

.page-benefits .cta-banner {
    padding: 3.5rem 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-divider {
    display: none;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-light, #F0A060);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    /* Prevent long labels from orphaning a single word */
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}



/* ============================
   BENEFITS v2 — FEATURED CARD
   ============================ */
.benefit-featured-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.benefit-featured-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral-light, #C4485A), var(--gold-light, #F0A060));
}

.benefit-featured-card:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.benefit-featured-content {
    flex: 1;
}

.benefit-featured-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.25;
    text-wrap: balance;
}

.benefit-featured-content p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.benefit-featured-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.benefit-featured-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-featured-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 120, 48, 0.18), rgba(139, 26, 43, 0.12));
    border: 1px solid rgba(224, 120, 48, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light, #F0A060);
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(224, 120, 48, 0.1);
    }

    50% {
        box-shadow: 0 0 50px rgba(224, 120, 48, 0.2);
    }
}

/* ============================
   BENEFITS v2 — ASYMMETRIC GRID
   ============================ */
.benefits-asym-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.benefits-card-large {
    display: flex;
    flex-direction: column;
}

.benefits-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================
   BENEFITS v2 — HORIZONTAL HIGHLIGHT ROW
   ============================ */
.benefit-highlight-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.benefit-highlight-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.benefit-highlight-row-reverse {
    flex-direction: row-reverse;
}

.benefit-highlight-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(224, 120, 48, 0.1);
    border: 1px solid rgba(224, 120, 48, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light, #F0A060);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.benefit-highlight-row:hover .benefit-highlight-icon {
    background: rgba(224, 120, 48, 0.18);
}

.benefit-highlight-content {
    flex: 1;
}

.benefit-highlight-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.25;
    text-wrap: balance;
}

.benefit-highlight-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ============================
   BENEFITS v2 — TIMELINE
   ============================ */
.benefits-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
}

.timeline-marker span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral, #8B1A2B), var(--coral-deep, #6B0F1E));
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(139, 26, 43, 0.35);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(139, 26, 43, 0.4), rgba(139, 26, 43, 0.08));
    margin-top: 0.5rem;
}

.timeline-content {
    padding-bottom: 1.75rem;
}

.timeline-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.65rem;
    margin-top: 0.8rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ============================
   BENEFITS v2 — COMPARISON CARDS
   ============================ */
.comparison-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
}

.comparison-card-us {
    background: rgba(123, 166, 141, 0.08);
    border: 1px solid rgba(123, 166, 141, 0.2);
}

.comparison-card-them {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.cmp-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(123, 166, 141, 0.15);
    color: var(--sage, #7BA68D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cmp-x {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ============================
   BENEFITS v2 — RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        min-width: unset;
    }

    .page-benefits .story-section,
    .page-benefits .story-section-alt {
        padding: 2.5rem 1.25rem;
    }

    .benefit-featured-card {
        flex-direction: column;
        padding: 1.75rem;
        text-align: center;
        gap: 1.5rem;
    }

    .benefit-featured-links {
        justify-content: center;
    }

    .benefit-featured-icon {
        width: 90px;
        height: 90px;
    }

    .benefit-featured-icon svg {
        width: 44px;
        height: 44px;
    }

    .benefits-asym-grid {
        grid-template-columns: 1fr;
    }

    .benefit-highlight-row,
    .benefit-highlight-row-reverse {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }

    .comparison-cards-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        gap: 1.25rem;
    }
}

/* ============================
   SCIENCE RESEARCH GRID v1.1
   ============================ */
.science-research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.science-research-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.science-research-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral-light, #C4485A), var(--gold-light, #F0A060));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.science-research-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.14);
}

.science-research-card:hover::after {
    transform: scaleX(1);
}

.science-research-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.25;
    text-wrap: balance;
}

.science-research-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.science-research-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-light, #F0A060);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-bottom: 0.85rem;
}

.science-research-link:hover {
    color: var(--gold, #E07830);
    transform: translateX(3px);
}

.science-research-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.science-research-link:hover svg {
    opacity: 1;
}

.science-research-cite {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* FDA Disclaimer */
.science-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* ============================
   INGREDIENT DETAIL GRID (Ingredients page)
   ============================ */
.ingredient-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ingredient-detail-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ingredient-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.ingredient-detail-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ingredient-detail-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.ingredient-amount {
    font-size: 0.78rem;
    color: var(--gold-light, #F0A060);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.ingredient-detail-card p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* LEAVE OUT GRID */
.leave-out-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.leave-out-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    transition: border-color 0.3s ease;
}

.leave-out-item:hover {
    border-color: rgba(139, 26, 43, 0.3);
}

/* ============================
   FAQ (FAQ page)
   ============================ */
.faq-category {
    margin-bottom: 3.5rem;
}

.faq-category-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 26, 43, 0.25);
}

.faq-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;
}

/* ============================
   CONTACT METHODS (Contact page)
   ============================ */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================
   WHOLESALE PREVIEW (homepage condensed wholesale)
   ============================ */
.wholesale-preview {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.partner-perks-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partner-perks-horizontal .perk {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.partner-perks-horizontal .perk-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.partner-perks-horizontal .perk-text h4 {
    text-align: center;
}

.partner-perks-horizontal .perk-text p {
    text-align: center;
}

/* ============================
   RESPONSIVE — Sub-pages
   ============================ */
@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .story-grid-reverse {
        direction: ltr;
    }

    .story-values {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .compounds-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .leave-out-grid {
        grid-template-columns: 1fr 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 0.8fr 1fr 1fr;
        font-size: 0.82rem;
        padding: 0.75rem 1rem;
    }

    .partner-perks-horizontal {
        grid-template-columns: 1fr;
    }

    .research-card {
        flex-direction: column;
        gap: 1rem;
    }

    .research-stat {
        width: auto;
        text-align: left;
    }

    .science-research-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 400px;
    }

    .page-hero-inner {
        padding: 160px 1.5rem 2.5rem;
    }

    .page-hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    /* Page hero subtitle: let it reflow naturally */
    .page-hero-sub {
        max-width: 100%;
    }

    /* Section link: tighter top margin at small size */
    .section-link {
        margin-top: 1rem;
    }

    .story-section {
        padding: 3rem 1.5rem;
    }

    .ingredient-detail-grid {
        grid-template-columns: 1fr;
    }

    .leave-out-grid {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .comparison-feature {
        padding-bottom: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .story-image-badge {
        display: none;
    }
}

/* ============================
   WHOLESALE v1.1 — OVERRIDES
   ============================ */

/* SVG icon coloring inside perk-icon boxes */
.page-wholesale .perk-icon {
    color: var(--gold-light, #F0A060);
}

.page-wholesale .perk-icon svg {
    flex-shrink: 0;
}

/* Tighten wholesale section padding */
.page-wholesale .wholesale {
    padding: 4rem 2rem 2.5rem;
}

.page-wholesale .story-section,
.page-wholesale .story-section-alt {
    padding: 2.5rem 2rem;
}

.page-wholesale .cta-banner {
    padding: 3.5rem 2rem;
}

/* Ideal partner callout */
.wholesale-ideal-partners {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-style: italic;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

/* Backlinks section */
.wholesale-backlinks {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive wholesale */
@media (max-width: 768px) {
    .page-wholesale .wholesale {
        padding: 3rem 1.25rem;
    }

    .page-wholesale .story-section,
    .page-wholesale .story-section-alt {
        padding: 2.5rem 1.25rem;
    }
}

/* ============================
   HOMEPAGE v2 — OVERRIDES (Premium Editorial Spacing)
   ============================ */

/* Generous, premium breathing room for sections - Anthropic best practice */
.page-home .story-section {
    padding: 7rem 2rem;
}

.page-home .story-section-alt {
    padding: 7rem 2rem;
}

.page-home .section-header {
    margin-bottom: 3.5rem;
}

.page-home .cta-banner {
    padding: 7rem 2rem;
}

/* Enhanced typography readability */
.page-home .section-subtitle,
.page-home .hero-sub,
.page-home p {
    line-height: 1.8;
}

/* 3-column grid for condensed homepage benefit / science cards */
.home-benefits-grid,
.home-science-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    gap: 2.5rem;
}

/* Custom price text sizing */
.price-custom {
    font-size: 2.2rem !important;
}

/* Wholesale perk icons on homepage */
.page-home .perk-icon {
    color: var(--gold-light, #F0A060);
}

.page-home .perk-icon svg {
    flex-shrink: 0;
}

/* Responsive — Homepage grids */
@media (max-width: 1024px) {

    .page-home .story-section,
    .page-home .story-section-alt {
        padding: 5.5rem 2rem;
    }

    .page-home .cta-banner {
        padding: 5.5rem 2rem;
    }
}

@media (max-width: 900px) {

    .home-benefits-grid,
    .home-science-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {

    .home-benefits-grid,
    .home-science-grid {
        grid-template-columns: 1fr;
    }

    /* Center the wholesale backlinks row on mobile */
    .wholesale-backlinks {
        justify-content: center;
    }

    .page-home .story-section,
    .page-home .story-section-alt,
    .page-home .cta-banner {
        padding: 4rem 1.5rem;
    }

    .page-home .section-header {
        margin-bottom: 2rem;
    }
}

/* -- Tiny phones (≤480px) -- */
@media (max-width: 480px) {

    /* Page hero inner: tighter padding on very small screens */
    .page-hero-inner {
        padding: 140px 1.25rem 2rem;
    }

    /* Research cards: reduce padding */
    .research-card {
        padding: 1.25rem;
    }

    /* Homepage sections: slightly less padding */
    .page-home .story-section,
    .page-home .story-section-alt,
    .page-home .cta-banner {
        padding: 3.5rem 1.25rem;
    }
}

/* ============================
   NATIVE CONTACT / WHOLESALE FORMS (.wfc-form)
   Premium dark-glass aesthetic
   ============================ */

/* ── Form container ────────────────────────── */
.wfc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

/* ── Each label + input group ──────────────── */
.wfc-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

/* ── Labels ────────────────────────────────── */
.wfc-form label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

/* Focus-within: highlight label */
.wfc-form-row:focus-within label {
    color: var(--gold-light, #F0A060);
}

/* "optional" tag */
.wfc-optional {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.32);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 0.3rem;
}

/* Required asterisk */
.wfc-form label span[aria-hidden="true"] {
    color: var(--coral-light, #C4485A);
    margin-left: 0.15rem;
    font-weight: 700;
}

/* ── Inputs & Textareas ────────────────────── */
.wfc-form input[type="text"],
.wfc-form input[type="email"],
.wfc-form input[type="tel"],
.wfc-form textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* Placeholder */
.wfc-form input::placeholder,
.wfc-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

/* ── Focus States (gold ring + glow) ───────── */
.wfc-form input:focus,
.wfc-form textarea:focus {
    border-color: var(--gold-light, #F0A060);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 3px rgba(240, 160, 96, 0.15),
        0 4px 16px rgba(240, 160, 96, 0.06);
}

/* ── Hover States ──────────────────────────── */
.wfc-form input:hover:not(:focus),
.wfc-form textarea:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* ── Validation error highlight ────────────── */
.wfc-form input.wfc-field-error,
.wfc-form textarea.wfc-field-error {
    border-color: rgba(200, 60, 80, 0.65);
    box-shadow: 0 0 0 3px rgba(200, 60, 80, 0.12);
    animation: wfc-shake 0.4s ease;
}

@keyframes wfc-shake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-4px); }
    40%      { transform: translateX(4px); }
    60%      { transform: translateX(-3px); }
    80%      { transform: translateX(2px); }
}

/* ── Textarea specifics ────────────────────── */
.wfc-form textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

/* ── Submit button row ─────────────────────── */
.wfc-form-footer {
    display: flex;
    align-items: center;
    margin-top: 0.75rem;
}

/* Submit button — inherits btn-primary but enhanced */
.wfc-submit-btn {
    width: auto;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Shimmer hover effect on submit */
.wfc-submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.wfc-submit-btn:hover::after {
    left: 100%;
}

.wfc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 26, 43, 0.4);
}

.wfc-submit-btn:active {
    transform: translateY(0);
}

/* Disabled state (during submission) */
.wfc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 540px) {
    .wfc-submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Status messages ───────────────────────── */
.wfc-form-status {
    display: block;
    font-size: 0.9rem;
    line-height: 1.6;
    border-radius: 12px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.wfc-form-status:empty {
    display: none;
}

/* Success */
.wfc-form-status--success {
    padding: 1rem 1.25rem;
    background: rgba(80, 180, 120, 0.1);
    border: 1px solid rgba(80, 180, 120, 0.25);
    color: #9de8bc;
    animation: wfc-fadeIn 0.4s ease;
}

.wfc-form-status--success::before {
    content: '✓  ';
    font-weight: 700;
    font-size: 1.1em;
}

/* Error */
.wfc-form-status--error {
    padding: 1rem 1.25rem;
    background: rgba(200, 60, 80, 0.08);
    border: 1px solid rgba(200, 60, 80, 0.22);
    color: #f4a0aa;
    animation: wfc-fadeIn 0.4s ease;
}

.wfc-form-status--error::before {
    content: '⚠  ';
    font-weight: 700;
    font-size: 1.1em;
}

@keyframes wfc-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Autofill fix (prevent white bg on autofill) ── */
.wfc-form input:-webkit-autofill,
.wfc-form input:-webkit-autofill:hover,
.wfc-form input:-webkit-autofill:focus,
.wfc-form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(20, 15, 15, 1) inset !important;
    -webkit-text-fill-color: #fff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transition: background-color 9999s ease-in-out 0s;
}