/*
Theme Name: Portfolio Demo
Theme URI: https://hotpink-wren-332728.hostingersite.com
Description: Futuristic creative portfolio with heavy GSAP animations
Author: Web Designer
Version: 7.4
Tags: portfolio, creative, animations, futuristic
*/

/* ═══════════════════════════════════════
   VARIABLES
═══════════════════════════════════════ */
:root {
    --bg:       #030308;
    --bg2:      #07070f;
    --bg3:      #0d0d1a;
    --text:     #eeeef8;
    --dim:      rgba(238,238,248,0.52);
    --dimmer:   rgba(238,238,248,0.28);
    --cyan:     #00e5ff;
    --cyan-dim: rgba(0,229,255,0.12);
    --pink:     #ff1464;
    --pink-dim: rgba(255,20,100,0.1);
    --grid-ln:  rgba(0,229,255,0.045);
    --border:   rgba(0,229,255,0.1);
    --border-h: rgba(0,229,255,0.32);
    --card:     rgba(7,7,18,0.92);
    --font:     'Space Grotesk', system-ui, sans-serif;
    --mono:     'Space Mono', monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 120px 0; }

/* ═══════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    font-family: var(--mono);
    margin-bottom: 20px;
}
.tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}
.section-heading {
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
}
.section-heading em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--cyan);
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    transition: gap .3s ease;
}
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 32px; height: 10px; }

/* ═══════════════════════════════════════
   LOADER
═══════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .7s ease, visibility .7s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 300px;
}
.loader-logo {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}
.loader-logo .dot { color: var(--cyan); }
.loader-bar {
    width: 100%;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.loader-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    box-shadow: 0 0 12px var(--cyan);
    transition: width .08s linear;
}
.loader-pct {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dimmer);
    letter-spacing: .12em;
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════ */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    z-index: 1000;
    width: 0%;
    box-shadow: 0 0 8px var(--cyan);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════ */
