/* Color Variables */
:root {
    --green-bean: #3A6E3A;
    --sage-green: #5A8A5A;
    --light-green: #7AAF7A;
    --cream: #EFF5EF;
    --beige: #DFF0DF;
    --warm-accent: #8B5E3C;
    --light-bg: #F7FCF7;
    --text-dark: #182E18;
    --text-light: #4A6B4A;
    --border-light: #C5DCC5;
    --primary: #1B3A1B;
    --secondary: #2E5E2E;
    --roasted-coffee: #3E2723;
    --dark-forest: #0F220F;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Alternate Gothic (OCT brand font) for display headings */
.hero-content h2,
.section-title,
.sustainability-content h2,
.about-values-title {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--cream) 100%);
    border-bottom: 2px solid var(--sage-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(91, 124, 91, 0.08);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    text-decoration: none;
    display: block;
}

.nav-logo {
    height: 72px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--warm-accent), var(--sage-green));
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--sage-green);
}

.nav-menu a.nav-active {
    color: var(--warm-accent);
}
.nav-menu a.nav-active::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--warm-accent), #6A3E20);
    color: #FFFFFF;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(139, 94, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 94, 60, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    height: 92vh;
    min-height: 0;
    background: var(--dark-forest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 34, 15, 0.82) 0%, rgba(27, 58, 27, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-content h2 {
    font-size: 5rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-content .hero-sub {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: scrollFloat 2.5s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1.5px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 2px;
}

@keyframes scrollFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Stats Bar */
.stats-bar {
    background: var(--cream);
    padding: 3.5rem 2rem;
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--warm-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(122, 155, 122, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-accent), var(--green-bean));
    border-radius: 2px;
}

/* Origin Tabs */
/* Origin Tile Grid */
.origin-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

/* Wrapper is the actual grid item */
.origin-tile-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: box-shadow 0.3s ease;
}

/* When active: snap to full row width, products slide open below */
.origin-tile-wrapper.active {
    grid-column: 1 / -1;
    box-shadow: 0 16px 50px rgba(26,58,26,0.22);
}

/* The clickable photo tile / header strip */
.origin-tile-btn {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: none;
    cursor: pointer;
    padding: 0;
    display: block;
    overflow: hidden;
    background: var(--primary);
    transition: height 0.44s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

.origin-tile-wrapper.active .origin-tile-btn {
    aspect-ratio: unset;
    height: 160px;
}

.origin-tile-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.origin-tile-btn:hover .origin-tile-bg { transform: scale(1.07); }
.origin-tile-wrapper.active .origin-tile-bg { transform: scale(1.04); }

.origin-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
    transition: background 0.3s ease;
}

.origin-tile-btn:hover .origin-tile-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.30) 55%, transparent 100%);
}

.origin-tile-wrapper.active .origin-tile-overlay {
    background: linear-gradient(135deg, rgba(10,26,10,0.92) 0%, rgba(26,58,26,0.72) 100%);
}

/* Text row: name + count + chevron */
.origin-tile-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 1rem;
}

.origin-tile-wrapper.active .origin-tile-content {
    align-items: center;
    padding: 0 1.6rem;
}

.origin-tile-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.origin-tile-name {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
    line-height: 1.1;
    transition: font-size 0.25s ease;
}

.origin-tile-wrapper.active .origin-tile-name { font-size: 1.9rem; }

.origin-tile-count {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chevron circle */
.origin-tile-chevron {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.origin-tile-btn:hover .origin-tile-chevron { background: rgba(255,255,255,0.25); }
.origin-tile-wrapper.active .origin-tile-chevron {
    transform: rotate(180deg);
    background: rgba(255,255,255,0.22);
}

.origin-tile-chevron svg { width: 18px; height: 18px; }

/* Slide-down product panel */
.origin-tile-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.origin-tile-wrapper.active .origin-tile-panel { grid-template-rows: 1fr; }

.origin-tile-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.origin-tile-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    padding: 2rem 2rem 2.5rem;
    background: var(--light-bg);
}

.product-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--cream) 100%);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-accent), var(--green-bean), var(--warm-accent));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(122, 155, 122, 0.25);
    border-color: var(--warm-accent);
}

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

.product-card h4 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-weight: 800;
}

