/* =================== */
/* CSS VARIABLES       */
/* =================== */
:root {
    --void: #0a0a0a;
    --cream: #F5F0E8;
    --hot: #FF10F0;
    --electric: #39FF14;
    --acid: #D4FF00;
    --violet: #9D4EDD;
    --orange: #FF6B35;
    --cyan: #00F5D4;
}

/* =================== */
/* RESET & BASE        */
/* =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void);
    color: var(--cream);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* =================== */
/* NOISE OVERLAY       */
/* =================== */
.noise {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    animation: noise 0.4s steps(8) infinite;
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-3%, 3%); }
    50% { transform: translate(3%, -3%); }
    75% { transform: translate(-3%, -3%); }
}

/* =================== */
/* CUSTOM CURSOR       */
/* =================== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--hot);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 45px;
    height: 45px;
    border: 2px solid var(--hot);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

.cursor-ring.hovering {
    width: 80px;
    height: 80px;
    border-color: var(--electric);
    background: rgba(0, 245, 212, 0.1);
}

.cursor-text {
    position: fixed;
    pointer-events: none;
    z-index: 10002;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--cream);
    opacity: 0;
    transition: opacity 0.2s;
}

.cursor-text.visible {
    opacity: 1;
}

/* =================== */
/* TYPOGRAPHY          */
/* =================== */
.text-massive {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(100px, 22vw, 450px);
    line-height: 0.82;
    letter-spacing: -0.02em;
}

.text-huge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 12vw, 200px);
    line-height: 0.85;
}

.text-large {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 6vw, 80px);
    line-height: 0.95;
    font-weight: 800;
}

.text-stroke {
    -webkit-text-stroke: 3px currentColor;
    -webkit-text-fill-color: transparent;
}

.text-stroke-thick {
    -webkit-text-stroke: 4px currentColor;
    -webkit-text-fill-color: transparent;
}

