/* =========================================
   INTEGRA WEB3 — v6 Monochrome
   One subject built in CSS 3D (the tower), giant extended type,
   greyscale only, glass cards. Tokens only.
   ========================================= */

:root {
    --bg: #0a0a0b;
    --bg-2: #111113;
    --ink: #f2f2f0;
    --ink-soft: #c9c9c5;
    --grey: #8a8a8e;
    --grey-2: #4c4c50;
    --hairline: rgba(255, 255, 255, 0.10);
    --hairline-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --accent: #f2f2f0;
    --accent-rgb: 242, 242, 240;

    /* brick material */
    --brick-top: #e6e6e3;
    --brick-front: #a9a9a6;
    --brick-side: #707070;
    --brick-edge: rgba(255, 255, 255, 0.16);

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --section: clamp(96px, 14vw, 192px);

    --radius-input: 8px;
    --radius-card: 16px;
    --radius-button: 24px;
    --radius-pill: 999px;

    --font-display: "Unbounded", "Arial Black", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --text-label: 12px;
    --text-button: 14px;
    --text-nav: 15px;
    --text-body: 17px;
    --text-lead: 19px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-ui: 0.4s;
    --dur-entrance: 1.2s;

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ol, ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- atmosphere ---------- */
.grain {
    position: fixed; inset: -50%; width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; z-index: 2000;
    animation: grain 0.6s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 33% { transform: translate(-2%,1%); } 66% { transform: translate(1%,-2%); } 100% { transform: translate(0,0); } }

.progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 1px;
    background: var(--ink); transform: scaleX(0); transform-origin: left center;
    z-index: 1100; pointer-events: none;
}

.magnetic { transition: transform var(--dur-ui) var(--ease); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 700; }

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.2vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
p { color: var(--grey); letter-spacing: -0.01em; }

.section-index {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--grey);
    margin-bottom: var(--space-3);
}
.section-head { margin-bottom: clamp(var(--space-5), 6vw, 88px); max-width: 880px; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-lead { font-size: var(--text-lead); max-width: 520px; color: var(--grey); }

/* ---------- glass ---------- */
.glass {
    background: var(--glass);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.stat-label {
    display: block;
    font-size: var(--text-label); letter-spacing: 1px; text-transform: uppercase;
    color: var(--grey); font-weight: 500;
}

/* ---------- nav ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 1000;
    display: flex; justify-content: center;
    border-bottom: 1px solid transparent;
    transition: background var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.navbar.scrolled {
    background: rgba(10, 10, 11, 0.72);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border-bottom-color: var(--hairline-soft);
}
.nav-inner {
    width: 100%; max-width: var(--container);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 var(--gutter);
}
.wordmark { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.mark { width: 26px; height: 26px; flex-shrink: 0; margin-right: 10px; }
.wordmark span { color: var(--grey); }

/* segmented pill nav */
.nav-pill {
    display: flex; gap: 2px; padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--glass); border: 1px solid var(--hairline-soft);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-pill a {
    display: block; padding: 8px 16px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--grey);
    transition: color var(--dur-ui) var(--ease), background var(--dur-ui) var(--ease);
}
.nav-pill a:hover { color: var(--ink); }
.nav-pill a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.nav-right { display: flex; align-items: center; gap: var(--space-3); }
.nav-ghost { font-size: 13px; font-weight: 500; color: var(--grey); transition: color var(--dur-ui) var(--ease); }
.nav-ghost:hover { color: var(--ink); }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
    border-radius: var(--radius-pill); border: 1px solid var(--hairline); background: var(--glass);
    font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--grey); cursor: pointer;
    transition: border-color var(--dur-ui) var(--ease);
}
.lang-toggle:hover { border-color: rgba(255, 255, 255, 0.25); }
.lang-toggle i { font-style: normal; color: var(--grey-2); }
.lang-toggle span { transition: color var(--dur-ui) var(--ease); }
.lang-toggle span.is-on { color: var(--ink); }
.footer-note { font-size: var(--text-nav); color: var(--grey); }

