/*
 * ENZO CREATIVE - Design System
 * Inspired by Apple, Anthropic, and top photographer portfolios
 * Principles: Minimalism, Whitespace, Typography, Motion
 */

/* ========================================
   CSS Variables & Design Tokens
======================================== */
:root {
    /* Colors - Refined Dark Theme */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #141414;
    --color-bg-subtle: #1a1a1a;
    --color-surface: #1f1f1f;

    --color-text-primary: #fafafa;
    --color-text-secondary: rgba(250, 250, 250, 0.7);
    --color-text-tertiary: rgba(250, 250, 250, 0.4);

    --color-accent: #e8e8e8;
    --color-accent-warm: #d4a574;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* Typography - System Font Stack */
    --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    /* Fluid Typography Scale - 手机端已有 clamp 下限保护 */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
    --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --text-3xl: clamp(2.5rem, 2rem + 3vw, 5rem);
    --text-4xl: clamp(3.5rem, 2.5rem + 5vw, 8rem);

    /* Spacing Scale */
    --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
    --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    --space-lg: clamp(1.5rem, 1rem + 2.5vw, 3rem);
    --space-xl: clamp(2rem, 1.5rem + 3vw, 5rem);
    --space-2xl: clamp(4rem, 3rem + 5vw, 8rem);
    --space-3xl: clamp(6rem, 4rem + 8vw, 12rem);

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;
    --site-margin: clamp(1.5rem, 3vw, 5rem);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.4s;
    --duration-slow: 0.8s;

    /* Effects */
    --blur-sm: 8px;
    --blur-md: 20px;
    --blur-lg: 40px;
}

/* ========================================
   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;
}

/* ========================================
   自定义滚动条 - 暗色主题
======================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* ========================================
   GPU Acceleration & Performance
   注意：will-change 仅在 hover/active 状态使用
   避免全局设置导致内存泄漏
======================================== */
.nav,
.lightbox {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.marquee__content {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* will-change 仅在 hover 时激活 */
.service-card:hover,
.showcase__item:hover,
.featured__item:hover,
.gallery-grid__item:hover,
.card:hover {
    will-change: transform;
}

.btn-artistic:hover,
.btn--primary:hover,
.btn--outline:hover {
    will-change: transform;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* ========================================
   页面入场渐现效果 - 统一所有页面
======================================== */
@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageEnter 0.6s var(--ease-out) both;
}

::selection {
    background: rgba(255, 255, 255, 0.15);
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* ========================================
   Typography
======================================== */
.text-display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.text-headline {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

.text-caption {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Layout Components
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--site-margin);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--full {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--site-margin);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--duration-base) var(--ease-out),
                backdrop-filter var(--duration-base) var(--ease-out);
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
}

.nav__logo {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.nav__logo:hover {
    opacity: 0.7;
}

.nav__menu {
    display: flex;
    gap: var(--space-lg);
}

/* 导航链接 - 下划线从中心展开 */
.nav__link {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
    padding-bottom: 2px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--color-text-primary);
    transition: left var(--duration-base) var(--ease-out),
                right var(--duration-base) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
    left: 0;
    right: 0;
}

/* 汉堡菜单按钮 - 确保 44x44px 触摸区域 */
.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: transform var(--duration-base) var(--ease-out),
                opacity var(--duration-base) var(--ease-out);
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);  /* 移动端间距更大 */
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base) var(--ease-out);
}

.nav-overlay--active {
    opacity: 1;
    visibility: visible;
}