#cursor { position: fixed; z-index: 9998; pointer-events: none; top: 0; left: 0; }
.cursor-dot {
    position: fixed;
    width: 5px; height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--cyan);
    pointer-events: none;
    transition: width .2s, height .2s, background .2s, opacity .2s;
}
.cursor-ring {
    position: fixed;
    width: 34px; height: 34px;
    border: 1px solid rgba(0,229,255,.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width .35s var(--ease-out), height .35s var(--ease-out), border-color .3s, background .3s;
}
.cursor-label {
    position: fixed;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bg);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    white-space: nowrap;
    font-family: var(--mono);
}
body.cursor-hover .cursor-ring  { width: 54px; height: 54px; border-color: rgba(0,229,255,.75); background: rgba(0,229,255,.05); }
body.cursor-view  .cursor-ring  { width: 72px; height: 72px; background: var(--cyan); border-color: var(--cyan); }
body.cursor-view  .cursor-dot   { opacity: 0; }
body.cursor-view  .cursor-label { opacity: 1; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 48px;
    transition: padding .4s ease, background .4s ease, border-color .4s ease;
    border-bottom: 1px solid transparent;
}
#site-header.scrolled {
    padding: 16px 48px;
    background: rgba(3,3,8,.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border);
}
.header-logo { display: flex; align-items: center; }
.logo-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
}
.logo-dot { color: var(--cyan); }
#primary-nav {
    display: flex;
    align-items: center;
    gap: 44px;
}
#nav-close { display: none; }
#primary-nav a {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--dim);
    position: relative;
    transition: color .3s;
}
#primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--cyan);
    transition: width .35s ease;
}
#primary-nav a:hover { color: var(--text); }
#primary-nav a:hover::after { width: 100%; }
.header-cta {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .07em;
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.header-cta span { position: relative; z-index: 1; }
.header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s ease;
    border-radius: inherit;
}
.header-cta:hover { color: var(--bg); border-color: var(--cyan); box-shadow: 0 0 22px rgba(0,229,255,.3); }
.header-cta:hover::before { transform: scaleX(1); transform-origin: left; }
#hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
#hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; transform-origin: center; }
#hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
@media (max-width: 900px) {
    #site-header { padding: 20px 24px; }
    #site-header.scrolled { padding: 14px 24px; }
    #primary-nav {
        position: fixed;
        inset: 0;
        background: rgba(3,3,8,.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform .45s cubic-bezier(.77,0,.175,1);
        z-index: 600;
    }
    #primary-nav.open { transform: translateX(0); }
    #primary-nav a { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
    #nav-close { display: block; position: absolute; top: 28px; right: 28px; font-size: 1.6rem; color: var(--dim); }
    #hamburger { display: flex; }
    .header-cta { display: none; }
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 16px 34px;
    background: var(--cyan);
    color: var(--bg);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    border: 1px solid transparent;
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(0,229,255,.4), 0 8px 28px rgba(0,229,255,.2); transform: translateY(-2px); }
.btn-primary svg { width: 14px; height: 14px; }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 16px 34px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    transition: border-color .3s, box-shadow .3s, transform .3s, color .3s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 20px rgba(0,229,255,.1); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 160px 48px 100px;
}
/* animated grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-ln) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-ln) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, black 0%, transparent 68%);
    will-change: transform;
}
.hero-glow-1 {
    position: absolute;
    top: -10%; left: -10%;
    width: 70%; height: 70%;
    background: radial-gradient(ellipse, rgba(0,229,255,.055) 0%, transparent 65%);
    pointer-events: none;
    will-change: transform;
    animation: floatOrb1 14s ease-in-out infinite;
}
.hero-glow-2 {
    position: absolute;
    bottom: -20%; right: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(ellipse, rgba(255,20,100,.035) 0%, transparent 65%);
    pointer-events: none;
    will-change: transform;
    animation: floatOrb2 18s ease-in-out infinite;
}
@keyframes floatOrb1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(3%, 4%); } }
@keyframes floatOrb2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-4%, -3%); } }
.hero-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(transparent, transparent 3px, rgba(0,229,255,.007) 3px, rgba(0,229,255,.007) 4px);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(24px);
}
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan);
    font-family: var(--mono);
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 100px;
    background: var(--cyan-dim);
}
.eyebrow-badge-dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan);
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.eyebrow-year { font-size: 10.5px; color: var(--dimmer); font-family: var(--mono); letter-spacing: .1em; }
.hero-title {
    font-size: clamp(3.6rem, 10vw, 11.5rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.03em;
    margin-bottom: 52px;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line--indent { padding-left: 6%; }
.hero-title-line--accent {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cyan);
    text-shadow: 0 0 80px rgba(0,229,255,.18);
    position: relative;
}
/* glitch pseudo */
.hero-title-line--accent::before,
.hero-title-line--accent::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cyan);
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    opacity: 0;
}
.hero-title-line--accent::before { animation: glitch1 5s steps(1) infinite; color: rgba(255,20,100,.5); -webkit-text-stroke: 0; }
.hero-title-line--accent::after  { animation: glitch2 7s steps(1) infinite; color: rgba(0,229,255,.4);   -webkit-text-stroke: 0; clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%); }
@keyframes glitch1 { 0%,94%,100% { opacity:0; transform:none; } 95% { opacity:1; transform:translate(-3px, 0) skewX(-3deg); } 97% { opacity:1; transform:translate(3px, 0) skewX(3deg); } }
@keyframes glitch2 { 0%,90%,100% { opacity:0; transform:none; } 91% { opacity:1; transform:translate(2px, 2px); } 93% { opacity:1; transform:translate(-2px, -1px); } }
.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transform: translateY(32px);
}
.hero-desc { max-width: 440px; color: var(--dim); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hero-scroll {
    position: absolute;
    bottom: 44px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dimmer);
    font-size: 10px;
    font-family: var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 1;
}
.scroll-wheel { width: 20px; height: 32px; border: 1px solid rgba(0,229,255,.25); border-radius: 10px; display: flex; justify-content: center; position: relative; }
.scroll-dot { position: absolute; top: 5px; width: 3px; height: 6px; background: var(--cyan); border-radius: 3px; animation: scrollDot 2s ease-in-out infinite; box-shadow: 0 0 4px var(--cyan); }
@keyframes scrollDot { 0%,100% { top:5px; opacity:1; } 60% { top:17px; opacity:.4; } }
.hero-meta {
    position: absolute;
    bottom: 44px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 28px;
    z-index: 1;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.hm-lbl { font-size: 9px; color: var(--dimmer); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hm-val { font-size: 12px; color: var(--dim); font-weight: 500; }
.hero-meta-div { width: 1px; height: 36px; background: var(--border); }
@media (max-width: 900px) {
    .hero { padding: 140px 24px 90px; }
    .hero-bottom { flex-direction: column; align-items: flex-start; }
    .hero-scroll, .hero-meta { display: none; }
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-section {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg2);
}
.marquee-track { display: flex; width: max-content; }
.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}
.marquee-content span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 0 28px; color: var(--dim); font-family: var(--mono); transition: color .3s; }
.marquee-content span:hover { color: var(--text); }
.marquee-sep { color: var(--cyan) !important; padding: 0 4px !important; font-size: 9px !important; }
.marquee-track:hover .marquee-content { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   WORKS
═══════════════════════════════════════ */
.works-section { padding: 120px 0; }
.works-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px;
}
.works-count { font-size: 11px; font-family: var(--mono); color: var(--dimmer); letter-spacing: .1em; align-self: flex-start; margin-top: 8px; }
.works-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3px;
}
.work-card {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: none;
    transition: border-color .4s;
}
.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 4; }
.work-card:nth-child(4) { grid-column: span 4; }
.work-card:nth-child(5) { grid-column: span 4; }
.work-card:nth-child(1),
.work-card:nth-child(2) { aspect-ratio: 16/10; }
.work-card:nth-child(3),
.work-card:nth-child(4),
.work-card:nth-child(5) { aspect-ratio: 4/3; }
.work-card:hover { border-color: var(--border-h); }
.work-card-bg {
    position: absolute;
    inset: 0;
    transition: transform .7s var(--ease-out);
}
.work-card:hover .work-card-bg { transform: scale(1.06); }
.wc-1 { background: linear-gradient(145deg, #0d0a20 0%, #1a0d0d 40%, #0a0d20 100%); }
.wc-2 { background: linear-gradient(145deg, #0a1a0a 0%, #0d2a1a 50%, #0a0d1a 100%); }
.wc-3 { background: linear-gradient(145deg, #1a0a12 0%, #280d28 50%, #0a0a1a 100%); }
.wc-4 { background: linear-gradient(145deg, #0a1215 0%, #0d2028 50%, #100a20 100%); }
.wc-5 { background: linear-gradient(145deg, #1a1208 0%, #201a0a 50%, #120a18 100%); }
/* browser mockup inside card */
.work-mockup {
    position: absolute;
    top: 18%; left: 10%; right: 10%;
    bottom: 0;
    border-radius: 6px 6px 0 0;
    border: 1px solid rgba(255,255,255,.08);
    border-bottom: none;
    overflow: hidden;
    transform: perspective(800px) rotateX(4deg);
    transform-origin: bottom center;
    transition: transform .5s var(--ease-out);
}
.work-card:hover .work-mockup { transform: perspective(800px) rotateX(1deg) translateY(-6px); }
.wm-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.05); }
.wm-dot { width: 7px; height: 7px; border-radius: 50%; }
.wm-dot:nth-child(1) { background: #ff5f57; }
.wm-dot:nth-child(2) { background: #febc2e; }
.wm-dot:nth-child(3) { background: #28c840; }
.wm-url-bar { flex: 1; height: 14px; background: rgba(255,255,255,.05); border-radius: 3px; margin-left: 8px; }
.wm-body { padding: 16px; background: rgba(0,0,0,.3); }
.wm-line { height: 8px; border-radius: 2px; background: rgba(255,255,255,.07); margin-bottom: 8px; }
.wm-line:nth-child(1) { width: 70%; }
.wm-line:nth-child(2) { width: 50%; }
.wm-line:nth-child(3) { width: 80%; }
.wm-line:nth-child(4) { width: 40%; }
.wm-hero-block { height: 60px; border-radius: 4px; background: rgba(0,229,255,.1); border: 1px solid rgba(0,229,255,.15); margin-bottom: 8px; }
/* card info overlay */
.work-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 24px;
    background: linear-gradient(transparent, rgba(3,3,8,.97) 60%);
    transform: translateY(6px);
    transition: transform .4s ease;
}
.work-card:hover .work-info { transform: translateY(0); }
.wi-cat { font-size: 10px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.wi-title { font-size: clamp(.95rem, 1.4vw, 1.25rem); font-weight: 600; margin-bottom: 12px; }
.wi-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.wi-year { font-size: 10px; color: var(--dimmer); font-family: var(--mono); }
.wi-link { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; }
.work-card:hover .wi-link { opacity: 1; transform: translateX(0); }
.wi-link svg { width: 12px; height: 12px; }
@media (max-width: 1100px) {
    .works-grid { grid-template-columns: 1fr 1fr; }
    .work-card:nth-child(1) { grid-column: span 2; }
    .work-card:nth-child(n) { grid-column: span 1; }
    .work-card:nth-child(1) { grid-column: span 2; aspect-ratio: 16/8; }
}
@media (max-width: 640px) {
    .works-grid { grid-template-columns: 1fr; }
    .work-card:nth-child(n) { grid-column: span 1; aspect-ratio: 16/10; }
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services-section { padding: 120px 0; background: var(--bg2); }
.services-header { margin-bottom: 70px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
    padding: 44px 36px;
    border: 1px solid var(--border);
    background: var(--bg);
    position: relative;
    overflow: hidden;
    transition: border-color .4s, transform .4s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform .6s ease;
}
.service-card:hover { border-color: var(--border-h); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-glow {
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(0,229,255,.07) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s;
    border-radius: 50%;
}
.service-card:hover .service-card-glow { opacity: 1; }
.sc-num { font-family: var(--mono); font-size: 10.5px; color: var(--dimmer); letter-spacing: .12em; margin-bottom: 22px; }
.sc-icon { width: 48px; height: 48px; margin-bottom: 22px; color: var(--cyan); }
.sc-icon svg { width: 100%; height: 100%; }
.sc-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 13px; letter-spacing: -.01em; }
.sc-desc { font-size: .95rem; color: var(--dim); line-height: 1.75; margin-bottom: 22px; }
.sc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); transition: gap .3s; }
.sc-link:hover { gap: 13px; }
.sc-link svg { width: 11px; height: 11px; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
.stats-section { padding: 80px 0; }
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg2);
}
.stat-card {
    padding: 48px 36px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.stat-card:last-child { border-right: none; }
.stat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--cyan-dim), transparent 60%); opacity: 0; transition: opacity .4s; }
.stat-card:hover::before { opacity: 1; }
.stat-num { display: block; font-size: clamp(2.8rem, 4.5vw, 5.2rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-family: var(--mono); margin-bottom: 8px; position: relative; z-index: 1; }
.stat-num .suf { color: var(--cyan); }
.stat-lbl { font-size: 13px; color: var(--dim); font-weight: 500; position: relative; z-index: 1; }
@media (max-width: 900px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } .stat-card:nth-child(2) { border-right: none; } .stat-card:nth-child(3) { border-top: 1px solid var(--border); } .stat-card:nth-child(4) { border-right: none; border-top: 1px solid var(--border); } }
@media (max-width: 480px) { .stats-inner { grid-template-columns: 1fr; } .stat-card { border-right: none !important; border-top: 1px solid var(--border) !important; } .stat-card:first-child { border-top: none !important; } }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-section { padding: 120px 0; background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: center; }
.about-visual { position: relative; }
.about-img-box {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--bg3);
    position: relative;
}
.about-img-inner {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #07071a, #0d0d24, #07071a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-svg-bg {
    position: absolute;
    inset: 0;
    opacity: .4;
}
.about-svg-bg svg { width: 100%; height: 100%; }
.about-code-block {
    position: relative;
    z-index: 1;
    padding: 24px;
    font-family: var(--mono);
    font-size: clamp(.65rem, .9vw, .8rem);
    color: var(--dim);
    text-align: left;
    line-height: 1.7;
    width: 100%;
}
.acb-kw { color: var(--pink); }
.acb-fn { color: var(--cyan); }
.acb-str { color: #9ecb84; }
.acb-num { color: #f8b500; }
.acb-cm { color: rgba(238,238,248,.28); }
.about-float-1, .about-float-2 {
    position: absolute;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    min-width: 140px;
}
.about-float-1 { top: 10%; right: -24px; }
.about-float-2 { bottom: 14%; right: -16px; }
.af-num { font-size: 1.8rem; font-weight: 700; font-family: var(--mono); color: var(--cyan); line-height: 1; margin-bottom: 4px; }
.af-lbl { font-size: 11px; color: var(--dim); }
.about-text-block {}
.about-headline { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 24px; }
.about-headline em { font-style: normal; color: var(--cyan); }
.about-desc { color: var(--dim); line-height: 1.8; margin-bottom: 36px; }
.about-techs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tech-pill {
    font-size: 11.5px;
    font-family: var(--mono);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--dim);
    transition: all .3s;
    cursor: default;
}
.tech-pill:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); transform: translateY(-2px); }
@media (max-width: 1000px) { .about-grid { grid-template-columns: 1fr; gap: 60px; } .about-img-box { aspect-ratio: 16/9; } .about-float-1, .about-float-2 { display: none; } }

/* ═══════════════════════════════════════
   PROCESS
═══════════════════════════════════════ */
.process-section { padding: 120px 0; }
.process-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.process-sub { color: var(--dim); line-height: 1.7; max-width: 400px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.process-item {
    padding: 44px 32px;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background .4s;
}
.process-item:last-child { border-right: none; }
.process-item:hover { background: rgba(0,229,255,.03); }
.pi-num {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--mono);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,229,255,.2);
    line-height: 1;
    margin-bottom: 24px;
    transition: -webkit-text-stroke-color .4s;
}
.process-item:hover .pi-num { -webkit-text-stroke-color: var(--cyan); }
.pi-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.pi-desc { font-size: .9rem; color: var(--dim); line-height: 1.7; }
.pi-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.process-item:hover .pi-bar { transform: scaleX(1); }
@media (max-width: 1000px) { .process-grid { grid-template-columns: 1fr 1fr; } .process-item:nth-child(2) { border-right: none; } .process-item:nth-child(3),.process-item:nth-child(4) { border-top: 1px solid var(--border); } .process-item:nth-child(4) { border-right: none; } .process-header { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } .process-item { border-right: none; border-top: 1px solid var(--border); } .process-item:first-child { border-top: none; } }

/* ═══════════════════════════════════════
   TECH MARQUEE (second strip)
═══════════════════════════════════════ */
.tech-marquee { padding: 60px 0; background: var(--bg2); overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-marquee .marquee-content { animation-duration: 40s; }
.tech-marquee .marquee-content span { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; font-family: var(--font); letter-spacing: -.01em; padding: 0 32px; color: var(--dimmer); transition: color .3s; }
.tech-marquee .marquee-content span:hover { color: var(--text); }
.tech-marquee .marquee-sep { font-size: 6px !important; padding: 0 8px !important; color: var(--border-h) !important; }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-band {
    padding: 100px 48px;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-band-bg-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 16vw, 16rem);
    font-weight: 700;
    letter-spacing: -.06em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,229,255,.05);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band-heading { font-size: clamp(2.5rem, 6vw, 7rem); font-weight: 700; letter-spacing: -.03em; line-height: .95; margin-bottom: 28px; }
.cta-band-heading em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.cta-band-sub { color: var(--dim); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 520px; margin: 0 auto 44px; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-section { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.contact-heading { font-size: clamp(2.8rem, 6vw, 7rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; margin-bottom: 40px; }
.ch-stroke { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.contact-cil { display: flex; flex-direction: column; gap: 14px; }
.cil-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg2);
    transition: border-color .3s, background .3s;
}
.cil-item:hover { border-color: var(--border-h); background: var(--card); }
.cil-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 6px; color: var(--cyan); flex-shrink: 0; }
.cil-icon svg { width: 16px; height: 16px; }
.cil-lbl { font-size: 10px; color: var(--dimmer); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cil-val { font-size: 14px; font-weight: 500; }
/* form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 22px 20px 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color .3s, box-shadow .3s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: none; padding-top: 28px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,.08); }
.field label { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); font-size: 14px; color: var(--dim); pointer-events: none; transition: all .2s ease; }
.field--textarea label { top: 20px; transform: none; }
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label { top: 10px; font-size: 9.5px; color: var(--cyan); transform: none; letter-spacing: .08em; text-transform: uppercase; }
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label { top: 10px; font-size: 9.5px; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }
.field select ~ label { top: 10px; font-size: 9.5px; color: var(--cyan); transform: none; letter-spacing: .08em; text-transform: uppercase; }
.field--select select { padding-top: 28px; }
.select-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; width: 18px; height: 18px; }
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.btn-submit::before { content: ''; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .4s ease; }
.btn-submit:hover { border-color: var(--cyan); color: var(--bg); box-shadow: 0 0 24px rgba(0,229,255,.2); }
.btn-submit:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-submit-text, .btn-submit-icon { position: relative; z-index: 1; }
.btn-submit-icon svg { width: 18px; height: 18px; }
.form-success { display: none; padding: 18px 24px; background: rgba(0,229,255,.08); border: 1px solid var(--cyan); border-radius: 4px; color: var(--cyan); font-size: 14px; font-weight: 500; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: 60px; } .form-row-2 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 70px 48px 36px;
}
.footer-top {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
}
.footer-brand-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.footer-brand-name span { color: var(--cyan); }
.footer-brand-desc { font-size: 14px; color: var(--dim); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-soc { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 6px; color: var(--dim); transition: all .3s; }
.footer-soc:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.footer-soc svg { width: 15px; height: 15px; }
.footer-col-hd { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); color: var(--dimmer); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { font-size: 14px; color: var(--dim); transition: color .3s; }
.footer-col li a:hover { color: var(--cyan); }
.footer-bottom { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: var(--dimmer); font-family: var(--mono); }
.footer-copy span { color: var(--cyan); }
.footer-tagline { font-size: 12px; color: var(--dimmer); font-family: var(--mono); letter-spacing: .08em; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-brand { grid-column: span 2; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } .site-footer { padding: 60px 24px 32px; } }

/* ═══════════════════════════════════════
   SCI-FI / HOLOGRAPHIC LAYER
═══════════════════════════════════════ */

/* global CRT scanlines */
body::after {
    content:'';
    position:fixed;
    inset:0;
    background:repeating-linear-gradient(
        transparent 0px, transparent 2px,
        rgba(0,229,255,0.007) 2px, rgba(0,229,255,0.007) 3px
    );
    pointer-events:none;
    z-index:9980;
    will-change:transform;
}

/* ── HUD corner brackets (added via JS) ── */
.hud-corners { position:absolute; inset:0; pointer-events:none; z-index:5; }
.hc { position:absolute; width:13px; height:13px; border-color:rgba(0,229,255,.3); border-style:solid; transition:border-color .4s ease, width .4s ease, height .4s ease; }
.hc.tl { top:10px; left:10px; border-width:1px 0 0 1px; }
.hc.tr { top:10px; right:10px; border-width:1px 1px 0 0; }
.hc.bl { bottom:10px; left:10px; border-width:0 0 1px 1px; }
.hc.br { bottom:10px; right:10px; border-width:0 1px 1px 0; }
.work-card:hover .hc,
.service-card:hover .hc { border-color:var(--cyan); width:17px; height:17px; }
.work-card:hover .hc { box-shadow:0 0 6px rgba(0,229,255,.4); }

/* ── holographic shimmer on work cards ── */
.work-card::after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(105deg, transparent 40%, rgba(0,229,255,.06) 50%, rgba(255,20,100,.04) 56%, rgba(108,99,255,.05) 62%, transparent 72%);
    background-size:300% 300%;
    opacity:0;
    transition:opacity .5s;
    pointer-events:none;
    z-index:2;
    animation:holoShimmer 5s ease-in-out infinite;
}
.work-card:hover::after { opacity:1; }
@keyframes holoShimmer { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* ── hero targeting reticle ── */
.hero-reticle {
    position:absolute;
    top:50%; right:9%;
    transform:translateY(-50%);
    width:150px; height:150px;
    display:flex; align-items:center; justify-content:center;
    pointer-events:none;
    z-index:1;
    opacity:0;
}
@media(max-width:900px){ .hero-reticle{ display:none; } }
.hr-ring {
    position:absolute;
    border-radius:50%;
    border-style:solid;
    animation:reticlePulse 3s ease-in-out infinite;
}
.hr-ring-1{ width:100%; height:100%; border:1px solid rgba(0,229,255,.15); }
.hr-ring-2{ width:64%; height:64%; border:1px solid rgba(0,229,255,.3); animation-delay:.7s; }
.hr-ring-3{ width:28%; height:28%; border:1px solid rgba(0,229,255,.6); animation-delay:1.4s; }
@keyframes reticlePulse { 0%,100%{opacity:.3} 50%{opacity:.95} }
.hr-cross-h { position:absolute; width:100%; height:1px; background:rgba(0,229,255,.15); }
.hr-cross-v { position:absolute; width:1px; height:100%; background:rgba(0,229,255,.15); }
.hr-dot { width:5px; height:5px; background:var(--cyan); border-radius:50%; box-shadow:0 0 10px var(--cyan),0 0 20px rgba(0,229,255,.5); position:absolute; animation:reticlePulse 2s ease-in-out infinite; }
.hr-label { position:absolute; bottom:-22px; left:50%; transform:translateX(-50%); font-family:var(--mono); font-size:8.5px; letter-spacing:.18em; color:rgba(0,229,255,.4); white-space:nowrap; text-transform:uppercase; }
.hr-angle { position:absolute; font-family:var(--mono); font-size:8px; color:rgba(0,229,255,.3); letter-spacing:.08em; }
.hr-angle.tl { top:-18px; left:0; }
.hr-angle.tr { top:-18px; right:0; }
/* rotating outer ring */
.hr-ring-1::before {
    content:'';
    position:absolute;
    inset:-1px;
    border-radius:50%;
    border:1px solid transparent;
    border-top-color:var(--cyan);
    animation:spinRing 6s linear infinite;
}
@keyframes spinRing { to{ transform:rotate(360deg); } }

/* ── hero coordinates ── */
.hero-coords {
    position:absolute;
    bottom:52px; right:9%;
    font-family:var(--mono);
    font-size:9px;
    color:rgba(0,229,255,.28);
    letter-spacing:.1em;
    line-height:1.9;
    pointer-events:none;
    z-index:1;
    opacity:0;
}
@media(max-width:900px){ .hero-coords{ display:none; } }
.hero-coords span { display:block; }

/* ── stat pulse rings ── */
.stat-pulse-ring {
    position:absolute;
    left:28px; top:40px;
    width:48px; height:48px;
    border:1px solid rgba(0,229,255,.18);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}

/* ── power-on scan line ── */
.scan-line {
    position:absolute;
    left:0; right:0;
    height:2px;
    background:linear-gradient(90deg, transparent 5%, var(--cyan) 30%, rgba(255,255,255,.7) 50%, var(--cyan) 70%, transparent 95%);
    box-shadow:0 0 14px var(--cyan), 0 0 28px rgba(0,229,255,.4);
    pointer-events:none;
    z-index:11;
}

/* ── loader status line ── */
.loader-status {
    font-family:var(--mono);
    font-size:9.5px;
    color:rgba(0,229,255,.45);
    letter-spacing:.2em;
    text-transform:uppercase;
    margin-bottom:6px;
    min-height:14px;
}

/* ── hologram flicker keyframe ── */
@keyframes hFlicker {
    0%,100%{ opacity:1; filter:none; }
    92%{ opacity:1; filter:none; }
    93%{ opacity:.7; filter:brightness(1.5) hue-rotate(10deg); }
    94%{ opacity:1; filter:none; }
    95%{ opacity:.5; filter:brightness(2) skewX(2deg); }
    96%{ opacity:1; filter:none; }
}
.holo-flicker { animation:hFlicker 8s steps(1) infinite; }

/* ── section data tag (top-right corner) ── */
.section-id-tag {
    position:absolute;
    top:20px; right:28px;
    font-family:var(--mono);
    font-size:9px;
    color:rgba(0,229,255,.18);
    letter-spacing:.14em;
    text-transform:uppercase;
    pointer-events:none;
    z-index:1;
    user-select:none;
}

/* ── eyebrow badge animated border ── */
.eyebrow-badge {
    animation:badgeBorderAnim 4s linear infinite;
    background-size:200% 200%;
}
@keyframes badgeBorderAnim {
    0%,100% { box-shadow:0 0 0 1px rgba(0,229,255,.2), 0 0 12px rgba(0,229,255,.1); }
    50%      { box-shadow:0 0 0 1px rgba(0,229,255,.6), 0 0 20px rgba(0,229,255,.2); }
}

/* ── neon glow on buttons enhanced ── */
.btn-primary:hover { box-shadow:0 0 30px rgba(0,229,255,.45), 0 0 60px rgba(0,229,255,.15), 0 8px 28px rgba(0,229,255,.2) !important; }

/* ── service card sc-num enhanced ── */
.sc-num { color:rgba(0,229,255,.5) !important; }

/* ── process item hover glow ── */
.process-item:hover { background:rgba(0,229,255,.04) !important; box-shadow:inset 0 0 30px rgba(0,229,255,.04); }

/* ═══════════════════════════════════════
   v4.0 — OVERDRIVE LAYER
═══════════════════════════════════════ */

/* ── button click ripple ── */
.btn-ripple {
    position:absolute; border-radius:50%;
    background:rgba(0,229,255,.28);
    transform:translate(-50%,-50%);
    animation:btnRipple .7s ease-out forwards;
    pointer-events:none; width:0; height:0;
}
@keyframes btnRipple { to { width:380px; height:380px; opacity:0; } }

/* ── stat SVG progress ring ── */
.stat-ring {
    position:absolute; top:8px; right:8px;
    width:56px; height:56px;
    transform:rotate(-90deg);
    pointer-events:none; opacity:.72; z-index:2;
}
.stat-ring-track { fill:none; stroke:rgba(0,229,255,.1); stroke-width:1.5; }
.stat-ring-fill  { fill:none; stroke:var(--cyan); stroke-width:1.5; stroke-linecap:round; filter:drop-shadow(0 0 3px rgba(0,229,255,.55)); }

/* ── typewriter cursor in code block ── */
.tw-cursor {
    display:inline-block; width:1.5px; height:.8em;
    background:var(--cyan); vertical-align:text-bottom;
    margin-left:2px; animation:twBlink .8s step-start infinite;
    box-shadow:0 0 5px var(--cyan);
}
@keyframes twBlink { 50% { opacity:0; } }

/* ── work card title glitch on hover ── */
@keyframes wTitleGlitch {
    0%,100%  { text-shadow:none; transform:none; }
    15%      { text-shadow:3px 0 var(--cyan),-3px 0 var(--pink); transform:translateX(-4px) skewX(-5deg); }
    30%      { text-shadow:-2px 0 var(--cyan); transform:translateX(3px) skewX(4deg); }
    55%,85%  { text-shadow:none; transform:none; }
    90%      { text-shadow:2px 0 var(--pink); transform:skewX(-2deg); }
}
.work-card:hover .wi-title { animation:wTitleGlitch .6s steps(1) 1; }

/* ── eyebrow dot outer ripple ── */
.eyebrow-badge-dot { position:relative; overflow:visible; }
.eyebrow-badge-dot::after {
    content:''; position:absolute; inset:-5px; border-radius:50%;
    background:var(--cyan); opacity:0; pointer-events:none;
    animation:dotRippleOut 2.6s ease-out 1.5s infinite;
}
@keyframes dotRippleOut { 0%{transform:scale(1);opacity:.35} 100%{transform:scale(3.2);opacity:0} }

/* ── process travel dot ── */
.pi-travel-dot {
    position:absolute; top:77px; left:0;
    width:8px; height:8px; border-radius:50%;
    background:var(--cyan);
    box-shadow:0 0 10px var(--cyan),0 0 22px rgba(0,229,255,.4);
    pointer-events:none; z-index:2;
}

/* ── service card corner dot accents ── */
.sc-corner-dot {
    position:absolute; width:4px; height:4px;
    border-radius:50%; background:var(--cyan);
    opacity:0; pointer-events:none; transition:opacity .3s;
}
.sc-corner-dot.tl { top:13px; left:13px; }
.sc-corner-dot.tr { top:13px; right:13px; }
.service-card:hover .sc-corner-dot {
    opacity:1; box-shadow:0 0 7px var(--cyan);
    animation:cornerDotPulse 1.1s ease-in-out infinite;
}
@keyframes cornerDotPulse { 0%,100%{transform:scale(1);opacity:.9} 50%{transform:scale(1.6);opacity:.4} }

/* ── footer neon gradient divider ── */
.footer-bottom { position:relative; padding-top:28px; }
.footer-bottom::before {
    content:''; position:absolute; top:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(0,229,255,.22) 30%,rgba(255,20,100,.14) 50%,rgba(0,229,255,.22) 70%,transparent);
}

/* ── cursor ring will-change hint ── */
.cursor-ring { will-change:transform; }

/* ══════════════════════════════════════
   ══  v5.0 SCROLL ANIMATIONS CSS  ══
══════════════════════════════════════ */

/* horizontal works scroll */
.works-section.h-scroll-mode { overflow: hidden; }
.works-section.h-scroll-mode .container {
    max-width: none;
    padding-left: max(40px, calc((100vw - 1200px) / 2));
    padding-right: 0;
    overflow: visible;
}
.works-section.h-scroll-mode .works-header {
    padding-right: max(40px, calc((100vw - 1200px) / 2));
}
.works-section.h-scroll-mode .works-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
    padding-right: max(40px, calc((100vw - 1200px) / 2));
    will-change: transform;
}
.works-section.h-scroll-mode .work-card {
    flex-shrink: 0;
    width: clamp(290px, 28vw, 440px);
    aspect-ratio: 4/3 !important;
}

/* section accent wipe line */
.wipe-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--cyan);
    margin-bottom: 14px;
    transform-origin: left center;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0,229,255,.4);
}

/* ─────────────────────────────────────
   v6.0 IMPACT ANIMATIONS
───────────────────────────────────── */
#cursor-glow-blob {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.14) 0%, rgba(200,0,255,0.07) 45%, transparent 70%);
    pointer-events: none;
    z-index: 9997;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    filter: blur(38px);
    will-change: transform;
}
.section-bg-num {
    position: absolute;
    top: 0;
    right: clamp(20px, 5vw, 70px);
    font-size: clamp(140px, 20vw, 260px);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,229,255,0.14);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.03em;
}
.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.9) 30%, rgba(255,0,200,0.7) 70%, transparent 100%);
    box-shadow: 0 0 28px rgba(0,229,255,0.8), 0 0 90px rgba(0,229,255,0.3);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
}
.scan-beam-v {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,229,255,0.9) 30%, rgba(255,0,200,0.7) 70%, transparent 100%);
    box-shadow: 0 0 28px rgba(0,229,255,0.8), 0 0 90px rgba(0,229,255,0.3);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
}
.card-glint {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.24) 50%, transparent 65%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transform: skewX(-15deg);
}
#section-flash-card {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9990;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
#section-flash-text {
    font-size: clamp(56px, 11vw, 138px);
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 60px rgba(0,229,255,0.55), 0 0 120px rgba(0,229,255,0.25);
}

