/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple: #9338F4;
    --purple-light: #a85ff6;
    --purple-dark: #6b20c0;
    --blue-deep: #0019FF;
    --blue-light: #00B1FF;
    --sideral: #02021E;
    --bg-dark: #0a0a0a;
    --text-white: #f0eef5;
    --text-muted: rgba(255,255,255,0.6);
    --card-bg: #111111;
    --card-accent: #1a1230;
}

html {
    /* scroll-snap removed — was blocking content below */
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(147, 56, 244, 0.25);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 56, 244, 0.45);
}

body {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button, input, textarea, select, label, [role="button"], .bento-img, .bento-tag, .btn-fixed, .ms-cta-button, .lightbox, .lightbox-close, .lightbox-arrow, .lightbox-img-wrap, .ps-color-swatch {
    cursor: none !important;
}

/* ============ CURSOR ============ */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 99999;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
    opacity: 0;
}
#custom-cursor.visible { opacity: 1; }
#custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: radial-gradient(circle, #fff 0%, rgba(147,56,244,0.6) 70%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(147,56,244,0.5), 0 0 20px rgba(147,56,244,0.2);
}
#cursor-trail {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
}

/* ============ NAVIGATION ============ */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-left { flex-shrink: 0; }
.nav-logo { height: 22px; width: auto; filter: brightness(1.1); transition: opacity 0.3s; }
.nav-logo:hover { opacity: 0.85; }

.nav-center {
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}
.nav-links a {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 92, 246, 0.35);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    list-style: none;
    background: rgba(12, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.6rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.dropdown li a:hover {
    background: rgba(147,56,244,0.15);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.social-icons a {
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}
.social-icons a:hover { opacity: 1; transform: scale(1.15); }
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    z-index: 10001;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger-btn.active {
    position: fixed;
    top: calc(0.8rem + env(safe-area-inset-top));
    right: 1.2rem;
    z-index: 99999;
    display: flex !important;
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(6, 4, 14, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.mobile-nav-overlay.active,
.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-nav-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}
.mobile-nav-link:hover { color: #fff; }
.mobile-nav-link.active { color: var(--purple-light) !important; text-shadow: 0 0 10px rgba(168, 95, 246, 0.5), 0 0 20px rgba(168, 95, 246, 0.2); }
.mobile-nav-dropdown {
    list-style: none;
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.mobile-nav-dropdown .mobile-nav-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.mobile-nav-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.mobile-nav-socials a { opacity: 0.5; transition: opacity 0.3s; }
.mobile-nav-socials a:hover { opacity: 1; }

/* ============ FIXED BUTTONS ============ */
#fixed-buttons {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s, visibility 0.6s, transform 0.6s;
}
#fixed-buttons.visible {
    opacity: 1;
    visibility: visible;
}
.btn-fixed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 50px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--purple-light);
    text-decoration: none;
    backdrop-filter: blur(10px);
}
.btn-fixed:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: var(--purple-light);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}
.btn-star {
    font-size: 0.9em;
    display: inline-block;
    animation: starTwinkle 2s ease-in-out infinite;
}
@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============ HERO — PROCESS & SERVICES ============ */
.ps-hero {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    z-index: 1;
}
.ps-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 240px 240px;
    pointer-events: none;
    z-index: 1;
}

/* ── Arc glow canvas ── */
.ps-hero-arc {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ── Hero content (text overlaid on star) ── */
.ps-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    padding: 2rem 3rem;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
    border-radius: 20px;
}
.ps-hero-label {
    opacity: 0;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.ps-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.6);
    color: var(--text-white);
    opacity: 0;
}


/* ============ INTRO ============ */
.ps-intro {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 85%);
}
.ps-intro-glass {
    position: relative;
    width: 90%;
    max-width: 900px;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    background:
        radial-gradient(ellipse 40% 50% at 15% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 35% 45% at 85% 75%, rgba(100, 50, 220, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 50% 10%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.8rem 5rem;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.ps-intro-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0.06;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 400px 400px;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}
.ps-intro-star {
    color: var(--purple-light);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    opacity: 0.6;
    font-style: normal;
}
.ps-intro-star-bottom {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    display: block;
}
.ps-intro-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}
.ps-intro-text {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}
.ps-intro-text em {
    font-style: normal;
    color: var(--purple-light);
}
.ps-intro-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 1.5rem auto;
    position: relative;
    z-index: 1;
}
.ps-intro-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.03em;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ============ PROCESS STAGES ============ */
.ps-stages {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 8rem;
    z-index: 10;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-dark) 82%, transparent 100%);
}

.ps-stage {
    padding: 4rem 5% 3rem;
    position: relative;
}
.ps-stage + .ps-stage {
    margin-top: 2rem;
}

.ps-stage-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}
.ps-stage-number {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: rgba(147, 56, 244, 0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}
.ps-stage-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}
.ps-stage-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.ps-stage-body {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 6rem;
}
.ps-stage-desc {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    font-weight: 500;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.02em;
}

