/* ========================================
   ABOUT US PAGE — DEDICATED STYLES
   Inherits base tokens from style.css
   ========================================= */

/* --- Page Base --- */
.about-page {
    background: #050a15;
    color: #fff;
    overflow-x: hidden;
}

/* --- Shared Section Rhythm --- */
.about-section {
    padding: 120px 5%;
    position: relative;
    z-index: 10;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.about-subheading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.about-intro-section .about-subheading {
    line-height: 2;
}

.about-intro-line {
    display: block;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 0;
    transform: translateY(50px);
    animation: aboutIntroReveal 1.2s ease forwards;
}

.about-intro-line:nth-child(2) {
    animation-delay: 0.16s;
}

.about-intro-line:nth-child(3) {
    animation-delay: 0.32s;
}

body.light-mode:not(.home-page) .about-intro-line {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

@keyframes aboutIntroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-label {
    color: #61B564;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

/* ========================================
   1. HERO SECTION
   ========================================= */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.about-hero-content .about-heading {
    margin-bottom: 30px;
}

.about-hero-content .about-body {
    margin: 0 auto;
    max-width: 700px;
}

/* ========================================
   2. REALITY OF SLEEP
   ========================================= */
.reality-lines {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.reality-line {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    padding-left: 40px;
    border-left: 3px solid #61B564;
}

/* ========================================
   3. BRAND STORY
   ========================================= */
/* --- Laser Journey Section --- */
.journey-section {
    padding: 50px 0 0 !important;
    box-sizing: border-box;
    position: relative;
    height: 80vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background: transparent;
    /* Changed to transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Removed stars and stardust textures as per request */
.journey-stars {
    display: none;
}

.laser-container {
    display: none;
    /* Hidden by default, shown only on desktop */
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(97, 181, 100, 0.2) 20%,
            rgba(97, 181, 100, 0.2) 80%,
            transparent);
    transform: translateX(-50%);
    z-index: 5;
}

.laser-active {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100px;
    background: #fff;
    box-shadow:
        0 0 10px #61B564,
        0 0 20px #61B564,
        0 0 40px #61B564;
    border-radius: 10px;
    z-index: 10;
}

.journey-grid {
    position: relative;
    width: 100%;
    height: min(54vh, 500px);
    perspective: 1500px;
    transform-style: preserve-3d;
}

.journey-item {
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%) translateZ(-2000px);
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.journey-item.active {
    pointer-events: auto;
}

.journey-year {
    width: 50%;
    text-align: right;
    padding-right: 120px;
    /* Increased safety gap */
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: #61B564;
    line-height: 0.8;
    position: relative;
    text-shadow: 0 0 20px rgba(97, 181, 100, 0.2);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

/* Holographic Glitch Effect Removed */

.journey-content {
    width: 50%;
    text-align: left;
    padding-left: 120px;
    /* Increased safety gap */
    max-width: 600px;
}

.journey-content h3 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #61B564);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Brackets Removed */

@media (max-width: 1024px) {
    .journey-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .journey-content {
        text-align: center;
        padding: 0 20px;
    }

    .journey-year {
        font-size: 8rem;
    }
}

/* ===========================================================
   MOBILE — vertical timeline with connecting line + node dots.
   The desktop 3D-pin journey doesn't fit a phone viewport, so on
   mobile we drop the perspective trickery and present each milestone
   as a vertical row connected by a thin green line down the left.
   Items still fade in on scroll (handled by the JS in about.html
   which adds .active to each journey-item as it enters view) so the
   "passing through time" feel is preserved.
   =========================================================== */
@media (max-width: 768px) {

    /* The journey-immersive section is pin-scrolled by GSAP on desktop.
       On mobile the JS skips that and we let the section grow naturally
       so each milestone is visible in document flow. */
    #journey-immersive {
        min-height: auto !important;
        height: auto !important;
        padding: 60px 0 100px !important;
        overflow: visible;
    }

    /* Force hide laser elements on mobile */
    .laser-container,
    .laser-active {
        display: none !important;
    }

    .journey-grid {
        position: relative;
        height: auto;
        perspective: none;
        transform-style: flat;
        padding: 40px 0 0 70px;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Vertical connecting line down the left */
    .journey-grid::before {
        content: '';
        position: absolute;
        left: 28px;
        top: 20px;
        bottom: 20px;
        width: 1.5px;
        background: linear-gradient(180deg,
                rgba(97, 181, 100, 0) 0%,
                rgba(97, 181, 100, 0.4) 15%,
                rgba(97, 181, 100, 0.4) 85%,
                rgba(97, 181, 100, 0) 100%);
        opacity: 0.8;
    }

    .journey-item {
        position: relative;
        top: auto;
        left: auto;
        transform: translateY(30px);
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0;
        padding: 0 5% 100px 0;
        max-width: none;
        width: 100%;
        opacity: 0;
        pointer-events: auto;
        transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .journey-item:last-child {
        padding-bottom: 20px;
    }

    /* Reveal on scroll — the .active class is toggled by the IO
       observer added in about.html below for mobile. */
    .journey-item.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Node dot on the vertical line, aligned with the year */
    .journey-item::before {
        content: '';
        position: absolute;
        left: -51px;
        top: 18px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #61B564;
        border: 4px solid #050a15;
        box-shadow: 0 0 0 2px rgba(97, 181, 100, 0.2),
            0 0 25px rgba(97, 181, 100, 0.5);
        z-index: 2;
        transition: all 0.5s ease;
    }

    .journey-item.active::before {
        background: #fff;
        box-shadow: 0 0 0 4px rgba(97, 181, 100, 0.3),
            0 0 35px rgba(97, 181, 100, 0.7);
    }

    .journey-year {
        width: auto;
        text-align: left;
        padding: 0;
        font-size: clamp(3.2rem, 12vw, 4.5rem);
        font-weight: 800;
        color: #61B564;
        line-height: 1;
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }

    .journey-content {
        width: auto;
        text-align: left;
        padding: 0;
        max-width: none;
    }

    .journey-content h3 {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 12px;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        font-weight: 700;
    }

    .journey-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ========================================
   4. WHY SPARSH
   ========================================= */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.usp-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.usp-card:hover {
    transform: translateY(-10px);
    border-color: #61B564;
    background: rgba(97, 181, 100, 0.05);
}

.usp-card i {
    font-size: 3rem;
    color: #61B564;
    margin-bottom: 30px;
}

/* ========================================
   5. BEHIND THE SCENES (Dominant Scroll)
   ========================================= */
.warehouse-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    padding: 0 5%;
    z-index: 20;
    background: transparent;
    /* Changed to transparent as per request */
}

.warehouse-title-box {
    width: 400px;
    flex-shrink: 0;
    z-index: 10;
    margin-right: 60px;
}

.warehouse-track-viewport {
    flex: 1;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.warehouse-track {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
    will-change: transform;
}

.warehouse-card {
    width: 600px;
    height: 70vh;
    flex-shrink: 0;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.warehouse-card:hover {
    transform: scale(1.02);
}

.warehouse-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.warehouse-card:hover img {
    transform: scale(1.1);
}

.warehouse-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(8px);
    font-size: 1.25rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.warehouse-card:hover .caption {
    background: linear-gradient(transparent, rgba(97, 181, 100, 0.4));
    padding-bottom: 50px;
}

/* ========================================
   6. PROCESS
   ========================================= */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-step {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.person-card {
    width: 300px;
    text-align: center;
    opacity: 0;
    /* GSAP */
}

.person-img-placeholder {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

.person-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.person-info .title {
    color: #61B564;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.person-info .quote {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* 8. Trust Numbers */
.trust-numbers-section {
    padding: 150px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.numbers-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.number-item .num-value,
.number-item .num-plus {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   11. CTA
   ========================================= */
.cta-gold {
    display: inline-block;
    background: #61B564;
    color: #000;
    padding: 20px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(97, 181, 100, 0.3);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
    }

    .timeline-node {
        left: 10px !important;
    }

    .about-section {
        padding: 60px 5%;
    }

    .warehouse-section {
        height: auto;
        min-height: auto;
        flex-direction: column;
        padding: 80px 20px;
        align-items: flex-start;
        display: block;
    }

    .warehouse-title-box {
        width: 100%;
        margin-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }

    .warehouse-title-box .about-subheading {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .warehouse-track-viewport {
        width: 100%;
        height: auto;
        overflow: visible;
        margin: 0;
    }

    .warehouse-track {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .warehouse-card {
        width: 100%;
        height: 450px;
        border-radius: 24px;
        transform: none !important;
    }

    .warehouse-card .caption {
        padding: 30px 20px;
        font-size: 1.1rem;
    }
}


/* =============================================
   LEADERSHIP — Cinematic Mural (Single Line)
   ============================================= */
.leadership-section {
    position: relative;
    z-index: 5;
    padding-bottom: 150px;
    padding-left: 0;
    padding-right: 0;
}

.leadership-intro {
    text-align: center;
    margin-bottom: 64px;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.leadership-intro .about-body {
    margin-top: 18px;
}

.leadership-section .about-container {
    max-width: 1500px;
    padding: 0 40px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.leader-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-item:hover {
    transform: translateY(-12px);
}

.leader-square {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;

}

.leader-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-item:hover .leader-square img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.leader-info {
    text-align: center;
    color: white;
}

.leader-info h3 {
    margin: 0 0 8px 0;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.leader-item:hover .leader-info h3 {
    color: #61B564;
}

.leader-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.leader-item:hover .leader-info span {
    color: #61B564;
}

/* Light Mode Overrides */
.light-mode .leader-info h3 {
    color: #0a0e1a;
}

.light-mode .leader-info span {
    color: #61B564;
}

@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

/* =================================================================
   Brand logo placeholder — Supreme sibling brand section.
   Replace .brand-logo-placeholder contents with a real <img> when
   the brand team supplies the artwork.
   ================================================================= */
.brand-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 32px;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    min-height: 140px;
}

.brand-logo-placeholder-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
}

.brand-logo-placeholder-note {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

body.light-mode:not(.home-page) .brand-logo-placeholder {
    background: rgba(15, 26, 46, 0.03);
    border-color: rgba(15, 26, 46, 0.18);
}

body.light-mode:not(.home-page) .brand-logo-placeholder-mark {
    color: rgba(15, 26, 46, 0.92);
}

body.light-mode:not(.home-page) .brand-logo-placeholder-note {
    color: rgba(15, 26, 46, 0.5);
}

/* Show laser only on desktop */
@media (min-width: 769px) {

    .laser-container,
    .laser-active {
        display: block;
    }
}