/* ---------- mobile menu ---------- */
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline);
    background: var(--glass); cursor: pointer; position: relative; flex-shrink: 0;
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform var(--dur-ui) var(--ease), top var(--dur-ui) var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
body.menu-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: 0; z-index: 900; background: rgba(10, 10, 11, 0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-5);
    padding: 96px var(--gutter) var(--space-5);
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
body.menu-open { overflow: hidden; }
.mobile-menu-inner { display: flex; flex-direction: column; }
.mobile-menu-inner a {
    display: flex; align-items: baseline; gap: var(--space-3);
    padding: 14px 0; border-bottom: 1px solid var(--hairline-soft);
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 8vw, 2.4rem); text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink);
    transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.mobile-menu-inner a b { font-size: var(--text-label); font-weight: 500; letter-spacing: 0.12em; color: var(--grey); }
body.menu-open .mobile-menu-inner a { transform: none; opacity: 1; }
body.menu-open .mobile-menu-inner a:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .mobile-menu-inner a:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .mobile-menu-inner a:nth-child(4) { transition-delay: 0.15s; }
body.menu-open .mobile-menu-inner a:nth-child(5) { transition-delay: 0.2s; }
body.menu-open .mobile-menu-inner a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; color: var(--grey); }
.mobile-menu-foot a { color: var(--ink); }

/* ---------- preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 3000;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
    transition: transform 0.9s var(--ease), visibility 0s linear 0.9s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader-word { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); }
.preloader-word .mark { width: 1.3em; height: 1.3em; margin-right: 0.5em; }
.preloader-word span { color: var(--grey); }
.preloader-bar { width: 160px; height: 1px; background: var(--hairline); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.preloader-count { font-family: var(--font-display); font-size: var(--text-label); letter-spacing: 0.12em; color: var(--grey); font-variant-numeric: tabular-nums; }
.preloader.is-done ~ .hero .hero-eyebrow,
.preloader.is-done ~ .hero .hero-copy,
.preloader.is-done ~ .hero .hero-cards { animation-play-state: running; }

/* ---------- column hairlines ---------- */
.hero-lines {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between;
    padding: 0 var(--gutter);
}
.hero-lines span { width: 1px; height: 100%; background: var(--hairline-soft); }
.hero-lines span:first-child, .hero-lines span:last-child { background: transparent; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-button);
    font-family: var(--font-body); font-size: var(--text-button); font-weight: 600;
    line-height: 1; letter-spacing: 0.01em;
    border: 1px solid transparent; cursor: pointer;
    transition: transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease),
                border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease),
                background var(--dur-ui) var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-primary .arrow { color: var(--grey); transition: transform var(--dur-ui) var(--ease); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-nav { padding: 10px var(--space-3); background: var(--ink); color: var(--bg); }
.btn-nav:hover { box-shadow: var(--shadow-md); }
.btn-lg { padding: 20px 40px; font-size: 15px; }

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    overflow: hidden; isolation: isolate;
    background: var(--bg);
}
.hero-haze {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 62% 78%, rgba(255, 255, 255, 0.07) 0%, transparent 70%),
        linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, transparent 30%);
}
.hero > .hero-lines { z-index: 1; }

.hero-grid {
    position: relative; z-index: 4;
    max-width: var(--container); margin: 0 auto;
    padding: 112px var(--gutter) 40px;
    min-height: 100vh; min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
        "code   code"
        "title  title"
        "copy   figures"
        "stage  stage";
    column-gap: var(--space-5);
    row-gap: var(--space-4);
}
.tower-stage {
    position: absolute; inset: 0;
    perspective: 2400px;
    perspective-origin: 50% 40%;
}
.hero-code {
    grid-area: code; justify-self: start;
    font-family: var(--font-display); font-weight: 500;
    font-size: var(--text-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 0.3s forwards;
}
.hero-code em { font-style: normal; color: var(--grey-2); }

.hero-eyebrow {
    grid-area: eyebrow;
    display: flex; align-items: center; gap: var(--space-2);
    font-size: var(--text-label); font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft);
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 0.2s forwards;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6); }

