﻿/*
Theme Name: SRIL 26
Theme URI: https://srilart.com
Author: SRIL
Description: Custom high-end portfolio theme based on SRIL ART design system (2026 Edition).
Version: 1.0
Text Domain: sril26
*/

/* =========================================
   LOADER CSS
   ========================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 15vw;
    max-width: 150px;
    min-width: 80px;
    animation: loaderPulse 2s infinite ease-in-out;
}

.loader-logo {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes loaderPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* =========================================
   HEADER LOGO CSS
   ========================================= */
.header-logo-container {
    position: fixed;
    top: 2rem;
    left: 3vw;
    width: 60px;
    z-index: 10001;
    /* High z-index to ensure visibility */
}

.header-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .header-logo-container {
        top: 1.5rem;
        left: 1.5rem;
        width: 40px;
    }
}

/* =========================================
   MOBILE CLEANUP CSS
   ========================================= */
@media (max-width: 768px) {
    .horizontal-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .horizontal-container::-webkit-scrollbar {
        display: none;
    }
}

/* =========================================
   MAIN STYLE CSS
   ========================================= */
:root {
    --color-bg: #050505;
    --color-text: #ffffff;
    --color-accent: #E31C25;
    --color-gray: #333;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:visited {
    color: inherit;
}

a:hover {
    color: var(--color-accent);
}

a,
button,
.interactive,
.client-highlight {
    cursor: pointer;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.9;
}

h2,
h3 {
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--color-accent);
}

/* Navigation */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 3rem;
    width: 40px;
    height: 40px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}


.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease;
    transform-origin: center;
}

.hamburger-menu:hover span:first-child {
    transform: translateY(-2px);
}

.hamburger-menu:hover span:last-child {
    transform: translateY(2px);
}

body.menu-open .hamburger-menu span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

body.menu-open .hamburger-menu span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Header CTA */
.header-cta {
    position: fixed;
    top: 2rem;
    right: 7rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    z-index: 10001;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
}

.header-cta:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}


/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.6s;
    overflow-y: auto;
    padding: 2rem 0;
}

body.menu-open .fullscreen-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vh, 2rem);
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 6vw, 7vh);
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1.1;
    /* Removed transparent/stroke for readability */
}

.menu-link:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

.menu-footer {
    position: relative;
    bottom: auto;
    margin-bottom: 3rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #555;
    letter-spacing: 2px;
}

/* Hero Section */
.hero-container {
    height: 200vh;
    position: relative;
    z-index: 10;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    mix-blend-mode: difference;
}

.hero-title {
    font-size: 16vw;
    line-height: 1;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-family: 'Anton', sans-serif;
    text-align: center;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    font-weight: 300;
    margin-top: 1rem;
}

.hero-2ndsubtitle {
    font-size: 1rem;
    letter-spacing: 0.4em;
    font-weight: 300;
    margin-top: 0.5rem;
    color: #e0e0e0;
}

.sequence-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.sequence-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    z-index: 2;
    pointer-events: none;
}

#hero-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: opacity 0.1s linear;
    will-change: opacity;
}

/* Sections */
.content-section,
.gallery-section {
    padding: 10vh 5vw;
    position: relative;
    z-index: 20;
    background: var(--color-bg);
    overflow: hidden;
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    clip-path: inset(0 0 0 100%);
    opacity: 0.6;
}

.container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 8vw;
    margin-bottom: 5vh;
    border-bottom: 2px solid var(--color-gray);
    padding-bottom: 2rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-block p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #f0f0f0;
    font-weight: 300;
    margin-bottom: 2rem;
}

.learn-more-link {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-decoration: none;
    margin-left: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.learn-more-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.vision-signature {
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 1.25rem !important;
    /* Override generic p styles if needed */
    margin-top: 2rem;
    letter-spacing: 1px;
}

.vision-tag-logo {
    display: block;
    width: 220px;
    height: auto;
    margin-top: 3rem;
    filter: drop-shadow(0 0 10px rgba(227, 28, 37, 0.4));
}

.image-block {
    width: 100%;
    height: 60vh;
    background: #1a1a1a;
    border: 1px solid var(--color-gray);
    overflow: hidden;
    position: relative;
    z-index: 50;
}

/* Stats */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 7rem);
    line-height: 0.8;
    color: var(--color-text);
    opacity: 1.0;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: #555;
    text-transform: uppercase;
    font-weight: 500;
}

