/* outgrowers.css - Cinematic & Premium */
:root {
    --outg-dark: #020a07;
    --outg-green: #2c6e49;
    --outg-green-light: #4c956c;
    --outg-white: #ffffff;
    --outg-text-muted: rgba(255, 255, 255, 0.7);
    --outg-font-head: 'Cormorant', serif;
    --outg-font-body: 'Plus Jakarta Sans', sans-serif;
    --outg-font-cond: 'Roboto Condensed', sans-serif;
    --outg-transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.custom-cursor {
    background-color: var(--outg-dark);
}

.outg-page {
    width: 100%;
    font-family: var(--outg-font-body);
    background-color: var(--outg-dark);
    color: var(--outg-white);
}

/* Typography */
.outg-h1 { font-family: var(--outg-font-head); font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.outg-h2 { font-family: var(--outg-font-head); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.outg-h3 { font-family: var(--outg-font-head); font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; }
.outg-text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--outg-text-muted); font-weight: 300; }
.outg-text-large { font-size: clamp(1.4rem, 2vw, 2.2rem); line-height: 1.4; color: var(--outg-white); font-weight: 300; }

/* Cinematic Button */
.outg-btn-group { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.outg-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 40px; font-family: var(--outg-font-body); font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    border-radius: 50px; overflow: hidden;
    transition: var(--outg-transition); cursor: pointer; text-decoration: none; z-index: 1;
}
.outg-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--outg-white); transform: scaleX(0); transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1;
}
.outg-btn:hover::before { transform: scaleX(1); transform-origin: left; }

.outg-btn--primary { background: var(--outg-green); color: var(--outg-white) !important; border: 1px solid var(--outg-green); }
.outg-btn--primary:hover { color: var(--outg-dark) !important; border-color: var(--outg-white); }

.outg-btn--outline { background: transparent; color: var(--outg-white) !important; border: 1px solid rgba(255,255,255,0.3); }
.outg-btn--outline:hover { color: var(--outg-dark) !important; border-color: var(--outg-white); }

/* Global Parallax Elements */
.outg-parallax-layer { position: absolute; top: -25%; left: 0; width: 100%; height: 150%; object-fit: cover; will-change: transform; transform: translateZ(0); }
.outg-overlay-dark { position: absolute; inset: 0; background: linear-gradient(to top, var(--outg-dark) 0%, rgba(2,10,7,0.3) 50%, rgba(2,10,7,0.8) 100%); z-index: 1; pointer-events: none; }

.outg-fade-up { opacity: 0; transform: translateY(60px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.outg-fade-up.is-active { opacity: 1; transform: translateY(0); }

/* 1. HERO */
.outg-hero { position: relative; height: 110vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.outg-hero__content { position: relative; z-index: 2; text-align: center; max-width: 1000px; padding: 0 24px; }
.outg-hero__title { opacity: 0; transform: translateY(50px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.outg-hero__title.is-active { opacity: 1; transform: translateY(0); }
.outg-hero__text { opacity: 0; transform: translateY(40px); margin-top: 24px; max-width: 800px; margin-inline: auto; transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; }
.outg-hero__text.is-active { opacity: 1; transform: translateY(0); }
.outg-hero__actions { opacity: 0; transform: translateY(30px); justify-content: center; transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s; }
.outg-hero__actions.is-active { opacity: 1; transform: translateY(0); }

.outg-scroll-indicator { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0.6; }
.outg-scroll-indicator span { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; font-weight: 500; }
.outg-scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.outg-scroll-line::after { content:''; position: absolute; top:0; left:0; width:1px; height:100%; background: #fff; animation: scrollDrop 2s infinite cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes scrollDrop { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* 2. STORY OVERLAY */
.outg-story { position: relative; padding: 200px 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden;}
.outg-story__container { max-width: 1300px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.outg-story__text-block { max-width: 800px; }
.outg-story__text-block p { margin-bottom: 40px; }

/* 3. TIMELINE */
.outg-timeline { padding: 150px 0; position: relative; background: var(--outg-dark); overflow: hidden; }
.outg-timeline__header { text-align: center; margin-bottom: 150px; }
.outg-timeline__wrap { max-width: 1200px; margin: 0 auto; position: relative; padding: 0 24px; }
.outg-timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.1); transform: translateX(-50%); }
.outg-timeline__line-progress { position: absolute; left: 50%; top: 0; width: 2px; background: var(--outg-green); height: 0; transform: translateX(-50%); box-shadow: 0 0 15px var(--outg-green); }

.outg-step { display: flex; justify-content: space-between; align-items: center; margin-bottom: 150px; position: relative; perspective: 1000px; }
.outg-step:nth-child(even) { flex-direction: row-reverse; }
.outg-step__content { width: 42%; opacity: 0; transform: translateY(50px); transition: var(--outg-transition); }
.outg-step.is-active .outg-step__content { opacity: 1; transform: translateY(0); }
.outg-step__visual { width: 42%; height: 500px; position: relative; overflow: hidden; border-radius: 8px; opacity: 0; transform: translateY(50px) rotateX(5deg); transition: var(--outg-transition); transition-delay: 0.1s;}
.outg-step.is-active .outg-step__visual { opacity: 1; transform: translateY(0) rotateX(0); }
.outg-img-parallax { width: 100%; height: 125%; object-fit: cover; transform: translateZ(0); will-change: transform; }
.outg-step__node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; background: var(--outg-dark); border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; z-index: 2; transition: var(--outg-transition); }
.outg-step.is-active .outg-step__node { border-color: var(--outg-green-light); background: var(--outg-green-light); box-shadow: 0 0 20px var(--outg-green-light); }

.outg-step__number { font-family: var(--outg-font-head); font-size: 8rem; color: rgba(255,255,255,0.03); position: absolute; top: -80px; left: -40px; line-height: 1; z-index: -1; }
.outg-step:nth-child(even) .outg-step__number { left: auto; right: -40px; }
.outg-step__title { font-size: 2.2rem; margin-bottom: 16px; color: var(--outg-white); }
.outg-step__desc { font-size: 1.15rem; color: var(--outg-text-muted); line-height: 1.6; }

/* 4. VIDEO BREAK */
.outg-vid-break { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.outg-vid-break__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; transition: background 0.8s ease; }
.outg-vid-break:hover .outg-vid-break__overlay { background: rgba(0,0,0,0.2); }
.outg-play-ring { width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; z-index: 2; cursor: pointer; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s; backdrop-filter: blur(8px); }
.outg-play-ring:hover { transform: scale(1.1); background: var(--outg-white); color: var(--outg-dark); }
.outg-play-ring i { font-size: 24px; margin-left: 6px; }

/* 5. IMPACT PARALLAX TYPOGRAPHY */
.outg-impact { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--outg-dark); padding: 150px 0;}
.outg-impact__bg { opacity: 0.3; }
.outg-impact__content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.outg-impact__row { display: flex; align-items: center; justify-content: center; gap: 40px; width: 100%; white-space: nowrap; }
.outg-impact__num { font-family: var(--outg-font-head); font-size: clamp(6rem, 10vw, 12rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2); line-height: 1; transition: color 1s ease, transform 1s ease; }
.outg-impact__label { font-family: var(--outg-font-cond); font-size: clamp(1rem, 2vw, 1.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--outg-white); opacity: 0; transform: translateX(20px); transition: opacity 1s ease, transform 1s ease; }
.outg-impact__row.is-active .outg-impact__num { color: var(--outg-white); -webkit-text-stroke: 0; }
.outg-impact__row.is-active .outg-impact__label { opacity: 1; transform: translateX(0); }

/* 6. HORIZONTAL FARMER STORIES */
.outg-horizontal-wrapper { padding: 100px 0; background: var(--outg-dark); }
.outg-horizontal__container { 
    display: flex; 
    gap: 32px; 
    padding: 0 40px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-padding: 0 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.outg-horizontal__container::-webkit-scrollbar { display: none; }
.outg-panel { 
    flex: 0 0 calc(100vw - 80px); 
    max-width: 900px;
    height: 70vh; 
    min-height: 500px;
    border-radius: 16px;
    position: relative; 
    display: flex; 
    align-items: flex-end; 
    padding: 40px; 
    scroll-snap-align: center; 
    overflow: hidden;
}
.outg-panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.8s ease; z-index: 0; }
.outg-panel:hover .outg-panel__bg { transform: scale(1.05); opacity: 0.7; }
.outg-panel__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,10,7,0.95) 0%, rgba(2,10,7,0) 80%); z-index: 1; }
.outg-panel__content { position: relative; z-index: 2; width: 100%; }
.outg-panel__quote { font-family: var(--outg-font-head); font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.2; font-style: italic; margin-bottom: 24px; color: var(--outg-white); }
.outg-panel__author { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--outg-green-light); font-family: var(--outg-font-cond); }

