/* =========================================
   Custom Font — BDOGrotesk
   Place font files in ./fonts/ directory:
     fonts/BDOGrotesk-Regular.woff2
     fonts/BDOGrotesk-Regular.woff
========================================= */
@font-face {
    font-family: 'BDOGrotesk-Regular';
    src: url('./fonts/BDOGrotesk-Regular.woff2') format('woff2'),
        url('./fonts/BDOGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   CSS Reset & Base Variables
========================================= */
:root {
    --bg-color: #0f0f0f;
    --bg-alt: #161616;
    --text-color: #ffffff;
    --text-muted: #999999;
    --accent: #e85d20;
    --border-color: rgba(255, 255, 255, 0.08);

    --font-heading: 'BDOGrotesk-Regular', 'Syne', sans-serif;
    --font-body: 'BDOGrotesk-Regular', 'Plus Jakarta Sans', sans-serif;

    --container-padding: 5vw;

    /* Light Theme (Section Scoped) */
    --bg-light: #ffffff;
    --text-light: #0f0f0f;
    --text-muted-light: rgba(0, 0, 0, 0.6);
    --border-light: rgba(0, 0, 0, 0.1);
}

.section-light {
    background-color: var(--bg-light) !important;
    color: var(--text-light) !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--text-light);
}

.section-light p,
.section-light .section-desc {
    color: var(--text-muted-light);
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background:
        radial-gradient(circle at top, rgba(29, 58, 35, 0.38) 0%, rgba(10, 16, 12, 0) 36%),
        linear-gradient(180deg, #141a16 0%, #0a0d0b 58%, #020303 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fallback cursor hiding only on the body, so links still get a pointer if custom cursor fails */
body {
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    padding: 0 var(--container-padding);
    width: 100%;
}

.mb-large {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

/* =========================================
   Typography
========================================= */
h1,
h2,
h3,
h4,
.massive-text {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

p {
    line-height: 1.6;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

/* =========================================
   Preloader
========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: all;
    will-change: transform;
    overflow: visible;
    /* Allow curve to hang below */
}

.loader-curve {
    position: absolute;
    top: calc(100% - 1px);
    /* Slight overlap to ensure seamless blending */
    left: 0;
    width: 100%;
    height: 100px;
    fill: #ffffff;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    color: rgba(232, 93, 32, 0.2);
    /* Transparent Orange as requested */
    font-weight: 800;
    letter-spacing: -2px;
    animation: loaderPulse 3s ease-in-out infinite;
    text-transform: none;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.99);
    }
}

html.loading,
body.loading {
    overflow: hidden;
    height: 100vh;
}

body.loading main {
    opacity: 0;
    transform: translateY(60px);
}

main {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Custom Cursor
========================================= */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    background-color: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    /* NO transform here — JS owns all transforms via translate3d */
    transition: width 0.3s ease, height 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, background-color 0.3s ease;
    will-change: transform;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, background-color 0.4s ease, mix-blend-mode 0.4s ease;
}

.cursor.hover-active {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    background-color: rgba(232, 93, 32, 0.2);
    /* translucent orange */
    border-color: var(--accent);
}

body.theme-light-active .cursor {
    background-color: #98F027 !important;
    mix-blend-mode: normal !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 15px rgba(152, 240, 39, 0.3);
}

body.theme-light-active .cursor.hover-active {
    background-color: rgba(152, 240, 39, 0.4) !important;
    border-color: #98F027 !important;
    mix-blend-mode: normal !important;
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: top 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.8s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* GPU Acceleration for smooth, flicker-free transitions */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scrolled 'Pill' State */
.header.scrolled {
    top: 2rem;
    /* Premium floating gap */
}

.header-inner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: max-width 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        padding 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: auto;
}

.header-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 100px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transform: scaleX(1.1);
    /* Transition for scroll-up (Instant background removal) */
    transition: opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
}

.scrolled .header-inner {
    max-width: 500px;
    padding: 0.8rem 2rem;
}

.scrolled .header-inner::before {
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: visible;
    transform: scaleX(1);
    /* Transition for scroll-down (Delayed background appearance) */
    transition: opacity 0.4s ease 0.3s,
        visibility 0.4s ease 0.3s,
        transform 0.4s ease 0.3s;
}

@media (max-width: 768px) {
    .scrolled .header-inner {
        max-width: 90%;
        padding: 0.7rem 1.5rem;
    }
}

.logo {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    transition: transform 0.6s ease;
}

.scrolled .logo {
    font-size: 1.1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.5);
}

.scrolled .nav-link:hover,
.scrolled .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0%;
    height: 1px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.menu-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: none;
    display: none;
    /* hidden by default on desktop */
    z-index: 101;
    /* Above mobile menu */
    position: relative;
}

