/* ============================================
   YAMI LÖFVENBERG PORTFOLIO
   Bold. Rowdy. Professional.
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Core palette - bold & dramatic */
    --black: #0a0a0a;
    --white: #f5f0eb;
    --cream: #f5f0eb;
    --warm-white: #faf7f3;
    --dark: #111111;
    --dark-surface: #1a1a1a;
    
    /* Accent colors - vibrant & theatrical */
    --accent: #e63946;
    --accent-light: #ff6b6b;
    --accent-dark: #c1121f;
    --gold: #d4a373;
    --gold-light: #e6c9a8;
    --electric: #7209b7;
    --electric-light: #9d4edd;
    
    /* Text */
    --text-primary: #f5f0eb;
    --text-secondary: rgba(245, 240, 235, 0.7);
    --text-muted: rgba(245, 240, 235, 0.4);
    --text-dark: #1a1a1a;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Space Grotesk', 'Inter', sans-serif;
    --font-accent: 'Inter', sans-serif;
    
    /* Spacing */
    --section-pad: clamp(80px, 12vw, 160px);
    --container-width: 1320px;
    --container-pad: clamp(20px, 4vw, 60px);
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Borders */
    --border: rgba(245, 240, 235, 0.1);
    --border-light: rgba(245, 240, 235, 0.06);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--dark);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Restore default cursor on mobile/touch */
@media (hover: none) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

::selection {
    background: var(--accent);
    color: var(--white);
}

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

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

button {
    cursor: none;
    font-family: inherit;
}

@media (hover: none) {
    a, button { cursor: auto; }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ---- Custom Cursor ---- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s;
    opacity: 0.5;
}

.cursor-hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.15);
}

.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent-light);
    opacity: 0.8;
}

/* ---- Loader ---- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    display: flex;
    gap: 4px;
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px;
}

.loader-text span {
    display: inline-block;
    animation: loaderLetter 1.5s var(--ease-out-expo) infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }

@keyframes loaderLetter {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
}

.loader-line {
    width: 120px;
    height: 2px;
    background: var(--dark-surface);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: loaderLine 1s var(--ease-in-out) infinite;
}

@keyframes loaderLine {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* Mobile Loader Fix */
@media (max-width: 480px) {
    .loader-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
    }
    
    .loader-text {
        justify-content: center;
        width: 100%;
    }
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.3);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 800;
    padding: 12px 0;
    transition: color 0.3s;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-menu.active .mobile-menu-link {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-link:hover {
    color: var(--accent);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-image {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) saturate(1.2);
    transition: transform 10s linear;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.1) 40%,
        rgba(10, 10, 10, 0.6) 80%,
        rgba(10, 10, 10, 1) 100%
    );
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='https://i.ytimg.com/vi/1bYAwpPPD6U/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLB-IJQYX4P5zM2brEmb-d30rVAufQ id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    padding-top: 120px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero-tag-line {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--accent);
}

.hero-tag-text {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 10vw, 130px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    overflow: hidden;
}

.hero-word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.2em;
}

.hero-word-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: heroWordReveal 1s var(--ease-out-expo) forwards;
}

.hero-word:nth-child(1) .hero-word-inner { animation-delay: 0.4s; }
.hero-word:nth-child(2) .hero-word-inner { animation-delay: 0.55s; }
.hero-word:nth-child(3) .hero-word-inner { animation-delay: 0.7s; }
.hero-word:nth-child(4) .hero-word-inner { animation-delay: 0.85s; }
.hero-word:nth-child(5) .hero-word-inner { animation-delay: 1s; }

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

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1s forwards;
}

