/* ==========================================================
   1. THEME VARIABLES (PERMANENT DARK MODE)
   ========================================================== */
:root {
    /* Brand Identity Colors */
    --brand-navy: #022e47;
    --brand-cream: #FAF8F1;
    --brand-orange: #f68f1d;
    --brand-pink: #ea3b60;
    
    /* Permanent Dark Theme Base */
    --bg-body: #000000; 
    --text-main: #e6e6e6;
    --text-muted: rgba(255, 255, 255, 0.6);
    --nav-bg-scrolled: rgba(1, 26, 42, 0.95);
    --nav-mobile-bg: #000000;
    --nav-mobile-shadow: rgba(0, 0, 0, 0.4);
    --footer-bg: var(--brand-navy);
    
    /* Permanent Island/Dock Theme (Light Cream to pop on dark bg) */
    --island-bg: rgba(250, 248, 241, 0.95);
    --island-border: rgba(250, 248, 241, 0.1);
    --island-text: var(--brand-navy);
    --island-text-muted: rgba(2, 46, 71, 0.6);
    --island-btn-hover: rgba(2, 46, 71, 0.06);
    --island-input-bg: rgba(2, 46, 71, 0.05);
    --island-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
    --island-divider: rgba(2, 46, 71, 0.15);
    
    --vf-grad: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
    
    --font-display: 'Bakbak One', cursive;
    --font-body: 'Work Sans', sans-serif;
}

/* ==========================================================
   2. GLOBAL STYLES & TYPOGRAPHY
   ========================================================== */
html, body {
    background-color: #000000 !important;
    color: #e6e6e6 !important;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 400;
}

.text-gradient {
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- AMBIENT BACKGROUND --- */
.ambient-light {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1; pointer-events: none; overflow: hidden;
    background: var(--bg-body);
}

.orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.5;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 { width: 100vw; height: 100vw; background: var(--brand-orange); top: -10%; left: -10%; opacity: 0.15;}
.orb-2 { width: 30vw; height: 30vw; background: var(--brand-pink); bottom: 10%; right: -5%; animation-delay: -5s; opacity: 0.15;}
.orb-3 { width: 60vw; height: 60vw; background: #ff5500; top: 40%; left: 40%; animation-delay: -10s; opacity: 0.1;}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -50px) scale(1.1); }
}

/* BRAND LOGO (Forced Dark Mode) */
.brand-logo { height: clamp(50px, 6vw, 70px); width: auto; object-fit: contain; }
.logo-light { display: none !important; }
.logo-dark { display: block !important; }


/* ==========================================================
   3. HERO SECTION & EDITORIAL TOPICS
   ========================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: clamp(100px, 15vw, 160px); 
    padding-bottom: clamp(40px, 8vw, 80px);
    z-index: 1; 
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    letter-spacing: -0.04em; 
    margin-bottom: 1.2rem;
    line-height: 0.9 !important;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 500px; 
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.topics-box {
    max-width: 520px;
    width: 100%;
    background: rgba(2, 46, 71, 0.4); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 16px;
    padding: clamp(20px, 4vw, 24px) clamp(20px, 5vw, 28px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topics-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.topics-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.editorial-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0; 
}

.editorial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px; 
    justify-content: center;
}

@media (min-width: 992px) {
    .editorial-list { justify-content: flex-start; }
}

.editorial-link {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    display: inline-flex;
    align-items: flex-start;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.editorial-link .num {
    font-size: 0.65rem;
    color: var(--brand-orange);
    font-weight: 700;
    margin-right: 6px;
    margin-top: 3px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.editorial-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--vf-grad);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.editorial-link:hover { color: var(--brand-orange); }
.editorial-link:hover .num { opacity: 1; }
.editorial-link:hover::after { width: 100%; }


/* ==========================================================
   4. DOCK NAVIGATION COMPONENT (Responsive & Animated)
   ========================================================== */

/* Maps to your .category-dock HTML */
.category-dock {
    display: inline-flex;
    width: auto; 
    align-items: center;
    background: var(--island-bg);
    border: 1px solid var(--island-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6px clamp(6px, 1.5vw, 12px); 
    border-radius: 100px;
    box-shadow: var(--island-shadow);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 100%;
    gap: clamp(0.5rem, 2vw, 5rem);
}

.dock-buttons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Maps to your .dock-btn HTML */
.dock-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--island-text-muted);
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.6rem clamp(0.8rem, 2vw, 1.1rem);
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    flex-shrink: 0; /* Critical: prevents buttons from squishing when scrolling */
}

