/*
Theme Name: The WebSpire
Theme URI: https://thewebspire.co
Author: The WebSpire Team
Author URI: https://thewebspire.co
Description: A premium, architectural WordPress theme for digital agencies.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webspire
*/
/* Global Resets & Fonts */
:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --accent: #f472b6;
    --bg-dark: transparent;
    /* Updated for transparency */
    --bg-darker: transparent;
    /* Updated for transparency */
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --glass: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    /* Solid background for body */
    color: var(--text-white);
    font-family: 'Inter', 'Outfit', sans-serif;
    /* Consistent fonts */
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
    transform: translateY(0);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


nav .logo img {
    height: 160px !important;
    width: auto !important;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled .logo img {
    height: 120px !important;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Gradients */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
/* Hero Section Definition */

/* 🧩 PUZZLE HERO STYLES */
.hero-pinner {
    height: 200vh;
    /* Reduced from 400vh to cut scroll distance in half */
    position: relative;
    background: transparent;
    margin-bottom: -200px !important;
    /* Pull up next section */
    position: relative;
    z-index: 5;
}

/* 🛠️ TECH STACK SPLIT ENHANCEMENTS */
.tech-icon-item {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-icon-item:hover,
.tech-icon-item.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tech-icon-item i {
    font-size: 35px;
}

.tech-icon-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.tech-icon-item:hover span {
    color: white;
}


.puzzle-frame {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.puzzle-vessel {
    position: relative;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split Layout */
    align-items: center;
    background: #000;
    overflow: hidden;
}

#lightning-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

/* Background Image positioning (Show right side illustration on the right side of the screen) */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    background-image: inherit;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 2;
}

/* Text Overlays for Puzzle */
.puzzle-text-stack {
    position: relative;
    z-index: 10;
    padding-left: 8%;
    grid-column: 1;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    height: 100vh;
}

.puzzle-text-block {
    position: absolute;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
    max-width: 550px;
    text-align: left;
    pointer-events: auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 10, 30, 0.75) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.puzzle-text-block.active {
    opacity: 1;
    transform: translateX(0);
}

/* Text block styles */

.puzzle-text-block h1 {
    font-size: clamp(42px, 6vw, 75px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    /* 3D Embossed Effect */
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.3),
        0 3px 0 rgba(255, 255, 255, 0.2),
        0 4px 0 rgba(255, 255, 255, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.puzzle-text-block p {
    font-size: clamp(17px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 25px;
}


/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    /* Above background narrative */
}

/* Section General */
section {
    padding: 120px 0;
    position: relative;
    background: transparent !important;
    /* Force transparency for bg text visibility */
    overflow: visible;
}

.section-header {
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-header p {
    font-size: 20px;
    color: var(--text-gray);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    /* 3D Transform is handled by JS but we need perspective */
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Improved Visibility on Hover */
.service-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon-wrapper i {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: var(--accent);
    display: inline-block;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--accent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    /* Make background lighter by default for visibility */
    background: rgba(255, 255, 255, 0.04);
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured,
.pricing-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.price {
    font-size: 50px;
    font-weight: 800;
    margin: 30px 0;
    color: white;
}

.price span {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1;
    /* Push button to bottom */
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    color: var(--accent);
    min-width: 20px;
}

/* Builder / Custom Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.modal-content {
    background: #0a0a0a;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 30px;
    padding: 60px;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-gray);
}

/* Builder Type Cards (Step 1) */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.type-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 40px 20px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.type-card:hover,
.type-card.active {
    background: var(--primary);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.type-card i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    color: var(--accent);
}

.type-card:hover i,
.type-card.active i {
    color: white;
}

/* Builder Options (Step 2) */
.custom-package-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.checkbox-item {
    position: relative;
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-item.selected {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-item i {
    font-size: 24px;
    color: var(--text-gray);
}

.checkbox-item.selected i {
    color: white;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

/* 🌟 COMPREHENSIVE RESPONSIVE REFINEMENTS */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .puzzle-text-block h1 {
        font-size: 70px;
    }
}

@media (max-width: 1100px) {
    .container {
        max-width: 950px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .puzzle-text-block h1 {
        font-size: 55px;
    }

    .puzzle-text-stack {
        padding-left: 5%;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }

    .nav-links {
        display: none;
    }

    .puzzle-vessel {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .puzzle-text-stack {
        grid-row: 2;
        padding: 0 20px;
        align-items: center;
        text-align: center;
        padding-bottom: 50px;
    }

    .puzzle-text-block {
        text-align: center;
        transform: translateY(20px);
        left: 0;
        right: 0;
        margin: auto;
        padding: 30px 25px;
        max-width: 90%;
    }

    .puzzle-text-block.active {
        transform: translateY(0);
    }

    .puzzle-text-block h1 {
        font-size: clamp(32px, 8vw, 50px);
    }

    .puzzle-text-block p {
        font-size: clamp(15px, 4vw, 18px);
    }

    .hero-slide::after {
        width: 100%;
        height: 45%;
        top: 25%;
        right: 0;
        transform: translateY(-50%);
    }

    .section-header h2 {
        font-size: 40px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    #who-we-are .container>div {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .puzzle-text-block h1 {
        font-size: 36px;
    }

    .puzzle-text-block p {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-height: 700px) {
    .puzzle-vessel {
        height: 100vh;
    }
}

/* FINAL PRICING OVERRIDES */
.pricing-card {
    background: rgba(5, 5, 5, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
    background: rgba(10, 5, 20, 0.9) !important;
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* CMS ICONS */
.fa-wordpress,
.fa-shopify,
.fa-magento,
.fa-react,
.fa-laravel {
    transition: 0.3s;
}

.fa-wordpress:hover {
    color: #21759b !important;
}

.fa-shopify:hover {
    color: #96bf48 !important;
}

.fa-magento:hover {
    color: #ee672f !important;
}

.fa-react:hover {
    color: #61dafb !important;
}

.fa-laravel:hover {
    color: #ff2d20 !important;
}

/* FINAL FIXES v5 */
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    z-index: 10;
    white-space: nowrap;
}

.text-marquee {
    z-index: 500 !important;
    position: relative;
    background: #000 !important;
    /* Force Black */
    padding: 15px 0 !important;
    height: auto !important;
    min-height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card {
    overflow: visible !important;
    background: rgba(5, 5, 5, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.pricing-card.featured {
    border-color: var(--primary) !important;
    background: rgba(10, 5, 20, 0.98) !important;
}




/* TECH STACK REFINED & STABILIZED */
#tech-desc {
    min-height: 120px;
    /* Prevent layout shift during text swap */
}

.tech-item {
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 20px;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    background: linear-gradient(90deg, rgba(88, 28, 135, 0.2), rgba(139, 92, 246, 0.1)) !important;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-item i {
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px currentColor);
}

.tech-tooltip {
    display: none !important;
}


/* 🌟 PREMIUM PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    position: relative;
    height: 550px;
    border-radius: 32px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.7);
}

.card-overlay {
    position: absolute;
    inset: 0;
    padding: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.card-info h3 {
    font-size: 38px !important;
    margin-bottom: 12px !important;
    color: white !important;
    font-weight: 800 !important;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.card-info p {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 30px !important;
    max-width: 90%;
    opacity: 0.8;
}

/* WORK DETAILS (Badges) - Revealed on Hover */
.work-details {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
}

.portfolio-card .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

/* HOVER EFFECTS */
.portfolio-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.portfolio-card:hover .work-details,
.portfolio-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover .card-info h3 {
    color: var(--primary-light) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* 🌟 FIXED BACKGROUND NARRATIVE TEXT */
.bg-narrative-container {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-dark);
    transition: opacity 0.5s ease;
}

/* Hide background narrative when hero is active to prevent clashing */
.hero-active .bg-narrative-container {
    opacity: 0;
}

body {
    background: #000;
    /* Deepest layer */
}

.bg-narrative-text {
    font-size: clamp(20px, 5vw, 65px);
    /* Adjusted for better fit */
    font-weight: 950;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.25em;
    mix-blend-mode: screen;
    text-align: center;
    width: auto;
    max-width: none;
    /* Removed limits for "ARCHITECTS" to show fully */
    overflow: visible;
    filter: none;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Layering Balance */
section {
    position: relative;
    z-index: 10;
}

.hero-pinner {
    z-index: 11;
}

.glass {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    z-index: 15;
}

#navbar {
    z-index: 1000;
}

/* 🏆 FOOTER WATERMARK */
.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    /* Increased width */
    height: 120%;
    /* Slightly taller than footer for a bleeding edge look */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.18;
    /* Final boost for clear visibility */
    pointer-events: none;
    z-index: 0;
}

.footer-watermark img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0.8) invert(1);
    mix-blend-mode: screen;
}

/* 🏗️ GAP FIXES & TRANSITION STYLES */
#hero-blueprint-connector {
    position: relative;
    z-index: 40;
    margin-top: -2px;
    /* Pull up to overlap potential sub-pixel gaps */
    padding-top: 0;
    background: #000;
}

.text-marquee {
    margin-top: -2px !important;
    /* Pull up to stitch with blueprint */
    position: relative;
    z-index: 50;
    background: #000;
    border-top: none !important;
    /* Remove border that might highlight a gap */
}