/* Refraction Spectrum Creative Agency CSS */

/* CSS Custom Properties - The Refraction Spectrum */
:root {
    /* Core Colors */
    --cream-canvas: #FFFCF8;
    --electric-coral: #FF5A5F;
    --acid-green: #D2FF00;
    --hyper-violet: #8A4FFF;
    --sky-blue: #00C2FF;
    --deep-midnight: #1A1A2E;

    /* Typography */
    --font-fraunces: 'Fraunces', serif;
    --font-outfit: 'Outfit', sans-serif;

    /* Organic Values */
    --blob-curve: 50% 40% 60% 30% / 40% 50% 60% 50%;
    --squircle-curve: 30%;
    --organic-ease: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --liquid-ease: cubic-bezier(0.23, 1, 0.32, 1);

    /* Timing */
    --quick-bounce: 0.6s var(--organic-ease);
    --slow-liquid: 1.2s var(--liquid-ease);
    --jelly-squish: 0.3s var(--organic-ease);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-outfit);
    background: var(--cream-canvas);
    color: var(--deep-midnight);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Jelly Cursor System */
.jelly-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--electric-coral), var(--hyper-violet));
    border-radius: var(--blob-curve);
    pointer-events: none;
    z-index: 10000;
    transition: transform var(--jelly-squish);
    animation: jellyWiggle 3s ease-in-out infinite;
    mix-blend-mode: difference;
}

.jelly-cursor.hover {
    transform: scale(1.5);
    background: radial-gradient(circle, var(--acid-green), var(--sky-blue));
}

@keyframes jellyWiggle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(0.95) rotate(-3deg); }
    75% { transform: scale(1.05) rotate(2deg); }
}

/* Color Wave Transitions */
.color-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
}

.coral-wave {
    background: linear-gradient(45deg, var(--electric-coral), transparent);
}

.violet-wave {
    background: linear-gradient(45deg, var(--hyper-violet), transparent);
}

.green-wave {
    background: linear-gradient(45deg, var(--acid-green), transparent);
}

/* Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 1000;
    transition: all var(--quick-bounce);
}

.floating-nav:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 20px 40px rgba(138, 79, 255, 0.2);
}

.nav-brand {
    font-family: var(--font-fraunces);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--electric-coral), var(--hyper-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--deep-midnight);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--jelly-squish);
    position: relative;
}

.nav-link:hover {
    color: var(--hyper-violet);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--electric-coral);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--deep-midnight);
    border-radius: 2px;
    transition: all var(--jelly-squish);
}

/* Hero Section - The Big Bang */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Initial Dense Cluster */
.blob-cluster {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    transition: all var(--slow-liquid);
}

.blob-cluster.exploded {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0.3;
}

.blob {
    position: absolute;
    border-radius: var(--blob-curve);
    opacity: 0.8;
    filter: blur(30px);
    animation: blobPulse 4s ease-in-out infinite;
}

.blob-coral {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--electric-coral), transparent);
    top: 0;
    left: 100px;
    animation-delay: 0s;
}

.blob-green {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--acid-green), transparent);
    top: 150px;
    left: 0;
    animation-delay: 1s;
}

.blob-violet {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--hyper-violet), transparent);
    top: 100px;
    right: 0;
    animation-delay: 2s;
}

.blob-sky {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    bottom: 0;
    left: 150px;
    animation-delay: 3s;
}

.blob-coral-large {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--electric-coral), transparent);
    top: -50px;
    left: 200px;
    animation-delay: 0.5s;
}

.blob-green-small {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--acid-green), transparent);
    bottom: 50px;
    right: 50px;
    animation-delay: 1.5s;
}

.blob-violet-medium {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--hyper-violet), transparent);
    top: 200px;
    right: 100px;
    animation-delay: 2.5s;
}

.blob-sky-large {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    bottom: -30px;
    left: 50px;
    animation-delay: 3.5s;
}

