/* ==========================================================================
   HOME — likeapro.dev
   ========================================================================== */

/* ---------- 1. HERO ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    /* static fallback (no WebGL / before first frame) */
    background:
        radial-gradient(60% 70% at 78% 30%, rgba(124, 92, 255, .38), transparent 70%),
        radial-gradient(45% 55% at 92% 80%, rgba(200, 255, 46, .16), transparent 70%),
        radial-gradient(50% 60% at 10% 100%, rgba(46, 230, 255, .08), transparent 70%),
        var(--bg);
}
.hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.6s var(--ease-out);
}
.hero-canvas.is-ready { opacity: 1; }
.hero-scan {
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px);
    mix-blend-mode: overlay;
}
.hero-vignette {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5,5,7,.55) 0%, transparent 22%, transparent 55%, rgba(5,5,7,.85) 88%, var(--bg) 100%),
        linear-gradient(90deg, rgba(5,5,7,.6) 0%, transparent 55%);
}

.hero-inner {
    position: relative; flex: 1; display: grid;
    grid-template-rows: auto 1fr auto auto;
    padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem));
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
    gap: clamp(1.5rem, 3vh, 2.5rem);
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.hero-eyebrow { color: var(--text); opacity: .8; }
.hero-coords {
    list-style: none; display: flex; gap: 1.5rem; font-family: var(--font-mono);
    font-size: .7rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.hero-fps span { color: var(--accent); }

.hero-title {
    align-self: end;
    font-size: clamp(3rem, 9.4vw, 10.5rem);
    line-height: .88; letter-spacing: -0.06em; max-width: 13ch;
    text-wrap: balance;
}
.hero-title em { padding-right: .06em; }
/* split-letter intro (classes injected by home.js) */
.hero-title .w {
    display: inline-block; white-space: nowrap; overflow: hidden;
    padding: .08em .05em .14em; margin: -.08em -.05em -.14em; vertical-align: top;
}
.hero-title .c {
    display: inline-block; will-change: transform;
    transform: translateY(105%) rotate(6deg); transform-origin: 0 100%;
    transition: transform 1.1s var(--ease-out), color .4s, opacity .4s;
    transition-delay: var(--cd, 0ms);
}
.hero-title.is-in .c { transform: none; }
.hero-title .c.is-hot { color: var(--accent); transition-delay: 0ms; }
.hero-title em .c.is-hot { color: var(--text); }

.hero-bottom {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 3rem; flex-wrap: wrap;
}
.hero-lede { max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #b4b3bc; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-actions .btn:not(.btn--primary) { background: rgba(5,5,7,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.hero-status {
    display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem;
    padding-top: 1.1rem; border-top: 1px solid var(--border);
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero-status b { color: var(--accent); font-weight: 500; }
.hero-status time { color: var(--text); font-variant-numeric: tabular-nums; }
.hero-status .sep { color: var(--dim); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .35; } }

/* hero load-in for non-title bits */
.hero-top, .hero-bottom, .hero-status, .scroll-cue { transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.js-intro .hero-top, .js-intro .hero-bottom, .js-intro .hero-status, .js-intro .scroll-cue { opacity: 0; transform: translateY(16px); }
.hero-bottom { transition-delay: .7s; }
.hero-status { transition-delay: .9s; }
.scroll-cue { transition-delay: 1.1s; }

.scroll-cue {
    position: absolute; right: var(--gutter); bottom: clamp(5rem, 12vh, 7rem);
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
    font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue-label { writing-mode: vertical-rl; }
.scroll-cue-line { position: relative; width: 1px; height: 64px; background: var(--border-strong); overflow: hidden; }
.scroll-cue-line i { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--accent); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(-24px); } 100% { transform: translateY(64px); } }
.scroll-cue:hover { color: var(--accent); }

/* ---------- 2. MANIFESTO ---------- */
.manifesto { padding-bottom: clamp(4rem, 8vw, 7rem); }
.manifesto-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.75rem; border-top: 1px solid var(--border); margin-bottom: clamp(2rem, 5vw, 4rem);
}
.manifesto-meter { font-size: .72rem; color: var(--dim); letter-spacing: .1em; }
.manifesto-meter span { color: var(--accent); }
.manifesto-text {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.8rem, 4.9vw, 5rem); line-height: 1.06; letter-spacing: -0.035em;
    color: var(--text); max-width: 25ch;
}
.manifesto-text mark { background: none; color: inherit; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.manifesto-text .mw { opacity: .14; transition: opacity .35s linear, color .35s; }
.manifesto-text .mw.is-lit { opacity: 1; }
.manifesto-text mark .mw.is-lit { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .manifesto-text .mw { opacity: 1; } }

/* ---------- 3. DISCIPLINES ---------- */
.split { display: flex; gap: 1rem; min-height: clamp(560px, 74vh, 720px); }
.panel {
    position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; isolation: isolate;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    background: var(--surface);
    transition: flex-grow .9s var(--ease-out), border-color .5s, background .5s;
}
.panel::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; transition: opacity .7s var(--ease-out);
}
.panel--web::before { background: radial-gradient(80% 60% at 30% 35%, rgba(200,255,46,.14), transparent 70%); }
.panel--apps::before { background: radial-gradient(80% 60% at 70% 35%, rgba(124,92,255,.24), transparent 70%); }
.panel::after { /* grid */
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 35%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 10%, transparent 70%);
}
@media (hover: hover) and (min-width: 769px) {
    .split:hover .panel { flex-grow: .72; }
    .split .panel:hover, .split .panel:focus-visible { flex-grow: 1.35; }
}
.panel:hover::before { opacity: 1; }
.panel--web:hover { border-color: rgba(200,255,46,.4); }
.panel--apps:hover { border-color: rgba(124,92,255,.55); }