/* ============ MAGIC TEXT REVEAL ============ */
.magic-reveal {
    opacity: 0;
    transform: translateY(30px);
}
.magic-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-char {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-char.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}
.magic-char.glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* ============ AURORA BOREALIS BACKGROUND ============ */
.aurora-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 50% 120%, rgba(0, 25, 120, 0.55), transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #020818 45%, #031030 100%);
}
.aurora-wrap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 85%;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}
.aurora-ground-glow {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 38%;
    background:
        radial-gradient(ellipse 70% 100% at 50% 100%, rgba(0, 25, 255, 0.42), transparent 70%),
        radial-gradient(ellipse 55% 95% at 26% 100%, rgba(0, 60, 255, 0.3), transparent 70%),
        radial-gradient(ellipse 55% 95% at 74% 100%, rgba(0, 177, 255, 0.3), transparent 70%),
        radial-gradient(ellipse 40% 80% at 50% 100%, rgba(59, 130, 246, 0.25), transparent 65%);
    filter: blur(22px);
    z-index: 3;
    animation: auroraGroundPulse 6s ease-in-out infinite;
}
@keyframes auroraGroundPulse {
    0%, 100% { opacity: 0.85; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.08); }
}
.aurora-curtain {
    position: absolute;
    bottom: -6%;
    transform-origin: bottom center;
    mix-blend-mode: screen;
    filter: blur(var(--blur, 22px));
    opacity: var(--op, 0.8);
    border-radius: 48% 48% 0 0 / 90% 90% 0 0;
    animation: auroraSway var(--sway, 9s) ease-in-out infinite alternate,
               auroraBreathe var(--breathe, 7s) ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes auroraSway {
    0%   { transform: translateX(var(--x, 0)) skewX(var(--sk1, -8deg)) scaleY(var(--sy1, 1)) scaleX(var(--sx1, 1)); }
    50%  { transform: translateX(calc(var(--x, 0) + var(--drift, 40px) * 0.5)) skewX(var(--skm, 0deg)) scaleY(var(--sym, 1.06)) scaleX(var(--sxm, 1.08)); }
    100% { transform: translateX(calc(var(--x, 0) + var(--drift, 40px))) skewX(var(--sk2, 10deg)) scaleY(var(--sy2, 1.12)) scaleX(var(--sx2, 0.94)); }
}
@keyframes auroraBreathe {
    0%, 100% { opacity: var(--op, 0.8); }
    50% { opacity: calc(var(--op, 0.8) * 0.45); }
}
.aurora-rays {
    position: absolute;
    inset: 0;
    mix-blend-mode: screen;
    pointer-events: none;
}
.aurora-ray {
    position: absolute;
    bottom: 0;
    width: var(--w, 8px);
    height: var(--h, 60%);
    background: linear-gradient(180deg, transparent, var(--c, rgba(147,56,244,0.5)) 40%, transparent);
    filter: blur(11px);
    transform-origin: bottom;
    animation: auroraRayPulse var(--rp, 5s) ease-in-out infinite;
    animation-delay: var(--rd, 0s);
}
@keyframes auroraRayPulse {
    0%, 100% { opacity: 0.15; transform: scaleY(0.85); }
    50% { opacity: 0.8; transform: scaleY(1.08); }
}
.aurora-blob {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: blur(var(--bblur, 40px));
    background: radial-gradient(circle at 50% 60%,
        var(--bc, rgba(90,200,255,0.9)) 0%,
        var(--bc2, rgba(40,130,255,0.5)) 40%,
        transparent 72%);
    will-change: transform, opacity;
    animation: auroraRise var(--rdur, 9s) ease-in-out infinite;
    animation-delay: var(--rdelay, 0s);
}
@keyframes auroraRise {
    0%   { transform: translateY(10%) scale(0.7); opacity: 0; }
    18%  { opacity: var(--bop, 0.85); }
    65%  { opacity: calc(var(--bop, 0.85) * 0.8); }
    100% { transform: translateY(-115%) scale(1.25); opacity: 0; }
}
.aurora-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============ CONCEPT SECTION LAYOUT ============ */
.ps-stage--concept {
    position: relative;
}
.ps-concept-aurora {
    position: relative;
    overflow: hidden;
    padding: 8rem 5% 8rem 15%;
    margin: -4rem 0 6rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.ps-concept-aurora .ps-stage-header,
.ps-concept-aurora .ps-concept-number,
.ps-concept-aurora .ps-concept-desc {
    position: relative;
    z-index: 5;
}
.ps-concept-number {
    display: block;
    float: left;
    margin-right: 2.5rem;
    margin-left: -3%;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(140, 180, 255, 0.2);
    pointer-events: none;
    z-index: 6;
}
.ps-stage--concept .ps-stage-header {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}
.ps-stage--concept .ps-stage-header-text {
    margin-left: 0;
}
.ps-concept-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 15%;
    max-width: 100%;
}
.ps-stage--concept .ps-stage-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.ps-stage--concept .ps-stage-subtitle {
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-stage--concept .ps-stage-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============ STYLED STAGES (02, 03, 04) ============ */
.ps-stage--styled {
    position: relative;
}
.ps-stage-intro {
    position: relative;
    overflow: hidden;
    padding: 8rem 5% 8rem 15%;
    margin: -4rem 0 6rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.ps-stage-intro .ps-stage-header,
.ps-stage-intro .ps-stage-num-glass,
.ps-stage-intro .ps-stage-desc-left {
    position: relative;
    z-index: 5;
}
.ps-stage-num-glass {
    display: block;
    float: left;
    margin-right: 2.5rem;
    margin-left: -3%;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(140, 180, 255, 0.2);
    pointer-events: none;
}
.ps-stage--styled .ps-stage-header {
    text-align: left;
    max-width: 1200px;
    margin: 0;
}
.ps-stage--styled .ps-stage-header-text {
    margin-left: 0;
}
.ps-stage--styled .ps-stage-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.ps-stage--styled .ps-stage-subtitle {
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 2.5rem;
}
.ps-stage-desc-left {
    text-align: left;
    margin-left: 0;
    margin-right: 15%;
    max-width: 100%;
    color: rgba(255,255,255,0.85);
}

/* Sub-sections */
.ps-sub-section {
    margin-top: 5rem;
}
.ps-sub-title {
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 500;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 1.8rem;
    letter-spacing: 0.02em;
}
.ps-sub-title + .ps-sub-desc {
    margin-top: -1.4rem;
}
.ps-sub-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-bottom: 1.8rem;
    letter-spacing: 0.02em;
    line-height: 1.7;
}

/* ============ COLOR PALETTE ============ */
.ps-color-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    padding: 0 5%;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    margin-bottom: 5rem;
}
.ps-color-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 2rem;
    border-radius: 1rem;
    aspect-ratio: 3/4;
    width: 100%;
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    border: none;
}
.ps-color-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.ps-color-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}
.ps-color-info {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}
.ps-color-hex {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
}
.ps-color-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.ps-color-hover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.ps-color-card:hover .ps-color-hover-img {
    opacity: 1;
}

