:root {
    --bg-color: #DDDBD6;
    --accent-color: #FF1A00;
    --text-color: #1a1a1a;
    --line-color: rgba(26, 26, 26, 0.1);
    --font-heading: 'Quantico', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --grid-gap: 60px;
    --nav-height: 100px;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --cursor-scale: 1;
    --cursor-rotation: 0deg;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

/* Custom Cursor Reticle & Crosshair */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%) scale(var(--cursor-scale)) rotate(var(--cursor-rotation));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.28s cubic-bezier(0.25, 1, 0.5, 1),
                height 0.28s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.28s ease,
                background-color 0.28s ease,
                transform 0.16s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-cursor .cursor-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 26, 0, 0.08);
    transition: inset 0.28s ease, transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.custom-cursor .cursor-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 26, 0, 0.16) 0%, rgba(255, 26, 0, 0) 70%);
    opacity: 0.6;
    transform: scale(0.7);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.custom-cursor::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 26, 0, 0.25);
    transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.custom-cursor .cursor-cross-h,
.custom-cursor .cursor-cross-v {
    position: absolute;
    background: var(--accent-color);
    opacity: 0.45;
    transition: width 0.28s ease, height 0.28s ease, background-color 0.28s ease, opacity 0.28s ease;
}

.custom-cursor .cursor-cross-h {
    width: 30px;
    height: 1px;
}

.custom-cursor .cursor-cross-v {
    width: 1px;
    height: 30px;
}

.custom-cursor .cursor-coords {
    position: absolute;
    left: 18px;
    top: 18px;
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--accent-color);
    white-space: nowrap;
    opacity: 0.7;
    pointer-events: none;
    letter-spacing: 0.1em;
    background: rgba(221, 219, 214, 0.82);
    padding: 2px 6px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    backdrop-filter: blur(4px);
    transition: opacity 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

body[style*="background: #000"] .custom-cursor .cursor-coords,
body[style*="background: black"] .custom-cursor .cursor-coords,
.dark-section ~ .custom-cursor .cursor-coords {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.custom-cursor.hovering {
    width: 44px;
    height: 44px;
}

.custom-cursor.hovering .cursor-ring {
    inset: -4px;
    border-style: dashed;
    transform: rotate(180deg);
}

.custom-cursor.hovering .cursor-glow {
    opacity: 0.95;
    transform: scale(1);
}

.custom-cursor.hovering::after {
    transform: scale(1.55);
}

.custom-cursor.hovering .cursor-cross-h {
    width: 52px;
}

.custom-cursor.hovering .cursor-cross-v {
    height: 52px;
}

.custom-cursor.active {
    --cursor-scale: 0.82;
}

.custom-cursor.active .cursor-ring {
    inset: -2px;
}

.cursor-line-h,
.cursor-line-v {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border: 0;
    opacity: 0.12;
    transition: opacity 0.28s ease, border-color 0.28s ease;
}

.cursor-line-h {
    left: 0;
    width: 100vw;
    height: 1px;
    border-top: 1px dashed var(--text-color);
}

.cursor-line-v {
    top: 0;
    width: 1px;
    height: 100vh;
    border-left: 1px dashed var(--text-color);
}

body[style*="background: #000"] .cursor-line-h,
body[style*="background: black"] .cursor-line-h,
body[style*="background: #000"] .cursor-line-v,
body[style*="background: black"] .cursor-line-v,
.dark-section ~ .cursor-line-h,
.dark-section ~ .cursor-line-v {
    border-color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.1;
    background-image:
        linear-gradient(var(--line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 100px 100px;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 26, 0, 0.12), transparent 28%);
    opacity: 0.75;
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply;
}

main,
nav,
.corner-info {
    position: relative;
    z-index: 1;
}

@media (hover: none) {
    .custom-cursor,
    .cursor-line-h,
    .cursor-line-v {
        display: none;
    }
}

/* --- UNCONVENTIONAL MINIMALIST NAVIGATION --- */

.side-nav {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    padding-right: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle vertical track */
}

/* Dark mode support for Navigation */
body[style*="background: #000"] .side-nav,
body[style*="background: black"] .side-nav,
.dark-section~.side-nav {
    border-right-color: rgba(255, 255, 255, 0.1);
}

body[style*="background: #000"] .nav-link,
body[style*="background: black"] .nav-link,
.dark-section~.side-nav .nav-link {
    color: white;
}

body[style*="background: #000"] .corner-info,
body[style*="background: black"] .corner-info,
.dark-section~.corner-info {
    color: white;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    transition: var(--transition);
    opacity: 0.6;
    /* Increased from 0.4 */
    position: relative;
    padding: 15px 0;
    border-right: 1px solid transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -21px;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: var(--transition);
}

.nav-link:hover::after {
    transform: translateY(-50%) scale(1);
}

.nav-link::before {
    content: attr(data-index);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    font-size: 8px;
    color: var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav-link:hover::before {
    opacity: 1;
    bottom: -15px;
}

.corner-info {
    position: fixed;
    z-index: 2000;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}

.top-left {
    top: 40px;
    left: 40px;
}

.top-right {
    top: 40px;
    right: 40px;
}

.bottom-right {
    bottom: 40px;
    right: 40px;
}

.mono-label {
    display: block;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 1;
    cursor: pointer;
}

/* --- HERO RESTRUCTURE --- */

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
}

.hero-header {
    max-width: 80%;
}

.hero-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 100px;
}