/* three-line statement, top-left (h10 / h11 pattern) */
.hero-statement {
    grid-area: statement; align-self: start;
    font-family: var(--font-body); font-weight: 300;
    font-size: clamp(1.2rem, 1.9vw, 1.8rem); line-height: 1.05; letter-spacing: -0.02em;
    text-transform: uppercase; color: var(--ink); max-width: 340px;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 0.5s forwards;
}
.hero-eyebrow, .hero-code, .hero-statement, .hero-stack, .hero-copy, .hero-cards, .scroll-badge { position: relative; z-index: 6; }
.hero-statement .st-line { display: block; }
.hero-statement .st-bold { font-weight: 600; }
.hero-statement em { font-style: normal; color: var(--grey); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the tower (CSS 3D bricks) ---------- */
.tower {
    position: absolute; left: 50%; top: 74%;
    width: 0; height: 0;
    transform-style: preserve-3d;
    transform: rotateX(-24deg) rotateY(-34deg);
}
.brick {
    position: absolute; left: 0; top: 0; width: 0; height: 0;
    transform-style: preserve-3d;
}
.face {
    position: absolute; left: 0; top: 0;
    backface-visibility: hidden;
    box-shadow: inset 0 0 0 1px var(--brick-edge);
    filter: brightness(var(--tone, 1));
}
.face-top { background: linear-gradient(135deg, var(--brick-top) 0%, #cfcfcc 100%); }
.face-front { background: linear-gradient(180deg, var(--brick-front) 0%, #8f8f8c 100%); }
.face-right { background: linear-gradient(180deg, var(--brick-side) 0%, #555553 100%); }
.face-back, .face-left, .face-bottom { background: #3a3a38; }
.tower-floor {
    position: absolute; left: 50%; top: 78%;
    width: 70%; height: 14%;
    transform: translate(-50%, 0);
    background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.10) 0%, transparent 70%);
    filter: blur(6px);
}

.hero-copy {
    grid-area: copy; align-self: start; max-width: 460px;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 0.9s forwards;
}
.hero-copy p { font-size: var(--text-body); color: var(--ink-soft); line-height: 1.55; }
.hero-cta { margin-top: var(--space-3); display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

/* ghost link with circle arrow */
.link-circle {
    display: inline-flex; align-items: center; gap: var(--space-2);
    font-size: var(--text-button); font-weight: 600; color: var(--ink-soft);
    transition: color var(--dur-ui) var(--ease);
}
.link-circle .circle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--hairline); display: grid; place-items: center;
    font-size: 15px; color: var(--ink);
    transition: background var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.link-circle:hover { color: var(--ink); }
.link-circle:hover .circle { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* stacked wide-type caption with alternating weights */
.hero-stack {
    grid-area: stack; justify-self: end; align-self: start;
    display: flex; flex-direction: column; align-items: flex-end;
    font-family: var(--font-display); font-size: clamp(0.8rem, 1vw, 0.95rem);
    line-height: 1.15; letter-spacing: 0.06em; text-transform: uppercase;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 0.6s forwards;
}
.hero-stack .w-light { font-weight: 400; color: var(--grey); }
.hero-stack .w-bold { font-weight: 800; color: var(--ink); }
.stat-card { padding: var(--space-3); flex: 1 1 200px; will-change: transform; position: relative; }
.card-action {
    position: absolute; right: var(--space-2); top: var(--space-2);
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--hairline); display: grid; place-items: center;
    font-size: 14px; color: var(--ink);
    transition: background var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease);
}
.card-action:hover { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.chip-cluster { display: flex; flex-wrap: wrap; gap: var(--space-1); justify-content: flex-end; flex: 1 1 100%; will-change: transform; }
.chip-cluster span {
    font-size: var(--text-label); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-soft);
    padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--hairline);
    background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.chip-cluster span:hover { border-color: var(--ink); color: var(--ink); }
.stat-value {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -0.01em;
    margin-bottom: var(--space-1); font-variant-numeric: tabular-nums;
}
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: var(--space-2); border-radius: var(--radius-pill); flex: 0 0 auto; will-change: transform; }
.chip-row span {
    font-size: var(--text-label); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-soft);
    padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--hairline-soft);
}

/* rotating scroll badge */
.scroll-badge {
    position: absolute; left: 50%; bottom: var(--space-3); margin-left: -44px;
    width: 88px; height: 88px; display: grid; place-items: center;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 1.8s forwards;
}
.scroll-badge svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    animation: spin 14s linear infinite;
}
.scroll-badge text { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; fill: var(--grey); }
.scroll-arrow {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hairline);
    display: grid; place-items: center; font-size: 14px; color: var(--ink);
    transition: background var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.scroll-badge:hover .scroll-arrow { background: var(--ink); color: var(--bg); }

/* ---------- headline ---------- */
.hero-title {
    grid-area: title;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.4rem, 5.8vw, 5.6rem); line-height: 0.95; letter-spacing: -0.02em;
    text-transform: uppercase; color: var(--ink);
    position: relative; z-index: 6;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .inner { display: inline-block; transform: translateY(110%); animation: wordIn 1.4s var(--ease) 0.15s forwards; }
.hero-title .line:nth-child(2) .inner { animation-delay: 0.27s; }
.hero-title em { font-style: normal; color: var(--grey); }
@keyframes wordIn { to { transform: translateY(0); } }

/* ---------- the diorama (CSS 3D, same bricks as the tower) ---------- */
.hero-stage {
    grid-area: stage; align-self: end;
    position: relative; height: clamp(240px, 36vh, 360px); margin: 0 calc(-1 * var(--gutter));
    perspective: 2000px; perspective-origin: 50% 20%;
    opacity: 0; animation: rise 1.2s var(--ease) 0.4s forwards;
}
.dio {
    position: absolute; left: 50%; top: 62%; width: 0; height: 0;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(-30deg);
}
.dio .brick { transform-style: preserve-3d; }
.floor-plane {
    position: absolute; left: 0; top: 0;
    background-image:
        linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px),
        linear-gradient(0deg, var(--hairline-soft) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 20%, transparent 75%);
}
.road {
    position: absolute; left: 0; top: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 28px, transparent 28px 60px) center / 100% 1px no-repeat,
        rgba(255, 255, 255, 0.035);
    border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.floor-glow {
    position: absolute; left: 0; top: 0; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.10) 0%, transparent 70%);
}
.face-screen { background: linear-gradient(160deg, #dedede 0%, #9a9a98 60%, #6f6f6d 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 30px rgba(255, 255, 255, 0.12); }
.face-screen::after { content: ''; position: absolute; left: 12%; top: 18%; width: 46%; height: 6%; font-size: 10px; background: rgba(10, 10, 11, 0.55); box-shadow: 0 0.45em 0 rgba(10, 10, 11, 0.4), 0 0.9em 0 rgba(10, 10, 11, 0.3); }
.wheel {
    position: absolute; left: 0; top: 0; border-radius: 50%;
    background: radial-gradient(circle, #2a2a2a 0 28%, #4a4a48 30% 62%, #1c1c1c 64% 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    backface-visibility: hidden;
}
.wheel i { position: absolute; left: 50%; top: 12%; width: 2px; height: 76%; margin-left: -1px; background: rgba(255, 255, 255, 0.18); }
.wheel.is-rolling i { animation: spin 0.6s linear infinite; }
.pkg .face-top { background: linear-gradient(135deg, #f0f0ee, #d9d9d6); }
.pkg .face-front { background: linear-gradient(180deg, #bdbdba, #9c9c99); }
.pkg .face-front::after, .pkg .face-top::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 14%; margin-left: -7%; background: rgba(10, 10, 11, 0.18); }
.stage-caption {
    position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    font-size: var(--text-label); letter-spacing: 1px; text-transform: uppercase; color: var(--grey); font-weight: 500;
}
.stage-caption b { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.12em; color: var(--grey-2); margin-right: 10px; }
.stage-caption i { flex: 1; height: 1px; background: var(--hairline-soft); }

/* ---------- hero stat cards (glass, one object each) ---------- */
.hero-cards {
    grid-area: figures; align-self: start; justify-self: end;
    width: 100%; max-width: 520px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    position: relative; z-index: 6;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 1.0s forwards;
}
.stat {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px 18px 16px; min-height: 172px;
    border-radius: var(--radius-card);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 60%);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    will-change: transform;
    transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stat::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
}
.stat::after {  /* light sweep on hover */
    content: ''; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -60%; z-index: -1;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.10) 50%, transparent 100%);
    transform: skewX(-18deg); transition: left 0.9s var(--ease);
}
.stat:hover { border-color: rgba(255, 255, 255, 0.22); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.stat:hover::after { left: 130%; }
.stat-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: auto; }
.stat-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: var(--space-3); }
.stat .stat-label { font-size: 11px; letter-spacing: 1px; color: var(--grey); }
.stat-go {
    position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 14px; color: var(--ink);
    background: rgba(10, 10, 11, 0.35);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.stat:hover .stat-go { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
/* the object: three stacked bars (the mark) for consulting */
.stat-viz { position: absolute; right: 18px; top: 64px; }
.stat-bars { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.stat-bars i { display: block; height: 7px; width: 34px; border-radius: 1px; background: #5c5c5a; transform-origin: right; animation: barIn 1.2s var(--ease) both; }
.stat-bars i:nth-child(1) { animation-delay: 1.4s; }
.stat-bars i:nth-child(2) { width: 44px; margin-right: -8px; background: #a3a3a0; animation-delay: 1.55s; }
.stat-bars i:nth-child(3) { width: 40px; margin-right: 6px; background: var(--ink); animation-delay: 1.7s; }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* the object: a route with a package dot travelling on it, for 3PL */
.stat-route { width: 76px; height: 20px; }
.stat-route::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 4px, transparent 4px 8px); }
.stat-route::after, .stat-route em { content: ''; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--grey); }
.stat-route::after { left: 0; }
.stat-route em { right: 0; background: var(--ink); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12); }
.stat-route b { position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 2px; background: var(--ink); animation: routeGo 3s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes routeGo { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 80% { left: calc(100% - 9px); opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }

/* ---------- hero figures: no boxes, hairline dividers ---------- */
.hero-figures {
    grid-area: figures; align-self: start; justify-self: end;
    display: flex; flex-wrap: wrap; justify-content: flex-end;
    opacity: 0; animation: rise var(--dur-entrance) var(--ease) 1.1s forwards;
    position: relative; z-index: 6;
}
.hero-figures > div { padding: 4px var(--space-4); border-left: 1px solid var(--hairline); }
.hero-figures > div:first-child { border-left: 0; padding-left: 0; }
.hero-figures > div:last-child { padding-right: 0; }
.hero-figures dt { font-size: var(--text-label); letter-spacing: 1px; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 6px; white-space: nowrap; }
.hero-figures dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =========================================
   CHAIN — the whole process, tracked like a shipment
   ========================================= */
.chain { padding: var(--section) 0; border-top: 1px solid var(--hairline-soft); }
.chain-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.chain-waybill { display: flex; gap: var(--space-4); padding: var(--space-2) var(--space-3); border: 1px solid var(--hairline); border-radius: var(--radius-input); }
.chain-waybill span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.chain-waybill b { font-size: var(--text-label); letter-spacing: 1px; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.chain-waybill .pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); animation: pulse 2.2s ease-out infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); } 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.chain-track { height: 1px; background: var(--hairline-soft); position: relative; overflow: hidden; margin-bottom: calc(-1 * var(--space-2)); }
.chain-track span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.chain-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
.chain-step { position: relative; padding-top: var(--space-4); }
.chain-node {
    position: absolute; left: 0; top: 10px; width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid var(--grey-2); background: var(--bg);
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.chain-step.is-on .chain-node { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12); }
.chain-code { display: block; font-family: var(--font-display); font-size: var(--text-label); font-weight: 500; letter-spacing: 0.12em; color: var(--grey-2); margin-bottom: var(--space-3); transition: color 0.5s var(--ease); }
.chain-step.is-on .chain-code { color: var(--grey); }
.chain-step h3 { font-size: 1.05rem; margin-bottom: var(--space-1); }
.chain-step p { font-size: 14px; color: var(--grey); line-height: 1.45; margin-bottom: var(--space-2); }
.chain-tag { display: inline-block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; color: var(--grey); padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--hairline-soft); }
.chain-tag-3pl { color: var(--ink); border-color: var(--hairline); background: var(--glass); }

/* =========================================
   MARQUEE
   ========================================= */
.marquee {
    overflow: hidden; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft);
    padding: var(--space-3) 0; background: var(--bg);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex; align-items: center; gap: var(--space-4); width: max-content;
    animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem);
    text-transform: uppercase; letter-spacing: 0; white-space: nowrap;
    color: var(--grey-2);
    transition: color var(--dur-ui) var(--ease);
}
.marquee-track span:hover { color: var(--ink); }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-2); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   MANIFESTO
   ========================================= */
