@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #050806;
    --panel: #0b120d;
    --panel2: #0e1811;
    --green: #8cff68;
    --green2: #31c96b;
    --text: #f1f5f0;
    --muted: #93a198;
    --line: rgba(151, 255, 122, 0.16);
    --white: rgba(255, 255, 255, 0.09);
    --max: 1240px;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   BACKGROUND NOISE
========================================================= */

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    z-index: 20;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 80px;
    max-width: var(--max);
    padding: 0 24px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--white);

    position: relative;
    z-index: 5;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 135px;
    height: auto;
    display: block;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 35px;

    color: var(--muted);
    font-size: 13px;
}

.desktop-nav a {
    transition: 0.2s ease;
}

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

.header-btn {
    border: 1px solid var(--white);
    padding: 10px 14px;
    border-radius: 100px;

    font-size: 12px;

    transition: 0.2s ease;
}

.header-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.menu-btn {
    display: none;

    background: none;
    border: 0;

    color: white;

    font-size: 22px;
    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: var(--max);
    margin: auto;

    padding: 100px 24px 120px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 65px;

    align-items: center;

    min-height: 700px;
}

.eyebrow,
.section-tag {
    font-size: 10px;
    letter-spacing: 0.19em;

    color: var(--green);

    font-weight: 700;
}

.eyebrow i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    display: inline-block;

    background: var(--green);

    box-shadow: 0 0 15px var(--green);

    margin-right: 8px;
}

.hero h1 {
    font: 600 clamp(65px, 7.5vw, 108px) / 0.88 "Space Grotesk";

    letter-spacing: -0.065em;

    margin: 23px 0 28px;
}

.hero h1 span,
h2 span {
    color: var(--green);
}

.hero-lead {
    font-size: 17px;
    line-height: 1.7;

    color: var(--muted);

    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 33px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 28px;

    padding: 14px 18px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.25s ease;
}

.btn-green {
    background: var(--green);
    color: #061008;
}

.btn-green:hover {
    box-shadow: 0 12px 40px rgba(140, 255, 104, 0.18);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1px solid var(--white);

    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero-micro {
    margin-top: 30px;

    color: #637269;

    font: 11px "Space Grotesk";

    display: flex;
    gap: 10px;

    align-items: center;
}

.hero-micro span {
    color: var(--green);
    font-weight: 700;
}

.hero-micro b {
    color: #4c5c52;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-art {
    height: 545px;

    border: 1px solid var(--line);

    border-radius: 26px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(80, 190, 75, 0.17),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #0a140d,
            #050806
        );
}

.grid-lines {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}

.art-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(140, 255, 104, 0.13);

    box-shadow:
        0 0 100px rgba(70, 220, 80, 0.12);
}

.hero-art img {
    position: absolute;

    width: 92%;
    height: 92%;

    inset: 4%;

    object-fit: contain;
}

.floating-card {
    position: absolute;

    background: rgba(5, 10, 7, 0.85);

    backdrop-filter: blur(12px);

    border: 1px solid var(--line);

    border-radius: 9px;

    padding: 12px 15px;

    min-width: 105px;

    z-index: 2;
}

.floating-card small {
    display: block;

    color: #718077;

    font-size: 8px;

    letter-spacing: 0.15em;
}

.floating-card strong {
    font: 700 34px "Space Grotesk";

    color: var(--green);

    display: block;

    line-height: 1.05;
}

.floating-card em {
    font-style: normal;

    color: #78877e;

    font-size: 9px;
}

.card-co2 {
    top: 30px;
    left: 30px;
}

.card-soil {
    right: 30px;
    bottom: 30px;
}

.floating-pill {
    position: absolute;

    right: 25px;
    top: 27px;

    border: 1px solid var(--white);

    padding: 7px 10px;

    border-radius: 99px;

    font: 9px "Space Grotesk";

    color: var(--green);
}

.floating-pill span {
    color: #77847d;

    margin-left: 6px;
}


/* =========================================================
   TICKER
========================================================= */

.ticker {
    border-block: 1px solid var(--white);

    overflow: hidden;

    white-space: nowrap;

    color: #718077;

    font: 11px "Space Grotesk";

    letter-spacing: 0.16em;

    padding: 18px 0;
}

