/* SC-ience Labs — main site styles
 * Lab / tech aesthetic
 * Dark slate background, cyan accent, monospace details
 */

:root {
    --bg: #08091a;
    --bg-deep: #050614;
    --bg-elev: #0d0f24;
    --bg-card: #11132a;
    --bg-card-hover: #161938;
    --border: #1f2348;
    --border-strong: #2d3358;
    --text: #ecedf7;
    --text-muted: #9aa0c4;
    --text-dim: #6168a0;
    --accent: #00d4ff;            /* cyan */
    --accent-dim: #0099b8;
    --accent-glow: rgba(0, 212, 255, 0.18);
    --accent-2: #ff5ea8;          /* magenta */
    --accent-2-glow: rgba(255, 94, 168, 0.22);
    --accent-3: #9d6ee9;          /* purple */
    --accent-3-glow: rgba(157, 110, 233, 0.22);
    --gradient-aurora: linear-gradient(135deg, #00d4ff 0%, #9d6ee9 50%, #ff5ea8 100%);
    --gradient-aurora-soft: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(157,110,233,0.12), rgba(255,94,168,0.15));
    --warn: #ffb84c;
    --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.05), transparent),
        radial-gradient(1px 1px at 60px 80px, rgba(0,212,255,0.06), transparent),
        radial-gradient(1px 1px at 120px 50px, rgba(255,94,168,0.05), transparent),
        radial-gradient(2px 2px at 180px 100px, rgba(157,110,233,0.04), transparent),
        linear-gradient(180deg, rgba(157,110,233,0.04) 0%, transparent 25%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 30%);
    background-size: 200px 160px, 200px 160px, 200px 160px, 240px 200px, 100% 100%, 100% 100%;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.025em;
    font-weight: 600;
}

.mono { font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace; }

a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: #6be6ff; }

/* === NAV === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 15, 0.78);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled {
    border-bottom-color: rgba(0,212,255,0.18);
    background: rgba(7, 9, 15, 0.92);
}
.nav::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(0,212,255,0.3) 50%, transparent 90%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nav.scrolled::after { opacity: 1; }
.nav-twitter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.18s ease;
}
.nav-twitter:hover {
    color: var(--accent);
    background: rgba(0,212,255,0.06);
}
.nav-twitter svg { display: block; }
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    display: grid;
    place-items: center;
    color: #001a22;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 0 0 1px rgba(0,212,255,0.25), 0 4px 16px rgba(0,212,255,0.2);
}
.brand .dash { color: var(--accent); }
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
    background: var(--accent);
    color: #001a22 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}
.nav-cta:hover { background: #6be6ff; color: #001a22 !important; }

/* === LAYOUT === */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

section { padding: 100px 0; position: relative; }
section.tight { padding: 70px 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

p.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.65;
}

/* === HERO === */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 400px at 15% 30%, var(--accent-glow), transparent),
        radial-gradient(ellipse 500px 300px at 85% 70%, rgba(0,212,255,0.08), transparent);
    pointer-events: none;
    z-index: 0;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
    background: linear-gradient(180deg, #fff 0%, #94c3d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.65;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background: var(--accent);
    color: #001a22;
    box-shadow: 0 4px 24px rgba(0,212,255,0.25);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: #6be6ff; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,212,255,0.45); color: #001a22; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 16px rgba(0,212,255,0.3); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* terminal-style status row */
.status-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.status-row span { display: inline-flex; align-items: center; gap: 8px; }
.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === SECTIONS === */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); max-width: 600px; margin: 12px auto 0; }

/* === CARDS / SERVICES === */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.card:hover {
    border-color: rgba(0,212,255,0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.06);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(13,17,25,0.95) 100%);
}
.card:hover .card-icon {
    background: rgba(0,212,255,0.16);
    border-color: rgba(0,212,255,0.4);
    transform: scale(1.05) rotate(-3deg);
}
.card-icon { transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card:hover::before { opacity: 1; }
.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.2);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--accent);
}
.card h3 { color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.card .tag-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.18);
    color: var(--accent);
}

