/* ============================================================
   ELEMENTS DIGITAL — Design System
   ============================================================ */

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

/* ===== DESIGN TOKENS ===== */
:root {
    /* Core colors */
    --bg:           #080808;
    --bg-2:         #111111;
    --bg-3:         #181818;
    --white:        #ffffff;
    --muted:        rgba(255, 255, 255, 0.45);
    --muted-2:      rgba(255, 255, 255, 0.22);
    --border:       rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.35);

    /* ── Green accent ── */
    --green:        #00FF88;
    --green-dim:    rgba(0, 255, 136, 0.08);
    --green-border: rgba(0, 255, 136, 0.22);
    --green-text:   rgba(0, 255, 136, 0.75);
    --green-glow:   0 0 28px rgba(0, 255, 136, 0.12);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1240px;
    --pad-x:     50px;
    --section-y: 140px;

    /* Easing */
    --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);

    /* Transitions */
    --t-fast: 0.2s var(--ease);
    --t-base: 0.4s var(--ease);
    --t-slow: 0.9s var(--ease-out);
}

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

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    opacity: 0;
    animation: loaderFade 0.6s var(--ease) 0.2s forwards;
}

.loader__logo span { color: var(--green); }  /* ← green dot */

.loader__bar {
    width: 180px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.loader__bar::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--green);                /* ← green bar */
    animation: loaderBar 1.4s var(--ease-out) 0.3s forwards;
}

@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderBar  { to { left: 0; } }

/* ===== CURSOR ===== */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width var(--t-base), height var(--t-base), opacity var(--t-base);
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity var(--t-base);
    mix-blend-mode: difference;
}

.cursor.hover  { width: 14px; height: 14px; }
.cursor-ring.hover { width: 64px; height: 64px; }

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* ===== SECTION ===== */
.section {
    padding: var(--section-y) 0;
    border-top: 1px solid var(--border);
}

/* ===== TYPOGRAPHY HELPERS ===== */
.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
}

.section-title {
    font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 34px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: none;
    transition: border-color var(--t-base), background var(--t-base), color var(--t-base), box-shadow var(--t-base);
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn--outline {
    border-color: var(--border);
    background: transparent;
    color: var(--white);
}

.btn--outline:hover {
    border-color: var(--green-border);
    background: var(--green-dim);
    box-shadow: var(--green-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--muted);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn--ghost:hover { color: var(--white); }

.btn--lg { padding: 20px 44px; font-size: 15px; }

.btn__arrow { transition: transform var(--t-base); }
.btn--ghost:hover .btn__arrow { transform: translate(4px, -2px); }

/* ===== REVEAL MASK — wearebrand.io text effect ===== */
.reveal-wrap {
    display: block;
    overflow: hidden;
    line-height: 1.05;
    padding-bottom: 0.08em;
}

.reveal-text {
    display: block;
    transform: translateY(110%);
    transition: transform 1s var(--ease-out);
    will-change: transform;
}

.reveal-text.in { transform: translateY(0); }

/* ===== FADE / SLIDE ===== */
.animate-fade {
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}
.animate-fade.in { opacity: 1; }

.animate-slide {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    will-change: transform, opacity;
}
.animate-slide.in { opacity: 1; transform: translateY(0); }

/* Delay helpers */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }
.delay-5 { transition-delay: 0.55s; }
.delay-6 { transition-delay: 0.72s; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--pad-x);
    transition: padding var(--t-base), background var(--t-base), border-color var(--t-base);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: var(--border);
    padding-top: 18px;
    padding-bottom: 18px;
}

.nav__logo a {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--white);
}

.nav__logo span { color: var(--green); }  /* ← green dot */

.nav__menu {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav__link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--muted);
    transition: color var(--t-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);               /* ← green underline */
    transition: width var(--t-base);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: none;
    padding: 4px;
    z-index: 6000;
    position: relative;
}

.nav__hamburger span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--white);
    transition: transform var(--t-base), opacity var(--t-base);
    transform-origin: center;
}