/* Services Horizontal */
.services-section {
    height: 200vh;
    position: relative;
    background: var(--color-bg);
    z-index: 15;
}

.sticky-wrapper-horizontal {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.horizontal-container {
    display: flex;
    gap: 10vw;
    padding-left: 10vw;
    width: max-content;
    will-change: transform;
}

.service-card {
    width: 80vw;
    min-width: 80vw;
    height: 75vh;
    background: #111;
    border: 1px solid var(--color-gray);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
    transform: scale(1.0);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.service-card:hover .service-bg-image {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.05);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 3vw;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1vw;
}

.service-card h3 {
    font-size: clamp(1.5rem, 3.5vw, 4rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 0;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.service-num {
    font-size: 4vw;
    color: var(--color-accent);
    font-family: var(--font-heading);
    position: absolute;
    top: 2vw;
    right: 2vw;
    line-height: 1;
    opacity: 0.6;
}

/* Clients Section - Marquee */
.clients-section {
    padding: 0;
    margin: 8vh 0;
    overflow: hidden;
}

.clients-section .container {
    max-width: 100% !important;
    padding: 0;
    margin: 0;
}

.clients-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding-left: 0;
}

.marquee-container {
    width: 100vw;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    background: #050505;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    /* gap removed - using margin on items for perfect looping */
    width: max-content;
    padding-left: 0;
    will-change: transform;
    /* animation removed - handled by GSAP for better control */
}


.client-logo {
    flex: 0 0 auto !important;
    padding: 0;
    margin-right: 6rem;
    height: 15vw !important;
    max-height: 200px !important;
    min-height: 100px;
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .client-logo {
        width: 120px;
        min-width: 120px;
        flex: 0 0 120px;
        height: 80px;
        margin-right: 3rem;
    }

    .marquee-track {
        gap: 0;
    }

    .clients-section .section-title {
        padding-left: 5vw;
        text-align: left;
    }

    .marquee-container {
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
}

/* About & Footer */
.about-section {
    padding: 15vh 5vw;
    background-color: var(--color-bg);
    position: relative;
    z-index: 20;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 8vw, 8rem);
    align-items: start;
}

.about-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-gray);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-image:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

.social-links-about {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links-about .social-icon {
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-links-about .social-icon:hover {
    opacity: 1;
    color: var(--color-accent);
    transform: translateY(-3px);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 10vh 5vw;
    background: var(--color-bg);
    position: relative;
    z-index: 20;
}

.gallery-parallax-container {
    display: flex;
    gap: 4vw;
    margin-top: 5vh;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 4vw;
    flex: 1;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-gray);
    background: #111;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-parallax-container {
        flex-direction: column;
    }

    .gallery-item {
        height: 50vh !important;
    }
}

.footer {
    padding: 10vh 5vw;
    text-align: center;
    border-top: 1px solid var(--color-gray);
}

.footer h2 {
    font-size: 5vw;
    margin-bottom: 2rem;
}

.contact-link {
    font-size: 2rem;
    color: var(--color-accent);
    text-decoration: none;
    display: block;
    margin-bottom: 4rem;
}

/* CTA Section */
.cta-section {
    padding: 15vh 5vw;
    background-color: var(--color-bg);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--color-gray);
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.cta-text h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 0.9;
}

