/* ==========================================================================
   gino.mov - Design System (Dark Theme)
   ========================================================================== */

/* Lenis Smooth Scroll Base */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Dark Theme Colors */
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-text-subtle: #555555;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.15);

    /* Accent Colors */
    --color-accent: #ff3d00;
    --color-accent-alt: #00ff88;
    --color-accent-secondary: #4169FF;
    --color-primary: #6366f1;
    --color-primary-light: #8b5cf6;

    /* Glow Effects */
    --glow-accent: 0 0 20px rgba(255, 61, 0, 0.3), 0 0 40px rgba(255, 61, 0, 0.15);
    --glow-accent-strong: 0 0 10px rgba(255, 61, 0, 0.5), 0 0 30px rgba(255, 61, 0, 0.3), 0 0 60px rgba(255, 61, 0, 0.15);
    --glow-cyan: 0 0 20px rgba(0, 255, 200, 0.2), 0 0 40px rgba(0, 255, 200, 0.1);
    --glow-white: 0 0 15px rgba(255, 255, 255, 0.15), 0 0 30px rgba(255, 255, 255, 0.08);
    --text-glow-accent: 0 0 10px rgba(255, 61, 0, 0.5), 0 0 20px rgba(255, 61, 0, 0.3);
    --text-glow-white: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.15);

    /* Display Typography Scale (clamp) */
    --text-display-1: clamp(48px, 12vw, 280px);
    --text-display-2: clamp(40px, 8vw, 120px);
    --text-heading: clamp(24px, 3vw, 48px);
    --text-body-lg: clamp(16px, 1.2vw, 18px);
    --text-small: clamp(11px, 1vw, 14px);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #ff3d00 0%, #ff6f00 100%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00b4d8 100%);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;
    --text-6xl: 4.5rem;
    --text-7xl: 6rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Letter Spacing */
    --tracking-tight: -0.03em;
    --tracking-normal: -0.01em;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;
    --tracking-widest: 0.15em;

    /* Line Heights */
    --leading-none: 0.9;
    --leading-tight: 1.1;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 61, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 1500;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   Film Grain Overlay (Canvas-based, HiDPI-aware)
   -------------------------------------------------------------------------- */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Typography Classes
   -------------------------------------------------------------------------- */
.display {
    font-family: var(--font-display);
    font-size: clamp(var(--text-5xl), 12vw, 8rem);
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
}

.headline {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-normal);
    line-height: var(--leading-tight);
}

.body-large {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.body {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.caption {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: 1600px;
}

.container-narrow {
    max-width: 900px;
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-lg {
    padding: var(--space-32) 0;
}

.bg-secondary {
    background: var(--color-bg-secondary);
}

.bg-tertiary {
    background: var(--color-bg-tertiary);
}

/* --------------------------------------------------------------------------
   Navigation (Dark Theme)
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-6) 0;
    transition: var(--transition-smooth);
    mix-blend-mode: difference;
}

.nav.scrolled {
    mix-blend-mode: normal;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: var(--transition-base);
}

.nav-logo:hover {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    list-style: none;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-bg);
    background: var(--color-text);
    padding: var(--space-3) var(--space-6);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-text);
}

.nav-lang {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-base);
}

.nav-lang:hover {
    color: var(--color-accent);
}

/* Mobile Menu Toggle & Overlay moved to mobile-nav.css */

/* --------------------------------------------------------------------------
   Buttons (Dark Theme)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-5) var(--space-8);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn-primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: var(--space-16);
}

.section-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
}

/* --------------------------------------------------------------------------
   Cards (Dark Theme)
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.card-content {
    padding: var(--space-8);
}

.card-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
}

.card-description {
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Stats Section (Dark Theme)
   -------------------------------------------------------------------------- */
.stats-section {
    padding: var(--space-24) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: var(--space-3);
}

/* --------------------------------------------------------------------------
   Footer (Dark Theme)
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--space-16) 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-8);
    max-width: 1600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: var(--space-10);
    list-style: none;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Form Elements (Dark Theme)
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.15), 0 0 20px rgba(255, 61, 0, 0.08);
    background: rgba(255, 61, 0, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-subtle);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mt-6 {
    margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   Personal Grid Section
   -------------------------------------------------------------------------- */
.personal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 900px;
    margin: var(--space-12) auto 0;
}

.personal-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-6);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
}

.personal-card:hover {
    border-color: var(--color-border-light);
}

.personal-card-image {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.1) 0%, rgba(255, 61, 0, 0.02) 100%);
    border: 1px solid rgba(255, 61, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.personal-card-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.personal-card-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text);
    line-height: 1.2;
}