/* =========================================
   Mobile Menu Overlay
========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-alt);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: circle(0px at top right);
    transition: clip-path 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

body.menu-open .mobile-menu {
    clip-path: circle(150% at top right);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}


.mobile-link {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

body.menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:hover {
    color: var(--accent);
}

/* Base stagger delays */
body.menu-open .mobile-link:nth-child(1) {
    transition-delay: 0.2s;
}

body.menu-open .mobile-link:nth-child(2) {
    transition-delay: 0.3s;
}

body.menu-open .mobile-link:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-socials {
    position: absolute;
    bottom: 5vh;
    display: flex;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.5s;
}

body.menu-open .mobile-socials {
    opacity: 1;
}

.mobile-socials a {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Header Responsive Breakpoint */
@media (max-width: 768px) {
    .desktop-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .icon-x {
        display: none;
    }

    body.menu-open .icon-menu {
        display: none;
    }

    body.menu-open .icon-x {
        display: block;
    }
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    overflow: hidden;
}

/* --- New Adon-style Hero --- */
.new-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(152, 240, 39, 0.34) 0%, rgba(33, 44, 14, 0.12) 34%, rgba(10, 16, 12, 0) 46%),
        linear-gradient(180deg, #141a16 0%, #0a0d0b 58%, #020303 100%);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Northern Lights: Static ambient base */
.new-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(152, 240, 39, 0.16) 0%, rgba(152, 240, 39, 0.05) 18%, rgba(0, 0, 0, 0) 44%),
        radial-gradient(circle at 50% 10%, rgba(152, 240, 39, 0.22) 0%, rgba(152, 240, 39, 0.08) 20%, transparent 54%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.new-hero::after {
    content: none;
}

.hero-shapes {
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.hero-shape {
    position: absolute;
    display: block;
    background: rgba(152, 240, 39, 0.12);
    border: 1px solid rgba(152, 240, 39, 0.28);
    box-shadow:
        0 0 20px rgba(152, 240, 39, 0.1);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.shape-circle,
.shape-circle-2,
.shape-sphere,
.shape-oval {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(152, 240, 39, 0.05)),
        rgba(152, 240, 39, 0.1);
    border-color: rgba(214, 255, 156, 0.3);
    box-shadow: 0 0 24px rgba(152, 240, 39, 0.1);
}

.shape-square,
.shape-square-2,
.shape-cube,
.shape-cuboid {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(152, 240, 39, 0.05)),
        rgba(152, 240, 39, 0.12);
    border-color: rgba(152, 240, 39, 0.3);
    box-shadow: 0 0 22px rgba(152, 240, 39, 0.1);
}

.shape-diamond,
.shape-diamond-2,
.shape-rhombus {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(152, 240, 39, 0.06)),
        rgba(152, 240, 39, 0.11);
    border-color: rgba(230, 255, 206, 0.28);
    box-shadow: 0 0 26px rgba(152, 240, 39, 0.1);
}

.shape-hexagon,
.shape-heptagon,
.shape-octagon,
.shape-nonagon,
.shape-decagon {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(152, 240, 39, 0.05)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 3px, rgba(255, 255, 255, 0) 3px 10px),
        rgba(152, 240, 39, 0.1);
    border-color: rgba(206, 255, 146, 0.28);
    box-shadow: 0 0 22px rgba(152, 240, 39, 0.09);
}

