@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk&family=Syne:wght@400..800&display=swap');

body, html {
            margin: 0;
            padding: 0;
            background: #ffffff;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            overflow-x: hidden;
        }


/* Page */
main {
    position: relative;
    margin-bottom: 90vh;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* --- Navigation --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 15px;
            position: fixed;
            top: 0;
            width: 100%;
            height: 85px;
            box-sizing: border-box;
            z-index: 999;
            font-family: "Inter", sans-serif;
            
        }

        .logo { 
            width: 7ch;
            height: 70px;
            display: flex;
            align-items: center;
        }
        .logo img {
            width: 100%;
            height: 100%;
        }
        .logo-badge { 
            padding-left: 0;
            clip-path: inset(0 100% 0 0); 
            transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        }
        .logo-badge.revealed {
            clip-path: inset(0 0% 0 0);
        }
        .logo-badge span {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -0.055em;
            color: #000000;
            line-height: 0.75;
            transition: color 0.3s ease;
        }
        .logo-badge #span2 {
            padding-left: 0.5ch;
        }
        .logo-badge .is-white span {
            color: #ffffff !important;
        }

        .nav-right { display: flex; gap: 20px; align-items: center; }
        .work-btn { background: #ff0000; color: white; padding: 10px 20px; border-radius: 20px; text-decoration: none; font-size: 14px; font-weight: 500; text-transform: uppercase; }
        


.dwk-burger {
    z-index: 999;
    cursor: pointer;
    transform: rotateY(0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}



.dwk-burger__patty {
    width: 38px;
    height: 2px;
    margin: 0 0 5.5px 0;
    background: #000000;
    mix-blend-mode: difference;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.dwk-burger__patty:last-child { margin-bottom: 0;
} 

.dwk-burger--close { transform: rotate(180deg); }
.dwk-burger--close .dwk-burger__patty:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.dwk-burger--close .dwk-burger__patty:nth-child(2) { opacity: 0; }
.dwk-burger--close .dwk-burger__patty:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu Overlay */
.dwk-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
}

.dwk-menu--active { visibility: visible; }

.dwk-menu__brand,
.dwk-menu__list {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

/* Blue to Pink Gradient for Menu */
.dwk-menu__list {
    margin: 0;
    padding: 0;
    background: #ffffff;
    list-style-type: none;
    transform: translate3d(0, -100%, 0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__list--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__brand {
    background: #888888;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate3d(0, 100%, 0);
}



.dwk-menu__brand--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__item {
    transform: translate3d(500px, 0, 0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
}

.dwk-menu__item--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__link {
    display: inline-block;
    position: relative;
    font-size: 42px;
    padding: 15px 0;
    font-weight: 300;
    text-decoration: none;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__link span {
    font-weight: 300;
    opacity: 0.8;
    margin-right: 15px;
    font-size: 14px;
}

.dwk-menu__link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0px;
    height: 2px;
    background: #000000;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__link:hover:before {
    width: 100%;
}

.dwk-menu a.dwk-menu__link:hover {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

/* Staggered Delay */
.dwk-menu .dwk-menu__item:nth-child(1) { transition-delay: 0.1s; }
.dwk-menu .dwk-menu__item:nth-child(2) { transition-delay: 0.2s; }
.dwk-menu .dwk-menu__item:nth-child(3) { transition-delay: 0.3s; }
.dwk-menu .dwk-menu__item:nth-child(4) { transition-delay: 0.4s; }
.dwk-menu .dwk-menu__item:nth-child(5) { transition-delay: 0.5s; }
.dwk-menu .dwk-menu__item:nth-child(6) { transition-delay: 0.6s; }


/* Ensure the elements smoothly fade between colors */
.logo-badge span,
.dwk-burger__patty,
.logo img {
    transition: all 0.4s ease; 
}

/* --- LIGHT THEME OVERRIDES --- */
/* Makes the logo image pure white */
header.theme-light .logo img {
    filter: brightness(0) invert(1);
}

/* Makes the logo text pure white */
header.theme-light .logo-badge span {
    color: #ffffff !important;
    mix-blend-mode: normal; /* Prevents blending conflicts over photos */
}

/* Makes all 3 burger patties pure white */
header.theme-light .dwk-burger__patty {
    background: #ffffff !important;
    mix-blend-mode: normal; /* Prevents blending conflicts over photos */
}

@media screen and (max-width: 768px) {

    header {
        padding: 15px 10px;
        height: 70px;
    }
    .logo {
        width: 60px;
        height: 60px;
    }
    ul.dwk-menu__list,
    div.dwk-menu__brand {
        float: none;
        width: 100%;
        min-height: 0;
    }

    ul.dwk-menu__list--active,
    div.dwk-menu__brand--active {
        transform: translate3d(0, 0, 0);
    }

    .dwk-menu__list {
        height: 70vh;
        transform: translate3d(-100%, 0, 0);
    }

    .dwk-menu__link {
        font-size: 24px;
    }

    .dwk-menu__brand {
        height: 30vh;
        transform: translate3d(100%, 0, 0);
    }
    .dwk-burger--close .dwk-burger__patty {
        color: #ffffff;
    }

    .dwk-menu__brand .dwk-logo {
        width: 200px;
        height: 200px;
    }
    .nav-right .work-btn {
        display: none;
    }
    .logo-badge {
        clip-path: inset(0 0% 0 0);
    }
    .logo-badge.hidden-mobile {
        clip-path: inset(0 100% 0 0);
    }
}


@media screen and (max-width: 480px) {
    .header {
        padding: 5px 10px;
        height: 60px;
    }
    .logo-badge span {
        font-size: 1.25rem;
        line-height: 0.85;
    }
}

.about-hero {
    width: 100%;
    min-height: 90vh; /* Changed from height: 100vh to allow growth */
    background-color: #ffffff;
    color: #ffffff;
    padding-top: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.hero-content {
    max-width: 99%;
    width: 100%;
    height: 90vh;
    margin: 0 auto;
    background-image: url('../img/about-hero.jpg');
    background-size: cover;
    background-position: center;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 16px;
}
.hero-subtext {
    font-size: clamp(1.25rem, 3.5vw, 4rem);
    line-height: 1.4;
    font-weight: 500;
    color: #ffffff;
    opacity: 1;
    letter-spacing: 0.05em;
}

.about-intro {
    min-height: 60vh;
    height: auto;
    margin: 0 auto;
    max-width: 85%;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 5% 10%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.about-intro h1 {
    font-size: 3.5vw;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1;
}

.about-intro p {
    font-size: 1.4vw;
    line-height: 1.2;
    color: #000;
}

.about-intro .work-btn {
    align-self: flex-start;
    margin-top: 30px;
    font-size: 1.25rem;
}

@media (max-width: 1024px) {
    .about-intro {
        margin: 0 auto;
        max-width: 80%;
        min-height: 40vh;
        padding: 5% 15%;
    }
}

@media (max-width: 768px) {
    .about-intro {
        margin: 0 auto;
        max-width: 80%;
        min-height: 40vh;
        padding: 5% 7.5%;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 52vh;
        padding-bottom: 0;
        padding-top: 85px;
        padding-bottom: 20px;
    }
    .hero-content {
        height: 52vh;
        padding: 2.5vh 0;
    }
    .about-intro {
        margin: 0 auto;
        max-width: 90%;
        min-height: 50vh;
        padding: 5% 5%;
    }
    .about-intro h1 {
        font-size: 5.5vw;
    }
    .about-intro p {
        font-size: 3.5vw;
        line-height: 1.1;
    }
    .about-intro .work-btn {
        font-size: 3.5vw;
    }
}

.features {
    width: 100%;
    min-height: 90vh;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    border-top: 1px solid #ddd;
    padding: 5% 0;
    box-sizing: border-box;
}

.header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 25vh;
    height: auto;
    border-bottom: 1px solid #ddd;
}

#top-header {
    border-top: 1px solid #ddd;
}


.header-row .header-left {
    width: 70%;
    padding: 3rem 0 1.5rem 10rem;
}

.header-left h2 {
    font-size: 4vw;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 0.85;
    letter-spacing: -0.25vw;
}

.header-row .header-right {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.badge-container {
    position: relative;
    width: 175px; /* Large enough to fit the text circle */
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The spinning text SVG */
.spinning-text-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 12s linear infinite;
    pointer-events: none; /* Allows clicks to pass through to the button */
}

.spinning-text {
    fill: black;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3.25px;
}

/* The static central button */
.btn-red-static {
    background: #ff0000;
    width: 120px; /* Controlled size for the button */
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-red-static:hover {
    transform: scale(0.95);
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header-left p {
    font-size: 1.2vw;
    line-height: 1.1;
    color: #000000;
    max-width: 80%;
}

@media (max-width: 1024px) {
    .header-row .header-left {
        padding: 3rem 0 1.5rem 5rem;
    }
     .header-left h2 {
        font-size: 6vw;
    }
     .header-left p {
        font-size: 2vw;
    }
}

@media (max-width: 768px) {
    .header-row .header-left {
        padding: 3rem 0 1.5rem 3rem;
        border-right: none;
    }
    .header-left h2 {
        font-size: 6vw;
    }
    .header-left p {
        font-size: 3vw;
        max-width: 90%;
    }
    .badge-container {
        width: 150px;
        height: 150px;
    }
    .btn-red-static {
        width: 100px;
        height: 100px;
    }
    .spinning-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-row {
        flex-direction: column;
        gap: 20px;
    }
    .header-row .header-left {
        padding: 2rem 0;
        border-right: none;
        width: 90%;
    }
    .header-left p {
        max-width: 100%;
        font-size: 3.5vw;
    }
    .header-row .header-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding: 0 10px 10px 0;
    }

    .header-left h2 {
        font-size: 6vw;
        line-height: 1;
    }
    .header-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
}


/* --- PRODUCTS TIMELINE SECTION (EXACT DESIGN) --- */
.products-timeline {
    background-color: #ffffff; 
    color: #000000;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 80%; /* Wider container for premium feel */
    margin: 0 auto;
}

/* Header & Pill Button */


/* The Track Layout */
.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8rem;
}

/* The central vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ddd;
    transform: translateX(-50%);
    z-index: 1;
}

/* Individual product rows */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10rem;
    width: 100%;
    margin-bottom: 10rem; /* Generous vertical breathing room */
    position: relative;
    z-index: 2;
}

/* Remove margin from the very last item */
.timeline-item:last-child {
    margin-bottom: 10rem;
}



/* Bulletproof spacing: 40% width prevents overlap with center line */

.timeline-text-wrapper {
    width: 85%; 
    padding: 2rem 0;
    text-align: center;
    background-color: #ffffff;
}

.timeline-image-wrapper {
    width: 1000px;
    height: auto;
    max-height: 540px;
    padding: 3.5rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* Typography & Image Styling */
.timeline-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;

}

.timeline-text-wrapper h2 {
    font-size: 4.75vw;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 0.85;
    letter-spacing: -0.25vw;
    text-transform: uppercase;
}
.timeline-text-wrapper h2 {
    font-size: 4.75vw;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 0.85;
    letter-spacing: -0.25vw;
    text-transform: uppercase;
}

.timeline-text-wrapper h2 span {
    font-size: 4.75vw;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 0.85;
    letter-spacing: -0.25vw;
    text-transform: uppercase;
    color: #ff0000;
}

.timeline-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

@media screen and (max-width: 1024px) {
    .products-timeline {
        padding: 0 3%;
    }
     .timeline-container {
        max-width: 90%;
    }
    .timeline-text-wrapper {
        width: 80%;
    }
     .timeline-image-wrapper {
        width: 100%;
        max-height: 450px;
    }
    .timeline-image-wrapper img {
        width: 100%;
        height: auto;
        max-height: 450px;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 768px) {
    .products-timeline {
        padding: 0 2%;
    }
     .timeline-container {
        max-width: 95%;
    }
    .timeline-item {
        margin-bottom: 12rem;
    }
     .timeline-image-wrapper {
        width: 100%;
        max-height: 350px;
    }
    .timeline-image-wrapper img {
        width: 100%;
        height: auto;
        max-height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .products-timeline {
        padding: 0 1%;
    }
     .timeline-container {
        max-width: 100%;
    }
     .timeline-text-wrapper {
        width: 100%;
    }
     .timeline-image-wrapper {
        width: 100%;
        max-height: 250px;
    }
    .timeline-image-wrapper img {
        width: 100%;
        height: auto;
        max-height: 250px;
    }
        .timeline-text-wrapper h2,
        .timeline-text-wrapper h2 span {
            font-size: 6vw;
        }
        .timeline-text-wrapper p {
            font-size: 3.5vw;
        }
}


/* --- ACCORDION STYLES --- */
.accordion-section {
    background-color: #0b0b0b; /* Matches your dark sections */
    padding: 5rem 0;
    margin: 0 auto;
    width: 98%;
    min-height: 100vh;
    height: auto;
    border-radius: 8px;
}

.accordion-section .header-row {
    border-bottom: none;
}

.accordion-section .header-row .header-left {
    color: #ffffff;
}

.accordion-section .header-row .header-left p {
    color: #ffffff;
}

.accordion-section .spinning-text {
    fill: #ffffff;
}

.accordion-container {
    max-width: 80%;
    margin: 0 auto;
    min-height: 60vh; /* Achieves the 70vh requirement */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the accordion inside the 70vh space */
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Thin dividing line */
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: -0.2vw;
    text-transform: uppercase;
}

.accordion-icon {
    color: #ff0000;
    font-size: 3rem;
    font-weight: 100;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth rotation */
}

/* Active State: Rotates the + icon counter-clockwise to form an x */
.accordion-header.active .accordion-icon {
    transform: rotate(-225deg); 
}

/* The Content Panel */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr; /* Collapses the container */
    transition: grid-template-rows 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* When the header is active, expand the row to its natural auto height (1fr) */
.accordion-header.active + .accordion-content {
    grid-template-rows: 1fr; 
}

/* The Inner Wrapper */
.accordion-inner {
    overflow: hidden; /* Crucial: Hides content when the grid row is 0fr */
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 2rem;
}

/* We use a pseudo-element for bottom padding so it doesn't break the 0fr collapse */
.accordion-inner::after {
    content: '';
    display: block;
    height: 2rem; 
}

.accordion-inner p {
    font-size: 1.2vw;
    line-height: 1.1;
    max-width: 100%;
}

.accordion-grid {
    display: grid;
    grid-template-columns: 6fr 5fr 4fr;
    gap: 2rem;
}

.accordion-grid-item {
    overflow: hidden;
    height: auto;
    max-height: 500px;
    width: 100%;
}

.accordion-grid-item img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 6px;
}

.accordion-grid-item video {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.accordion-grid-item p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .accordion-container {
        max-width: 90%; /* slightly wider container to give content room */
        min-height: 50vh;
    }
    
    .accordion-title {
        font-size: 3.25vw;
    }
    
    .accordion-inner p {
        max-width: 85%; /* Let the paragraph breathe a bit more */
        font-size: 1.4rem;
    }
    
    .accordion-grid {
        /* Shift from the 9:3:3 ratio to equal columns for medium screens */
        grid-template-columns: repeat(3, 1fr); 
        gap: 1.5rem;
    }
    .accordion-grid-item p {
        display: none;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .accordion-section {
        padding: 3rem 0;
    }
    
    .accordion-container {
        max-width: 90%;
        padding-top: 2rem;
    }
    
    .accordion-header {
        padding: 1.5rem 0;
    }
    
    .accordion-title {
        font-size: 2rem; /* Switch from vw to rem for stability on smaller screens */
    }
    
    .accordion-icon {
        font-size: 2.5rem; /* Scale down the plus icon */
    }
    
    .accordion-inner {
        padding: 0 1rem;
    }
    
    .accordion-inner p {
        font-size: 1.25rem;
        max-width: 100%; /* Let the text use the full width */
    }
    
    .accordion-grid {
        /* Make the first image span the top, stack the other two side-by-side underneath */
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .accordion-grid-item:first-child {
        grid-column: span 2;
        max-height: 250px;
    }
    .accordion-grid-item {
        max-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .accordion-section {
        padding: 3rem 0;
        margin: 0;
        width: 100%;
    }
    
    .accordion-container {
        max-width: 95%;
        padding-top: 0;
    }
    
    .accordion-header {
        padding: 1.25rem 0;
    }
    
    .accordion-title {
        font-size: 1.5rem;
    }
    
    .accordion-icon {
        font-size: 2rem;
    }
    
    .accordion-inner {
        padding: 0; /* Remove inner padding entirely to give text max space */
    }
    
    .accordion-inner p {
        font-size: 1.1rem;
    }
    
    .accordion-grid {
        grid-template-columns: 1fr; /* Stack all images vertically */
        gap: 1rem;
    }
    
    .accordion-grid-item:first-child {
        grid-column: span 1; /* Reset the span from the tablet breakpoint */
        max-height: 200px;
    }
    .accordion-grid-item {
        max-height: 250px;
    }
}

.image-carousel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
    margin: 15.5rem 0;
}

.images {
    position: relative;
    white-space: nowrap;
    will-change: transform;
    display: flex;
    gap: 10px;
}

.image-carousel:hover {
    cursor: pointer;
}

.image {
    display: inline-block;
}

.image img {
    height: 40vh;
    width: auto;
}




.animation-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden; 
  background: #ffffff;
}

/* Background text sizing fixed to prevent horizontal overflow */
.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  text-align: center;
  font-size: 13.5vw; 
  font-weight: bold;
  color: #000000;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  z-index: 3;
}

.bg-subtext {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  text-align: center;
  font-size: 2.5vw; 
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 3;
  opacity: 0;
}

/* Image mask starts in the centre */
.image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  clip-path: inset(35vh 25vw); 
}

.image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Products overlay container */
.products-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
  width: 100%;
  max-width: 1600px;
  height: 100vh;
  padding-top: 15vh; 
}

.product-item {
  width: 100%;
  transform: translateY(100vh); 
  pointer-events: auto; 
  border-radius: 56px;
}


.align-top { align-self: start; }

.product-item .align-top .product-left {
    transform: rotate(-45deg);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f4f4f4;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-radius: 8px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media screen and (max-width: 1024px) {
     .bg-text {
        font-size: 15vw;
    }
    .bg-subtext {
        font-size: 3.5vw;
    }
    .products-container {
        padding: 17.5vh 0;
    }
     .product-grid {
        gap: 2.5vw;
        max-width: 92%;
    }
}

@media screen and (max-width: 768px) {
     .product-grid {
        gap: 2.5vw;
        max-width: 94%;
    }
}

@media screen and (max-width: 480px) {
    .bg-subtext {
        font-size: 6vw;
    }    
    .products-container {
            padding: 15vh 0;
        }
        .product-grid {
            gap: 2vw;
            max-width: 98%;
            padding-top: 35vh;
        }
}

.faq {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.faq .header-row {
    border-bottom: none;
    height: auto;

}

.faq .header-row .header-left {
    padding: 3rem 0 1.5rem 8rem;
}

.faq .accordion-container {
    width: auto;
    max-width: 50%;
    margin-left: 20%;
    margin-right: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
}

.faq .accordion-item {
    border-bottom: 1px solid rgb(221, 221, 221);
    width: auto;
}

.faq .accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #000000;
    padding: 1rem 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5vw;
    cursor: pointer;
}

.faq .accordion-title {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.05vw;
    text-transform: none;
}

.faq .accordion-icon {
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth rotation */
}

.faq .accordion-content {
    padding-left: 2rem;
}

/* The Inner Wrapper */
.faq .accordion-inner {
    overflow: hidden; /* Crucial: Hides content when the grid row is 0fr */
    color: #000000;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 2.25rem;
}

/* We use a pseudo-element for bottom padding so it doesn't break the 0fr collapse */
.faq .accordion-inner::after {
    content: '';
    display: block;
    height: 2rem; 
}

.faq .accordion-inner p {
    font-size: 1.05rem;
    line-height: 1.2;
    max-width: 95%;
}

@media screen and (max-width: 1024px) {
    .faq {
        display: flex;
        flex-direction: column;
    }
    .faq .accordion-container {
        max-width: 90%;
        min-height: 50vh;
        margin-left: 0;
        margin: 0 auto;
    }
    .faq .header-row {
        min-height: 0;
    }
    .faq .header-row .header-left {
        padding: 3rem 0 1.5rem 5rem;
    }
}

@media screen and (max-width: 768px) {
    .faq .header-row .header-left {
        padding: 3rem 0 1.5rem 3rem;
    }
    .faq .accordion-inner p {
    font-size: 1.05rem;
    line-height: 1.1;
    max-width: 100%;
}
}

@media screen and (max-width: 480px) {
    .faq .header-row .header-left {
        padding: 2rem 0;
        width: 90%;
    }
    .faq .accordion-icon svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.testimonials-split {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    color: #000000;
    padding: 5vh 0;
    margin-top: 7.5vh;
}

.split-container {
    display: flex;
    gap: 5%;
    width: 100%;
    margin: 0 auto;
}

.split-left {
    width: 40%;
}

.sticky-review-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 0px 1.5rem 6rem; 
}

.sticky-review-content h2 {
    font-size: 4vw;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.25vw;
    margin: 0;
}

.sticky-review-content p {
    font-size: 1.25rem;
    color: #000000;
}

.split-right {
    width: 55%;
    padding-right: 1.5rem;
}

.review-item {
    border-bottom: 0.5px solid #999;
    padding: 3rem 0.5rem;
}

.review-item:first-child {
    padding-top: 1rem;
}

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

.stars {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.25vw;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 2rem;
}

.review-author {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Mobile Adjustments */
@media screen and (max-width: 1024px) {
    .split-container {
        flex-direction: column;
        gap: 4rem;
        width: 100%;
        margin: 0;
    }
    .split-left {
        margin: 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .split-right {
        padding-right: 0;
        margin: 0 auto;
        width: 90%;
    }
    .sticky-review-content {
        position: relative !important; /* Disables pinning on mobile */
        padding: 3rem 0 1.5rem 5rem;
        width: 70%;
        align-items:start;
    }
    .sticky-review-content h2 {
        max-width: 100%;
        font-size: 6vw;
    }
}

@media screen and (max-width: 768px) {
    .sticky-review-content {
        padding: 3rem 0 1.5rem 3rem;
    }
}

@media screen and (max-width: 480px) {
    .sticky-review-content {
        margin: 0 auto;
        padding: 2rem 0;
        width: 90%;
    }
    .sticky-review-content h2,
    .sticky-review-content p {
        width: 100%
    }
    .sticky-review-content p {
        font-size: 3.5vw;
    }
    .review-text {
        font-size: 3.5vw;
    }
}



.contact {
    width: 100%;
    background-color: #ffffff;
    min-height: 80vh;
    margin-top: 2.5%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact .header-row {
    display: flex;
    justify-content: center; /* This centers the container horizontally */
    align-items: center;
    width: 100%;
    border-bottom: none;
}

.contact .header-row .header-left {
    width: auto;
    padding: 0 20px;
    border: none;
}

.conversion-footer {
    width: 100%;
    min-height: 70vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 1rem;
    box-sizing: border-box;
    gap: 10rem;
    overflow: hidden;
    margin: 0;
    border-top: 0.5px solid #999;
}

/* Top Header Area */
.conversion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 0 0 auto;
    padding: 0 1.2rem;
}

.conversion-title {
    font-size: 4vw;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.15vw;
    line-height: 1;
    padding-top: 4rem;
    text-transform: uppercase;
}

.conversion-cta {
    background-color: #ff0000;
    height: 100%;
    color: #fff;
    text-decoration: none;
    padding: 6rem 12rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 4px;
    display: flex;
    align-items: center;
}



/* Mosaic Grid Area */
.conversion-mosaic {
    display: grid;
    /* Create 24 equal micro-columns instead of 6 specific ones */
    grid-template-columns: repeat(24, 1fr); 
    grid-auto-rows: 250px; 
    gap: 0.75rem;
    flex: 1; 
    min-height: 0; 
    height: 100%;
}

.mosaic-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    position: relative;
}

.conversion-mosaic {
    display: grid;
    /* Create 24 equal micro-columns instead of 6 specific ones */
    grid-template-columns: repeat(24, 1fr); 
    grid-auto-rows: 250px; 
    gap: 0.75rem;
    flex: 1; 
    min-height: 0; 
    height: 100%;
}

/* Base item styles remain exactly the same */
.mosaic-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    position: relative;
}

.mosaic-item img,
.mosaic-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ROW 1 (Items 1 through 6) --- */
/* These values add up to 24, mimicking your original fractional widths */
.mosaic-item:nth-child(1) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(2) { grid-column: span 4; }  /* roughly 1.2fr */
.mosaic-item:nth-child(3) { grid-column: span 7; }  /* roughly 2.5fr */
.mosaic-item:nth-child(4) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(5) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(6) { grid-column: span 4; }  /* roughly 1.2fr */

/* --- ROW 2 (Items 7 through 12) --- */
/* Completely different widths! Just ensure these also add up to 24 */
.mosaic-item:nth-child(7) { grid-column: span 5; }  
.mosaic-item:nth-child(8) { grid-column: span 4; }  
.mosaic-item:nth-child(9) { grid-column: span 8; }  /* Makes the video nicely wide! */
.mosaic-item:nth-child(10) { grid-column: span 3; } 
.mosaic-item:nth-child(11) { grid-column: span 4; }

@media (max-width: 1024px) {
    .conversion-title {
        font-size: 6vw;
    }
    .conversion-cta {
        padding: 1.5rem 6rem;
    }
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .conversion-footer {
        height: auto; /* Allow growth on small screens */
        min-height: 40vh;
    }
    .conversion-title {
        font-size: 8vw;
        padding-top: 2rem;
    }
    .conversion-mosaic {
        grid-auto-rows: 200px; /* Reduce row height for smaller screens */
    }
    .conversion-cta {
        padding: 3rem 5rem;
        font-size: 1rem;
    }
    /* Row 1 */
    .mosaic-item:nth-child(1) { grid-column: span 10; }
    .mosaic-item:nth-child(2) { grid-column: span 6; }
    .mosaic-item:nth-child(3) { grid-column: span 8; }
    
    /* Row 2 */
    .mosaic-item:nth-child(4) { grid-column: span 8; }
    .mosaic-item:nth-child(5) { grid-column: span 8; }
    .mosaic-item:nth-child(6) { grid-column: span 8; }
    
    /* Row 3 */
    .mosaic-item:nth-child(7) { grid-column: span 14; }
    .mosaic-item:nth-child(8) { grid-column: span 10; }
    
    /* Row 4 (Make the video take up the full width for impact!) */
    .mosaic-item:nth-child(9) { grid-column: span 24; } 
    
    /* Row 5 */
    .mosaic-item:nth-child(10) { grid-column: span 12; }
    .mosaic-item:nth-child(11) { grid-column: span 12; }
}

@media (max-width: 480px) {
    .conversion-header {
        padding: 0;
    }
    .conversion-title {
        font-size: 8vw;
        padding-top: 2rem;
    }
    .conversion-cta {
        padding: 2rem 1rem;
        font-size: 1rem;
    }
    .conversion-mosaic {
        /* Reduce row height again for smaller screens */
        grid-auto-rows: 160px; 
        gap: 0.5rem; /* Slightly smaller gap to save space */
    }

    /* Switch to a mix of full-width (span 24) and half-width (span 12) items */
    /* A crucial rule for CSS Grid: To avoid empty gaps, sequential items 
       that share a row must perfectly add up to 24! */
    
    .mosaic-item:nth-child(1) { grid-column: span 24; } /* Full width */
    
    .mosaic-item:nth-child(2) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(3) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(4) { grid-column: span 24; } /* Full width */
    
    .mosaic-item:nth-child(5) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(6) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(7) { grid-column: span 24; } /* Full width */
    .mosaic-item:nth-child(8) { grid-column: span 24; } /* Full width */
    .mosaic-item:nth-child(9) { grid-column: span 24; } /* Video Full width */
    
    .mosaic-item:nth-child(10) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(11) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(12) { grid-column: span 24; }
}






/*-- Footer Section styles --*/
.main-footer {
    width: 100%;
    height: 90vh;
    background-color: #ff0000; /* Vibrant red from reference */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    z-index: 0;
}


.footer-top {
    padding-top: 5vh;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-col {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.subscribe,
.footer-branding {
    padding-left: 4rem;
}


.label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    width: 100%;
}

.navigation .label,
.services .label,
.info .label {
    padding-left: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Subscribe Input */
.input-wrap {
    display: flex;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 75%;
}

.input-wrap input {
    background: none;
    border: none;
    color: #fff;
    flex-grow: 1;
    font-size: 0.9rem;
}

.input-wrap input::placeholder { color: rgba(255, 255, 255, 0.7); }

.input-wrap button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Links & Nav */
.social-links a, .nav-grid a, .info-content p {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.info-content {
    padding-left: 4rem;
}

.nav-grid {
    display: flex;
    gap: 4rem;
    padding-left: 4rem;
}

.sub-label {
    font-size:1rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Legal Bar */
.footer-legal {
    display: flex;
    gap: 2rem;
    padding-left: 4rem;
}

.footer-legal a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}

/* Massive Branding Text */
.footer-branding {
    margin: 0 -4rem; /* Overflows padding to touch edges */
}

.footer-branding h1 {
    font-size: 14.5vw; /* Massive responsive size */
    line-height: 0.75;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

/* --- 1024px Viewport (Tablets/Laptops) --- */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr; /* 2x2 Grid */
    }

    .footer-col {
        padding: 3rem 0;
    }
    .footer-col.subscribe {
        padding-left: 3rem;
    }

    /* Remove right border on the second and fourth items to maintain grid look */
    .footer-col.navigation, 
    .footer-col.info {
        border-right: none;
    }

    .footer-col.services, 
    .footer-col.info {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .footer-branding h1 {
        font-size: 15vw;
    }
}

/* --- 768px Viewport (Tablets Portrait) --- */
@media (max-width: 768px) {
    .main-footer {
        height: auto;
        min-height: 100vh;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr; /* Single column stack */
    }

    .footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 3rem 2rem;
    }

    .subscribe, .navigation .label, .services .label, .info .label, .nav-grid, .info-content {
        padding-left: 0; /* Reset desktop indent */
    }

    .input-wrap {
        max-width: 100%; /* Full width input for mobile thumbs */
    }

    .footer-legal {
        gap: 1rem;
        padding: 2rem;
    }

    .footer-branding {
        padding-left: 0;
        margin: 0;
    }
}

/* --- 480px Viewport (Mobile) --- */
@media (max-width: 480px) {
    main {
        margin-bottom: 0;
    }
    .main-footer {
        height: auto; /* Allow footer to grow */
        position: relative;
    }
    .label {
        font-size: 1rem;
    }
    .footer-top {
        grid-template-columns: 1fr; /* Single column stack */
    }

    .footer-col {
        padding: 2rem 1.5rem;
    }

    .footer-legal a {
        font-size: 0.9rem;
    }


    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-links a {
        margin-bottom: 0;
        background: rgba(255,255,255,0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
}
/* ============================================
Text Reveal - Scroll Animation Styles
   ============================================ */

/* Base element styles */
[data-anm-scroll-text-reveal] {
    /* Hide initially to prevent FOUC - GSAP will set visibility when ready */
    visibility: hidden;
    /* GPU acceleration */
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Ensure text wrapping is preserved */
[data-anm-scroll-text-reveal] {
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Split text word/char containers */
[data-anm-scroll-text-reveal] .split-line {
    display: block;
    overflow: hidden;
}

[data-anm-scroll-text-reveal] .split-word,
[data-anm-scroll-text-reveal] .split-char {
    display: inline-block;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Preserve whitespace between words */
[data-anm-scroll-text-reveal] .split-word {
    margin-right: 0.25em;
}

[data-anm-scroll-text-reveal] .split-word:last-child {
    margin-right: 0;
}

/* ============================================
TYPE-SPECIFIC STYLES
   ============================================ */

/* Words type - default spacing */
[data-anm-scroll-text-reveal][data-anm-type="words"] .split-word {
    /* Animation handled by JS */
}

/* Characters type - tighter control */
[data-anm-scroll-text-reveal][data-anm-type="chars"] .split-char {
    /* Animation handled by JS */
}

/* ============================================
ACCESSIBILITY
   ============================================ */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-anm-scroll-text-reveal] {
        /* Disable animations */
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    /* Ensure content is visible */
    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Contain paint for better performance */
[data-anm-scroll-text-reveal] {
    contain: layout style paint;
}

/* Ensure smooth rendering */
[data-anm-scroll-text-reveal] .split-word,
[data-anm-scroll-text-reveal] .split-char {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
DEBUG MODE (markers enabled)
   ============================================ */

[data-anm-markers="true"] {
    /* Visual indicator when markers are enabled */
    outline: 1px dashed rgba(164, 251, 129, 0.5);
    outline-offset: 4px;
}

/* ============================================
VISUAL STYLING - Light Theme
   ============================================ */

/* Container styling */
.text_reveal_wrap {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* Text element visual styling - Light theme */
.text_reveal_text {
    letter-spacing: -0.02em;
}

/* Strong/emphasized text - full opacity */
.text_reveal_text strong {
    color: #0a0a0a;
    font-weight: 500;
}

/* ============================================
RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Mobile optimizations */
@media (max-width: 767px) {
    [data-anm-scroll-text-reveal] {
        /* Reduce will-change on mobile for performance */
        will-change: transform;
    }

    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        will-change: transform;
    }

    .text_reveal_wrap {
        gap: 4rem;
    }
}

/* Print styles */
@media print {
    [data-anm-scroll-text-reveal] {
        /* Ensure content is visible when printing */
        opacity: 1 !important;
    }

    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        opacity: 1 !important;
        transform: none !important;
    }
}
