/* =============================================================
   DESIGNDREAMS — STYLESHEET v2
   ============================================================= */

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

/* --- Design Tokens ----------------------------------------- */
:root {
    --black:     #000000;
    --white:     #ffffff;
    --off-white: #f0f0f0;
    --gray:      #cccccc;
    --muted:     #707070;
    --border:    rgba(255,255,255,0.08);
    --accent:    #8b5cf6;
    --accent-rgb: 139,92,246;
    --accent-soft: rgba(139,92,246,0.16);
    --accent-glow: rgba(139,92,246,0.42);

    --font-display: 'Syne', tahoma, sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-serif:   'Crimson Text', Georgia, serif;

    --pad-x:    10.6666666667%;
    --nav-h:    100px;
    --footer-h: 96px;

    --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Base --------------------------------------------------- */
body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 2rem;
    overflow-x: hidden;
    cursor: none;
}
body.is-loading { overflow: hidden; }

/* Grain / film texture overlay — premium detail */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.028;
    pointer-events: none;
    z-index: 9997;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================================
   PROGRESS BAR
   ============================================================= */
.progress-bar {
    position: fixed;
    z-index: 1001;
    bottom: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--white), var(--accent));
    transform-origin: 0 50%;
    transform: scaleX(0) translateZ(0);
    transition: background 0.45s ease;
    will-change: transform;
    pointer-events: none;
}

/* =============================================================
   CURSOR  — small dot, expands on hover
   ============================================================= */
.cursor-circle {
    position: fixed;
    top: 0; left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) translateZ(0);
    will-change: transform, opacity;
    mix-blend-mode: exclusion;
}
.cursor-circle.is-visible { opacity: 1; }

/* =============================================================
   PRELOADER
   ============================================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}
.preloader-count {
    font-family: var(--font-display);
    font-size: clamp(80px, 12vw, 140px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}
.preloader-bar-wrap {
    width: 180px;
    height: 1px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}
.preloader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--white), var(--accent));
    transform-origin: 0 50%;
    transform: scaleX(0) translateZ(0);
    will-change: transform;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.3s ease, color 0.3s ease;
}
.nav.is-scrolled {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 var(--pad-x);
    gap: 40px;
}
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    width: auto;
    filter: invert(1);
}
.nav-logo .logo-img { height: 48px; }
.footer-logo .logo-img { height: 38px; }
.preloader-logo .logo-img { height: 72px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}
.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 3px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s ease;
    opacity: 0;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
    opacity: 1;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 22px;
    border-radius: 100px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-cta:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 6px;
    margin-left: auto;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-hamburger.is-open span:last-child  { transform: translateY(-3px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: all; }
.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.nav-overlay-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: opacity 0.2s;
}
.nav-overlay-link:hover { opacity: 0.5; }
.nav-overlay-cta { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: var(--nav-h) var(--pad-x) calc(var(--footer-h) + 4rem);
    background:
        radial-gradient(circle at 76% 18%, rgba(var(--accent-rgb),0.16), transparent 32%),
        var(--black);
    overflow: hidden;
}

/* Canvas — full hero, behind content */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    text-shadow: 0 0 28px rgba(var(--accent-rgb),0.22);
}
.hero-eyebrow span:first-child { color: var(--white); }
.hero-eyebrow span:last-child { color: var(--accent); }
.eyebrow-sep { opacity: 0.3; }

/* HERO HEADLINE — single overflow:hidden per row, no double-clip */
.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.headline-row {
    display: block;
    overflow: hidden;   /* single clip for the slide-up animation */
    line-height: 0.93;
    padding-right: 0.09em;
    margin-right: -0.09em;
}
.headline-word {
    display: block;
    font-family: var(--font-display);
    /* Slightly smaller max so "ARCHITECTS" never clips horizontally */
    font-size: clamp(52px, 7vw, 108px);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: -0.038em;
    text-transform: uppercase;
    will-change: transform;
    text-shadow: 0 0 54px rgba(var(--accent-rgb),0.18);
}

.hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.5rem;
}
.hero-desc {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray);
    max-width: 440px;
}
.hero-scroll-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.3s;
}
.hero-scroll-cta:hover { color: var(--white); }
.hero-scroll-cta:hover .scroll-arrow { color: var(--accent); }
.scroll-arrow { animation: arrowBob 2.2s ease-in-out infinite; }
@keyframes arrowBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* =============================================================
   STATEMENT — scroll-driven text reveal
   ============================================================= */
.statement {
    position: relative;
    z-index: 3;
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 8rem var(--pad-x) 8rem;
    min-height: 55vh;
    display: flex;
    align-items: center;
}
.statement-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 960px;
}
.statement-text {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
/* Chars injected by JS */
.reveal-char {
    display: inline;
    color: rgba(255,255,255,0.1);
    will-change: color;
    text-shadow: 0 0 0 rgba(var(--accent-rgb),0);
}

/* =============================================================
   WORK — PILLS
   ============================================================= */
.work {
    position: relative;
    z-index: 3;
    background: var(--black);
    padding: 5rem 0;
}
.work-inner { padding: 0 var(--pad-x); }

.section-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
}

.pills { display: flex; flex-direction: column; gap: 1.25rem; }

.pill {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 260px;
    border-radius: 130px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* anml.com exact initial state */
    opacity: 0;
    transform: translateY(300%) rotate(15deg) translateZ(0);
    will-change: transform, opacity;
    transition: border-color 0.4s ease;
}
.pill:hover {
    border-color: rgba(var(--accent-rgb),0.5);
    box-shadow: 0 24px 90px rgba(var(--accent-rgb),0.12);
}
.pill-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.pill-content { z-index: 2; }
.pill-link { position: relative; z-index: 3; }

.pill-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3rem 3rem 4rem;
    position: relative;
    z-index: 1;
}
.pill-header { display: flex; align-items: baseline; gap: 1rem; }
.pill-num { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.pill-cat {
    font-family: var(--font-display);
    font-size: clamp(40px, 4.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.pill-desc {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--gray);
    max-width: 300px;
}
.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68);
    align-self: flex-start;
    transition: color 0.3s, gap 0.3s;
}
.pill-link:hover { color: var(--accent); gap: 10px; }

/* Visual side */
.pill-visual {
    width: 44%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pill-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(0.95) contrast(1.06);
    opacity: 0.9;
    transition: transform 0.75s var(--ease-quart), opacity 0.45s ease;
}
.pill-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.2), rgba(0,0,0,0)),
        radial-gradient(circle at 78% 18%, rgba(var(--accent-rgb),0.28), transparent 42%);
    pointer-events: none;
}
.pill:hover .pill-photo { transform: scale(1.1); opacity: 1; }
.pill-photo + .pill-art { display: none; }

/* Rich gradient backgrounds — photography-feel */
.pill-visual--web {
    background:
        radial-gradient(ellipse 65% 50% at 70% 25%, rgba(var(--accent-rgb),0.34) 0%, transparent 65%),
        radial-gradient(ellipse 45% 55% at 25% 75%, rgba(255,255,255,0.09) 0%, transparent 55%),
        linear-gradient(145deg, #000510 0%, #000d22 50%, #001038 100%);
}
.pill-visual--app {
    background:
        radial-gradient(ellipse 60% 55% at 55% 35%, rgba(var(--accent-rgb),0.45) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 60%),
        linear-gradient(145deg, #070010 0%, #0e0020 50%, #160030 100%);
}
.pill-visual--brand {
    background:
        radial-gradient(ellipse 55% 55% at 50% 45%, rgba(var(--accent-rgb),0.32) 0%, transparent 65%),
        radial-gradient(ellipse 45% 45% at 25% 25%, rgba(255,255,255,0.08) 0%, transparent 55%),
        linear-gradient(145deg, #07070c 0%, #0b0912 50%, #120a20 100%);
}

.pill-art { transition: transform 0.6s var(--ease-quart); }
.pill:hover .pill-art { transform: scale(1.06); }

/* ---- Browser mockup ---------------------------------------- */
.art-browser {
    width: 230px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    box-shadow: 0 12px 60px rgba(0,0,60,0.5), 0 0 0 1px rgba(30,80,255,0.1);
}
.browser-chrome {
    height: 30px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
}
.b-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}
.b-dot--red    { background: rgba(255,90,90,0.6); }
.b-dot--yellow { background: rgba(255,200,50,0.5); }
.b-dot--green  { background: rgba(50,200,80,0.5); }

.b-url-bar {
    flex: 1;
    height: 16px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    margin: 0 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
}
.b-url-lock { opacity: 0.5; flex-shrink: 0; }
.b-url-text { flex: 1; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; }

.browser-nav {
    display: flex;
    gap: 6px;
    padding: 8px 10px 6px;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.b-nav-item {
    height: 5px;
    flex: 1;
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
}
.b-nav-item--active { background: rgba(var(--accent-rgb),0.7); flex: 0 0 22%; }

.browser-hero-block {
    padding: 12px 10px 10px;
    background: linear-gradient(to bottom, rgba(20,40,100,0.15) 0%, rgba(0,0,30,0.05) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.b-hero-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.22);
}
.b-hero-line--lg { width: 80%; height: 8px; background: rgba(255,255,255,0.35); }
.b-hero-line--md { width: 55%; }
.b-hero-btn {
    width: 48px; height: 14px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb),0.85), rgba(255,255,255,0.42));
    border-radius: 4px;
    margin-top: 4px;
}