.ticker div {
    animation: marquee 25s linear infinite;

    display: inline-block;
}

.ticker b {
    color: var(--green);

    padding: 0 25px;
}

@keyframes marquee {
    to {
        transform: translateX(-20%);
    }
}


/* =========================================================
   COMMON SECTIONS
========================================================= */

.section {
    max-width: var(--max);

    margin: auto;

    padding: 125px 24px;
}


/* =========================================================
   INTRO
========================================================= */

.intro-grid {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 100px;

    margin-top: 35px;
}

.intro h2,
.section-head h2,
.output-head h2,
.tech-copy h2,
.final-cta h2 {
    font: 500 clamp(42px, 5vw, 70px) / 1.03 "Space Grotesk";

    letter-spacing: -0.055em;

    margin: 0;
}

.intro h2 span {
    color: var(--green);
}

.intro-grid p {
    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;

    margin: 0 0 20px;
}


/* =========================================================
   PROCESS SECTION
========================================================= */

.section-head {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 50px;
}

.section-head p {
    max-width: 320px;

    color: var(--muted);

    font-size: 13px;
}

.process-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


/* =========================================================
   PROCESS VISUAL
   FIXED: image no longer gets cropped
========================================================= */

.process-visual {
    height: 560px;

    position: relative;

    border: 1px solid var(--white);

    background: #0a120c;

    border-radius: 16px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;
}


/*
   IMPORTANT:
   "contain" keeps the complete illustration visible.
   "cover" was causing the bamboo/soil illustrations
   to be cropped.
*/

.process-visual img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    padding: 10px;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}


/* =========================================================
   PROCESS IMAGE INFORMATION CARD
========================================================= */

.visual-label {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 24px;

    background: rgba(4, 9, 6, 0.82);

    backdrop-filter: blur(10px);

    border: 1px solid var(--line);

    padding: 18px;

    border-radius: 9px;

    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 2px 12px;

    z-index: 3;
}

.visual-label span {
    color: var(--green);

    font: 12px "Space Grotesk";
}

.visual-label strong {
    font: 18px "Space Grotesk";
}

.visual-label small {
    grid-column: 2;

    color: #8a988f;

    font-size: 11px;
}


/* =========================================================
   PROCESS STEP CARDS
========================================================= */

.steps {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.step {
    display: grid;

    grid-template-columns: 45px 1fr 30px;

    align-items: center;

    text-align: left;

    background: var(--panel);

    border: 1px solid var(--white);

    border-radius: 9px;

    padding: 23px 20px;

    color: var(--text);

    cursor: pointer;

    transition:
        0.25s ease;

    appearance: none;
}

.step > span {
    color: #66746b;

    font: 12px "Space Grotesk";
}

.step strong {
    font: 16px "Space Grotesk";

    display: block;
}

.step small {
    display: block;

    color: #718077;

    font-size: 10px;

    margin-top: 6px;
}

.step > b {
    color: #59685e;

    font-weight: 400;
}

.step.active,
.step:hover {
    background: #0d1c11;

    border-color: rgba(140, 255, 104, 0.45);

    transform: translateX(6px);
}

.step.active > span,
.step.active > b {
    color: var(--green);
}


/* =========================================================
   DARK OUTPUT BAND
========================================================= */

.dark-band {
    background: #071009;

    border-block: 1px solid var(--white);
}

.output-section {
    padding-top: 120px;
}

.output-head {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    gap: 80px;

    margin: 35px 0 50px;
}

.output-head p {
    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;
}

.outputs {
    display: grid;

    grid-template-columns: 1.3fr 1fr 1fr;

    gap: 9px;
}

.output {
    min-height: 340px;

    padding: 28px;

    background: var(--panel);

    border: 1px solid var(--white);

    position: relative;

    overflow: hidden;
}

.output.featured {
    background:
        linear-gradient(
            150deg,
            #102619,
            #0a130d
        );

    border-color: rgba(140, 255, 104, 0.32);
}

.output-num {
    font: 11px "Space Grotesk";

    color: var(--green);
}

.big-icon {
    position: absolute;

    right: 24px;
    top: 45px;

    color: rgba(140, 255, 104, 0.13);

    font: 700 105px "Space Grotesk";
}

.output h3 {
    font: 500 28px "Space Grotesk";

    margin: 130px 0 12px;
}

.output p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;

    max-width: 360px;
}

