/* ============================================================
   NUTRIPOP — Master Stylesheet
   Self-contained. No Tailwind. No Google Fonts.
   ============================================================ */

/* ── Fonts (self-hosted system stack substitution) ──────────── */
:root {
    --font-sans:   'Segoe UI', Helvetica, Arial, sans-serif;
    --font-serif:  Georgia, 'Times New Roman', serif;

    /* Brand */
    --brand-yellow:  #ffb703;
    --brand-orange:  #ff7b00;
    --brand-green:   #22c55e;
    --brand-silver:  #a0aec0;

    /* Backgrounds */
    --bg-base:       #0b0b0d;
    --bg-dark:       #08080a;
    --bg-card:       #161618;
    --bg-input:      #1c1c1f;
    --bg-section:    #0e0e10;

    /* Text */
    --text-white:    #f3f4f6;
    --text-muted:    #9ca3af;
    --text-faint:    #6b7280;
    --text-dimmer:   #4b5563;

    /* Borders */
    --border-faint:  rgba(255,255,255,0.05);
    --border-soft:   rgba(255,255,255,0.1);
    --border-mid:    rgba(255,255,255,0.15);

    /* Misc */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;

    --transition-base: 0.3s ease;
    --transition-slow: 0.7s ease;
    --shadow-brand: 0 20px 60px rgba(255,120,0,0.15);
    --shadow-green: 0 20px 60px rgba(34,197,94,0.12);
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-yellow); }

/* ── Typography helpers ──────────────────────────────────────── */
.font-serif { font-family: var(--font-serif); }

