/* ============================================
   LEAF & LOAF — Design System & Styles
   The Future, Served Differently.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* === Custom Properties === */
:root {
    --green-900: #1A3A18;
    --green-800: #224420;
    --green-700: #2D5A27;
    --green-600: #3A7232;
    --green-500: #4A8C3F;
    --green-400: #6BAF5C;
    --green-300: #8FCC82;
    --green-100: #E8F5E0;

    --gold-700: #8B6914;
    --gold-600: #A67D1A;
    --gold-500: #C8922A;
    --gold-400: #D4A84B;
    --gold-300: #E0C078;
    --gold-200: #F0D99E;
    --gold-100: #FFF3D6;

    --cream-50: #FFFDF8;
    --cream-100: #FFF7EA;
    --cream-200: #FAEFD8;
    --cream-300: #F5E6CC;

    --text-900: #1A1A1A;
    --text-700: #333333;
    --text-500: #666666;
    --text-400: #888888;
    --text-300: #AAAAAA;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-max: 1200px;
    --container-narrow: 900px;
    --section-py: 100px;
    --section-py-sm: 60px;

    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --shadow-xl: 0 16px 64px rgba(0,0,0,0.18);
    --shadow-gold: 0 4px 24px rgba(200,146,42,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --navbar-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-700);
    background: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-900);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.text-green { color: var(--green-700); }
.text-gold { color: var(--gold-500); }
.text-cream { color: var(--cream-100); }
.text-center { text-align: center; }
.text-muted { color: var(--text-500); }

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-500);
    max-width: 600px;
    line-height: 1.8;
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}

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

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--section-py) 0;
}

.section--cream { background: var(--cream-100); }
.section--white { background: var(--cream-50); }
.section--green { background: var(--green-900); color: #fff; }
.section--green h2,
.section--green h3,
.section--green h4 { color: #fff; }
.section--green .section-subtitle { color: rgba(255,255,255,0.7); }
.section--green .section-label { color: var(--gold-300); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.flex--gap-sm { gap: 12px; }
.flex--gap { gap: 24px; }
.flex--gap-lg { gap: 48px; }
.flex--wrap { flex-wrap: wrap; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::after {
    transform: translateX(0);
}

.btn--green {
    background: var(--green-700);
    color: #fff;
    border-color: var(--green-700);
}

.btn--green:hover {
    background: var(--green-600);
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45,90,39,0.3);
}

.btn--gold {
    background: var(--gold-500);
    color: #fff;
    border-color: var(--gold-500);
}

.btn--gold:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn--outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}

.btn--outline:hover {
    background: var(--green-700);
    color: #fff;
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
    background: #fff;
    color: var(--green-700);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--green-700);
    border-color: #fff;
}

.btn--white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-arrow {
    transition: transform var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Bulk Order Pulse */
.btn--pulse {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,146,42,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(200,146,42,0); }
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.08);
    transition: all var(--transition);
    height: var(--navbar-height);
}

.navbar.scrolled {
    background: rgba(255, 253, 248, 0.95);
    box-shadow: var(--shadow-sm);
    height: 65px;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.nav-logo img {
    display: block;
    width: 48px;
    height: 48px;
    max-width: none;
    object-fit: contain;
    transition: width var(--transition), height var(--transition);
}

.navbar.scrolled .nav-logo img { width: 46px; height: 46px; }

/* The supplied wordmark PNG has transparent canvas around the lettering. */
.nav-logo .nav-wordmark-crop {
    position: relative;
    display: block;
    width: 138px;
    aspect-ratio: 4.70 / 1;
    flex: 0 0 auto;
    overflow: hidden;
}
.nav-logo .nav-wordmark-crop img {
    position: absolute;
    left: -115.63%;
    top: -469.1%;
    display: block;
    width: 331.26%;
    max-width: none;
    height: auto;
    object-fit: initial;
    transition: none;
}
.navbar.scrolled .nav-logo .nav-wordmark-crop img {
    width: 331.26%;
    height: auto;
}

.brand-mark {
    position: relative;
    width: 200px;
    height: 170px;
    overflow: hidden;
    margin: 0 auto 24px;
}

.brand-mark img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    max-width: none;
    transform: translate(-50%, -50%);
}

