html,
body {
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: Arial, sans-serif;
    overflow-x: clip;
}

/* Main section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
}

/* Background image placeholder */
.background-video {
    position: absolute;
    inset: 0;

    /* Add your image later */
     /*background-image: url("white_star.png"); */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 0;
}

/* Navbar */
.navbar {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    padding: 25px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 10;
}

/* Logo */
.nav-logo {
    color: white;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
}

/* Sound: borrows the dashboard CTA's language - outlined, uppercase,
   letterspaced, inverting on hover - so it belongs to the page instead of
   hiding in the corner as a glass dot. */
.sound-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.7em 1.25em;
    border: 2px solid #fafafa;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    color: #fafafa;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all 500ms;
}
.sound-toggle:hover {
    background: #fafafa;
    color: #000;
    transform: scale(1.05);
}
.sound-toggle:focus-visible { outline: 2px solid #fafafa; outline-offset: 4px; }

.sound-toggle svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sound-toggle .speaker { fill: currentColor; stroke-width: 1.2; }
.sound-toggle .muted { display: none; }
.sound-toggle[aria-pressed="false"] .wave { display: none; }
.sound-toggle[aria-pressed="false"] .muted { display: block; }

@media (max-width: 700px) {
    .sound-toggle { padding: 0.6em 0.9em; font-size: 10px; letter-spacing: 1.5px; gap: 7px; }
    .sound-toggle svg { width: 15px; height: 15px; }
}

.hero-content {
    position: absolute;

    top: -6%;

    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.enterdashboard {
    padding: 1em 2em;
    text-decoration: none;

    border: none;
    border-radius: 5px;

    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #fafafa;

    transition: all 500ms;

    font-size: 16px;
    font-family: Poppins;

    position: absolute;

    top: 15%;
    left: 50%;

    translate: -50% 0;

    overflow: hidden;

    outline: 2px solid #fcfcfc;

    z-index: 10;
}

.enterdashboard:hover {
    cursor: pointer;

    color: #000000;

    transform: scale(1.05);

    outline: none;
}

.enterdashboard::before {
    content: "";

    position: absolute;

    left: -50px;

    top: 0;

    width: 0;
    height: 100%;

    background-color: #fcfcfc;

    transform: skewX(45deg);

    z-index: -1;

    transition: width 500ms;
}

.enterdashboard:hover::before {
    width: 200%;
}



/* =========================
   LAYER 1 - SOLID TEXT
   ========================= */

.text-back {
    font-family: "Bebas Neue", sans-serif;
    font-size: 15rem;
    letter-spacing: 5px;
    position: absolute;

    margin: 0;




    color: white;

    z-index: 2;
}


/* =========================
   LAYER 2 - IMAGE
   ========================= */

.hero-object {
    position: absolute;
    top: 16%;

    width: 800px;
    height: auto;
    rotate: 7deg;

    z-index: 3;
}

/* =========================
   LAYER 3 - OUTLINE TEXT
   ========================= */

.text-front {
    font-family: "Bebas Neue", sans-serif;
    font-size: 15rem;
    letter-spacing: 5px;
    position: absolute;

    margin: 0;

 
 
    color: transparent;

    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.1px white;

    z-index: 4;
}

.hero-image {
    position: absolute;

    bottom: 0;
    left: 50%;

    transform: translate(-50%, 8%);

    z-index: 2;
}



.hero-image img {
    width: 1800px;
    height: auto;
    display: block;

    
}

.hero-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 25%;

    background: linear-gradient(
        to bottom,
        transparent,
        #000
    );

    pointer-events: none;
}

.sec-sat-1{
    position: absolute;
    left: 5%;
    top: 15%;
    rotate: -60deg;
}

.sec-sat-1 img{
    height: auto;
    width: 200px;
}

.sec-sat-2{
    position: absolute;
    right: 5%;
    top: 30%;
    rotate: -110deg;
}

.sec-sat-2 img{
    height: auto;
    width: 180px;
}


/*img 1 and 2 represent left right and img 3 and 4 represent*/
/*line11 line12 line13 circle1 represents box1 property and so on... */


.imgbox1{
    position:absolute;
    height: 200px;
    width: 300px;

    bottom:8%;
    left: 10%;

    z-index: 2;
}


.imgbox2{
    position:absolute;
    height: 200px;
    width: 300px;

    bottom:4%;
    right: 10%;

    z-index: 2;

}


.imgbox3{
    position:absolute;
    height: 200px;
    width: 300px;

    bottom:20%;
    right: 24%;

    z-index:2;
    
}


.imgbox4{
    position:absolute;
    height: 200px;
    width: 300px;

    bottom:20%;
    left: 24%;

    z-index:2;
    
}


/* =========================
   ELASTIC MESH
   ========================= */

/*
   The ElasticMesh container fills the entire
   image box. The box itself is NOT clipped,
   because your decorative lines extend outside.
*/

.imgbox1 .elastic-mesh,
.imgbox2 .elastic-mesh,
.imgbox3 .elastic-mesh,
.imgbox4 .elastic-mesh {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 3;
}


/* ElasticMesh canvas fills the complete box */

.elastic-mesh canvas {
    display: block;

    width: 100% !important;
    height: 100% !important;
}


/* Keep decorative lines and circles above ElasticMesh */

.imgbox1 > span,
.imgbox2 > span,
.imgbox3 > span,
.imgbox4 > span {
    z-index: 2;
}


/*.design-line11{
    position:absolute;
    height: 1.5px;
    width: 155px;
    background-color: rgb(255, 253, 253);

    transform-origin:left center;
    bottom: 50%;
    left: 80%;
    rotate: 30deg;
    
}

/*.design-line12{
    position:absolute;
    height: 1.5px;
    width: 90px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    right:-45%;
    bottom: 0%;
    rotate: 47deg;
    
}

.design-line13{
    position:absolute;
    height: 1.5px;
    width: 265px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    left:0%;
    bottom: 0%;
    rotate: 14deg;
    
}*/

/*.circle1{
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    bottom: 8%;
    left: 124%;

}


.design-line21{
    position:absolute;
    height: 1.5px;
    width: 175px;
    background-color: rgb(255, 254, 254);

    transform-origin:left center;
    bottom: 40%;
    right: 30%;
    rotate: 160deg;
}

/*.design-line22{
    position:absolute;
    height: 1.5px;
    width: 312px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    right: -157%;
    bottom: 0%;
    rotate: 173.5deg;
    
}

.design-line23{
    position:absolute;
    height: 1.5px;
    width: 116px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    left:0%;
    bottom: 0%;
    rotate: 162deg;
    
}*/

/*.circle2{
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    bottom: 7.5%;
    right: 143%;

}


.design-line31{
    position:absolute;
    height: 1.5px;
    width: 175px;
    background-color: rgb(255, 254, 254);

    transform-origin:left center;
    bottom: 30%;
    right: 30%;
    rotate: 130deg;
}

/*.design-line32{
    position:absolute;
    height: 1.5px;
    width: 240px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    right: -121.5%;
    bottom: 0%;
    rotate: 162deg;
    
}

.design-line33{
    position:absolute;
    height: 1.5px;
    width: 80px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    left:0%;
    bottom: 0%;
    rotate: 112.5deg;
    
}*/

/*.circle3{
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    bottom: -40%;
    right: 124.5%;
    
}



.design-line41{
    position:absolute;
    height: 1.5px;
    width: 120px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    left: 80%;
    bottom: 20%;
    rotate: 60deg;
}

/*.design-line42{
    position:absolute;
    height: 1.5px;
    width: 97px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    right:-49%;
    bottom: 0%;
    rotate: 70deg;
    
}

.design-line43{
    position:absolute;
    height: 1.5px;
    width: 248px;
    background-color: rgb(255, 255, 255);

    transform-origin:left center;
    left:0%;
    bottom: 0%;
    rotate: 21.5deg;
    
}*/

/*.circle4{
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    bottom: -34%;
    right: -1.5%;

}












/* =========================
   PARALLAX HOVER EFFECT
   ========================= */



.hero .hero-object,
.hero .sec-sat-1,
.hero .sec-sat-2{
    --parallax-x: 0px;
    --parallax-y: 0px;
    translate: var(--parallax-x) var(--parallax-y);
    transition: translate 0.15s ease-out;
}


/* =========================================================
   RESPONSIVE PART
   Only the responsive rules are added below.
   ========================================================= */

@media (max-width: 1280px) {

    .hero-image img {
        width: 1550px;
    }

    .hero-object {
        width: 720px;
        top: calc(50% - 211px);
    }

    .text-back,
    .text-front {
        font-size: 12.5rem;
    }

    .imgbox1,
    .imgbox2,
    .imgbox3,
    .imgbox4 {
        width: 260px;
        height: 175px;
    }

    .imgbox3,
    .imgbox4 {
        bottom: 17%;
    }
}


@media (max-width: 1024px) {

    .hero-image img {
        width: 1250px;
    }

    .hero-object {
        width: 620px;
        top: calc(50% - 181px);
    }

    .text-back,
    .text-front {
        font-size: 10rem;
    }

    .imgbox1,
    .imgbox2,
    .imgbox3,
    .imgbox4 {
        width: 220px;
        height: 145px;
    }

    .imgbox1 {
        left: 4%;
    }

    .imgbox2 {
        right: 4%;
    }

    .imgbox3 {
        right: 20%;
        bottom: 14%;
    }

    .imgbox4 {
        left: 20%;
        bottom: 14%;
    }

    .sec-sat-1 img {
        width: 160px;
    }

    .sec-sat-2 img {
        width: 145px;
    }
}


@media (max-width: 768px) {

    .hero-image img {
        width: 950px;
    }

    .hero-object {
        width: 480px;
        top: calc(50% - 140px);
    }

    .text-back,
    .text-front {
        font-size: 7.5rem;
    }

    .imgbox1,
    .imgbox2,
    .imgbox3,
    .imgbox4 {
        width: 165px;
        height: 110px;
    }

    .imgbox1 {
        left: 3%;
        bottom: 2%;
    }

    .imgbox2 {
        right: 3%;
        bottom: 2%;
    }

    .imgbox3 {
        right: 19%;
        bottom: 12%;
    }

    .imgbox4 {
        left: 19%;
        bottom: 12%;
    }

    .sec-sat-1 img {
        width: 130px;
    }

    .sec-sat-2 img {
        width: 115px;
    }

    .navbar {
        padding: 20px 24px;
    }

    .nav-logo {
        font-size: 20px;
    }
}


@media (max-width: 480px) {

    .hero-image img {
        width: 680px;
    }

    .hero-object {
        width: 340px;
        top: calc(50% - 99px);
    }

    .text-back,
    .text-front {
        font-size: 5rem;
    }

    .imgbox1,
    .imgbox2,
    .imgbox3,
    .imgbox4 {
        width: 130px;
        height: 88px;
    }

    .imgbox1 {
        left: 2%;
        bottom: 3%;
    }

    .imgbox2 {
        right: 2%;
        bottom: 3%;
    }

    .imgbox3 {
        right: 17%;
        bottom: 10%;
    }

    .imgbox4 {
        left: 17%;
        bottom: 10%;
    }

    .sec-sat-1 img {
        width: 95px;
    }

    .sec-sat-2 img {
        width: 85px;
    }

    .navbar {
        padding: 16px;
    }

    .nav-logo {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .enterdashboard {
        padding: 0.8em 1.5em;
        font-size: 13px;
    }
}


@media (max-width: 360px) {

    .hero-image img {
        width: 560px;
    }

    .hero-object {
        width: 280px;
        top: calc(50% - 82px);
    }

    .text-back,
    .text-front {
        font-size: 4rem;
    }

    .imgbox1,
    .imgbox2,
    .imgbox3,
    .imgbox4 {
        width: 105px;
        height: 72px;
    }

    .imgbox1 {
        left: 1%;
        bottom: 3%;
    }

    .imgbox2 {
        right: 1%;
        bottom: 3%;
    }

    .imgbox3 {
        right: 14%;
        bottom: 8%;
    }

    .imgbox4 {
        left: 14%;
        bottom: 8%;
    }

    .sec-sat-1 img {
        width: 78px;
    }

    .sec-sat-2 img {
        width: 68px;
    }

    .navbar {
        padding: 12px;
    }

    .nav-logo {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .enterdashboard {
        padding: 0.65em 1.2em;
        font-size: 11px;
        letter-spacing: 1px;
    }
}


/* =========================================================
   THE PROBLEM
   Pinned while four statements play out. A glass half-disc on the
   left edge turns its stations; the satellite lands on the right.
========================================================= */

@property --tone {
    syntax: "<color>";
    inherits: true;
    initial-value: #3dd6b0;
}

.the-problem{
    --pad: 6vw;                /* the section's own side padding */
    --ring: min(64vh, 40vw);   /* orbit diameter */
    --gap: clamp(40px, 5vw, 88px); /* air between the card and the ring */

    /* the card's right edge lands on the centre line: at most 620px, and
       never wider than the run from the left padding edge to the middle */
    --card-w: min(620px, calc(50vw - var(--pad)));

    margin-top: 50px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    padding: 96px var(--pad) 56px;

    transition: --tone 0.6s ease;
}

.the-problem h1{
    font-family: Poppins;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1;
    color: white;
}

.the-problem-container{
    flex: 1;
    min-height: 0;

    display: grid;
    grid-template-columns: var(--card-w) var(--ring);
    justify-content: start;
    align-items: center;
    gap: var(--gap);

    /* push the cluster right until the card stops on the centre line; the
       ring and its craft then sit wholly in the right half */
    margin-left: calc(50vw - var(--pad) - var(--card-w));
}

/* ---------- Orbit ring around the satellite ----------
   The ring sits a clear gap to the right of the card. A thin tether
   runs from the card's edge to the current station (9 o'clock, which
   is 4% in from the ring box's left side). */

.image-container{
    position: relative;
    width: var(--ring);
    aspect-ratio: 1;
    container-type: inline-size;
}

.image-container::before{
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--gap));
    width: calc(var(--gap) + 4cqw);
    height: 1px;
    background: linear-gradient(to right,
        color-mix(in srgb, var(--tone) 20%, transparent),
        var(--tone));
    transition: background 0.6s ease;
}

.orbit{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.orbit-ring{
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.5;
    stroke-dasharray: 1.5 2.5;
}

.orbit-arc{
    fill: none;
    stroke: url(#orbit-tone);
    stroke-width: 1.2;
    stroke-linecap: round;
}

.orbit-station{
    --a: 180deg;

    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;

    transform: rotate(var(--a)) translateX(46cqw) rotate(calc(-1 * var(--a)));
    z-index: 4; /* above the card's edge */
}

.orbit-station i{
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--tone);
    transition: transform 0.4s ease;
}

/* labels sit outside the ring, to the left of their dot */
.orbit-station b{
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);

    font: 500 13px/1.2 Poppins, sans-serif;
    white-space: nowrap;
    color: var(--tone);
    transition: font-size 0.4s ease, color 0.4s ease;
}

.orbit-station.is-active i{ transform: scale(1.6); }
.orbit-station.is-active b{ opacity: 0; } /* the card already says it */

/* ---------- Glass text card ---------- */

.text-container{
    position: relative;
    display: grid;
    padding: clamp(36px, 4vw, 60px) clamp(34px, 3.8vw, 56px);
    overflow: hidden;

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 55%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 1px color-mix(in srgb, var(--tone) 35%, transparent),
        0 30px 80px rgba(0, 0, 0, 0.35);
}

.problem-slide{
    grid-area: 1 / 1;
    font-family: Poppins;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.problem-slide.is-active{
    opacity: 1;
    transform: none;
}

.problem-figure{
    font-size: clamp(2.3rem, 3.8vw, 3.9rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.problem-text{
    max-width: 34ch;
    margin-top: 18px;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 400;
    line-height: 1.55;
    color: #eef2f7;
}

.problem-progress{
    grid-row: 2;
    height: 3px;
    margin-top: 32px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.problem-progress span{
    display: block;
    height: 100%;
    width: var(--progress, 25%);
    background: var(--tone);
}


/* Reduced motion: no pin, show every statement */
.the-problem.is-static{ height: auto; }
.the-problem.is-static .text-container{ gap: 28px; }
.the-problem.is-static .problem-slide{ grid-area: auto; opacity: 1; transform: none; }
.the-problem.is-static .problem-progress{ display: none; }

@media (max-width: 900px) {
    .the-problem{
        --pad: 20px;
        --ring: min(78vw, 40vh);
        --card-w: auto;
        padding: 80px var(--pad) 32px;
    }
    .the-problem-container{ margin-left: 0; }
    .the-problem-container{
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: center;
        gap: 28px;
    }
    .image-container{ order: -1; }
    .image-container::before{ display: none; }
    .orbit-station b{ font-size: 11px; right: 18px; }
}

/* =========================================================
   ETHER BENTO SECTION
========================================================= */

.ether-bento-section {
    position: relative;

    width: 100%;
    min-height: 100vh;

    padding-top: 100px;
    padding-bottom: 100px;

    overflow-x: clip;

    background: transparent;
    color: white;

    isolation: isolate;
}


/* =========================================================
   HEADING
========================================================= */

.ether-bento-heading {
    position: relative;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 0 30px;

    text-align: center;
    

    z-index: 5;
}


.ether-bento-eyebrow {
    display: block;

    margin-bottom: 20px;

    font-family: Poppins, sans-serif;

    
}


.ether-bento-heading h1 {
    margin: 0;

    font-family: Poppins, sans-serif;

    font-size: clamp(3rem, 6vw, 6rem);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.03em;

    color: white;
}


.ether-bento-heading h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    text-stroke: 1px rgba(255, 255, 255, 0.8);
}


.ether-bento-heading p {
    margin-top: 30px;

    font-family: Poppins, sans-serif;

    font-size: 15px;
    font-weight: 300;

    letter-spacing: 1px;

    opacity: 0.65;
}


/* =========================================================
   PIPELINE — one tile, four passes
   Tile is sticky; index.js scrubs its layers as the steps scroll.
========================================================= */

.pipeline {
    --signal: #d4de10;
    --readout: #4ca8df;
    --tile: min(70vh, 42vw);

    position: relative;
    z-index: 5;

    width: min(calc(100% - 60px), 1240px);
    margin: 40px auto 0;
    height: 380vh;              /* scroll distance for the four steps */
}

/* Tile and copy stay on screen together; the scroll drives both */
.pipeline-sticky {
    position: sticky;
    top: 0;
    height: 100vh;

    display: grid;
    grid-template-columns: var(--tile) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 110px);
}

.pipeline-stage {
    position: relative;
}

.pipeline-tile {
    position: relative;
    width: var(--tile);
    aspect-ratio: 1;
}

.pipeline-tile .ether-image-compare {
    border-radius: 6px;
    outline: 1px solid rgba(255, 255, 255, 0.14);
    background: #000;
}

/* Band separation: each band keeps one channel, screen re-adds them */

.pipeline-bands {
    position: absolute;
    inset: 0;
    background: #000;
    isolation: isolate;
}

.pipeline-band {
    position: absolute;
    inset: 0;
    mix-blend-mode: screen;
}

.pipeline-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pipeline-band::after {
    content: "";
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
}

.band-r::after { background: #f00; }
.band-g::after { background: #0f0; }
.band-b::after { background: #00f; }

/* Pixel grid shown while enhancing */

.pipeline-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;

    --cell: 10%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: var(--cell) var(--cell);
}

/* Detection scan + boxes */

.pipeline-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;

    background: var(--signal);
    box-shadow:
        0 0 12px var(--signal),
        0 0 40px rgba(212, 222, 16, 0.4);
}

.pipeline-boxes {
    position: absolute;
    inset: 0;
    z-index: 3;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.pipeline-boxes li {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);

    opacity: 0;

    border: 1.5px solid var(--signal);
}

/* label tab sits on the box's top edge */
.pipeline-boxes span {
    position: absolute;
    bottom: 100%;
    left: -1.5px;

    padding: 4px 7px;

    font: 500 11px/1 Poppins, sans-serif;
    white-space: nowrap;
    color: #000;
    background: var(--signal);
}

/* Band key + readout under the tile */

.pipeline-bandkey {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;

    display: flex;
    gap: 6px;

    font: 400 12px/1 Poppins, sans-serif;
    color: #fff;
}

.pipeline-bandkey span {
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


.pipeline-readout {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 16px;

    display: flex;
    align-items: baseline;
    gap: 8px;

    font: 400 14px/1 Poppins, sans-serif;
    color: rgba(255, 255, 255, 0.6);
}

.pipeline-gsd {
    min-width: 2.2ch;
    font-size: 28px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--readout);
}

/* Compare chrome only appears in the last step */

.pipeline-tile .ether-compare-divider,
.pipeline-tile .ether-compare-labels {
    opacity: 0;
}

.pipeline-tile .ether-compare-labels {
    top: auto;
    bottom: 14px;
}

.pipeline-tile .ether-compare-label {
    min-width: 0;
    padding: 9px 16px;
    font-size: 12px;
}

/* Step rail: where you are in the pipeline, and a way to jump */

.pipeline-rail {
    position: relative;
    margin-bottom: clamp(32px, 6vh, 64px);
}

.pipeline-rail ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pipeline-rail-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    overflow: hidden;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.pipeline-rail-fill {
    display: block;
    height: 100%;
    background: var(--readout);
    transform-origin: left;
    transform: scaleX(0);
}

.pipeline-rail button {
    width: 100%;
    padding: 16px 12px 4px 0;

    display: flex;
    align-items: baseline;
    gap: 8px;

    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;

    font: 500 15px/1.2 Poppins, sans-serif;
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.3s ease;
}

.pipeline-rail button span {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pipeline-rail button:hover { color: rgba(255, 255, 255, 0.8); }
.pipeline-rail button.is-done { color: rgba(255, 255, 255, 0.68); }
.pipeline-rail button.is-active { color: #fff; }
.pipeline-rail button.is-active span { color: var(--readout); }

.pipeline-rail button:focus-visible {
    outline: 2px solid var(--readout);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Steps: stacked, the current one fades in */

.pipeline-steps {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pipeline-step {
    grid-area: 1 / 1;
    max-width: 32rem;

    font-family: Poppins, sans-serif;
    color: #fff;

    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
    pointer-events: none;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pipeline-step.is-active {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
}

.pipeline-step h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.pipeline-step p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.pipeline-metrics {
    margin-top: 28px;
    display: grid;
    gap: 22px;
}

.metric-name {
    margin-bottom: 10px;
    font-size: 14px !important;
    color: #fff !important;
}

.metric-name span {
    color: rgba(255, 255, 255, 0.5);
}

.metric-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr 3rem;
    align-items: center;
    gap: 12px;
    margin-top: 6px;

    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.metric-row i {
    height: 8px;
    border-radius: 2px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.35) 0 0) 0 0 / var(--v) 100% no-repeat,
        rgba(255, 255, 255, 0.07);
}

.metric-row b {
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.metric-row.is-model {
    color: #fff;
}

.metric-row.is-model i {
    background:
        linear-gradient(var(--readout) 0 0) 0 0 / var(--v) 100% no-repeat,
        rgba(255, 255, 255, 0.07);
}

.pipeline-note {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;

    font-size: 14px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.62) !important;
}

.pipeline-note svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    fill: none;
    stroke: var(--readout);
    stroke-width: 1.4;
    stroke-linecap: round;
}

/* Narrow screens: tile pins to the top, steps scroll beneath it */

@media (max-width: 900px) {

    .pipeline {
        --tile: min(calc(100vw - 40px), 46vh);

        width: calc(100% - 40px);
        height: auto;
    }

    .pipeline-sticky {
        position: static;
        height: auto;
        display: block;
    }

    .pipeline-stage {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 -20px;
        padding: 16px 20px 72px;
        background: linear-gradient(#000 90%, transparent);
    }

    .pipeline-tile { margin: 0 auto; }

    .pipeline-rail { display: none; }

    .pipeline-steps { display: block; }

    .pipeline-step {
        grid-area: auto;
        min-height: 60vh;
        padding-top: 24px;
        opacity: 0.3;
        transform: none;
        filter: none;
        pointer-events: auto;
    }

    .pipeline-step.is-active { opacity: 1; }

    .ether-bento-heading h1 {
        font-size: 3.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pipeline { height: auto; }
    .pipeline-sticky { position: static; height: auto; align-items: start; }
    .pipeline-rail { display: none; }
    .pipeline-steps { display: block; }
    .pipeline-step {
        grid-area: auto;
        margin-bottom: 56px;
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        pointer-events: auto;
    }
}

/* =========================================================
   IMAGE COMPARISON CONTAINER
========================================================= */

.ether-image-compare {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;

    user-select: none;
    -webkit-user-select: none;

    cursor: ew-resize;
}


/* =========================================================
   IMAGE 1 — BASE LAYER
========================================================= */

.ether-compare-image-1 {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

}


/* =========================================================
   IMAGE 2 — TOP LAYER
========================================================= */

.ether-compare-image-2 {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    /*
       Initially Image 2 is completely visible.
    */

    clip-path: inset(0 0 0 50%);

}


/* Image 2 itself stays FULL SIZE */

.ether-compare-image-2 img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    user-select: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;

}


/* =========================================================
   DIVIDER
========================================================= */

.ether-compare-divider {

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 1px;

    background: rgba(255, 255, 255, 0.9);

    transform: translateX(-50%);

    z-index: 4;

    pointer-events: none;
}


/* =========================================================
   HANDLE
========================================================= */

.ether-compare-handle {

    position: absolute;

    top: 50%;
    left: 50%;

    width: 38px;
    height: 38px;

    transform: translate(-50%, -50%);

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 2px;

    border-radius: 50%;

    border: 2px solid white;

    background: rgba(20, 20, 20, 0.45);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.3);

    color: white;

    font-family: Arial, sans-serif;

    font-size: 18px;

    line-height: 1;

}


.ether-compare-handle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   LABEL CONTAINER
========================================================= */

.ether-compare-labels {

    position: absolute;

    top: 15px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    z-index: 6;

    overflow: hidden;

    border-radius: 30px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    background: rgba(20, 20, 20, 0.3);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    pointer-events: none;

}


/* =========================================================
   LABEL
========================================================= */

.ether-compare-label {

    min-width: 145px;

    padding: 15px 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-family: Poppins, sans-serif;

    font-size: 14px;

    font-weight: 400;

    color: white;

    white-space: nowrap;

}


.before-label {

    border-right: 1px solid rgba(255, 255, 255, 0.2);

}


/* =========================================
   THE ARCHITECTURE
   Static diagram; only the signal pulse moves.
========================================= */

.the-architecture {
    --conv: #4ca8df;
    --rrdb: #e0a458;
    --up: #5fd3b0;
    --signal: #d4de10;

    width: 100%;
    padding: 140px 5vw;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.architecture-heading {
    max-width: 60rem;
    margin: 0 auto 56px;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.architecture-heading h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 1;
}

.architecture-heading p {
    max-width: 42rem;
    margin: 22px auto 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.architecture-content {
    width: min(100%, 1280px);
    padding: 36px 24px 28px;

    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 22, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.architecture-diagram {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.architecture-svg {
    display: block;
    width: 100%;
    min-width: 960px;
    height: auto;
    margin: 0 auto;

    font-family: "Poppins", sans-serif;
}

/* Text */

.architecture-svg .lane-title { fill: #fff; font-size: 17px; font-weight: 500; }
.architecture-svg .lane-sub   { fill: rgba(255, 255, 255, 0.55); font-size: 12px; }
.architecture-svg .note       { fill: rgba(255, 255, 255, 0.45); font-size: 11px; }
.architecture-svg .io-label   { fill: #fff; font-size: 13px; font-weight: 500; }
.architecture-svg .io-sub     { fill: rgba(255, 255, 255, 0.55); font-size: 11px; }
.architecture-svg .io-gsd     { fill: var(--conv); font-size: 12px; font-weight: 500; }
.architecture-svg .blk-title  { fill: #fff; font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.architecture-svg .blk-label  { fill: #fff; font-size: 12px; font-weight: 500; }
.architecture-svg .blk-sub    { fill: rgba(255, 255, 255, 0.55); font-size: 10.5px; }
.architecture-svg .blk-v      { fill: #fff; font-size: 11.5px; font-weight: 500; text-anchor: middle; dominant-baseline: middle; }
.architecture-svg .sum-sign   { fill: #fff; font-size: 16px; font-weight: 500; }
.architecture-svg .beta-sign  { fill: #fff; font-size: 13px; font-style: italic; }

.architecture-svg .legend text { fill: rgba(255, 255, 255, 0.6); font-size: 12px; }
.architecture-svg .sw-conv { fill: var(--conv); }
.architecture-svg .sw-rrdb { fill: var(--rrdb); }
.architecture-svg .sw-up   { fill: var(--up); }

/* Blocks */

.architecture-svg .blk {
    fill: #0e141d;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.2;
    transition: fill 0.35s ease, stroke-width 0.35s ease;
}

.architecture-svg .blk-conv { stroke: var(--conv); fill: rgba(76, 168, 223, 0.08); }
.architecture-svg .blk-rrdb { stroke: var(--rrdb); fill: rgba(224, 164, 88, 0.08); }
.architecture-svg .blk-up   { stroke: var(--up);   fill: rgba(95, 211, 176, 0.08); }
.architecture-svg .stack-2  { opacity: 0.6; }
.architecture-svg .stack-3  { opacity: 0.3; }
.architecture-svg .chip     { fill: rgba(255, 255, 255, 0.04); }
.architecture-svg .beta,
.architecture-svg .sum      { fill: #0e141d; }

.architecture-svg .score-map rect:not(.blk) { fill: var(--rrdb); }

.architecture-svg .arch-block.is-lit .blk {
    stroke-width: 2.2;
    fill: rgba(212, 222, 16, 0.14);
}

.architecture-svg .tile-edge {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
}

.architecture-svg .panel {
    fill: rgba(255, 255, 255, 0.025);
    stroke: rgba(255, 255, 255, 0.1);
}

/* Lines */

.architecture-svg .flow {
    fill: none;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 1.6;
}

.architecture-svg .skip {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1.3;
    stroke-dasharray: 5 5;
}

.architecture-svg .callout {
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.architecture-svg .junction { fill: rgba(255, 255, 255, 0.6); }
.architecture-svg .arrow-head { fill: rgba(255, 255, 255, 0.55); }

.architecture-svg .arch-pulse {
    fill: #fff;
    filter:
        drop-shadow(0 0 4px var(--signal))
        drop-shadow(0 0 10px rgba(212, 222, 16, 0.8));
}

@media (prefers-reduced-motion: reduce) {
    .architecture-svg .arch-pulse { display: none; }
}

@media (max-width: 800px) {
    .the-architecture { padding: 90px 16px; }
    .architecture-content { padding: 24px 12px 16px; }
}


/* =========================================
   APPLICATION SECTION
========================================= */

.applications {
    width: 100%;
    min-height: 100vh;
    padding: 120px 5vw;

    background: transparent;
    color: white;

    overflow: hidden;
}


/* =========================================
   SECTION HEADING
========================================= */

.applications-heading {
    text-align: center;
    margin: 0 auto 80px;
}



.applications-heading h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: 6rem;
    font-weight: 600;


}



/* =========================================
   APPLICATION PANELS
   Hover / focus widens a panel, like switching map layers.
========================================= */

.app-panels {
    width: min(100%, 1240px);
    height: min(640px, 76vh);
    margin: 0 auto;

    display: flex;
    gap: 12px;
}

.app-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;

    overflow: hidden;
    border-radius: 6px;
    outline: 1px solid rgba(255, 255, 255, 0.14);

    cursor: pointer;

    transition: flex-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-panel.is-open {
    flex-grow: 3.2;
}

.app-panel:focus-visible {
    outline: 2px solid #4ca8df;
    outline-offset: 3px;
}

.app-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: grayscale(1) brightness(0.45);
    transform: scale(1.08);

    transition:
        filter 0.8s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-panel.is-open img {
    filter: none;
    transform: scale(1);
}

.app-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.app-panel-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;

    padding: 28px;

    font-family: Poppins, sans-serif;
    color: #fff;
}

.app-panel h3 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.app-panel p {
    max-width: 34rem;
    margin-top: 10px;

    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);

    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.app-panel.is-open p {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
}

/* Closed panels: title runs up the side */

.app-panel:not(.is-open) h3 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media (max-width: 800px) {

    .app-panels {
        height: auto;
        flex-direction: column;
    }

    .app-panel,
    .app-panel.is-open {
        flex: none;
        height: 340px;
    }

    .app-panel img {
        filter: none;
        transform: none;
    }

    .app-panel:not(.is-open) h3 {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .app-panel p {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-panel,
    .app-panel img,
    .app-panel p {
        transition: none;
    }
}

/* =========================================================
   HIGHLIGHT TEXT
========================================================= */

.highlight-text {
    color: white;
    font-family: "Poppins", sans-serif;

    position: relative;
    z-index: 1;
}


/* =========================================================
   SPLIT TEXT LINES
========================================================= */

.highlight-line {
    position: relative;
    display: inline-block;

    /*
        Prevents the blue highlight from
        affecting the text itself.
    */
    z-index: 1;
}


/* =========================================================
   BLUE HIGHLIGHT
========================================================= */

.highlight-line::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: #4ca8df;

    z-index: -1;

    transform: scaleX(0);
    transform-origin: left center;

    pointer-events: none;
}


/* =========================================================
   GLOBAL BACKGROUND VIDEO
========================================================= */

.global-bg-video {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;

    pointer-events: none;
}


/* =========================================================
   GLOBAL DARK OVERLAY
========================================================= */

.global-bg-overlay {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);

    z-index: -1;

    pointer-events: none;
}