.output-line {
    position: absolute;

    left: 28px;
    bottom: 28px;

    width: 55px;

    height: 1px;

    background: var(--green);
}


/* =========================================================
   TECHNOLOGY SECTION
========================================================= */

.technology {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


/* =========================================================
   TECHNOLOGY IMAGE
   FIXED: entire illustration stays visible
========================================================= */

.tech-image {
    height: 520px;

    border: 1px solid var(--line);

    background: #09120c;

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.tech-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    padding: 10px;
}

.tech-stamp {
    position: absolute;

    bottom: 22px;
    left: 22px;

    border: 1px solid var(--line);

    padding: 10px 13px;

    color: var(--green);

    font: 700 12px "Space Grotesk";

    letter-spacing: 0.12em;

    background: rgba(5, 10, 7, 0.65);

    backdrop-filter: blur(8px);
}

.tech-stamp span {
    font: 8px "DM Sans";

    color: #78877e;
}


/* =========================================================
   TECHNOLOGY COPY
========================================================= */

.tech-copy p {
    color: var(--muted);

    line-height: 1.8;

    max-width: 500px;

    margin: 28px 0;
}

.tech-stats {
    border-top: 1px solid var(--white);

    display: grid;

    grid-template-columns: repeat(3, 1fr);
}

.tech-stats div {
    padding: 18px 10px 0 0;
}

.tech-stats strong {
    font: 600 25px "Space Grotesk";

    color: var(--green);

    display: block;
}

.tech-stats small {
    color: #748078;

    font-size: 9px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    max-width: var(--max);

    margin: 0 auto 100px;

    padding: 110px 24px;

    text-align: center;

    border: 1px solid var(--line);

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(58, 183, 72, 0.13),
            transparent 48%
        ),
        #09120c;
}

.final-cta .section-tag {
    position: relative;
}

.final-cta h2 {
    position: relative;

    margin: 25px auto 22px;
}

.final-cta p {
    position: relative;

    color: var(--muted);

    max-width: 470px;

    margin: 0 auto 30px;

    font-size: 13px;
}

.orbital {
    position: absolute;

    width: 600px;
    height: 220px;

    border: 1px solid rgba(140, 255, 104, 0.12);

    border-radius: 50%;

    left: 50%;
    top: 48%;

    transform:
        translate(-50%, -50%)
        rotate(-12deg);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    max-width: var(--max);

    margin: auto;

    padding: 30px 24px 45px;

    border-top: 1px solid var(--white);

    display: flex;

    justify-content: space-between;

    color: #65736a;

    font-size: 10px;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    animation:
        up 0.9s 0.1s forwards;
}

@keyframes up {
    to {
        opacity: 1;

        transform: none;
    }
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .header-btn {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 70px;
    }

    .intro-grid,
    .process-layout,
    .technology,
    .output-head {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .outputs {
        grid-template-columns: 1fr;
    }

    .process-visual {
        height: 450px;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 20px;
    }

    .technology {
        padding-top: 80px;
    }

    .tech-image {
        height: 400px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .site-header {
        padding: 0 17px;
    }

    .hero,
    .section {
        padding-left: 17px;
        padding-right: 17px;
    }

    .hero h1 {
        font-size: 59px;
    }

    .hero-art {
        height: 400px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .intro-grid {
        gap: 30px;
    }

    .process-visual {
        height: 390px;
    }

    .process-visual img {
        padding: 5px;
    }

    .visual-label {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .step {
        grid-template-columns: 35px 1fr 20px;

        padding: 19px 14px;
    }

    .step.active,
    .step:hover {
        transform: none;
    }

    .output {
        min-height: 280px;
    }

    .output h3 {
        margin-top: 105px;
    }

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

    .tech-stats div {
        padding-bottom: 14px;
    }

    .tech-image {
        height: 390px;
    }

    .tech-image img {
        padding: 5px;
    }

    .final-cta {
        margin-left: 17px;
        margin-right: 17px;

        padding: 80px 18px;
    }

    footer {
        display: block;

        padding-left: 17px;
        padding-right: 17px;
    }

    footer > span {
        display: block;

        margin-top: 12px;
    }
}