/* ============ STORYTELLING ============ */
.ps-storytelling {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8rem;
    position: relative;
}
.ps-story-quote {
    position: relative;
    padding: 2.8rem 3.5rem;
    border-radius: 1.4rem;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    background:
        radial-gradient(ellipse 50% 60% at 10% 15%, rgba(139, 92, 246, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 45% 55% at 90% 80%, rgba(100, 50, 220, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 35% 45% at 50% 5%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.15),
        0 0 120px rgba(100, 50, 220, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
    text-align: center;
    overflow: hidden;
}
/* Noise texture overlay */
.ps-story-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.06;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 400px 400px;
    pointer-events: none;
    z-index: 0;
}
.ps-story-quote > * {
    position: relative;
    z-index: 1;
}
.ps-story-quote p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
    text-align: center;
}
.ps-story-quote p:last-child {
    margin-bottom: 0;
}
.ps-story-closing {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem !important;
    color: #fff !important;
    margin-top: 0.5rem;
}

/* ============ Raw galleries — mosaic layout ============ */
.ps-raw-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1400px;
    margin: 0 auto;
}
.ps-raw-gallery picture {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}
.ps-raw-gallery img,
.ps-raw-gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ps-raw-gallery picture,
.ps-raw-gallery > video {
    overflow: hidden;
    display: block;
}
.ps-raw-gallery img:hover,
.ps-raw-gallery video:hover {
    transform: scale(1.05);
}

/* ── 3D: 2-column grid, natural proportions ── */
.ps-gallery-modeling {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 6px;
    max-width: 900px;
}
.ps-gallery-modeling picture {
    background: #ffffff;
}
.ps-gallery-modeling img {
    height: auto !important;
    object-fit: contain !important;
}
/* Wide landscape images — fill their cell */
.ps-gallery-modeling > :nth-child(3) img,
.ps-gallery-modeling > :nth-child(5) img {
    height: 100% !important;
    object-fit: cover !important;
}
.ps-gallery-modeling video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ── Renders: 5 RGBA images — img1 big top, 4 below in 2x2 ── */
.ps-gallery-rendering {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 6px;
    max-width: 1100px;
}
.ps-gallery-rendering picture:nth-child(1) { grid-column: 1 / -1; max-width: 700px; margin: 0 auto; }
.ps-gallery-rendering img {
    height: auto !important;
    object-fit: contain !important;
}

/* ── Technical: 6 RGBA images — 3 columns, 2 rows ── */
.ps-gallery-technical {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 6px;
    max-width: 1000px;
}
.ps-gallery-technical picture {
    background: #ffffff;
}
.ps-gallery-technical img {
    height: auto !important;
    object-fit: contain !important;
}

