:root {
    /* Colors - Light Mode (Default) */
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-secondary: #4b4b4b;
    /* Improved contrast: 7.1:1 ratio */
    --accent-color: #000000;
    --accent-orange: #ff6b35;
    --border-color: rgba(0, 0, 0, 0.1);
    --surface-color: #fcfcfc;

    /* Neutrals Scale (7-step gray scale for consistent UI) */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Semantic Colors (for status indicators, alerts, etc.) */
    --color-success: #10b981;
    /* Green - WCAG AA compliant */
    --color-error: #ef4444;
    /* Red - WCAG AA compliant */
    --color-warning: #f59e0b;
    /* Amber - WCAG AA compliant */
    --color-info: #3b82f6;
    /* Blue - WCAG AA compliant */

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Typography Scale (Modular scale for consistent text sizing) */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing System (Base unit: 8px) */
    --spacing-unit: 8px;
    --space-xs: calc(var(--spacing-unit) * 0.5);
    /* 4px */
    --space-sm: var(--spacing-unit);
    /* 8px */
    --space-md: calc(var(--spacing-unit) * 2);
    /* 16px */
    --space-lg: calc(var(--spacing-unit) * 3);
    /* 24px */
    --space-xl: calc(var(--spacing-unit) * 4);
    /* 32px */
    --space-2xl: calc(var(--spacing-unit) * 6);
    /* 48px */
    --space-3xl: calc(var(--spacing-unit) * 8);
    /* 64px */
    --space-4xl: calc(var(--spacing-unit) * 12);
    /* 96px */
    --space-5xl: calc(var(--spacing-unit) * 16);
    /* 128px */

    /* Border Radii (Consistent rounded corners) */
    --radius-sm: 4px;
    /* Small inputs, badges */
    --radius-md: 8px;
    /* Buttons, cards */
    --radius-lg: 12px;
    /* Modals, large cards */
    --radius-xl: 16px;
    /* Extra large containers */
    --radius-full: 9999px;
    /* Pills, avatars, circular elements */

    /* Layout */
    --container-width: 1000px;

    /* Animation */
    --transition-speed: 0.6s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-smooth: cubic-bezier(0.25, 1, 0.5, 1);

    /* Focus */
    --focus-outline-color: #000000;
    --focus-outline-width: 2px;
    --focus-outline-offset: 4px;
}

/* Dark Mode Preferences & Manual Toggle */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg-color: #0a0a0a;
        --text-color: #f0f0f0;
        --text-secondary: #a0a0a0;
        --accent-color: #ffffff;
        --accent-orange: #ff8b5c;
        --border-color: rgba(255, 255, 255, 0.1);
        --surface-color: #111111;
        --focus-outline-color: #ffffff;

        /* Dark Mode Neutrals (inverted scale) */
        --gray-50: #171717;
        --gray-100: #262626;
        --gray-200: #404040;
        --gray-300: #525252;
        --gray-400: #737373;
        --gray-500: #a3a3a3;
        --gray-600: #d4d4d4;
        --gray-700: #e5e5e5;
        --gray-800: #f5f5f5;
        --gray-900: #fafafa;

        /* Dark Mode Semantic Colors (adjusted for dark backgrounds) */
        --color-success: #34d399;
        /* Lighter green for dark mode */
        --color-error: #f87171;
        /* Lighter red for dark mode */
        --color-warning: #fbbf24;
        /* Lighter amber for dark mode */
        --color-info: #60a5fa;
        /* Lighter blue for dark mode */
    }
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --accent-orange: #ff8b5c;
    --border-color: rgba(255, 255, 255, 0.1);
    --surface-color: #111111;
    --focus-outline-color: #ffffff;

    /* Dark Mode Neutrals (inverted scale) */
    --gray-50: #171717;
    --gray-100: #262626;
    --gray-200: #404040;
    --gray-300: #525252;
    --gray-400: #737373;
    --gray-500: #a3a3a3;
    --gray-600: #d4d4d4;
    --gray-700: #e5e5e5;
    --gray-800: #f5f5f5;
    --gray-900: #fafafa;

    /* Dark Mode Semantic Colors (adjusted for dark backgrounds) */
    --color-success: #34d399;
    /* Lighter green for dark mode */
    --color-error: #f87171;
    /* Lighter red for dark mode */
    --color-warning: #fbbf24;
    /* Lighter amber for dark mode */
    --color-info: #60a5fa;
    /* Lighter blue for dark mode */
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    opacity: 0.5;
    transition: transform 0.3s var(--ease-out-expo), color 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background-color: rgba(128, 128, 128, 0.1);
    color: var(--text-color);
    opacity: 1;
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