.shape-circle {
    width: 340px;
    height: 340px;
    left: -3%;
    bottom: -16%;
    border-radius: 50%;
}

.shape-square {
    width: 240px;
    height: 240px;
    left: 21%;
    bottom: -10%;
    border-radius: 1.5rem;
    transform: rotate(12deg);
}

.shape-circle-2 {
    width: 280px;
    height: 280px;
    left: 41%;
    bottom: -20%;
    border-radius: 50%;
}

.shape-square-2 {
    width: 210px;
    height: 210px;
    left: 58%;
    bottom: -18%;
    transform: rotate(-10deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    right: 38%;
    bottom: -20%;
    background: transparent;
    border-left: 160px solid transparent;
    border-right: 160px solid transparent;
    border-bottom: 270px solid rgba(152, 240, 39, 0.2);
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: drop-shadow(0 0 18px rgba(152, 240, 39, 0.2));
}

.shape-diamond {
    width: 260px;
    height: 260px;
    right: 3%;
    bottom: -12%;
    border-radius: 1.25rem;
    transform: rotate(45deg);
}

.shape-triangle-2 {
    right: 15%;
    bottom: -28%;
    border-left-width: 130px;
    border-right-width: 130px;
    border-bottom-width: 220px;
}

.shape-diamond-2 {
    width: 220px;
    height: 220px;
    right: 55%;
    bottom: -28%;
    transform: rotate(45deg);
}

.shape-sphere {
    width: 190px;
    height: 190px;
    left: 12%;
    bottom: 16%;
    border-radius: 50%;
    filter: blur(2px);
}

.shape-cube {
    width: 150px;
    height: 150px;
    left: 33%;
    bottom: 14%;
    border-radius: 1.25rem;
    transform: rotate(-6deg);
    box-shadow: 0 0 24px rgba(152, 240, 39, 0.14);
}

.shape-cuboid {
    width: 240px;
    height: 140px;
    left: 68%;
    bottom: 8%;
    border-radius: 1.25rem;
    transform: skewX(-18deg) rotate(4deg);
}

.shape-isosceles-triangle {
    width: 0;
    height: 0;
    left: 46%;
    bottom: -26%;
    background: transparent;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-bottom: 250px solid rgba(152, 240, 39, 0.18);
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: drop-shadow(0 0 18px rgba(152, 240, 39, 0.18));
}

.shape-cone {
    width: 180px;
    height: 240px;
    left: 82%;
    bottom: -22%;
    clip-path: polygon(50% 0%, 92% 100%, 8% 100%);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(152, 240, 39, 0.08)),
        rgba(152, 240, 39, 0.16);
    box-shadow: 0 0 24px rgba(152, 240, 39, 0.14);
}

.shape-rhombus {
    width: 180px;
    height: 140px;
    left: 2%;
    bottom: 22%;
    transform: skewX(-24deg);
}

.shape-hexagon {
    width: 180px;
    height: 160px;
    left: 72%;
    bottom: -30%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-heptagon {
    width: 170px;
    height: 170px;
    left: 86%;
    bottom: -8%;
    clip-path: polygon(50% 0%, 82% 12%, 100% 42%, 92% 76%, 68% 100%, 32% 100%, 8% 76%, 0% 42%, 18% 12%);
}

.shape-octagon {
    width: 190px;
    height: 190px;
    left: 25%;
    bottom: -32%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-nonagon {
    width: 180px;
    height: 180px;
    right: 23%;
    bottom: 10%;
    clip-path: polygon(50% 0%, 78% 10%, 96% 34%, 100% 62%, 86% 88%, 58% 100%, 30% 96%, 8% 76%, 0% 46%, 12% 18%);
}

.shape-decagon {
    width: 220px;
    height: 220px;
    right: -6%;
    bottom: -34%;
    clip-path: polygon(50% 0%, 78% 10%, 96% 34%, 100% 62%, 88% 88%, 62% 100%, 38% 100%, 12% 88%, 0% 62%, 4% 34%, 22% 10%);
}

.shape-oval {
    width: 320px;
    height: 160px;
    left: 50%;
    bottom: -34%;
    border-radius: 50%;
}

/* ── Aurora Band System ─────────────────────── */
.aurora-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 16%, black 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 16%, black 86%, transparent 100%);
    overflow: hidden;
}

