/* ═══════════════════════════════════════════════════════
   STAIN — Visual Production Studio
   Dark Digital Minimalism / Liquid Trace System
   ═══════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────
   RESET & BASE
   ─────────────────────────────────────────────────────── */

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

:root {
    --color-black: #000000;
    --color-near-black: #0a0a0a;
    --color-dark-gray: #1a1a1a;
    --color-white: #FFFFFF;
    --color-gray: #FFFFFF;
    --color-subtle-gray: rgba(255, 255, 255, 0.6);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-liquid: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

body {
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    display: none;
}

::selection {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* ───────────────────────────────────────────────────────
   HERO VIDEO BACKGROUND — IMG_4302.MOV
   ─────────────────────────────────────────────────────── */

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    pointer-events: none;
}

/* ───────────────────────────────────────────────────────
   LOADING SCREEN
   ─────────────────────────────────────────────────────── */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    position: relative;
}

.animated-logo {
    width: 500px;
    max-width: 85vw;
    height: auto;
    animation: logoAppear 1.2s var(--ease-out) forwards;
}

.animated-logo svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
}

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

@media (max-width: 768px) {
    .animated-logo {
        width: 350px;
        max-width: 90vw;
    }
}

/* ───────────────────────────────────────────────────────
   NAVIGATION
   ─────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: background 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    padding: 16px 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    text-decoration: none;
    display: block;
}

.logo-svg {
    width: 120px;
    height: auto;
    overflow: visible;
}

.logo-svg g,
.logo-svg use {
    fill: var(--color-white);
    transition: filter 0.3s var(--ease-out);
}

.logo:hover .logo-svg g,
.logo:hover .logo-svg use {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-out);
    padding: 4px 0;
    display: inline-block;
}

.nav-trace {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.4s var(--ease-liquid);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover .nav-trace,
.nav-link.active .nav-trace {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-white);
    transition: all 0.3s var(--ease-out);
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 24px;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 20px;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* ───────────────────────────────────────────────────────
   HERO SECTION
   ─────────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 40px 100px;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
}

.hero-logo-container {
    margin-bottom: 60px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
    position: relative;
    z-index: 3;
}

.hero-animated-logo {
    position: relative;
    width: 700px;
    max-width: 92vw;
}

.hero-logo-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
    animation: logoFloat 10s ease-in-out infinite;
}

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

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s var(--ease-out) 0.6s both;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--color-white);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.scroll-indicator span {
    width: 2px;
    height: 6px;
    background: var(--color-white);
    border-radius: 999px;
    animation: scrollDown 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 24px 80px;
    }

    .hero-animated-logo {
        width: 320px;
    }

    .hero-logo-text {
        font-size: 48px;
    }

    .hero-logo-container {
        margin-bottom: 40px;
    }
}

/* ───────────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────────── */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-liquid);
}

.btn-trace {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s var(--ease-liquid);
}

.btn:hover .btn-trace {
    left: 100%;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-hover);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* ───────────────────────────────────────────────────────
   SECTION DIVIDERS
   ─────────────────────────────────────────────────────── */

.section-divider {
    width: 100%;
    height: 100px;
    overflow: visible;
    position: relative;
    margin: 80px 0;
}

.section-divider svg {
    width: 100%;
    height: 100%;
}

.divider-trace {
    fill: none;
    stroke: var(--color-white);
    stroke-width: 0.5;
    opacity: 0;
    filter: blur(1px);
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: dividerDraw 2s ease-out forwards;
}

@keyframes dividerDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.section-divider.visible .divider-trace {
    animation: dividerDraw 1.5s ease-out forwards;
}

@media (max-width: 768px) {
    .section-divider {
        margin: 60px 0;
        height: 60px;
    }
}

/* ───────────────────────────────────────────────────────
   CONTAINERS & SECTIONS
   ─────────────────────────────────────────────────────── */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Main Content Block — Editorial Layout */
.main-content {
    background: #0a0a0a;
    position: relative;
}

/* Hero Image Panel */
.content-hero-panel {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(10,10,10,0.7) 100%);
    pointer-events: none;
}

/* About Section — Editorial Style */
.about-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-header {
    position: sticky;
    top: 120px;
}

.editorial-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.about-content {
    padding-top: 20px;
}

.lead-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--color-white);
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Section Headings */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Works Section — Asymmetric Grid */
.works-section {
    padding: 120px 0;
    background: #000;
}