/* Mobile Hero Animations */
@media (max-width: 768px) {
    /* Tag animation on mobile */
    .hero-tag {
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInFromLeft 0.6s var(--ease-out-expo) 0.2s forwards;
    }
    
    @keyframes slideInFromLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Subtle earthquake/wobble effect for headline on mobile */
    .hero-title {
        animation: subtleWobble 8s ease-in-out infinite;
        animation-delay: 2s;
    }
    
    @keyframes subtleWobble {
        0%, 90%, 100% { transform: translate(0, 0) rotate(0deg); }
        91% { transform: translate(0.5px, -0.5px) rotate(0.1deg); }
        92% { transform: translate(-0.3px, 0.5px) rotate(-0.1deg); }
        93% { transform: translate(0.5px, 0.3px) rotate(0.05deg); }
        94% { transform: translate(-0.5px, -0.3px) rotate(-0.05deg); }
        95% { transform: translate(0.3px, -0.5px) rotate(0.1deg); }
        96% { transform: translate(-0.3px, 0.3px) rotate(-0.05deg); }
        97% { transform: translate(0, 0) rotate(0deg); }
    }
    
    /* Individual word micro-movements */
    .hero-word:nth-child(odd) .hero-word-inner {
        animation: heroWordReveal 1s var(--ease-out-expo) forwards,
                   microShake1 6s ease-in-out infinite 3s;
    }
    
    .hero-word:nth-child(even) .hero-word-inner {
        animation: heroWordReveal 1s var(--ease-out-expo) forwards,
                   microShake2 7s ease-in-out infinite 3.5s;
    }
    
    @keyframes microShake1 {
        0%, 95%, 100% { transform: translateY(0) translateX(0); }
        96% { transform: translateY(-0.5px) translateX(0.3px); }
        97% { transform: translateY(0.3px) translateX(-0.3px); }
        98% { transform: translateY(-0.3px) translateX(0.2px); }
        99% { transform: translateY(0) translateX(0); }
    }
    
    @keyframes microShake2 {
        0%, 95%, 100% { transform: translateY(0) translateX(0); }
        96% { transform: translateY(0.3px) translateX(-0.3px); }
        97% { transform: translateY(-0.5px) translateX(0.2px); }
        98% { transform: translateY(0.2px) translateX(0.3px); }
        99% { transform: translateY(0) translateX(0); }
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    padding: 16px 36px;
    border: 2px solid var(--accent);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero-cta:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.35);
}

.hero-cta i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.hero-cta:hover i {
    transform: translate(3px, 3px);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: var(--container-pad);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 1.5s forwards;
}

.hero-scroll span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-lr;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---- Marquee ---- */
.marquee {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--dark);
    max-width: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    font-style: italic;
    padding: 0 24px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.marquee-dot {
    color: var(--accent);
    font-size: 10px;
    flex-shrink: 0;
}

@keyframes marquee {
    to { transform: translateX(-33.333%); }
}

/* ---- Sections ---- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-number {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.section-label-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-header {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

/* ---- About Section ---- */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    margin-bottom: 28px;
    line-height: 1.1;
}

.about-text {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--white);
    font-weight: 600;
}

.about-text em {
    color: var(--accent-light);
    font-style: italic;
}

/* Mobile Read More functionality */
@media (max-width: 768px) {
    .about-text-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    /* Default: text is collapsed on mobile (3 lines max) */
    .about-text {
        position: relative;
        line-height: 1.8;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        order: 1;
        max-height: 5.4em; /* 3 lines at 1.8 line-height */
        overflow: hidden;
    }
    
    /* Expanded state - when .is-collapsed class is removed by JS */
    .about-text.is-expanded,
    #aboutText:not(.is-collapsed) {
        max-height: 3000px;
        overflow: visible;
    }
    
    /* Gradient fade at bottom when collapsed */
    .about-text.is-collapsed::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, transparent, var(--dark) 95%);
        pointer-events: none;
    }
    
    /* Remove fade when expanded */
    .about-text:not(.is-collapsed)::after {
        display: none;
    }
    
    /* Specialties - comes after button in DOM but hidden when collapsed */
    .about-specialties {
        order: 3;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    }
    
    /* Show specialties when text is expanded */
    .about-text:not(.is-collapsed) ~ .about-specialties {
        max-height: 500px;
        opacity: 1;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    
    /* Read more button - position between text and specialties */
    .about-read-more-btn {
        order: 2;
        margin-top: 8px;
    }
    
    /* Less prominent read more button */
    .about-read-more-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
        transition: color 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .about-read-more-btn:hover,
    .about-read-more-btn:active,
    .about-read-more-btn:focus {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--accent);
        outline: none;
    }
    
    .about-read-more-btn span {
        background: transparent !important;
    }
    
    .about-read-more-btn i {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        background: transparent !important;
    }
    
    .about-read-more-btn.is-expanded i {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .about-read-more-btn {
        display: none;
    }
}

.about-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.specialty-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out-expo);
}

.specialty-tag:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(230, 57, 70, 0.08);
}

/* ---- Work / Portfolio Section ---- */
.work {
    background: var(--black);
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.filter-btn {
    padding: 10px 28px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s var(--ease-out-expo);
    cursor: none;
}

@media (hover: none) {
    .filter-btn { cursor: pointer; }
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark-surface);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out-expo);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(230, 57, 70, 0.15);
}

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

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.work-card:hover .work-card-image img {
    transform: scale(1.08);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.work-card-year {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-light);
}

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