/* ── Build: 9 images — mixed landscape/portrait mosaic ── */
.ps-gallery-build {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    max-width: 1000px;
}
.ps-gallery-build picture:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.ps-gallery-build picture:nth-child(2) { grid-column: 3; grid-row: 1; }
.ps-gallery-build picture:nth-child(3) { grid-column: 1; grid-row: 2; }
.ps-gallery-build picture:nth-child(4) { grid-column: 2; grid-row: 2 / 4; }
.ps-gallery-build picture:nth-child(5) { grid-column: 3; grid-row: 2; }
.ps-gallery-build picture:nth-child(6) { grid-column: 1; grid-row: 3; }
.ps-gallery-build picture:nth-child(7) { grid-column: 3; grid-row: 3; }
.ps-gallery-build picture:nth-child(8) { grid-column: 1; grid-row: 4; }
.ps-gallery-build picture:nth-child(9) { grid-column: 2 / 4; grid-row: 4; }

/* ── Built: 11 images — editorial mosaic ── */
.ps-gallery-result {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    max-width: 1000px;
}
.ps-gallery-result picture:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.ps-gallery-result picture:nth-child(2) { grid-column: 3; grid-row: 1; }
.ps-gallery-result picture:nth-child(3) { grid-column: 1; grid-row: 2; }
.ps-gallery-result picture:nth-child(4) { grid-column: 2; grid-row: 2; }
.ps-gallery-result picture:nth-child(5) { grid-column: 3; grid-row: 2; }
.ps-gallery-result picture:nth-child(6) { grid-column: 1; grid-row: 3; }
.ps-gallery-result picture:nth-child(7) { grid-column: 2 / 4; grid-row: 3; }
.ps-gallery-result picture:nth-child(8) { grid-column: 1 / 3; grid-row: 4; }
.ps-gallery-result picture:nth-child(9) { grid-column: 3; grid-row: 4; }
.ps-gallery-result picture:nth-child(10) { grid-column: 1; grid-row: 5; }
.ps-gallery-result picture:nth-child(11) { grid-column: 2 / 4; grid-row: 5; }

/* ============ 3D VIDEOS ============ */
.ps-gallery-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 2.5rem auto 0;
    padding: 0 0.5rem;
}
.ps-gallery-videos video {
    width: 100%;
    border-radius: 1rem;
    background: var(--card-bg);
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

/* ============ RESULT CAPTION ============ */
.ps-result-caption {
    max-width: 900px;
    margin: 0.5rem auto 0;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* ============ BENTO GRID GALLERY ============ */
.bento-grid,
.bento-grid-alt,
.bento-grid-large,
.bento-grid-xl,
.bento-grid-compact,
.bento-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
}
.ps-gallery-references {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 5rem;
}
.ps-gallery-atmosphere {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 5rem;
}
.ps-gallery-references .bento-card,
.ps-gallery-atmosphere .bento-card {
    display: block;
    border-radius: 0;
    overflow: hidden;
    background: none;
    opacity: 1;
}
.ps-gallery-references .bento-card {
    height: 200px;
}
.ps-gallery-atmosphere .bento-card {
    max-height: 280px;
}
.ps-gallery-references .bento-img,
.ps-gallery-atmosphere .bento-img {
    background: none;
    transition: none;
    cursor: default !important;
    pointer-events: none;
}
.ps-gallery-references .bento-img img {
    border-radius: 0;
    height: 200px;
    width: auto;
    object-fit: cover;
}
.ps-gallery-atmosphere .bento-img img {
    border-radius: 0;
    width: auto;
    height: auto;
    max-height: 280px;
    object-fit: contain;
}
.ps-gallery-references .bento-img-overlay,
.ps-gallery-atmosphere .bento-img-overlay {
    display: none;
}
.ps-gallery-references .bento-img:hover,
.ps-gallery-atmosphere .bento-img:hover {
    box-shadow: none;
    transform: none;
}
.ps-gallery-references .bento-img:hover img,
.ps-gallery-atmosphere .bento-img:hover img {
    filter: none;
    transform: none;
}

/* ============ BENTO CARD BASE ============ */
.bento-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    opacity: 0;
    will-change: transform, opacity;
}

/* ============ BENTO IMAGE CARD ============ */
.bento-img {
    background: var(--card-bg);
    cursor: none;
    overflow: hidden;
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-img picture {
    display: contents;
}
.bento-img img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    transition: filter 0.7s ease;
    will-change: transform;
}
.bento-img:hover img {
    filter: brightness(1.1) saturate(1.15);
    transform: scale(1.04);
    transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-img:hover {
    box-shadow: 0 0 40px rgba(147, 56, 244, 0.2), 0 16px 40px rgba(0,0,0,0.6), 0 0 80px rgba(147, 56, 244, 0.06);
    transform: translateY(-6px) scale(1.015);
}
.bento-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 40%);
    pointer-events: none;
    transition: opacity 0.4s;
}
.bento-img:hover .bento-img-overlay {
    opacity: 0.3;
}

