:root {
    --bg-black: #060709;
    --bg-surface: #0e1015;
    --bg-surface-elevated: #151820;
    --bg-card: rgba(18, 20, 27, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.2);
    --border-glow: rgba(255, 255, 255, 0.4);
    --text-white: #ffffff;
    --text-gray: #9aa0a6;
    --text-dim: #606770;
    --accent-blue: #3b82f6;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --radius-none: 0px;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: var(--radius-none) !important;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-position: center top;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(59, 130, 246, 0.02) 40%, transparent 70%);
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: rgba(6, 7, 9, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
    justify-self: start;
}

.header-nav {
    justify-self: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

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

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

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

.header-cta-btn {
    justify-self: end;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    border: 1px solid var(--border-strong);
    padding: 10px 22px;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta-btn:hover {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    transform: translate3d(0, -1px, 0);
}

.section-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-space-canvas {
    position: absolute;
    inset: 0;
    pointer-events: auto;
    z-index: 2;
}

.floating-project-card {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.floating-card-1 {
    width: 350px;
    top: 14%;
    left: 5%;
}

.floating-card-2 {
    width: 260px;
    bottom: 12%;
    left: 7%;
}

.floating-card-3 {
    width: 300px;
    bottom: 12%;
    right: 7%;
}

.floating-card-4 {
    width: 220px;
    top: 50%;
    left: 15%;
    opacity: 0.75;
}

.floating-card-inner {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.4s ease;
    will-change: transform;
}

@keyframes heroFloat1 {
    0% {
        transform: translate3d(0, 0, 0) rotate(-2.5deg);
    }
    50% {
        transform: translate3d(0, -18px, 0) rotate(-0.5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(-2.5deg);
    }
}

@keyframes heroFloat2 {
    0% {
        transform: translate3d(0, 0, 0) rotate(2.5deg);
    }
    50% {
        transform: translate3d(0, 20px, 0) rotate(0.8deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(2.5deg);
    }
}

@keyframes heroFloat3 {
    0% {
        transform: translate3d(0, 0, 0) rotate(2deg);
    }
    50% {
        transform: translate3d(0, -15px, 0) rotate(3.8deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(2deg);
    }
}

@keyframes heroFloat4 {
    0% {
        transform: translate3d(0, 0, 0) rotate(-1.5deg);
    }
    50% {
        transform: translate3d(0, 18px, 0) rotate(-3.5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(-1.5deg);
    }
}

.floating-card-1 .floating-card-inner {
    animation: heroFloat1 8s ease-in-out infinite;
}

.floating-card-2 .floating-card-inner {
    animation: heroFloat2 10.5s ease-in-out infinite 0.7s;
}

.floating-card-3 .floating-card-inner {
    animation: heroFloat3 9.2s ease-in-out infinite 1.4s;
}

.floating-card-4 .floating-card-inner {
    animation: heroFloat4 11s ease-in-out infinite 0.3s;
}

.floating-image-holder {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}

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

.floating-project-caption {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.hero-space-canvas:has(.floating-project-card:hover) .floating-project-card:not(:hover) .floating-card-inner {
    opacity: 0.35;
    transform: scale(0.96);
    filter: blur(1px);
}

.floating-project-card:hover {
    z-index: 10;
}

.floating-project-card:hover .floating-card-inner {
    animation-play-state: paused;
    border-color: var(--border-glow);
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.1);
}

.floating-project-card:hover .floating-img {
    transform: scale(1.06);
}

.hero-center-content {
    position: static;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
    pointer-events: auto;
}

.hero-title,
.hero-tagline,
.hero-actions {
    position: relative;
    z-index: 5;
}

.hero-author-card {
    position: absolute;
    width: 390px;
    top: 14%;
    right: 5%;
    z-index: 4;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.author-card-inner {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    animation: authorFloat 9.5s ease-in-out infinite 0.5s;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.4s ease;
    will-change: transform;
}

@keyframes authorFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(1.5deg);
    }
    50% {
        transform: translate3d(0, -16px, 0) rotate(-1deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(1.5deg);
    }
}

.author-image-holder {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000;
}

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

.author-caption-box {
    margin-top: 10px;
    text-align: left;
}

.author-caption-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
}

.author-caption-role {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.hero-author-card:hover {
    z-index: 10;
}

.hero-author-card:hover .author-card-inner {
    animation-play-state: paused;
    border-color: var(--border-glow);
    transform: scale(1.04) rotate(0deg) !important;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.12);
}

.hero-author-card:hover .author-img {
    transform: scale(1.05);
}

.hero-section:has(.hero-author-card:hover) .floating-project-card .floating-card-inner {
    opacity: 0.35;
    transform: scale(0.96);
    filter: blur(1px);
}

.hero-space-canvas:has(.floating-project-card:hover) ~ .hero-center-content .hero-author-card .author-card-inner {
    opacity: 0.35;
    transform: scale(0.96);
    filter: blur(1px);
}

.hero-title {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--text-white);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: clamp(16px, 2.2vw, 22px);
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--text-white);
    color: var(--bg-black);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border: 1px solid var(--text-white);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
    background: #e0e0e0;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border: 1px solid var(--border-strong);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-white);
    transform: translate3d(0, -2px, 0);
}

.section-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.services-section {
    padding: 140px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.reactive-tiles-grid {
    display: flex;
    gap: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reactive-tile {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                opacity 0.4s ease, 
                background 0.3s ease;
    will-change: flex, border-color;
}

.reactive-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
}

.reactive-tiles-grid:has(.reactive-tile:hover) .reactive-tile:hover {
    flex: 1.35;
    border-color: var(--border-glow);
    background: var(--bg-surface-elevated);
}

.reactive-tiles-grid:has(.reactive-tile:hover) .reactive-tile:hover::before {
    background: var(--text-white);
}

.reactive-tiles-grid:has(.reactive-tile:hover) .reactive-tile:not(:hover) {
    flex: 0.85;
    opacity: 0.5;
}

.tile-inner {
    position: relative;
    z-index: 2;
}

.tile-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 24px;
}

.tile-index {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 600;
}

.tile-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.tile-lead {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.tile-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
}

.tile-specs li {
    font-size: 14px;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.tile-specs li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--text-white);
    font-weight: 700;
}

.portfolio-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-subtle);
}

.portfolio-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.portfolio-meta-counter {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-grid.is-transitioning {
    opacity: 0;
    transform: translate3d(0, 15px, 0);
}

.portfolio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.portfolio-card:hover {
    border-color: var(--border-strong);
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.portfolio-card-link {
    display: block;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
}

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

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 7, 9, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-view-btn {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bg-black);
    background: var(--text-white);
    padding: 10px 20px;
    transform: translate3d(0, 10px, 0);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-view-btn {
    transform: translate3d(0, 0, 0);
}

.portfolio-card-content {
    padding: 24px;
}

.portfolio-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.portfolio-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tag {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.btn-pagination {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-pagination:hover:not(:disabled) {
    background: var(--text-white);
    color: var(--bg-black);
}

.btn-pagination:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: var(--border-subtle);
}

.pagination-pages {
    display: flex;
    gap: 8px;
}

.page-num-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-gray);
    font-size: 13px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-num-btn:hover {
    border-color: var(--border-strong);
    color: var(--text-white);
}

.page-num-btn.active {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    font-weight: 700;
}

.cta-banner-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
}

.cta-banner-inner {
    border: 1px solid var(--border-strong);
    padding: 64px 48px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-surface);
}

.cta-banner-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-banner-text {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.contact-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-subtle);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-intro {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-direct-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 16px;
    color: var(--text-white);
    font-weight: 500;
}

.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 40px;
}

.form-field {
    margin-bottom: 24px;
}

.field-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 600;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus,
.field-textarea:focus {
    border-color: var(--text-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.checkbox-field {
    margin-bottom: 32px;
}

.consent-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-container input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--text-white);
    cursor: pointer;
}

.consent-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--text-white);
    color: var(--bg-black);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--text-white);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover:not(:disabled) {
    background: #e0e0e0;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50% !important;
    animation: spinnerRotate 0.6s linear infinite;
}