.dock-btn:hover {
    color: var(--island-text);
    background: var(--island-btn-hover);
}

.dock-btn.active {
    background: var(--vf-grad);
    color: #FFFFFF !important; 
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(246, 143, 29, 0.25);
}

.dock-btn:active { transform: scale(0.96); }

/* Maps to your .search-box-modern HTML */
.search-box-modern {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--island-input-bg);
    border-radius: 100px;
    padding: 0 1rem;
    height: 38px;
    min-width: clamp(260px, 20vw, 500px);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-box-modern:focus-within {
    min-width: clamp(200px, 25vw, 240px);
    background: transparent;
    border-color: var(--brand-orange);
}

.search-icon-modern {
    color: var(--island-text-muted);
    font-size: 0.85rem;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.search-box-modern:focus-within .search-icon-modern { 
    color: var(--brand-orange); 
}

.search-input-modern {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--island-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.search-input-modern::placeholder { 
    color: var(--island-text-muted); 
    opacity: 0.8; 
}

/* ==========================================================
   MOBILE ADJUSTMENTS & UX
   ========================================================== */
@media (max-width: 992px) {
    .category-dock {
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        width: 100%;
        gap: 0.75rem;
    }
    
    .dock-buttons {
        overflow-x: auto;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        
        /* UX Addition: Visual Scroll Indicator (Fade out right edge) */
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .dock-buttons::-webkit-scrollbar { 
        display: none; 
    }
    
    .search-box-modern, 
    .search-box-modern:focus-within { 
        width: 100%; 
    }
}

/* ==========================================================
   MOBILE UX: SCROLL INDICATOR
   ========================================================== */
@media (max-width: 992px) {
    /* 1. Ensure the parent is positioned relatively to hold the indicator */
    .category-dock {
        position: relative;
    }

    /* 2. Create the visual indicator */
    .category-dock::after {
        content: '\f061'; /* FontAwesome right arrow unicode */
        font-family: 'Font Awesome 6 Free'; /* Ensure this matches your FA version */
        font-weight: 900;
        position: absolute;
        right: 12px; /* Matches your dock padding */
        top: 12px; /* Aligns with the buttons row */
        height: 42px; /* Approximate height of your buttons */
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 10px;
        color: var(--brand-orange, #ea3b60);
        font-size: 1rem;
        
        /* Creates a solid-to-transparent fade so the buttons blur out behind the arrow */
        background: linear-gradient(to right, transparent 0%, rgba(20, 20, 20, 0.9) 70%, rgba(20, 20, 20, 1) 100%);
        border-radius: 0 100px 100px 0;
        
        /* Critical: Prevents the indicator from blocking user taps/swipes */
        pointer-events: none; 
        
        /* 3. Animate it to catch the user's eye */
        animation: swipe-bounce 2s infinite;
        z-index: 10;
    }

    /* 4. The Bounce Animation */
    @keyframes swipe-bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
        40% { transform: translateX(-5px); }
        60% { transform: translateX(-3px); }
    }
    
    /* (Optional) Keep your existing mask-image on .dock-buttons if you want an extra smooth fade */
    .dock-buttons {
        -webkit-mask-image: linear-gradient(to right, rgb(255, 174, 0) 85%, transparent 100%);
        mask-image: linear-gradient(to right, rgb(255, 187, 0) 85%, transparent 100%);
    }
}


/* ==========================================================
   5. PHOTO DUMP ASYMMETRIC GRID & ARCHIVE HEADER
   ========================================================== */
.archive-header-row {
    padding-top: clamp(100px, 12vw, 140px); 
    margin-bottom: clamp(2rem, 5vw, 3.5rem) !important;
}

.archive-title, h1.display-4, .dump-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.04em; 
}

.archive-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 0;
    color: var(--text-main);
}

.archive-text-edge {
    border-left: 3px solid var(--brand-pink);
    padding-left: 20px;
}

.archive-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.3;
    margin-bottom: 0;
}