@media (max-width: 480px) {
    .brand-mark { width: 170px; height: 145px; }
    .brand-mark img { width: 510px; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-700);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-700);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover { color: var(--green-700); }
.nav-links a.active { color: var(--green-700); font-weight: 600; }

.nav-cta {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--green-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--cream-50);
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 100px 32px 40px;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-700);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--green-700);
}

.mobile-menu .btn {
    margin-top: 24px;
    text-align: center;
    justify-content: center;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
}

/* Page top padding for fixed navbar */
.page-content {
    padding-top: var(--navbar-height);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--cream-100) 40%, var(--cream-200) 100%);
    padding-top: var(--navbar-height);
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-100);
    color: var(--green-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    color: var(--green-900);
    margin-bottom: 8px;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--gold-500);
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-500);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 24px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-700);
    background: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(45,90,39,0.1);
}

.hero-bullet .icon {
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    animation: heroFloat 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

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

/* Decorative leaves */
.hero-leaf {
    position: absolute;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.hero-leaf--1 {
    top: 10%;
    right: 5%;
    width: 200px;
    animation: leafDrift1 12s ease-in-out infinite;
}

.hero-leaf--2 {
    bottom: 15%;
    left: 3%;
    width: 150px;
    animation: leafDrift2 15s ease-in-out infinite;
}

.hero-leaf--3 {
    top: 40%;
    left: 10%;
    width: 100px;
    animation: leafDrift3 10s ease-in-out infinite;
}

@keyframes leafDrift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-10px, 15px) rotate(5deg); }
    66% { transform: translate(8px, -10px) rotate(-3deg); }
}

@keyframes leafDrift2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -20px) rotate(8deg); }
}

@keyframes leafDrift3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-12px, 10px) rotate(-5deg); }
}

/* Hero Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* === TRUST BAR / MARQUEE === */
.trust-bar {
    background: var(--green-700);
    padding: 16px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    padding-right: 60px;
}

.marquee-content span {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.marquee-content .separator {
    color: var(--gold-400);
    font-size: 0.6rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === FEATURE CARDS === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all var(--transition);
}

/* Keep the inline icon artwork optically consistent across cards. */
.feature-icon svg { width: 32px; height: 32px; flex: 0 0 auto; }
.spec-icon svg { width: 20px; height: 20px; flex: 0 0 auto; }
.usecase-icon { font-size: 2rem; line-height: 1; }
.value-icon svg { width: 32px; height: 32px; flex: 0 0 auto; }
.btn-arrow { width: 18px; height: 18px; flex: 0 0 auto; }
.social-links svg { width: 22px; height: 22px; display: block; }
.check-list svg { width: 18px; height: 18px; flex: 0 0 auto; }

.feature-card:hover .feature-icon {
    background: var(--green-700);
    transform: scale(1.05) rotate(-3deg);
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
}

.feature-card h4 {
    margin-bottom: 12px;
    color: var(--green-900);
}

.feature-card p {
    color: var(--text-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* === PRODUCT SPOTLIGHT === */
.product-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-image img {
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-image:hover img {
    transform: scale(1.03);
}

.product-details h3 {
    color: var(--green-900);
    margin-bottom: 16px;
}

.product-details > p {
    color: var(--text-500);
    margin-bottom: 32px;
}

.specs-list {
    margin-bottom: 36px;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.spec-item:last-child { border-bottom: none; }

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--cream-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-400);
    display: block;
}

.spec-value {
    font-weight: 600;
    color: var(--text-900);
    font-size: 1rem;
}

/* === USE CASES === */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.usecase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-100), var(--gold-100));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.usecase-card:hover::after {
    opacity: 1;
}

.usecase-card > * {
    position: relative;
    z-index: 1;
}

.usecase-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.usecase-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    transition: transform var(--transition);
}

