/* ============================================
   KAVER — AI Content Production Studio
   Premium Landing Page Styles
   Refactored: Clean, modular, extensible
   ============================================ */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand — Cave Yellow / Giallo Caverna */
    --caverna:         #C9A227;
    --caverna-light:   #E8C84C;
    --caverna-lighter:  #F2DC82;
    --caverna-dark:    #8B6F1A;
    --caverna-darker:  #5C4A11;

    /* Neutrals */
    --black:           #000000;
    --bg:              #0A0A0A;
    --bg-elevated:     #111111;
    --bg-card:         #151515;
    --border:          rgba(255, 255, 255, 0.07);
    --border-hover:    rgba(201, 162, 39, 0.25);
    --text:            #FFFFFF;
    --text-secondary:  rgba(255, 255, 255, 0.55);
    --text-tertiary:   rgba(255, 255, 255, 0.35);

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-max:   1200px;
    --container-px:    24px;

    /* Radius */
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-full: 9999px;

    /* Motion */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-sm: 0.2s;
    --duration-md: 0.4s;
    --duration-lg: 0.6s;
}

/* ==========================================================================
   2. 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-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

::selection {
    background: rgba(201, 162, 39, 0.3);
    color: var(--text);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-tag {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--caverna);
    margin-bottom: 20px;
}

.section-tag.center { text-align: center; display: block; }

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}

.body-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--caverna-light) 0%, var(--caverna) 40%, var(--caverna-dark) 80%, var(--caverna-light) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-inline: auto; }

.hide-mobile { display: inline; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    padding: 14px 32px;
    transition: all var(--duration-md) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    border: none;
}

.btn-sm { padding: 10px 24px; font-size: 0.82rem; }
.btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.btn-xl { padding: 22px 52px; font-size: 1rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--caverna) 0%, var(--caverna-light) 100%);
    color: #0A0A0A;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left var(--duration-lg) var(--ease-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover::after { left: 100%; }

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

.btn-outline:hover {
    border-color: var(--caverna);
    color: var(--caverna);
    background: rgba(201, 162, 39, 0.05);
}

/* ==========================================================================
   6. PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--duration-lg) var(--ease-smooth), visibility var(--duration-lg);
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-scale 1.5s ease-in-out infinite;
}

.preloader-logo-img {
    height: 80px;
    width: auto;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 36px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--caverna), var(--caverna-light));
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
    animation: preloader-progress 1.8s ease-in-out forwards;
}

@keyframes preloader-progress {
    0%   { width: 0%; }
    30%  { width: 25%; }
    60%  { width: 65%; }
    85%  { width: 90%; }
    100% { width: 100%; }
}

/* ==========================================================================
   7. NOISE OVERLAY
   ========================================================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    inset: -200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.03;
}

/* ==========================================================================
   8. NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding var(--duration-md) var(--ease-smooth),
                background var(--duration-md) var(--ease-smooth),
                border-color var(--duration-md);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(201, 162, 39, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.nav-logo-img {
    height: 28px;
    width: auto;
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--caverna);
    transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--caverna-light); }
.nav-link.active::after { width: 100%; }

/* Disabled nav link */
.nav-link-disabled,
.mobile-link-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

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

.coming-soon-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-left: 6px;
    border-radius: var(--radius-full);
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: var(--caverna-light);
    vertical-align: middle;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

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

/* ==========================================================================
   9. LANGUAGE TOGGLE
   ========================================================================== */
.lang-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 4px 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.lang-option {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    min-height: 32px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.lang-option.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--caverna-light);
}

/* ==========================================================================
   10. MOBILE NAVIGATION
   ========================================================================== */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-md) var(--ease-smooth), visibility var(--duration-md);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transform: translateY(20px);
    opacity: 0;
    transition: color 0.3s, transform 0.5s var(--ease-out), opacity 0.5s;
}

.mobile-nav.open .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }

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

.mobile-lang {
    margin-top: 16px;
    display: flex;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.5s;
}

.mobile-nav.open .mobile-lang {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.25s;
}

.mobile-lang-toggle {
    margin-left: 0;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-lang-toggle .lang-option {
    font-size: 13px;
    padding: 8px 16px;
    min-height: 36px;
}

.mobile-cta {
    margin-top: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out) 0.3s, opacity 0.5s 0.3s, background var(--duration-md), box-shadow var(--duration-md);
}

.mobile-nav.open .mobile-cta {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   11. HERO
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

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

/* Hero video background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    animation: videoFadeIn 1.5s ease-out 0.5s forwards;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh; /* 16:9 ratio */
    height: 56.25vw;
    pointer-events: none;
    border: 0;
}

.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