/* Glow border on hover */
.bento-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.4s, box-shadow 0.4s;
    pointer-events: none;
    z-index: 2;
}
.bento-img:hover::after {
    border-color: rgba(147, 56, 244, 0.35);
    box-shadow: inset 0 0 40px rgba(147, 56, 244, 0.1), 0 0 25px rgba(147, 56, 244, 0.15);
}

/* ============ BENTO GRID — LARGE (5 images for renders) ============ */
.bento-grid-large {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(340px, auto) minmax(280px, auto);
}
.bento-grid-large > .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.bento-grid-large > .bento-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.bento-grid-large > .bento-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.bento-grid-large > .bento-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.bento-grid-large > .bento-card:nth-child(5) { grid-column: 3; grid-row: 2; }

/* ============ BENTO GRID — XL (9-11 images) ============ */
.bento-grid-xl {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(300px, auto) minmax(300px, auto) minmax(300px, auto) minmax(280px, auto);
}
.bento-grid-xl > .bento-card:nth-child(1)  { grid-column: 1; grid-row: 1; }
.bento-grid-xl > .bento-card:nth-child(2)  { grid-column: 2 / 4; grid-row: 1; }
.bento-grid-xl > .bento-card:nth-child(3)  { grid-column: 1 / 3; grid-row: 2; }
.bento-grid-xl > .bento-card:nth-child(4)  { grid-column: 3; grid-row: 2; }
.bento-grid-xl > .bento-card:nth-child(5)  { grid-column: 1; grid-row: 3; }
.bento-grid-xl > .bento-card:nth-child(6)  { grid-column: 2 / 4; grid-row: 3; }
.bento-grid-xl > .bento-card:nth-child(7)  { grid-column: 1 / 3; grid-row: 4; }
.bento-grid-xl > .bento-card:nth-child(8)  { grid-column: 3; grid-row: 4; }
.bento-grid-xl > .bento-card:nth-child(9)  { grid-column: 1; grid-row: 5; }
.bento-grid-xl > .bento-card:nth-child(10) { grid-column: 2; grid-row: 5; }
.bento-grid-xl > .bento-card:nth-child(11) { grid-column: 3; grid-row: 5; }

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    backdrop-filter: blur(20px);
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    cursor: none;
    transition: color 0.3s, transform 0.3s;
    z-index: 3;
    line-height: 1;
}
.lightbox-close:hover {
    color: #fff;
    transform: rotate(90deg);
}
.lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.8rem;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.lightbox.open .lightbox-img-wrap img {
    opacity: 1;
    transform: scale(1);
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.3s;
    z-index: 3;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}
.lightbox-arrow:hover {
    background: rgba(147,56,244,0.25);
    border-color: rgba(147,56,244,0.5);
    color: #fff;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
}

/* ============ BOTTOM SKY BACKGROUND ============ */
.ms-bottom-sky {
    position: relative;
    z-index: 2;
    margin-top: -200px;
    padding-top: 150px;
    background:
        radial-gradient(ellipse 55% 45% at 82% 90%, rgba(50, 12, 70, 1) 0%, transparent 65%),
        radial-gradient(ellipse 70% 50% at 50% 55%, rgba(0, 14, 130, 0.3) 0%, transparent 60%),
        linear-gradient(
            to bottom,
            #0a0a0a 0%,
            #0a0a0d 7%,
            #0b0a10 11%,
            #0c0a14 15%,
            #0c0a1a 19%,
            #0b0a22 23%,
            #0a0a2c 27%,
            #090a36 31%,
            #080a40 35%,
            #060a4a 39%,
            #040a54 43%,
            #02095e 47%,
            #000b6a 58%,
            #000d77 64%,
            #000e7d 72%,
            #06156e 80%,
            #0f0f52 88%,
            #110d3c 95%,
            #0e0a33 100%
        );
}
.ms-bottom-sky::before {
    display: none;
}
.ms-bottom-sky::after {
    display: none;
}
.ms-bottom-sky canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.ms-bottom-sky > *:not(canvas) {
    position: relative;
    z-index: 1;
}

/* ============ CTA ============ */
.ms-cta {
    padding: 0 5% 8rem;
    text-align: center;
    position: relative;
}
.ms-cta-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
}
.ornament-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,56,244,0.5));
}
.ornament-line:last-child {
    background: linear-gradient(90deg, rgba(147,56,244,0.5), transparent);
}
.ornament-star {
    color: var(--purple-light);
    font-size: 0.7rem;
    opacity: 0.7;
}
.ms-cta-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-white);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}
.ms-cta-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}
.ms-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid rgba(142,117,179,0.5);
    border-radius: 50px;
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.4s, box-shadow 0.4s, transform 0.4s, border-color 0.4s;
    opacity: 0;
    transform: translateY(20px);
}
.ms-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(142,117,179,0.2), rgba(90,61,122,0.3));
    opacity: 0;
    transition: opacity 0.4s;
}
.ms-cta-button:hover {
    border-color: var(--purple-light);
    box-shadow: 0 0 30px rgba(142,117,179,0.3);
    transform: translateY(-2px);
}
.ms-cta-button:hover::before { opacity: 1; }