.nav__hamburger.open span:first-child { transform: rotate(45deg) translate(5px, 6px); }
.nav__hamburger.open span:last-child  { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__parallax-wrap {
    position: absolute;
    inset: -25% 0;
    will-change: transform;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background-color: #080808;
    /* dot grid */
    background-image:
        radial-gradient(circle, rgba(0,255,136,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    /* green glow blobs */
    box-shadow: none;
}

/* green glow blobs via pseudo-elements */
.hero__bg-image::before,
.hero__bg-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero__bg-image::before {
    width: 520px;
    height: 520px;
    background: rgba(0, 255, 136, 0.07);
    top: -10%;
    left: -5%;
}
.hero__bg-image::after {
    width: 400px;
    height: 400px;
    background: rgba(0, 255, 136, 0.05);
    bottom: 10%;
    right: 5%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 8, 8, 0.97) 0%,
        rgba(8, 8, 8, 0.5) 40%,
        rgba(8, 8, 8, 0.25) 100%
    );
}

.hero__noise {
    position: absolute;
    inset: 0;
    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='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)'/%3E%3C/svg%3E");
    background-size: 256px;
}

/* Code-reveal spotlight */
.hero__code-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    /* spotlight mask — hidden off-screen until mouse enters */
    -webkit-mask-image: radial-gradient(
        circle 300px at var(--code-mx, -9999px) var(--code-my, -9999px),
        black 0%,
        rgba(0, 0, 0, 0.05) 60%,
        transparent 100%
    );
    mask-image: radial-gradient(
        circle 300px at var(--code-mx, -9999px) var(--code-my, -9999px),
        black 0%,
        rgba(0, 0, 0, 0.05) 60%,
        transparent 100%
    );
}

.hero__code-col {
    flex: 1 0 0;
    overflow: hidden;
    font-family: 'Fira Code', 'Courier New', 'Monaco', monospace;
    font-size: 10.5px;
    line-height: 1.85;
    color: rgba(0, 255, 136, 0.85);
    padding: 50px 18px 0;
    white-space: pre;
    user-select: none;
}

/* Three.js canvas — acima do code-bg, abaixo do conteúdo */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    padding-bottom: 100px;
    width: 100%;
}

.hero__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 36px;
}

.hero__title {
    font-size: clamp(40px, 6.5vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 32px;
}

.hero__title--thin {
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.72);
}

/* Service tags in hero */
.hero__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border: 1px solid var(--green-border);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-text);
    background: var(--green-dim);
    transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}

.hero__tag:hover {
    background: rgba(0, 255, 136, 0.14);
    color: var(--green);
    border-color: rgba(0, 255, 136, 0.45);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--pad-x) 36px;
}

.hero__scroll {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__scroll-line {
    width: 40px;
    height: 1px;
    background: var(--muted-2);
    transform-origin: left;
    animation: scrollLine 1.5s var(--ease-out) 2s both;
}

@keyframes scrollLine {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

.hero__scroll span,
.hero__location {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* ===== MANIFESTO ===== */
.manifesto__grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 80px;
    align-items: start;
}

.manifesto__sidebar { padding-top: 6px; }
.manifesto__sidebar .label { position: sticky; top: 120px; }

.manifesto__title {
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.88);
}

.manifesto__title em {
    font-style: italic;
    color: var(--green);                     /* ← green highlight */
    font-weight: 500;
}

.manifesto__text {
    font-size: 16px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 52px;
}

/* ===== FEATURE BAND ===== */
.feature-band {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.feature-band__parallax-wrap {
    position: absolute;
    inset: -25% 0;
    will-change: transform;
}

.feature-band__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0a1a10;
}

.feature-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 8, 8, 0.82) 0%,
        rgba(8, 8, 8, 0.55) 50%,
        rgba(8, 8, 8, 0.70) 100%
    );
    z-index: 1;
}

.feature-band__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 72px;
}

.feature-band__quote {
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 820px;
}

.feature-band__quote .reveal-wrap { margin-bottom: 0.02em; }

.feature-band__quote--thin {
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}

.feature-band__quote em {
    font-style: normal;
    color: var(--green);                     /* ← green highlight */
    font-weight: 700;
}

/* ===== SERVICES ===== */
.services {
    position: relative;
    overflow: hidden;
}

/* Decorative green ring background */
.services::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.05);
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.services::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.07);
    right: 60px;
    bottom: 80px;
    pointer-events: none;
}

.services__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
}

.service-card {
    padding: 52px 40px 44px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    position: relative;
    cursor: none;
    overflow: hidden;
    transition: background var(--t-base);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-dim);
    opacity: 0;
    transition: opacity var(--t-base);
}

.service-card:hover::after { opacity: 1; }

.service-card:nth-child(3n)        { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }

.service-card__num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--green-text);               /* ← green number */
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.service-card__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-card__content h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.service-card__content p {
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
}