.usecase-card:hover .usecase-icon {
    transform: scale(1.15) rotate(-5deg);
}

.usecase-card h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.usecase-card p {
    font-size: 0.85rem;
    color: var(--text-500);
    margin-bottom: 0;
}

/* === HOW IT WORKS === */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(16.66% + 32px);
    right: calc(16.66% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--green-400), var(--gold-400), var(--green-400));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--green-700);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(45,90,39,0.2);
    transition: all var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(45,90,39,0.3);
    background: var(--gold-500);
}

.step h4 {
    margin-bottom: 12px;
}

.step p {
    color: var(--text-500);
    font-size: 0.9rem;
    max-width: 280px;
    margin: 0 auto;
}

/* === IMPACT / STATS === */
.stats-section {
    background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(200,146,42,0.05);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 50%, var(--gold-500) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 32px;
}

/* === SOCIAL / INSTAGRAM === */
.social-section {
    text-align: center;
}

.insta-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    margin: 0 auto 32px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
}

.insta-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--green-700);
}

.social-link:hover {
    background: var(--green-700);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* === FOOTER === */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 76px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255,255,255,0.6);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-400) !important;
    font-size: 1rem !important;
    margin-top: 16px;
}

.footer h5 {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-400);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: rgba(255,255,255,0.6);
}

.footer-social a:hover {
    background: var(--gold-500);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

/* === FORMS === */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-900);
    background: #fff;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(74,140,63,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Bulk order form highlight */
.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-card--gold {
    border: 2px solid var(--gold-400);
    position: relative;
}

.form-card--gold::before {
    content: '★ MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--gold-500);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-500);
}

.trust-badge svg {
    color: var(--green-500);
    flex-shrink: 0;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
    background: linear-gradient(160deg, var(--cream-100) 0%, var(--cream-200) 100%);
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    color: var(--green-900);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-500);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero--green {
    background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%);
}

.page-hero--green h1 { color: #fff; }
.page-hero--green p { color: rgba(255,255,255,0.7); }

/* === PRODUCT CARDS (Products page) === */
.product-card-large {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

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

.product-card-large .card-image {
    overflow: hidden;
    height: 400px;
}

.product-card-large .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card-large:hover .card-image img {
    transform: scale(1.05);
}

.product-card-large .card-body {
    padding: 36px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.product-tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--cream-100);
    color: var(--green-700);
    border: 1px solid var(--green-100);
    transition: all var(--transition-fast);
}

.product-tag:hover {
    background: var(--green-700);
    color: #fff;
}

/* Specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.specs-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--text-500);
    font-weight: 500;
    width: 45%;
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--text-900);
}

/* Features checklist */
.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-700);
}

.check-item svg {
    color: var(--green-500);
    flex-shrink: 0;
}

/* === COMPARISON CARDS (Green Mission) === */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.comparison-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.comparison-card--bad {
    border-color: rgba(220,50,50,0.15);
}

.comparison-card--better {
    border-color: rgba(200,146,42,0.2);
}

.comparison-card--best {
    border-color: var(--green-400);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.comparison-card--best::before {
    content: '♻️ Our Solution';
    display: block;
    background: var(--green-700);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin: -50px auto 20px;
    width: fit-content;
}

.comparison-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.comparison-card h4 {
    margin-bottom: 8px;
}

.comparison-card .time {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 16px 0;
}

.comparison-card--bad .time { color: #DC3232; }
.comparison-card--better .time { color: var(--gold-600); }
.comparison-card--best .time { color: var(--green-600); }

/* === TIMELINE (Green Mission) === */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--green-400), var(--gold-400));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 55%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-500);
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* === VALUES CARDS (About page) === */
.value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-slow);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-100), var(--gold-100));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: transform var(--transition);
}

.value-card:hover .value-icon {
    transform: rotate(-5deg) scale(1.05);
}

.value-card h4 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-500);
    font-size: 0.9rem;
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
}

.hamburger:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-40px);
}
.animate-on-scroll.slide-left.visible {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(40px);
}
.animate-on-scroll.slide-right.visible {
    transform: translateX(0);
}