/* 移动端菜单链接 - 更大点击区域 */
.nav-overlay__link {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    padding: 0.75rem 2rem;  /* 增大点击区域 */
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-overlay__link:hover {
    color: var(--color-text-primary);
    transform: translateX(4px);
}

.nav-overlay__close {
    position: absolute;
    top: var(--space-md);
    right: var(--site-margin);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

    .nav__toggle {
        display: flex;
    }
}

/* ========================================
   滚动入场动画 - CSS keyframes 实现
   取代 JS 内联样式，使用 animation-fill-mode: both
======================================== */

/* 基础入场动画 keyframes */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes revealScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 可观测动画类 - JS 添加 .is-visible 触发 */
.reveal {
    opacity: 0;
}

.reveal.is-visible {
    animation: revealUp 0.7s var(--ease-out) both;
}

.reveal--fade.is-visible {
    animation: revealFade 0.7s var(--ease-out) both;
}

.reveal--scale.is-visible {
    animation: revealScale 0.6s var(--ease-out) both;
}

/* 延迟梯度 - 用于 stagger 效果 */
.reveal[data-delay="1"] { animation-delay: 0.1s; }
.reveal[data-delay="2"] { animation-delay: 0.2s; }
.reveal[data-delay="3"] { animation-delay: 0.3s; }
.reveal[data-delay="4"] { animation-delay: 0.4s; }
.reveal[data-delay="5"] { animation-delay: 0.5s; }
.reveal[data-delay="6"] { animation-delay: 0.6s; }

/* ========================================
   Hero Section (通用)
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-3xl) var(--site-margin);
    position: relative;
    overflow: hidden;
}

.hero__content {
    max-width: 1000px;
    z-index: 1;
}

.hero__eyebrow {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-md);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: var(--space-lg);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.5;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-tertiary);
    animation: floatSmooth 3s ease-in-out infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text-tertiary), transparent);
}

@keyframes floatSmooth {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   Featured Work Grid
======================================== */
.featured {
    padding: var(--space-3xl) 0;
}

.featured__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.featured__title {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.featured__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-sm);
    padding: 0 var(--site-margin);
}

.featured__item {
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    cursor: pointer;
}

.featured__item::before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.featured__item--wide {
    grid-column: span 8;
}

.featured__item--wide::before {
    padding-bottom: 56.25%;
}

.featured__item--tall {
    grid-column: span 4;
    grid-row: span 2;
}

.featured__item--tall::before {
    padding-bottom: 200%;
}

.featured__item--medium {
    grid-column: span 4;
}

.featured__item--medium::before {
    padding-bottom: 120%;
}

.featured__item--square {
    grid-column: span 6;
}

.featured__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.featured__item:hover img {
    transform: scale(1.03);
}

.featured__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease-out;
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.featured__item:hover .featured__item-overlay {
    opacity: 1;
}

.featured__item-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.featured__item-info span {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .featured__grid {
        grid-template-columns: 1fr;
    }

    .featured__item--wide,
    .featured__item--tall,
    .featured__item--medium,
    .featured__item--square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .featured__item--wide::before,
    .featured__item--tall::before,
    .featured__item--medium::before {
        padding-bottom: 75%;
    }
}

/* ========================================
   Gallery Page
======================================== */
.gallery-hero {
    padding: calc(100px + var(--space-2xl)) var(--site-margin) var(--space-2xl);
    text-align: center;
}

.gallery-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.gallery-hero__subtitle {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
}

/* Filter - 手机端横向滚动不换行 */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--site-margin);
    position: sticky;
    top: 70px;
    z-index: 100;
    background: var(--color-bg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* 隐藏滚动条但保留功能 */
    scrollbar-width: none;
}

.gallery-filter::-webkit-scrollbar {
    display: none;
}

.gallery-filter__btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.gallery-filter__btn:hover {
    color: var(--color-text-secondary);
    border-color: var(--color-border-hover);
    transform: scale(1.04);
}

.gallery-filter__btn--active {
    color: var(--color-bg);
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

/* Gallery Grid - CSS Grid 布局 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.5rem, 1vw, 1rem);
    padding: var(--space-lg) var(--site-margin);
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: #111;
}

/* 宽幅变体 - 横版图片 */
.gallery-grid__item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* 筛选隐藏 - grid 自动回流 */
.gallery-grid__item.is-hidden {
    display: none;
}

/* 入场动画 */
.gallery-grid__item.animate-in {
    animation: revealScale 0.5s var(--ease-out) both;
}

/* 图片填充 + 灰度滤镜 */
.gallery-grid__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease-out;
}

.gallery-grid__item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* 底部渐变 + 分类标签 */
.gallery-grid__item::before {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1rem, 2vw, 2rem);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.gallery-grid__item:hover::before {
    transform: translateY(0);
    opacity: 1;
}

/* 光扫效果 - 与 showcase 一致 */
.gallery-grid__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 60%
    );
    z-index: 2;
    transform: translateX(-150%);
    transition: none;
    pointer-events: none;
}

