
/* =================================
   ARNOLD LABS — ABOUT PAGE
================================= */

main {
    padding-top: 100px;
}

/* ABOUT HERO */

.about-hero {
    min-height: 75vh;
    padding: 80px 9%;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 80px;
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 390px;
    justify-self: center;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(0, 217, 255, 0.35),
        rgba(139, 92, 246, 0.25)
    );
    filter: blur(35px);
    z-index: -1;
}

.about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.about-intro {
    max-width: 650px;
}

.about-intro h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 20px 0;
}

.about-intro > p:last-child {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 800px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 7%;
        text-align: center;
    }

    .about-image {
        max-width: 280px;
    }

    .about-intro {
        margin: auto;
    }

    .about-intro h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}


/* =================================
   MY JOURNEY — LIQUID GLASS
================================= */

.my-story {
    padding: 110px 9%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.story-heading {
    position: sticky;
    top: 130px;
}

.story-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-top: 18px;
}

.story-content {
    padding: 38px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.075),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
}

.story-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #00d9ff,
        #8b5cf6,
        transparent
    );
}

.story-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    position: relative;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* JOURNEY RESPONSIVENESS */

@media (max-width: 800px) {
    .my-story {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 75px 7%;
    }

    .story-heading {
        position: static;
    }

    .story-content {
        padding: 28px;
    }
}


/* =================================
   WHAT I DO — GLASS CARDS
================================= */

.what-i-do {
    padding: 110px 9%;
}

.services-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.services-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin: 18px 0;
}

.services-heading > p:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    min-height: 260px;
    padding: 35px 28px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.075),
        rgba(255,255,255,0.02)
    );
    border: 1px solid rgba(255,255,255,0.13);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    transition: transform 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    top: -65px;
    right: -65px;
    background: rgba(0,217,255,0.13);
    filter: blur(35px);
    border-radius: 50%;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-9px);
    border-color: rgba(0,217,255,0.45);
    box-shadow: 0 22px 55px rgba(0,217,255,0.09);
}

.service-card h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 18px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* RESPONSIVE SERVICE CARDS */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .what-i-do {
        padding: 75px 7%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }
}


/* =================================
   MY TOOLKIT — GLASS DASHBOARD
================================= */

.tech-stack {
    padding: 110px 9%;
}

.stack-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.stack-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 18px 0;
}

.stack-heading > p:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.stack-category {
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.07),
        rgba(255,255,255,0.02)
    );
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.35s ease,
                border-color 0.35s ease;
}

.stack-category:hover {
    transform: translateY(-6px);
    border-color: rgba(0,217,255,0.4);
}

.stack-category h3 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    color: var(--accent-cyan);
}

.stack-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-category li {
    padding: 10px 16px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 0.88rem;
    background: rgba(0,217,255,0.07);
    border: 1px solid rgba(0,217,255,0.17);
    transition: background 0.3s ease,
                transform 0.3s ease,
                border-color 0.3s ease;
}

.stack-category li:hover {
    background: rgba(0,217,255,0.15);
    border-color: rgba(0,217,255,0.45);
    transform: translateY(-3px);
}

/* TOOLKIT RESPONSIVENESS */

@media (max-width: 600px) {
    .tech-stack {
        padding: 75px 7%;
    }

    .stack-grid {
        grid-template-columns: 1fr;
    }

    .stack-category {
        padding: 25px;
    }
}


/* =================================
   MY PHILOSOPHY — SIGNATURE SECTION
================================= */

.my-philosophy {
    padding: 100px 9%;
}

.philosophy-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 75px 65px;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        rgba(0, 217, 255, 0.09),
        rgba(139, 92, 246, 0.07),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.philosophy-content::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    background: rgba(0, 217, 255, 0.15);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.philosophy-content h2 {
    max-width: 950px;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.16;
    letter-spacing: -2px;
    margin: 25px 0;
}

.philosophy-content > p:not(.section-label) {
    max-width: 750px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-top: 18px;
}

/* PHILOSOPHY RESPONSIVENESS */

@media (max-width: 600px) {
    .my-philosophy {
        padding: 70px 7%;
    }

    .philosophy-content {
        padding: 38px 25px;
        border-radius: 22px;
    }

    .philosophy-content h2 {
        letter-spacing: -1px;
    }
}


/* ==========================================
   ARNOLD LABS — LIQUID GLASS OS ENVIRONMENT
========================================== */

.about-hero,
.my-story,
.what-i-do,
.tech-stack,
.my-philosophy {
    position: relative;
    isolation: isolate;
}

/* Ambient light behind the glass */

.my-story::before,
.what-i-do::before,
.tech-stack::before,
.my-philosophy::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 320px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse,
            rgba(0, 217, 255, 0.22),
            transparent 70%
        ),
        radial-gradient(
            ellipse,
            rgba(139, 92, 246, 0.18),
            transparent 70%
        );
    filter: blur(45px);
    opacity: 0.9;
}

.my-story::before {
    top: 10%;
    right: 5%;
}

.what-i-do::before {
    top: 20%;
    left: -10%;
}

.tech-stack::before {
    top: 10%;
    right: -8%;
}

.my-philosophy::before {
    top: 15%;
    left: 10%;
}

/* ==========================================
   REAL FROSTED GLASS SURFACES
========================================== */

.story-content,
.service-card,
.stack-category,
.philosophy-content {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.025) 50%,
            rgba(0, 217, 255, 0.035)
        );

    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.19);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.035),
        0 15px 45px rgba(0, 0, 0, 0.28);

    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