.animate-on-scroll.scale-up {
    transform: scale(0.9);
}
.animate-on-scroll.scale-up.visible {
    transform: scale(1);
}

/* Stagger delays for child elements */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* Page load animation */
.page-enter {
    animation: pageEnter 0.6s ease-out forwards;
}

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

/* === WAVE DIVIDERS === */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave-divider--flip {
    transform: rotate(180deg);
}

/* === CONTACT PAGE LAYOUT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    :root { --section-py: 80px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .product-spotlight { gap: 40px; }
    .comparison-grid { gap: 16px; }

    .steps-container::before { display: none; }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
        --navbar-height: 70px;
    }

    .nav-links { display: none; }
    .nav-cta.desktop-only { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 24px;
    }

    .hero-content { max-width: 100%; }
    .hero-bullets { justify-content: center; }
    .hero-buttons { justify-content: center; }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 360px;
        margin: 0 auto;
    }

    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-spotlight { grid-template-columns: 1fr; gap: 32px; }
    .usecases-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .steps-container { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .comparison-card--best { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand p,
    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .trust-badges { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-bullets { flex-direction: column; align-items: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .usecases-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }

    .container { padding: 0 16px; }

    .feature-card { padding: 28px 20px; }
    .form-card { padding: 24px; }
}

/* === UTILITY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.mb-xl { margin-bottom: 80px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }

/* === Leaf & Loaf editorial refresh === */
:root {
    --cream-50: #fffdf8;
    --cream-100: #f8f5ee;
    --cream-200: #f2eee4;
    --green-900: #193b24;
    --green-700: #285a38;
    --gold-500: #bf8b2c;
    --section-py: 84px;
}