/* 7. SUPPORT & DEV */
.outg-support { padding: 150px 0; background: var(--outg-dark); position: relative; }
.outg-support__grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 0 40px; align-items: center; }
.outg-support__visual { position: relative; height: 750px; border-radius: 8px; overflow: hidden; }
.outg-support__list { display: flex; flex-direction: column; gap: 60px; }
.outg-support-item { opacity: 0; transform: translateY(30px); transition: var(--outg-transition); }
.outg-support-item.is-active { opacity: 1; transform: translateY(0); }
.outg-support-item h4 { font-size: 2rem; color: var(--outg-white); margin-bottom: 16px; font-weight: 500; font-family: var(--outg-font-head); }
.outg-support-item p { font-size: 1.15rem; color: var(--outg-text-muted); line-height: 1.6; }

/* 8. SUSTAINABILITY CONNECTION */
.outg-calm { padding: 200px 0; text-align: center; background: var(--outg-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.outg-calm__text { font-family: var(--outg-font-head); font-size: clamp(2.5rem, 4vw, 4rem); max-width: 900px; margin: 0 auto; line-height: 1.3; color: rgba(255,255,255,0.9); }

/* 9. FINAL CTA */
.outg-cta { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.outg-cta__content { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; opacity: 0; transform: translateY(40px); transition: var(--outg-transition); }
.outg-cta.is-active .outg-cta__content { opacity: 1; transform: translateY(0); }


/* RESPONSIVE */
@media (max-width: 1024px) {
    .outg-timeline__line { left: 40px; }
    .outg-timeline__line-progress { left: 40px; transform: translateX(-50%); }
    .outg-step { flex-direction: column !important; align-items: flex-start; margin-bottom: 100px; padding-left: 80px; }
    .outg-step__content { width: 100%; margin-bottom: 40px; }
    .outg-step__visual { width: 100%; height: 400px; }
    .outg-step__node { left: 40px; }
    .outg-step__number { top: -40px; left: 0 !important; font-size: 5rem; }
    
    .outg-support__grid { grid-template-columns: 1fr; }
    .outg-support__visual { height: 500px; }
    
    .outg-horizontal__container { padding: 0 24px; gap: 16px; scroll-padding: 0 24px; }
    .outg-panel { flex: 0 0 calc(100vw - 48px); padding: 32px; height: 60vh; }
    .outg-impact__row { flex-direction: column; gap: 10px; margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .outg-btn-group { flex-direction: column; width: 100%; }
    .outg-btn { width: 100%; }
}