.gallery-grid__item:hover::after {
    transform: translateX(150%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .gallery-grid__item--wide {
        grid-column: span 2;
    }

    /* 手机端常驻显示分类标签 */
    .gallery-grid__item::before {
        transform: translateY(0);
        opacity: 1;
    }

    .gallery-filter {
        justify-content: flex-start;
        padding: var(--space-sm) var(--site-margin);
    }
}

/* ========================================
   Lightbox - 缩放 + 淡入动画
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base) var(--ease-out);
}

.lightbox--active {
    opacity: 1;
    visibility: visible;
}

@keyframes lightboxImageIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lightboxSlideLeft {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes lightboxSlideRight {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox--active .lightbox__content img {
    animation: lightboxImageIn 0.4s var(--ease-out) both;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__content img.slide-next {
    animation: lightboxSlideLeft 0.35s var(--ease-out) both;
}

.lightbox__content img.slide-prev {
    animation: lightboxSlideRight 0.35s var(--ease-out) both;
}

/* Lightbox 按钮 - 手机端更大 */
.lightbox__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.lightbox__close:hover {
    color: var(--color-text-primary);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.lightbox__nav:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%) scale(1.08);
}

.lightbox__nav--prev { left: var(--space-lg); }
.lightbox__nav--next { right: var(--space-lg); }

@media (max-width: 768px) {
    .lightbox__nav {
        width: 52px;
        height: 52px;
    }

    .lightbox__nav--prev { left: 0.75rem; }
    .lightbox__nav--next { right: 0.75rem; }

    .lightbox__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   About Section
======================================== */
.about {
    padding: var(--space-3xl) var(--site-margin);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.about__text h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.about__text p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about__content {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }
}

/* ========================================
   Stats Section
======================================== */
.stats {
    padding: var(--space-2xl) var(--site-margin);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.stats__item-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xs);
}

.stats__item-label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: var(--space-3xl) var(--site-margin);
    text-align: center;
}

.cta__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.cta__subtitle {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

/* ========================================
   Buttons - 加入 scale 微反馈
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--duration-fast) var(--ease-out);
    min-height: 44px;  /* 触摸友好 */
}

.btn--primary {
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.btn--primary:hover {
    background: var(--color-text-secondary);
    transform: translateY(-2px) scale(1.02);
}

.btn--outline {
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn--outline:hover {
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.btn--ghost {
    color: var(--color-text-secondary);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.btn--ghost:hover {
    color: var(--color-text-primary);
    transform: scale(1.1);
}

/* ========================================
   Cards
======================================== */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: border-color 0.3s ease-out, transform 0.35s ease-out;
}

.card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.card__content {
    padding: var(--space-lg);
}

.card__tag {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-warm);
    margin-bottom: var(--space-sm);
}

.card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.card__meta {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* ========================================
   Work Grid
======================================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: 0 var(--site-margin);
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: var(--space-2xl) var(--site-margin);
    border-top: 1px solid var(--color-border);
}

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

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
}

.footer__nav {
    display: flex;
    gap: var(--space-lg);
}

.footer__link {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    transition: color var(--duration-fast) var(--ease-out);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer__link:hover {
    color: var(--color-text-primary);
}

.footer__copy {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

/* 手机端 footer 居中 */
@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
        align-items: center;
    }

    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   Contact Page
======================================== */
.contact {
    padding: calc(100px + var(--space-2xl)) var(--site-margin) var(--space-3xl);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact__info h1 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.contact__info p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.contact__detail {
    margin-bottom: var(--space-lg);
}

.contact__detail-label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-xs);
}

.contact__detail-value {
    font-size: var(--text-lg);
}

.contact__detail-value a {
    transition: opacity var(--duration-fast) var(--ease-out);
}

.contact__detail-value a:hover {
    opacity: 0.7;
}

/* Form - 优化版 */
.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-xs);
}

/* Input focus 发光边框效果 */
.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-sm) 0;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
    font-family: var(--font-body);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.15);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