.browser-cards {
    display: flex;
    gap: 6px;
    padding: 10px;
}
.b-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.b-card-img {
    height: 40px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(30,70,160,0.4), rgba(10,30,80,0.2));
}
.b-card-img--2 { background: linear-gradient(135deg, rgba(60,20,140,0.4), rgba(20,5,60,0.2)); }
.b-card-img--3 { background: linear-gradient(135deg, rgba(20,80,100,0.4), rgba(5,30,50,0.2)); }
.b-card-line {
    height: 4px;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
}
.b-card-line--short { width: 65%; }

/* ---- Phone mockup ------------------------------------------ */
.art-phone {
    width: 118px;
    height: 215px;
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 9px 14px;
    gap: 7px;
    box-shadow: 0 16px 60px rgba(80,0,200,0.4), 0 0 0 1px rgba(100,40,220,0.15);
}
.phone-notch { width: 44px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; flex-shrink: 0; }
.phone-status {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    width: 100%;
    padding: 0 2px;
    flex-shrink: 0;
}
.phone-status span {
    display: block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.phone-screen { flex: 1; width: 100%; display: flex; flex-direction: column; gap: 6px; }

.ph-greeting { display: flex; align-items: center; gap: 5px; }
.ph-avatar { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, rgba(var(--accent-rgb),0.9), rgba(255,255,255,0.42)); flex-shrink: 0; }
.ph-greeting-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ph-g-line { height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px; }
.ph-g-line--sm { width: 40%; height: 2px; background: rgba(255,255,255,0.15); }

.ph-stat-row { display: flex; gap: 4px; }
.ph-stat { flex: 1; height: 28px; border-radius: 6px; }
.ph-stat--up   { background: linear-gradient(135deg, rgba(var(--accent-rgb),0.35), rgba(80,40,200,0.15)); border: 1px solid rgba(var(--accent-rgb),0.25); }
.ph-stat--main { flex: 2; background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(var(--accent-rgb),0.12)); border: 1px solid rgba(var(--accent-rgb),0.2); }
.ph-stat--side { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }

.ph-card-big { flex: 1; border-radius: 8px; background: linear-gradient(145deg, rgba(var(--accent-rgb),0.3), rgba(40,10,100,0.15)); border: 1px solid rgba(var(--accent-rgb),0.2); }