.logo-gradient {
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metallic-text {
    background: linear-gradient(135deg, #94a3b8, #e2e8f0, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Glow variants */
.glow-spice {
    color: #ffd166;
    text-shadow: 0 0 15px rgba(255,120,0,0.9), 0 0 35px rgba(255,60,0,0.6);
}
.glow-tea {
    color: #d1ffd6;
    text-shadow: 0 0 15px rgba(34,197,94,0.9), 0 0 35px rgba(21,128,61,0.6);
}
.glow-nuts {
    color: #ffecd1;
    text-shadow: 0 0 15px rgba(251,191,36,0.8), 0 0 35px rgba(180,83,9,0.5);
}
.glow-chef {
    color: #e2e8f0;
    text-shadow: 0 0 15px rgba(148,163,184,0.9), 0 0 35px rgba(30,41,59,0.7);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: #000;
    font-family: var(--font-sans);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-brand:hover { transform: scale(1.05); }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
    position: fixed;
    width: 100%;
    z-index: 50;
    padding: 20px 32px;
    border-bottom: 1px solid transparent;
    transition: all 0.5s ease;
    background: rgba(11,11,13,0.95);
    backdrop-filter: blur(20px);
}
.nav.scrolled {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(24px);
    border-bottom-color: rgba(255,255,255,0.1);
    padding-top: 12px;
    padding-bottom: 12px;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo-icon {
    background: #ea580c;
    color: #fff;
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(234,88,12,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-white);
    transition: color var(--transition-base);
}
.nav-link:hover { color: var(--brand-yellow); }
.nav-link.active-page { color: var(--brand-yellow); }
.nav-link.active-green { color: var(--brand-green); }
.nav-link.active-silver { color: var(--brand-silver); }

.nav-mobile-btn {
    display: none;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(24px);
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu-link {
    font-size: 1.125rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-white);
    transition: color var(--transition-base);
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover { color: var(--brand-yellow); }
.mobile-menu-link.active-page { color: var(--brand-yellow); }
.mobile-menu-link.active-green { color: var(--brand-green); }
.mobile-menu-link.active-silver { color: var(--brand-silver); }

/* ── Layout Utilities ────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.container-md {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 16px;
}
.container-lg {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

.section { padding: 96px 16px; }
.section-sm { padding: 64px 16px; }
.section-lg { padding: 128px 16px; }

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-sm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Flex helpers */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2  { gap: 8px; }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }

/* Spacing */
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-5  { margin-bottom: 20px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-14 { margin-bottom: 56px; }
.mb-16 { margin-bottom: 64px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4  { padding: 16px; }
.p-6  { padding: 24px; }
.p-7  { padding: 28px; }
.p-8  { padding: 32px; }
.p-10 { padding: 40px; }
.px-4  { padding-left: 16px; padding-right: 16px; }
.px-5  { padding-left: 20px; padding-right: 20px; }
.px-6  { padding-left: 24px; padding-right: 24px; }
.px-8  { padding-left: 32px; padding-right: 32px; }
.px-10 { padding-left: 40px; padding-right: 40px; }
.py-2  { padding-top: 8px; padding-bottom: 8px; }
.py-3  { padding-top: 12px; padding-bottom: 12px; }
.py-4  { padding-top: 16px; padding-bottom: 16px; }
.py-5  { padding-top: 20px; padding-bottom: 20px; }
.py-6  { padding-top: 24px; padding-bottom: 24px; }

/* Text sizes */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }

/* Font weight */
.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }

/* Text colours */
.text-white    { color: #fff; }
.text-muted    { color: var(--text-muted); }
.text-faint    { color: var(--text-faint); }
.text-dimmer   { color: var(--text-dimmer); }
.text-yellow   { color: var(--brand-yellow); }
.text-orange   { color: var(--brand-orange); }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-green    { color: var(--brand-green); }
.text-green-500 { color: #22c55e; }
.text-silver   { color: var(--brand-silver); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

/* Text align */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Text transform */
.uppercase    { text-transform: uppercase; }
.italic       { font-style: italic; }
.tracking-wide    { letter-spacing: 0.05em; }
.tracking-wider   { letter-spacing: 0.1em; }
.tracking-widest  { letter-spacing: 0.2em; }
.tracking-brand   { letter-spacing: 0.3em; }
.leading-relaxed  { line-height: 1.75; }

/* ── Hero Slider ─────────────────────────────────────────────── */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}
#hero-slider {
    position: absolute;
    inset: 0;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}
.slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }

.slide-overlay {
    position: absolute;
    inset: 0;
}
.overlay-spice { background: linear-gradient(to right, rgba(20,0,0,0.9), transparent); }
.overlay-tea   { background: linear-gradient(to right, rgba(0,20,5,0.9), transparent); }
.overlay-nuts  { background: linear-gradient(to right, rgba(25,15,0,0.9), transparent); }
.overlay-chef  { background: linear-gradient(to right, rgba(10,10,15,0.95), transparent); }

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
}
.slide-text { max-width: 672px; }

.slide-indicators {
    position: absolute;
    bottom: 48px;
    right: 48px;
    display: flex;
    gap: 12px;
    z-index: 30;
}
.slide-dot {
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.3);
    width: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
}
.slide-dot.active {
    background: var(--brand-yellow);
    width: 48px;
}

/* ── Loader ──────────────────────────────────────────────────── */
.loader-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 5;
    transition: opacity 0.5s ease;
}
.loaded .loader-container { opacity: 0; pointer-events: none; }

.spinner {
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
    animation: spin 0.8s linear infinite;
}
.spinner-sm  { width: 24px; height: 24px; border-width: 2px; }
.spinner-md  { width: 40px; height: 40px; border-width: 2px; }
.spinner-lg  { width: 40px; height: 40px; border-width: 4px; }
.spinner-orange { border-top-color: #f97316; }
.spinner-green  { border-top-color: var(--brand-green); }
.spinner-yellow { border-top-color: #eab308; }
.spinner-slate  { border-top-color: #94a3b8; }
.spinner-brand  { border-top-color: var(--brand-orange); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Product Category Cards ──────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.cat-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    display: block;
    transition: all var(--transition-base);
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    opacity: 0.6;
}
.cat-card:hover img { transform: scale(1.1); }

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ── Philosophy Cards ────────────────────────────────────────── */
.philosophy-card {
    background: linear-gradient(145deg, #161618, #0b0b0d);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-3xl);
    padding: 40px;
    text-align: left;
    height: 100%;
    transition: border-color var(--transition-base);
}
.philosophy-card:hover { border-color: var(--brand-yellow); }

.philosophy-icon {
    background: rgba(249,115,22,0.1);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* ── AI Kitchen ──────────────────────────────────────────────── */
.ai-section {
    padding: 96px 16px;
    background: linear-gradient(to bottom, var(--bg-section), var(--bg-base));
}
.ai-card {
    background: var(--bg-card);
    border-radius: var(--radius-3xl);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid var(--border-faint);
}
.ai-tabs {
    display: flex;
    background: rgba(0,0,0,0.4);
}
.ai-tab {
    flex: 1;
    padding: 24px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all var(--transition-base);
    color: var(--text-faint);
    cursor: pointer;
    border: none;
    background: none;
}
.ai-tab.active {
    background: var(--brand-yellow);
    color: #000;
}
.ai-body { padding: 40px; }

.spice-chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: var(--text-white);
    transition: all var(--transition-base);
}
.spice-chip.selected {
    background: var(--brand-yellow);
    color: #000;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 15px rgba(255,183,3,0.3);
}

.ai-input {
    width: 100%;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-base);
}
.ai-input:focus { border-color: var(--brand-yellow); }
.ai-input::placeholder { color: var(--text-faint); }

.ai-btn {
    width: 100%;
    padding: 20px;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 900;
    gap: 12px;
}

.ai-result {
    display: none;
    margin-top: 40px;
    padding: 32px;
    background: rgba(0,0,0,0.4);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-faint);
}
.ai-result.visible { display: block; }

.ai-result-text {
    display: none;
    color: #d1d5db;
    line-height: 1.75;
    font-weight: 300;
    font-size: 1.125rem;
    font-style: italic;
    white-space: pre-wrap;
}
.ai-result-text.visible { display: block; }

.ai-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
}
.ai-spinner.visible { display: flex; }

.label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.input-group { margin-bottom: 32px; }
.spice-group { margin-bottom: 32px; }
.spice-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── Nutrichef Section (homepage teaser) ─────────────────────── */
.nutrichef-section {
    padding: 128px 16px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-faint);
    border-bottom: 1px solid var(--border-faint);
}
.nutrichef-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 25vw;
    opacity: 0.02;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    color: #fff;
}
.nutrichef-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}
.nutrichef-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.nutrichef-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background: var(--bg-section);
    color: var(--text-muted);
    padding: 64px 16px;
    border-top: 1px solid var(--border-faint);
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: left;
}
.footer-copy {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.3;
    margin-top: 48px;
}
.footer-social { display: flex; gap: 16px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition-base); }
.footer-links a:hover { color: #fff; }

/* ── Section Eyebrow / Headers ───────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--brand-orange);
    margin-bottom: 16px;
}
.eyebrow-green  { color: var(--brand-green); }
.eyebrow-silver { color: var(--brand-silver); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Spice Page Hero ─────────────────────────────────────────── */
.spice-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: 0 48px 72px;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, #7c1e00 0%, #3a0d00 35%, #0b0b0d 70%);
}
.spice-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.spice-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.spice-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.spice-hero-slogan {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--brand-orange);
    margin-bottom: 16px;
}
.spice-hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.spice-hero-back {
    position: absolute;
    top: 100px;
    left: 48px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition-base);
}
.spice-hero-back:hover { color: #fff; }

/* ── Manifesto Strip ─────────────────────────────────────────── */
.spice-manifesto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px 16px;
    background: #0f0f11;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.manifesto-word {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    opacity: 0.9;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 60px rgba(249, 115, 22, 0.25);
}
.manifesto-dot {
    font-size: 2rem;
    color: var(--brand-orange);
    opacity: 0.6;
    line-height: 1;
}
.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--brand-orange);
    text-transform: uppercase;
    margin-top: 6px;
    opacity: 0.85;
}

