/* ==========================================================================
   FluidGrafix v2 — Dark Fluid
   Typography: Bricolage Grotesque (display) + Outfit (body)
   Palette: Deep noir + electric cyan + violet
   ========================================================================== */

@property --mesh-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --glow-x {
    syntax: '<percentage>';
    initial-value: 50%;
    inherits: false;
}

@property --glow-y {
    syntax: '<percentage>';
    initial-value: 50%;
    inherits: false;
}

:root {
    --bg-deep: #040810;
    --bg-surface: #080e18;
    --bg-raised: #0c1422;
    --bg-glass: rgba(8, 14, 24, 0.7);

    --border: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(0, 229, 255, 0.15);
    --border-active: rgba(0, 229, 255, 0.3);

    --cyan: #00e5ff;
    --cyan-dim: rgba(0, 229, 255, 0.5);
    --cyan-glow: rgba(0, 229, 255, 0.08);
    --violet: #7b61ff;
    --violet-glow: rgba(123, 97, 255, 0.1);
    --coral: #ff6b9d;

    --text: #e4e8ec;
    --text-dim: #7a8a9a;
    --text-faint: #3a4a5a;

    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: var(--bg-raised) var(--bg-deep);
}

body {
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}

@media (hover: none) {
    body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }

.nav, .site-footer { cursor: auto; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }

/* ==========================================================================
   Cursor Glow
   ========================================================================== */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
}

.cursor-glow.active { opacity: 1; }

@media (hover: none) {
    .cursor-glow { display: none; }
}

/* ==========================================================================
   Fluid Canvas
   ========================================================================== */
#fluidCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(1rem, 4vw, 3rem);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand-accent {
    color: var(--cyan);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--bg-raised);
    border: 1px solid var(--border-hover);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-sm);
    color: var(--cyan) !important;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out-quart);
}

.nav-cta:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--border-active);
    transform: translateY(-1px);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.hero-content {
    text-align: center;
    position: relative;
}

.hero-wordmark {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 800;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 1.5rem;
    user-select: none;
}

.wm-char {
    display: inline-block;
    transition: transform 0.4s var(--ease-elastic), color 0.3s ease, text-shadow 0.3s ease;
    will-change: transform;
}

.wm-char:hover {
    color: var(--cyan);
    text-shadow: 0 0 40px var(--cyan-dim);
    transform: translateY(-8px) scale(1.05);
}

.wm-space {
    width: 0.3em;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    margin-bottom: 4rem;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-faint);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: hintFloat 3s ease-in-out infinite;
}

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
    0%, 100% { cy: 7; opacity: 1; }
    50% { cy: 16; opacity: 0.3; }
}

/* ==========================================================================
   Shared: Labels, Headings
   ========================================================================== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-variation-settings: 'opsz' 72;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
}

.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   Selected Work
   ========================================================================== */
.work {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.work-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.4s ease, transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.06);
}

.work-thumb {
    position: absolute;
    inset: 0;
}

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

.work-card:hover .work-thumb img {
    transform: scale(1.03);
    filter: brightness(0.55);
}

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: linear-gradient(to top, rgba(4, 8, 16, 0.9) 0%, rgba(4, 8, 16, 0.2) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-quart);
}

.work-card:hover .work-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-cat {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.4rem;
}

.work-overlay h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    font-variation-settings: 'opsz' 72;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.work-overlay p {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 300;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[hidden] {
    display: flex;
    pointer-events: none;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.lightbox-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 85vh;
    gap: 1.25rem;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s var(--ease-out-expo);
}

.lightbox.is-open .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 65vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s ease;
}

.lightbox-img.loading {
    opacity: 0.4;
}

.lightbox-info {
    text-align: center;
    padding: 1.25rem 0 0;
}

.lightbox-info .lightbox-cat {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.4rem;
}

.lightbox-info .lightbox-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    font-variation-settings: 'opsz' 72;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.lightbox-info .lightbox-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-dim);
}

.lightbox-counter {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-faint);
    letter-spacing: 0.1em;
}

.lightbox-prev,
.lightbox-next,
.lightbox-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-dim);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-quart);
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    border-color: var(--border-hover);
    color: var(--cyan);
    transform: scale(1.08);
}

.lightbox-prev {
    left: clamp(1rem, 3vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
    right: clamp(1rem, 3vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-close {
    top: clamp(1rem, 3vw, 1.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s var(--ease-out-quart);
}

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

.service-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), var(--cyan-glow) 0%, transparent 60%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 200;
    font-variation-settings: 'opsz' 12;
    color: var(--text-faint);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.service-card:hover .service-num {
    color: var(--cyan-dim);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    font-variation-settings: 'opsz' 48;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-dim);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 320px;
    margin: 0 auto;
}

.about-orb {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--cyan-glow), var(--violet-glow), transparent);
    filter: blur(30px);
    animation: orbPulse 6s ease-in-out infinite;
}

.about-ring {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    animation: ringRotate 20s linear infinite;
}

.about-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.about-ring-2 {
    inset: 0;
    border-color: var(--border);
    animation-duration: 30s;
    animation-direction: reverse;
}