/* Show sun icon in dark mode */
[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

/* Handle system preference for icons when no manual override */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .sun-icon {
        display: block;
    }

    :root:not([data-theme="light"]) .moon-icon {
        display: none;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    /* Removed mix-blend-mode for better visibility */
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-color);
    font-variant-numeric: tabular-nums;
    /* Prevents jitter as numbers change */
    line-height: 1;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background-color: var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--accent-orange);
}

.loader-brand {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    /* Improved contrast: opacity 0.7 -> 0.85 for better readability */
    opacity: 0.85;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.5rem, 9vw, 7rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-speed) var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}

/* Orange accent for typography */
.accent-orange {
    color: var(--accent-orange);
    transition: color 0.3s var(--ease-out-expo);
}

/* Accessibility: Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: var(--radius-sm);
}

/* Remove default focus outline for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Layout Utilities */
.content-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--space-5xl) var(--space-lg);
    /* 128px 24px */
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Navigation */
/* Navigation Removed */

/* Logo Styles (Reusable) */
.logo-img {
    width: 100%;
    display: block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 2rem;
    min-height: 400px;
    /* Reserve space to prevent CLS */
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    overflow: hidden;
    min-height: 100px;
    /* Reserve space to prevent CLS */
}

/* Values Section */
.values-section {
    background-color: var(--surface-color);
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-desc {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    opacity: 0.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-3xl);
    /* 64px */
    max-width: var(--container-width);
    margin: 0 auto;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.6s var(--ease-out-expo);
    /* Initial state for GSAP animation */
    opacity: 0;
    transform: translateY(100px);
}