/* Glass reflection */

.story-content::after,
.service-card::after,
.stack-category::after,
.philosophy-content::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.10),
        transparent 25%,
        transparent 75%,
        rgba(0, 217, 255, 0.045)
    );
    opacity: 0.7;
}

/* Glass hover illumination */

.story-content:hover,
.service-card:hover,
.stack-category:hover,
.philosophy-content:hover {
    border-color: rgba(0, 217, 255, 0.4);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 20px 55px rgba(0, 217, 255, 0.09),
        0 0 25px rgba(139, 92, 246, 0.06);
}

/* Keep content above reflections */

.story-content > *,
.service-card > *,
.stack-category > *,
.philosophy-content > * {
    position: relative;
    z-index: 1;
}

/* Reduced motion support */

@media (prefers-reduced-motion: reduce) {
    .story-content,
    .service-card,
    .stack-category,
    .philosophy-content {
        transition: none;
    }
}


/* ==========================================
   ARNOLD LABS — TRANSPARENT CRYSTAL GLASS
========================================== */

/* Make the glass genuinely transparent */

.story-content,
.service-card,
.stack-category,
.philosophy-content {
    background: rgba(15, 20, 35, 0.12) !important;

    backdrop-filter: blur(12px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(200%) !important;

    border: 1px solid rgba(255, 255, 255, 0.24);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.28),
        inset 0 -1px 1px rgba(255, 255, 255, 0.06),
        0 15px 45px rgba(0, 0, 0, 0.18);
}

/* Visible light passing through the glass */

.my-story::before,
.what-i-do::before,
.tech-stack::before,
.my-philosophy::before {
    width: 500px;
    height: 400px;
    filter: blur(35px);
    opacity: 1;
}

/* Glass reflection */

.story-content::after,
.service-card::after,
.stack-category::after,
.philosophy-content::after {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.20),
        transparent 18%,
        transparent 70%,
        rgba(0,217,255,0.08)
    );

    opacity: 0.45;
}

/* Clear glass hover */

.story-content:hover,
.service-card:hover,
.stack-category:hover,
.philosophy-content:hover {
    background: rgba(20, 35, 55, 0.16) !important;
    border-color: rgba(0, 217, 255, 0.55);
}


/* ==========================================
   ARNOLD LABS — LIQUID GLASS ENVIRONMENT
========================================== */

/* Give each section its own colourful backdrop */

.my-story {
    background:
        radial-gradient(
            ellipse at 75% 35%,
            rgba(0, 217, 255, 0.20),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 20% 80%,
            rgba(110, 65, 255, 0.17),
            transparent 45%
        );
}

.what-i-do {
    background:
        radial-gradient(
            ellipse at 15% 45%,
            rgba(0, 120, 255, 0.20),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 85% 70%,
            rgba(140, 55, 255, 0.19),
            transparent 45%
        );
}

.tech-stack {
    background:
        radial-gradient(
            ellipse at 80% 30%,
            rgba(0, 217, 255, 0.18),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 15% 75%,
            rgba(100, 55, 255, 0.20),
            transparent 45%
        );
}

.my-philosophy {
    background:
        radial-gradient(
            ellipse at 30% 50%,
            rgba(0, 180, 255, 0.20),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 80% 40%,
            rgba(140, 60, 255, 0.18),
            transparent 45%
        );
}

/* Add depth behind the glass surfaces */

.story-content,
.service-card,
.stack-category,
.philosophy-content {
    backdrop-filter: blur(18px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    background: rgba(15, 20, 35, 0.10) !important;
}


/* ==========================================
   ARNOLD LABS — REFINED LIQUID GLASS
========================================== */

/* Remove the strong section colour washes */

.my-story,
.what-i-do,
.tech-stack,
.my-philosophy {
    background: transparent !important;
}

/* Softer ambient light behind glass */

.my-story::before,
.what-i-do::before,
.tech-stack::before,
.my-philosophy::before {
    width: 320px;
    height: 260px;
    filter: blur(75px);
    opacity: 0.38;
}

/* ==========================================
   ARNOLD LABS — PREMIUM ABOUT GLASS CARDS
========================================== */

.story-content,
.service-card,
.stack-category,
.philosophy-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.105),
            rgba(255,255,255,.035) 48%,
            rgba(145,175,255,.045)
        ) !important;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;

    backdrop-filter: blur(12px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(175%) !important;

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.28),
        inset 0 -1px 1px rgba(255,255,255,.06),
        0 15px 40px rgba(0,0,0,.22);

    transition:
        transform .4s cubic-bezier(.2,.7,.2,1),
        border-color .4s ease,
        box-shadow .4s ease;
}

/* Glass reflection */
.story-content::after,
.service-card::after,
.stack-category::after,
.philosophy-content::after {
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.20),
            transparent 30%,
            transparent 75%,
            rgba(255,255,255,.07)
        );
    opacity: .45;
}

/* Floating interaction */
.story-content:hover,
.service-card:hover,
.stack-category:hover,
.philosophy-content:hover {
    transform: translateY(-6px);

    border-color: rgba(255,255,255,.36);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.32),
        0 22px 48px rgba(0,0,0,.29),
        0 4px 18px rgba(0,217,255,.045);
}

@media (prefers-reduced-motion: reduce) {
    .story-content,
    .service-card,
    .stack-category,
    .philosophy-content {
        transition: none;
    }

    .story-content:hover,
    .service-card:hover,
    .stack-category:hover,
    .philosophy-content:hover {
        transform: none;
    }
}