/* CSS Reset and Variables - Premium Black & White */
:root {
    --bg-primary: #030303;
    --bg-secondary: #0A0A0A;
    --accent-blue: #FFFFFF;
    --accent-purple: #888888;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --font-main: 'Space Grotesk', 'Manrope', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --hover-glow: 0 0 25px rgba(255, 255, 255, 0.1);
    --ease-industrial: cubic-bezier(0.4, 0, 0.2, 1);
    --neon-cyan: #00f0ff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff007f;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    letter-spacing: 0.2px;
    cursor: none;
}
body::before {
    content: '';
    position: fixed;
    inset: -30%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 50%), radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05), transparent 45%);
    opacity: 0.15;
    animation: bg-drift 60s linear infinite;
    pointer-events: none;
    z-index: -3;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 2px, transparent 4px);
    opacity: 0.06;
    pointer-events: none;
    z-index: -2;
}
@keyframes bg-drift {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
    100% { transform: translate(0,0) scale(1); }
}
.reduce-motion * {
    animation: none !important;
    transition-duration: 0ms !important;
}
/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.05s linear;
    mix-blend-mode: screen;
}

/* Harry Potter wand cursor + sparks */
.wand-cursor {
    position: fixed;
    width: 18px;
    height: 18px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f8fbff 0%, #cfd8e6 45%, rgba(207,216,230,0) 72%);
    box-shadow:
        0 0 10px rgba(255,255,255,0.9),
        0 0 26px rgba(207,216,230,0.6),
        0 0 58px rgba(120,126,140,0.35);
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    z-index: 9999;
}
.wand-cursor::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(247,208,70,0) 65%);
    filter: blur(6px);
    opacity: 0.7;
}
.wand-spark {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, #eef3ff 0%, #d9e2f2 52%, rgba(217,226,242,0) 78%);
    box-shadow:
        0 0 12px rgba(255,255,255,0.75),
        0 0 32px rgba(200,210,230,0.5);
    mix-blend-mode: screen;
    z-index: 9998;
}
.trail { opacity: 0; }