.hero-description {
    max-width: 500px;
    font-size: 1.5rem;
    opacity: 0.8;
    line-height: 1.4;
    margin: 0;
}

.hero-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 100px;
    width: 1px;
    background: var(--line-color);
    overflow: hidden;
}

.scroll-line {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- HERO & SECTIONS --- */

section {
    padding: 160px 8vw;
    border-bottom: 1px solid var(--line-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.heading-xl {
    font-size: clamp(2.5rem, 12vw, 14rem);
    text-transform: uppercase;
    letter-spacing: -0.06em;
    line-height: 0.85;
    position: relative;
}

.blueprint-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-color);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.blueprint-tag {
    position: absolute;
    top: 40px;
    right: 8vw;
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.3;
}

.heading-l {
    font-size: clamp(2rem, 8vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.85;
}

.hero-sub {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    display: block;
}

/* --- PROJECT GRID --- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    margin-top: 60px;
}

.project-item.wide {
    grid-column: span 2;
}

.project-grid.staggered {
    display: flex;
    flex-direction: column;
    gap: 200px;
    margin-top: 100px;
}

.project-item {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item.left {
    align-self: flex-start;
}

.project-item.right {
    align-self: flex-end;
    margin-top: -100px;
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-item:hover .project-img-wrapper {
    border-color: var(--accent-color);
}

.project-img-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
    position: relative;
    border: 1px solid var(--line-color);
    transition: border-color 0.4s ease;
}

.project-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-weight: 800;
}

/* --- DESIGN ARCHIVE: FLUID CANVAS --- */

.archive-canvas {
    display: flex;
    flex-direction: column;
    gap: 30vh;
    padding-bottom: 20vh;
}

.archive-item {
    display: flex;
    flex-direction: column;
    width: 60%;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.archive-item:nth-child(even) {
    align-self: flex-end;
    text-align: right;
}

.archive-item:nth-child(3n) {
    align-self: center;
    width: 80%;
}

.archive-spec-label {
    position: absolute;
    top: -20px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--accent-color);
}

.archive-item:nth-child(even) .archive-spec-label {
    left: auto;
    right: 0;
}

.archive-img-container {
    padding: 20px;
    border: 1px solid var(--line-color);
    background: white;
    position: relative;
    transition: var(--transition);
}

.archive-item:hover .archive-img-container {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.archive-img-container::before {
    content: '+';
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: 14px;
    color: var(--accent-color);
}

.archive-img-container::after {
    content: '+';
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 14px;
    color: var(--accent-color);
}

.archive-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: -0.04em;
    font-weight: 800;
}

.archive-year-bg {
    position: absolute;
    font-size: 20vw;
    font-family: var(--font-heading);
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}



@media (max-width: 768px) {
    .archive-item {
        width: 100% !important;
        align-self: flex-start !important;
        text-align: left !important;
    }

    .archive-item:nth-child(even) .archive-spec-label {
        right: auto;
        left: 0;
    }
}

/* --- TECH LAB RESTRUCTURE --- */

.section-header {
    margin-bottom: 120px;
    position: relative;
}

/* --- NEW TECH LAB: BRUTALIST MODULES --- */

.lab-container {
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.lab-module {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    position: relative;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--line-color);
    transition: var(--transition);
}

.lab-module:hover {
    padding-left: 20px;
}

.lab-module-number {
    font-family: var(--font-heading);
    font-size: 15vw;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    opacity: 0.2;
    position: absolute;
    left: -2vw;
    top: -2vh;
    pointer-events: none;
    transition: var(--transition);
}

.lab-module:hover .lab-module-number {
    opacity: 0.5;
    color: var(--accent-color);
    -webkit-text-stroke: 0;
}

.lab-module-info {
    z-index: 1;
}

.lab-module-title {
    font-size: clamp(2rem, 6vw, 6rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.lab-module-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    margin-bottom: 40px;
    display: block;
}

.lab-module-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 40px;
}

.lab-module-desc {
    max-width: 500px;
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: 0.8;
}

.lab-module-links {
    display: flex;
    gap: 30px;
}

.lab-module-link {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--text-color);
    padding: 12px 25px;
    transition: var(--transition);
}

.lab-module-link:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.section-footer {
    margin-top: 80px;
    display: flex;
    justify-content: flex-end;
}

.footer-link {
    font-family: var(--font-mono);
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
}

/* --- CONTACT --- */

#contact {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 180px 8vw;
    border-top: 1px solid var(--line-color);
}

.contact-technical {
    display: flex;
    flex-direction: column;
    gap: 100px;
    max-width: 1400px;
}

.contact-header-tech {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-header-tech h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 8rem);
    line-height: 0.85;
    margin: 0;
    text-transform: uppercase;
    color: var(--accent-color);
}