.product-region {
    font-size: 0.85rem;
    color: var(--warm-accent);
    margin: 0 0 0.8rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-notes {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0.8rem 0;
    line-height: 1.6;
}

.product-score {
    font-size: 0.9rem;
    color: var(--warm-accent);
    margin: 1rem 0;
    font-weight: 700;
    display: inline-block;
    background: linear-gradient(135deg, rgba(122, 155, 122, 0.1), rgba(91, 124, 91, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.product-status {
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
    font-weight: 700;
}

.product-status.in-stock {
    color: #00D084;
}

.product-status.not-available {
    color: #FF6B6B;
}

.product-status.in-transit {
    color: var(--warm-accent);
}

.inquiry-btn {
    background: linear-gradient(135deg, var(--warm-accent), #6A3E20);
    color: #FFFFFF;
    border: none;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(139, 94, 60, 0.35);
    position: relative;
    overflow: hidden;
}

.inquiry-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 94, 60, 0.5);
}

.inquiry-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Cards animate in when tile expands */
.origin-tile-panel-grid .product-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.38s ease, transform 0.38s ease, box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.origin-tile-wrapper.active .origin-tile-panel-grid .product-card {
    opacity: 1;
    transform: translateY(0);
}

/* Sustainability Section */
.sustainability {
    background: linear-gradient(135deg, var(--primary) 0%, var(--green-bean) 50%, var(--sage-green) 100%);
    padding: 6rem 2rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.sustainability::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 155, 122, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.sustainability::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 155, 122, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.sustainability-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sustainability-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.sustainability-tagline {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--warm-accent);
    letter-spacing: 0.5px;
}

.sustainability-banner {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    height: 400px;
    animation: slideUp 0.8s ease-out;
}

.sustainability-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sustainability-banner:hover img {
    transform: scale(1.05);
}

.sustainability-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.sustainability-feature {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(122, 155, 122, 0.3);
    transition: all 0.5s ease;
    animation: slideUp 0.8s ease-out;
}

.sustainability-feature:nth-child(2) {
    animation-delay: 0.1s;
}

.sustainability-feature:nth-child(3) {
    animation-delay: 0.2s;
}

.sustainability-feature:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-8px);
    border-color: var(--warm-accent);
}

.sustainability-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.sustainability-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.learn-more-btn {
    display: inline-block;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--warm-accent), #C28040);
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(122, 155, 122, 0.3);
    border: none;
    cursor: pointer;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(122, 155, 122, 0.4);
}