.cta-text p {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.cta-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transition: width 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.cta-btn:hover {
    color: var(--color-accent);
    transform: translateY(-5px);
}

.cta-btn:hover::before {
    width: 100%;
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .service-card {
        width: 85vw;
        padding: 2rem;
    }

    .hero-container {
        height: 100vh !important;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 18vw;
    }

    .section-title {
        font-size: 12vw;
        margin-bottom: 3vh;
    }

    .stats-grid {
        gap: 3rem;
    }

    .services-section {
        height: auto !important;
    }

    .horizontal-container {
        overflow-x: scroll;
        flex-wrap: nowrap;
        transform: none !important;
        padding-bottom: 2rem;
        width: 100%;
    }

    .service-card h3 {
        font-size: 2.5rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .service-num {
        font-size: 4rem;
        top: 1rem;
        right: 1rem;
    }

    .vision-tag-logo {
        width: 140px;
        margin-top: 2rem;
    }
}

/* =========================================
   404 ERROR PAGE
   ========================================= */
.error-404-container {
    height: 100vh;
    width: 100%;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.error-content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 0 1rem;
}

.glitch {
    font-size: 15rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
        0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
    margin: 0;
    line-height: 1;
    color: #fff;
    font-family: 'Anton', sans-serif;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.error-message h2 {
    font-size: 2rem;
    color: #E31C25;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.error-message p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.error-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid #E31C25;
    color: #E31C25;
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.error-button:hover {
    background-color: #E31C25;
    color: #fff;
    box-shadow: 0 0 20px rgba(227, 28, 37, 0.5);
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }

    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }

    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }

    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }

    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }

    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }

    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
            -0.04em -0.025em 0 #fffc00;
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 6rem;
    }

    .error-message h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .error-message p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* =========================================
   404 ERROR PAGE (STREET ART REVISION)
   ========================================= */
.error-404-container {
    height: 100vh;
    width: 100%;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

/* Re-use existing blueprint class but positioned absolutely for this container */
.error-404-container .blueprint-bg {
    opacity: 0.4;
    z-index: 1;
}

.error-content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 0 1rem;
}

.stencil-404 {
    font-size: 20rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 4px #fff;
    font-family: 'Anton', sans-serif;
    position: relative;
    /* Red Shadow Offset */
    filter: drop-shadow(10px 10px 0px #E31C25);
}

.error-message h2 {
    font-size: 3rem;
    color: #fff;
    letter-spacing: 10px;
    margin-bottom: 1rem;
    margin-top: 2rem;
    text-transform: uppercase;
    font-family: 'Anton', sans-serif;
}

.error-message p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 4rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.error-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background-color: #E31C25;
    color: #fff;
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 0 100%);
    border: none;
}

.error-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .stencil-404 {
        font-size: 10rem;
        -webkit-text-stroke: 2px #fff;
        filter: drop-shadow(5px 5px 0px #E31C25);
    }

    .error-message h2 {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .error-message p {
        font-size: 1rem;
        padding: 0 2rem;
    }
}

/* =========================================
   ABOUT US PAGE STYLES (REFINED)
   ========================================= */
.about-page-content {
    padding-top: 15vh;
    /* Increased top padding to clear fixed header */
    padding-bottom: 10vh;
    background-color: #050505;
    position: relative;
    overflow: visible;
    /* Allow sticky elements to work */
}

/* Blueprint Texture (Matches 404 but scoped) */
.about-page-content .blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.about-page-content .container {
    position: relative;
    z-index: 2;
}

/* Grid Layout Adjustments for Sticky */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    /* Crucial for sticky behavior */
}

/* Sticky Image Column */
.image-column {
    position: sticky;
    top: 150px;
    /* Adjust based on header height */
    height: fit-content;
}

.bio-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.5s ease;
    border: 1px solid #333;
}

.bio-image:hover {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Stats Box - Industrial Look */
.stats-box {
    background-color: #111;
    padding: 2rem;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #333;
    border-left: 4px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

/* "Caution Tape" vibe */
.stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, transparent 50%, var(--color-accent) 50%);
}