/* Decorative orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: orb-float 18s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 200, 76, 0.12) 0%, transparent 70%);
    bottom: -15%;
    left: -8%;
    animation: orb-float 22s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    top: 35%;
    left: 25%;
    animation: orb-float 15s ease-in-out infinite 3s;
}

/* Grid */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-welcome {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 500;
    color: var(--caverna-light);
    margin-bottom: 16px;
}

.hero-subtitle-block {
    max-width: 580px;
    margin-bottom: 48px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 48px;
    position: relative;
    background: rgba(201, 162, 39, 0.15);
    overflow: hidden;
}

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

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ==========================================================================
   12. QUOTE
   ========================================================================== */
.section-quote {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote {
    text-align: center;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.quote-mark {
    font-family: 'Sora', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 0.5;
    color: var(--caverna);
    opacity: 0.3;
    display: block;
    margin-bottom: 20px;
}

.quote p {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 24px;
}

.quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   13. WORK CARDS (with video support)
   ========================================================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.5s var(--ease-smooth);
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(201, 162, 39, 0.08);
}

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

.work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out), opacity 0.5s;
}

.work-card:hover .work-media img {
    transform: scale(1.06);
}

/* Video layer — hidden until activated */
.work-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
    z-index: 2;
    pointer-events: none;
}

.work-card.playing .work-video {
    opacity: 1;
}

.work-card.playing .work-media img {
    opacity: 0;
}

/* Play button overlay */
.work-play-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    z-index: 5;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

/* Only show play button when video source is set */
.work-card[data-video-src]:not([data-video-src=""]):hover .work-play-btn,
.work-card.playing .work-play-btn {
    opacity: 1;
    transform: scale(1);
}

.work-play-btn:hover {
    background: rgba(201, 162, 39, 0.7);
    border-color: var(--caverna);
    transform: scale(1.08);
}

/* Pause icon swap handled via JS if needed */

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
    transition: background 0.5s;
    pointer-events: none;
    z-index: 3;
}

.work-card:hover .work-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
}

.work-info {
    padding: 24px 28px;
}

.work-number {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--caverna);
    opacity: 0.6;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.work-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.work-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.work-brand {
    font-weight: 500;
    color: var(--caverna-light);
}

.work-divider { opacity: 0.4; }

/* ==========================================================================
   14. PROCESS / METHOD
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 80px;
}

.process-line {
    position: absolute;
    top: 16px;
    left: calc(12.5% + 6px);
    right: calc(12.5% + 6px);
    height: 2px;
    background: var(--border);
}

.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--caverna), var(--caverna-light));
    border-radius: 2px;
    transition: width 1.5s var(--ease-out);
}

.process-line.animate::after { width: 100%; }

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--caverna);
    background: var(--bg);
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
    transition: all var(--duration-md) var(--ease-smooth);
}

.process-step:hover .step-dot {
    background: var(--caverna);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

.step-number {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--caverna);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   15. CTA SECTION
   ========================================================================== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    animation: orb-float 16s ease-in-out infinite;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 200, 76, 0.1) 0%, transparent 70%);
    bottom: -20%;
    right: -5%;
    animation: orb-float 20s ease-in-out infinite 4s;
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   16. ABOUT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--caverna); }

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

.footer-bottom span {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-legal a:hover { color: var(--caverna); }

/* ==========================================================================
   18. REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

/* ==========================================================================
   19. KEYFRAMES
   ========================================================================== */
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(40px, -60px) scale(1.08); }
    50%      { transform: translate(-30px, 30px) scale(0.95); }
    75%      { transform: translate(50px, 40px) scale(1.04); }
}

@keyframes pulse-scale {
    0%, 100% { opacity: 0.6; transform: scale(0.97); }
    50%      { opacity: 1; transform: scale(1); }
}

@keyframes scroll-flow {
    0%   { top: -100%; }
    100% { top: 200%; }
}

@keyframes videoFadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   20. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   21. RESPONSIVE — TABLET (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
    .process-line { display: none; }

    .hero-video-bg::after {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.6) 0%,
            rgba(10, 10, 10, 0.75) 50%,
            rgba(10, 10, 10, 0.9) 100%
        );
    }
}

