/* 
 * ============================================================
 * (c) 2025 SoulsInfoTech. All rights reserved.
 * 
 * CLOUD STRATEGY & SECURITY ENGINEERING
 * Engineered by Dharmesh Panchal | Strategic Tech Entrepreneur
 * 
 * This design system is a proprietary, custom-built architectural 
 * foundation designed for elite digital performance and 
 * industrial scalability. 
 * ============================================================
 */

/* ============================================================
   1. TYPOGRAPHY — Self-Hosted
   ============================================================ */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */
:root {
    /* Surface Scale */
    --surface: #0a0a0a;
    --surface-container-lowest: #050505;
    --surface-container-low: #111111;
    --surface-container: #161616;
    --surface-container-high: #1c1c1c;
    --surface-container-highest: #222222;

    /* Brand Palette */
    --primary: #c3a069;
    --primary-hover: #d4b47a;
    --primary-container: #2a2214;
    --on-primary-container: #e6d5b8;
    --secondary: #8b7355;
    --on-surface: #ffffff;
    --on-surface-variant: rgba(255, 255, 255, 0.6);

    /* Typography */
    --font-headline: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4.5rem;
    --spacing-xl: 8rem;

    /* Nav */
    --nav-height: 80px;

    /* Easing */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-decel: cubic-bezier(0, 0, 0.2, 1);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}

@media (max-width: 768px) {
    .container {
        padding-inline: 1rem;
    }
}

.section-padding {
    padding-block: var(--spacing-lg);
}

@media (max-width: 768px) {
    .section-padding {
        padding-block: 3rem;
    }
}

/* Section backgrounds */
.section-dark {
    background: #000;
}

.section-alt {
    background: var(--surface-container-lowest);
}

.section-surface {
    background: var(--surface-container-low);
}