@media (min-width: 992px) { .archive-subtitle { max-width: 400px; } }

.low-profile-text {
    font-family: var(--font-body);
    font-weight: 300;
    max-width: 480px;
}

.aesthetic-photo-grid {
    column-count: 4;
    column-gap: 24px;
    column-fill: balance; 
    width: 100%;
    margin: 0 auto;
}

.grid-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid; 
    page-break-inside: avoid; 
    margin-bottom: 24px;
    display: block; 
    width: 100%;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: masonryFadeIn 0.5s ease-in-out;
}

.grid-item.is-hidden { display: none !important; }

.photo-wrapper {
    position: relative;
    width: 100%;
    height: auto; 
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--brand-navy);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
}

.dump-img {
    width: 100%;
    height: auto; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Grid Responsive Scaling */
@media (max-width: 1200px) { .aesthetic-photo-grid { column-count: 3; } }
@media (max-width: 992px) { 
    .aesthetic-photo-grid { column-count: 2; column-gap: 16px; }
    .grid-item { margin-bottom: 16px; }
}
@media (max-width: 576px) { .aesthetic-photo-grid { column-count: 1; } }

@keyframes masonryFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Photo Dump Hover Overlays */
.photo-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 60px 24px 24px; 
    background: linear-gradient(to top, rgba(2, 46, 71, 0.95) 0%, rgba(2, 46, 71, 0) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; 
}

.dump-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-orange); 
    margin-bottom: 8px;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.dump-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #ffffff; 
    margin: 0;
    line-height: 1.1;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

/* Mouse Hover Interactions */
@media (hover: hover) and (pointer: fine) {
    .photo-wrapper:hover .photo-overlay { opacity: 1; transform: translateY(0); }
    .photo-wrapper:hover .dump-img { transform: scale(1.05); }
    .photo-wrapper:hover .dump-tag { transform: translateY(0); opacity: 1; }
    .photo-wrapper:hover .dump-title { transform: translateY(0); opacity: 1; }
}

/* Mobile & Touch Device Fallback */
@media (hover: none) {
    .photo-overlay {
        opacity: 1; transform: translateY(0);
        background: linear-gradient(to top, rgba(2, 46, 71, 0.85) 0%, rgba(2, 46, 71, 0) 100%);
    }
    .dump-tag, .dump-title { opacity: 1; transform: translateY(0); }
}


/* ==========================================================
   6. INTERACTIVE ARTICLE FRAME
   ========================================================== */
.mac-window-header {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.interactive-article-wrapper {
    position: relative;
    max-width: 650px; 
    width: 100%;
    margin: 0 auto;
    perspective: 1000px; 
}

.frame-glow {
    position: absolute;
    top: 10%; left: 10%; width: 80%; height: 80%;
    background: var(--vf-grad);
    filter: blur(45px);
    opacity: 0.4;
    z-index: 0;
    transition: opacity 0.5s;
    animation: pulse-glow 4s infinite alternate;
}

.article-frame {
    position: relative;
    z-index: 1;
    background: rgba(2, 46, 71, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease; 
    display: flex;
    flex-direction: column;
    height: auto; 
}

.interactive-article-wrapper:hover .article-frame { box-shadow: 0 30px 50px rgba(0,0,0,0.3); }
.interactive-article-wrapper:hover .frame-glow { opacity: 0.7; }

.frame-img-wrapper { 
    position: relative; 
    width: 100%;   
    height: clamp(200px, 35vh, 200px);  
    overflow: hidden; 
    border-radius: 8px; 
}

.frame-img-wrapper img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    object-fit: cover; 
    object-position: center; 
}
.interactive-article-wrapper:hover .frame-img { transform: scale(1.08); }

.frame-tag {
    position: absolute; top: 15px; left: 15px;
    background: rgba(0,0,0,0.6); color: white;
    backdrop-filter: blur(5px); font-size: 0.75rem;
    padding: 5px 12px; border-radius: 50px; text-transform: uppercase;
    font-weight: 600; letter-spacing: 1px;
}

.frame-content { 
    padding: clamp(20px, 4vw, 30px); 
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    height: auto;
}

.frame-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem); 
    line-height: 1.2;
    min-height: 3.6rem !important; 
    max-height: 3.6rem !important; 
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    line-clamp: 2 !important; 
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    letter-spacing: -0.04em;
}