.about-ring-2::after {
    background: var(--violet);
    box-shadow: 0 0 12px var(--violet);
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-content {
    max-width: 600px;
}

.about-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    font-variation-settings: 'opsz' 36;
    line-height: 1.5;
    color: var(--text);
    padding-left: 1.5rem;
    border-left: 2px solid var(--cyan);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.about-content p em {
    color: var(--text);
    font-weight: 400;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.process-line {
    display: none;
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: 1px solid var(--border);
}

.step-marker {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 48px;
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 200;
    font-variation-settings: 'opsz' 12;
    color: var(--text-faint);
    line-height: 1;
    transition: color 0.4s ease;
}

.process-step:hover .step-num {
    color: var(--cyan);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    font-variation-settings: 'opsz' 48;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-dim);
    max-width: 500px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
    position: relative;
    z-index: 2;
    padding: clamp(6rem, 12vw, 10rem) clamp(1rem, 4vw, 3rem);
    text-align: center;
    overflow: hidden;
}

.cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--cyan-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--violet-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 107, 157, 0.04) 0%, transparent 40%);
    animation: meshShift 15s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% { --mesh-angle: 0deg; transform: scale(1); }
    100% { --mesh-angle: 30deg; transform: scale(1.1); }
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    font-variation-settings: 'opsz' 96;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.cta-content h2 em {
    font-style: italic;
    color: var(--cyan);
    -webkit-text-fill-color: var(--cyan);
}

.cta-content p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--bg-deep);
    background: var(--cyan);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s ease, background 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
    background: #33ebff;
}

.cta-btn svg {
    transition: transform 0.3s var(--ease-out-quart);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    padding: 2.5rem clamp(1rem, 4vw, 3rem);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    font-variation-settings: 'opsz' 96;
    color: var(--text);
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-faint);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--text); }

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--text-faint);
    transition: color 0.3s ease, background 0.3s ease;
}

.footer-social a:hover {
    color: var(--cyan);
    background: var(--cyan-glow);
}

/* ==========================================================================
   Pull-to-Refresh (mobile)
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
    html, body { overscroll-behavior-y: none; }
}

.ptr {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: height 0.3s var(--ease-out-quart);
    perspective: 600px;
}

.ptr.ptr-active {
    transition: none;
}

.ptr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-raised);
    border: 1px solid var(--border-hover);
    margin-top: 12px;
    opacity: var(--ptr-progress, 0);
    transform: scale(calc(0.3 + 0.7 * var(--ptr-progress, 0)));
    transform-style: preserve-3d;
    flex-shrink: 0;
}

.ptr-icon.flipping {
    opacity: 1;
    animation: ptrFlip 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ptrFlip {
    0%   { transform: scale(1) rotateY(0deg); }
    100% { transform: scale(1) rotateY(360deg); }
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

.reveal-work {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-work.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger */
.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.work-grid .reveal-work:nth-child(1) { transition-delay: 0s; }
.work-grid .reveal-work:nth-child(2) { transition-delay: 0.08s; }
.work-grid .reveal-work:nth-child(3) { transition-delay: 0.12s; }
.work-grid .reveal-work:nth-child(4) { transition-delay: 0.16s; }
.work-grid .reveal-work:nth-child(5) { transition-delay: 0.2s; }
.work-grid .reveal-work:nth-child(6) { transition-delay: 0.24s; }

.process-track .reveal:nth-child(2) { transition-delay: 0s; }
.process-track .reveal:nth-child(3) { transition-delay: 0.1s; }
.process-track .reveal:nth-child(4) { transition-delay: 0.2s; }
.process-track .reveal:nth-child(5) { transition-delay: 0.3s; }

/* ==========================================================================
   Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-work { opacity: 1; transform: none; }
    .cursor-glow { display: none; }
    #fluidCanvas { display: none; }
    body { cursor: auto; }
}

@media (hover: none) {
    .work-overlay { opacity: 1; transform: none; }
    .work-card:hover .work-thumb img { transform: none; filter: brightness(0.6); }
    .service-card:hover { transform: none; }
    .work-card:hover { transform: none; box-shadow: none; }
    .nav-cta:hover { transform: none; }
    .cta-btn:hover { transform: none; }
}

/* ==========================================================================
   Responsive — min-width: 640px (Tablet)
   ========================================================================== */
@media (min-width: 640px) {
    .nav-inner { height: 80px; }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-visual {
        max-width: 380px;
    }

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

    .footer-brand {
        flex-direction: row;
        align-items: baseline;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Responsive — min-width: 1024px (Desktop)
   ========================================================================== */
@media (min-width: 1024px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }

    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .about-inner {
        grid-template-columns: 1fr 1.3fr;
        gap: 6rem;
    }

    .about-visual {
        max-width: 100%;
    }

    .process-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 2.5rem 2rem;
        border-top: none;
        border-left: 1px solid var(--border);
    }

    .process-step:last-child {
        border-bottom: none;
        border-right: 1px solid var(--border);
    }

    .step-marker {
        width: auto;
        justify-content: flex-start;
        margin-bottom: 1.5rem;
    }

    .step-num {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Responsive — min-width: 1400px (Large)
   ========================================================================== */
@media (min-width: 1400px) {
    .hero-wordmark {
        font-size: 10rem;
    }

    .section-title {
        font-size: 4rem;
    }

    .cta-content h2 {
        font-size: 6rem;
    }
}