.manifesto { padding: var(--section) 0; border-top: 1px solid var(--hairline-soft); }
.manifesto-text {
    font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.75rem);
    line-height: 1.25; letter-spacing: -0.02em; max-width: 1000px; color: var(--ink);
}
.manifesto-text .word { opacity: 0.18; transition: opacity 0.3s linear; }
.manifesto-text .word.lit { opacity: 1; }

/* =========================================
   SERVICES
   ========================================= */
.services { padding: var(--section) 0; border-top: 1px solid var(--hairline-soft); }
/* sticky tower that assembles one brick per service as you scroll */
.services-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(var(--space-4), 5vw, 96px); align-items: start; }
.services-sticky {
    position: sticky; top: 96px;
    height: calc(100vh - 128px); height: calc(100svh - 128px);
    min-height: 420px;
    display: flex; flex-direction: column;
}
.tower-stage-build { position: relative; flex: 1 1 auto; width: 100%; }
.tower-stage-build .tower { top: 70%; }
.build-meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--hairline-soft); }
.build-count { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.build-count em { font-style: normal; font-weight: 400; font-size: 0.4em; color: var(--grey-2); margin-left: 4px; }
.build-name { font-size: var(--text-label); letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); font-weight: 500; text-align: right; }
.service-item.is-lit .sr-num, .service-item.is-lit .feature-num { color: var(--ink); }
.service-item.is-lit p { color: var(--grey); }
.services-featured { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-2); }
.feature-card {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--bg-2);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-card);
    padding: clamp(var(--space-4), 3vw, var(--space-5));
    min-height: 400px;
    display: flex; flex-direction: column;
    transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.feature-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
    background-image:
        repeating-linear-gradient(60deg, var(--hairline-soft) 0 1px, transparent 1px 56px),
        repeating-linear-gradient(-60deg, var(--hairline-soft) 0 1px, transparent 1px 56px);
    -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
    mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
}
.feature-card:hover { border-color: var(--hairline); box-shadow: var(--shadow-lg); }
.feature-ghost {
    position: absolute; right: -0.05em; top: -0.12em; z-index: -1;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(9rem, 16vw, 15rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px var(--hairline);
    transition: -webkit-text-stroke-color 0.8s var(--ease);
}
.feature-card:hover .feature-ghost { -webkit-text-stroke-color: rgba(255, 255, 255, 0.22); }
.feature-num { font-family: var(--font-display); font-size: var(--text-label); font-weight: 500; letter-spacing: 0.12em; color: var(--grey); }
.feature-body { margin-top: auto; }
.feature-body h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: -0.01em;
    margin-bottom: var(--space-2);
}
.feature-body p { max-width: 400px; font-size: 15px; color: var(--ink-soft); opacity: 0.85; }