.personal-card-desc {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Tools List & Categories
   -------------------------------------------------------------------------- */
.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.tool-category-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-width: 280px;
    flex: 1;
}

.tool-category-title {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.tool-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.tool-tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--color-text-subtle);
    transition: all 0.3s ease;
}

.tool-tag:hover {
    background: rgba(255, 61, 0, 0.1);
    border-color: var(--color-accent);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Responsive — 1440px (Large Desktop)
   -------------------------------------------------------------------------- */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 1024px (Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav {
        padding: var(--space-4) 0;
    }

    .container {
        padding: 0 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .horizontal-header,
    .projects-track {
        padding: 0 30px;
    }

    .about-section,
    .cta-section-index {
        padding-left: 30px;
        padding-right: 30px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .project-card {
        width: 80vw;
    }

    .grid-bg {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }

    .mask-wrapper {
        padding: 30px;
    }

    .cta-section-index {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 768px (Mobile Landscape / Small Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    /* nav-toggle display handled in mobile-nav.css */

    .container {
        padding: 0 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hide custom cursor on touch devices */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    a,
    button {
        cursor: auto;
    }

    /* Hero Section */
    .text-mask-base,
    .text-outline {
        font-size: clamp(48px, 15vw, 120px) !important;
    }

    .mask-wrapper {
        padding: 20px;
        box-shadow: 0 0 0 5px #000;
    }

    .hero-subtitle {
        white-space: normal;
        max-width: 90vw;
        font-size: 14px;
    }

    .grid-bg {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    /* Horizontal Scroll Section */
    .horizontal-header {
        padding: 0 20px;
    }

    .projects-track {
        padding: 0 20px;
        gap: 15px;
    }

    .project-card {
        width: 85vw;
        min-height: 380px;
    }

    .project-media {
        height: 200px;
    }

    .project-info {
        padding: 20px;
    }

    /* Marquee */
    .marquee-text {
        font-size: 28px;
    }

    /* About Section */
    .about-section {
        padding: 80px 20px;
    }

    .about-content h2 {
        font-size: clamp(28px, 6vw, 48px);
    }

    .about-content p {
        font-size: 16px;
    }

    /* CTA Section */
    .cta-section-index {
        padding: 80px 20px;
    }

    .cta-bg-text {
        font-size: clamp(40px, 12vw, 80px);
    }

    .cta-heading {
        font-size: clamp(32px, 8vw, 64px);
    }

    /* Skills & Tools */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .tools-list {
        grid-template-columns: 1fr;
        /* Stack categories in mobile */
        gap: var(--space-8);
        justify-content: flex-start;
    }

    .tool-tags-wrapper {
        justify-content: flex-start;
    }

    .personal-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 480px (Mobile Portrait)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .nav-inner {
        padding: 0 16px;
    }

    /* Hero: significantly smaller */
    .text-mask-base,
    .text-outline {
        font-size: clamp(36px, 14vw, 80px) !important;
    }

    .mask-wrapper {
        padding: 12px;
    }

    .hero-subtitle {
        font-size: 12px;
        padding: 8px 12px;
    }

    .grid-bg {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    /* Horizontal Scroll */
    .project-card {
        width: 90vw;
        min-height: 340px;
    }

    .horizontal-header h2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    /* Stats */
    .stat-number {
        font-size: clamp(36px, 10vw, 48px);
    }

    /* Footer */
    .footer {
        padding: var(--space-8) 0;
    }

    .footer-inner {
        padding: 0 16px;
        gap: var(--space-4);
    }

    /* CTA */
    .cta-section-index {
        padding: 60px 16px;
    }

    .cta-bg-text {
        font-size: clamp(32px, 10vw, 60px);
    }

    /* About */
    .about-section {
        padding: 60px 16px;
    }

    .personal-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   SIMPLE FADE PAGE TRANSITION
   ========================================== */
body {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

body.fade-out {
    opacity: 0;
}

/* Page entrance animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* --------------------------------------------------------------------------
   Letter Stagger Animation
   -------------------------------------------------------------------------- */
.stagger-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-active .stagger-char {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* --------------------------------------------------------------------------
   Magnetic Button Base
   -------------------------------------------------------------------------- */
.magnetic {
    transition: transform 0.15s ease-out;
}

/* --------------------------------------------------------------------------
   Edge Glow Cards
   -------------------------------------------------------------------------- */
.edge-glow {
    position: relative;
}

.edge-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(255, 61, 0, 0.25),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.edge-glow:hover::before {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Page Wipe Transition (Curtain)
   The overlay starts COVERING the screen (scaleY(1)) so there is never
   a flash of unstyled content between pages.
   -------------------------------------------------------------------------- */
.page-wipe {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    pointer-events: none;
}

/* Default state: covering the screen (no transition so it paints instantly) */
.page-wipe-slice {
    flex: 1;
    background: var(--color-accent);
    transform: scaleY(1);
    transform-origin: top;
}

/* Wipe OUT — covers the screen from bottom to top before navigating */
.page-wipe-cover .page-wipe-slice {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.page-wipe-cover .page-wipe-slice:nth-child(1) {
    transition-delay: 0s;
}

.page-wipe-cover .page-wipe-slice:nth-child(2) {
    transition-delay: 0.05s;
}

.page-wipe-cover .page-wipe-slice:nth-child(3) {
    transition-delay: 0.1s;
}

.page-wipe-cover .page-wipe-slice:nth-child(4) {
    transition-delay: 0.15s;
}

.page-wipe-cover .page-wipe-slice:nth-child(5) {
    transition-delay: 0.2s;
}

/* Wipe REVEAL — uncovers the screen (slide up to hide) */
.page-wipe-reveal .page-wipe-slice {
    transform: scaleY(1);
    transform-origin: top;
    animation: wipeReveal 0.6s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.page-wipe-reveal .page-wipe-slice:nth-child(1) {
    animation-delay: 0s;
}

.page-wipe-reveal .page-wipe-slice:nth-child(2) {
    animation-delay: 0.05s;
}

.page-wipe-reveal .page-wipe-slice:nth-child(3) {
    animation-delay: 0.1s;
}

.page-wipe-reveal .page-wipe-slice:nth-child(4) {
    animation-delay: 0.15s;
}

.page-wipe-reveal .page-wipe-slice:nth-child(5) {
    animation-delay: 0.2s;
}

/* Hidden state — completely out of view */
.page-wipe-hidden .page-wipe-slice {
    transform: scaleY(0);
    transform-origin: top;
}

@keyframes wipeReveal {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

/* --------------------------------------------------------------------------
   Count Up Number Style
   -------------------------------------------------------------------------- */
.count-up {
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   gino.mov - Index Page Styles (extracted from inline)
   ========================================================================== */

/* ==========================================
   FILM GRAIN OVERLAY (index-specific, canvas-driven)
   ========================================== */
.grain {
    opacity: 0.08;
}

/* ==========================================
   PRELOADER / LOADING SCREEN
   ========================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(10, 1fr);
}

.preloader-cell {
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.preloader-cell.active {
    background: rgba(255, 61, 0, 0.15);
    border-color: rgba(255, 61, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 61, 0, 0.3);
}

.preloader-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 30px;
    text-shadow: var(--text-glow-accent);
}

.preloader-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Preloader Counter */
.preloader-counter {
    position: absolute;
    bottom: var(--space-10);
    right: var(--space-10);
    font-family: var(--font-mono);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.6;
    z-index: 2;
    letter-spacing: -0.04em;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), #ff6b3d);
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 61, 0, 0.4);
}

@keyframes grain-move {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-5%, -5%);
    }

    50% {
        transform: translate(5%, 5%);
    }

    75% {
        transform: translate(-5%, 5%);
    }
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--color-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor.expand {
    width: 60px;
    height: 60px;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-follower.expand {
    width: 80px;
    height: 80px;
    border-color: var(--color-accent);
}

/* Cursor Label ("Ver Projeto", etc.) */
.cursor-follower .cursor-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.cursor-follower.has-label {
    width: 90px;
    height: 90px;
    background: rgba(255, 61, 0, 0.15);
    border-color: var(--color-accent);
    backdrop-filter: blur(4px);
}

.cursor-follower.has-label .cursor-label {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
}

/* Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(10, 1fr);
    z-index: 1;
    opacity: 0.4;
    pointer-events: auto;
}

.grid-cell {
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease;
}

.grid-cell.active {
    background: rgba(255, 61, 0, 0.2);
    border-color: rgba(255, 61, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 61, 0, 0.3);
    transition: none;
}

/* Video Mask Composite */
.video-mask-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: screen;
    pointer-events: none;
}

.mask-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 50px;
    box-shadow: 0 0 0 10px #000;
    outline: 2px solid #000;
    will-change: transform;
}

.text-mask-base {
    font-family: var(--font-display);
    font-size: var(--text-display-1);
    line-height: 0.85;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    background: #000;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 0 40px rgba(255, 61, 0, 0.4), 0 0 80px rgba(255, 61, 0, 0.2), 0 0 120px rgba(255, 61, 0, 0.1);
}

/* Fullscreen Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh;
    /* 16:9 inverse */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Dark Overlay for contrast (base state) */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.4s ease;
    pointer-events: none;
}

/* Spotlight — radial shine that follows the cursor */
.hero-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle 280px at var(--spot-x, 50%) var(--spot-y, 50%),
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.55) 100%);
}

.hero-section:hover .hero-spotlight {
    opacity: 1;
}

.hero-section:hover .hero-video-overlay {
    background: rgba(0, 0, 0, 0.15);
}

/* Glassmorphism Card */
.hero-glass {
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 61, 0, 0.08);
}

/* Outline & Subtitle */
.hero-overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-family: var(--font-display);
    font-size: var(--text-display-1);
    line-height: 0.85;
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    opacity: 0.8;
    pointer-events: none;
}

.hero-subtitle {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(14px, 1.5vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 61, 0, 0.15), 0 0 80px rgba(255, 61, 0, 0.08);
    white-space: nowrap;
}

.hero-tagline-dynamic {
    color: var(--color-accent);
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.3s, transform 0.3s;
    text-shadow: var(--text-glow-accent);
}

/* Scroll Arrow Button */
.hero-scroll-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    pointer-events: auto;
    padding: 10px;
}

.hero-scroll-btn:hover {
    color: var(--color-accent);
    transform: translateX(-50%) translateY(5px);
    text-shadow: var(--text-glow-accent);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================
   DUAL MARQUEE
   ========================================== */
.marquee-section {
    padding: 30px 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.marquee-row {
    display: flex;
    width: max-content;
}

.marquee-row-1 {
    animation: marqueeLeft 20s linear infinite;
}

.marquee-row-2 {
    animation: marqueeRight 30s linear infinite;
    margin-top: 15px;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.marquee-text.filled {
    color: var(--color-text);
}

.marquee-text.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.marquee-text:hover {
    color: var(--color-accent) !important;
    -webkit-text-stroke: 0;
}

.marquee-divider {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.marquee-section:hover .marquee-row {
    animation-play-state: paused;
}

/* ==========================================
   WAVY PATH MARQUEE (DNA HELIX)
   ========================================== */
.wavy-wrapper {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.wavy-path {
    position: absolute;
    width: 200%;
    fill: transparent;
}

.wavy-text {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    fill: var(--color-text);
    letter-spacing: 0.02em;
}

.wavy-text-outline {
    fill: transparent;
    stroke: var(--color-text);
    stroke-width: 1px;
    opacity: 0.7;
}

/* ==========================================
   HORIZONTAL SCROLL SECTION (FEATURED WORK)
   ========================================== */
.horizontal-section {
    position: relative;
    height: 400vh;
}

.horizontal-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}

.horizontal-header {
    padding: 0 60px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.horizontal-label {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.horizontal-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.horizontal-counter {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-text-muted);
}

.horizontal-counter span {
    color: var(--color-text);
    font-weight: 700;
}

/* Projects Track */
.projects-track {
    display: flex;
    gap: 40px;
    padding: 0 60px;
    will-change: transform;
}

.project-card {
    flex-shrink: 0;
    width: 55vw;
    max-width: 900px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-secondary);
    text-decoration: none;
    color: inherit;
}

.project-card:first-child {
    margin-left: 0;
}

.project-media {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.project-card:hover .project-media {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(255, 61, 0, 0.2), 0 0 120px rgba(255, 61, 0, 0.1);
}

/* See More Card */
.see-more-card {
    width: 25vw;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.see-more-card:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: var(--glow-accent);
}

.see-more-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.see-more-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.see-more-arrow {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.see-more-card:hover .see-more-arrow {
    transform: translateX(10px);
}

.project-info {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-index {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-display);
    font-size: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.project-category {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-year {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.project-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.project-card:hover .project-arrow {
    opacity: 1;
    transform: scale(1);
    background: var(--color-text);
    color: var(--color-bg);
}

/* ==========================================
   INDEX STATS SECTION (overrides)
   ========================================== */
.index-stats .stats-section {
    padding: 150px 60px;
}

.index-stats .stat-number {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}

/* ==========================================
   ABOUT TEASER
   ========================================== */
.about-section {
    padding: 200px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.about-image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 180px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section-index {
    padding: 200px 60px;
    text-align: center;
    position: relative;
}

.cta-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(120px, 25vw, 350px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: 50px;
    text-shadow: var(--glow-white);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-bg);
    background: var(--color-text);
    text-decoration: none;
    padding: 22px 45px;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
    background: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: var(--glow-accent-strong);
}

/* Custom Cursor — hide native cursor on all elements (Desktop Only) */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}
/* --------------------------------------------------------------------------
   Container Fluid (Edge-to-edge max width)
   -------------------------------------------------------------------------- */
.container-fluid {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1024px) {
    .container-fluid {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
    }
}