.aurora-band {
    position: absolute;
    left: -10%;
    width: 120%;
    border-radius: 999px;
    mix-blend-mode: screen;
    border: 1px solid rgba(233, 255, 205, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(226, 255, 192, 0.22) 18%, rgba(152, 240, 39, 0.12) 62%, rgba(152, 240, 39, 0.04) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 18%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.12) 100%),
        rgba(152, 240, 39, 0.12);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.48),
        inset 0 -1px 0 rgba(152, 240, 39, 0.22),
        inset 0 0 18px rgba(255, 255, 255, 0.08),
        0 0 26px rgba(255, 255, 255, 0.08),
        0 0 44px rgba(152, 240, 39, 0.3),
        0 0 96px rgba(152, 240, 39, 0.18);
    backdrop-filter: blur(34px) saturate(160%);
    -webkit-backdrop-filter: blur(34px) saturate(160%);
    filter: blur(14px);
    opacity: 0.84;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.aurora-band::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 34%, rgba(255, 255, 255, 0) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(255, 255, 255, 0) 2px 8px);
    opacity: 0.7;
}

.aurora-band::after {
    content: "";
    position: absolute;
    inset: 18% 6%;
    border-radius: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    opacity: 0.7;
}

/* Band 1 — Deep Violet, wide, slow */
.band-1 {
    height: 2px;
    bottom: 25%;
    animation-name: aurora-sway-a;
    animation-duration: 18s;
    animation-delay: 0s;
}

/* Band 2 — Lime Green, medium */
.band-2 {
    height: 10px;
    bottom: 31%;
    animation-name: aurora-sway-b;
    animation-duration: 22s;
    animation-delay: -6s;
}

/* Band 3 — Cyan/Teal accent, thinner */
.band-3 {
    height: 24px;
    bottom: 37%;
    animation-name: aurora-sway-a;
    animation-duration: 28s;
    animation-delay: -12s;
}

/* Band 4 — Magenta shimmer, wispy */
.band-4 {
    height: 42px;
    bottom: 44%;
    animation-name: aurora-sway-b;
    animation-duration: 16s;
    animation-delay: -4s;
}

@keyframes aurora-sway-a {
    0% {
        transform: translateX(-4%) rotate(-4deg) scaleX(0.98);
        opacity: 0.34;
        filter: blur(18px);
    }

    30% {
        transform: translateX(3%) rotate(-1deg) scaleX(1.02);
        opacity: 0.68;
    }

    60% {
        transform: translateX(0%) rotate(2deg) scaleX(1.01);
        opacity: 0.48;
    }

    100% {
        transform: translateX(4%) rotate(4deg) scaleX(1);
        opacity: 0.4;
        filter: blur(18px);
    }
}

@keyframes aurora-sway-b {
    0% {
        transform: translateX(4%) rotate(5deg) scaleX(1);
        opacity: 0.3;
        filter: blur(20px);
    }

    35% {
        transform: translateX(-3%) rotate(1deg) scaleX(1.03);
        opacity: 0.62;
    }

    65% {
        transform: translateX(2%) rotate(-2deg) scaleX(0.99);
        opacity: 0.4;
    }

    100% {
        transform: translateX(-4%) rotate(-5deg) scaleX(1.01);
        opacity: 0.34;
        filter: blur(20px);
    }
}


.new-hero .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.new-hero-title {
    font-size: clamp(2.8rem, 7vw, 7rem);
    text-transform: none;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    text-align: center;
    color: #ffffff;
}

/* CTA row: button + subtext */
.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #e85d20;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.1rem 2.4rem;
    border-radius: 100px;
    text-decoration: none;
    z-index: 1;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(232, 93, 32, 0.35);
}

.btn-text-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    height: 1.2rem;
    /* Exactly matches the text/icon line height */
}

.btn-text,
.btn-text-hover {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    justify-content: center;
}