/* Select 自定义样式 */
.form__select {
    width: 100%;
    padding: var(--space-sm) 2rem var(--space-sm) 0;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
    cursor: pointer;
    /* 去掉系统默认箭头 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 自定义箭头 SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 14px;
    font-family: var(--font-body);
}

.form__select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.15);
}

.form__select option {
    background: #1a1a1a;
    color: var(--color-text-primary);
}

/* Form Row - 手机端单列 */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .contact__content {
        grid-template-columns: 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Header (Inner Pages)
======================================== */
.page-header {
    padding: calc(100px + var(--space-2xl)) var(--site-margin) var(--space-2xl);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.page-header__subtitle {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
}

/* ========================================
   Project Detail
======================================== */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-2xl) var(--site-margin);
}

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

.project-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 60%);
}

.project-hero__content {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

.project-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.project-hero__meta {
    display: flex;
    gap: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.project-content {
    padding: var(--space-2xl) var(--site-margin);
    max-width: var(--container-max);
    margin: 0 auto;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.project-gallery__item {
    overflow: hidden;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery__item--full {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery__item--full {
        grid-column: span 1;
    }
}

.project-description {
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-2xl);
}

.project-description h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.project-description p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-2xl);
}

.project-details__item h3 {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-xs);
}

.project-details__item p {
    font-size: var(--text-base);
}

@media (max-width: 768px) {
    .project-details {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations - 全局 keyframes 库
======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--duration-slow) var(--ease-out) both;
}

.animate-fade-in-up {
    animation: fadeInUp var(--duration-slow) var(--ease-out) both;
}

.animate-slide-in {
    animation: slideIn var(--duration-slow) var(--ease-out) both;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================
   Utilities
======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Reduced Motion - Enhanced */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee__content {
        animation: none !important;
    }

    .hero__scroll,
    .hero-artistic__scroll-line {
        animation: none !important;
    }

    body {
        animation: none !important;
    }
}

/* Performance optimizations for images */
img {
    content-visibility: auto;
}

/* Contain paint for heavy sections */
.showcase,
.services,
.gallery-grid,
.featured__grid {
    contain: layout style;
}

/* ========================================
   ARTISTIC LANDING PAGE STYLES
   Bold, High Contrast, Compressed Typography
======================================== */

/* Landing Page Body */
.landing-page {
    background: #000;
    color: #fff;
}

/* Minimal Nav - mix-blend-mode: difference */
.nav--minimal {
    mix-blend-mode: difference;
}

.nav--minimal .nav__logo,
.nav--minimal .nav__link {
    color: #fff;
}

/* ========================================
   Hero Artistic Section
======================================== */
.hero-artistic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-artistic__bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-artistic__image {
    position: relative;
    overflow: hidden;
}

.hero-artistic__image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.hero-artistic__image--1 { transform-origin: bottom; }
.hero-artistic__image--2 { transform-origin: center; }
.hero-artistic__image--3 { transform-origin: top; }

.hero-artistic__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--site-margin);
}

.hero-artistic__label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Hero 标题 - 手机端用 clamp 限制最小字号 */
.hero-artistic__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 15vw, 14rem);  /* 手机最小 2.8rem，约 45px */
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-artistic__title-line {
    display: block;
}

.hero-artistic__title-line--outline {
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-artistic__cta {
    margin-top: 2rem;
}

.hero-artistic__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-artistic__scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-artistic__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleY(0.85);
    }
}

/* ========================================
   Artistic Button - scale 微反馈
======================================== */
.btn-artistic {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
    min-height: 44px;
}

.btn-artistic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-artistic:hover {
    transform: scale(1.03);
}

.btn-artistic:hover::before {
    transform: translateX(0);
}

.btn-artistic span,
.btn-artistic svg {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn-artistic:hover span,
.btn-artistic:hover svg {
    color: #fff;
}

.btn-artistic svg {
    transition: transform 0.4s ease;
}

.btn-artistic:hover svg {
    transform: translateX(4px);
}

.btn-artistic--dark {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-artistic--dark::before {
    background: #fff;
}

.btn-artistic--dark:hover span,
.btn-artistic--dark:hover svg {
    color: #000;
}

.btn-artistic--large {
    padding: 1.5rem 3rem;
    font-size: 0.9rem;
}

/* ========================================
   Marquee Section - 无缝循环跑马灯
======================================== */
.marquee-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    background: #000;
    contain: layout style paint;
}

.marquee {
    display: flex;
    overflow: hidden;
}

/* 无缝循环：内容复制一份，translate -50% 实现无缝 */
.marquee__content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    /* will-change 仅在动画运行时有效，marquee 是持续动画适合保留 */
    will-change: transform;
}