.services-list { border-top: 1px solid var(--hairline-soft); }
.service-row {
    display: grid; grid-template-columns: 56px 1fr 2fr 40px; align-items: center; gap: var(--space-3);
    padding: var(--space-3) 0; border-bottom: 1px solid var(--hairline-soft); position: relative;
    transition: padding var(--dur-ui) var(--ease);
}
.service-row::before {
    content: ''; position: absolute; inset: 0 calc(-1 * var(--space-3));
    background: rgba(255,255,255,0.025); border-radius: var(--radius-input);
    opacity: 0; transition: opacity var(--dur-ui) var(--ease); pointer-events: none;
}
.service-row:hover::before { opacity: 1; }
.service-row:hover { padding-left: var(--space-1); }
.sr-num { font-family: var(--font-display); font-size: var(--text-label); font-weight: 500; letter-spacing: 0.12em; color: var(--grey-2); transition: color var(--dur-ui) var(--ease); }
.service-row:hover .sr-num { color: var(--ink); }
.service-row h4 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; }
.service-row p { font-size: 15px; color: var(--grey-2); line-height: 1.45; transition: color var(--dur-ui) var(--ease); }
.service-row:hover p { color: var(--grey); }
.sr-arrow { font-size: 1.2rem; color: var(--ink); text-align: right; opacity: 0; transform: translateX(-8px); transition: opacity var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease); }
.service-row:hover .sr-arrow { opacity: 1; transform: translateX(0); }

