/* ==========================================================================
   KALI CREATOR — Fashion × AI Atelier  ·  v2
   ========================================================================== */

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

:root {
    /* Palette */
    --bg: #0a0a0a;
    --bg-elev: #121212;
    --bg-soft: #181818;
    --fg: #f5f5f0;
    --fg-dim: #8a8a8a;
    --fg-faint: #4a4a4a;
    --line: rgba(245, 245, 240, 0.10);
    --line-strong: rgba(245, 245, 240, 0.22);
    --accent: #00e5ff;
    --accent-warm: #ff2d7e;
    --accent-gold: #d4af37;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container: 1440px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --section-pad: clamp(5rem, 12vh, 10rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.55;
    overflow-x: hidden;
    cursor: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
em { font-style: italic; font-family: var(--font-display); font-weight: 400; color: var(--accent); }
strong { font-weight: 500; color: var(--fg); }

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2a; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- CUSTOM CURSOR ---------- */
.cursor, .cursor-dot {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}
.cursor { width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%;
    transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease); }
.cursor-dot { width: 4px; height: 4px; background: #fff; border-radius: 50%; }
.cursor.is-hover { width: 64px; height: 64px; background: #fff; }
.cursor.is-hover ~ .cursor-dot { opacity: 0; }

@media (hover: none) {
    .cursor, .cursor-dot { display: none; }
    body { cursor: auto; }
    button, a { cursor: pointer; }
}

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed; inset: 0; background: #000;
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.preloader__logo { width: min(60vw, 280px); height: auto; filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.3)); animation: pulse 2s ease infinite; }
.preloader__bar { width: 200px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; width: 0; height: 100%; background: var(--accent); animation: load 1.6s var(--ease) forwards; }
.preloader__label { font-size: 0.7rem; letter-spacing: 0.4em; color: var(--fg-dim); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes load { 0% { width: 0; } 100% { width: 100%; } }

/* ---------- HEADER ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem var(--gutter);
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
    padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.header__logo img { height: 28px; width: auto; transition: opacity 0.3s; }
.header__logo:hover img { opacity: 0.65; }

.nav { display: flex; gap: 2.25rem; }
.nav__link {
    font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--fg-dim); position: relative;
    transition: color 0.3s var(--ease);
    display: flex; align-items: baseline; gap: 0.4rem;
}
.nav__num { font-size: 0.6rem; color: var(--accent); opacity: 0.7; font-family: var(--font-mono); }
.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }

.menu-toggle { display: none; width: 32px; height: 32px; position: relative; z-index: 110; }
.menu-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--fg);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle span:first-child { top: 12px; }
.menu-toggle span:last-child { bottom: 12px; }
.menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    border: 1px solid var(--fg);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn--primary { background: var(--fg); color: #000; }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: #000; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- SECTION LABEL ---------- */
.section-label {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 3rem;
    font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--fg-dim);
}
.section-label__num { color: var(--accent); font-family: var(--font-mono); font-weight: 500; }
.section-label__text { color: var(--fg-dim); }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); margin-left: 1rem; }
.section-label--center { justify-content: center; }
.section-label--center::after { display: none; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 8rem var(--gutter) 4rem;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.4) contrast(1.1) brightness(0.55);
    transform: scale(1.05);
    animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0,229,255,0.08), transparent 50%),
        linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.95) 100%),
        linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.85) 100%);
}
.hero__grain {
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 80px, rgba(245,245,240,0.02) 80px, rgba(245,245,240,0.02) 81px);
    mix-blend-mode: overlay;
}
.hero__content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%; }

.hero__meta {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    margin-bottom: 3rem;
    font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--fg-dim);
}
.hero__meta-line { position: relative; }
.hero__meta-line:not(:last-child)::after {
    content: ''; position: absolute; right: -1.25rem; top: 50%;
    width: 4px; height: 4px; background: var(--accent); border-radius: 50%;
    transform: translateY(-50%);
}