.marquee__content span {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.marquee__dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ========================================
   Showcase Section - 手机端优化
======================================== */
.showcase {
    padding: clamp(4rem, 10vw, 10rem) var(--site-margin);
    background: #000;
}

.showcase__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(3rem, 6vw, 6rem);
    flex-wrap: wrap;
    gap: 2rem;
}

.showcase__label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.showcase__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: right;
}

.showcase__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
}

.showcase__item {
    grid-column: span 6;
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.showcase__item--large {
    grid-column: span 8;
    grid-row: span 2;
}

.showcase__item--wide {
    grid-column: span 12;
}

.showcase__item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.showcase__item--large .showcase__item-image {
    aspect-ratio: 16/10;
    height: 100%;
}

.showcase__item--wide .showcase__item-image {
    aspect-ratio: 21/9;
}

.showcase__item-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease-out;
    filter: grayscale(30%);
}

.showcase__item:hover .showcase__item-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.showcase__item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.showcase__item:hover .showcase__item-content {
    transform: translateY(0);
    opacity: 1;
}

.showcase__item-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 0.5rem;
}

.showcase__item-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.showcase__item-cat {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.showcase__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(3rem, 6vw, 5rem);
}

/* 手机端：showcase 每项全宽，图片 16:10 */
@media (max-width: 768px) {
    .showcase__item,
    .showcase__item--large,
    .showcase__item--wide {
        grid-column: span 12;
    }

    .showcase__item-image,
    .showcase__item--large .showcase__item-image,
    .showcase__item--wide .showcase__item-image {
        aspect-ratio: 16/10;
        height: auto;
    }

    /* 手机端常驻显示内容信息，不需要 hover */
    .showcase__item-content {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Statement Section
======================================== */
.statement {
    padding: clamp(6rem, 12vw, 14rem) var(--site-margin);
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.statement__content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.statement__quote {
    position: relative;
}

.statement__mark {
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
    font-size: clamp(6rem, 15vw, 12rem);
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
}

.statement__quote p {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.statement__quote em {
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

.statement__bio {
    margin-bottom: 2rem;
}

.statement__bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
}

.statement__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    transition: gap 0.3s ease;
    min-height: 44px;
}

.statement__link:hover {
    gap: 1rem;
}

.statement__link svg {
    transition: transform 0.3s ease;
}

.statement__link:hover svg {
    transform: translate(3px, -3px);
}

@media (max-width: 768px) {
    .statement__content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Stats Strip
======================================== */
.stats-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(3rem, 6vw, 5rem) var(--site-margin);
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.stats-strip__item {
    text-align: center;
}

.stats-strip__value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    display: block;
}

.stats-strip__label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.stats-strip__divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
    .stats-strip__divider {
        display: none;
    }

    .stats-strip__item {
        flex: 1 1 40%;
    }
}

/* ========================================
   CTA Artistic
======================================== */
.cta-artistic {
    padding: clamp(8rem, 15vw, 16rem) var(--site-margin);
    background: #000;
    text-align: center;
}

.cta-artistic__content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-artistic__title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.cta-artistic__title span {
    display: block;
}

.cta-artistic__title--outline {
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
}

.cta-artistic__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 3rem;
}

/* ========================================
   Footer Artistic
======================================== */
.footer-artistic {
    padding: 3rem var(--site-margin);
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-artistic__content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-artistic__brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-artistic__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-artistic__tagline {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

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

.footer-artistic__nav a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-artistic__nav a:hover {
    color: #fff;
}

.footer-artistic__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* 手机端 footer 居中 */
@media (max-width: 768px) {
    .footer-artistic__content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-artistic__brand {
        align-items: center;
    }

    .footer-artistic__nav {
        justify-content: center;
    }
}

/* ========================================
   Services Cards Section
======================================== */
.services {
    padding: clamp(4rem, 8vw, 8rem) var(--site-margin);
    background: #000;
}

/* 手机端单列 */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.5rem, 1vw, 1rem);
    max-width: var(--container-max);
    margin: 0 auto;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    display: block;
    transition: transform 0.4s ease-out;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
}

.service-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out, filter 0.4s ease-out;
    filter: grayscale(40%) brightness(0.7);
}