/* Loader */
.loader-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05), transparent 35%), var(--bg-primary);
    display: grid;
    place-items: center;
    z-index: 2000;
    pointer-events: auto;
}
.loader-shell {
    position: relative;
    width: min(460px, 90vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: radial-gradient(circle at 45% 40%, rgba(255,255,255,0.12), rgba(255,255,255,0.01));
    box-shadow: 0 20px 80px rgba(0,0,0,0.55);
}
.loader-noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.28;
    mix-blend-mode: screen;
}
.loader-gridlines {
    position: absolute;
    inset: 8%;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.45;
}
.loader-gridlines {
    /* merged above for clarity */
}
.loader-ring {
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.18);
    box-shadow: 0 0 90px rgba(200,210,230,0.12);
}
.loader-arc {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
    mix-blend-mode: screen;
    animation: spin-slow 12s linear infinite;
    filter: blur(12px);
}
.loader-sweep {
    position: absolute;
    inset: -10%;
    background: conic-gradient(from 90deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
    filter: blur(12px);
    opacity: 0.8;
    animation: sweep-rotate 6s linear infinite;
}
.loader-corners {
    position: absolute;
    inset: 12px;
    pointer-events: none;
}
.loader-corners span {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255,255,255,0.35);
}
.loader-corners span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.loader-corners span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.loader-corners span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.loader-corners span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }
.loader-core {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}
.loader-orb {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.22), rgba(255,255,255,0));
    box-shadow:
        0 0 30px rgba(255,255,255,0.26),
        0 0 110px rgba(180,190,210,0.18);
}
.loader-name {
    font-size: 1.35rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.loader-progress {
    font-size: 1.15rem;
    letter-spacing: 1px;
}
.loader-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.loader-title {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #CCCCCC;
}
.loader-sub {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.loader-bars {
    position: absolute;
    bottom: 18%;
    display: flex;
    gap: 6px;
}
.loader-bars .bar {
    width: 36px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.loader-bars .bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: bar-scan 1.8s infinite;
}
@keyframes bar-scan {
    0% { transform: translateX(-120%); }
    60% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}
@keyframes sweep-rotate {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Quotes / Field notes */
.quotes-section {
    padding: 6rem 0;
}
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.quote-card {
    padding: 1.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}
.quote-card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.quote-card:hover::after { opacity: 1; }
.quote-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #EDEDED;
}
.quote-meta {
    display: block;
    margin-top: 1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-size: 0.9rem;
}
/* Shimmer Animation for Buttons */
@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
/* Slide Up Fade (Deprecated for GSAP) */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}
.bg-glow.top-left {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -250px; left: -250px;
    animation: float-slow 10s ease-in-out infinite alternate;
}
.bg-glow.bottom-right {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    bottom: -250px; right: -250px;
    animation: float-slow 12s ease-in-out infinite alternate-reverse;
}
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.1) 100%);
    animation: grid-pan 40s linear infinite;
}
@keyframes grid-pan {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 80px 80px, 80px 80px; }
}
.bg-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
}
.bg-particles .particle {
    position: absolute;
    width: var(--sz, 12px);
    height: var(--sz, 12px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), rgba(255,255,255,0));
    filter: blur(2px);
    opacity: 0.4;
}
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h1, h2, h3, h4 { font-weight: 500; }
h1, h2, h3, h4 {
    transition: transform 0.2s var(--ease-industrial), text-shadow 0.2s var(--ease-industrial), letter-spacing 0.4s var(--ease-industrial);
    will-change: transform, text-shadow;
}
h1:hover, h2:hover, h3:hover, h4:hover {
    transform: scale(1.05);
    text-shadow:
        0 0 10px rgba(0,240,255,0.45),
        0 0 18px rgba(138,43,226,0.35),
        0 0 28px rgba(255,0,127,0.25);
}
h1 { letter-spacing: -1px; }
h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.divider {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, #FFFFFF, transparent);
    margin-top: 1rem;
}
.divider.center {
    margin: 1rem auto 0 auto;
    background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
}
.section-header h2 {
    position: relative;
    overflow: hidden;
}
.section-header h2::after {
    content: '';
    position: absolute;
    left: -20%;
    bottom: -6px;
    width: 140%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    animation: underline-sweep 5s linear infinite;
    opacity: 0.6;
}
@keyframes underline-sweep {
    0% { transform: translateX(-20%); }
    100% { transform: translateX(20%); }
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.2s var(--ease-industrial), box-shadow 0.3s var(--ease-industrial), border-color 0.3s var(--ease-industrial);
    will-change: transform;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0,240,255,0.18),
        0 0 24px rgba(138,43,226,0.18);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s var(--ease-industrial), box-shadow 0.2s var(--ease-industrial), opacity 0.2s var(--ease-industrial);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    will-change: transform, box-shadow, opacity;
}
.btn-primary {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -25%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    animation: pulse-ring 3.8s ease-out infinite;
    opacity: 0.6;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 14px rgba(0,240,255,0.45),
        0 0 22px rgba(138,43,226,0.35),
        0 8px 24px rgba(0,0,0,0.6);
    background: #FFFFFF;
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.btn-secondary:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 14px rgba(0,240,255,0.25),
        0 0 18px rgba(255,0,127,0.2),
        0 8px 22px rgba(0,0,0,0.55);
}
.btn-secondary:hover::after { opacity: 1; }
.btn:active {
    opacity: 0.9;
    transform: scale(0.99);
}
@keyframes pulse-ring {
    0% { transform: scale(0.85); opacity: 0.55; }
    60% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes float-slow {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
    100% { transform: translate(-10px, 10px) scale(0.95); }
}
/* Removed legacy .reveal css */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.logo span { color: #888888; }
.logo-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.35));
}
.nav-links {
    display: flex;
    gap: 3rem;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s var(--ease-industrial);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,240,255,0.7), rgba(138,43,226,0.8), rgba(255,0,127,0.7));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s var(--ease-industrial);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}