/* === FLAGSHIP SPOTLIGHT === */
.flagship {
    background: linear-gradient(180deg, var(--bg) 0%, #0a0f1c 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.flagship-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.flagship-copy h2 { margin-bottom: 20px; }
.flagship-copy p { color: var(--text-muted); margin-bottom: 18px; }
.flagship-meta {
    display: flex;
    gap: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
    margin: 28px 0;
    flex-wrap: wrap;
}
.flagship-meta div { display: flex; flex-direction: column; gap: 4px; }
.flagship-meta strong { color: var(--accent); font-weight: 500; }
.flagship-visual {
    position: relative;
    aspect-ratio: 9 / 17;
    max-height: 620px;
    margin: 0 auto;
    width: 100%;
    border-radius: 36px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--border-strong),
        0 30px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(0,212,255,0.1);
    background: #000;
}
.flagship-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === CAPABILITIES / PROCESS === */
.process {
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}
.process-item {
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.process-item:last-child { border-right: none; }
.process-step {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}
.process-item h3 { font-size: 1.05rem; }
.process-item p { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }

/* === CTA BANNER === */
.cta-banner {
    text-align: center;
    padding: 80px 24px;
}
.cta-banner h2 { margin-bottom: 18px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-cta { justify-content: center; margin-bottom: 0; }

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    background: var(--bg-elev);
}
.foot-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.foot-col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}
.foot-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 4px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-col p { color: var(--text-muted); font-size: 14px; }
.foot-bar {
    margin-top: 50px;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border);
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 12px;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
form.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.18s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.contact-side h2 { margin-bottom: 16px; }
.contact-side p { color: var(--text-muted); margin-bottom: 24px; }
.contact-block {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
}
.contact-block .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}
.contact-block a, .contact-block span { color: var(--text); font-size: 15px; }

/* === WORK / CASE STUDIES === */
.work {
    background: var(--bg);
    position: relative;
}
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.work-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.08);
}
.work-card-shot {
    background: #050810;
    border-bottom: 1px solid var(--border);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}
.work-card-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    transition: transform 0.6s ease;
}
.work-card:hover .work-card-shot img { transform: scale(1.03); }
.work-card-body { padding: 26px 28px 28px; }
.work-card .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.work-card .meta-row .badge {
    color: var(--accent);
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.22);
    padding: 3px 9px;
    border-radius: 4px;
}
.work-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.work-card p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.6; margin-bottom: 16px; }
.work-card .tag-row { margin-bottom: 0; }

/* terminal-style preview frame for Auto-Log9000 etc */
.terminal-frame {
    background: #1a1408;
    border: 1px solid #3a2810;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.terminal-frame::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 24px;
    background: linear-gradient(180deg, #2a1f10, #1a1408);
    border-bottom: 1px solid #3a2810;
}
.terminal-frame::after {
    content: '● ● ●';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 9px;
    letter-spacing: 4px;
    color: #b8542a;
    z-index: 1;
}
.terminal-frame img { margin-top: 24px; }

/* === BRAND LOGO HEADER === */
.brand-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* === HERO V2 — richer === */
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: drift 16s ease-in-out infinite;
}
.hero-orbs .orb.a { width: 360px; height: 360px; left: -80px; top: 80px; background: radial-gradient(circle, #00d4ff, transparent 70%); }
.hero-orbs .orb.b { width: 280px; height: 280px; right: 10%; top: 30%; background: radial-gradient(circle, #0099b8, transparent 70%); animation-delay: -8s; }
.hero-orbs .orb.c { width: 200px; height: 200px; left: 40%; bottom: 0; background: radial-gradient(circle, #00d4ff, transparent 70%); opacity: 0.25; animation-delay: -4s; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}

/* === SECTION DIVIDERS === */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 0;
}

/* === STATS STRIP === */
.stats-strip {
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* === EXPANDED SERVICES (4 cards) === */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* === FOOTER SOCIAL ROW === */
.foot-social {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}
.foot-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.18s ease;
}
.foot-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0,212,255,0.06);
}

/* === HERO H1 GRADIENT SHINE === */
.hero h1 {
    position: relative;
}
.hero h1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(0,212,255,0.12) 50%, transparent 70%);
    background-size: 200% 100%;
    background-position: -100% 0;
    pointer-events: none;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 8s ease-in-out infinite;
}
@keyframes shine {
    0%, 100% { background-position: -100% 0; }
    50% { background-position: 200% 0; }
}

/* === SECTION HEAD UNDERLINE === */
.section-head h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}
.section-head h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* === STAT COUNTER PULSE === */
.stat-num { transition: color 0.3s ease, transform 0.3s ease; }
.stats-grid > div:hover .stat-num { color: #6be6ff; transform: scale(1.05); }

/* === WORK CARD BADGE PULSE === */
.work-card .badge {
    position: relative;
}
.work-card .badge::before {
    content: '●';
    color: #4ade80;
    margin-right: 4px;
    animation: pulse 2s ease-in-out infinite;
}

/* === NAV LINKS ACTIVE INDICATOR === */
.nav-links a:not(.nav-cta) {
    position: relative;
    padding: 6px 0;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 880px) {
    .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .nav-links { gap: 16px; }
    .nav-links li:not(:last-child):not(:first-child) { display: none; }
    .flagship-inner { grid-template-columns: 1fr; gap: 40px; }
    .foot-inner { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    section { padding: 70px 0; }
    .hero { padding: 80px 0 60px; }
}
@media (max-width: 540px) {
    .foot-inner { grid-template-columns: 1fr; gap: 24px; }
    .nav-inner { padding: 12px 16px; }
    .wrap { padding: 0 16px; }
    .status-row { gap: 14px; }
}