/* Hero logo block — uses the actual logo image */
.hero__logo {
    margin-bottom: 2.5rem;
    display: flex; flex-direction: column; align-items: flex-start;
}
.hero__logo-img {
    width: clamp(280px, 38vw, 520px);
    height: auto;
    filter: drop-shadow(0 4px 40px rgba(0, 229, 255, 0.25));
}
.hero__logo-line {
    width: clamp(80px, 12vw, 160px); height: 1px; background: var(--accent);
    margin: 1rem 0 0.75rem;
}
.hero__logo-sub {
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.5em;
    color: var(--fg); text-transform: uppercase;
}

.hero__tagline {
    max-width: 540px;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
    color: var(--fg);
    margin-bottom: 2.75rem;
}
.hero__tagline em { color: var(--accent); }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero__scroll {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--fg-dim);
}
.hero__scroll-line { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line span { position: absolute; left: 0; top: 0; width: 20px; height: 100%; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { left: -20px; } 100% { left: 60px; } }

.hero__side {
    position: absolute; top: 50%;
    font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--fg-faint);
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    z-index: 2;
}
.hero__side--left { left: var(--gutter); }
.hero__side--right { right: var(--gutter); transform: translateY(-50%); }

/* ---------- MARQUEE ---------- */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 1.5rem 0;
    background: var(--bg-elev);
}
.marquee__track {
    display: flex; align-items: center; gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
    letter-spacing: 0.02em;
    color: var(--fg);
    width: max-content;
}
.marquee__dot { color: var(--accent); font-size: 0.8em; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: var(--section-pad) var(--gutter); max-width: var(--container); margin: 0 auto; }

.manifesto__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
}
.manifesto__heading {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 1.02; letter-spacing: -0.02em;
}
.manifesto__heading em { color: var(--accent); }

.manifesto__signature {
    margin-top: 2.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.manifesto__signature img { width: 120px; height: auto; }
.manifesto__signature span {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em;
    color: var(--fg-dim); text-transform: uppercase;
}

.manifesto__body { max-width: 600px; }
.manifesto__lead {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.45; margin-bottom: 1.75rem; color: var(--fg);
}
.manifesto__body p { color: var(--fg-dim); margin-bottom: 1.25rem; }

/* Stats strip with background image */
.manifesto__strip {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    margin-bottom: 5rem;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 320px;
}
.manifesto__strip-img { position: relative; overflow: hidden; }
.manifesto__strip-img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.5) contrast(1.1);
}
.manifesto__strip-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(10,10,10,0.7));
}
.manifesto__stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    padding: 3rem 2.5rem;
    background: var(--bg-elev);
}
.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.stat__num {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1; color: var(--fg);
}
.stat__label {
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-dim); line-height: 1.4;
}

/* Pillars */
.pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pillar {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--line);
    transition: background 0.4s var(--ease);
    position: relative;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--bg-elev); }
.pillar__num {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
    letter-spacing: 0.1em; margin-bottom: 1.5rem;
}
.pillar__title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 1.3rem; letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}
.pillar p { color: var(--fg-dim); font-size: 0.92rem; line-height: 1.55; }

/* ---------- COLLECTIONS ---------- */
.collections { padding: var(--section-pad) var(--gutter); background: var(--bg); }

.collections__head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 3rem; flex-wrap: wrap;
    max-width: var(--container); margin: 0 auto 4rem;
}
.collections__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95; letter-spacing: -0.03em;
}
.collections__title em { color: var(--accent); }
.collections__desc { max-width: 380px; color: var(--fg-dim); font-size: 0.95rem; line-height: 1.6; }

.collections__grid {
    max-width: var(--container); margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.work {
    position: relative; overflow: hidden;
    background: var(--bg-elev);
    cursor: none;
    aspect-ratio: 3/4;
    grid-column: span 4;
}
.work--feature { grid-column: span 6; aspect-ratio: 4/3; }
.work:nth-child(6n+4) { grid-column: span 5; }
.work:nth-child(6n+5) { grid-column: span 4; }
.work:nth-child(6n+6) { grid-column: span 3; }

.work__media { position: absolute; inset: 0; overflow: hidden; }
.work__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(0.3) contrast(1.05);
}
.work:hover .work__media img { transform: scale(1.06); filter: grayscale(0) contrast(1.1); }