.service-card:hover .service-card__image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.service-card__number {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 0.75rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.service-card:hover .service-card__desc {
    opacity: 1;
    transform: translateY(0);
}

.service-card__desc p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机端：单列，内间距缩小，图片比例 16:10 */
@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .service-card__image {
        aspect-ratio: 16/10;
    }

    .service-card__content {
        padding: 1.25rem;
    }

    /* 手机端常驻显示描述 */
    .service-card__desc {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Service Card Hover Preview Effect
   手机端完全禁用
======================================== */
.service-card__preview {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.service-card:hover .service-card__preview {
    opacity: 1;
    visibility: visible;
}

.preview-image {
    width: clamp(90px, 11vw, 140px);
    height: clamp(120px, 14vw, 180px);
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px) rotate(calc(var(--delay, 0) * 3deg - 4deg));
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    transition-delay: calc(var(--delay, 0) * 0.05s);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover .preview-image {
    opacity: 1;
    transform: translateY(0) rotate(calc(var(--delay, 0) * 3deg - 4deg));
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.1);
}

/* 手机端禁用悬浮预览 */
@media (hover: none), (max-width: 768px) {
    .service-card__preview {
        display: none !important;
    }
}

/* 服务卡片边框发光效果 */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.08) 0%,
        transparent 50%,
        rgba(255,255,255,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

/* ========================================
   Workflow Section
======================================== */
.workflow {
    padding: clamp(5rem, 10vw, 10rem) var(--site-margin);
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.workflow__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.workflow__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.workflow__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* 手机端单列竖排 */
.workflow__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    max-width: var(--container-max);
    margin: 0 auto;
}

.workflow__step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    transition: background 0.4s ease,
                border-color 0.4s ease,
                transform 0.4s var(--ease-out);
}

.workflow__step:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.workflow__step-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
}

.workflow__step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.workflow__step-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.workflow__step-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.workflow__step-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workflow__step-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.workflow__step-value {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
    .workflow__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .workflow__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Pricing Section - 手机端优化
======================================== */
.pricing {
    padding: clamp(5rem, 10vw, 10rem) var(--site-margin);
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pricing__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.pricing__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.pricing__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: var(--container-max);
    margin: 0 auto;
}

.pricing__card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease,
                border-color 0.4s ease,
                transform 0.4s var(--ease-out);
}

.pricing__card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

/* Featured 卡片在手机端突出显示 */
.pricing__card--featured {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    position: relative;
}

.pricing__card--featured::after {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 1.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    padding: 0.3rem 0.75rem;
}

.pricing__card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing__card-price {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.pricing__card-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}

.pricing__card-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing__card-features li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    padding-left: 1.25rem;
}

.pricing__card-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.3);
}

.pricing__card-note {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.pricing__card-note-title {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.pricing__card-note p:last-child {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.pricing__card-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s ease,
                color 0.3s ease,
                transform var(--duration-fast) var(--ease-out);
    min-height: 44px;
}

.pricing__card-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ Section - max-height 动画
======================================== */
.faq {
    padding: clamp(5rem, 10vw, 8rem) var(--site-margin);
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.faq__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    gap: 1rem;
    min-height: 44px;
}

.faq__question:hover {
    color: rgba(255,255,255,0.7);
}

.faq__question svg {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out);
    color: rgba(255,255,255,0.4);
}

.faq__item--active .faq__question svg {
    transform: rotate(180deg);
}

/* max-height 过渡替代 display 切换 */
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out),
                padding-bottom 0.45s var(--ease-out);
}

.faq__item--active .faq__answer {
    max-height: 300px;  /* 足够大的值 */
    padding-bottom: 1.5rem;
}

.faq__answer p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ========================================
   Enhanced Contact Form
======================================== */
.contact__highlight {
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.contact__form-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: clamp(2rem, 4vw, 3rem);
}

/* ========================================
   Submit Button
======================================== */
.btn-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease;
    margin-top: var(--space-lg);
    min-height: 56px;
}

.btn-submit:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px) scale(1.01);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* ========================================
   视差滚动 - 手机端禁用（节省性能）
======================================== */
@media (max-width: 768px) {
    .hero-artistic__image {
        transform: none !important;
    }
}