.overlay-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}
.overlay-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.overlay-logo {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #EDEDED;
}
.overlay-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
}
.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.overlay-links a {
    color: #F6F6F6;
    font-size: 1.3rem;
    text-decoration: none;
    letter-spacing: 1px;
}
.overlay-links a:hover { color: #FFFFFF; }

/* Chatbot / WhatsApp FAB */
.chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.6);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
    transition: transform 0.2s var(--ease-industrial), box-shadow 0.2s var(--ease-industrial), border-color 0.2s var(--ease-industrial);
    z-index: 1200;
    display: inline-block;
    overflow: hidden;
}
.chatbot-toggle:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 14px 38px rgba(0,0,0,0.6);
}
.whatsapp-fab {
    background: center/cover no-repeat url('images/image.png'), rgba(0,0,0,0.7);
    border-radius: 50%;
}
.bar {
    width: 25px; height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
}
main {
    padding: 0 5%;
    max-width: 1300px;
    margin: 0 auto;
}
section { padding: 6rem 0; }
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 90deg, rgba(255,255,255,0.08), transparent 45%, rgba(255,255,255,0.12), transparent 70%);
    filter: blur(70px);
    animation: hero-sheen 18s linear infinite;
    opacity: 0.35;
    pointer-events: none;
}
@keyframes hero-sheen {
    from { transform: rotate(0deg) scale(1); }
    to   { transform: rotate(360deg) scale(1.05); }
}
.hero-content {
    flex: 0 0 55%;
    max-width: 55%;
    padding-right: 4rem;
}
.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.greeting {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}
.name-highlight {
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    animation: neon-text-pulse 2.5s infinite alternate;
}
@keyframes neon-text-pulse {
    0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.1); }
    100% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.2); }
}
.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* GSAP takes over opacity and animations here */
}
.subtext {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}
.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.2rem 0 2.5rem;
}
.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    width: fit-content;
}
.meta-pill::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFFFFF, rgba(255,255,255,0.1));
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.meta-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat {
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    min-width: 170px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}
.stat-label {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.4px;
}
.hero-cta {
    display: flex;
    gap: 1.5rem;
}
.hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-wrapper {
    position: relative;
    width: 400px;
    max-width: 100%;
    height: auto;
    transition: transform 0.1s ease-out; /* Enable smooth JS parallax */
    transform: translateY(-18px);
}
.profile-photo {
    width: 100%; height: auto;
    border-radius: 20px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
    position: relative;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    transition: transform 0.35s var(--ease-industrial), box-shadow 0.35s var(--ease-industrial);
    cursor: pointer;
    display: block;
}
.floating-wrapper {
    perspective: 1400px;
    transform-style: preserve-3d;
}
.hero-shine {
    position: absolute;
    inset: -25%;
    pointer-events: none;
    background:
        radial-gradient(circle at 35% 35%, rgba(255,255,255,0.16), transparent 55%),
        linear-gradient(120deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 65%);
    mix-blend-mode: screen;
    filter: blur(12px);
    opacity: 0;
    transform: translateZ(40px) rotate(6deg);
    transition: opacity 0.25s ease;
}
.floating-wrapper:hover .hero-shine { opacity: 0.7; }
@keyframes neon-border-pulse {
    0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }
    100% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 0 70px rgba(255, 255, 255, 0.1); }
}
.profile-photo {
    animation: neon-border-pulse 3s infinite alternate, float 8s ease-in-out infinite; 
}
.profile-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.1);
}
.placeholder-photo .inner-glow {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.placeholder-photo .inner-glow::after {
    content: "S";
    font-size: 140px;
    font-weight: 300;
    color: rgba(255,255,255,0.03);
    position: absolute;
    font-family: serif;
}
.photo-overlay {
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid rgba(255,255,255,0.05);
}
.orbit-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.dot-1 {
    top: 20%; left: -5%;
    animation: float 4s ease-in-out infinite reverse;
}
.dot-2 {
    bottom: 15%; right: 0%;
    background: #888888;
    box-shadow: 0 0 15px rgba(136,136,136,0.5);
    animation: float 6s ease-in-out infinite 1s;
}
.about-section {
    display: flex;
    justify-content: center;
}
.about-card {
    text-align: center;
    max-width: 900px;
    padding: 5rem 4rem;
    position: relative;
}
.about-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}
.about-text {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.7;
    letter-spacing: 0.5px;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.skill-card {
    text-align: left;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
}
.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}
.skill-card:hover {
    transform: translateY(-6px) scale(1.02) rotate(-0.4deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.55), 0 0 18px rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}
.skill-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 10px;
    border: 1px dashed rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.skill-card:hover::after { opacity: 1; }
/* --- Floating Marquees --- */
.marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0.5rem 0;
    will-change: transform;
}

.marquee-track.left {
    animation: scroll-left 40s linear infinite;
}