/* About Section */
.about {
    background: #FFFFFF;
    padding: 6rem 2rem;
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    transition: transform 0.6s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.feature {
    background: linear-gradient(135deg, var(--cream), #FFFFFF);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(122, 155, 122, 0.3), transparent 70%);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--warm-accent);
    box-shadow: 0 15px 40px rgba(122, 155, 122, 0.25);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.about-values {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--cream), #FFFFFF);
    padding: 3rem 3.5rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.about-values-title {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-style: normal;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.values-list {
    border-top: 2px solid var(--border-light);
}

/* Each accordion row */
.value-item {
    border-bottom: 1px solid var(--border-light);
}

.value-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.35rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.value-number {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--warm-accent);
    min-width: 1.8rem;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

.value-name {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    line-height: 1;
    transition: color 0.2s ease;
}

.value-header:hover .value-name { color: var(--green-bean); }
.value-item.open .value-name    { color: var(--primary); }

.value-chevron {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-dark);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.value-header:hover .value-chevron {
    border-color: var(--sage-green);
    color: var(--primary);
}

.value-item.open .value-chevron {
    transform: rotate(180deg);
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.value-chevron svg { width: 16px; height: 16px; }

/* Slide-down body */
.value-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item.open .value-body { grid-template-rows: 1fr; }

.value-body-inner {
    overflow: hidden;
    min-height: 0;
}

.value-body-inner p {
    padding: 0.2rem 0 1.8rem 3.3rem;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.85;
    font-weight: 400;
    max-width: 75ch;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--cream) 0%, #FFFFFF 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 124, 91, 0.1), transparent 70%);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #FFFFFF;
    transition: all 0.4s ease;
    font-weight: 500;
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--warm-accent);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(122, 155, 122, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, var(--warm-accent), #6A3E20);
    color: #FFFFFF;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(122, 155, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.contact-status {
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    min-height: 1.2em;
    transition: opacity 0.3s ease;
}

.contact-status.success { color: var(--green-bean); }
.contact-status.error   { color: #c0392b; }

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(122, 155, 122, 0.4);
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(to bottom, var(--warm-accent) 0%, #5C2E10 55%, #3D1F0D 100%);
    color: rgba(255,255,255,0.88);
    font-family: 'Inter', sans-serif;
}
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.footer-logo {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.4rem;
    flex: 1;
}
.footer-nav a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color 0.18s;
    white-space: nowrap;
}
.footer-nav a:hover { color: #fff; }
.footer-contact-line {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}
.footer-contact-line span,
.footer-contact-line a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.18s;
    white-space: nowrap;
}
.footer-contact-line a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}
.footer-acknowledgment {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
    flex: 1;
    text-align: center;
}
.footer-legal {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}
.footer-legal a {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.18s;
    white-space: nowrap;
}
.footer-legal a:hover { color: #fff; }

/* Footer responsive */
@media (max-width: 860px) {
    .footer-main { flex-wrap: wrap; gap: 1.25rem; padding: 1.5rem; }
    .footer-contact-line { align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.85rem 1.5rem 1.25rem; }
    .footer-acknowledgment { text-align: left; }
    .footer-logo { height: 52px; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content .hero-sub {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .origin-tile-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem; }
    .origin-tile-name { font-size: 1.15rem; }
    .origin-tile-panel-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 1.5rem; gap: 1.4rem; }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-values { padding: 2rem 2rem 1rem; }
    .about-values-title { font-size: 1.8rem; }
    .value-name { font-size: 1.6rem; }
    .value-body-inner p { padding-left: 2.8rem; }

    .sustainability-banner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    /* nav is handled by hamburger — keep container as row */
    .nav-container { flex-direction: row; }

    .hero {
        padding: 6rem 1.5rem 5rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .hero-sub {
        font-size: 1.9rem;
    }

    .origin-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .origin-tile-name { font-size: 0.95rem; }
    .origin-tile-content { padding: 0.75rem; }
    .origin-tile-panel-grid { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

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

/* Wave Dividers */
.wave-divider {
    display: block;
    line-height: 0;
    overflow: hidden;
}

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

/* Product Card Image Header */
.product-card-image {
    height: 160px;
    margin: -2rem -2rem 1.5rem -2rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
}

.product-origin-badge {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Certification Logos */
.cert-logos {
    margin-top: 3rem;
    text-align: center;
}

.cert-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cert-logo-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cert-logo-item:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-3px);
}

.cert-logo {
    height: 72px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 6px;
}

.cert-logo-item span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}


/* Product Card — cursor pointer */
.product-card {
    cursor: pointer;
}

/* ============================================
   Product Detail Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 20, 10, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-panel {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-panel {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0,0,0,0.45);
    color: #FFFFFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0,0,0,0.7);
}

.modal-hero {
    height: 220px;
    position: relative;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
}

.modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,34,15,0.4) 0%, rgba(15,34,15,0.75) 100%);
}

.modal-hero-content {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    right: 4rem;
    z-index: 2;
}

.modal-origin-badge {
    display: inline-block;
    background: var(--warm-accent);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.modal-product-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    margin: 0;
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-status-badge {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.3);
}

.modal-status-badge.in-stock  { background: rgba(0,208,132,0.25); border-color: #00D084; color: #00D084; }
.modal-status-badge.not-available { background: rgba(255,107,107,0.2); border-color: #FF6B6B; color: #FF6B6B; }
.modal-status-badge.in-transit { background: rgba(139,94,60,0.2); border-color: var(--warm-accent); color: var(--warm-accent); }

.modal-body-content {
    overflow-y: auto;
    padding: 1.8rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-score-row {
    display: flex;
    align-items: center;
}

.modal-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(139,94,60,0.12), rgba(58,110,58,0.1));
    color: var(--warm-accent);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    border: 1.5px solid rgba(139,94,60,0.3);
}

.modal-section {}

.modal-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.modal-notes-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-note-pill {
    background: var(--cream);
    color: var(--primary);
    border: 1.5px solid var(--border-light);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.modal-detail-item {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.modal-detail-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.modal-detail-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.75;
    font-weight: 400;
}

.modal-origin-profile {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    padding: 1.5rem !important;
    margin: 0 -0.5rem;
}

.modal-origin-profile .modal-section-title {
    color: rgba(255,255,255,0.7);
}

.modal-origin-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.75;
    font-weight: 300;
}

.modal-footer-bar {
    padding: 1.2rem 2rem;
    border-top: 1px solid var(--border-light);
    background: #FAFDF8;
    flex-shrink: 0;
}

.modal-inquire-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--warm-accent), #6A3E20);
    color: #FFFFFF;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(139,94,60,0.3);
}

.modal-inquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139,94,60,0.45);
}

@media (max-width: 600px) {
    .modal-panel {
        max-height: 95vh;
        border-radius: 12px;
    }
    .modal-hero { height: 170px; }
    .modal-product-name { font-size: 1.3rem; }
    .modal-body-content { padding: 1.2rem 1.2rem; }
    .modal-details-grid { grid-template-columns: 1fr; }
    .cert-logo-grid { gap: 1.5rem; }
    .cert-logo { height: 50px; }
}

/* ============================================================
   OCT AI Chat Widget
   ============================================================ */

/* FAB (floating action button) */
#oct-chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--green-bean), var(--primary));
    box-shadow: 0 6px 24px rgba(26, 58, 26, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

#oct-chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(26, 58, 26, 0.55);
}

#oct-chat-fab svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

/* Notification dot */
#oct-fab-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF6B6B;
    border: 2px solid #fff;
    animation: oct-pulse 2s infinite;
}

@keyframes oct-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.75; }
}

/* Chat panel */
#oct-chat-panel {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 8999;
    width: 370px;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    background: #fff;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#oct-chat-panel.oct-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.oct-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--green-bean));
    color: #fff;
    flex-shrink: 0;
}

.oct-chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.oct-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.oct-chat-header-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.oct-chat-header-sub {
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 1px;
}

.oct-chat-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.oct-chat-close:hover { opacity: 1; }

.oct-chat-close svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Message log */
.oct-chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #F7FAF7;
    scroll-behavior: smooth;
}