/* ========================================
   加载性能优化 - 图片懒加载标记样式
======================================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ========================================
   触摸友好 - 确保所有交互元素 44x44px
======================================== */
.gallery-filter__btn,
.faq__question,
.pricing__card-btn,
.lightbox__close,
.lightbox__nav,
.nav-overlay__link,
.btn-submit {
    min-height: 44px;
}

/* ========================================
   ENHANCED ANIMATIONS - Outline.global Inspired
======================================== */

/* ----------------------------------------
   1. Custom Cursor (Desktop Only)
---------------------------------------- */
.cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -4px;
    transition: transform 0.1s ease-out;
}

.cursor__circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: transform 0.15s ease-out,
                width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                top 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background 0.3s ease;
}

/* Cursor hover states */
.cursor--hover .cursor__circle {
    width: 64px;
    height: 64px;
    top: -32px;
    left: -32px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.8);
}

.cursor--hover .cursor__dot {
    transform: scale(0);
}

.cursor--text .cursor__circle {
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hide default cursor on desktop when custom cursor is active */
.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

@media (hover: none), (max-width: 768px) {
    .cursor { display: none !important; }
    .has-custom-cursor,
    .has-custom-cursor * { cursor: auto !important; }
}

@media (hover: hover) and (min-width: 769px) {
    .cursor { display: block; }
}

/* ----------------------------------------
   2. Page Load Sequence Animation
---------------------------------------- */
@keyframes navLogoIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navLinkIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLineIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLabelIn {
    from {
        opacity: 0;
        letter-spacing: 0.6em;
    }
    to {
        opacity: 1;
        letter-spacing: 0.3em;
    }
}

@keyframes heroBgReveal {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 0.35;
        transform: scale(1);
    }
}

/* Page load: suppress body default animation, use sequence instead */
.landing-page {
    animation: none;
}

.landing-page .nav__logo {
    opacity: 0;
    animation: navLogoIn 0.6s var(--ease-out) 0.2s both;
}

.landing-page .nav__link {
    opacity: 0;
    animation: navLinkIn 0.5s var(--ease-out) both;
}

.landing-page .nav__link:nth-child(1) { animation-delay: 0.35s; }
.landing-page .nav__link:nth-child(2) { animation-delay: 0.45s; }
.landing-page .nav__link:nth-child(3) { animation-delay: 0.55s; }
.landing-page .nav__link:nth-child(4) { animation-delay: 0.65s; }

.landing-page .hero-artistic__bg {
    opacity: 0;
    animation: heroBgReveal 1.2s var(--ease-out) 0.3s both;
}

.landing-page .hero-artistic__label {
    opacity: 0;
    animation: heroLabelIn 0.8s var(--ease-out) 0.6s both;
}

/* Hero title lines - staggered entry from below with overflow clip */
.hero-artistic__title-line {
    display: block;
    overflow: hidden;
}