/* ── Sub-page Hero ───────────────────────────────────────────── */
.sub-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 64px;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    overflow: hidden;
}
.spice-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.sub-hero-spice {
    background: radial-gradient(ellipse at 20% 60%, #8b1a00 0%, #4a0800 35%, #1a0500 70%);
}
.sub-hero-tea {
    background: radial-gradient(ellipse at 25% 50%, #1a5c1a 0%, #0f380f 40%, #0d2e0d 75%);
}
.sub-hero-chef {
    background: radial-gradient(ellipse at 20% 50%, #1a2030 0%, #0d1018 40%, #08090c 75%);
}
.sub-hero-spice::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='500' cy='200' r='180' fill='%23c44a00' opacity='0.18'/%3E%3Ccircle cx='400' cy='400' r='120' fill='%23ff7b00' opacity='0.12'/%3E%3Ccircle cx='550' cy='500' r='90' fill='%23ffb703' opacity='0.08'/%3E%3C/svg%3E") right center / cover no-repeat;
}
.sub-hero-tea::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='600'%3E%3Ccircle cx='600' cy='150' r='200' fill='%2316a34a' opacity='0.1'/%3E%3Ccircle cx='500' cy='400' r='140' fill='%2322c55e' opacity='0.07'/%3E%3C/svg%3E") right center / cover no-repeat;
}
.sub-hero-chef::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='600'%3E%3Crect x='400' y='100' width='250' height='400' rx='8' fill='%23718096' opacity='0.04'/%3E%3Cellipse cx='600' cy='300' rx='150' ry='200' fill='%23e2e8f0' opacity='0.03'/%3E%3C/svg%3E") right center / cover no-repeat;
}
.sub-hero-content { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 10; }
.sub-hero-text { max-width: 672px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    margin-bottom: 24px;
    transition: color var(--transition-base);
}
.back-link:hover { color: var(--brand-yellow); }
.back-link-green:hover { color: var(--brand-green); }
.back-link-silver:hover { color: var(--brand-silver); }

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}
.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 512px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Stats row */
.stats-row { display: flex; flex-wrap: wrap; gap: 24px; }
.stat-card {
    background: linear-gradient(135deg, #13151c, #0d0e13);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
    border-radius: var(--radius-2xl);
    text-align: center;
}
.stat-card-green { border-color: rgba(34,197,94,0.1); }
.stat-value { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-faint); margin-top: 4px; }