.work__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.92) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.75rem;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.work:hover .work__overlay { opacity: 1; }
.work__cat {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.5rem;
}
.work__title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    transform: translateY(10px); transition: transform 0.5s var(--ease);
}
.work:hover .work__title { transform: translateY(0); }
.work__desc {
    color: var(--fg-dim); font-size: 0.85rem; line-height: 1.45;
    transform: translateY(10px); opacity: 0;
    transition: transform 0.5s var(--ease) 0.05s, opacity 0.5s var(--ease) 0.05s;
}
.work:hover .work__desc { transform: translateY(0); opacity: 1; }

.work__index {
    position: absolute; top: 1.25rem; left: 1.25rem;
    font-family: var(--font-mono); font-weight: 500;
    font-size: 0.72rem; color: var(--fg);
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    padding: 0.35rem 0.7rem;
    letter-spacing: 0.08em;
    border: 1px solid var(--line);
}

.collections__cta { display: flex; justify-content: center; margin-top: 4rem; }

/* ---------- AI MOTION ---------- */
.ai-motion {
    padding: var(--section-pad) var(--gutter);
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.ai-motion__head {
    max-width: var(--container); margin: 0 auto 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
}
.ai-motion__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95; letter-spacing: -0.03em;
}
.ai-motion__title em { color: var(--accent); }
.ai-motion__lead { color: var(--fg-dim); max-width: 480px; font-size: 1rem; line-height: 1.6; }

.ai-motion__stage { max-width: var(--container); margin: 0 auto 4rem; }

/* Real video player */
.player {
    position: relative;
    background: #000;
    aspect-ratio: 9/16;
    max-height: 80vh;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -20px rgba(0, 229, 255, 0.15);
}
.player__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.player__play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 88px; height: 88px;
    border: 1.5px solid var(--fg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--fg);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s var(--ease);
    z-index: 4;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.3);
}
.player__play svg { width: 32px; height: 32px; margin-left: 4px; }
.player__play:hover { background: var(--accent); border-color: var(--accent); color: #000; transform: translate(-50%, -50%) scale(1.08); }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }

/* HUD overlay */
.player__hud {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    padding: 1.25rem;
    display: flex; flex-direction: column; justify-content: space-between;
}
.player__hud-row { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.player__hud-tag {
    font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em;
    color: var(--accent); background: rgba(0,0,0,0.65); padding: 0.3rem 0.65rem;
    border: 1px solid rgba(0,229,255,0.35);
    backdrop-filter: blur(6px);
}
.player__hud-tag--rec { color: #ff4040; border-color: rgba(255,64,64,0.4); }
.player__hud-tag--rec::before { content: '● '; }
.player__hud-row--bottom { justify-content: space-between; }
.player__hud-meta {
    font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
    color: rgba(245,245,240,0.6);
    text-transform: uppercase;
}

.player__scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0,229,255,0.04) 3px, rgba(0,229,255,0.04) 4px);
    pointer-events: none; z-index: 2;
    opacity: 0.5;
    mix-blend-mode: screen;
}

/* Bottom controls */
.player__controls {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
    padding: 1.5rem 1rem 0.75rem;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.3s var(--ease);
}
.player__progress {
    width: 100%; height: 2px; background: rgba(255,255,255,0.2);
    cursor: pointer; margin-bottom: 0.6rem;
    position: relative;
}
.player__progress-fill {
    height: 100%; background: var(--accent); width: 0;
    transition: width 0.1s linear;
}
.player__buttons {
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--fg);
}
.player__btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fg); transition: color 0.3s var(--ease);
}
.player__btn:hover { color: var(--accent); }
.player__btn svg { width: 16px; height: 16px; }
.player__btn--right { margin-left: auto; }
.player__duration {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
    color: var(--fg-dim);
}