.marquee-track.right {
    animation: scroll-right 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes scroll-right {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

/* Adjusting tool items for pill shape, matching a floating aesthetic */
.marquee-wrapper .tool-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: default;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.marquee-wrapper .tool-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(255, 255, 255, 0.1);
}

.marquee-wrapper .tool-item i { font-size: 1.5rem; }
.marquee-wrapper .tool-logo {
    width: 24px; height: 24px;
    object-fit: contain;
    border-radius: 4px;
}
.project-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.project-card {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.2s var(--ease-industrial), box-shadow 0.2s var(--ease-industrial);
    will-change: transform, box-shadow;
}
.project-card.reverse { flex-direction: row-reverse; }
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.55);
}
.project-visual {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: border-color 0.4s ease;
    transform-style: preserve-3d;
}
.project-visual::after {
    content: '';
    position: absolute;
    inset: -30%;
    background: linear-gradient(115deg, rgba(255,255,255,0.06), transparent 50%, rgba(255,255,255,0.08));
    mix-blend-mode: screen;
    opacity: 0.4;
    animation: sweep 12s linear infinite;
    pointer-events: none;
}
@keyframes sweep {
    0% { transform: translateX(-10%) translateY(-10%) rotate(0deg); }
    50% { transform: translateX(10%) translateY(5%) rotate(10deg); }
    100% { transform: translateX(-10%) translateY(-10%) rotate(0deg); }
}
.project-visual::before {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s ease;
    transform: translateZ(20px) scale(0.96);
    pointer-events: none;
}
.project-card:hover .project-visual::before {
    opacity: 1;
    transform: translateZ(20px) scale(1);
}
.project-card:hover .project-visual {
    border-color: rgba(255,255,255,0.2);
}
.project-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.35s var(--ease-industrial), transform 0.35s var(--ease-industrial);
    z-index: 1;
    filter: grayscale(0.8);
}
.project-card:hover .project-img {
    opacity: 0.85;
    transform: scale(1.08);
    filter: grayscale(0.2);
}
.proj-bg-1, .proj-bg-2 { background: #000; }
.overlay-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}
.project-info { flex: 1; }
.project-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}
.problem-desc, .highlight {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
}
.highlight { color: #DDDDDD; }
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}
.tech-stack span {
    background: rgba(255,255,255,0.03);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.approach-section {
    position: relative;
    margin-top: 4rem;
}
.approach-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-radius: 8px;
    padding: 4rem;
}
.approach-container h2 { margin-bottom: 3rem; }
.custom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}
.custom-list li {
    font-size: 1.3rem;
    position: relative;
    padding-left: 2.5rem;
    color: #DDDDDD;
    font-weight: 300;
}
.custom-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #777777;
    font-size: 1.3rem;
    font-weight: 300;
}
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.leader-item {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 2rem;
}
.leader-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.leader-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
}
.contact-section {
    margin-bottom: 8rem;
    margin-top: 4rem;
}
.contact-subtext {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 4rem;
    font-weight: 300;
}
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.contact-item {
    padding: 1.2rem 3.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: transform 0.2s var(--ease-industrial), box-shadow 0.2s var(--ease-industrial), opacity 0.2s var(--ease-industrial);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-width: 180px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.contact-item i, .contact-item svg {
    font-size: 1.3rem;
}
.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.55),
        0 0 14px rgba(0,240,255,0.25);
}
.peel-shine {
    position: absolute;
    inset: -30%;
    pointer-events: none;
    background:
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.12), transparent 50%),
        linear-gradient(110deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.22) 52%, rgba(255,255,255,0) 64%);
    mix-blend-mode: screen;
    filter: blur(14px);
    opacity: 0;
    transform: rotate(-10deg) translateZ(30px);
}