.handwritten {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--hot);
    animation: glitch-1 0.25s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    color: var(--electric);
    animation: glitch-2 0.25s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    25% { transform: translate(-4px, 4px); }
    50% { transform: translate(4px, -4px); }
    75% { transform: translate(-4px, -4px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    25% { transform: translate(4px, -4px); }
    50% { transform: translate(-4px, 4px); }
    75% { transform: translate(4px, 4px); }
    100% { transform: translate(0); }
}

/* =================== */
/* NAVIGATION          */
/* =================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    mix-blend-mode: difference;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    mix-blend-mode: difference;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* =================== */
/* HERO SECTION        */
/* =================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-left {
    padding: 180px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-title {
    position: relative;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line span {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-title-line:nth-child(2) span { animation-delay: 0.1s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.2s; }

@keyframes slideUp {
    to { transform: translateY(0); }
}

.hero-subtitle {
    margin-top: 40px;
    font-size: 14px;
    line-height: 1.8;
    max-width: 400px;
    opacity: 0;
    animation: fadeIn 0.6s 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 0.7; }
}

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

/* Photo container */
.photo-container {
    position: relative;
    width: 500px;
    height: 600px;
    margin-right: 40px;
    overflow: visible;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(20%) contrast(1.05);
}

/* Photo fragmentation */
.photo-fragment {
    position: absolute;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.photo-fragment img {
    position: absolute;
    width: 500px;
    height: 600px;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(20%) contrast(1.05);
    max-width: none; /* Prevent any max-width constraints */
}

/* Floating labels */
.float-label {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 8px 16px;
    background: var(--hot);
    color: var(--void);
    transform: rotate(var(--r, 0deg));
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes float {
    0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
    50% { transform: rotate(var(--r, 0deg)) translateY(-15px); }
}

.float-label.label-1 {
    --r: -8deg;
    --d: 0s;
    top: 5%;
    right: 40px;
    background: var(--electric);
}

.float-label.label-2 {
    --r: 5deg;
    --d: 1s;
    bottom: 25%;
    right: 20px;
    background: var(--acid);
}

.float-label.label-3 {
    --r: -3deg;
    --d: 2s;
    top: 50%;
    right: 60px;
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.decoration-circle {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 0, 80, 0.2);
    border-radius: 50%;
    top: 10%;
    left: -150px;
    animation: spin-slow 40s linear infinite;
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.decoration-grid {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 5%;
    background-image:
        linear-gradient(rgba(0, 245, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 212, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.5;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hot);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* =================== */
/* MARQUEE             */
/* =================== */
.marquee-section {
    padding: 20px 0;
    background: var(--hot);
    overflow: hidden;
    transform: rotate(-1deg) scale(1.02);
    margin: -10px 0;
}

.marquee-track {
    display: flex;
    animation: marquee 25s linear infinite;
}

.marquee-section:hover .marquee-track {
    animation-play-state: paused;
}

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

.marquee-item {
    flex-shrink: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--void);
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.marquee-item::after {
    content: '✦';
    font-size: 16px;
}

/* =================== */
/* PROJECTS SECTION    */
/* =================== */
.projects {
    padding: 120px 60px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.section-title {
    position: relative;
}

.section-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 200px;
    line-height: 1;
    position: absolute;
    top: -100px;
    left: -40px;
    opacity: 0.03;
    pointer-events: none;
}

.section-label {
    font-size: 10px;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 8px;
}

/* Asymmetric Bento Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: scale(0.98);
}

.project-card:hover .project-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Card variations */
.project-card.card-hero {
    grid-column: span 7;
    grid-row: span 4;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.project-card.card-tall {
    grid-column: span 5;
    grid-row: span 5;
    background: var(--electric);
    color: var(--void);
}

.project-card.card-wide {
    grid-column: span 7;
    grid-row: span 3;
    background: var(--acid);
    color: var(--void);
}

.project-card.card-square {
    grid-column: span 5;
    grid-row: span 3;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.project-card.card-accent {
    grid-column: span 6;
    grid-row: span 4;
    background: var(--hot);
    color: var(--void);
}

.project-card.card-medium {
    grid-column: span 6;
    grid-row: span 4;
    background: linear-gradient(135deg, var(--violet) 0%, #6B21A8 100%);
}

.project-card.card-small {
    grid-column: span 4;
    grid-row: span 3;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.project-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
    filter: grayscale(30%);
}

.project-card:hover .project-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-title-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    color: var(--hot);
    z-index: 10;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(255, 16, 240, 0.5);
}

.project-card:hover .project-title-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 70%);
    opacity: 1;
    transition: all 0.4s;
}

/* Different colored overlays for each card type */
.project-card.card-hero:hover .project-overlay {
    background: var(--hot);
    opacity: 0.3;
}

.project-card.card-tall:hover .project-overlay {
    background: var(--electric);
    opacity: 0.3;
}

.project-card.card-wide:hover .project-overlay {
    background: var(--acid);
    opacity: 0.3;
}

.project-card.card-square:hover .project-overlay {
    background: var(--cyan);
    opacity: 0.3;
}

.project-card.card-accent:hover .project-overlay {
    background: var(--violet);
    opacity: 0.3;
}

.project-card.card-medium:hover .project-overlay {
    background: var(--hot);
    opacity: 0.3;
}

.project-card.card-small:hover .project-overlay {
    background: var(--electric);
    opacity: 0.3;
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    color: #f8f7f4;
}

.project-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    opacity: 0.5;
    margin-bottom: 8px;
    color: #f8f7f4;
}

.project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    margin-bottom: 12px;
    color: #f8f7f4;
}

.project-desc {
    font-size: 12px;
    opacity: 0.7;
    max-width: 300px;
    line-height: 1.6;
    color: #f8f7f4;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.project-tag {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid #f8f7f4;
    opacity: 0.7;
    color: #f8f7f4;
}

.project-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* =================== */
/* ABOUT SECTION       */
/* =================== */
.about {
    padding: 160px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    position: relative;
}

.about-left {
    position: relative;
}

.about-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(30%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-photo-wrapper:hover .about-photo {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-photo-frame {
    position: absolute;
    inset: -20px;
    border: 2px solid var(--hot);
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-photo-wrapper:hover .about-photo-frame {
    transform: translate(10px, 10px);
}

/* Stickers */
.sticker {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    padding: 12px 20px;
    transform: rotate(var(--r, 0deg));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.sticker:hover {
    transform: rotate(var(--r, 0deg)) scale(1.1);
}

.sticker-1 {
    --r: -12deg;
    top: -30px;
    right: 20px;
    background: var(--acid);
    color: var(--void);
    font-size: 18px;
}

.sticker-2 {
    --r: 8deg;
    bottom: 40px;
    left: -20px;
    background: var(--electric);
    color: var(--void);
    font-size: 14px;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 24px;
    opacity: 0.8;
}

.about-highlight {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--hot);
    margin: 40px 0;
    line-height: 1.3;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.skill-item {
    padding: 12px 24px;
    border: 1px solid rgba(245, 240, 232, 0.2);
    font-size: 11px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.skill-item:hover {
    background: var(--cream);
    color: var(--void);
    border-color: var(--cream);
}

/* =================== */
/* CONTACT SECTION     */
/* =================== */
.contact {
    padding: 160px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-bg-text {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30vw;
    opacity: 0.02;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

.contact-label {
    font-size: 10px;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.contact-btn.primary {
    background: var(--hot);
    color: var(--void);
}

.contact-btn.secondary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.contact-btn:hover {
    transform: scale(1.05);
}

.contact-btn.primary:hover {
    background: var(--electric);
}

.contact-btn.secondary:hover {
    background: var(--cream);
    color: var(--void);
}

.contact-handwritten {
    margin-top: 60px;
    font-size: 24px;
    color: var(--electric);
    transform: rotate(-3deg);
}

/* =================== */
/* FOOTER              */
/* =================== */
.footer {
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-left {
    font-size: 11px;
    opacity: 0.5;
}

.footer-center {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

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

/* =================== */
/* REVEAL ANIMATIONS   */
/* =================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }

/* =================== */
/* GLASSMORPHISM       */
/* =================== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-frost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =================== */
/* PROJECT PAGE STYLES */
/* =================== */
.project-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--void) 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.project-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 15px 20px;
    margin-left: -20px;
    margin-top: -15px;
}

.project-hero-back:hover {
    opacity: 1;
}

.project-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 12vw, 150px);
    line-height: 0.9;
    margin-bottom: 24px;
}

.project-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 600px;
}

.project-hero-meta {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-meta-label {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.5;
}

.project-meta-value {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Project Body Content */
.project-body {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-section {
    margin-bottom: 100px;
}

.project-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 32px;
    color: var(--hot);
}

.project-text {
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.8;
    max-width: 700px;
}

.project-text p {
    margin-bottom: 24px;
}

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.project-gallery-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.project-gallery-item {
    position: relative;
    overflow: hidden;
}

.project-gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Mobile carousel for three-image gallery */
@media (max-width: 1024px) {
    .project-gallery-three {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .project-gallery-three .project-gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    /* Two-column asymmetric gallery becomes single column on mobile */
    .project-gallery[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .project-gallery[style*="grid-template-columns: 2fr 1fr"] > div[style*="flex-direction: column"] {
        flex-direction: row !important;
        gap: 16px !important;
    }
    
    /* Hide scrollbar but keep functionality */
    .project-gallery-three::-webkit-scrollbar {
        height: 8px;
    }
    
    .project-gallery-three::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .project-gallery-three::-webkit-scrollbar-thumb {
        background: var(--hot);
        border-radius: 4px;
    }
}

/* Embed Container */
.project-embed {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.project-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Feature List */
.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.project-feature {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}

.project-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--hot);
}

.project-feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.project-feature-title {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-feature-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* Blog Post Card - Coming Soon */
.blog-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
}

.blog-card:hover {
    border-color: var(--hot);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-frost {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: var(--hot);
    padding: 12px 24px;
    border: 2px solid var(--hot);
}

.blog-card-content {
    padding: 32px;
}

.blog-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* Next Project CTA */
.next-project {
    padding: 100px 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-project-label {
    font-size: 10px;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.next-project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 10vw, 120px);
    transition: color 0.3s;
}

.next-project-link:hover .next-project-title {
    color: var(--hot);
}

/* =================== */
/* CREATIVE EXPERIMENTS */
/* =================== */
.experiments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    padding: 60px;
}

.experiment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.experiment-card:hover {
    transform: translateY(-8px);
    border-color: var(--hot);
    background: rgba(255, 255, 255, 0.06);
}

.experiment-preview {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.experiment-preview img,
.experiment-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.experiment-card:hover .experiment-preview img,
.experiment-card:hover .experiment-preview video {
    transform: scale(1.05);
}

.experiment-content {
    padding: 28px;
}

.experiment-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.experiment-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.experiment-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.experiment-tag {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

.experiment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--hot);
    transition: gap 0.3s;
}

.experiment-link:hover {
    gap: 16px;
}

/* =================== */
/* RESPONSIVE          */
/* =================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .projects-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .project-card.card-hero,
    .project-card.card-tall,
    .project-card.card-wide,
    .project-card.card-square,
    .project-card.card-accent,
    .project-card.card-medium,
    .project-card.card-small {
        grid-column: span 6;
        grid-row: span 3;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    .hero-left {
        padding: 140px 24px 60px;
    }

    .projects {
        padding: 80px 24px;
    }

    .about {
        padding: 80px 24px;
    }

    .contact {
        padding: 80px 24px;
    }

    .footer {
        padding: 24px;
        flex-direction: column;
        gap: 20px;
    }

    .project-hero {
        padding: 24px;
        min-height: 50vh;
    }

    .project-body {
        padding: 60px 24px;
    }

    .project-hero-meta {
        gap: 24px;
    }

    .experiments-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring,
    .cursor-text {
        display: none;
    }
}

/* =================== */
/* UTILITIES           */
/* =================== */
.text-hot { color: var(--hot); }
.text-electric { color: var(--electric); }
.text-acid { color: var(--acid); }
.text-violet { color: var(--violet); }
.text-cyan { color: var(--cyan); }

.bg-hot { background: var(--hot); }
.bg-electric { background: var(--electric); }
.bg-acid { background: var(--acid); }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