/* ─────────────────────────────────────
   v7.0 SPECTACULAR SCROLL
───────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, #ff00cc 50%, var(--cyan) 100%);
    transform-origin: left center;
    z-index: 99999;
    pointer-events: none;
    box-shadow: 0 0 16px rgba(0,229,255,0.9), 0 0 50px rgba(0,229,255,0.4);
}
.bg-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    will-change: transform;
}
#sticky-counter {
    position: fixed;
    right: 36px;
    bottom: 38px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: var(--mono, 'Courier New', monospace);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(0,229,255,0.4);
    z-index: 9000;
    pointer-events: none;
    overflow: hidden;
}
#sc-cur {
    font-size: 26px;
    font-weight: 800;
    color: var(--cyan);
    text-shadow: 0 0 22px rgba(0,229,255,0.6);
    line-height: 1;
    display: inline-block;
}
.sc-div, .sc-tot {
    opacity: 0.5;
    font-size: 11px;
}
.click-ripple {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,229,255,0.9);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 99998;
    box-shadow: 0 0 18px rgba(0,229,255,0.45), inset 0 0 14px rgba(0,229,255,0.15);
}
.card-holo {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    mix-blend-mode: screen;
}

/* ── glitch scanner ── */
#scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,1) 30%, rgba(255,0,200,.9) 70%, transparent);
    box-shadow: 0 0 30px rgba(0,229,255,1), 0 0 90px rgba(0,229,255,.5);
    pointer-events: none;
    z-index: 9999;
    display: none;
}
.glitch-bar {
    position: fixed;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,.8), rgba(255,0,150,.6), transparent);
    pointer-events: none;
    z-index: 9998;
    display: none;
}

