/* ======================== VARIABLES ======================== */
:root {
    --black: #0a0a0a;
    --white: #f0f0f0;
    --pure-white: #ffffff;
    --pure-black: #000000;
    --gray: #777;
    --gray-light: #aaa;
    --gray-dark: #555;
    --dim: #141414;
    --card: #111;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #2563eb;
    --bg-light: #e0e0e0;
    --text-dark: #1a1a1a;
    --text-mid: #444;
    --font: 'Inter', -apple-system, sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font);
    background: #050505;
    color: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}

/* Global film grain */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

/* Mouse-following gradient blob (CSS custom properties set by JS) */
.glow-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, rgba(120,80,200,0.1) 40%, transparent 70%);
    mix-blend-mode: screen;
}

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

::selection {
    background: var(--white);
    color: var(--black);
}

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

img {
    display: block;
    max-width: 100%;
}

/* ======================== LAYOUT ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Site fade-in overlay */
.site-reveal-overlay {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 98;
    pointer-events: none;
    opacity: 1;
    transition: opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-reveal-overlay.revealed {
    opacity: 0;
}

/* ======================== PRELOADER ======================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.preloader-bg {
    position: absolute;
    inset: 0;
    background: #050505;
    transition: opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preloader-logo {
    position: fixed;
    height: 60px;
    width: auto;
    filter: brightness(1.1);
    opacity: 0;
    z-index: 10000;
    /* start centered */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: none;
    will-change: opacity, top, left, transform, height;
}

/* Phase 1: fade the logo in */
.preloader.fade-in .preloader-logo {
    opacity: 1;
    transition: opacity 2.5s cubic-bezier(0.7, 0, 0.35, 1);
}