.oct-chat-log::-webkit-scrollbar { width: 4px; }
.oct-chat-log::-webkit-scrollbar-track { background: transparent; }
.oct-chat-log::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

/* Messages */
.oct-msg {
    display: flex;
    animation: oct-fadein 0.2s ease;
}

@keyframes oct-fadein {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.oct-msg-user  { justify-content: flex-end; }
.oct-msg-assistant { justify-content: flex-start; }

.oct-bubble {
    max-width: 82%;
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.oct-msg-user .oct-bubble {
    background: linear-gradient(135deg, var(--green-bean), var(--primary));
    color: #fff;
    border-bottom-right-radius: 4px;
}

.oct-msg-assistant .oct-bubble {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.oct-bubble p { margin: 0; }
.oct-bubble p + p { margin-top: 0.4rem; }

.oct-bullet {
    color: var(--green-bean);
    font-weight: 700;
}

/* Typing indicator */
.oct-typing-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.7rem 1rem;
    min-width: 60px;
}

.oct-typing-bubble span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage-green);
    animation: oct-bounce 1.2s infinite ease-in-out;
}

.oct-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.oct-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes oct-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40%            { transform: translateY(-6px); opacity: 1; }
}

/* Input row */
.oct-chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-light);
    background: #fff;
    flex-shrink: 0;
}

#oct-chat-input {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #F7FAF7;
    outline: none;
    transition: border-color 0.15s;
}

#oct-chat-input:focus {
    border-color: var(--sage-green);
    background: #fff;
}

#oct-chat-input:disabled { opacity: 0.55; cursor: not-allowed; }

#oct-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--green-bean), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s, opacity 0.15s;
}

#oct-chat-send:hover { transform: scale(1.08); }
#oct-chat-send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

#oct-chat-send svg {
    width: 18px;
    height: 18px;
}

/* API key prompt overlay */
#oct-apikey-prompt {
    position: absolute;
    inset: 0;
    background: rgba(15, 34, 15, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 18px;
}

.oct-apikey-box {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    width: 88%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.oct-apikey-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin: 0;
}

.oct-apikey-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

#oct-apikey-input {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    font-family: monospace;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.15s;
}

#oct-apikey-input:focus { border-color: var(--sage-green); }

#oct-apikey-save {
    width: 100%;
    padding: 0.65rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--green-bean), var(--primary));
    color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
}

#oct-apikey-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(26,58,26,0.35);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    #oct-chat-panel {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 90px;
        max-height: 70vh;
    }

    #oct-chat-fab {
        right: 16px;
        bottom: 20px;
    }
}