.work-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.work-card-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.work-card-role {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 4px;
}

.work-card-venue {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.work-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hidden cards (filter) */
.work-card.hidden {
    display: none;
}

/* ---- Portfolio Filter Animations ---- */
.work-card {
    transition: opacity 0.5s var(--ease-out-expo), 
                transform 0.5s var(--ease-out-expo),
                border-color 0.4s, box-shadow 0.4s;
}

.work-card.animating-in {
    animation: cardBreatheIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes cardBreatheIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.work-card.animating-out {
    animation: cardBreatheOut 0.4s var(--ease-out-expo) forwards;
}

@keyframes cardBreatheOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
}

/* ---- Mobile Stacked Cards ---- */
.work-cards-mobile {
    display: none;
    position: relative;
    padding: 10px 0 20px;
    -webkit-tap-highlight-color: transparent;
}

.work-cards-stack {
    position: relative;
    height: 380px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    touch-action: pan-y;
    margin-bottom: 20px;
}

.work-card-mobile {
    position: absolute;
    top: 0;
    left: 50%;
    width: 85%;
    max-width: 300px;
    -webkit-transform: translateX(-50%) translateY(calc(var(--card-index) * 8px)) scale(calc(1 - var(--card-index) * 0.03));
    -ms-transform: translateX(-50%) translateY(calc(var(--card-index) * 8px)) scale(calc(1 - var(--card-index) * 0.03));
    transform: translateX(-50%) translateY(calc(var(--card-index) * 8px)) scale(calc(1 - var(--card-index) * 0.03));
    background: var(--dark-surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    -webkit-transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    opacity: calc(1 - var(--card-index) * 0.2);
    z-index: calc(100 - var(--card-index));
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.work-card-mobile.active {
    -webkit-transform: translateX(-50%) translateY(0) scale(1) rotate(0deg) !important;
    -ms-transform: translateX(-50%) translateY(0) scale(1) rotate(0deg) !important;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg) !important;
    opacity: 1;
    z-index: 200;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 57, 70, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 57, 70, 0.2);
}

.work-card-mobile.exiting {
    -webkit-transform: translateX(-120%) translateY(0) rotate(-15deg) scale(0.9) !important;
    -ms-transform: translateX(-120%) translateY(0) rotate(-15deg) scale(0.9) !important;
    transform: translateX(-120%) translateY(0) rotate(-15deg) scale(0.9) !important;
    opacity: 0;
}

.work-card-mobile-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.work-card-mobile-year {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.work-card-mobile-content {
    padding: 20px;
}

.work-card-mobile-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.work-card-mobile-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.work-card-mobile-role {
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 2px;
}

.work-card-mobile-venue {
    font-size: 12px;
    color: var(--text-muted);
}

.work-cards-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.work-cards-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--dark-surface);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.work-cards-nav-btn:active {
    background: var(--accent);
    border-color: var(--accent);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

.work-cards-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.work-cards-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.work-cards-dot.active {
    background: var(--accent);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

/* Shuffle animation for filter change */
.work-card-mobile.shuffling {
    -webkit-animation: cardShuffle 0.5s ease-in-out;
    animation: cardShuffle 0.5s ease-in-out;
}

@keyframes cardShuffle {
    0% { transform: translateX(-50%) translateY(var(--current-y)) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(-20px) rotate(5deg) scale(0.95); }
    100% { transform: translateX(-50%) translateY(var(--new-y)) rotate(0deg); }
}

/* ---- Testimonials Section ---- */
.testimonials {
    background: var(--dark);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: clamp(28px, 3vw, 40px);
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 900;
    color: var(--accent);
    line-height: 0.8;
    opacity: 0.3;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-size: clamp(15px, 1.3vw, 17px);
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Mobile testimonials - brighter text */
@media (max-width: 768px) {
    .testimonial-quote {
        color: rgba(255, 255, 255, 0.95);
        font-size: 16px;
        line-height: 1.6;
    }
    
    .testimonial-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-author-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.testimonial-author-role {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.testimonial-production {
    display: block;
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 4px;
}

/* ---- Testimonials Carousel ---- */
.testimonials-carousel-container {
    position: relative;
}

.testimonials-carousel {
    position: relative;
    overflow: visible;
}

.testimonials-track {
    display: flex;
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 20px;
    opacity: 0.3;
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide.active {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/* Fade transition variant */
.testimonials-carousel-container[data-transition="fade"] .testimonials-track {
    display: block;
    position: relative;
}

.testimonials-carousel-container[data-transition="fade"] .testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    -webkit-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.testimonials-carousel-container[data-transition="fade"] .testimonial-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.testimonial-slide .testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--dark-surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: var(--text-muted);
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Author Image in Carousel */
.testimonial-author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    margin-right: 16px;
}

/* Touch/Swipe indicator */
.testimonials-carousel::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    opacity: 0.5;
}

@media (hover: none) {
    .testimonials-carousel::after {
        display: block;
    }
    .carousel-arrow {
        display: none;
    }
}

/* ---- Contact Section ---- */
.contact {
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-item i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-info-item h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: var(--accent-light);
}

.contact-socials {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-expo);
}

.social-link i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.social-link:hover {
    border-color: var(--accent);
    background: rgba(230, 57, 70, 0.1);
    transform: translateY(-3px);
}

.social-link:hover i {
    color: var(--accent-light);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 20px;
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: none;
}

@media (hover: none) {
    .btn { cursor: pointer; }
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.3);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 15px;
}

.btn i {
    width: 18px;
    height: 18px;
}

.form-status {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    display: block;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--accent-light);
}

/* ---- Footer ---- */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-top:hover {
    color: var(--accent);
}

.footer-top i {
    width: 16px;
    height: 16px;
}

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered animation classes */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop grid, show mobile cards */
    .work-grid {
        display: none !important;
    }
    
    .work-cards-mobile {
        display: block !important;
        padding: 10px 0 30px;
        position: relative;
        width: 100%;
    }
    
    .work-cards-stack {
        position: relative;
        height: 420px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Mobile card deck styling */
    .work-card-mobile {
        position: absolute;
        top: 0;
        left: 50%;
        width: 90%;
        max-width: 340px;
        transform: translateX(-50%);
        background: var(--dark-surface);
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid var(--border);
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        will-change: transform, opacity;
    }
    
    .work-card-mobile.active {
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg) !important;
        opacity: 1;
        z-index: 200;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 57, 70, 0.2);
    }
    
    .work-card-mobile.exiting {
        transform: translateX(-150%) translateY(0) rotate(-20deg) scale(0.8) !important;
        opacity: 0;
    }
    
    /* Card reshuffle animation */
    .work-card-mobile.reshuffle {
        animation: cardReshuffle 0.6s ease-in-out;
    }
    
    @keyframes cardReshuffle {
        0% { transform: translateX(-50%) translateY(var(--current-y, 0)) scale(var(--current-scale, 1)) rotate(0deg); }
        25% { transform: translateX(-50%) translateY(-30px) scale(0.95) rotate(3deg); }
        50% { transform: translateX(-50%) translateY(10px) scale(0.98) rotate(-2deg); }
        75% { transform: translateX(-50%) translateY(-10px) scale(0.99) rotate(1deg); }
        100% { transform: translateX(-50%) translateY(0) scale(1) rotate(0deg); }
    }
    
    /* Navigation */
    .work-cards-nav {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 15px 0;
        position: relative;
        z-index: 10;
    }
    
    .work-cards-nav-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid var(--border);
        background: var(--dark-surface);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    
    .work-cards-nav-btn:active {
        background: var(--accent);
        border-color: var(--accent);
        transform: scale(0.95);
    }
    
    .work-cards-dots {
        display: flex !important;
        gap: 10px;
        align-items: center;
    }
    
    .work-cards-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }
    
    .work-cards-dot.active {
        background: var(--accent);
        transform: scale(1.3);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Carousel adjustments for mobile */
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: -10px;
    }
    
    .carousel-next {
        right: -10px;
    }
    
    .testimonials-carousel {
        overflow: hidden;
        padding: 0 10px;
    }
    
    .testimonial-slide {
        padding: 0 5px;
        min-width: 100%;
    }
    
    .testimonial-slide .testimonial-card {
        padding: 24px 20px;
        min-height: auto;
    }
    
    /* Mobile testimonials brighter */
    .testimonial-quote {
        color: rgba(255, 255, 255, 0.95);
        font-size: 16px;
        line-height: 1.6;
    }
    
    .testimonial-quote-mark {
        font-size: 60px;
        opacity: 0.4;
    }
    
    /* Mobile carousel dots more visible */
    .carousel-dots {
        margin-top: 24px;
        gap: 12px;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .carousel-dot.active {
        background: var(--accent);
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
    
    .work-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}