/* =========================================
   PROCESS
   ========================================= */
.process { padding: var(--section) 0; border-top: 1px solid var(--hairline-soft); background: var(--bg-2); position: relative; overflow: hidden; }
/* giant ghost word behind the section (h36 / h43 pattern) */
.section-ghost {
    position: absolute; right: 2vw; top: 0.08em; z-index: 0;
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(5rem, 14.5vw, 15rem); line-height: 1; letter-spacing: -0.02em;
    color: transparent; -webkit-text-stroke: 1px var(--hairline-soft);
    pointer-events: none; user-select: none; white-space: nowrap;
}
.process .container { position: relative; z-index: 1; }
.process-line { height: 1px; background: var(--hairline-soft); margin-bottom: var(--space-4); position: relative; overflow: hidden; }
.process-line span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.process-step { padding: var(--space-4) var(--space-3); min-height: 260px; display: flex; flex-direction: column; }
.ps-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; color: var(--grey-2); margin-bottom: auto; transition: color 0.6s var(--ease); }
.process-step:hover .ps-num { color: var(--ink); }
.process-step h3 { margin: var(--space-4) 0 var(--space-1); font-size: 1.1rem; }
.process-step p { font-size: 14px; }

/* =========================================
   ECOSYSTEM
   ========================================= */