.status-module {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    padding: 15px 25px;
    background: var(--accent-color);
    color: white;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 1px;
}

.contact-grid-tech {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px 40px;
}

.contact-info-tech {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-tech.large {
    grid-column: span 8;
}

.tech-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.tech-link,
.tech-value {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 3rem);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tech-link {
    border-bottom-color: var(--text-color);
    width: fit-content;
    padding-bottom: 5px;
}

.tech-link:hover {
    padding-left: 20px;
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.social-tech-cluster {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.social-tech-link {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--line-color);
    transition: var(--transition);
}

.social-tech-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* --- FOOTER --- */

footer {
    padding: 80px 8vw;
    background: white;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 11px;
    border-top: 1px solid var(--line-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color);
}


/* --- RESPONSIVE --- */

@media (max-width: 1200px) {
    section {
        padding: 120px 8vw;
    }
}

@media (max-width: 992px) {
    .project-grid.staggered {
        gap: 100px;
    }

    .project-item {
        width: 100%;
    }

    .project-item.right {
        margin-top: 0;
    }

    .lab-container {
        gap: 80px;
    }

    .lab-module {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 60px;
    }

    .lab-module-number {
        font-size: 30vw;
        top: -5vh;
        left: -5vw;
    }

    .contact-grid-tech {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-tech,
    .contact-info-tech.large {
        grid-column: span 1;
    }

    .hero-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-footer-meta {
        text-align: left;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 6vw;
    }

    .side-nav {
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 70px;
        transform: none;
        background: rgba(221, 219, 214, 0.8);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--line-color);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        z-index: 3000;
    }

    body[style*="background: #000"] .side-nav,
    body[style*="background: black"] .side-nav,
    .dark-section~.side-nav {
        background: rgba(0, 0, 0, 0.8);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .nav-links {
        flex-direction: row;
        gap: 30px;
        width: 100%;
        justify-content: space-around;
    }

    .nav-link {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 0;
    }

    .nav-link::before {
        display: none;
    }

    .corner-info {
        font-size: 8px;
    }

    .top-left,
    .top-right {
        top: 20px;
    }

    .bottom-right {
        display: none;
    }

    .heading-xl {
        font-size: clamp(2.5rem, 14vw, 8rem);
    }

    .heading-l {
        font-size: clamp(2rem, 10vw, 6rem);
    }

    footer {
        padding-bottom: 120px;
        /* Account for 70px nav height + extra breathing room */
    }

    .project-img-wrapper,
    .archive-img-container {
        padding: 10px;
        border: 1px solid var(--line-color);
        background: white;
    }

    .archive-img-container::before,
    .archive-img-container::after {
        display: none;
    }
}

/* Touch Device & Tablet Cursor Optimization */
@media (max-width: 1024px),
(hover: none) {
    .custom-cursor {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }

    a,
    button,
    [role="button"] {
        cursor: pointer !important;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .project-item:hover {
        opacity: 1;
    }

    .project-item:active {
        opacity: 0.7;
    }

    .project-img-wrapper {
        border-color: var(--line-color);
    }

    .tech-link:hover {
        padding-left: 0;
    }
}

/* --- ABOUT PAGE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-image-column {
    position: relative;
    max-width: 600px;
}

.portrait-wrapper {
    position: relative;
    border: 1px solid var(--line-color);
    padding: 15px;
    background: white;
    transition: var(--transition);
}

.about-portrait {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.portrait-wrapper:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.portrait-wrapper:hover .about-portrait {
    opacity: 0.9;
}

.portrait-wrapper::before {
    content: '[';
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 20px;
}

.portrait-wrapper::after {
    content: ']';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bio-text {
    margin-top: 60px;
}

.dark-section .hero-description {
    color: rgba(255, 255, 255, 0.8);
}

.about-content-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-column {
        order: -1;
        /* Move image to top on mobile */
    }

    .about-content-column {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-column {
        order: -1;
        /* Move image to top on mobile */
    }
}

/* --- SONAR PULSE STATUS INDICATOR --- */
.status-indicator-dot {
    position: relative;
}

.status-indicator-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: sonar-pulse 2s infinite ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes sonar-pulse {
    0% {
        width: 8px;
        height: 8px;
        opacity: 0.8;
    }
    100% {
        width: 32px;
        height: 32px;
        opacity: 0;
    }
}

/* --- BLUEPRINT SCANNING REVEAL FOR IMAGES --- */
.project-img-wrapper,
.archive-img-container,
.portrait-wrapper {
    position: relative;
    overflow: hidden;
}

.project-img-wrapper::before,
.archive-img-container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.scan-line-element {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    z-index: 3;
    pointer-events: none;
    transform: translateY(-100%);
}

.scan-animating {
    animation: scanline-sweep 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes scanline-sweep {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* --- MODERN SCROLL REVEALS --- */
.reveal-init {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