.works-grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.work-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.work-featured {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
}

.work-compact:nth-of-type(2) {
    grid-column: 8 / 13;
    grid-row: 1;
}

.work-compact:nth-of-type(3) {
    grid-column: 8 / 13;
    grid-row: 2;
}

.work-wide {
    grid-column: 1 / 13;
    grid-row: 3;
}

.work-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    transition: transform 0.5s var(--ease-liquid);
}

.work-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.play-icon {
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-liquid);
}

.play-icon svg {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

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

.work-card:hover .play-icon {
    transform: scale(1);
}

.work-card:hover .work-preview {
    opacity: 0.7;
    transform: scale(1.02);
}

.work-card:hover .work-thumbnail {
    transform: translateY(-4px);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.work-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.work-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.services-list {
    display: grid;
    gap: 1px;
    background: rgba(255,255,255,0.05);
}

.service-item {
    background: #0a0a0a;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    transition: background 0.3s ease;
}

.service-item:hover {
    background: #121212;
}

.service-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.service-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: #000;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.process-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 36px;
    transition: all 0.4s var(--ease-liquid);
}

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

.step-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 120px 0 100px;
    background: #0a0a0a;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.contact-text {
    padding-top: 20px;
}

.contact-lead {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-form-minimal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    width: 100%;
}

.form-field {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s var(--ease-out);
}

.form-field::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-field:focus {
    outline: none;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.form-textarea-field {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.btn-submit-minimal {
    padding: 16px 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-liquid);
    align-self: flex-start;
}

.btn-submit-minimal:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.contact-social {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-social a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.contact-social a:hover {
    opacity: 0.7;
}

.contact-social .separator {
    margin: 0 16px;
    color: rgba(255,255,255,0.3);
}

/* Work Modal (Video Player) */
.work-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-modal.active {
    display: flex;
    opacity: 1;
}

.work-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.work-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1400px;
    animation: modalSlideIn 0.4s var(--ease-liquid);
}

.work-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2;
}

.work-modal-close:hover {
    transform: rotate(90deg);
    opacity: 0.7;
}

.work-modal-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.work-modal-player video {
    width: 100%;
    height: 100%;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .container-wide {
        padding: 0 40px;
    }

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

    .about-header {
        position: static;
    }

    .works-grid-asymmetric {
        grid-template-columns: 1fr;
    }

    .work-featured,
    .work-compact:nth-of-type(2),
    .work-compact:nth-of-type(3),
    .work-wide {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 36px 32px;
    }
}

@media (max-width: 768px) {
    .container-wide {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .content-hero-panel {
        height: 50vh;
        min-height: 400px;
    }

    .about-section,
    .works-section,
    .services-section,
    .process-section,
    .contact-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .work-info {
        padding: 16px;
    }

    .work-title {
        font-size: 18px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .work-modal-content {
        width: 95%;
    }

    .work-modal-close {
        top: -40px;
    }
}

/* ───────────────────────────────────────────────────────
   SUCCESS MESSAGE
   ─────────────────────────────────────────────────────── */

.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--color-border-hover);
    padding: 48px 64px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out);
}

.success-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.success-message p {
    font-size: 18px;
    text-align: center;
    margin: 0;
    letter-spacing: 0.01em;
}

.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .success-message {
        padding: 32px 40px;
        max-width: 90%;
    }

    .success-message p {
        font-size: 16px;
    }
}

/* ───────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────── */

.footer {
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid var(--color-border);
    position: relative;
    background: var(--color-black);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
    font-weight: 500;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social span {
    color: var(--color-border);
    font-size: 12px;
}

.footer-email {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
    display: inline-block;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-copyright {
    color: var(--color-subtle-gray);
    font-size: 12px;
}

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

    .footer-brand {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .footer-email {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

/* ───────────────────────────────────────────────────────
   REDUCED MOTION
   ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .hero-logo-text,
    .trace-line,
    .divider-trace,
    .animated-logo,
    .video-background,
    .video-overlay,
    .navbar,
    .hero-content,
    .hero-logo-container,
    .hero-logo-svg,
    .scroll-indicator {
        animation: none !important;
    }

    .loading-screen {
        display: none !important;
    }

    .navbar,
    .hero-content,
    .hero-logo-container,
    .scroll-indicator,
    .video-background,
    .video-overlay {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    body.loaded {
        opacity: 1;
    }
}