.landing-page .hero-artistic__title-line {
    opacity: 0;
    animation: heroLineIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.landing-page .hero-artistic__title-line:nth-child(1) { animation-delay: 0.5s; }
.landing-page .hero-artistic__title-line:nth-child(2) { animation-delay: 0.65s; }
.landing-page .hero-artistic__title-line:nth-child(3) { animation-delay: 0.8s; }

.landing-page .hero-artistic__cta {
    opacity: 0;
    animation: revealUp 0.7s var(--ease-out) 1s both;
}

.landing-page .hero-artistic__scroll {
    opacity: 0;
    animation: revealFade 0.8s var(--ease-out) 1.2s both;
}

/* ----------------------------------------
   3. Clip-path Reveal for Images
---------------------------------------- */
@keyframes clipRevealLeft {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes clipRevealBottom {
    from {
        clip-path: inset(100% 0 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes clipRevealDiag {
    from {
        clip-path: inset(0 100% 100% 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Showcase items: clip-path reveal when visible */
.showcase__item .showcase__item-image {
    clip-path: inset(0 100% 0 0);
}

.showcase__item.is-visible .showcase__item-image {
    animation: clipRevealLeft 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.showcase__item.is-visible[data-delay="1"] .showcase__item-image {
    animation-delay: 0.15s;
}

.showcase__item.is-visible[data-delay="2"] .showcase__item-image {
    animation-delay: 0.3s;
}

/* Service cards: clip-path reveal from bottom */
.service-card .service-card__image {
    clip-path: inset(100% 0 0 0);
}

.service-card.is-visible .service-card__image {
    animation: clipRevealBottom 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.services__grid .service-card:nth-child(1).is-visible .service-card__image { animation-delay: 0s; }
.services__grid .service-card:nth-child(2).is-visible .service-card__image { animation-delay: 0.12s; }
.services__grid .service-card:nth-child(3).is-visible .service-card__image { animation-delay: 0.24s; }
.services__grid .service-card:nth-child(4).is-visible .service-card__image { animation-delay: 0.36s; }

/* ----------------------------------------
   4. Hover Light Sweep Effect
---------------------------------------- */
.showcase__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 60%
    );
    z-index: 2;
    transform: translateX(-150%);
    transition: none;
    pointer-events: none;
}

.showcase__item:hover::after {
    transform: translateX(150%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service card light sweep */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 55%,
        transparent 60%
    );
    z-index: 2;
    transform: translateX(-150%);
    transition: none;
    pointer-events: none;
}

.service-card:hover::after {
    transform: translateX(150%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------
   5. Stats Counter Animation Enhancement
---------------------------------------- */
.stats-strip__value {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* ----------------------------------------
   6. CTA Section Title Line Reveal
---------------------------------------- */
.cta-artistic__title span {
    display: block;
    overflow: hidden;
}

.cta-artistic__content.is-visible .cta-artistic__title span:nth-child(1) {
    animation: heroLineIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.cta-artistic__content.is-visible .cta-artistic__title span:nth-child(2) {
    animation: heroLineIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* ----------------------------------------
   7. Statement Section - Word Fade In
---------------------------------------- */
.statement__quote.is-visible .statement__quote p,
.statement__quote.is-visible p {
    animation: revealUp 0.9s var(--ease-out) 0.2s both;
}

/* ----------------------------------------
   8. Magnetic Button Feedback
---------------------------------------- */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------
   9. Section Divider - Animated Line
---------------------------------------- */
@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.showcase__header::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    transform-origin: left;
    transform: scaleX(0);
}

.showcase.is-visible .showcase__header::after {
    animation: lineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ----------------------------------------
   10. Workflow Step Hover - Progress Bar
---------------------------------------- */
.workflow__step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow__step:hover::after {
    transform: scaleX(1);
}

/* ----------------------------------------
   11. Pricing Card Glow on Hover
---------------------------------------- */
.pricing__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.1) 0%,
        transparent 50%,
        rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.pricing__card {
    position: relative;
    overflow: hidden;
}

.pricing__card:hover::before {
    opacity: 1;
}

/* ----------------------------------------
   12. Marquee Speed on Hover
---------------------------------------- */
.marquee-section:hover .marquee__content {
    animation-duration: 15s;
}

/* ----------------------------------------
   13. ScrollTrigger Parallax - GSAP driven
   (Styles support - actual parallax in JS)
---------------------------------------- */
.showcase__item-image img {
    will-change: auto;
}

.showcase__item-image img.gsap-parallax {
    will-change: transform;
}

/* ----------------------------------------
   14. Smooth Section Transitions
---------------------------------------- */
.statement,
.workflow,
.pricing,
.faq,
.cta-artistic {
    opacity: 0;
    transform: translateY(30px);
}

.statement.is-visible,
.workflow.is-visible,
.pricing.is-visible,
.faq.is-visible,
.cta-artistic.is-visible {
    animation: revealUp 0.8s var(--ease-out) both;
}

/* ----------------------------------------
   15. Enhanced Reduced Motion
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cursor { display: none !important; }
    .has-custom-cursor,
    .has-custom-cursor * { cursor: auto !important; }

    .showcase__item .showcase__item-image,
    .service-card .service-card__image {
        clip-path: none !important;
    }

    .showcase__item::after,
    .service-card::after {
        display: none !important;
    }

    .landing-page .nav__logo,
    .landing-page .nav__link,
    .landing-page .hero-artistic__bg,
    .landing-page .hero-artistic__label,
    .landing-page .hero-artistic__title-line,
    .landing-page .hero-artistic__cta,
    .landing-page .hero-artistic__scroll {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }

    .statement,
    .workflow,
    .pricing,
    .faq,
    .cta-artistic {
        opacity: 1 !important;
        transform: none !important;
    }
}