.ph-tabs { display: flex; justify-content: space-around; padding: 0 2px; }
.ph-tab { display: block; width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.ph-tab--active { background: linear-gradient(90deg, rgba(var(--accent-rgb),0.9), rgba(255,255,255,0.46)); }

/* ---- Brand mark mockup ------------------------------------- */
.art-brand {
    position: relative;
    width: 160px; height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.brand-outer-ring, .brand-inner-ring {
    position: absolute;
    border-radius: 50%;
}
.brand-outer-ring {
    width: 148px; height: 148px;
    border: 1px solid rgba(var(--accent-rgb),0.4);
    box-shadow: 0 0 20px rgba(var(--accent-rgb),0.1), inset 0 0 20px rgba(var(--accent-rgb),0.05);
}
.brand-inner-ring {
    width: 90px; height: 90px;
    border: 1px solid rgba(var(--accent-rgb),0.25);
}
.brand-cross {
    position: absolute;
    width: 148px; height: 148px;
}
.brand-cross::before, .brand-cross::after {
    content: '';
    position: absolute;
    background: rgba(var(--accent-rgb),0.15);
}
.brand-cross::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.brand-cross::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }

.brand-diamond {
    position: absolute;
    width: 52px; height: 52px;
    border: 1px solid rgba(var(--accent-rgb),0.42);
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(var(--accent-rgb),0.12);
}
.brand-letters {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--white), var(--accent), #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-tagline-mock {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}
.btm-line { width: 60px; height: 2px; background: rgba(var(--accent-rgb),0.48); border-radius: 1px; }
.btm-line--short { width: 36px; background: rgba(var(--accent-rgb),0.24); }

/* =============================================================
   MARQUEE  — white bold
   ============================================================= */
.marquee {
    position: relative;
    z-index: 3;
    background: var(--black);
    border-top:    1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}
.marquee-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    flex-shrink: 0;
}
/* WHITE BOLD — the upgrade */
.marquee-group span {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}
.mq-sep {
    font-size: 0.4rem !important;
    font-weight: 400 !important;
    color: var(--accent) !important;
    letter-spacing: 0 !important;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================================
   SERVICES
   ============================================================= */
.services {
    position: relative;
    z-index: 3;
    background: var(--black);
    padding: 9.375rem var(--pad-x);
    min-height: 100vh;
}
.services-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 5rem; }
.services-headline {
    font-family: var(--font-display);
    font-size: clamp(40px, 4.2vw, 68px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0 5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4.5rem;
}
.service-divider { width: 1px; background: rgba(255,255,255,0.08); }

.service {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    will-change: transform, opacity;
}
.service-big-num {
    font-family: var(--font-display);
    font-size: clamp(80px, 8.6vw, 124px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(255,255,255,0.04);
    user-select: none;
    margin-bottom: -0.2em;
}
.service-top { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 2.5rem; }
.service-num { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.service-name {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.8vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.service-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-list li {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.82);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: opacity 0.2s, color 0.2s;
}
.service-list li:hover { color: var(--white); opacity: 1; }
.service-list li:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.service-link {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 2rem;
    transition: opacity 0.3s;
}
.service-link:hover { opacity: 1; color: var(--white); }

/* =============================================================
   CULTURE & CRAFT — MEGA
   ============================================================= */
.culture {
    position: relative;
    z-index: 3;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    padding-bottom: 9.375rem;
}
.culture-inner { padding: 9.375rem var(--pad-x) 0; }

/* Scroll-reveal manifesto */
.culture-manifesto {
    margin: 3rem 0 6rem;
    max-width: 900px;
}
.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* MASSIVE horizontal headline — scrolls left as you scroll down */
.culture-headline-wrap {
    overflow: clip;
    margin-bottom: 7rem;
    /* extends wider than the page */
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
}
.culture-headline {
    font-family: var(--font-display);
    font-size: clamp(80px, 20vw, 280px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    white-space: nowrap;
    padding-left: var(--pad-x);
    color: var(--white);
    will-change: transform;
    text-shadow: 0 0 80px rgba(var(--accent-rgb),0.16);
}

/* Body: blob + text */
.culture-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.culture-visual { position: relative; display: flex; justify-content: center; }
.culture-blob {
    width: 62%;
    aspect-ratio: 0.57 / 1;
    min-height: 400px;
    max-height: 600px;
    background: linear-gradient(160deg, #0d0d20 0%, #0f1030 40%, #060618 100%);
    border-radius: 50% 27%;
    animation: blobMorph 9s ease-in-out infinite;
    will-change: border-radius;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb),0.26);
    box-shadow: inset 0 0 70px rgba(255,255,255,0.04);
}
.culture-blob::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.18)),
        radial-gradient(circle at 65% 18%, rgba(var(--accent-rgb),0.28), transparent 45%);
    pointer-events: none;
}
.culture-blob-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) saturate(0.96);
    transform: scale(1.02);
}
.culture-blob-glow {
    position: absolute;
    width: 62%;
    aspect-ratio: 0.57 / 1;
    min-height: 400px;
    max-height: 600px;
    border-radius: 50% 27%;
    background: transparent;
    box-shadow: 0 0 90px rgba(var(--accent-rgb),0.22), 0 0 180px rgba(var(--accent-rgb),0.12);
    animation: blobMorph 9s ease-in-out infinite;
    top: 0; left: 0; right: 0;
    margin: auto;
}
@keyframes blobMorph {
    0%, 100% { border-radius: 50% 27%; }
    25%       { border-radius: 43% 32% 48% 28%; }
    50%       { border-radius: 55% 24%; }
    75%       { border-radius: 40% 35% 44% 30%; }
}