@keyframes spinnerRotate {
    to { transform: rotate(360deg); }
}

.form-status {
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.form-status.success {
    background: rgba(46, 125, 50, 0.15);
    border-color: rgba(46, 125, 50, 0.4);
    color: #a5d6a7;
}

.form-status.error {
    background: rgba(229, 57, 53, 0.15);
    border-color: rgba(229, 57, 53, 0.4);
    color: #ef9a9a;
}

.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-black);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

.project-detail-main {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 120px;
}

.back-nav-row {
    margin-bottom: 32px;
}

.back-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--text-white);
}

.project-article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}

.project-main-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text-white);
    max-width: 880px;
}

.btn-external-link {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-external-link:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

.project-hero-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    margin-bottom: 48px;
}

.project-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-article-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.project-rich-content {
    font-size: 17px;
    line-height: 1.8;
    color: #d1d5db;
}

.project-rich-content h2,
.project-rich-content h3 {
    color: var(--text-white);
    margin: 32px 0 16px;
    letter-spacing: -0.5px;
}

.project-rich-content h2 { font-size: 28px; }
.project-rich-content h3 { font-size: 22px; }

.project-rich-content p {
    margin-bottom: 20px;
}

.project-rich-content ul {
    margin: 16px 0 24px 20px;
}

.project-rich-content li {
    margin-bottom: 8px;
}