.ecosystem { padding: var(--section) 0; border-top: 1px solid var(--hairline-soft); overflow: hidden; }
.eco-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-5), 6vw, 96px); align-items: center; }
.eco-text .section-head { margin-bottom: var(--space-4); }
.eco-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.mini-stat { padding: var(--space-3) var(--space-2); }
.mini-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1; margin-bottom: var(--space-1); font-variant-numeric: tabular-nums; }
.mini-value small { font-size: 0.6em; color: var(--grey); margin-left: 2px; }
.eco-visual { position: relative; width: 100%; padding-top: clamp(96px, 9vw, 136px); }
.eco-ghost {
    position: absolute; left: -0.04em; top: -0.12em; z-index: 0;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(6rem, 12vw, 12rem); line-height: 1; letter-spacing: -0.02em;
    color: transparent; -webkit-text-stroke: 1px var(--hairline);
    pointer-events: none; user-select: none;
}
.spec-list { position: relative; z-index: 1; border-top: 1px solid var(--hairline); }
.spec-list li {
    display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3);
    padding: var(--space-2) 0; border-bottom: 1px solid var(--hairline-soft);
}
.spec-list span { font-size: var(--text-label); letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.spec-list b { font-family: var(--font-display); font-weight: 500; font-size: clamp(0.9rem, 1.2vw, 1.05rem); color: var(--ink); text-align: right; }

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: var(--section) 0 var(--space-4); border-top: 1px solid var(--hairline-soft); position: relative; overflow: hidden; }
.footer-lines { left: 0; right: 0; }
.footer-inner { position: relative; z-index: 1; }
.footer::before {
    content: ''; position: absolute; left: 50%; bottom: -10%; transform: translateX(-50%);
    width: 900px; height: 360px;
    background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.footer-title { font-size: clamp(2.75rem, 9.5vw, 8.5rem); line-height: 0.9; margin-bottom: var(--space-5); }
.footer-title span { color: var(--grey); }
.footer-cta { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-email { font-size: var(--text-nav); color: var(--grey); transition: color var(--dur-ui) var(--ease); }
.footer-email:hover { color: var(--ink); }
.footer-bottom {
    margin-top: clamp(var(--space-6), 10vw, 128px); padding-top: var(--space-3);
    border-top: 1px solid var(--hairline-soft); color: var(--grey-2); font-size: 13px;
    display: flex; justify-content: space-between; align-items: center;
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-entrance) var(--ease), transform var(--dur-entrance) var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.services-featured .reveal:nth-child(2) { transition-delay: 0.12s; }
.process-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
}
@media (max-width: 1024px) {
    .services-featured { grid-template-columns: 1fr; }
    .feature-card { min-height: 320px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .chain-steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-5); }
    .services-body { grid-template-columns: 1fr; }
    .services-sticky { display: none; }
    .section-ghost { font-size: clamp(5rem, 16vw, 12rem); }
}
@media (max-width: 860px) {
    .nav-pill, .nav-ghost, .hero-code, .hero-lines, .scroll-badge, .btn-nav { display: none; }
    .nav-toggle { display: block; }
    :root { --section: 72px; }
    .section-head { margin-bottom: var(--space-4); }
    .section-lead { font-size: var(--text-body); }
    .manifesto-text { font-size: clamp(1.35rem, 6vw, 1.7rem); }
    /* services: a compact tower pinned under the nav; it assembles brick by brick as the list scrolls beneath it */
    .services-sticky {
        display: flex; position: sticky; top: 72px; z-index: 5;
        height: 214px; min-height: 0; margin: 0 calc(-1 * var(--gutter)) var(--space-3); padding: 0 var(--gutter);
        background: var(--bg); border-bottom: 1px solid var(--hairline-soft);
    }
    .tower-stage-build { width: 56%; margin: 0 auto; }
    .tower-stage-build .tower { top: 90%; }
    .build-meta { padding-top: var(--space-2); padding-bottom: var(--space-2); }
    .build-count { font-size: 1.6rem; }
    .services-items { position: relative; z-index: 1; }
    /* chain: vertical tracking line on the left, one checkpoint per row */
    .chain-steps { grid-template-columns: 1fr; position: relative; padding-left: 34px; row-gap: var(--space-4); }
    .chain-track { display: block; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; height: auto; margin: 0; }
    .chain-track span { transform: scaleY(0); transform-origin: center top; }
    .chain-step { padding-top: 0; }
    .chain-node { left: -34px; top: 4px; }
    .chain-code { margin-bottom: var(--space-1); }
    .chain-step p { margin-bottom: var(--space-1); }
    .feature-card { min-height: 0; }
    .feature-body { margin-top: var(--space-5); }
    .process-step { min-height: 0; padding: var(--space-3); display: grid; grid-template-columns: 52px 1fr; column-gap: var(--space-2); align-items: start; }
    .process-step .ps-num { grid-row: 1 / span 2; margin-bottom: 0; font-size: 1.6rem; line-height: 1.1; }
    .process-step h3 { margin: 0 0 4px; grid-column: 2; }
    .process-step p { grid-column: 2; }
    .chain-head { margin-bottom: var(--space-4); }
    .chain-step { padding-top: var(--space-3); }
    .chain-steps { row-gap: var(--space-4); }
    .footer-title { font-size: clamp(2.4rem, 13vw, 4rem); }
    .footer-bottom { margin-top: var(--space-6); }
    .hero-grid {
        padding-top: 104px; padding-bottom: 72px;
        grid-template-columns: 1fr;

        row-gap: var(--space-3);
    }
    .hero-stack { display: none; }
    .chip-cluster { justify-content: flex-start; }
    .hero-statement { max-width: 100%; font-size: clamp(1.4rem, 6.5vw, 2rem); }
    /* hero fits the first screen: title, copy, one CTA, then the scene with the two cards floating over its top-right */
    .hero { min-height: 0; }
    .hero-grid {
        min-height: 0; padding-top: 92px; padding-bottom: 16px; row-gap: var(--space-3);
        grid-template-rows: auto auto auto;
        grid-template-areas: "title" "copy" "stage";
    }
    .hero-title { font-size: clamp(1.9rem, 8.2vw, 3rem); letter-spacing: -0.03em; }
    .hero-copy p { font-size: 15px; line-height: 1.5; }
    .hero-cta { margin-top: var(--space-2); }
    .hero-cta .link-circle { display: none; }
    .hero-stage { height: clamp(240px, 38vh, 320px); perspective: 1400px; }
    .dio { top: 68%; left: 44%; }
    .stage-caption { font-size: 10px; }
    .hero-cards {
        grid-area: stage; justify-self: end; align-self: start; z-index: 6;
        width: 66%; max-width: 250px; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px;
    }
    .stat { min-height: 100px; padding: 12px 10px 10px; gap: 2px; border-radius: 12px; }
    .stat-tag { font-size: 9px; letter-spacing: 1px; gap: 6px; }
    .stat-tag i { width: 5px; height: 5px; }
    .stat-num { font-size: 1.35rem; margin-top: var(--space-2); }
    .stat .stat-label { font-size: 9px; letter-spacing: 0.6px; }
    .stat-go { width: 24px; height: 24px; right: 8px; top: auto; bottom: 8px; font-size: 11px; }
    .stat-viz { display: none; }
    .hero-copy p { font-size: var(--text-body); }
    .chain-waybill { width: 100%; justify-content: space-between; gap: var(--space-2); }
    .eyebrow-city { display: none; }
    .service-row { grid-template-columns: 44px 1fr; gap: var(--space-1) var(--space-2); }
    .service-row p { grid-column: 2; }
    .sr-arrow { display: none; }
    .service-row:hover { padding-left: 0; }
    .eco-grid { grid-template-columns: 1fr; gap: var(--space-5); }
    .eco-ghost { font-size: clamp(5rem, 24vw, 8rem); }
    .eco-visual { padding-top: 72px; }
    .section-ghost { font-size: clamp(4rem, 20vw, 7rem); }
    .eco-stats { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-1); text-align: center; }
    .grain { animation: none; }
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .process-grid { grid-template-columns: 1fr; }
    .eco-stats { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal, .hero-code, .hero-copy, .hero-cards, .hero-stage { opacity: 1; transform: none; }
    .stat-bars i { animation: none; } .stat-route b { animation: none; left: 50%; }
    .hero-title .inner { transform: none; }
    .chain-track span { transform: none; } .chain-step .chain-node { background: var(--ink); } .pulse { animation: none; }
    .preloader { display: none; }
    .marquee-track, .scroll-badge svg { animation: none; }
    .manifesto-text .word { opacity: 1; }
    .grain { animation: none; }
}