.value-item:hover {
    transform: translateY(-15px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.custom-icon {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
    color: var(--text-color);
}

/* Operating Rhythm Section (Circular) */
.rhythm-section {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-align: center;
    overflow: hidden;
    padding: var(--space-5xl) var(--space-lg);
}

.rhythm-container-circular {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-track {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    /* Use variable */
    border-radius: 50%;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.orbit-dot {
    width: 12px;
    height: 12px;
    background-color: var(--bg-color);
    /* Use variable */
    border-radius: 50%;
    position: absolute;
}

.orbit-label {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-color);
    /* Use variable */
    white-space: nowrap;
    transform: translate(calc(0.6em + 8px), -50%);
    /* Responsive offset based on font size */
}

/* Specific positioning will be handled by JS or CSS transforms */

.center-text {
    position: absolute;
    font-size: 1rem;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

/* What We Do Section */
.what-we-do-section {
    text-align: center;
}

.what-we-do-section .content-wrapper {
    padding: 0 1rem;
    max-width: 900px;
    /* Increased max-width to force text into three lines */
    margin: 0 auto;
}

.large-text {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.3;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Portfolio Section */
.portfolio-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.portfolio-section .section-header {
    margin-bottom: var(--space-2xl);
    /* Reduced from 6rem to 48px for tighter spacing */
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    /* Removed margin-top since section-header already provides spacing */
}

.portfolio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    color: inherit;
}

a.portfolio-item {
    cursor: pointer;
}

div.portfolio-item {
    cursor: default;
}

.portfolio-list:hover .portfolio-item {
    opacity: 0.5;
    /* Improved contrast: increased from 0.4 to 0.5 for better accessibility */
}

.portfolio-list .portfolio-item:hover {
    opacity: 1;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.portfolio-list .portfolio-item:hover .portfolio-name {
    color: var(--accent-orange);
    transition: color 0.4s var(--ease-out-expo);
}



/* Portfolio item text styles */
.portfolio-name {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.portfolio-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.portfolio-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-arrow {
    transform: rotate(45deg);
}

/* Focus state for portfolio items */
a.portfolio-item:focus-visible {
    background-color: rgba(0, 0, 0, 0.02);
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
}

/* Founder & Contact */
.founder-section,
.contact-section {
    text-align: center;
}

.founder-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    /* Increased from 0.5rem for better spacing */
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.founder-link:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.linkedin-icon {
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.founder-link:hover .linkedin-icon {
    opacity: 1;
    color: var(--accent-orange);
}

.founder-link:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: var(--radius-sm);
}

.email-link {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    margin-top: 1rem;
}

.email-link:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.email-link:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: var(--radius-sm);
}

/* Footer */
.footer {
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s var(--ease-out-expo);
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-link:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: var(--radius-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-logo img,
.footer-logo .logo-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

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

.footer-brand-name {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    font-family: var(--font-family);
}

/* Responsive */
@media (max-width: 768px) {

    /* Global Section Padding Adjustment */
    section {
        padding: 4rem 1.5rem;
        min-height: auto;
        /* Allow content to dictate height on mobile */
    }

    /* Values Section Optimization */
    .values-grid {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 2rem;
        /* Reduce gap from 64px */
        padding: 0;
    }

    .value-item {
        align-items: center;
        /* Center align for mobile */
        text-align: center;
    }

    .value-icon {
        margin-bottom: 1rem;
    }

    .rhythm-container-circular {
        width: 280px;
        height: 280px;
    }

    .orbit-label {
        font-size: 1.5rem;
    }

    .portfolio-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .portfolio-item {
        /* Keep row layout but allow wrapping if needed, or just tighter row */
        flex-direction: row;
        align-items: center;
        padding: 1.25rem 0;
        gap: 1rem;
    }

    .portfolio-name {
        font-size: 1.25rem;
        /* Smaller than desktop 2rem */
    }

    .portfolio-desc {
        font-size: 0.875rem;
        display: block;
        /* Ensure it breaks to new line if needed */
    }

    /* Stack name and desc vertically, keep arrow to the right */
    .portfolio-item {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "name arrow"
            "desc arrow";
        gap: 0.25rem 1rem;
    }

    .portfolio-name {
        grid-area: name;
    }

    .portfolio-desc {
        grid-area: desc;
    }

    .portfolio-arrow {
        grid-area: arrow;
        position: static;
        /* Reset absolute positioning */
        transform: none;
        display: flex;
        opacity: 0.7;
    }

    .portfolio-item .portfolio-arrow {
        display: flex;
        /* Ensure visibility */
    }

    .logo {
        width: 140px;
    }

    section {
        padding: 6rem 1rem;
    }
}

/* Projects Subtitle */
.projects-subtitle {
    margin-top: var(--space-5xl);
    /* Increased from 6rem to 128px for more spacing above */
    margin-bottom: 1rem;
    text-align: center;
}

.projects-subtitle h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Major Projects Logos - Floating Animation */
.major-projects-logos {
    width: 100%;
    margin-top: 2rem;
    padding: 2rem 0;
    opacity: 0.8;
    overflow: hidden;
    /* Fade edges for marquee effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
    animation: marquee 40s linear infinite;
    align-items: center;
}

.logo-group {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
    align-items: center;
}

.marquee-clone {
    display: flex;
}

.floating-logo {
    width: 84px;
    /* Reduced to 70% of original 120px */
    height: auto;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.3s var(--ease-out-expo);
    animation: float 4s ease-in-out infinite;
}

.floating-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Floating Animation Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Staggered Animation Delays for "Wave" effect */
.floating-logo:nth-child(1) {
    animation-delay: 0s;
}

.floating-logo:nth-child(2) {
    animation-delay: 0.4s;
}

.floating-logo:nth-child(3) {
    animation-delay: 0.8s;
}

.floating-logo:nth-child(4) {
    animation-delay: 1.2s;
}

.floating-logo:nth-child(5) {
    animation-delay: 1.6s;
}

.floating-logo:nth-child(6) {
    animation-delay: 2.0s;
}

.floating-logo:nth-child(7) {
    animation-delay: 2.4s;
}

.floating-logo:nth-child(8) {
    animation-delay: 2.8s;
}

.floating-logo:nth-child(9) {
    animation-delay: 3.2s;
}

.floating-logo:nth-child(10) {
    animation-delay: 3.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-subtitle {
        margin-top: var(--space-4xl);
        /* Increased from 4rem to 96px for more spacing above on mobile */
        margin-bottom: 0.75rem;
        /* Keep center alignment on mobile */
    }

    .projects-subtitle h3 {
        font-size: 0.875rem;
    }

    .major-projects-logos {
        margin-top: 1.5rem;
    }

    .logo-group {
        gap: 2rem;
        padding-right: 2rem;
    }

    .floating-logo {
        width: 56px;
        /* Reduced to 70% of original 80px */
    }

    /* Founder Section Optimization */
    .founder-info h3 {
        font-size: 1.75rem;
        /* Reduce from 2.5rem */
    }

    .founder-link {
        flex-direction: column;
        /* Stack name and icon if needed */
        gap: 0.5rem;
    }
}