.blob-coral-medium {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--electric-coral), transparent);
    top: 250px;
    left: 180px;
    animation-delay: 4s;
}

.blob-green-large {
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, var(--acid-green), transparent);
    top: 50px;
    right: 180px;
    animation-delay: 4.5s;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* Hero Content */
.hero-content {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--slow-liquid);
}

.hero-content.visible {
    opacity: 1;
    transform: scale(1);
}

.hero-title {
    font-family: var(--font-fraunces);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    transition: all var(--quick-bounce);
}

.title-line.accent {
    background: linear-gradient(135deg, var(--electric-coral), var(--hyper-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--deep-midnight);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Squish Buttons */
.squish-btn {
    background: linear-gradient(135deg, var(--electric-coral), var(--hyper-violet));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--squircle-curve);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: transform var(--jelly-squish);
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3);
}

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

.squish-btn:active {
    transform: scale(0.95);
}

.btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Organic Background */
.organic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bloom-effect {
    position: absolute;
    border-radius: var(--blob-curve);
    opacity: 0.1;
    filter: blur(60px);
    animation: bloomFloat 15s ease-in-out infinite;
}

.coral-bloom {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--electric-coral), transparent);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.green-bloom {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--acid-green), transparent);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.violet-bloom {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--hyper-violet), transparent);
    top: 60%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes bloomFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    font-family: var(--font-fraunces);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--acid-green), var(--sky-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-fraunces);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--deep-midnight);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--deep-midnight);
    opacity: 0.7;
}

/* Portfolio Section - Ink Blot */
.portfolio-section {
    padding: 8rem 2rem;
    background: var(--cream-canvas);
}

.ink-blot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    grid-auto-flow: dense;
}

.project-card {
    background: white;
    border-radius: var(--squircle-curve);
    overflow: hidden;
    position: relative;
    cursor: none;
    transition: transform var(--quick-bounce);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Asymmetrical Grid Sizes */
.project-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card.medium-tall {
    grid-row: span 2;
}

.project-card.wide {
    grid-column: span 2;
}

.project-card.medium {
    grid-row: span 1;
}

.project-card.small {
    grid-row: span 1;
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.ink-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter var(--slow-liquid);
}

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

.bloom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--slow-liquid);
    pointer-events: none;
}

.project-card:hover .bloom-overlay {
    opacity: 1;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--bloom-color, var(--electric-coral)) 0%,
                transparent 50%);
    animation: inkBloom 1s ease-out;
}

@keyframes inkBloom {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0.6;
    }
}

.project-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.project-info h4 {
    font-family: var(--font-fraunces);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-midnight);
    margin-bottom: 0.5rem;
}

.project-category {
    color: var(--hyper-violet);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.project-info p {
    color: var(--deep-midnight);
    opacity: 0.8;
    line-height: 1.5;
}

.load-more-btn {
    margin: 4rem auto 0;
    display: block;
    background: transparent;
    border: 2px solid var(--hyper-violet);
    color: var(--hyper-violet);
}

.load-more-btn:hover {
    background: var(--hyper-violet);
    color: white;
}

/* Services Section - Interactive Prism */
.services-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--cream-canvas) 0%, rgba(255, 252, 248, 0.9) 100%);
    position: relative;
}

.prism-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.glass-pillar {
    flex: 1;
    min-height: 500px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--squircle-curve);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--quick-bounce);
    cursor: none;
}

.glass-pillar:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--pillar-color, var(--electric-coral));
}

.glass-pillar::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg,
                transparent,
                var(--pillar-color, var(--electric-coral)),
                transparent);
    opacity: 0;
    transition: opacity var(--slow-liquid);
    animation: refractLight 3s ease-in-out infinite;
}

.glass-pillar:hover::before {
    opacity: 0.3;
}

@keyframes refractLight {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-30%, -30%) rotate(180deg);
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--pillar-color, var(--electric-coral)), var(--hyper-violet));
    border-radius: var(--blob-curve);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    transition: all var(--quick-bounce);
}