.project-rich-content img {
    margin: 32px 0;
    border: 1px solid var(--border-subtle);
}

.project-specs-panel,
.project-cta-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    margin-bottom: 24px;
}

.specs-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.specs-panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-panel-item {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.specs-dot {
    width: 6px;
    height: 6px;
    background: var(--text-white);
    margin-top: 7px;
    flex-shrink: 0;
}

.specs-sidebar-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

@media (max-width: 1080px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
    }
    .hero-author-card {
        width: 300px;
        right: 2%;
        top: 14%;
    }
    .floating-card-1 { left: 2%; top: 14%; width: 260px; }
    .floating-card-2 { left: 3%; bottom: 12%; width: 220px; }
    .floating-card-3 { right: 2%; bottom: 12%; width: 250px; }
    .floating-card-4 { display: none; }
    .reactive-tiles-grid {
        flex-direction: column;
    }
    .reactive-tiles-grid:has(.reactive-tile:hover) .reactive-tile:hover,
    .reactive-tiles-grid:has(.reactive-tile:hover) .reactive-tile:not(:hover) {
        flex: 1;
        opacity: 1;
    }
    .project-article-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .header-container {
        grid-template-columns: 1fr auto;
        padding: 0 20px;
    }
    .section-container {
        padding: 0 20px;
    }
    .hero-space-canvas {
        display: block;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }
    .hero-center-content {
        position: relative;
        z-index: 5;
    }
    .hero-author-card {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 250px;
        max-width: 85%;
        margin: 32px auto 0;
        z-index: 10;
        display: block;
        pointer-events: auto;
    }
    .author-card-inner {
        filter: none !important;
        opacity: 1 !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        border-color: var(--border-strong);
    }
    .floating-card-1 {
        left: -18%;
        top: 6%;
        width: 250px;
    }
    .floating-card-2 {
        left: -14%;
        bottom: 5%;
        width: 210px;
    }
    .floating-card-3 {
        right: -20%;
        top: 12%;
        width: 240px;
    }
    .floating-card-4 {
        right: -16%;
        bottom: 8%;
        width: 220px;
    }
    .floating-card-inner {
        filter: blur(8px) brightness(0.55);
        opacity: 0.35;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.04);
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .reactive-tile {
        padding: 28px 20px;
    }
    .contact-form {
        padding: 24px 20px;
    }
    .cta-banner-inner {
        padding: 40px 20px;
    }
}