body { background: var(--cream-50); }
.navbar {
    background: rgba(255,253,248,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.navbar.scrolled { height: var(--navbar-height); }
.nav-links { gap: clamp(18px, 2.5vw, 36px); }
.nav-links a { font-size: 0.94rem; }
.nav-cta { box-shadow: none; animation: none; }
.btn { border-radius: 8px; box-shadow: none; }
.btn--gold { background: var(--gold-500); }

.hero {
    min-height: auto;
    padding: var(--navbar-height) 0 0;
    background: var(--cream-100);
}
.hero-container {
    min-height: min(700px, calc(100vh - var(--navbar-height)));
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    padding: 72px 32px 82px;
}
.hero-content { max-width: 540px; }
.hero-badge {
    margin-bottom: 22px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}
.hero-badge .dot { animation: none; }
.hero h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 5.1vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}
.hero h1 br { display: none; }
.hero h1 .highlight { color: var(--green-900); font-style: normal; }
.hero-tagline {
    max-width: 34rem;
    font-family: var(--font-body);
    font-size: 1.12rem;
    line-height: 1.55;
    font-style: normal;
    margin-bottom: 28px;
}
.hero-bullets { gap: 0; margin-bottom: 32px; }
.hero-bullet {
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.86rem;
    white-space: nowrap;
}
.hero-bullet:first-child { padding-left: 0; }
.hero-bullet + .hero-bullet { border-left: 1px solid #d9d4c8; }
.hero-buttons { gap: 12px; }
.hero-buttons .btn { min-height: 52px; padding: 14px 22px; }
.hero-image img {
    max-width: 600px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(38,42,32,0.10);
    animation: none;
}
.hero-leaf, .hero-wave { display: none; }

.trust-bar {
    background: var(--green-900);
    padding: 14px 0;
}
.marquee-content {
    justify-content: center;
    gap: 28px;
    width: 100%;
    padding: 0 24px;
    animation: none;
    white-space: normal;
}
.marquee { width: 100%; animation: none; }
.marquee-content span:nth-of-type(n+13) { display: none; }
.marquee-content span { font-size: 0.82rem; }

.section { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section--cream { background: var(--cream-100); }
.section-title { letter-spacing: -0.025em; }
.section-subtitle { max-width: 650px; }
.feature-card, .usecase-card, .value-card {
    border-radius: 12px;
    border: 1px solid #e9e5db;
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}
.feature-card { padding: 30px 24px; }
.feature-card::before, .usecase-card::after { display: none; }
.feature-card:hover, .usecase-card:hover, .value-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #c8d2c0;
}
.feature-icon, .value-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #edf0e4;
}
.feature-icon svg, .value-icon svg { width: 28px; height: 28px; }
.feature-card:hover .feature-icon { background: #edf0e4; transform: none; }
.feature-card:hover .feature-icon svg { stroke: var(--green-700); }
.product-spotlight { gap: clamp(36px, 6vw, 80px); }
.product-image { border-radius: 12px; box-shadow: none; }
.usecase-card { padding: 30px 22px; }
.usecase-card:hover .usecase-icon { transform: none; }
.stats-section { background: var(--green-900); }
.cta-banner { background: var(--green-900); }
.page-hero {
    background: var(--cream-100);
    padding-top: calc(var(--navbar-height) + 48px);
    padding-bottom: 64px;
}
.page-hero--green { background: var(--green-900); }
.product-card-large { border: 1px solid #e9e5db; border-radius: 12px; box-shadow: none; }
.product-card-large:hover { transform: none; box-shadow: none; }
.form-card { border-radius: 12px; box-shadow: none; }
.form-card--gold { border-width: 1px; }
.animate-on-scroll, .animate-on-scroll.slide-left, .animate-on-scroll.slide-right,
.animate-on-scroll.scale-up, .page-enter {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
}
.footer-social a { width: 42px; height: 42px; }
.footer-social a svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 58px 24px 44px;
    }
    .hero-content { margin: 0 auto; }
    .hero h1 { max-width: 12ch; margin-left: auto; margin-right: auto; }
    .hero-image { order: initial; }
    .hero-image img { max-width: 560px; }
    .hero-bullets { justify-content: center; flex-wrap: wrap; row-gap: 12px; }
    .hero-bullet:first-child { padding-left: 14px; }
    .nav-logo { gap: 8px; }
    .nav-logo img { width: 42px; height: 42px; }
    .nav-logo .nav-wordmark-crop { width: 126px; }
    .navbar.scrolled .nav-logo img { width: 42px; height: 42px; }
}

@media (max-width: 480px) {
    .hero-container { padding: 42px 18px 32px; }
    .hero h1 { font-size: clamp(2.6rem, 12vw, 3.25rem); }
    .hero-bullets { justify-content: flex-start; }
    .hero-bullet { padding: 0 9px; font-size: 0.78rem; }
    .hero-bullet:first-child { padding-left: 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .marquee-content { gap: 12px; }
}

/* B2B bulk-order estimator */
.estimator-section { background: #f5f1e8; }
.stats-section, .cta-banner, .social-section { display: none; }
.estimator-heading { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.estimator-heading .section-title { margin: 8px 0 12px; }
.estimator-heading p { color: var(--text-500); }
.estimator-card {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid #e7e1d5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(35, 45, 31, 0.06);
}
.estimator-field { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.estimator-field legend, .quantity-heading label {
    display: block;
    margin-bottom: 14px;
    color: var(--text-900);
    font-size: 0.96rem;
    font-weight: 650;
    text-transform: none;
    letter-spacing: 0;
}
.estimator-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.estimator-option {
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid #deded9;
    border-radius: 10px;
    background: #fff;
    color: var(--text-700);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}
.estimator-option:hover { border-color: var(--gold-500); }
.estimator-option.is-selected { border-color: var(--gold-500); background: #fffaf0; color: var(--green-900); }
.quantity-field { margin-bottom: 28px; }
.quantity-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quantity-heading label { margin: 0; }
.quantity-heading output { color: var(--gold-700); font-weight: 700; }
#orderQuantity {
    display: block;
    width: 100%;
    height: 8px;
    margin: 22px 0 10px;
    appearance: none;
    border-radius: 8px;
    background: linear-gradient(to right, var(--gold-500) 0 var(--range-progress, 10%), #d8dadd var(--range-progress, 10%) 100%);
    cursor: pointer;
}
#orderQuantity::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; background: var(--gold-500); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
#orderQuantity::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--gold-500); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.range-scale { display: flex; justify-content: space-between; gap: 12px; color: var(--text-400); font-size: 0.8rem; }
.branding-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    margin-bottom: 26px;
    padding: 16px 18px;
    border: 1px solid #ecebe7;
    border-radius: 12px;
    background: #fafaf8;
    cursor: pointer;
}
.branding-copy { display: grid; gap: 5px; }
.branding-copy strong { color: var(--text-900); font-size: 0.95rem; }
.branding-copy small { color: var(--text-500); font-size: 0.85rem; }
.branding-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 46px; height: 26px; flex: 0 0 46px; border-radius: 99px; background: #d8dadd; transition: background-color 160ms ease; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.16); transition: transform 160ms ease; }
.branding-option input:checked + .switch-track { background: var(--green-700); }
.branding-option input:checked + .switch-track::after { transform: translateX(20px); }
.branding-option input:focus-visible + .switch-track { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.estimate-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid #eee4d2;
    border-radius: 12px;
    background: #fbf8f1;
}
.estimate-summary > div { display: grid; gap: 6px; }
.estimate-label { color: var(--text-500); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.estimate-unit { color: var(--text-700); font-size: 0.92rem; }
.estimate-summary > strong { color: #392813; font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.03em; }
.estimate-disclaimer { margin: 14px 0 20px; color: var(--text-500); font-size: 0.8rem; line-height: 1.5; }
.estimator-quote { display: flex; justify-content: center; gap: 12px; width: 100%; min-height: 52px; }

@media (max-width: 640px) {
    .estimator-options { grid-template-columns: 1fr; }
    .estimator-option { text-align: left; }
    .estimate-summary { align-items: flex-start; flex-direction: column; gap: 10px; }
    .branding-option { gap: 12px; }
    .range-scale { font-size: 0.72rem; }
}

/* Final polish from in-browser review */
.hero-proof {
    max-width: 35ch;
    margin: 0 0 22px;
    color: var(--text-500);
    font-size: 1.05rem;
    line-height: 1.55;
}
.hero-buttons { gap: 8px; flex-wrap: nowrap; }
.hero-buttons .btn { padding-inline: 16px; font-size: 0.92rem; white-space: nowrap; }
.estimator-section { padding-block: clamp(48px, 6vw, 76px); }
.estimator-heading { margin-bottom: 22px; }
.estimator-field { margin-bottom: 22px; }
.estimator-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimator-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.estimator-option strong { color: var(--green-800); font-weight: 700; white-space: nowrap; }
.estimator-option strong small { color: var(--text-500); font-size: 0.75rem; font-weight: 500; }
.quantity-field { margin-bottom: 22px; }
.branding-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    margin-bottom: 22px;
}
.branding-copy { align-content: center; }
.branding-copy small { line-height: 1.5; }
.sleeve-caption { color: var(--gold-700); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.branding-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.branding-toggle-label { cursor: pointer; }
.branding-toggle-label strong { color: var(--text-900); font-size: 0.95rem; }
.branding-switch { position: relative; display: flex; flex: 0 0 46px; cursor: pointer; }
.sleeve-visual { display: block; width: 190px; margin: 0; padding: 5px; overflow: hidden; border: 1px solid #eee6da; border-radius: 10px; background: #fff; }
.sleeve-visual img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 6px; object-fit: cover; }
.sleeve-visual figcaption { padding: 4px 2px 1px; color: var(--text-500); font-size: 0.7rem; text-align: center; }
.sleeve-artwork { display: grid; justify-items: start; gap: 9px; margin-top: 4px; padding: 14px; border: 1px solid #e8e2d7; border-radius: 10px; background: #fff; }
.sleeve-artwork[hidden], .design-file-preview[hidden] { display: none; }
.upload-design-button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #2d5a27; border-radius: 8px; color: #2d5a27; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.upload-design-button:hover { background: #f2f7ef; }
.upload-note { color: var(--text-500); font-size: 0.76rem; line-height: 1.45; }
.design-file-preview { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; padding-top: 9px; border-top: 1px solid #eee9e0; }
.design-file-preview img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 6px; object-fit: cover; }
.design-file-preview span { min-width: 0; overflow-wrap: anywhere; color: var(--text-700); font-size: 0.78rem; }
.design-file-preview button { margin-left: auto; border: 0; background: transparent; color: #8b3c2a; font: inherit; font-size: 0.78rem; cursor: pointer; }
.branding-option:has(input:checked) { border-color: var(--green-700); background: #f5f8f2; }
.estimate-summary { padding: 18px 22px; }
.estimate-summary > strong { white-space: nowrap; }

@media (max-width: 1024px) {
    .hero-proof { margin-left: auto; margin-right: auto; }
    .hero-buttons { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .estimator-options { grid-template-columns: 1fr; }
    .branding-option { grid-template-columns: 1fr; gap: 14px; }
    .sleeve-visual { width: 100%; max-width: 260px; justify-self: center; }
}

/* Seamless single-line audience ticker. */
.trust-bar { padding: 12px 0; }
.marquee {
    display: block;
    width: 100%;
    overflow: hidden;
    animation: none;
}
.marquee-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    padding: 8px 0;
    animation: marqueeScroll 34s linear infinite;
    white-space: nowrap;
}
.marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
}
.marquee-group span {
    flex: 0 0 auto;
    white-space: nowrap;
}
.marquee:hover .marquee-content { animation-play-state: paused; }

@media (max-width: 800px) {
    .trust-bar { padding: 14px 0; }
    .marquee-group { gap: 28px; padding-right: 28px; }
    .marquee-group span { font-size: 0.86rem; }
}
/* This ticker is intentionally kept moving, including when reduced motion is enabled. */
@media (prefers-reduced-motion: reduce) {
    .marquee-content { animation: marqueeScroll 34s linear infinite !important; }
}

/* Signature cup image carousel */
.product-gallery { overflow: hidden; border: 1px solid #eee8de; background: #fbf9f4; }
.product-gallery:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }
.product-gallery:hover img { transform: none; }
.product-gallery-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #f8f5ee; }
.product-gallery-slide { position: absolute; inset: 0; display: block; margin: 0; }
.product-gallery-slide[hidden] { display: none; }
.product-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-gallery-slide figcaption { position: absolute; inset: auto 0 0; padding: 32px 18px 14px; background: linear-gradient(transparent, rgba(28, 32, 24, .72)); color: #fff; font-size: .82rem; font-weight: 600; }
.product-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; background: #fff; }
.gallery-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e9e2d8; border-radius: 50%; background: #fff; color: var(--green-800); font: 1.6rem/1 Georgia, serif; cursor: pointer; }
.gallery-arrow:hover { border-color: var(--gold-500); background: #fffaf0; }
.gallery-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.gallery-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d6d0c6; cursor: pointer; }
.gallery-dot.is-active { width: 24px; border-radius: 99px; background: var(--green-700); }
.gallery-dot:focus-visible, .gallery-arrow:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* Backend form feedback and artwork attachment controls. */
.form-feedback { min-height: 1.4em; margin: 12px 0 0; color: var(--green-800); font-size: .9rem; line-height: 1.45; }
.form-feedback:empty { display: none; }
.form-group .bulk-sleeve-choice { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.form-group .bulk-sleeve-choice input { flex: 0 0 auto; width: auto; margin: 4px 0 0; padding: 0; }
.form-group input[type="file"] { padding: 10px; }
.form-group small { display: block; margin-top: 6px; color: var(--text-500); }
.backend-estimate-note { margin: 10px 0 18px; padding: 12px 14px; border: 1px solid #eadbb8; border-radius: 8px; background: #fffaf0; color: var(--text-700); font-size: .9rem; line-height: 1.5; }