/* ============ FOOTER ============ */
#footer {
    padding: 4rem 2rem 2rem;
    background: transparent;
    position: relative;
}
.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 0.8rem;
    opacity: 0.8;
    transition: opacity 0.4s, filter 0.4s, transform 0.4s;
}
.footer-logo:hover {
    opacity: 1;
    filter: brightness(1.6) drop-shadow(0 0 18px rgba(168, 95, 246, 0.5));
    transform: scale(1.02);
}
.footer-tagline {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.footer-socials a { opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s ease; }
.footer-socials a:hover { opacity: 1; transform: scale(1.2); }
.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
}

/* ============ POPUP FORM ============ */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.4s;
}
.popup-overlay.open { display: flex; opacity: 1; }
.popup-overlay #popup-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.glow-spot {
    position: absolute;
    pointer-events: none;
    filter: blur(25px);
    opacity: 0;
    animation: glowPulse var(--dur) ease-in-out var(--delay) infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0; transform: scale(0.7) rotate(0deg); }
    30% { opacity: 0.9; transform: scale(1.1) rotate(8deg); }
    70% { opacity: 0.6; transform: scale(0.95) rotate(-5deg); }
}
.popup-modal {
    position: relative;
    z-index: 1;
    width: min(420px, 90vw);
    max-height: 96vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 28px 32px;
    border-radius: 24px;
    background: rgba(12, 8, 24, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-modal::-webkit-scrollbar { display: none; }
.popup-overlay.open .popup-modal {
    transform: translateY(0) scale(1);
}
.popup-inner {
    position: relative;
    z-index: 1;
}
.popup-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.6rem;
    cursor: none;
    line-height: 1;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s;
    z-index: 2;
}
.popup-close:hover { color: var(--purple-light); }
.popup-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--purple-light);
    margin: 0 0 6px;
    letter-spacing: 0.01em;
}
.popup-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(200, 170, 255, 0.5);
    margin: 0 0 20px;
    letter-spacing: 0.03em;
}
.popup-form { display: flex; flex-direction: column; gap: 0.9rem; }
.popup-field { display: flex; flex-direction: column; gap: 0.3rem; }
.popup-field label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(200, 170, 255, 0.55);
}
.popup-field input,
.popup-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--purple-light);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
}
.popup-field textarea { min-height: 60px; }
.popup-field input::placeholder,
.popup-field textarea::placeholder { color: rgba(255, 255, 255, 0.2); }
.popup-field input:focus,
.popup-field textarea:focus {
    border-color: rgba(147, 56, 244, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(147, 56, 244, 0.15);
}
.popup-field input:-webkit-autofill,
.popup-field input:-webkit-autofill:hover,
.popup-field input:-webkit-autofill:focus,
.popup-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(22, 22, 22, 0.95) inset !important;
    -webkit-text-fill-color: var(--purple-light) !important;
    caret-color: var(--purple-light);
    border-color: rgba(255, 255, 255, 0.08) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.popup-submit {
    width: auto;
    margin: 12px auto 0;
    padding: 14px 40px;
    display: block;
    background: rgba(147, 56, 244, 0.06);
    border: 1px solid rgba(168, 95, 246, 0.5);
    border-radius: 30px;
    color: var(--purple-light);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: none;
    transition: all 0.3s ease;
}
.popup-submit:hover {
    background: rgba(147, 56, 244, 0.15);
    box-shadow: 0 0 20px rgba(147, 56, 244, 0.25);
    transform: translateY(-1px);
}
.popup-submit:active { transform: translateY(0); }
.popup-footer-note {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    color: rgba(200, 170, 255, 0.5);
    margin: 12px 0 0;
    letter-spacing: 0.05em;
    text-align: center;
}
.popup-success {
    text-align: center;
    padding: 3rem 0;
}
.popup-success p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    color: rgba(200, 170, 255, 0.6);
    margin-top: 0.5rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid-large > .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .bento-grid-large > .bento-card:nth-child(2) { grid-column: 1; grid-row: 2; }
    .bento-grid-large > .bento-card:nth-child(3) { grid-column: 2; grid-row: 2; }
    .bento-grid-large > .bento-card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .bento-grid-large > .bento-card:nth-child(5) { grid-column: 2; grid-row: 3; }

    .bento-grid-xl {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid-xl > .bento-card:nth-child(1)  { grid-column: 1; grid-row: 1; }
    .bento-grid-xl > .bento-card:nth-child(2)  { grid-column: 2; grid-row: 1; }
    .bento-grid-xl > .bento-card:nth-child(3)  { grid-column: 1; grid-row: 2; }
    .bento-grid-xl > .bento-card:nth-child(4)  { grid-column: 2; grid-row: 2; }
    .bento-grid-xl > .bento-card:nth-child(5)  { grid-column: 1 / 3; grid-row: 3; }
    .bento-grid-xl > .bento-card:nth-child(6)  { grid-column: 1; grid-row: 4; }
    .bento-grid-xl > .bento-card:nth-child(7)  { grid-column: 2; grid-row: 4; }
    .bento-grid-xl > .bento-card:nth-child(8)  { grid-column: 1 / 3; grid-row: 5; }
    .bento-grid-xl > .bento-card:nth-child(9)  { grid-column: 1; grid-row: 6; }
    .bento-grid-xl > .bento-card:nth-child(10) { grid-column: 2; grid-row: 6; }
    .bento-grid-xl > .bento-card:nth-child(11) { grid-column: 1 / 3; grid-row: 7; }

    .bento-card { min-height: 240px; }

    .ps-color-palette { gap: 0.5rem; }
    .ps-color-card { min-width: 110px; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    a, button { cursor: auto; }
    #custom-cursor, #cursor-trail { display: none; }

    #main-nav { padding: 0.8rem 1.2rem; }
    .nav-center { display: none; }
    .nav-right .social-icons { display: none; }
    .hamburger-btn { display: flex; }
    .mobile-nav-overlay { display: flex; }
    .nav-logo { height: 28px; }

    #fixed-buttons {
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: 1.2rem;
        flex-direction: row;
        gap: 0.6rem;
        width: calc(100% - 2rem);
        justify-content: center;
    }
    #fixed-buttons.nav-hidden {
        transform: translateX(50%) translateY(120%);
    }
    .btn-fixed {
        font-size: 0.8rem;
        padding: 1rem 1.5rem;
        backdrop-filter: blur(15px);
        flex: 1;
        justify-content: center;
        max-width: 48%;
    }
    .btn-star { font-size: 0.85em; }

    .ps-hero { min-height: 85vh; }
    .ps-hero-content { padding: 1.5rem 1rem; top: 58%; text-align: center; }
    .ps-hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .ps-hero-title br { display: block; }
    .ps-hero-star-wrap { width: clamp(260px, 65vw, 420px); height: clamp(260px, 65vw, 420px); }
    .ps-hero-arc { top: 8%; }
    .ps-intro-glass { padding: 2.5rem 2rem; }
    .ps-intro-title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .ps-intro-text { font-size: clamp(1.1rem, 3.8vw, 1.3rem); line-height: 1.8; }
    .ps-intro-highlight { font-size: clamp(1.3rem, 4.5vw, 1.6rem); }
    .ps-stage-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
    .ps-stage-subtitle { font-size: clamp(1.3rem, 3vw, 1.8rem); }
    .ps-stage-desc { font-size: clamp(1rem, 3vw, 1.15rem); }
    .ps-sub-title { font-size: clamp(1.5rem, 4.5vw, 1.9rem); }
    .ps-sub-desc { font-size: clamp(1.15rem, 3.5vw, 1.35rem); }
    .ps-story-quote p { font-size: clamp(1.1rem, 3.5vw, 1.2rem); }
    .ps-result-caption { font-weight: 600 !important; font-size: clamp(1.15rem, 3.8vw, 1.4rem); }
    .ps-hero-label { font-size: 0.9rem; }

    .ps-stage { padding: 2.5rem 4% 2rem; }
    .ps-stage-desc { margin-bottom: 2rem; }

    /* Stage intros — reduce left padding on mobile */
    .ps-concept-aurora,
    .ps-stage-intro {
        padding: 5rem 6% 5rem 6%;
    }
    .ps-concept-number,
    .ps-stage-num-glass {
        float: none;
        margin-right: 0;
        margin-left: 0;
        font-size: clamp(6rem, 22vw, 12rem);
        margin-bottom: 1.5rem;
        display: block;
        text-align: center;
        line-height: 0.9;
    }
    .ps-concept-aurora,
    .ps-stage-intro {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .ps-stage-title { font-size: clamp(2.6rem, 7vw, 3.8rem) !important; }
    .ps-stage-subtitle { font-size: clamp(1.7rem, 4vw, 2.2rem) !important; }
    .ps-concept-desc,
    .ps-stage-desc-left {
        margin-right: 0;
        text-wrap: balance;
        font-size: clamp(1.25rem, 3.8vw, 1.4rem) !important;
        line-height: 1.8;
    }
    .ps-stage--concept .ps-stage-header,
    .ps-stage--styled .ps-stage-header {
        text-align: center;
    }
    .ps-concept-desc,
    .ps-stage-desc-left {
        text-align: center;
    }

    /* Sub descriptions — better line distribution */
    .ps-sub-desc {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
    }

    /* Bento grids — default 1 column */
    .bento-grid,
    .bento-grid-large,
    .bento-grid-xl {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-grid > .bento-card,
    .bento-grid-large > .bento-card,
    .bento-grid-xl > .bento-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .bento-card { min-height: 220px; }

    /* References gallery — 2 columns, full images */
    /* References gallery — flexbox on mobile */
    .ps-gallery-references {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .ps-gallery-references > .bento-card {
        grid-column: unset !important;
        grid-row: unset !important;
        flex: 0 0 calc(50% - 3px) !important;
        min-height: 160px !important;
        max-height: 220px !important;
        border-radius: 10px;
        overflow: hidden;
    }
    .ps-gallery-references .bento-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Atmosphere gallery — flexbox on mobile */
    .ps-gallery-atmosphere {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .ps-gallery-atmosphere > .bento-card {
        grid-column: unset !important;
        grid-row: unset !important;
        flex: 0 0 calc(50% - 3px) !important;
        min-height: 160px !important;
        max-height: 220px !important;
        border-radius: 10px;
        overflow: hidden;
    }
    .ps-gallery-atmosphere > .bento-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    /* Reorder: img 6 to position 3 */
    .ps-gallery-atmosphere > .bento-card:nth-child(1) { order: 1; }
    .ps-gallery-atmosphere > .bento-card:nth-child(2) { order: 2; }
    .ps-gallery-atmosphere > .bento-card:nth-child(6) { order: 3; }
    .ps-gallery-atmosphere > .bento-card:nth-child(3) { order: 4; }
    .ps-gallery-atmosphere > .bento-card:nth-child(4) { order: 5; }
    /* img 4 & 5 together */
    .ps-gallery-atmosphere > .bento-card:nth-child(4) { order: 5; }
    .ps-gallery-atmosphere > .bento-card:nth-child(5) {
        order: 6;
    }
    /* 7 & 8 together */
    .ps-gallery-atmosphere > .bento-card:nth-child(7) { order: 7; }
    .ps-gallery-atmosphere > .bento-card:nth-child(8) { order: 8; }

    .ps-gallery-videos {
        grid-template-columns: 1fr;
    }

    /* Colors — 2-1-2 layout */
    .ps-color-palette {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .ps-color-card {
        min-width: auto;
        padding: 1.2rem;
        aspect-ratio: 3/4;
    }
    .ps-color-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 60%;
        justify-self: center;
        aspect-ratio: 4/3;
    }
    .ps-color-name {
        font-size: 1.1rem;
    }
    .ps-color-info {
        font-size: 0.7rem;
    }
    .ps-color-hex {
        font-size: 0.7rem;
    }

    /* Raw galleries — 2 columns on tablet */
    .ps-raw-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .ps-story-quote {
        padding: 1.5rem 1.5rem;
    }

    /* Intro text — break tags hidden on mobile */
    .ps-intro-text br {
        display: none;
    }

    .ms-cta { padding: 5rem 6% 6rem; }
    .ms-cta-headline { font-size: clamp(1.2rem, 5vw, 1.8rem); }

    .lightbox-arrow { width: 40px; height: 40px; }
    .lightbox-prev { left: 0.8rem; }
    .lightbox-next { right: 0.8rem; }

    #footer { padding: 3rem 1.5rem 6rem; }
    .footer-logo { width: clamp(160px, 45vw, 220px); }
    .footer-tagline { font-size: 0.85rem; }
    .footer-socials { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
    .footer-copy { font-size: 0.7rem; }

    .popup-modal { width: 90vw; padding: 20px 20px; }
}

@media (max-width: 480px) {
    .bento-card { min-height: 200px; }
    .ms-cta-button { font-size: 0.78rem; padding: 0.85rem 2rem; }
    .ps-color-palette {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    .ps-color-card {
        width: 100%;
        padding: 1rem;
        aspect-ratio: 1/1;
    }
    .ps-color-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 55%;
        justify-self: center;
        aspect-ratio: 1/1;
    }
    .ps-color-name {
        font-size: 0.95rem;
    }
    .ps-color-info {
        font-size: 0.6rem;
    }
    .ps-color-hex {
        font-size: 0.6rem;
    }

    /* Raw galleries — single column on small mobile */
    .ps-raw-gallery {
        grid-template-columns: 1fr;
    }

    .nav-logo { height: 24px; }
    .mobile-nav-links li a { font-size: 1.1rem; }
    .mobile-nav-dropdown a { font-size: 0.85rem !important; }
    .btn-fixed { font-size: 0.75rem; padding: 0.9rem 1.2rem; }
    #fixed-buttons { bottom: 1rem; }
    .footer-logo { width: clamp(140px, 50vw, 180px); }

    .ps-intro-glass { padding: 2rem 1.5rem; }
    .ps-stage-desc { font-size: 0.88rem; }
}

/* Hide cursor on touch devices */
@media (hover: none) {
    #custom-cursor, #cursor-trail { display: none; }
    body, a, button, input, textarea, select, label,
    [role="button"], .bento-img, .bento-tag, .btn-fixed,
    .ms-cta-button, .lightbox, .lightbox-close,
    .lightbox-arrow, .lightbox-img-wrap, .ps-color-swatch { cursor: auto !important; }
}