/* ==========================================================================
   22. RESPONSIVE — MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --container-px: 20px;
        --section-padding: clamp(60px, 10vw, 100px);
    }

    .hide-mobile { display: none; }

    /* Navigation */
    .nav-links { display: none; }
    .nav-toggle { display: flex; z-index: 10; }
    .nav-actions .btn { display: none; }
    .nav-actions { gap: 12px; }
    .nav-actions .lang-toggle { padding: 3px 5px; min-height: 40px; }
    .nav-actions .lang-option { font-size: 10px; padding: 5px 10px; min-height: 30px; }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
        min-height: 100svh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: -0.02em;
        line-height: 1.05;
        margin-bottom: 24px;
    }
    .hero-welcome { font-size: clamp(1rem, 4vw, 1.2rem); margin-bottom: 12px; }
    .hero-subtitle-block { margin-bottom: 36px; max-width: 100%; }
    .hero-subtitle { font-size: clamp(0.95rem, 4vw, 1.1rem); line-height: 1.7; }
    .hero-cta { width: 100%; flex-direction: column; gap: 12px; }
    .hero-cta .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 1rem; }
    .hero-video-bg { display: none; }
    .scroll-indicator { display: none; }

    /* Tame orbs for performance */
    .hero-orb { opacity: 0.4; animation: none; }
    .hero-orb-1 { width: 300px; height: 300px; }
    .hero-orb-2 { width: 220px; height: 220px; }
    .hero-orb-3 { width: 180px; height: 180px; }
    .cta-orb { opacity: 0.5; animation: none; }
    .cta-orb-1 { width: 250px; height: 250px; }
    .cta-orb-2 { width: 180px; height: 180px; }

    /* Typography */
    .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.15; }
    .section-subtitle { font-size: clamp(0.95rem, 4vw, 1.05rem); line-height: 1.7; }
    .section-tag { font-size: 0.7rem; margin-bottom: 16px; }
    .body-text { font-size: clamp(0.95rem, 4vw, 1.05rem); line-height: 1.75; }

    /* Sections — mobile alignment */
    .section-header.center { text-align: left; }
    .section-header.center .section-subtitle { margin-left: 0; }
    .section-tag.center { text-align: left; }

    /* Work cards */
    .works-grid { grid-template-columns: 1fr; gap: 20px; }
    .work-card:hover { transform: none; }
    .work-card:active { transform: scale(0.98); border-color: var(--border-hover); }
    .work-media { height: 240px; border-radius: 12px; }
    .work-info { padding: 18px 20px; }
    .work-title { font-size: 1.1rem; }
    .work-meta { font-size: 0.8rem; }

    /* Process */
    .process-timeline { grid-template-columns: 1fr; gap: 36px; }
    .process-step { text-align: left; padding: 0; display: flex; gap: 18px; align-items: flex-start; }
    .step-dot { margin: 6px 0 0; flex-shrink: 0; width: 12px; height: 12px; }
    .step-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .step-content p { font-size: 0.9rem; line-height: 1.6; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Quote */
    .quote-mark { font-size: 3rem; margin-bottom: 16px; }
    .quote p { font-size: clamp(1.05rem, 4.5vw, 1.4rem); line-height: 1.6; }
    .quote cite { font-size: 0.85rem; }

    /* CTA */
    .cta-content { text-align: center; }
    .cta-content .section-title { font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.2; }
    .cta-content .btn-xl { width: 100%; min-height: 56px; font-size: 1.05rem; }

    /* Footer */
    .footer { padding: 60px 0 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand { grid-column: span 2; margin-bottom: 8px; }
    .footer-col a { padding: 8px 0; }

    /* Touch targets — 44px minimum */
    .btn { min-height: 48px; }
    .btn-lg { min-height: 52px; }
    .btn-sm { min-height: 44px; }
    .mobile-link { font-size: 1.5rem; padding: 12px 0; min-height: 52px; display: flex; align-items: center; }
    .mobile-nav-inner { gap: 24px; padding: 20px; width: 100%; max-width: 400px; }
    .mobile-cta { width: 100%; min-height: 56px; }
}

/* ==========================================================================
   23. RESPONSIVE — SMALL (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    :root { --container-px: 16px; }

    .hero { padding: 90px 0 50px; }
    .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
    .hero-welcome { font-size: 0.95rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .work-media { height: 200px; }
    .work-title { font-size: 1rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
    .footer-legal { flex-direction: column; gap: 12px; }

    .nav-actions .lang-toggle { padding: 2px 4px; min-height: 36px; }
    .nav-actions .lang-option { font-size: 9px; padding: 4px 8px; min-height: 28px; }
    .coming-soon-badge { font-size: 0.5rem; padding: 2px 5px; }
    .mobile-link { font-size: 1.3rem; }
}

/* ==========================================================================
   24. SAFE AREA (notched phones)
   ========================================================================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-bottom { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
    .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .mobile-nav { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
    .hero { padding-top: calc(120px + env(safe-area-inset-top)); }
}

/* ==========================================================================
   25. TOUCH DEVICE HELPERS
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
    .work-card:hover { transform: none; }
    .work-card:active { transform: scale(0.98); border-color: var(--border-hover); transition: all 0.15s ease-out; }
    .btn:active { transform: scale(0.97); transition: transform 0.1s ease-out; }
    a, button { -webkit-tap-highlight-color: transparent; }
}