/* Phase 2: fly the logo to navbar position */
.preloader.fly-to-nav .preloader-logo {
    opacity: 1;
    transition: top 1s cubic-bezier(0.16, 1, 0.3, 1),
                left 1s cubic-bezier(0.16, 1, 0.3, 1),
                height 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phase 3: after logo lands, reveal site */
.preloader.reveal .preloader-bg {
    opacity: 0;
}

.preloader.reveal .preloader-logo {
    /* Logo stays visible during flight — JS handles fade out after landing */
    opacity: 1;
}

/* Final: hide preloader */
.preloader.done {
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 0.2s;
}

/* ======================== NAVBAR ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 1.5rem;
    padding-top: calc(1rem + 3vh);
    display: flex;
    justify-content: center;
    transition: var(--transition);
    pointer-events: none;
}

/* Floating pill */
.navbar-pill {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.55rem 0.6rem;
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    backdrop-filter: blur(24px) saturate(1.6);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    width: clamp(70%, 85vw, 80%);
    pointer-events: all;
    overflow: hidden;
    position: relative;
}

/* Mouse-follow shine on pill */
.navbar-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(255, 255, 255, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

/* Scrolled — slightly more opaque */
.navbar.scrolled .navbar-pill {
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

/* On light sections — liquid glass with white tint */
.navbar.on-light .navbar-pill {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.navbar.on-light .navbar-pill::before {
    background: radial-gradient(
        300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(0, 0, 0, 0.04) 0%,
        transparent 60%
    );
}

.navbar.on-light .nav-link { color: var(--text-mid); }
.navbar.on-light .nav-link:hover { color: var(--text-dark); background: rgba(0, 0, 0, 0.04); }
.navbar.on-light .nav-link.active { color: var(--text-dark); background: rgba(0, 0, 0, 0.06); }
.navbar.on-light .logo-dark { opacity: 0 !important; }
.navbar.on-light .logo-light { opacity: 1; }
.navbar.on-light .nav-cta { background: var(--text-dark); color: var(--pure-white); }
.navbar.on-light .nav-cta:hover { background: #000; }
.navbar.on-light .hamburger span { background: var(--text-dark); }

/* Logo — centered */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-shrink: 0;
    margin: 0 clamp(30px, 6vw, 120px);
    position: relative;
    width: 110px;
    height: 30px;
}

.logo-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    position: absolute;
    inset: 0;
}

.logo-dark.visible {
    opacity: 1;
}

.logo-light {
    opacity: 0;
}

/* Nav Links — left and right groups */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    padding: 0.55rem clamp(0.5rem, 1vw, 1.1rem);
    font-size: clamp(0.76rem, 0.84vw, 0.84rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    border-radius: 100px;
    transition: var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Dim active when hovering siblings */
.nav-links:hover .nav-link.active:not(:hover) {
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

/* CTA Button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.5rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--black);
    background: var(--white);
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
    margin-left: 0.3rem;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

.nav-cta:hover {
    background: var(--pure-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 3px 0;
    z-index: 100;
    cursor: pointer;
    margin-left: 0.3rem;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(4px);
}

/* Hide mobile menu on all screens by default */
.mobile-menu-overlay {
    display: none;
}

/* ======================== HERO ======================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: visible;
    background: #050505;
}

/* Film grain overlay */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    align-self: stretch;
    justify-content: center;
    padding-top: 180px;
    padding-bottom: 4rem;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 90vh;
    overflow: visible;
    max-width: 100%;
    padding-left: clamp(2rem, 6vw, 6rem);
}

.hero-robot {
    position: relative;
    width: 100%;
    align-self: stretch;
    overflow: visible;
    z-index: 5;
}

.hero-robot spline-viewer {
    display: block;
    width: 100%;
    height: 80%;
    min-height: 400px;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: visible;
    pointer-events: auto;
    transform: scale(1.0);
    transform-origin: center bottom;
}

/* Hide Spline watermark — nuclear approach */
.hero-robot spline-viewer::part(logo) {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.hero-robot spline-viewer {
    --spline-viewer-logo-display: none;
}

.hero-robot a[href*="spline"],
.hero-robot div[style*="Built with"],
.hero-robot [data-logo],
.hero-robot [class*="logo"],
.hero-robot [class*="watermark"],
.hero-robot [class*="badge"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0,0,0,0) !important;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.hero-line {
    display: block;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-line-1 {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    color: var(--white);
}

.hero-line-2 {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    color: var(--white);
}

/* Rotating word — blur slide animation */
.rotate-word {
    display: inline-flex;
    color: var(--accent-light);
    position: relative;
    vertical-align: bottom;
    line-height: 1.15;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rotate-word-inner {
    display: inline-block;
    white-space: nowrap;
    align-self: flex-end;
}

.rotate-word-measurer {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Scrolling Tags Marquee */
.hero-tags {
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    margin-bottom: 3rem;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-tags-track {
    display: flex;
    gap: 1rem;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-light);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
}

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

/* Hero Button */
.hero-btn {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    background: var(--white);
    border-radius: 100px;
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(240, 240, 240, 0.12);
}

.hero-fade {
    display: none;
}

/* ======================== SECTIONS ======================== */

/* ======================== TRUSTED BY ======================== */
.trusted-section {
    background: #050505;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trusted-grid {
    display: grid;
    grid-template-columns: 1fr repeat(4, 1fr);
    grid-template-rows: auto auto;
}

.trusted-label {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.trusted-label span {
    font-size: 0.95rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.6;
}

.trusted-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease;
}

.trusted-logo:nth-child(5n) {
    border-right: none;
}

.trusted-logo:nth-last-child(-n+4) {
    border-bottom: none;
}

.trusted-logo:hover {
    background: rgba(255, 255, 255, 0.03);
}

.trusted-logo img {
    height: 22px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.trusted-logo:hover img {
    opacity: 1;
}

.trusted-logo--icon img {
    height: 32px;
}

/* ======================== SHARED ======================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.section-label-dark {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-align: center;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-heading.dark {
    color: var(--text-dark);
}

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

.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.section-desc.dark {
    color: var(--text-mid);
}

.section-desc.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--pure-white);
    background: var(--accent);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.btn-outline-dark {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ======================== ETHOS (replaces Foundation + Vision) ======================== */
.ethos-section {
    background: var(--bg-light);
    padding: 8rem 0;
}

.ethos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 6rem;
}

.ethos-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.5s ease;
}

.ethos-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

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

.ethos-num {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.ethos-item h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.ethos-statement {
    text-align: center;
    padding: 4rem 0 0;
}

.ethos-statement h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1.15;
}

/* ======================== PROCESS (BLACK — slide view) ======================== */
.process-section {
    background: var(--bg-light);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.process-slider {
    position: relative;
    display: flex;
    min-height: 420px;
}

/* Oversized background number */
.process-bg-num {
    position: absolute;
    left: -0.08em;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(14rem, 28vw, 28rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    -webkit-text-stroke: none;
    line-height: 0.85;
    letter-spacing: -0.04em;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
    z-index: 0;
}

.process-bg-num.switching {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50%) scale(0.92);
}

/* Left rail */
.process-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-width: 60px;
}

.process-rail-label {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-mid);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.process-progress-track {
    position: relative;
    width: 2px;
    height: 120px;
    background: rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0;
    border-radius: 2px;
    overflow: hidden;
}

.process-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-rail-count {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* Main slide body */
.process-slide-body {
    flex: 1;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Badge */
.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-mid);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    margin-bottom: 2rem;
    width: fit-content;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-badge.switching {
    opacity: 0;
    transform: translateX(-16px);
}

.process-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Slide title */
.process-slide-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-slide-title.switching {
    opacity: 0;
    transform: translateY(16px);
}

/* Slide description */
.process-slide-desc {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: none;
    margin-bottom: 3rem;
    -webkit-hyphens: none;
    hyphens: none;
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.process-slide-desc.switching {
    opacity: 0;
    transform: translateY(12px);
}

/* Footer row */
.process-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-slide-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.process-slide-tag.switching {
    opacity: 0;
    transform: translateY(10px);
}

.process-tag-line {
    width: 28px;
    height: 1px;
    background: var(--text-dark);
    flex-shrink: 0;
}

.process-slide-tag span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.3px;
}

/* Nav buttons */
.process-nav {
    display: flex;
    gap: 0.6rem;
}

.process-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-nav-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.25);
}

.process-nav-btn:active {
    transform: scale(0.92);
}

/* ======================== SERVICES (BLACK) ======================== */
.services-section {
    background: #050505;
    padding: 8rem 0;
}

.services-header {
    margin-bottom: 4rem;
}

.services-label {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

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

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: padding 0.7s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-row:hover {
    background: transparent;
}

.service-name {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row:hover .service-name {
    color: var(--accent-light);
    transform: translateX(1.5rem);
}

.service-arrow {
    font-size: 2rem;
    color: var(--gray-dark);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-12px);
}

.service-row:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-light);
}

/* ======================== AUDIENCE (WHITE — quiet) ======================== */
.audience-section {
    background: var(--bg-light);
    padding: 8rem 0;
    text-align: center;
}

.audience-quiet h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 3rem;
}

.audience-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.audience-tags span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--pure-white);
    padding: 0.5rem 1.2rem;
    background: var(--accent);
    border: none;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: background 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-tags span:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ======================== WHY (BLACK — minimal list) ======================== */
.why-section {
    background: #050505;
    padding: 8rem 0;
}

.why-minimal {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.why-label {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.why-heading {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-top: 1rem;
}

.why-right {
    display: flex;
    flex-direction: column;
}

.why-point {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.3px;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-point:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-point:hover {
    color: var(--accent-light);
    transform: translateX(1.5rem);
}

/* ======================== INTERACTIVE 3D ROBOT ======================== */
/* (Robot is now inside hero section) */

/* ======================== GLOBAL REACH (BLACK) ======================== */
.global-section {
    background: #050505;
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.global-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.global-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.global-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 2rem;
}

.global-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.global-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.global-btn span {
    display: inline-block;
    font-size: 1.1rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-btn:hover span {
    transform: translateX(5px);
}

.global-globe-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#globeCanvas {
    cursor: grab;
    border-radius: 50%;
    max-width: 100%;
    height: auto;
}

#globeCanvas:active {
    cursor: grabbing;
}

.globe-hint {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--gray);
    white-space: nowrap;
    opacity: 0.6;
}

.global-stat {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 700px;
    margin-left: auto;
}

.global-stat-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.global-stat-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
}

.global-stat-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ======================== TESTIMONIALS (WHITE) ======================== */
.testimonials-section {
    background: var(--bg-light);
    padding: 8rem 0;
}

.testimonials-heading-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 1rem;
}

.testimonials-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.testimonial-card .tc-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
}

.testimonial-card .tc-company {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    display: block;
}

.testimonial-metrics {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.metric-val {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
}

/* ======================== WORK (BLACK — minimal list) ======================== */
.work-section {
    background: #050505;
    padding: 8rem 0;
}

.work-header {
    margin-bottom: 4rem;
}

.work-label {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

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

.work-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.work-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.work-row:hover {
    background: transparent;
}

.work-name {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-row:hover .work-name {
    color: var(--accent-light);
    transform: translateX(1.5rem);
}

.work-tag {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-dark);
    letter-spacing: 0.5px;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-row:hover .work-tag {
    color: var(--gray);
}

/* ======================== CTA (WHITE — quiet) ======================== */
.cta-section {
    background: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

.cta-quiet h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: 0.3px;
    padding: 0.8rem 2.4rem;
    background: var(--text-dark);
    border: none;
    border-radius: 100px;
    transition: background 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-whatsapp {
    background: var(--pure-black);
    color: var(--pure-white);
}

.cta-whatsapp:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-whatsapp svg {
    flex-shrink: 0;
    stroke: var(--pure-white);
}

.cta-btn:hover {
    background: var(--pure-black);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ======================== END SECTION (CTA + FOOTER) ======================== */
.end-section {
    background: #050505;
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.end-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    align-items: start;
}

.end-heading {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2.5rem;
}

.end-talk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #000;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0;
    background: var(--pure-white);
    transition: background 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    letter-spacing: 0.3px;
    margin-bottom: 2rem;
}

.end-talk-btn svg {
    stroke: #000;
}

.end-talk-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.1);
}

.end-business {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.end-business-label {
    font-size: 0.85rem;
    color: var(--pure-white);
    font-weight: 300;
}

.end-business-email {
    font-size: 0.85rem;
    color: var(--pure-white);
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.end-business-email:hover {
    opacity: 0.8;
}

.end-right {
    display: flex;
    gap: 5rem;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.end-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.end-col-label {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
    display: block;
}

.end-col a {
    font-size: 0.85rem;
    color: var(--pure-white);
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.end-col a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.end-arrow {
    display: none;
}

.end-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 2rem;
}

.end-bottom span,
.end-legal span {
    font-size: 0.75rem;
    color: var(--pure-white);
    font-weight: 300;
}

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

.end-brand {
    font-size: clamp(10rem, 22vw, 20rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    text-align: center;
    line-height: 0.8;
    letter-spacing: -6px;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    overflow: visible;
    padding-bottom: calc(1rem + 40px);
    position: relative;
}

/* ======================== MIND MAP ======================== */
.mindmap-section {
    position: relative;
    background: #050505;
    overflow: hidden;
    padding: 2rem 0 4rem;
}

.mindmap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#mindmapCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mindmap-nodes {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Center node — no border, transparent */
.mm-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    padding: 1.2rem 2.8rem;
    background: transparent;
    border: none;
    border-radius: 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.mm-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7), 0 0 24px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

.mm-dot-r { animation-delay: 1s; }

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 16px rgba(255,255,255,0.2); transform: scale(1); }
    50% { box-shadow: 0 0 16px rgba(255,255,255,0.8), 0 0 32px rgba(255,255,255,0.4); transform: scale(1.25); }
}

/* Service nodes — clean, no shine */
.mm-node {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-light);
    padding: 0.55rem 1.2rem;
    background: rgba(25, 25, 35, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    white-space: nowrap;
    z-index: 2;
    transition: var(--transition-fast);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.mm-node:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Left column positions */
.mm-node-1 { top: 10%;  left: 3%; }
.mm-node-2 { top: 30%;  left: 2%; }
.mm-node-3 { top: 52%;  left: 0%; }
.mm-node-4 { top: 74%;  left: 2%; }

/* Right column positions */
.mm-node-5 { top: 6%;   right: 3%; }
.mm-node-6 { top: 32%;  right: 2%; }
.mm-node-7 { top: 52%;  right: 2%; }
.mm-node-8 { top: 76%;  right: 3%; }

/* Get Started button */
.mm-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-block;
    padding: 0.85rem 2.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
}

.mm-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(-2px);
}

/* ======================== RESPONSIVE ======================== */
/* ======================== IPAD / TABLET (max 1024px) ======================== */
@media (max-width: 1024px) {
    .hero {
        min-height: 90vh;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 6rem 2rem 0;
        min-height: 0;
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 2rem;
        align-self: center;
    }

    .hero-robot {
        min-height: 450px;
    }

    .navbar-pill {
        width: 96%;
    }

    .logo {
        margin: 0 40px;
    }

    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }

    .nav-cta {
        padding: 0.5rem 1.1rem;
        font-size: 0.8rem;
    }

    /* Ethos */
    .ethos-section {
        padding: 5rem 0;
    }

    .ethos-grid {
        margin-bottom: 4rem;
    }

    .ethos-statement h2 {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }

    /* Process */
    .process-section {
        padding: 5rem 0;
    }

    .process-slide-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    /* Services */
    .services-section {
        padding: 5rem 0;
    }

    /* Audience */
    .audience-section {
        padding: 5rem 0;
    }

    /* Why */
    .why-section {
        padding: 5rem 0;
    }

    .why-minimal {
        gap: 2rem;
    }

    /* Global */
    .global-section {
        padding: 5rem 0;
    }

    .global-inner {
        gap: 2rem;
    }

    #globeCanvas {
        width: 240px !important;
        height: 240px !important;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 5rem 0;
    }

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

    /* Work */
    .work-section {
        padding: 5rem 0;
    }

    /* CTA */
    .cta-section {
        padding: 4rem 0;
    }

    /* End section */
    .end-heading {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    .end-brand {
        font-size: clamp(6rem, 16vw, 14rem);
    }
}

/* ======================== MOBILE (max 768px) ======================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Hide preloader on mobile */
    .preloader {
        display: none !important;
    }

    /* ---- Navbar mobile ---- */
    .navbar {
        padding: 0.6rem 0.75rem;
        padding-top: calc(0.6rem + env(safe-area-inset-top, 0px));
    }

    .navbar-pill {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        padding: 0.55rem 0.9rem;
        width: 100%;
        border-radius: 16px;
    }

    .logo {
        margin: 0;
        flex: 1;
        justify-content: flex-start;
    }

    .logo {
        width: 80px;
        height: 22px;
    }

    .hamburger {
        display: flex;
        flex: 0 0 auto;
    }

    /* Both nav groups — hidden by default */
    .nav-links.nav-left,
    .nav-links.nav-right {
        display: none;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        background: rgba(10, 10, 10, 0.97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.5rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.3s ease;
        pointer-events: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0 0 24px 24px;
    }

    .mobile-menu-overlay.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-close {
        position: absolute;
        top: calc(1rem + env(safe-area-inset-top, 0px));
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.6rem;
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-close:hover {
        opacity: 1;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        padding-top: 2.5rem;
    }

    .mobile-menu-links a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        font-weight: 400;
        color: var(--gray);
        text-decoration: none;
        border-radius: 12px;
        transition: color 0.2s ease, background 0.2s ease;
        letter-spacing: 0.3px;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.06);
    }

    .mobile-menu-links .mobile-cta {
        margin-top: 0.8rem;
        padding: 0.7rem 2.2rem;
        background: var(--white);
        color: var(--black);
        border-radius: 100px;
        font-weight: 500;
        font-size: 0.85rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mobile-menu-links .mobile-cta:hover {
        background: var(--gray-light);
    }

    .nav-cta {
        margin: 0.3rem 0 0;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    /* ---- Hero ---- */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5rem 0 2rem;
    }

    .hero-inner {
        display: block !important;
        padding: 0 !important;
        min-height: 0 !important;
        width: 100%;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 0 1rem !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-line {
        display: block !important;
        letter-spacing: -0.5px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-line-1,
    .hero-line-2 {
        font-size: clamp(1.3rem, 5.5vw, 2rem) !important;
        color: #f0f0f0 !important;
    }

    .rotate-word {
        color: #60a5fa !important;
        width: auto !important;
        overflow: visible !important;
        transition: none !important;
    }

    .hero-robot {
        display: none !important;
    }

    .hero-sub {
        font-size: 0.88rem;
        padding: 0;
        max-width: 380px;
        margin-bottom: 2rem;
        color: #777 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-tags {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-btn {
        font-size: 0.82rem;
        padding: 0.85rem 2.2rem;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* ---- Ethos ---- */
    .ethos-section {
        padding: 4rem 0;
    }

    .ethos-grid {
        grid-template-columns: 1fr;
        margin-bottom: 3rem;
    }

    .ethos-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 1.8rem 1.5rem;
    }

    .ethos-item:last-child {
        border-bottom: none;
    }

    .ethos-statement {
        padding: 2rem 0 0;
    }

    .ethos-statement h2 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    /* ---- Mind Map ---- */
    .mindmap-wrapper {
        height: auto;
        aspect-ratio: 1400 / 680;
    }

    .mm-center {
        font-size: 1.4rem;
        padding: 1rem 1.8rem;
    }

    .mm-node {
        font-size: 0.75rem;
        padding: 0.45rem 0.9rem;
    }

    .mm-node-1 { top: 8%;   left: 1%; }
    .mm-node-2 { top: 26%;  left: 0%; }
    .mm-node-3 { top: 50%;  left: 0%; }
    .mm-node-4 { top: 72%;  left: 1%; }
    .mm-node-5 { top: 4%;   right: 1%; }
    .mm-node-6 { top: 30%;  right: 0%; }
    .mm-node-7 { top: 50%;  right: 0%; }
    .mm-node-8 { top: 74%;  right: 1%; }

    /* ---- Trusted ---- */
    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trusted-label {
        grid-row: auto;
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 2rem;
        justify-content: center;
        text-align: center;
    }

    .trusted-logo:nth-child(5n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .trusted-logo:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .trusted-logo:nth-child(even) {
        border-right: none;
    }

    .trusted-logo:nth-last-child(-n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .trusted-logo:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* ---- Process ---- */
    .process-section {
        padding: 4rem 0;
    }

    .process-slider {
        flex-direction: column;
        min-height: 0;
    }

    .process-rail {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 0;
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
        gap: 1.2rem;
    }

    .process-rail-label {
        writing-mode: horizontal-tb;
    }

    .process-progress-track {
        width: 80px;
        height: 2px;
        margin: 0;
    }

    .process-progress-bar {
        width: 20%;
        height: 100%;
        transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .process-slide-body {
        padding-left: 0;
    }

    .process-bg-num {
        font-size: 10rem;
        left: auto;
        right: -0.1em;
        top: 60%;
    }

    .process-slide-title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

    .process-slide-desc {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .process-slide-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .process-nav {
        align-self: flex-end;
    }

    /* ---- Services ---- */
    .services-section {
        padding: 4rem 0;
    }

    .service-name {
        font-size: 1.2rem;
    }

    .service-row {
        padding: 1.5rem 0;
    }

    /* ---- Audience ---- */
    .audience-section {
        padding: 4rem 0;
    }

    .audience-quiet h2 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
        margin-bottom: 2rem;
    }

    .audience-tags {
        gap: 0.6rem;
    }

    /* ---- Why ---- */
    .why-section {
        padding: 4rem 0;
    }

    .why-minimal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-heading {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    /* ---- Global ---- */
    .global-section {
        padding: 4rem 0;
    }

    .global-inner {
        grid-template-columns: 1fr;
    }

    .global-heading {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .global-globe-wrap {
        padding-top: 2rem;
        display: flex;
        justify-content: center;
    }

    #globeCanvas {
        width: 200px !important;
        height: 200px !important;
    }

    .global-stat {
        max-width: 100%;
    }

    /* ---- Testimonials ---- */
    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .testimonial-metrics {
        gap: 2rem;
    }

    /* ---- Work ---- */
    .work-section {
        padding: 4rem 0;
    }

    .work-name {
        font-size: 1.2rem;
    }

    .work-row {
        padding: 1.5rem 0;
    }

    /* ---- CTA ---- */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-quiet h2 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* ---- End section ---- */
    .end-section {
        padding: 4rem 0 0;
    }

    .end-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-bottom: 3rem;
    }

    .end-heading {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 2rem;
    }

    .end-right {
        justify-content: flex-start;
        gap: 3rem;
    }

    .end-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .end-brand {
        font-size: clamp(5rem, 18vw, 10rem);
    }
}

/* ======================== SMALL MOBILE (max 480px) ======================== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-line-1,
    .hero-line-2 {
        font-size: clamp(1.1rem, 5vw, 1.6rem) !important;
    }

    .hero-sub {
        font-size: 0.82rem;
        max-width: 300px;
    }

    .hero-btn {
        padding: 0.75rem 1.8rem;
        font-size: 0.8rem;
    }

    .hero-tags-track {
        gap: 0.6rem;
    }

    .tag {
        padding: 0.4rem 0.9rem;
        font-size: 0.72rem;
    }

    /* Mind Map */
    .mindmap-wrapper {
        height: auto;
        aspect-ratio: 1400 / 680;
    }

    .mm-center {
        font-size: 1.1rem;
        padding: 0.8rem 1.4rem;
        border-radius: 12px;
    }

    .mm-dot {
        width: 6px;
        height: 6px;
    }

    .mm-node {
        font-size: 0.68rem;
        padding: 0.4rem 0.75rem;
        border-radius: 8px;
    }

    .mm-btn {
        padding: 0.7rem 2rem;
        font-size: 0.78rem;
    }

    /* Ethos */
    .ethos-item {
        padding: 1.5rem 1rem;
    }

    /* Process */
    .process-bg-num {
        font-size: 7rem;
    }

    .process-nav-btn {
        width: 40px;
        height: 40px;
    }

    /* Audience */
    .audience-tags {
        flex-direction: column;
        align-items: center;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }

    .testimonial-metrics {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    /* End section */
    .end-right {
        flex-direction: column;
        gap: 2rem;
    }

    .end-heading {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .end-talk-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .end-brand {
        font-size: clamp(4rem, 16vw, 7rem);
    }
}

/* ======================== REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {
    .hero-tags-track {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