.culture-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(10svh) translateZ(0);
    will-change: transform, opacity;
}
.culture-text p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--white);
    opacity: 0.7;
}
.culture-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    margin-top: 0.75rem;
    align-self: flex-start;
    transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.culture-cta:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 18px 50px rgba(var(--accent-rgb),0.22);
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact {
    position: relative;
    z-index: 3;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 9.375rem var(--pad-x) calc(var(--footer-h) + 7rem);
}
.contact-inner { display: flex; flex-direction: column; gap: 2.5rem; }

.contact-headline {
    font-family: var(--font-display);
    font-size: clamp(48px, 6.5vw, 100px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
    opacity: 0;
    transform: translateY(30svh) translateZ(0);
    will-change: transform, opacity;
}
.contact-headline em {
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 0.88em;
    color: var(--accent);
    text-shadow: 0 0 42px rgba(var(--accent-rgb),0.24);
}
.contact-email {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.72);
    align-self: flex-start;
    position: relative;
    transition: color 0.3s;
}
.contact-email::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s var(--ease-quart);
}
.contact-email:hover { color: var(--accent); }
.contact-email:hover::after { transform: scaleX(1); transform-origin: left center; }

.contact-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.contact-direct {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: -1.25rem;
}
.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
    transition: color 0.3s, transform 0.3s;
}
.contact-direct a::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(var(--accent-rgb),0.65);
}
.contact-direct a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.btn-fill {
    display: inline-flex;
    align-items: center;
    padding: 16px 38px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    box-shadow: 0 16px 50px rgba(var(--accent-rgb),0.24);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-fill:hover { background: #7c3aed; box-shadow: 0 18px 60px rgba(var(--accent-rgb),0.34); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 16px 38px;
    background: transparent;
    color: var(--white);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-outline:hover { background: rgba(var(--accent-rgb),0.08); border-color: rgba(var(--accent-rgb),0.6); color: var(--accent); }

/* =============================================================
   FOOTER — white text (user request)
   ============================================================= */
.footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--footer-h);
    z-index: 990;
    background: var(--black);
    border-top: 1px solid var(--border);
}
.footer-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 var(--pad-x);
    gap: 2rem;
}
.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-nav { display: flex; gap: 1.75rem; margin-left: 2rem; }
.footer-nav a {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.45; }

.footer-right { margin-left: auto; display: flex; align-items: center; gap: 2.5rem; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 1; color: var(--accent); }
.footer-copy {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1248px) {
    :root { --pad-x: 4rem; }
    .services-grid { grid-template-columns: 1fr; gap: 3.5rem 0; }
    .service-divider { display: none; }
    .culture-body { grid-template-columns: 1fr; gap: 3rem; }
    .culture-visual { display: none; }
}

@media (max-width: 768px) {
    :root { --pad-x: 1.5rem; --nav-h: 72px; --footer-h: 64px; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

    .pill { flex-direction: column; border-radius: 32px; min-height: auto; }
    .pill-visual { width: 100%; height: 200px; border-radius: 0; }
    .pill-content { padding: 1.75rem 1.75rem 1.5rem; }

    .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

    .culture-headline { font-size: clamp(52px, 14vw, 100px); white-space: normal; }

    .footer-nav, .footer-social { display: none; }
    .footer-copy { margin-left: auto; }

    .statement { padding: 5rem var(--pad-x); }
}

@media (pointer: coarse) {
    body { cursor: auto; }
    .cursor-circle { display: none; }
}