/* ============================================================
   Instagram Feed Section
   ============================================================ */

.instagram-feed {
    background: linear-gradient(180deg, #0A1A0A 0%, #0F220F 100%);
    padding: 5rem 0 6rem;
    overflow: hidden;
    position: relative;
}

.instagram-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Header row */
.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.instagram-header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.instagram-icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.instagram-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.instagram-handle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

.instagram-title {
    font-family: 'alternate-gothic-no-1-d', 'Barlow Condensed', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.instagram-follow-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Reel outer — positions the arrows */
.instagram-reel-outer {
    position: relative;
}

/* Arrow buttons */
.reel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s ease, opacity 0.3s ease, transform 0.2s ease;
}

.reel-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-60%) scale(1.1);
}

.reel-arrow svg {
    width: 20px;
    height: 20px;
}

.reel-arrow-left  { left: -23px; }
.reel-arrow-right { right: -23px; }

/* Scrollable track */
.instagram-reel-track {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0.25rem 1.5rem;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.instagram-reel-track::-webkit-scrollbar { display: none; }

.instagram-reel-track.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

/* Individual post card */
.instagram-card {
    flex: 0 0 288px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: #1A2A1A;
    border: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    position: relative;
}

.instagram-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.instagram-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.instagram-card:hover::before { opacity: 1; }

/* Ensure content sits above the gradient border pseudo */
.instagram-card-img,
.instagram-card-body {
    position: relative;
    z-index: 1;
}

/* Square image area */
.instagram-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    background-color: #0A1A0A;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-card:hover .instagram-card-img {
    transform: scale(1.04);
}

/* Hover overlay with like count */
.instagram-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.instagram-card:hover .instagram-card-hover {
    background: rgba(0,0,0,0.38);
    opacity: 1;
}

.instagram-card-likes {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Caption area */
.instagram-card-body {
    padding: 1rem 1.1rem 1.1rem;
    background: #1A2A1A;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.instagram-card-caption {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.instagram-card-time {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
    .instagram-container { padding: 0 1.5rem; }
    .instagram-title { font-size: 2rem; }
    .instagram-header { margin-bottom: 2rem; }
    .reel-arrow { display: none; }
    .instagram-card { flex: 0 0 250px; }
}

@media (max-width: 480px) {
    .instagram-container { padding: 0 1rem; }
    .instagram-card { flex: 0 0 220px; }
    .instagram-title { font-size: 1.7rem; }
    .instagram-follow-btn { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
}

/* ── Services CTA Strip (index.html, below green beans) ── */
/* ── Blend Builder Promo Strip ── */
.bldr-promo {
    background: linear-gradient(135deg, #0d2212 0%, #1a3d20 60%, #0d2212 100%);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.bldr-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,146,42,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.bldr-promo-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}
.bldr-promo-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C8922A;
    margin-bottom: 0.5rem;
}
.bldr-promo-heading {
    font-family: 'alternate-gothic-no-1-d', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    margin-bottom: 0.7rem;
    line-height: 1.1;
}
.bldr-promo-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    line-height: 1.65;
}
.bldr-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #C8922A;
    color: #FFFFFF;
    padding: 1rem 2.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
}
.bldr-promo-btn:hover {
    background: #b07d22;
    transform: translateX(3px);
}
.bldr-promo-btn svg { transition: transform 0.25s; }
.bldr-promo-btn:hover svg { transform: translateX(4px); }

.svc-cta-strip {
    background: var(--cream);
    padding: 3.5rem 2rem;
}
.svc-cta-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.svc-cta-strip-heading {
    font-family: 'alternate-gothic-no-1-d', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary), var(--warm-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
    line-height: 1.1;
}
.svc-cta-strip-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.6;
}
.svc-cta-strip-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.svc-cta-strip-btn:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
@media (max-width: 680px) {
    .svc-cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════
   HAMBURGER MENU
═══════════════════════════════════════════════════════ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
    position: relative;
    z-index: 2100;
}
.nav-hamburger:hover { background: rgba(0,0,0,0.06); }
.nav-hamburger .hb-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.open .hb-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hb-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .hb-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    backdrop-filter: blur(2px);
    animation: navOverlayIn 0.25s ease;
}
.nav-overlay.open { display: block; }
@keyframes navOverlayIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════
   MOBILE — base breakpoint 860px (hamburger kicks in)