.ai-motion__caption {
    text-align: center; margin-top: 2rem;
    max-width: 640px; margin-left: auto; margin-right: auto;
}
.ai-motion__caption-cat {
    display: block; font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.2em; color: var(--accent); margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.ai-motion__caption-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 1.6rem; margin-bottom: 0.75rem;
}
.ai-motion__caption-desc { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.6; }

.ai-motion__process {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    padding-top: 3rem; border-top: 1px solid var(--line);
}
.process-step { padding-right: 1rem; }
.process-step__num {
    font-family: var(--font-mono); font-weight: 500;
    font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em;
    display: block; margin-bottom: 1rem;
}
.process-step__title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 1.3rem; margin-bottom: 0.5rem;
}
.process-step p { color: var(--fg-dim); font-size: 0.9rem; line-height: 1.55; }

/* ---------- ATELIER ---------- */
.atelier { padding: var(--section-pad) var(--gutter); }
.atelier__grid {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.atelier__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 0.98; letter-spacing: -0.03em;
    margin-bottom: 2rem;
}
.atelier__title em { color: var(--accent); }
.atelier__text p { color: var(--fg-dim); margin-bottom: 1.25rem; line-height: 1.65; }
.atelier__list {
    list-style: none; margin-top: 2rem;
    border-top: 1px solid var(--line);
}
.atelier__list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.atelier__list li span:first-child { color: var(--fg); }
.atelier__list li span:last-child { color: var(--fg-dim); font-size: 0.82rem; letter-spacing: 0.05em; font-family: var(--font-mono); }