.stat-number-static {
    color: #fff;
    font-size: 5rem;
    margin: 0;
    line-height: 0.9;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.stat-label-static {
    color: #888;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Typography Overhaul */
.title-no-border {
    border: none !important;
    margin-bottom: 3rem !important;
    font-size: clamp(3rem, 5vw, 6rem) !important;
    line-height: 0.9 !important;
    text-transform: uppercase;
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
}

.title-no-border .accent {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
    display: block;
}

.bio-intro {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #ccc;
    font-weight: 300;
}

.bio-intro strong {
    color: #fff;
    font-weight: 600;
}

/* Highlight Box - "Stamped" look */
.highlight-box {
    background: transparent;
    padding: 2rem;
    margin-bottom: 4rem;
    border: 1px solid #333;
    position: relative;
}

.highlight-box::after {
    content: 'HIGHLIGHT';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #050505;
    padding: 0 10px;
    color: #555;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.highlight-box h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.highlight-box p {
    font-size: 1.1rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

.sril-h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 800;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    display: inline-block;
}

/* Client Tags - Industrial Stickers */
.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.client-tag {
    background: #111;
    border: 1px solid #333;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #888;
    transition: all 0.3s ease;
    cursor: default;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
}

.client-tag:hover {
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(227, 28, 37, 0.2);
}

/* Accolades - Grid cleanup */
.accolades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.accolade-item {
    border-left: 1px solid #333;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.accolade-item:hover {
    border-left-color: var(--color-accent);
    padding-left: 2rem;
}

.accolade-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.accolade-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bio-outro {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 3rem;
    line-height: 1.4;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 0;
}

.sril-btn {
    background: var(--color-accent);
    color: #fff;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 2px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
    text-transform: uppercase;
}

.sril-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .grid-layout {
        display: block;
    }

    .image-column {
        position: relative;
        /* Disable sticky on mobile */
        width: 100%;
        margin-bottom: 3rem;
        top: 0;
    }

    .title-no-border {
        font-size: 3rem !important;
    }

    .accolades-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-box {
        margin-bottom: 0;
    }

    /* Fix Stats Spacing & Alignment */
    .impact-block {
        margin-top: 5rem;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #222;
        /* Optional separator */
        position: relative;
        clear: both;
    }

    .vision-tag-logo {
        display: block;
        margin: 2rem auto;
        max-width: 150px;
        height: auto;
        position: relative;
        /* Ensure it takes up space */
    }

    .stats-grid {
        justify-content: center;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        /* Ensure text is centered */
        align-items: center;
        /* Center flex items */
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .stat-number {
        font-size: 5rem !important;
        /* Force larger size on mobile */
    }

    /* Fix Services Section Mobile - Stack Vertically */
    .sticky-wrapper-horizontal {
        height: auto !important;
        /* Disable sticky track height */
        position: static;
    }

    .horizontal-container {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        transform: none !important;
        /* Override JS transform */
        overflow: visible;
        gap: 1.5rem;
        padding-left: 0 !important;
        /* RESET DESKTOP PADDING */
        padding-right: 0 !important;
        padding-bottom: 4rem;
        align-items: center;
        /* Center cards */
    }

    .service-card {
        width: 92% !important;
        /* Slight inset */
        max-width: 400px;
        /* Prevent massive cards on larger phones */
        height: 55vh !important;
        /* Slightly smaller height */
        min-width: 0 !important;
        margin: 0 auto !important;
        flex: none;
        border-right: 1px solid var(--color-gray);
        /* Ensure border visible */
    }

    .service-content {
        padding: 2rem !important;
        /* Reduce padding on mobile */
    }

    .service-num {
        display: none !important;
    }

    .service-bg-image {
        opacity: 0.6;
        /* Ensure visibility */
    }
}

/* === CLIENTS MARQUEE === */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    /* Match gap for seamless loop calculation */
    width: max-content;
    /* Ensure it expands to fit all items */
    will-change: transform;
}

.client-logo {
    flex: 0 0 auto;
    /* Don't shrink */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optional: Grayscale until hover or similar styling */
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    height: 60px;
    /* Fixed height standard */
    width: auto;
    object-fit: contain;
    max-width: 150px;
}

/* === FOOTER REDESIGN === */
.site-footer {
    background-color: #050505;
    color: #fff;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 10;
}

/* CTA Section */
.footer-cta {
    padding: 10rem 0;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
    background: linear-gradient(to bottom, #0a0a0a, #000);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 1;
    /* Less condensed */
    letter-spacing: -2px;
    color: #fff;
}

.cta-btn {
    display: inline-block;
    padding: 1.5rem 5rem;
    background: transparent;
    border: 1px solid #fff;
    /* Outline style */
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* Main Footer */
.footer-main {
    padding: 6rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    column-gap: 4rem;
    row-gap: 0;
    /* Tight spacing for ticker */
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 3px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-col a i {
    transition: transform 0.3s ease;
}

/* Brand Column (Logo + Tagline) */
.brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -2px;
}

.tagline {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.4;
    color: #666;
    margin-top: 0.5rem;
    max-width: 300px;
}

.location {
    color: #666;
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Socials */
.socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 2rem;
}

.socials a {
    color: #fff !important;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

/* Footer Ticker / Span Column */
.footer-span-col {
    grid-column: 2 / -1;
    /* Span right 3 columns */
    border-top: 1px solid #333;
    padding-top: 1rem;
    margin-top: -3rem;
    /* HOIST: Pull up into empty space */
    opacity: 1;
    position: relative;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.locations-marquee {
    font-family: var(--font-heading);
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aeaeae !important;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.footer-svg {
    width: 100%;
    height: auto;
}

.footer-logo-link {
    display: inline-block;
    width: 180px;
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05) rotate(-2deg);
}

.footer-logo-link:hover .st0 {
    fill: var(--color-accent);
    transition: fill 0.3s ease;
}

.small {
    font-size: 2.0rem;
    display: inline;
    word-break: normal;
    overflow-wrap: break-word;
    word-wrap: normal;
}

.accent-icon {
    color: var(--color-accent);
    margin-right: 0.5rem;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Stack Ticker on Mobile */
    .footer-span-col {
        grid-column: 1 / -1;
        text-align: center;
        border-top: none;
        margin-top: 2rem;
        /* RESET: Restore spacing */
    }

    .locations-marquee {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
        /* Allow wrapping */
        text-align: center;
        gap: 0.5rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 3rem;
    }

    .footer-brand {
        font-size: 2.5rem;
    }

    .tagline {
        margin: 1.5rem auto;
    }

    .socials {
        justify-content: center;
    }
}

.footer-col a:hover i {
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .footer-cta {
        padding: 5rem 1rem;
    }

    .footer-logo-link {
        width: 120px;
        margin: 0 auto 1.5rem;
    }

    .footer-col h4 {
        justify-content: center;
    }
}


/* Footer Pattern & Reveal */
.footer-cta {
    position: relative;
    overflow: hidden;
    /* For parallax */
}

.cta-bg-pattern {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.footer-reveal {
    /* Script handles opacity/transform, but set start state to avoid flash */
    /* opacity: 0; handled by GSAP from() but good practice */
}

.footer-cta .container {
    position: relative;
    z-index: 1;
    /* Above pattern */
}


/* Make sure text stays above the spotlight */
.footer-cta .container {
    position: relative;
    z-index: 2;
}

/* Subtle automated movement for the grid pattern */
@keyframes patternMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-40px);
    }
}

.cta-bg-pattern {
    animation: patternMove 20s linear infinite;
}

/* Oversized Footer Background Logo */
.cta-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    /* Adjust size as needed, maybe larger */
    height: auto;
    z-index: 1;
    /* Behind text */
    pointer-events: none;
    opacity: 0;
    /* Handled by GSAP, but good default */
}

.cta-bg-logo svg {
    width: 100%;
    height: auto;
}

.cta-bg-logo .st_bg {
    fill: #222;
    /* Different fill for background logo? Dark grey */
}


/* Red Glow Line */
.cta-red-glow {
    position: absolute;
    bottom: 0;
    left: -50%;
    /* Start off-screen left */
    width: 50%;
    /* Length of the glow */
    height: 4px;
    /* Thin line */
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    box-shadow: 0 -10px 30px rgba(255, 0, 0, 0.4);
    /* Glow spread upwards */
    z-index: 3;
    pointer-events: none;
    opacity: 0.8;
}