/* ── Filter Bar ──────────────────────────────────────────────── */
.filter-bar {
    padding: 32px 16px;
    background: rgba(11,11,13,0.97);
    border-top: 1px solid var(--border-faint);
    border-bottom: 1px solid var(--border-faint);
    position: sticky;
    top: 64px;
    z-index: 40;
    backdrop-filter: blur(20px);
}
.filter-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dimmer);
    margin-right: 8px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #4b7a55;
    transition: all var(--transition-base);
    cursor: pointer;
}
.filter-btn-spice { color: #7a4b2a; border-color: rgba(255,120,0,0.15); }
.filter-btn:hover:not(.active) { border-color: var(--brand-yellow); color: var(--brand-yellow); }
.filter-btn-tea:hover:not(.active) { border-color: var(--brand-green); color: var(--brand-green); }
.filter-btn.active { background: var(--brand-yellow); color: #000; border-color: var(--brand-yellow); }
.filter-btn-tea.active { background: var(--brand-green); color: #000; border-color: var(--brand-green); }

/* Warm button — ember glow */
.filter-btn-spice.btn-warm {
    border-color: rgba(234, 88, 12, 0.4);
    color: #ea580c;
    background: linear-gradient(135deg, rgba(234,88,12,0.08), rgba(251,191,36,0.05));
    box-shadow: 0 0 10px rgba(234,88,12,0.15), inset 0 1px 0 rgba(251,191,36,0.1);
    text-shadow: 0 0 8px rgba(234,88,12,0.5);
    animation: ember-pulse 2.5s ease-in-out infinite;
}
.filter-btn-spice.btn-warm:hover, .filter-btn-spice.btn-warm.active {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234,88,12,0.5), 0 0 40px rgba(234,88,12,0.2);
    text-shadow: none;
    animation: none;
}
@keyframes ember-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(234,88,12,0.15), inset 0 1px 0 rgba(251,191,36,0.1); }
    50%       { box-shadow: 0 0 18px rgba(234,88,12,0.35), inset 0 1px 0 rgba(251,191,36,0.2); }
}