.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-idx { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel-go {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--border-strong); font-size: 1rem; transition: transform .6s var(--ease-out), background .4s, color .4s, border-color .4s;
}
.panel--web:hover .panel-go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }
.panel--apps:hover .panel-go { background: var(--violet); color: #fff; border-color: var(--violet); transform: rotate(45deg); }

.panel-visual { flex: 1; display: grid; place-items: center; padding: 1.5rem 0; min-height: 240px; }
.panel-body { display: grid; gap: .9rem; }
.panel-title { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -0.055em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; }
.panel-title em { font-size: .32em; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: color .4s; }
.panel--web:hover .panel-title em { color: var(--accent); }
.panel--apps .panel-title em { color: var(--muted); }
.panel--apps:hover .panel-title em { color: #b3a1ff; }
.panel-body p { max-width: 42ch; font-size: .95rem; }
.panel-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.panel--apps .panel-tags .chip { border-color: rgba(124,92,255,.35); }
.panel-cta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-top: .4rem; }
.panel-cta span { display: inline-block; transition: transform .4s var(--ease-out); }
.panel:hover .panel-cta span { transform: translateX(6px); }
.panel--web .panel-cta { color: var(--accent); }
.panel--apps .panel-cta { color: #b3a1ff; }

/* browser mockup */
.browser {
    position: relative; width: min(100%, 440px); aspect-ratio: 16 / 11;
    background: #0a0a0f; border: 1px solid var(--border-strong); border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(200,255,46,.04);
    display: flex; flex-direction: column; overflow: hidden;
    transform: perspective(1200px) rotateX(8deg) rotateY(-10deg) rotateZ(1deg);
    transition: transform 1s var(--ease-out);
}
.panel:hover .browser { transform: perspective(1200px) rotateX(0) rotateY(0) scale(1.03); }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--border); background: #111118; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.browser-bar i:nth-child(1) { background: var(--red); } .browser-bar i:nth-child(2) { background: var(--amber); } .browser-bar i:nth-child(3) { background: var(--green); }
.browser-url { margin-left: 10px; flex: 1; height: 15px; border-radius: 4px; background: #191921; font-family: var(--font-mono); font-size: 8px; line-height: 15px; color: var(--dim); padding-left: 8px; white-space: nowrap; overflow: hidden; }
.browser-body { flex: 1; padding: 10px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.browser-metric {
    position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; font-size: 9px; letter-spacing: .04em;
    background: rgba(5,5,7,.85); border: 1px solid var(--border-strong); border-radius: 100px; color: var(--text);
}
.sk { background: linear-gradient(90deg, #17171f 0%, #22222c 50%, #17171f 100%); background-size: 200% 100%; border-radius: 3px; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-nav { display: flex; gap: 6px; height: 12px; background: none; animation: none; }
.sk-nav b { flex: 0 0 34px; border-radius: 3px; background: #1d1d26; }
.sk-nav b:first-child { flex-basis: 50px; background: var(--accent); opacity: .85; }
.sk-nav b:last-child { margin-left: auto; flex-basis: 40px; border: 1px solid rgba(200,255,46,.5); background: none; }
.sk-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; animation: relayout 7s var(--ease-out) infinite; }
@keyframes relayout { 0%, 40% { grid-template-columns: 1.15fr 1fr; } 50%, 90% { grid-template-columns: 1fr 1.4fr; } 100% { grid-template-columns: 1.15fr 1fr; } }
.sk-hero { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #1f2412, #101014 70%); animation: none; }
.sk-orb { width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f2ffd0, var(--accent) 35%, #3f5a00 80%); box-shadow: 0 0 40px rgba(200,255,46,.35); animation: orb 6s ease-in-out infinite; }
@keyframes orb { 50% { transform: translateY(-6px) scale(1.05); } }
.sk-stack { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.sk-line { height: 9px; }
.sk-line.w80 { width: 80%; height: 14px; } .sk-line.w60 { width: 60%; } .sk-line.w90 { width: 90%; }
.sk-btn { width: 42%; height: 16px; border-radius: 100px; background: var(--accent); animation: none; margin-top: 4px; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-card { height: 34px; animation-delay: var(--sd, 0s); }
.sk-card:nth-child(2) { --sd: .3s; } .sk-card:nth-child(3) { --sd: .6s; }

/* phone mockup */
.phone {
    position: relative; width: 190px; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 7px;
    background: linear-gradient(145deg, #2a2a35, #0d0d12); border: 1px solid var(--border-strong);
    box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 60px rgba(124,92,255,.18);
    transform: perspective(1200px) rotateY(14deg) rotateZ(-4deg);
    transition: transform 1s var(--ease-out);
}
.panel:hover .phone { transform: perspective(1200px) rotateY(0) rotateZ(0) translateY(-6px) scale(1.04); }
.phone-notch { position: absolute; top: 13px; left: 50%; width: 56px; height: 15px; margin-left: -28px; background: #000; border-radius: 10px; z-index: 2; }
.phone-screen {
    height: 100%; border-radius: 24px; overflow: hidden; padding: 30px 11px 10px;
    background: radial-gradient(120% 60% at 50% 0%, #2a1f66 0%, #0c0a18 60%);
    display: flex; flex-direction: column; gap: 9px; font-family: var(--font-mono);
}
.ph-status { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: 7px; color: #cfcbe6; }
.ph-card { padding: 10px; border-radius: 12px; background: linear-gradient(140deg, var(--violet), #3c2a99); display: grid; gap: 3px; box-shadow: 0 10px 30px rgba(124,92,255,.35); }
.ph-label { font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ph-bal { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.ph-bal small { font-size: 11px; opacity: .7; }
.ph-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 4px; }
.ph-bars i { flex: 1; border-radius: 2px; background: rgba(255,255,255,.75); height: 40%; transform-origin: bottom; animation: bar 2.8s var(--ease-out) infinite alternate; }
.ph-bars i:nth-child(2) { height: 65%; animation-delay: .2s; } .ph-bars i:nth-child(3) { height: 45%; animation-delay: .4s; }
.ph-bars i:nth-child(4) { height: 85%; animation-delay: .6s; } .ph-bars i:nth-child(5) { height: 55%; animation-delay: .8s; }
.ph-bars i:nth-child(6) { height: 100%; animation-delay: 1s; background: var(--accent); } .ph-bars i:nth-child(7) { height: 70%; animation-delay: 1.2s; }
@keyframes bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.ph-list { display: grid; gap: 6px; }
.ph-item { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 7px; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.05); animation: slidein 6s var(--ease-out) infinite; }
.ph-item:nth-child(2) { animation-delay: .25s; } .ph-item:nth-child(3) { animation-delay: .5s; }
@keyframes slidein { 0% { opacity: 0; transform: translateX(14px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-8px); } }
.ph-item b { width: 20px; height: 20px; border-radius: 6px; background: #2a2440; }
.ph-item:nth-child(2) b { background: rgba(200,255,46,.25); }
.ph-item span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); width: 80%; }
.ph-item em { font-style: normal; font-size: 8px; color: #cfcbe6; }
.ph-item:nth-child(2) em { color: var(--accent); }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 4px 2px; border-top: 1px solid rgba(255,255,255,.06); }
.ph-tab i { width: 13px; height: 13px; border-radius: 4px; background: rgba(255,255,255,.18); }
.ph-tab i:first-child { background: #b3a1ff; }

/* ---------- 4. WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.work-card { position: relative; display: flex; flex-direction: column; gap: 1.25rem; perspective: 1200px; }
.work-card--aurum { grid-column: span 7; }
.work-card--pulse { grid-column: span 5; margin-top: clamp(0rem, 8vw, 7rem); }
.work-card--atlas { grid-column: 2 / span 10; }
.work-cover {
    position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
    aspect-ratio: 4 / 3; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .6s var(--ease-out), border-color .4s;
}
.work-card.is-tilting .work-cover { transition: transform .12s linear, border-color .4s; }
.work-card:hover .work-cover { border-color: var(--border-strong); }
.work-card--pulse .work-cover { aspect-ratio: 4 / 4.4; }
.work-card--atlas .work-cover { aspect-ratio: 16 / 8; }
.work-cover::after { /* spotlight following pointer */
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.1), transparent 60%);
}
.work-card:hover .work-cover::after { opacity: 1; }

.work-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.work-meta h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.035em; margin: .35rem 0 .4rem; transition: color .3s; }
.work-card:hover .work-meta h3 { color: var(--accent); }
.work-meta p { font-size: .95rem; max-width: 46ch; }
.showcase { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--border); padding: .2rem .5rem; border-radius: 100px; }
.work-tags { list-style: none; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-top: .2rem; }
.work-view {
    position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: .5rem .85rem; border-radius: 100px;
    background: var(--accent); color: var(--accent-ink); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
    opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .5s var(--ease-out);
    pointer-events: none;
}
.work-card:hover .work-view, .work-card:focus-visible .work-view { opacity: 1; transform: none; }
.work-more { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; justify-content: center; }

/* Aurum cover */
.cover-aurum {
    display: grid; place-items: center;
    background:
        radial-gradient(60% 60% at 50% 50%, rgba(233,207,134,.18), transparent 70%),
        repeating-linear-gradient(115deg, #0d0b08 0 2px, #0a0806 2px 5px);
}
.dial { width: 66%; max-width: 420px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)); transition: transform 1s var(--ease-out); }
.work-card:hover .dial { transform: scale(1.06) rotate(-4deg); }
.dial-brand { font-family: var(--font-display); font-size: 17px; letter-spacing: .5em; fill: #e9cf86; }
.dial-sub { font-family: var(--font-mono); font-size: 8px; letter-spacing: .25em; fill: rgba(233,207,134,.55); }
.dial-ticks line { stroke: #e9cf86; }
.hand { transform-origin: 200px 200px; }
.hand-h { transform: rotate(var(--h, 300deg)); }
.hand-m { transform: rotate(var(--m, 60deg)); }
.hand-s { transform: rotate(var(--s, 0deg)); }
.cover-glint {
    position: absolute; inset: -50%; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(246,226,168,.12) 50%, transparent 58%);
    transform: translateX(-60%); transition: transform 1.4s var(--ease-out);
}
.work-card:hover .cover-glint { transform: translateX(60%); }

/* Pulse cover */
.cover-pulse {
    background:
        radial-gradient(80% 60% at 50% 30%, rgba(124,92,255,.5), transparent 70%),
        radial-gradient(60% 50% at 80% 100%, rgba(200,255,46,.12), transparent 70%),
        #0b0918;
}
.pulse-rings { position: absolute; left: 50%; top: 36%; width: 0; height: 0; }
.pulse-rings i {
    position: absolute; left: -140px; top: -140px; width: 280px; height: 280px; border-radius: 50%;
    border: 1px solid rgba(169,150,255,.45); animation: ring 4.5s var(--ease-out) infinite;
}
.pulse-rings i:nth-child(2) { animation-delay: 1.5s; } .pulse-rings i:nth-child(3) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pulse-line { position: absolute; left: 0; right: 0; top: 18%; width: 100%; height: 40%; }
.pulse-line path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 4.5s var(--ease-out) infinite; filter: drop-shadow(0 0 6px rgba(169,150,255,.8)); }
@keyframes draw { 0% { stroke-dashoffset: 900; } 60%, 100% { stroke-dashoffset: 0; } }
.pulse-ui {
    position: absolute; left: 8%; right: 8%; bottom: 8%; display: grid; gap: .35rem;
    padding: 1.1rem 1.2rem; border-radius: 16px;
    background: rgba(20,16,40,.55); border: 1px solid rgba(169,150,255,.25);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: transform .8s var(--ease-out);
}
.work-card:hover .pulse-ui { transform: translateY(-6px) translateZ(30px); }
.pulse-ui > span:first-child { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #b3a1ff; }
.pulse-ui b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.pulse-chip { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pulse-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Atlas cover */
.cover-atlas { background: radial-gradient(70% 80% at 50% 50%, #08161a, #040608 80%); }
.atlas-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-hud {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; gap: .5rem 1.4rem; flex-wrap: wrap;
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.atlas-hud span { padding: .35rem .6rem; background: rgba(4,6,8,.75); border: 1px solid rgba(46,230,255,.2); border-radius: 4px; }
.atlas-hud b { color: var(--cyan); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- 5. NUMBERS ---------- */
.numbers-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; border-top: 1px solid var(--border); margin-bottom: 2.5rem; }
.numbers-note { font-size: .72rem; color: var(--dim); letter-spacing: .06em; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--border); }
.stat { display: grid; gap: .9rem; align-content: start; padding: 1.75rem clamp(1rem, 2vw, 1.75rem); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-num {
    font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 6.6vw, 6.4rem); line-height: .9;
    letter-spacing: -0.06em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat-num sup, .stat-num small { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.stat-num sup { font-size: .5em; vertical-align: .6em; margin: 0 .05em; }
.stat-num small { font-size: .42em; margin-left: .06em; }
.stat-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 24ch; }
.stat-bar { display: block; height: 2px; background: var(--border); overflow: hidden; }
.stat-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--accent)); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease-out) .3s; }
.stat.is-in .stat-bar i { transform: scaleX(var(--v)); }

/* ---------- 6. STACK MARQUEE ---------- */
.stack { padding: clamp(2rem, 5vw, 4rem) 0; overflow: hidden; }
.marquee--xl { padding: clamp(.8rem, 1.6vw, 1.3rem) 0; }
.marquee--xl + .marquee--xl { border-top: 0; }
.marquee--xl .marquee-track { animation-duration: 60s; }
.marquee--xl .marquee-track > span {
    font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: -0.04em;
    font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.1; color: var(--text); padding-right: 0;
}
.marquee--xl i { font-style: normal; color: var(--accent); font-size: .45em; vertical-align: .45em; margin: 0 .7em; }
.marquee--xl em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee--rev .marquee-track > span { color: transparent; -webkit-text-stroke: 1px rgba(244,243,238,.4); }
.marquee--rev i { color: var(--violet); -webkit-text-stroke: 0; }
.marquee--rev em { -webkit-text-stroke: 0; color: #a996ff; }

/* ---------- 7. PROCESS ---------- */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); padding-top: 2.5rem; }
.steps::before, .steps::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border-strong); }
.steps::after { background: linear-gradient(90deg, var(--violet), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); height: 2px; top: -.5px; }
.step { position: relative; display: grid; gap: .8rem; align-content: start; }
.step-node { position: absolute; top: calc(-2.5rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-strong); transition: background .4s, border-color .4s, box-shadow .4s; }
.step.is-on .step-node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent); }
.step-num { font-size: .72rem; color: var(--accent); letter-spacing: .14em; }
.step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.step p { font-size: .93rem; }
.step-time { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-top: .6rem; border-top: 1px dashed var(--border); }
.process-more { margin-top: 3rem; }

/* ---------- 8. TOOLS TEASER ---------- */
.tools-teaser { position: relative; }
.tools-glow { right: 5%; top: 30%; opacity: .28; }
.tools-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.tools-copy { display: grid; gap: 1.4rem; justify-items: start; }
.tools-copy h2 { margin-top: .2rem; }
.tools-copy p { max-width: 44ch; }
.tools-kbd { font-size: .78rem; color: var(--muted); }
.tools-kbd .kbd { color: var(--accent); margin: 0 .2rem; }
.tools-term .term-body { min-height: 360px; font-size: .82rem; }
.tools-term .term-line { word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-coords li:not(.hero-fps) { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { border-top: 0; }
    .stats .stat:nth-child(-n+2) { border-top: 1px solid var(--border); }
    .tools-grid { grid-template-columns: 1fr; }
    .work-card--atlas { grid-column: 1 / -1; }
}
@media (min-width: 1025px) { .stats { border-top: 1px solid var(--border); } }
@media (max-width: 768px) {
    .split { flex-direction: column; min-height: 0; }
    .panel { flex: none; min-height: 0; }
    .panel-visual { min-height: 0; padding: 2rem 0; }
    .work-card--aurum, .work-card--pulse { grid-column: 1 / -1; margin-top: 0; }
    .work-card--atlas .work-cover { aspect-ratio: 4 / 3; }
    .work-card--pulse .work-cover { aspect-ratio: 4 / 3.6; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .steps::before, .steps::after { display: none; }
    .step-node { display: none; }
    .step { padding-top: 1rem; border-top: 1px solid var(--border-strong); }
    .scroll-cue { display: none; }
    .work-view { display: none; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 13vw; letter-spacing: -0.055em; }
    .hero-coords { display: none; }
}
@media (max-width: 480px) {
    .hide-sm { display: none; }
    .hero-eyebrow { font-size: .64rem; letter-spacing: .14em; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1 1 100%; }
    .stats { grid-template-columns: 1fr; }
    .stats .stat:nth-child(2) { border-top: 0; }
    .steps { grid-template-columns: 1fr; }
    .work-meta { flex-direction: column; gap: .5rem; }
    .work-tags { flex-direction: row; gap: .8rem; }
    .browser { transform: none; }
    .phone { width: 170px; transform: none; }
    .tools-term .term-body { min-height: 380px; font-size: .74rem; padding: 1rem; }
    .manifesto-text { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title .c { transform: none; }
    .js-intro .hero-top, .js-intro .hero-bottom, .js-intro .hero-status, .js-intro .scroll-cue { opacity: 1; transform: none; }
    .stat-bar i { transform: scaleX(var(--v)); }
    .steps::after { transform: scaleX(1); }
    .step-node { background: var(--accent); border-color: var(--accent); }
    .pulse-line path { stroke-dashoffset: 0; }
    .ph-item { opacity: 1; }
}