.peel-glint {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 70%);
    mix-blend-mode: soft-light;
    opacity: 0;
    pointer-events: none;
}
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.footer-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
@media (max-width: 1024px) {
    .tool-group:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
        gap: 5rem;
    }
    .hero-content {
        flex: 1; max-width: 100%; padding-right: 0;
    }
    .hero-cta { justify-content: center; }
    .hero-meta { align-items: center; }
    .meta-stats { justify-content: center; }
    .stat { text-align: center; }
    .craft-frame {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    .craft-divider { display: none; }
    .craft-row { grid-template-columns: 100px 1fr; }
    .project-card, .project-card.reverse { flex-direction: column; gap: 2rem; }
    .project-visual { width: 100%; height: 300px; }
}
@media (max-width: 768px) {
    body { cursor: auto; }
    .wand-cursor, .wand-spark { display: none; }
    .overlay-inner { padding: 3rem 1.5rem; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .about-card { padding: 3rem 2rem; }
    .about-text { font-size: 1.2rem; }
    .tool-group:nth-child(n) { grid-column: span 12; }
    .contact-links { flex-direction: column; align-items: center; }
    .contact-item { width: 100%; max-width: 300px; }
}

/* --- GSAP Animation Utilities --- */
.line-wrapper {
    overflow: hidden;
    vertical-align: top;
}
.js-reveal {
    opacity: 0;
}

/* override for list dash to ensure proper em dash rendering */
.custom-list li::before {
    content: "—";
}
/* Craft Matrix section */
.craft-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.craft-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.65;
}
.aurora-line {
    position: absolute;
    width: 140%;
    height: 200px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 40%, rgba(255,255,255,0) 100%);
    filter: blur(32px);
    transform: rotate(12deg) translate(-20%, -20%);
    animation: aurora-shift 14s linear infinite;
}
.aurora-line.l2 { top: 35%; transform: rotate(-10deg) translate(-30%, 10%); animation-duration: 18s; }
.aurora-line.l3 { top: 70%; transform: rotate(18deg) translate(-10%, 0); animation-duration: 22s; }
@keyframes aurora-shift {
    0% { transform: translateX(-30%) rotate(12deg); }
    100% { transform: translateX(30%) rotate(12deg); }
}
.craft-frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    overflow: hidden;
    z-index: 1;
}
.craft-col {
    padding: 2.5rem 2.2rem;
}
.craft-col h2 {
    font-size: 2.3rem;
    margin: 0.6rem 0 1.8rem;
}
.craft-rows {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.craft-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.craft-row:last-child { border-bottom: none; }
.craft-row span:first-child {
    color: #D5D5D5;
    letter-spacing: 1.6px;
    font-size: 0.9rem;
}
.craft-row span:last-child {
    color: #F6F6F6;
    font-size: 1rem;
    font-weight: 300;
}
.craft-divider {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.25), transparent);
    width: 1px;
}

/* Manifesto quote */
.manifesto-section {
    padding: 5rem 0;
    text-align: center;
}
.manifesto-wrapper {
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
}
.manifesto-line {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F5F5F5;
    font-weight: 700;
}

/* Universal section entry animation */
.section-animate {
    opacity: 0;
    transform: translateY(22px) skewY(0.5deg) scale(0.995);
    transition: opacity 0.5s var(--ease-industrial), transform 0.5s var(--ease-industrial);
    will-change: transform, opacity;
}
.section-animate.visible {
    opacity: 1;
    transform: translateY(0) skewY(0deg) scale(1);
}

/* Glitch / flicker text */
.glitch-text {
    position: relative;
    display: inline-block;
    animation: glitch-flicker 0.12s steps(2, end);
}
@keyframes glitch-flicker {
    0% { text-shadow: 1px 0 rgba(255,0,0,0.5), -1px 0 rgba(0,200,255,0.5); transform: translate(0,0); }
    50% { text-shadow: -1px 0 rgba(255,0,0,0.5), 1px 0 rgba(0,200,255,0.5); transform: translate(-1px,1px); }
    100% { text-shadow: none; transform: translate(0,0); }
}
.heading-entry {
    animation: letter-pop 0.5s var(--ease-industrial) both;
}
@keyframes letter-pop {
    0% { opacity: 0; transform: translateY(18px) scale(0.98); letter-spacing: 0px; }
    70% { opacity: 1; transform: translateY(-4px) scale(1.01); letter-spacing: 1px; }
    100% { opacity: 1; transform: translateY(0) scale(1); letter-spacing: 0.5px; }
}
.neon-flick {
    animation: neon-flicker 0.15s linear both;
}
@keyframes neon-flicker {
    0% { text-shadow: none; opacity: 0.7; }
    40% { text-shadow: 0 0 10px rgba(0,240,255,0.6), 0 0 18px rgba(255,0,127,0.4); opacity: 1; }
    60% { text-shadow: none; opacity: 0.8; }
    100% { text-shadow: 0 0 12px rgba(138,43,226,0.5), 0 0 20px rgba(0,240,255,0.35); opacity: 1; }
}