.btn-primary:hover .btn-text,
.btn-primary:hover .btn-text-hover {
    transform: translateY(-100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 100px;
}

.btn-primary i {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 6px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: scaleY(1);
}

.hero-cta-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: left;
}

/* Stats bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -1px;
    line-height: 1;
    color: #fff;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Gold gradient for GSAP stat */
.text-gradient {
    background: linear-gradient(135deg, #f5a623 0%, #f8d57e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legacy hero elements (kept for other sections that may reuse them) */
.hero-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 12rem);
    margin-bottom: 2rem;
}

.hero-title .line {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    max-width: 600px;
    color: #fff;
}

/* Responsive stats */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .new-hero-title {
        font-size: clamp(2.2rem, 8vw, 4rem);
    }
}

/* =========================================
   Showcase Marquee
========================================= */
.marquee-showcase {
    padding: 8vh 0;
    /* Slightly reduced padding */
    overflow: hidden;
    background-color: var(--bg-color);
    position: relative;
    /* Premium masking for side fades */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-shade,
.hero-shade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 17vh;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
    pointer-events: none;
    z-index: 100;
}

.section-light .marquee-shade {
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    gap: 0.8rem;
    /* Further reduced gap */
    padding: 0 0.4rem;
    animation: marquee-scroll 40s linear infinite;
}

/* Removed hover pause */

.marquee-item {
    flex-shrink: 0;
    width: clamp(200px, 28vw, 480px);
    /* Reduced width */
    aspect-ratio: 16/10;
    border-radius: 8px;
    /* Slightly tighter border radius for smaller size */
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Removed hover effects */

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* We move by half since we duplicated the items for a seamless loop */
        transform: translateX(-50%);
    }
}

/* =========================================
   Services / Split Grid
========================================= */
.services {
    padding: 15vh 0;
    background:
        radial-gradient(circle at top, rgba(152, 240, 39, 0.18) 0%, rgba(152, 240, 39, 0.05) 24%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, rgba(241, 255, 226, 0.92) 0%, rgba(230, 249, 204, 0.88) 100%);
    color: #111111;
}

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

@media (min-width: 900px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.split-left .sticky-content {
    position: sticky;
    top: 20vh;
}

.section-desc {
    font-size: 1.5rem;
    max-width: 500px;
    color: rgba(17, 17, 17, 0.78);
}

.service-item {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    transition: padding-left 0.4s ease;
}

.service-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.service-item:hover {
    padding-left: 1.5rem;
}

.service-item h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    font-weight: 600;
    color: #111111;
}

.services p,
.services .section-title,
.services .service-item p {
    color: #111111;
}

/* =========================================
   Portfolio
========================================= */
.portfolio {
    padding: 10vh 0;
    position: relative;
}

.work-list {
    display: flex;
    flex-direction: column;
}

.work-item {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    position: relative;
    cursor: none;
    transition: background-color 0.4s ease;
}

.section-light .work-item {
    border-top: 1px solid var(--border-light);
}

.work-item:hover {
    background-color: var(--bg-alt);
}

.section-light .work-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.work-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.section-light .work-item:last-child {
    border-bottom: 1px solid var(--border-light);
}

.work-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 1.5rem;
    /* Let hover hit the row */
}

.work-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -1px;
    font-weight: 700;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), margin-left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .work-title {
    margin-left: 1rem;
    color: var(--accent);
}

.work-category {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
}

/* Hover Image Follower */
.work-hover-img-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 300px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    z-index: 10;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-hover-img-wrapper.active {
    opacity: 1;
    transform: scale(1);
}

.work-hover-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Demos Section
========================================= */
.demos {
    padding: 15vh 0;
    background-color: var(--bg-color);
}

.demos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8rem;
    gap: 4rem;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pill-badge {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    width: fit-content;
    color: var(--text-muted);
}

.impact-num {
    font-size: clamp(5rem, 15vw, 12rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.8;
    color: #fff;
    letter-spacing: -5px;
}

.section-light .impact-num {
    color: var(--text-light);
}

.header-right {
    max-width: 600px;
}

.demos-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    text-transform: none;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted);
}