/* ── hero video background ── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.78) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

/* === uppercase titles === */
.section-heading,
.wi-title,
.sc-title,
.pi-title,
.cta-band-heading,
.contact-heading,
.about-headline { text-transform: uppercase; }

/* === hero title smaller === */
.hero-title { font-size: clamp(2.4rem, 6.5vw, 7.5rem); }

/* === hero title mobile === */
@media (max-width: 900px) {
    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5.5rem);
        letter-spacing: -.02em;
        margin-bottom: 32px;
    }
    .hero-title-line--indent { padding-left: 0; }
}
@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.6rem, 13.5vw, 4rem); }
}

/* ── Services CTA section — hero-like ── */
.services-cta-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg, #080808);
}
.services-cta-section .hero-content {
    position: relative;
    z-index: 5;
}
.services-cta-section .hero-glow-1,
.services-cta-section .hero-glow-2,
.services-cta-section .hero-grid,
.services-cta-section .hero-scan {
    position: absolute;
}

/* ── Services CTA — revised ── */
.services-cta-section {
    padding: 140px 0 !important;
    min-height: unset !important;
    display: block !important;
    text-align: center;
}
.services-cta-section .hero-title {
    margin-bottom: 48px !important;
}
.svc-cta-btn {
    display: inline-block;
    padding: 16px 44px;
    border: 2px solid var(--cyan);
    border-radius: 100px;
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s, color .25s;
}
.svc-cta-btn:hover {
    background: var(--cyan);
    color: #000;
}

/* ── Services CTA — spacing fix ── */
.services-cta-section {
    padding: 60px 0 100px !important;
    min-height: unset !important;
}

/* ── Services CTA — background match ── */
.services-cta-section { background: var(--bg2) !important; }

/* ── stacking overlap fix ── */
.services-section { position: relative; z-index: 10; }
.services-cta-section { position: relative; z-index: 1; }

/* ── smooth scroll + hero 4 lines ── */
html { scroll-behavior: smooth; }
.hero-title { font-size: clamp(2rem, 5.5vw, 6.5rem) !important; }
@media (max-width: 900px) { .hero-title { font-size: clamp(2.2rem, 11vw, 4.8rem) !important; } }