.glass-pillar:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.glass-pillar h4 {
    font-family: var(--font-fraunces);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-midnight);
    margin-bottom: 1rem;
}

.glass-pillar p {
    color: var(--deep-midnight);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--deep-midnight);
    opacity: 0.9;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.service-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--pillar-color, var(--electric-coral));
    font-weight: 700;
}

/* Team Section - Kaleidoscope */
.team-section {
    padding: 8rem 2rem;
    background: var(--cream-canvas);
}

.kaleidoscope-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--squircle-curve);
}

.kaleidoscope-carousel {
    display: flex;
    gap: 3rem;
    animation: kaleidoscopeRotate 20s linear infinite;
    padding: 2rem;
}

.kaleidoscope-container:hover .kaleidoscope-carousel {
    animation-play-state: paused;
}

@keyframes kaleidoscopeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.kaleidoscope-member {
    flex: 0 0 300px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--squircle-curve);
    overflow: hidden;
    transition: all var(--quick-bounce);
    cursor: none;
}

.kaleidoscope-member:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(138, 79, 255, 0.3);
}

.member-kaleidoscope {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--slow-liquid);
}

.kaleidoscope-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg at 50% 50%,
                var(--electric-coral), var(--acid-green),
                var(--sky-blue), var(--hyper-violet),
                var(--electric-coral));
    opacity: 0.3;
    mix-blend-mode: multiply;
    animation: kaleidoscopeShift 4s ease-in-out infinite;
}

@keyframes kaleidoscopeShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.kaleidoscope-member:hover .kaleidoscope-filter {
    opacity: 0;
}

.kaleidoscope-member:hover .member-image {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h4 {
    font-family: var(--font-fraunces);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-midnight);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--hyper-violet);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.member-info p {
    color: var(--deep-midnight);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--electric-coral), var(--hyper-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--jelly-squish);
    font-size: 1.1rem;
}

.member-social a:hover {
    transform: scale(1.2) rotate(360deg);
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--cream-canvas) 0%, rgba(255, 252, 248, 0.95) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.organic-form {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--squircle-curve);
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--deep-midnight);
    font-family: var(--font-fraunces);
}

.organic-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: var(--squircle-curve);
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-outfit);
    font-size: 1rem;
    transition: all var(--quick-bounce);
    color: var(--deep-midnight);
}

.organic-input:focus {
    outline: none;
    border-color: var(--hyper-violet);
    background: white;
    transform: scale(1.02);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--acid-green), var(--sky-blue));
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--squircle-curve);
    transition: all var(--quick-bounce);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(138, 79, 255, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--blob-curve);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all var(--quick-bounce);
}

.coral-icon {
    background: linear-gradient(135deg, var(--electric-coral), var(--hyper-violet));
}

.green-icon {
    background: linear-gradient(135deg, var(--acid-green), var(--sky-blue));
}

.violet-icon {
    background: linear-gradient(135deg, var(--hyper-violet), var(--electric-coral));
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-item h4 {
    font-family: var(--font-fraunces);
    font-weight: 700;
    color: var(--deep-midnight);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--deep-midnight);
    opacity: 0.8;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--deep-midnight);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .vibrant-logo {
    font-family: var(--font-fraunces);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--electric-coral), var(--acid-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--jelly-squish);
    position: relative;
}

.footer-link:hover {
    color: var(--acid-green);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .prism-container {
        flex-direction: column;
        align-items: center;
    }

    .glass-pillar {
        width: 100%;
        max-width: 400px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .ink-blot-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large,
    .project-card.wide {
        grid-column: span 1;
    }

    .project-card.large,
    .project-card.medium-tall {
        grid-row: span 1;
    }

    .kaleidoscope-carousel {
        flex-direction: column;
        align-items: center;
        animation: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        top: 1rem;
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .squish-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}