.frame-desc {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem); 
    color: var(--text-muted);
    line-height: 1.5; 
    min-height: 4.275rem !important; 
    max-height: 4.275rem !important; 
    margin-bottom: 20px !important;
    display: -webkit-box !important;
    line-clamp: 3 !important; 
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.frame-btn {
    margin-top: 24px !important; 
    text-decoration: none; 
    color: var(--brand-orange);
    font-weight: 600; 
    font-size: 0.95rem; 
    display: inline-flex !important;
    align-items: center; 
    gap: 8px; 
    transition: gap 0.3s;
}
.frame-btn:hover { gap: 12px; color: var(--brand-pink); }

@keyframes pulse-glow { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }


/* ==========================================================
   7. BLOG / POSTS GRID
   ========================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 3vw, 30px); 
    width: 100%;
    margin-top: clamp(20px, 4vw, 40px);
    align-items: stretch; 
}

@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(3, 1fr); }
    .post-card.big { grid-column: span 2; grid-row: span 2; }
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(280px, 40vh, 300px);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
    transform-style: preserve-3d;
}

.post-card.big { min-height: clamp(400px, 60vh, 500px); }

.post-card::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--img); background-size: cover; background-position: center;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 0;
}

.post-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1; transition: background 0.4s ease;
}

.post-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.post-card:hover::before { transform: scale(1.08); }
.post-card:hover::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%); }

.post-content {
    position: relative; z-index: 2;
    padding: clamp(20px, 3vw, 24px);
    color: #ffffff; width: 100%;
}
.post-card.big .post-content { padding: clamp(24px, 4vw, 36px); }

.post-topline {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}

.post-chip {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px;
    padding: 6px 14px; font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600; display: flex; align-items: center; gap: 6px;
}

.arrow-badge {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; font-size: 0.9rem;
}
.post-card:hover .arrow-badge {
    background: var(--brand-orange); color: white; transform: rotate(45deg); 
}

.post-title {
    font-size: clamp(1.2rem, 3vw, 1.4rem); margin-bottom: 12px;
    line-height: 1.25; letter-spacing: -0.02em;
}
.post-card.big .post-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }

.post-desc {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem); color: rgba(255, 255, 255, 0.8);
    line-height: 1.5; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card.big .post-desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem); max-width: 80%;
    -webkit-line-clamp: 3; line-clamp: 3; 
}

.post-meta {
    display: flex; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px; flex-wrap: wrap;
}
.meta-pill {
    font-size: 0.8rem; color: rgba(255, 255, 255, 0.9);
    display: flex; align-items: center; gap: 6px; font-weight: 500;
}


/* ==========================================================
   8. PROJECT COUNTER STATS
   ========================================================== */
.project-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2vw, 15px);
    max-width: 600px;
    width: 100%;
}

@media (min-width: 768px) { .project-stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat-box {
    background: rgba(2, 46, 71, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: clamp(15px, 3vw, 20px) 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.5vw, 0.75rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================
   9. CASE STUDY BUTTON & UTILITIES
   ========================================================== */
.btn-case-study, .frame-btn { /* Unified button classes for case studies */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 2vw, 14px) clamp(20px, 4vw, 26px);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff !important;
    background: var(--vf-grad); 
    box-shadow: 0 6px 16px rgba(246, 143, 29, 0.25);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn-case-study:hover, .frame-btn:hover {
    box-shadow: 0 10px 24px rgba(234, 59, 96, 0.35);
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-case-study i, .frame-btn i { transition: transform 0.35s ease; }
.btn-case-study:hover i, .frame-btn:hover i { transform: translateX(6px); }

.btn-case-study::after, .frame-btn::after {
    content: ''; position: absolute; top: 0; left: -50%;
    width: 50%; height: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-case-study:hover::after, .frame-btn:hover::after { left: 120%; }

.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

html {
  scroll-behavior: smooth;
}