.atelier__visual { position: relative; }
.atelier__panel {
    background: #0d0d0d;
    border: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow: hidden;
}
.atelier__panel-top {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: #161616;
    border-bottom: 1px solid var(--line);
}
.atelier__dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.atelier__dot:nth-child(1) { background: #ff5f56; }
.atelier__dot:nth-child(2) { background: #ffbd2e; }
.atelier__dot:nth-child(3) { background: #27c93f; }
.atelier__panel-title { margin-left: auto; color: var(--fg-dim); font-size: 0.78rem; }
.atelier__panel-body { padding: 1.5rem; line-height: 1.7; }
.atelier__panel-body p { color: var(--fg); }
.atelier__prompt { color: var(--accent); margin-right: 0.5rem; }
.atelier__line { color: var(--fg-dim); padding-left: 0.5rem; }
.atelier__ok { color: #27c93f; font-weight: 500; }
.atelier__cursor-blink { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--section-pad) var(--gutter) 6rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.contact__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.contact__wordmark { margin-bottom: 2rem; }
.contact__wordmark img { width: clamp(160px, 28vw, 260px); height: auto; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(0,229,255,0.2)); }

.contact__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 0.98; letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.contact__title em { color: var(--accent); }
.contact__lead { color: var(--fg-dim); font-size: 1.05rem; max-width: 520px; margin: 0 auto 3rem; line-height: 1.6; }

.contact__actions { margin-bottom: 4rem; }
.contact__email {
    display: inline-block;
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.5rem;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__email:hover { color: var(--accent); border-color: var(--accent); }

.contact__socials { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
.contact__social {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 600;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__social:hover { background: var(--fg); color: #000; border-color: var(--fg); }

.contact__form {
    text-align: left;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    margin-top: 3rem;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
    width: 100%;
    background: transparent;
    border: none; border-bottom: 1px solid var(--line);
    color: var(--fg);
    font-family: var(--font-body); font-size: 1rem;
    padding: 1.25rem 0 0.75rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
    position: absolute; left: 0; top: 1.25rem;
    color: var(--fg-dim); font-size: 0.95rem;
    pointer-events: none;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease), font-size 0.3s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.1rem);
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent);
}
.contact__form .btn { grid-column: 1 / -1; margin-top: 1rem; }
.contact__note { grid-column: 1 / -1; text-align: center; color: var(--fg-dim); font-size: 0.85rem; min-height: 1.2em; }

/* ---------- FOOTER ---------- */
.footer {
    background: #000;
    border-top: 1px solid var(--line);
    padding: 4rem var(--gutter) 2rem;
}
.footer__top {
    max-width: var(--container); margin: 0 auto 3rem;
    display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 3rem;
    align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__brand img { height: auto; width: auto; }
.footer__brand span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); }
.footer__nav { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: 0.85rem; color: var(--fg-dim); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--accent); }
.footer__socials { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.footer__socials a { font-size: 0.82rem; color: var(--fg-dim); transition: color 0.3s var(--ease); }
.footer__socials a:hover { color: var(--accent); }

.footer__bottom {
    max-width: var(--container); margin: 0 auto;
    padding-top: 2rem; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    font-size: 0.75rem; color: var(--fg-faint);
}
.footer__toplink { color: var(--fg-dim); transition: color 0.3s var(--ease); }
.footer__toplink:hover { color: var(--accent); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(10px);
    z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__content {
    max-width: 90vw; max-height: 88vh;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    transform: scale(0.96);
    transition: transform 0.5s var(--ease);
}
.lightbox.is-open .lightbox__content { transform: scale(1); }
.lightbox__content img {
    max-width: 100%; max-height: 80vh;
    object-fit: contain;
    border: 1px solid var(--line);
}
.lightbox__caption { text-align: center; }
.lightbox__cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.3rem; }
.lightbox__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }

.lightbox__close, .lightbox__nav {
    position: absolute;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fg);
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.4);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.lightbox__close { top: 2rem; right: 2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 2rem; }
.lightbox__nav--next { right: 2rem; }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.pillars .pillar.reveal:nth-child(1) { transition-delay: 0s; }
.pillars .pillar.reveal:nth-child(2) { transition-delay: 0.15s; }
.pillars .pillar.reveal:nth-child(3) { transition-delay: 0.3s; }

.collections__grid .work.reveal:nth-child(3n) { transition-delay: 0.1s; }
.ai-motion__process .process-step.reveal:nth-child(1) { transition-delay: 0s; }
.ai-motion__process .process-step.reveal:nth-child(2) { transition-delay: 0.15s; }
.ai-motion__process .process-step.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .manifesto__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .manifesto__strip { grid-template-columns: 1fr; }
    .manifesto__strip-img { min-height: 240px; }
    .manifesto__stats { grid-template-columns: 1fr 1fr; padding: 2rem; }
    .pillars { grid-template-columns: 1fr; }
    .pillar { border-right: none; border-bottom: 1px solid var(--line); }
    .pillar:last-child { border-bottom: none; }
    .ai-motion__head { grid-template-columns: 1fr; gap: 1.5rem; }
    .ai-motion__process { grid-template-columns: 1fr; gap: 2rem; }
    .atelier__grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer__top { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer__brand { align-items: center; }
    .footer__socials { align-items: center; flex-direction: row; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .nav.is-open {
        display: flex; flex-direction: column;
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(85vw, 360px);
        background: var(--bg-elev);
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid var(--line);
        z-index: 105;
    }
    .nav.is-open .nav__link { font-size: 1.1rem; }
    .hero__side { display: none; }
    .hero__logo-img { width: clamp(220px, 70vw, 360px); }
    .hero__meta { gap: 1.25rem; font-size: 0.6rem; }
    .collections__grid { grid-template-columns: 1fr; }
    .work, .work--feature, .work:nth-child(6n+4), .work:nth-child(6n+5), .work:nth-child(6n+6) {
        grid-column: 1 / -1; aspect-ratio: 4/5;
    }
    .contact__form { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__nav--prev { left: 0.75rem; }
    .lightbox__nav--next { right: 0.75rem; }
    .lightbox__close { top: 1rem; right: 1rem; }
    .player { aspect-ratio: 9/16; max-height: 70vh; }
}

@media (max-width: 480px) {
    :root { --gutter: 1.25rem; }
    .hero { padding-top: 6rem; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .manifesto__stats { grid-template-columns: 1fr 1fr; padding: 1.5rem; }
    .marquee__track { font-size: 1.5rem; }
    .player__play { width: 64px; height: 64px; }
    .player__play svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero__bg-img { animation: none; }
}