.demos-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Grid Layout */
.demos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .demos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Demo Card */
.demo-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card:hover {
    transform: translateY(-10px);
}

.demo-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
}

.demo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card:hover img {
    transform: scale(1.05);
}

.demo-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.section-light .demo-name {
    color: var(--text-light);
}

.demo-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    background-color: #fff;
    color: #000;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Load More Button */
.demos-footer {
    display: flex;
    justify-content: center;
}

.btn-secondary {
    background: none;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: none;
}

.section-light .btn-secondary {
    border-color: var(--border-light);
    color: var(--text-light);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.section-light .btn-secondary:hover:not(:disabled) {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-style: dashed;
}

/* Work Detail Slide Section */
.work-detail-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.work-detail-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.work-detail-sheet {
    position: fixed;
    top: 2.2rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    color: #0f0f0f;
    z-index: 1000;
    padding: 0.8rem var(--container-padding) 2.4rem;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}

.work-detail-sheet.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.work-detail-sheet::-webkit-scrollbar {
    width: 6px;
}

.work-detail-sheet::-webkit-scrollbar-track {
    background: transparent;
}

.work-detail-sheet::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

.work-detail-sheet::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.work-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.work-detail-heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: none;
    font-weight: 700;
    color: #0f0f0f;
}

.work-detail-close {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    color: #0f0f0f;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: none;
}

.work-detail-body {
    display: grid;
    gap: 2.2rem;
    margin-top: 0.8rem;
}

.work-detail-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    text-transform: none;
    color: #0f0f0f;
    letter-spacing: -1px;
}

.work-detail-description {
    max-width: 840px;
    color: rgba(0, 0, 0, 0.75);
}

.work-detail-meta {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .work-detail-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.work-detail-meta-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}

.work-detail-meta-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 0.4rem;
}

.work-detail-meta-value {
    font-size: 1rem;
    color: #0f0f0f;
    font-weight: 600;
}

.work-detail-gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.4rem;
}

@media (min-width: 900px) {
    .work-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.work-detail-image {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f5f5f5;
}

.work-detail-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* =========================================
   Footer
========================================= */
.footer {
    padding: 15vh 0 5vh;
    background-color: var(--bg-color);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 10vh;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.massive-text {
    font-size: clamp(4rem, 15vw, 15rem);
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: none;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.massive-text-main {
    display: inline-block;
}

.section-light .massive-text {
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.15);
}

.massive-text:hover {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
}

.section-light .massive-text:hover {
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.15);
}

.massive-text-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35em;
    height: 1.35em;
    padding: 0 0.22em;
    border-radius: 999px;
    background: #98F027;
    color: #0f0f0f;
    font-size: 0.28em;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    -webkit-text-stroke: 0;
    text-transform: uppercase;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
}

.section-light .massive-text-badge {
    background: #98F027;
    color: #0f0f0f;
}

.footer-message {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin-top: 2rem;
    padding: 1.35rem 1.5rem 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: 0.005em;
    color: rgba(15, 15, 15, 0.72);
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(15, 15, 15, 0.1);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease, color 0.35s ease;
}

.footer-message::before {
    content: "";
    display: block;
    width: 3.5rem;
    height: 0.35rem;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.08), rgba(108, 168, 0, 0.9), rgba(15, 15, 15, 0.08));
}

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

.footer-message a {
    color: #5e9800;
    font-weight: 700;
    text-decoration: none;
    padding: 0 0.15rem;
    pointer-events: auto;
    transition: color 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.footer-message a:hover {
    color: #2f5100;
    background-color: rgba(152, 240, 39, 0.16);
}

.footer-email-link.is-copied {
    color: #111111;
    opacity: 0.72;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.socials {
    display: flex;
    gap: 2rem;
}

.socials a {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .massive-text {
        white-space: normal;
        line-height: 1.05;
        gap: 1rem;
    }

    .footer-message {
        margin-top: 1.5rem;
        font-size: 1rem;
    }
}

/* =========================================
   Utilities
========================================= */
.fade-in-up {
    /* Initial state for GSAP */
    opacity: 0;
    transform: translateY(50px);
}