/* Section borders */
.section-bordered-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-bordered-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section alignment */
.section-center {
    text-align: center;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================================
   5. TYPOGRAPHY UTILITIES
   ============================================================ */
.headline {
    font-family: var(--font-headline);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.branding-text {
    font-family: var(--font-headline);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: var(--on-surface);
}

/* Page header block — interior pages */
.page-header {
    padding-top: clamp(6rem, 12vh, 10rem);
    padding-bottom: var(--spacing-lg);
    background: var(--surface-container-lowest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header__label {
    display: block;
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
    margin-bottom: 1.5rem;
}

.page-header__title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
    color: var(--on-surface);
}

.page-header__title span {
    color: var(--primary);
}

.page-header__desc {
    margin-top: 2rem;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--on-surface-variant);
    max-width: 680px;
    line-height: 1.8;
}

/* Section label / heading block */
.label-gold {
    display: block;
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-weight: 700;
}

.label-muted {
    display: block;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-weight: 700;
}

.section-header {
    margin-bottom: clamp(3rem, 8vw, 6rem);
}

.section-header--center {
    text-align: center;
}

.section-title {
    font-family: var(--font-headline);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.0;
    font-size: clamp(2rem, 6vw, 5rem);
    color: var(--on-surface);
    overflow-wrap: break-word;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--on-surface-variant);
    max-width: 680px;
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* Intro text block */
.intro-section-inner {
    max-width: 900px;
}

.intro-text {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.9;
    color: var(--on-surface-variant);
}

.intro-text p {
    margin-bottom: 1.5rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   6. BUTTON SYSTEM
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    padding: 1.25rem 3rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s var(--ease-standard), transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(195, 160, 105, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--on-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    padding: 1.25rem 3rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.3s var(--ease-standard), color 0.3s var(--ease-standard), background 0.3s var(--ease-standard);
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

/* Button size modifiers */
.btn-lg {
    padding: 1.75rem 4rem !important;
}

.btn-sm {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.6rem !important;
}

.btn-full {
    width: 100%;
    text-align: center;
    display: block;
}

/* Button group */
.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-group--center {
    justify-content: center;
}

/* ============================================================
   7. NAVIGATION SYSTEM
   ============================================================ */
.elite-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s var(--ease-standard);
}

.nav-brand-logo:hover {
    opacity: 0.8;
}

/* Desktop nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--on-surface);
    font-family: var(--font-headline);
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Nav CTA button */
.nav-cta {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.55rem !important;
    letter-spacing: 0.1em !important;
    flex-shrink: 0;
}

/* Mobile hamburger button — hidden on desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--on-surface);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Header spacer */
.header-spacer {
    height: var(--nav-height);
}

/* Mobile nav drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    z-index: 10001;
    background: #050505;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--nav-height) 2rem 3rem;
    transition: right 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.is-open {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--on-surface);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mobile-nav-close:hover {
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-headline);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--on-surface);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding: 1.25rem 2rem !important;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    background-color: #000;
    background-image: url('../images/dp.svg');
    background-repeat: repeat;
    background-size: 100px;
    animation: scrollBackground 60s linear infinite; /* Slower scroll for hero area */
    min-height: calc(100dvh - var(--nav-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Deep overlay for readability */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-headline {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--on-surface);
    margin-bottom: 2rem;
    overflow-wrap: break-word;
}

.hero-headline span {
    color: var(--primary);
}

.hero-subtitle {
    display: block;
    font-family: var(--font-headline);
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    color: var(--primary);
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--on-surface-variant);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-image-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.hero-image-box img {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    filter: contrast(1.02) brightness(1.05);
    /* Slightly brighter for better clarity on dark surface */
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
}

.max-w-500 {
    max-width: 500px;
}

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

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .hero-image-box {
        order: 1;
        align-items: center;
        margin-bottom: 2.5rem;
    }

    .hero-image-box img {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
    }
}

/* ============================================================
   9. VENTURE / ECOSYSTEM CARDS
   ============================================================ */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.venture-card {
    background: var(--surface-container-low);
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.5s var(--ease-standard), border-color 0.5s var(--ease-standard), transform 0.5s var(--ease-standard);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.venture-card:hover {
    background: var(--surface-container-high);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.venture-card--flagship {
    border-top: 4px solid var(--primary);
    background: #0a0a0a;
}

.venture-card__label {
    display: block;
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.venture-card__label--muted {
    display: block;
    font-family: var(--font-headline);
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.venture-card__title {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
}

.venture-card__body {
    color: var(--on-surface-variant);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    flex: 1;
}

.venture-card__status {
    display: inline-block;
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: var(--secondary);
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

/* ============================================================
   10. IMPACT & CASE STUDIES
   ============================================================ */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.impact-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
    padding-block: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-metric {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.4;
}

.impact-item__content h3 {
    font-family: var(--font-headline);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.impact-item__content p {
    color: var(--on-surface-variant);
    max-width: 620px;
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 640px) {
    .impact-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-block: 2.5rem;
    }
}

/* ============================================================
   11. SOLUTIONS / EXPERTISE GRID
   ============================================================ */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.expertise-item {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--surface-container-low);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s var(--ease-standard), background 0.4s var(--ease-standard), transform 0.4s var(--ease-standard);
    display: flex;
    flex-direction: column;
}

.expertise-item:hover {
    border-color: var(--primary);
    background: var(--surface-container-high);
    transform: translateY(-5px);
}

.expertise-item h3 {
    font-family: var(--font-headline);
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.expertise-item p {
    font-size: 0.97rem;
    color: var(--on-surface-variant);
    line-height: 1.8;
}

.solution-action-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-standard);
}

.solution-action-link i {
    font-size: 0.8rem;
    transition: transform 0.3s var(--ease-standard);
}

.solution-action-link:hover {
    color: var(--on-surface);
}

.solution-action-link:hover i {
    transform: translateX(5px);
}

/* ============================================================
   12. CONTACT & APPOINTMENT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(3rem, 8vw, 6rem);
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-circle {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.contact-form-container {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--surface-container-low);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.input-group label {
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 700;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1.25rem;
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer {
    background: var(--surface-container-lowest);
    padding-block: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    height: 52px; /* Slightly larger as it's the primary personal brand logo now */
    width: 52px;
    object-fit: contain;
    transition: transform 0.3s var(--ease-standard);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-brand-desc {
    color: var(--on-surface-variant);
    line-height: 1.8;
    max-width: 380px;
    font-size: 1rem;
}

.footer-heading {
    display: block;
    margin-bottom: 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.15rem;
    color: var(--secondary);
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-links a i {
    width: 16px;
    text-align: center;
    color: var(--primary);
    opacity: 0.55;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--on-surface);
    transform: translateX(4px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: scale(1.15);
}

.footer-cookie-btn {
    margin-top: 2rem;
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright-text {
    font-family: var(--font-headline);
    font-size: 0.7rem;
    color: var(--on-surface-variant);
    opacity: 0.35;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-sublink {
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 0.65rem;
    color: var(--on-surface-variant);
    opacity: 0.55;
    transition: opacity 0.3s, color 0.3s;
    padding-inline: 1rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.footer-sublink:hover {
    opacity: 1;
    color: var(--primary);
}

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

    .footer-brand-col {
        grid-column: span 2;
    }
}

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

    .footer-brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   14. CTA STRIP
   ============================================================ */
.cta-strip {
    position: relative;
    text-align: center;
    background-image: url('../images/dp.svg');
    background-repeat: repeat;
    background-size: 100px;
    animation: scrollBackground 40s linear infinite;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88); /* Deep overlay for elite contrast */
    z-index: 1;
}

.cta-strip .container {
    position: relative;
    z-index: 2;
}

@keyframes scrollBackground {
    from { background-position: 0 0; }
    to { background-position: 1000px 0; }
}

.cta-strip__title {
    font-family: var(--font-headline);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--on-surface);
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}

.cta-strip__desc {
    color: var(--on-surface-variant);
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================================
   15. SCROLL ANIMATIONS
   ============================================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease-decel), transform 0.75s var(--ease-decel);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.scroll-animate[data-delay="1"] {
    transition-delay: 0.1s;
}

.scroll-animate[data-delay="2"] {
    transition-delay: 0.2s;
}

.scroll-animate[data-delay="3"] {
    transition-delay: 0.3s;
}

.scroll-animate[data-delay="4"] {
    transition-delay: 0.45s;
}

.fade-in {
    animation: fadeIn 1s var(--ease-decel) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   16. LEGAL / CONTENT PAGES (Privacy, Terms)
   ============================================================ */
.legal-content {
    max-width: 860px;
    font-size: 1.05rem;
    line-height: 2;
    color: var(--on-surface-variant);
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: var(--on-surface);
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.legal-content ul li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.legal-content ul li i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
    font-size: 0.55rem;
}

.legal-content a {
    color: var(--primary);
}

.legal-block {
    margin-top: 2rem;
    padding: 2rem 2.5rem;
    border: 1px solid rgba(195, 160, 105, 0.15);
    background: var(--surface-container-low);
}

.legal-block p {
    margin-bottom: 0.4rem;
}

/* ============================================================
   17. BLOG / ARTICLES
   ============================================================ */
.blog-article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: start;
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-article__date {
    font-family: var(--font-headline);
    font-size: 0.65rem;
    color: var(--secondary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: block;
}

.blog-article__title {
    font-family: var(--font-headline);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--on-surface);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: none;
}

.blog-article__excerpt {
    color: var(--on-surface-variant);
    line-height: 1.9;
    font-size: 1.05rem;
}

.blog-article__action {
    flex-shrink: 0;
    padding-top: 0.25rem;
}

@media (max-width: 640px) {
    .blog-article {
        grid-template-columns: 1fr;
    }

    .blog-article__action {
        justify-self: start;
    }
}

/* ============================================================
   18. SOCIAL LINK CARDS
   ============================================================ */
.social-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface-container-low);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
    text-decoration: none;
    color: var(--on-surface);
    transition: background 0.3s var(--ease-standard), border-color 0.3s, transform 0.3s;
}

.social-card:hover {
    background: var(--surface-container-high);
    border-left-color: var(--primary);
    transform: translateX(6px);
}

.social-card__icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s, transform 0.3s;
    width: 38px;
    text-align: center;
    flex-shrink: 0;
}

.social-card:hover .social-card__icon {
    color: var(--primary);
    transform: scale(1.12);
}

.social-card__label {
    font-family: var(--font-headline);
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.35rem;
}

.social-card__desc {
    color: var(--on-surface-variant);
    font-size: 0.97rem;
}

.social-card__arrow {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.social-card:hover .social-card__arrow {
    opacity: 1;
}

/* ============================================================
   19. PROJECT CASE STUDIES LISTING
   ============================================================ */
.project-item {
    display: grid;
    grid-template-columns: clamp(64px, 8vw, 90px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(2.5rem, 5vw, 5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
}

.project-item__number {
    font-family: var(--font-headline);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.3;
    font-size: clamp(3rem, 6vw, 5rem);
}

.project-item__title {
    font-family: var(--font-headline);
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.project-item__desc {
    color: var(--on-surface-variant);
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 800px;
    margin-bottom: 1.75rem;
}

.project-item__outcome {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(195, 160, 105, 0.25);
    padding: 0.65rem 1.25rem;
}

.project-item__outcome i {
    color: var(--primary);
    font-size: 0.65rem;
}

.project-item__outcome span {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 0.05rem;
}

/* ============================================================
   20. CUSTOM 404 PAGE
   ============================================================ */
.error-page {
    min-height: calc(100dvh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(4rem, 10vw, 8rem) 2rem;
}

.error-page__number {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(6rem, 20vw, 16rem);
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.04em;
}

.error-page__content {
    margin-top: -3rem;
    position: relative;
    z-index: 1;
}

.error-page__title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.error-page__desc {
    color: var(--on-surface-variant);
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================================
   21. PAGE TRANSITIONS / UTILITY
   ============================================================ */
.text-gold {
    color: var(--primary);
}

.text-muted {
    color: var(--on-surface-variant);
}

.text-white {
    color: var(--on-surface);
}

.max-prose {
    max-width: 780px;
}

.max-reading {
    max-width: 900px;
}

/* narrative pillar block */
.pillar-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.pillar-item {
    border-left: 3px solid var(--primary);
    padding-left: 2rem;
    transition: transform 0.3s ease;
}

.pillar-item:hover {
    transform: translateX(8px);
}

.pillar-item__title {
    font-family: var(--font-headline);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--on-surface);
    margin-bottom: 0.75rem;
}

.pillar-item__body {
    color: var(--on-surface-variant);
    line-height: 1.8;
    font-size: 1rem;
}

/* solutions items */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2.5rem;
}

/* NATIVE SOCIAL FEED SIMULATION */
.social-feed {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.native-social-card {
    background: var(--surface-container-low);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.native-social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.social-card-header {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-card-header__brand {
    font-family: var(--font-headline);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.social-card-header__date {
    font-size: 0.7rem;
    opacity: 0.5;
    font-family: var(--font-headline);
}

.social-embed-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff;
    min-height: 400px;
}

.social-embed-container iframe,
.social-embed-container blockquote {
    width: 100% !important;
    margin: 0 !important;
}

.social-card-action {
    padding: 2rem;
    display: flex;
    justify-content: center;
    background: var(--surface-container-low);
}

@media (max-width: 768px) {
    .social-feed {
        max-width: 100%;
    }

    .native-social-card {
        border-radius: 0;
        box-shadow: none;
        border-left: 0;
        border-right: 0;
    }

    .social-card-header {
        padding: 1rem 1.5rem;
    }
}

.info-box {
    padding: 2rem 2.5rem;
    border: 1px solid rgba(195, 160, 105, 0.2);
    background: var(--surface-container-low);
    margin-top: 2rem;
}

.info-box__label {
    font-family: var(--font-headline);
    font-size: 0.55rem;
    color: var(--primary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.info-box__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-surface);
    line-height: 1.6;
}

/* Dot list (ecosystem page) */
.dot-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dot-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

.dot-list__bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 8px;
}

.dot-list__bullet--muted {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact methods */
.contact-method__meta {
    display: flex;
    flex-direction: column;
}

.contact-method__label {
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: var(--secondary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.contact-method__value {
    font-size: 1.05rem;
    color: var(--on-surface);
    text-decoration: none;
}

.contact-method__value:hover {
    color: var(--primary);
}

/* QR block */
.qr-block {
    padding: 2.5rem;
    border: 1px solid rgba(195, 160, 105, 0.15);
    text-align: center;
    background: var(--surface-container-low);
}

.qr-block__label {
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: var(--secondary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 1.5rem;
}

.qr-block__img {
    width: 156px;
    height: 156px;
    margin-inline: auto;
    border-radius: 4px;
    object-fit: contain;
}

.qr-block__note {
    color: var(--on-surface-variant);
    font-size: 0.85rem;
    margin-top: 1.25rem;
    line-height: 1.6;
}

/* Status badge */
.status-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem 1.75rem;
}

.status-badge__text {
    font-family: var(--font-headline);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* ============================================================
   22. STATUS BAR (form feedback)
   ============================================================ */
.status-bar {
    padding-block: 1.25rem;
    border-bottom: 1px solid transparent;
}

.status-bar--success {
    background: rgba(195, 160, 105, 0.07);
    border-bottom-color: rgba(195, 160, 105, 0.2);
}

.status-bar--error {
    background: rgba(220, 80, 80, 0.06);
    border-bottom-color: rgba(220, 80, 80, 0.14);
}

.status-bar__text {
    font-family: var(--font-headline);
    font-size: 0.82rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-bar--success .status-bar__text {
    color: var(--primary);
}

.status-bar--error .status-bar__text {
    color: #e57373;
}

/* Inline AJAX form feedback (replaces redirect-based status bars) */
.form-feedback {
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    animation: feedbackSlideIn 0.3s ease;
}

@keyframes feedbackSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-feedback--success {
    background: rgba(195, 160, 105, 0.08);
    border: 1px solid rgba(195, 160, 105, 0.25);
    color: var(--primary);
}

.form-feedback--error {
    background: rgba(220, 80, 80, 0.07);
    border: 1px solid rgba(220, 80, 80, 0.2);
    color: #e57373;
}

/* ============================================================
   23. COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--surface-container-highest);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease-decel);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 220px;
    color: var(--on-surface-variant);
    font-size: 0.9rem;
    line-height: 1.7;
}

.cookie-banner__text a {
    color: var(--primary);
}

.cookie-banner__actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ============================================================
   24. ABOUT PAGE — specific layout helpers
   ============================================================ */
@media (max-width: 1024px) {
    .about-layout {
        flex-direction: column;
    }

    .about-layout .hero-image-box {
        order: 0;
    }
}

/* ============================================================
   25. RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group .btn-primary,
    .btn-group .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .btn-group--center {
        align-items: center;
    }

    .btn-group--center .btn-primary,
    .btn-group--center .btn-secondary {
        width: auto;
    }
}

/* ============================================================
   26. UTILITY CLASSES (Spacing & Layout)
   ============================================================ */
.mt-0 {
    margin-top: 0 !important;
}

.mt-xs {
    margin-top: var(--spacing-xs) !important;
}

.mt-sm {
    margin-top: var(--spacing-sm) !important;
}

.mt-md {
    margin-top: var(--spacing-md) !important;
}

.mt-lg {
    margin-top: var(--spacing-lg) !important;
}

.mt-xl {
    margin-top: var(--spacing-xl) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-xs {
    margin-bottom: var(--spacing-xs) !important;
}

.mb-sm {
    margin-bottom: var(--spacing-sm) !important;
}

.mb-md {
    margin-bottom: var(--spacing-md) !important;
}

.mb-lg {
    margin-bottom: var(--spacing-lg) !important;
}

.mb-xl {
    margin-bottom: var(--spacing-xl) !important;
}

.f-1 {
    flex: 1 !important;
}

.pt-xs {
    padding-top: var(--spacing-xs) !important;
}

.pt-sm {
    padding-top: var(--spacing-sm) !important;
}

.pt-md {
    padding-top: var(--spacing-md) !important;
}

.pt-lg {
    padding-top: var(--spacing-lg) !important;
}

.pt-xl {
    padding-top: var(--spacing-xl) !important;
}

.pb-xs {
    padding-bottom: var(--spacing-xs) !important;
}

.pb-sm {
    padding-bottom: var(--spacing-sm) !important;
}

.pb-md {
    padding-bottom: var(--spacing-md) !important;
}

.pb-lg {
    padding-bottom: var(--spacing-lg) !important;
}

.pb-xl {
    padding-bottom: var(--spacing-xl) !important;
}

.border-top-muted {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.border-bottom-muted {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.flex {
    display: flex !important;
}

.flex-col {
    flex-direction: column !important;
}

.flex-center {
    align-items: center !important;
    justify-content: center !important;
}

.flex-between {
    justify-content: space-between !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.align-start {
    align-items: flex-start !important;
}

.align-center {
    align-items: center !important;
}

.gap-xs {
    gap: var(--spacing-xs) !important;
}

.gap-sm {
    gap: var(--spacing-sm) !important;
}

.gap-md {
    gap: var(--spacing-md) !important;
}

.gap-lg {
    gap: var(--spacing-lg) !important;
}

.w-full {
    width: 100% !important;
}

.max-w-prose {
    max-width: 780px !important;
}

.mx-auto {
    margin-inline: auto !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Responsive Grid Helpers */
.grid {
    display: grid !important;
}

.grid-cols-1 {
    grid-template-columns: 1fr !important;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

@media (max-width: 1024px) {
    .lg-grid-cols-1 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .sm-grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .sm-text-center {
        text-align: center !important;
    }

    .sm-flex-col {
        flex-direction: column !important;
    }
}

.max-w-500 {
    max-width: 500px !important;
}

.rounded-px {
    border-radius: 4px !important;
}

.line-height-1-9 {
    line-height: 1.9 !important;
}

.border-accent {
    border: 1px solid rgba(195, 160, 105, 0.15) !important;
}

.py-xs {
    padding-block: var(--spacing-xs) !important;
}

.py-sm {
    padding-block: var(--spacing-sm) !important;
}

.py-md {
    padding-block: var(--spacing-md) !important;
}

.py-lg {
    padding-block: var(--spacing-lg) !important;
}

.py-xl {
    padding-block: var(--spacing-xl) !important;
}

.fs-xs {
    font-size: 0.75rem !important;
}

.fs-sm {
    font-size: 0.9rem !important;
}

.fs-md {
    font-size: 1rem !important;
}

.fs-lg {
    font-size: 1.15rem !important;
}

.fs-xl {
    font-size: 1.5rem !important;
}

.no-underline {
    text-decoration: none !important;
}

.fs-article-title {
    font-size: clamp(1.5rem, 4vw, 3rem) !important;
}

/* Fix for potential word-break overlaps */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.invert-85 {
    filter: opacity(0.85) !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

/* Ensure images don't stretch or distort */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════
   CAREER TIMELINE
   ═══════════════════════════════════════════════════════ */
.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 4rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(195, 160, 105, 0.4);
}

.timeline-year {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .timeline-container {
        padding-left: 0;
    }
    
    .timeline-container::before {
        left: 50%;
    }
    
    .timeline-item {
        width: 50%;
        padding-bottom: 5rem;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: 3rem;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 3rem;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translate(-50%, -50%);
        top: 1rem;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: 100%;
    }
}

/* ==========================================================================
   21. MODAL OVERLAY (GLOBAL FORMS)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--surface-light);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.is-open .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--on-surface-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}


/* ==========================================================================
   22. PROJECT GALLERY & LIGHTBOX
   ========================================================================== */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: var(--surface-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Trigger logic */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.lightbox.is-active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.is-active img {
    transform: scale(1);
}

/* --- END OF PROPRIETARY DESIGN SYSTEM --- */