/* Mild button — botanical shimmer */
.filter-btn-spice.btn-mild {
    border-color: rgba(34,197,94,0.35);
    color: #16a34a;
    background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(74,222,128,0.04));
    box-shadow: 0 0 10px rgba(34,197,94,0.1);
    position: relative;
    overflow: hidden;
}
.filter-btn-spice.btn-mild::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(134,239,172,0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite;
}
.filter-btn-spice.btn-mild:hover, .filter-btn-spice.btn-mild.active {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34,197,94,0.4), 0 0 40px rgba(34,197,94,0.15);
}
.filter-btn-spice.btn-mild:hover::before { display: none; }
@keyframes shimmer {
    0%   { left: -75%; }
    50%, 100% { left: 125%; }
}

/* ── Product Cards (Spices) ──────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
    background: linear-gradient(145deg, #161618, #0f0f11);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-2xl);
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(255,183,3,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover {
    border-color: rgba(255,183,3,0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-brand);
}
.product-card:hover::before { opacity: 1; }
.product-card.featured { box-shadow: 0 0 0 1px rgba(255,183,3,0.2); }

/* Taller visual panel with hover animation */
.product-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.5s ease;
}
.product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.8);
}
.product-card:hover .product-visual {
    transform: scale(1.03);
}
.product-card:hover .product-visual::after {
    opacity: 1;
    transform: scale(1.1);
}
.product-visual > span {
    transition: transform 0.5s ease, filter 0.5s ease;
    position: relative;
    z-index: 1;
}
.product-card:hover .product-visual > span {
    transform: scale(1.15) translateY(-4px);
    filter: brightness(1.2) drop-shadow(0 0 30px currentColor);
}

.product-visual-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-yellow);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    z-index: 2;
}

/* Bolder spice name */
.product-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
.product-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    flex: 1;
}
.product-origin {
    font-size: 0.7rem;
    color: var(--text-faint);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.product-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.7; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-weight: 700; color: var(--brand-yellow); }
.product-add {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Heat bar */
.heat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.heat-bar { display: flex; gap: 3px; }
.heat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.heat-dot.lit { background: #ff4500; box-shadow: 0 0 6px rgba(255,69,0,0.7); }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.badge-hot   { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-mild  { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.badge-warm  { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.badge-blend { background: rgba(255,183,3,0.15); color: var(--brand-yellow); border: 1px solid rgba(255,183,3,0.4); }

/* ── Tea Cards ───────────────────────────────────────────────── */
.tea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.tea-card {
    background: linear-gradient(145deg, #0d1f10, #080f09);
    border: 1px solid rgba(34,197,94,0.08);
    border-radius: var(--radius-2xl);
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.tea-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(34,197,94,0.04));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.tea-card:hover {
    border-color: rgba(34,197,94,0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}
.tea-card:hover::before { opacity: 1; }
.tea-card.featured { box-shadow: 0 0 0 1px rgba(34,197,94,0.2); }

.tea-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.5s ease;
}
.tea-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.8);
}
.tea-card:hover .tea-visual { transform: scale(1.03); }
.tea-card:hover .tea-visual::after { opacity: 1; transform: scale(1.1); }
.tea-visual > span {
    transition: transform 0.5s ease, filter 0.5s ease;
    position: relative;
    z-index: 1;
}
.tea-card:hover .tea-visual > span {
    transform: scale(1.15) translateY(-4px);
    filter: brightness(1.2) drop-shadow(0 0 30px currentColor);
}

.tea-visual-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-green);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    z-index: 2;
}

.tea-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
.tea-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    flex: 1;
}
.tea-origin {
    font-size: 0.7rem;
    color: var(--text-faint);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tea-moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }

/* Mood badges */
.mood-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.mood-calm      { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.mood-energy    { background: rgba(234,179,8,0.15); color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.mood-focus     { background: rgba(14,165,233,0.15); color: #38bdf8; border: 1px solid rgba(14,165,233,0.3); }
.mood-sleep     { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.mood-immunity  { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }

/* ── Origin / Info Panels ────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 32px;
    border: 1px solid var(--border-faint);
    text-align: center;
}

/* ── Brew Guide ──────────────────────────────────────────────── */
.brew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brew-step {
    background: #0d1f10;
    border: 1px solid rgba(34,197,94,0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition-base);
}
.brew-step:hover { border-color: rgba(34,197,94,0.3); }
.brew-emoji { font-size: 2rem; margin-bottom: 16px; }

/* ── Nutrichef Product Cards ─────────────────────────────────── */
.chef-card {
    background: linear-gradient(145deg, #13151c, #0d0e13);
    border: 1px solid rgba(160,174,192,0.08);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    margin-bottom: 32px;
    transition: all 0.4s ease;
}
.chef-card:hover {
    border-color: rgba(160,174,192,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(160,174,192,0.05);
}
.chef-card-inner { display: flex; }
.chef-visual-panel {
    width: 40%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chef-info-panel { flex: 1; padding: 56px; }
.chef-visual-panel-alt { order: 1; }
.chef-info-panel-alt { order: -1; }

.chef-product-visual {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}
.chef-product-visual-sq { aspect-ratio: 1; }

.chef-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.chef-origin { font-size: 0.875rem; color: var(--text-faint); margin-bottom: 24px; }
.chef-desc { color: var(--text-muted); margin-bottom: 32px; line-height: 1.75; }
.chef-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.chef-spec-key { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 4px; }
.chef-spec-val { font-weight: 700; color: #fff; }
.chef-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chef-footer { display: flex; align-items: center; gap: 24px; }
.chef-price { font-weight: 700; font-size: 1.5rem; color: var(--brand-yellow); }
.chef-price-sub { font-size: 0.75rem; color: var(--text-faint); margin-left: 8px; }
.chef-add { padding: 12px 32px; border-radius: var(--radius-full); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

.feature-pill {
    background: rgba(160,174,192,0.08);
    border: 1px solid rgba(160,174,192,0.12);
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

/* ── Comparison Table ────────────────────────────────────────── */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius-2xl); border: 1px solid var(--border-faint); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comparison-table th {
    background: #13151c;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border-faint);
}
.comparison-table th.col-nutripop { color: var(--brand-yellow); text-align: center; }
.comparison-table th.col-standard { color: var(--text-dimmer); text-align: center; }
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-faint); color: var(--text-muted); }
.comparison-table td.col-val { text-align: center; font-weight: 700; color: #fff; }
.comparison-table td.col-comp { text-align: center; color: var(--text-dimmer); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.check { color: #4ade80; }
.cross { color: #ef4444; opacity: 0.5; }

/* ── Fade-up animation ───────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ── Misc utilities ──────────────────────────────────────────── */
.hidden  { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0  { inset: 0; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.aspect-square { aspect-ratio: 1; }
.aspect-34     { aspect-ratio: 3/4; }
.aspect-45     { aspect-ratio: 4/5; }
.w-full   { width: 100%; }
.h-full   { height: 100%; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.select-none { user-select: none; }
.pointer-none { pointer-events: none; }
.border-t { border-top: 1px solid var(--border-faint); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .chef-card-inner { flex-direction: column; }
    .chef-visual-panel,
    .chef-info-panel  { width: 100%; }
    .chef-visual-panel-alt { order: unset; }
    .chef-info-panel-alt   { order: unset; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links      { display: none; }
    .nav-mobile-btn { display: flex; }
    .nav            { padding: 16px; }

    .grid-3, .cat-grid, .tea-grid { grid-template-columns: 1fr; }
    .grid-4, .info-grid, .brew-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }

    .nutrichef-inner { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }

    .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }

    .section { padding: 64px 16px; }
    .section-lg { padding: 80px 16px; }

    .chef-info-panel { padding: 32px; }
    .chef-visual-panel { padding: 32px; }
}

@media (max-width: 480px) {
    .grid-4, .info-grid, .brew-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; align-items: flex-start; }
    .slide-indicators { bottom: 24px; right: 16px; }
}
/* ── Spices Page — Fire Glow ─────────────────────────────────── */
.spice-page { background: #0d0200; position: relative; }

/* Fire glow canvas fixed behind everything */
#fire-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Core lava pool at bottom */
#fire-glow::before {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 500px;
    background: radial-gradient(ellipse at 50% 100%,
        rgba(255,60,0,0.55) 0%,
        rgba(200,20,0,0.35) 25%,
        rgba(120,5,0,0.18) 55%,
        transparent 75%
    );
    filter: blur(40px);
    animation: lava-breathe 3s ease-in-out infinite alternate;
}

/* Rising fire column */
#fire-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 100%,
        rgba(255,120,0,0.3) 0%,
        rgba(255,50,0,0.15) 35%,
        transparent 65%
    );
    filter: blur(60px);
    animation: fire-rise 2.2s ease-in-out infinite alternate;
}

@keyframes lava-breathe {
    0%   { opacity: 0.7; transform: translateX(-50%) scaleX(1);   }
    100% { opacity: 1;   transform: translateX(-50%) scaleX(1.06); }
}
@keyframes fire-rise {
    0%   { opacity: 0.6; transform: translateX(-50%) scaleY(1)    translateY(0);   }
    100% { opacity: 1;   transform: translateX(-50%) scaleY(1.08) translateY(-24px); }
}

/* Ember sparks */
.ember {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: ember-float linear infinite;
}
@keyframes ember-float {
    0%   { transform: translateY(0)   translateX(0)    scale(1);   opacity: 0.9; }
    40%  { opacity: 1; }
    80%  { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(var(--drift)) scale(0.2); opacity: 0; }
}

/* Sections ride above fire layer */
.spice-page > *:not(#fire-glow) { position: relative; z-index: 2; }
.spice-page .nav { z-index: 1000; }


/* ── Tea Page — Botanical Glow ───────────────────────────────── */
.tea-page { background: #0d2e0d; position: relative; }

#tea-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Floating leaf particles */
.leaf-particle {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    animation: leaf-fall linear infinite;
    opacity: 0;
}
@keyframes leaf-fall {
    0%   { transform: translateY(-20px) rotate(0deg);   opacity: 0; }
    10%  { opacity: 0.4; }
    90%  { opacity: 0.15; }
    100% { transform: translateY(105vh) rotate(var(--spin)); opacity: 0; }
}

.tea-page > *:not(#tea-glow) { position: relative; z-index: 2; }
.tea-page .nav { z-index: 1000; }

/* Responsive */
@media (max-width: 1024px) { .tea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .tea-grid { grid-template-columns: 1fr; } }

/* ── Nutrichef Variant Combination Grid ──────────────────────── */
.variant-grid-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-faint);
    margin-bottom: 14px;
    display: block;
}
.combo-grid {
    display: grid;
    gap: 8px;
    margin-bottom: 32px;
}
.combo-grid-foil  { grid-template-columns: repeat(4, 1fr); }
.combo-grid-cling { grid-template-columns: repeat(5, 1fr); }

.combo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}
.combo-tile:hover {
    border-color: rgba(160,174,192,0.4);
    background: rgba(160,174,192,0.07);
}
.combo-tile.selected {
    border-color: #a0aec0;
    background: rgba(160,174,192,0.12);
    box-shadow: 0 0 16px rgba(160,174,192,0.15);
}
.combo-width {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.combo-length {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.05em;
}
.combo-tile.selected .combo-length { color: #a0aec0; }

/* Animated spec value update */
.chef-spec-val {
    font-weight: 700;
    color: #fff;
    transition: opacity 0.2s ease;
}
.chef-spec-val.updating { opacity: 0; }

/* Selected variant summary badge */
.variant-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    padding: 6px 14px;
    background: rgba(160,174,192,0.08);
    border: 1px solid rgba(160,174,192,0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .combo-grid-foil  { grid-template-columns: repeat(2, 1fr); }
    .combo-grid-cling { grid-template-columns: repeat(3, 1fr); }
}

/* ── Homepage — Aurora Background ───────────────────────────── */
#home-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.home-page { background: #0a0015; }
.home-page > *:not(#home-canvas) { position: relative; z-index: 2; }
.home-page .nav { z-index: 1000; }

/* ── Social Icons ────────────────────────────────────────────── */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    transition: all 0.25s ease;
    text-decoration: none;
}
.social-icon:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