═══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
    /* Navbar */
    .nav-hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 82vw);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        list-style: none;
        box-shadow: -6px 0 40px rgba(0,0,0,0.14);
        transition: right 0.36s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        padding: 2rem;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); padding: 0.5rem 0; }
    .nav-menu a.nav-cta {
        display: inline-block;
        margin-top: 0.5rem;
        padding: 0.75rem 2rem;
        background: linear-gradient(135deg, var(--warm-accent), #6A3E20);
        color: #fff;
        border-radius: 50px;
        font-size: 1rem;
    }
    .nav-menu a.nav-cta::after { display: none; }
    .nav-container { padding: 0.7rem 1.25rem; }
    .nav-logo { height: 56px; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE — 768px
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Hero */
    .hero { padding: 5rem 1.5rem 4rem; min-height: auto; }
    .hero-content h2 { font-size: clamp(2.4rem, 8vw, 3.2rem); }
    .hero-content .hero-sub { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero-content p { font-size: 1rem; }
    .cta-button { padding: 1rem 2.2rem; font-size: 0.92rem; }
    .scroll-indicator { display: none; }

    /* Stats */
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: 2rem; }

    /* Products */
    .products { padding: 4rem 1.25rem; }
    .section-title { font-size: 2.2rem; }
    .origin-tile-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.65rem; }
    .origin-tile-name { font-size: 1.05rem; }
    .origin-tile-panel-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding: 1.25rem; gap: 1.2rem; }

    /* Services CTA strip */
    .svc-cta-strip { padding: 2.5rem 1.5rem; }
    .svc-cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

    /* Sustainability */
    .sustainability { padding: 4rem 1.5rem; }
    .sustainability-content h2 { font-size: 2.2rem; }
    .sustainability-tagline { font-size: 1.1rem; }
    .sustainability-banner { height: 220px; }
    .sustainability-features { grid-template-columns: 1fr; gap: 1.5rem; }
    .cert-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    /* About */
    .about { padding: 4rem 1.5rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .about-features { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-values { padding: 1.75rem 1.5rem 1rem; }
    .about-values-title { font-size: 1.6rem; }
    .value-name { font-size: 1.5rem; }
    .value-body-inner p { padding-left: 2.6rem; }

    /* Contact */
    .contact { padding: 4rem 1.5rem; }
    .contact-form { padding: 1.75rem 1.25rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-info { padding: 1.5rem 0 0; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE — 480px (small phones)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Remove the old stacked nav — hamburger handles it now */
    .nav-container { padding: 0.6rem 1rem; }
    .nav-logo { height: 48px; }

    /* Hero */
    .hero { padding: 4.5rem 1rem 3.5rem; }
    .hero-content h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hero-content .hero-sub { font-size: clamp(1.5rem, 7vw, 2rem); }

    /* Stats */
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 2.5rem 1rem; }
    .stat-number { font-size: 1.75rem; }

    /* Tiles */
    .origin-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .origin-tile-name { font-size: 0.9rem; }
    .origin-tile-btn { /* smaller active header */ }
    .origin-tile-content { padding: 0.65rem; }
    .origin-tile-chevron { width: 28px; height: 28px; }
    .origin-tile-chevron svg { width: 14px; height: 14px; }
    .origin-tile-panel-grid { grid-template-columns: 1fr; padding: 0.9rem; gap: 0.9rem; }
    .product-card { padding: 1.4rem; }

    /* Section titles */
    .section-title { font-size: 1.8rem; }

    /* Sustainability */
    .sustainability-banner { height: 180px; }
    .cert-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cert-logo { max-height: 60px; }

    /* About */
    .about-image { border-radius: 10px; }

    /* Contact */
    .contact-form { padding: 1.25rem 1rem; }
    .contact-grid select,
    .contact-form input,
    .contact-form textarea { font-size: 0.95rem; }

    /* Footer */
    /* Instagram */
    .instagram-container { padding: 0 1rem; }
    .instagram-card { flex: 0 0 230px; }
    .instagram-title { font-size: 1.8rem; }
    .reel-arrow { display: none; }
}

/* Override old conflicting 480px block (hamburger replaces column nav) */
@media (max-width: 480px) {
    .nav-container { flex-direction: row; }
    .nav-menu { flex-direction: column; text-align: center; }
}

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