.service-card__arrow {
    font-size: 20px;
    color: var(--muted-2);
    margin-top: 32px;
    display: inline-block;
    transition: color var(--t-base), transform var(--t-base);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card__arrow {
    color: var(--green);                    /* ← green arrow on hover */
    transform: translate(5px, -5px);
}

/* ===== MARQUEE ===== */
.marquee {
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

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

.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee__item {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    padding: 0 28px;
    transition: color var(--t-base);
}

.marquee__item:hover { color: var(--white); }

.marquee__sep {
    font-size: 8px;
    color: var(--green);                    /* ← green separator */
    flex-shrink: 0;
    opacity: 0.7;
}

/* ===== WORK ===== */
.work__header { margin-bottom: 48px; }

.work__header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: none;
    background: var(--bg-3);
}

.work-item:not(.work-item--large) { aspect-ratio: 3/4; }
.work-item--large { grid-column: span 2; aspect-ratio: 16/9; }

.work-item__parallax-wrap {
    position: absolute;
    inset: -22% 0;
    will-change: transform;
}

.work-item__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    transition: transform 1s var(--ease-out);
    will-change: transform;
}

.work-item:hover .work-item__bg { transform: scale(1.06); }

.work-item__info {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 32px;
    background: linear-gradient(to top, rgba(8,8,8,0.90) 0%, rgba(8,8,8,0.25) 55%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

.work-item:hover .work-item__info { opacity: 1; transform: translateY(0); }

.work-item__cat {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.work-item__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.work-item__arrow {
    font-size: 22px;
    color: var(--green);                    /* ← green arrow */
    align-self: flex-end;
}

/* ===== STATS ===== */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 56px 24px;
    border-right: 1px solid var(--border);
    text-align: center;
}

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

.stat-item__num {
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--green);                    /* ← green numbers */
}

.stat-item__label {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ===== CTA ===== */
.cta {
    position: relative;
    overflow: hidden;
}

/* Subtle green radial glow in CTA */
.cta::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.04) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta__title {
    font-size: clamp(38px, 5.5vw, 78px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 24px 0 28px;
    max-width: 860px;
}

.cta__text {
    font-size: 17px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 520px;
}

.cta__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    padding: 90px 0 44px;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.footer__logo {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.footer__logo span { color: var(--green); } /* ← green dot */

.footer__tagline {
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
}

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.footer__col h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 28px;
}

.footer__col a {
    display: block;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 14px;
    transition: color var(--t-fast);
}

.footer__col a:hover { color: var(--green); } /* ← green on hover */

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 300;
    color: var(--muted-2);
    letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root { --pad-x: 40px; --section-y: 100px; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(3n)           { border-right: 1px solid var(--border); }
    .service-card:nth-last-child(-n+3)    { border-bottom: 1px solid var(--border); }
    .service-card:nth-child(2n)           { border-right: none; }
    .service-card:nth-last-child(-n+2)    { border-bottom: none; }

    .work__grid { grid-template-columns: repeat(2, 1fr); }
    .work-item--large { grid-column: span 2; }
    .work-item:not(.work-item--large) { aspect-ratio: 4/3; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }

    .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
    .manifesto__sidebar .label { position: static; }

    .footer__top { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 778px) {
    :root { --pad-x: 24px; --section-y: 80px; }

    .nav { padding: 20px var(--pad-x); }
    .nav.scrolled { padding: 16px var(--pad-x); }

    .nav__menu {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 48px;
        z-index: 4999;
    }
    .nav__menu.open { display: flex; }
    .nav__link { font-size: 32px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
    .nav__link::after { display: none; }
    .nav__actions { display: none; }
    .nav__hamburger { display: flex; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero__title { font-size: clamp(34px, 10vw, 60px); }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero__location { display: none; }
    #hero-canvas { display: none; } /* hide 3D on mobile for performance */

    /* Feature */
    .feature-band { height: 55vh; min-height: 360px; }
    .feature-band__quote { font-size: clamp(26px, 8vw, 48px); }

    /* Services */
    .services__grid { grid-template-columns: 1fr; }
    .service-card { border-right: none !important; }
    .service-card:nth-last-child(-n+1) { border-bottom: none !important; }
    .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border) !important; }

    /* Work */
    .work__grid { grid-template-columns: 1fr; }
    .work-item--large { grid-column: span 1; aspect-ratio: 4/3; }
    .work-item:not(.work-item--large) { aspect-ratio: 4/3; }
    .work-item__info { opacity: 1; transform: none; }
    .work__header-row { flex-direction: column; align-items: flex-start; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__nav { grid-template-columns: repeat(2, 1fr); }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

    .cta__actions { flex-direction: column; width: 100%; }
    .cta__actions .btn { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
    .hero__title { font-size: clamp(30px, 12vw, 50px); }
    .footer__nav { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,136,0.3); } /* ← green scrollbar */

/* ===== SELECTION ===== */
::selection { background: rgba(0, 255, 136, 0.15); color: var(--white); } /* ← green selection */
