@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Inter+Tight:wght@400..700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

/* ============================================
   1.  ROOT TOKENS
   ============================================ */
:root {
    --bg:               #050505;
    --bg-elevated:      #0b0b0b;
    --bg-light:         #f4f1ec;
    --bg-light-2:       #ebe7e0;

    --fg:               #fafaf9;
    --fg-soft:          #e4e4e3;   /* primary readable secondary — much whiter */
    --fg-muted:         #bdbdbd;   /* secondary text */
    --fg-dim:           #888;      /* labels / meta */

    --accent:           #06b6d4;
    --accent-bright:    #22d3ee;
    --accent-soft:      rgba(6, 182, 212, 0.12);
    --accent-glow:      rgba(6, 182, 212, 0.45);

    --warm:             #f5e6d3;
    --rose:             #ff6b5b;

    --border:           rgba(255, 255, 255, 0.09);
    --border-strong:    rgba(255, 255, 255, 0.18);

    --font-display:     'Geist', 'Inter Tight', sans-serif;
    --font-body:        'Geist', 'Inter Tight', sans-serif;
    --font-serif:       'Instrument Serif', serif;
    --font-mono:        'JetBrains Mono', monospace;

    --max-width:        1280px;
    --ease:             cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);

    --nav-h:            88px;
}

/* ============================================
   2.  RESET & BASE
   ============================================ */
* { box-sizing: border-box; }

html { background-color: var(--bg); }

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent);
    color: #000;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--fg);
}

/* ============================================
   3.  CONTAINER & SECTION
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 1024px) { .container { padding: 0 48px; } }

.section {
    padding: 100px 0;
    position: relative;
}
@media (min-width: 1024px) { .section { padding: 140px 0; } }

.section-elevated { background: var(--bg-elevated); }
.section-light {
    background: var(--bg-light);
    color: #111;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 56px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.section-light .section-head { border-color: rgba(0, 0, 0, 0.15); }

.section-index {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--fg-muted);
    letter-spacing: 0.05em;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--fg);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    flex: 1;
}
.section-light .section-label,
.section-light .section-index { color: #111; }

/* ============================================
   4.  TYPOGRAPHY UTILITIES
   ============================================ */
.display-h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--fg);
}
.display-h2.dark { color: #0a0a0a; }

.display-mega {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.005em;
    color: var(--fg);
}

.gradient-text {
    background: linear-gradient(110deg, var(--fg) 20%, var(--accent-bright) 75%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.underline-accent {
    position: relative;
    white-space: nowrap;
}
.underline-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 4px;
    background: var(--accent);
    transform: skewX(-12deg);
    opacity: 0.6;
}

.lead-text {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    color: var(--fg-soft);
    line-height: 1.65;
    max-width: 46ch;
    font-weight: 400;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

/* ============================================
   5.  GRAIN OVERLAY
   ============================================ */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================
   6.  SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: transparent;
    z-index: 999;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.1s linear;
}

/* ============================================
   7.  CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s, transform 0.18s var(--ease-out);
    opacity: 0;
    will-change: transform;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}
.cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid var(--border-strong);
    transition: opacity 0.2s, transform 0.4s var(--ease-out), width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-active .cursor-ring {
    width: 60px; height: 60px;
    border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
    body.cursor-ready * { cursor: none !important; }
    body.cursor-ready .cursor-dot,
    body.cursor-ready .cursor-ring { opacity: 1; }
}

/* ============================================
   8.  NAVIGATION + LOGO (N E O expand on hover)
   ============================================ */
.nav-wrap {
    position: fixed;
    top: 16px;
    left: 0; right: 0;
    z-index: 100;
    padding: 0 16px;
    transition: top 0.4s var(--ease);
}
@media (min-width: 1024px) { .nav-wrap { top: 20px; padding: 0 32px; } }

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 8px 8px 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all 0.4s var(--ease);
}
.nav-wrap.scrolled .nav-inner {
    background: rgba(5, 5, 5, 0.92);
    border-color: rgba(6, 182, 212, 0.18);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg);
}
.logo-meta {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* LOGO BOX with letters that expand on hover — N → N E O */
.logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 36px;
    width: 36px;
    background: var(--accent);
    color: #000;
    border-radius: 9px;
    overflow: hidden;
    transition: width 0.55s var(--ease), background-color 0.4s, gap 0.4s var(--ease);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 var(--accent-glow);
    animation: logo-pulse 3s infinite ease-in-out;
    padding: 0;
}
@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50%      { box-shadow: 0 0 24px 2px var(--accent-glow); }
}
.logo-box .ll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    transition: width 0.5s var(--ease), opacity 0.45s var(--ease), transform 0.5s var(--ease);
}
/* default: only first letter visible */
.logo-box .ll:nth-child(2),
.logo-box .ll:nth-child(3) {
    width: 0;
    opacity: 0;
    transform: translateX(-6px);
}
/* hover: expand container + staggered letter reveal */
.logo-link:hover .logo-box,
.footer-brand:hover .logo-box {
    width: 96px;
    background: #fff;
    animation-play-state: paused;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 30px rgba(6,182,212,0.35);
}
.logo-link:hover .logo-box .ll:nth-child(2),
.footer-brand:hover .logo-box .ll:nth-child(2) {
    width: 30px;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.08s;
}
.logo-link:hover .logo-box .ll:nth-child(3),
.footer-brand:hover .logo-box .ll:nth-child(3) {
    width: 30px;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.16s;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--fg);
}
.logo-text sup {
    font-size: 8px;
    margin-left: 2px;
    color: var(--accent);
}
.logo-sub {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.22em;
    color: var(--fg-muted);
    margin-top: 4px;
    display: block;
}

.nav-links { padding: 0 8px; }
.nav-links a {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-soft);
    letter-spacing: -0.01em;
    transition: all 0.3s var(--ease);
    position: relative;
}
.nav-links a:hover {
    color: var(--fg);
    background: rgba(255,255,255,0.05);
}
.nav-links .num {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent);
    opacity: 0.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--fg);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: -0.005em;
    padding: 10px 18px;
    border-radius: 999px;
    transition: all 0.35s var(--ease);
}
.cta-btn:hover {
    background: var(--accent);
    box-shadow: 0 0 28px var(--accent-glow);
    transform: translateY(-1px);
}

/* ============================================
   9.  HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 100px;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #000;
}
/* Fallback animated gradient when video doesn't load */
.hero-video-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(6,182,212,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(6,182,212,0.12) 0%, transparent 55%),
        linear-gradient(180deg, #0a0a0f 0%, #050505 100%);
    animation: bg-drift 24s ease-in-out infinite alternate;
}
@keyframes bg-drift {
    0%   { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.08) translate(-2%, -1%); }
}
.hero-video iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.55;
    filter: grayscale(0.7) brightness(0.65) contrast(1.15) saturate(0.9);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute; inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(5,5,5,0.4) 70%, var(--bg) 100%),
        linear-gradient(to bottom, rgba(5,5,5,0.15) 0%, transparent 30%, transparent 65%, var(--bg) 100%);
}

/* subtle grid pattern on hero */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

/* Corner labels */
.hero-corner {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--fg-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-corner.top-left    { top: 110px; left: 32px; }
.hero-corner.top-right   { top: 110px; right: 32px; }
.hero-corner.bottom-left { bottom: 32px; left: 32px; }
.hero-corner.bottom-right{ bottom: 32px; right: 32px; }

@media (max-width: 768px) {
    .hero-corner { font-size: 9px; letter-spacing: 0.15em; }
    .hero-corner.top-left, .hero-corner.top-right { top: 96px; }
    .hero-corner.top-left, .hero-corner.bottom-left { left: 24px; }
    .hero-corner.top-right, .hero-corner.bottom-right { right: 24px; }
    .hero-corner.bottom-left, .hero-corner.bottom-right { bottom: 24px; }
}

.hero-corner .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: ping 2s infinite ease-in-out;
}
@keyframes ping {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.scroll-cue {
    color: var(--fg-soft);
    transition: color 0.3s;
}
.scroll-cue:hover { color: var(--accent); }

.hero-content {
    text-align: center;
    max-width: 1100px;
    z-index: 1;
    position: relative;
}
/* Spotlight darkener — softens video specifically behind text */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 130%; height: 140%;
    background:
        radial-gradient(ellipse at center, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0.4) 45%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e6e6e5;
    margin-bottom: 36px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 14px rgba(0,0,0,0.85);
    font-weight: 500;
}
.hero-eyebrow .line {
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fg-soft), transparent);
}

/* Hero Title — refined editorial grotesk, maximum confidence */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11.5vw, 9rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.055em;
    margin: 0;
    color: var(--fg);
    text-shadow:
        0 1px 2px rgba(0,0,0,0.95),
        0 4px 14px rgba(0,0,0,0.7),
        0 0 50px rgba(0,0,0,0.5);
}
.title-row {
    display: block;
    text-transform: uppercase;
}
.italic-row {
    margin: -0.06em 0 -0.04em;
}
.italic-word {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
    font-size: 0.62em;
    letter-spacing: -0.015em;
    color: var(--accent-bright);
    opacity: 0.95;
    padding: 0 0.2em;
    position: relative;
    display: inline-block;
}
.italic-word::before,
.italic-word::after {
    content: '';
    position: absolute;
    top: 55%;
    width: 0.7em;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35));
}
.italic-word::before { right: 100%; transform: scaleX(-1); }
.italic-word::after  { left: 100%; }

.puzzle-text { display: inline-block; }
.puzzle-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(38px);
    animation: puzzle-in 0.95s var(--ease-out) forwards;
}
@keyframes puzzle-in {
    0%   { opacity: 0; transform: translateY(38px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* VELOCITY — gradient kept very subtle so contrast stays crisp */
.puzzle-text.gradient span {
    background: linear-gradient(180deg, var(--fg) 0%, var(--fg) 70%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* fallback text shadow doesn't work with clip:text, so add a drop-shadow filter */
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.9)) drop-shadow(0 0 24px rgba(0,0,0,0.5));
}
.dot-end {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

.hero-lead {
    margin: 38px auto 42px;
    max-width: 640px;
    color: #f0f0ef;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    font-weight: 450;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 18px rgba(0,0,0,0.85);
}
.hero-lead .serif-italic { color: var(--accent-bright); font-weight: 400; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    background: var(--fg);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    padding: 14px 8px 14px 24px;
    border-radius: 999px;
    letter-spacing: -0.005em;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.primary-action .action-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #000;
    color: var(--fg);
    border-radius: 999px;
    margin-left: 14px;
    font-size: 11px;
    transition: all 0.4s var(--ease);
}
.primary-action:hover {
    background: var(--accent);
    box-shadow: 0 12px 32px var(--accent-glow);
}
.primary-action:hover .action-arrow {
    transform: translateX(2px) rotate(-45deg);
}

.ghost-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--fg);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    padding: 14px 24px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    transition: all 0.3s var(--ease);
    background: rgba(0,0,0,0.25);
}
.ghost-action:hover {
    color: var(--fg);
    border-color: var(--accent);
    background: rgba(6,182,212,0.08);
}
.ghost-action .play-ico {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    padding-left: 1px;
}

/* ============================================
   10. TICKER MARQUEE
   ============================================ */
.ticker-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    overflow: hidden;
    padding: 18px 0;
    position: relative;
}
.ticker-section::before,
.ticker-section::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.ticker-section::before { left: 0;  background: linear-gradient(to right, var(--bg-elevated), transparent); }
.ticker-section::after  { right: 0; background: linear-gradient(to left,  var(--bg-elevated), transparent); }

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 50s linear infinite;
}
.ticker-content {
    display: flex;
    flex-shrink: 0;
    padding-right: 60px;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg);
    padding: 0 30px;
    white-space: nowrap;
}
.ticker-item .star {
    color: var(--accent);
    font-size: 8px;
}
.ticker-item .ticker-tag {
    color: var(--fg-soft);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 10px;
}
.ticker-item.italic { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--accent-bright); }

/* ============================================
   11. GENESIS FEATURE BLOCKS
   ============================================ */
.feature-block {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}
.feature-block .feature-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    transition: all 0.4s var(--ease);
}
.feature-block:hover .feature-icon {
    background: var(--accent);
    color: #000;
    transform: rotate(-8deg);
}
.feature-block h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    color: var(--fg);
}
.feature-block p {
    color: var(--fg-soft);
    font-size: 14px;
    line-height: 1.6;
}

/* MAP CARD */
.map-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.028) 0%, rgba(255,255,255,0.008) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
}
.map-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: ping 2s infinite;
}

.map-card-quote { margin-bottom: 12px; }
.map-card-quote p {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--fg);
}

#world-map {
    height: 280px;
    background:
        url('https://upload.wikimedia.org/wikipedia/commons/4/41/Simple_world_map.svg') no-repeat center;
    background-size: contain;
    filter: invert(1) opacity(0.18);
    position: relative;
    margin: 0 0 16px;
}

.map-pin {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent);
    filter: invert(1) hue-rotate(180deg);
    animation: pin-ping 3s infinite ease-out;
}
.map-pin::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.5;
    animation: pin-ping 3s infinite ease-out;
}
.pin-2 { animation-delay: 0.3s; }
.pin-3 { animation-delay: 0.6s; }
.pin-4 { animation-delay: 0.9s; }
.pin-5 { animation-delay: 1.2s; }
.pin-6 { animation-delay: 1.5s; }
.pin-7 { animation-delay: 1.8s; }
.pin-8 { animation-delay: 2.1s; }
@keyframes pin-ping {
    0%   { transform: scale(0.8); opacity: 1; }
    70%  { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

.terminal-window {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent);
    position: relative;
}
.terminal-dots {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}
.terminal-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.terminal-dots span:first-child { background: var(--rose); }
.terminal-dots span:nth-child(2) { background: #f5a623; }
.terminal-dots span:last-child  { background: var(--accent); }

#terminal {
    color: var(--accent);
    line-height: 1.4;
    min-height: 1.4em;
}
#terminal::after {
    content: '▮';
    margin-left: 4px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ============================================
   12. ENGINE / BENTO
   ============================================ */
.bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .bento {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(160px, auto);
    }
    .bento-item { grid-column: span 3; }
    .bento-lg  { grid-column: span 6; grid-row: span 1; padding: 40px; }
    .bento-quote { grid-column: span 6; }
}
@media (min-width: 1024px) {
    .bento {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }
    .bento-lg     { grid-column: span 6; grid-row: span 2; }
    .bento-item   { grid-column: span 3; }
    .bento-quote  { grid-column: span 6; }
}

.bento-item {
    position: relative;
    background: rgba(255,255,255,0.028);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}
.bento-item:hover {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.045);
    transform: translateY(-4px);
}
.bento-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bento-label span:first-child {
    color: var(--accent);
    font-weight: 600;
}
.bento-figure {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    color: var(--fg);
    background: linear-gradient(180deg, var(--fg) 60%, rgba(248,248,247,0.45) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.bento-lg .bento-figure {
    font-size: clamp(4rem, 9vw, 7.5rem);
    background: linear-gradient(140deg, var(--fg) 30%, var(--accent-bright) 80%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bento-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.bento-bar {
    margin-top: 20px;
    height: 4px;
    background: rgba(255,255,255,0.07);
    border-radius: 99px;
    overflow: hidden;
}
.bento-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    border-radius: 99px;
    box-shadow: 0 0 12px var(--accent-glow);
}

.bento-quote {
    background: linear-gradient(135deg, rgba(6,182,212,0.07) 0%, transparent 100%);
    border-color: rgba(6,182,212,0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-quote-mark {
    color: var(--accent);
    font-size: 28px;
    opacity: 0.4;
    margin-bottom: 12px;
}
.bento-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.35;
    color: var(--fg);
    margin-bottom: 16px;
    font-style: italic;
}
.bento-attr {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.attr-name { color: var(--fg); }
.attr-role { color: var(--fg-soft); }

/* ============================================
   13. SERVICES GRID — balanced 3 + featured + 3
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px)  { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
    .service-grid > * { grid-column: span 2; }
    .service-grid > .service-card-featured { grid-column: span 6; }
}

.service-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px 28px;
    overflow: hidden;
    transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    isolation: isolate;
}
.service-card:hover {
    border-color: rgba(6,182,212,0.55);
    transform: translateY(-8px);
    box-shadow:
        0 24px 50px rgba(0,0,0,0.5),
        0 0 0 1px rgba(6,182,212,0.2),
        0 0 40px rgba(6,182,212,0.12);
}

/* radial glow that pulses on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: -40%; left: -40%;
    width: 180%; height: 180%;
    background: radial-gradient(circle at 30% 30%, rgba(6,182,212,0.18) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.55s var(--ease);
    z-index: -1;
    transform: rotate(0deg);
}
.service-card:hover::before {
    opacity: 1;
    animation: card-glow-rotate 12s linear infinite;
}
@keyframes card-glow-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* top scan line that sweeps across on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-bright), transparent);
    transition: left 0.9s var(--ease);
    box-shadow: 0 0 12px var(--accent);
}
.service-card:hover::after {
    left: 100%;
}

/* arrow indicator top-right */
.card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--fg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.45s var(--ease);
    transform: translate(0, 0);
}
.service-card:hover .card-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    transform: translate(2px, -2px) rotate(0deg);
    box-shadow: 0 6px 16px rgba(6,182,212,0.35);
}

.card-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--fg-dim);
    margin-bottom: 70px;
    transition: color 0.4s, letter-spacing 0.4s;
}
.service-card:hover .card-num {
    color: var(--accent);
    letter-spacing: 0.22em;
}

.card-icon {
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 18px;
    transition: transform 0.55s var(--ease), background 0.4s;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 12px;
    position: relative;
}
.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(6,182,212,0.25);
    opacity: 0;
    transition: opacity 0.4s, transform 0.5s var(--ease);
    transform: scale(0.9);
}
.service-card:hover .card-icon {
    transform: scale(1.08) rotate(-6deg);
    background: rgba(6,182,212,0.22);
}
.service-card:hover .card-icon::before {
    opacity: 1;
    transform: scale(1.35);
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--fg);
}
.service-card p {
    color: var(--fg-soft);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.card-tags span {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-muted);
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 99px;
    transition: all 0.3s;
}
.service-card:hover .card-tags span {
    border-color: rgba(6,182,212,0.35);
    color: var(--fg);
}

/* FEATURED CARD — Regulated Verticals */
.service-card-featured {
    min-height: 280px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(6,182,212,0.12) 0%, transparent 60%),
        linear-gradient(135deg, rgba(6,182,212,0.05) 0%, var(--bg-elevated) 70%);
    border-color: rgba(6,182,212,0.3);
    padding: 40px;
}
.service-card-featured::after { display: none; }

@media (min-width: 768px) {
    .service-card-featured {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
        align-items: center;
    }
    .service-card-featured .card-num   { grid-column: 1; margin: 0 0 20px; }
    .service-card-featured .card-icon  { grid-column: 1; margin: 0 0 24px; }
    .service-card-featured .card-badge { grid-column: 1; }
    .service-card-featured h3 {
        grid-column: 1;
        margin: 12px 0 0;
        font-size: clamp(1.8rem, 3.2vw, 2.6rem);
        font-weight: 800;
    }
    .service-card-featured p  {
        grid-column: 2;
        grid-row: 1 / span 4;
        font-size: 16px;
        line-height: 1.7;
        align-self: center;
    }
    .service-card-featured .card-tags {
        grid-column: 1 / span 2;
        margin-top: 20px;
    }
}
.service-card-featured .card-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent);
    letter-spacing: 0;
}

.card-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 12px;
}

/* ============================================
   14. METHOD — 3-column rich layout
   ============================================ */
.method-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
}
.method-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.4s var(--ease);
    align-items: start;
    position: relative;
}
@media (min-width: 768px) {
    .method-step {
        grid-template-columns: 180px 1fr 280px;
        gap: 48px;
        padding: 56px 0;
    }
}
@media (min-width: 1024px) {
    .method-step {
        grid-template-columns: 200px 1fr 320px;
        gap: 64px;
    }
}
.method-step:hover {
    background: linear-gradient(90deg, rgba(6,182,212,0.04), transparent 70%);
}

.step-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fg);
    transition: color 0.4s var(--ease);
}
.method-step:hover .step-num { color: var(--accent); }

.step-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--fg-soft);
    line-height: 1.6;
}
.step-meta span {
    color: var(--accent);
    font-weight: 600;
}

.step-bar {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}
.step-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    border-radius: 99px;
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 1.2s var(--ease);
}

.step-main h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--fg);
}
.step-main p {
    color: var(--fg-soft);
    font-size: 15px;
    line-height: 1.7;
    max-width: 56ch;
}

.step-card {
    position: relative;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(6,182,212,0.05) 0%, rgba(255,255,255,0.02) 100%),
        var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.45s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}
.method-step:hover .step-card {
    border-color: rgba(6,182,212,0.35);
    background:
        linear-gradient(180deg, rgba(6,182,212,0.08) 0%, rgba(255,255,255,0.02) 100%),
        var(--bg-elevated);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(6,182,212,0.08);
}
.step-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 5px 10px;
    border: 1px solid rgba(6,182,212,0.3);
    background: rgba(6,182,212,0.06);
    border-radius: 99px;
}
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: ping 2s infinite ease-in-out;
}
.step-card-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--fg-dim);
}
.step-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.step-card-list li {
    display: grid;
    grid-template-columns: 22px 1fr 16px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--fg-soft);
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.3s, transform 0.3s var(--ease);
}
.step-card-list li:hover {
    color: var(--fg);
    transform: translateX(2px);
}
.li-num {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.step-card-list li i {
    color: var(--accent);
    font-size: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.method-step:hover .step-card-list li i { opacity: 1; }
.step-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px dashed var(--border);
}
.step-card-foot .mono-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--fg-dim);
    text-transform: uppercase;
}
.foot-val {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--accent-bright);
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   15. CAREERS
   ============================================ */
.section-head-light .section-index,
.section-head-light .section-label { color: #111; }

.careers-lead {
    color: #333;
    font-size: 17px;
    line-height: 1.65;
    margin: 28px 0;
    max-width: 48ch;
}
.careers-perks {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}
.careers-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}
.careers-perks li i {
    color: var(--accent);
    font-size: 16px;
}

.job-card {
    background: #0a0a0a;
    color: var(--fg);
    border-radius: 28px;
    padding: 36px;
    border: 1px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 60%);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.job-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
}
.job-status .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: ping 2s infinite;
}
.job-meta { color: var(--fg-soft); }

.job-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.job-desc {
    color: var(--fg-soft);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.job-divider {
    height: 1px;
    background: var(--border);
    margin: 0 0 24px;
}
.job-section-h {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-soft);
    margin-bottom: 16px;
}
.job-benefits {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    font-size: 12.5px;
    margin-bottom: 8px;
}
.job-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
}
.job-benefits i {
    color: var(--accent);
    font-size: 10px;
}

.job-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: #000;
    border-radius: 14px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.005em;
    transition: all 0.3s var(--ease);
    box-shadow: 0 0 24px var(--accent-glow);
}
.job-apply:hover {
    background: var(--fg);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,255,255,0.15);
}
.loading-dots span {
    display: inline-block;
    opacity: 0.3;
    animation: dot-fade 1.4s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-fade {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

/* ============================================
   16. CONTACT
   ============================================ */
.contact-block {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.block-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.contact-block p {
    color: var(--fg-soft);
    font-size: 15px;
    line-height: 1.7;
}
.contact-block strong { color: var(--fg); }

.contact-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.cs-item { display: flex; flex-direction: column; }
.cs-figure {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fg);
}
.cs-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    margin-top: 6px;
}
.cs-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.contact-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
}
.contact-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-meta > div > span:last-child { color: var(--fg); font-weight: 500; }

/* FORM */
.contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .contact-form { padding: 48px; } }

.form-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.form-progress {
    display: flex;
    gap: 4px;
}
.form-progress span {
    width: 20px; height: 3px;
    background: var(--border);
    border-radius: 99px;
    transition: background 0.3s;
}
.form-progress span:first-child { background: var(--accent); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
}
.field label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.field label .optional {
    color: var(--fg-dim);
    text-transform: none;
    letter-spacing: 0;
    font-size: 10px;
    margin-left: 6px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-strong);
    padding: 10px 0 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--fg);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--fg-dim);
    font-weight: 400;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
}
.field-select { position: relative; }
.field-select select {
    appearance: none;
    cursor: pointer;
    padding-right: 28px;
}
.field-select select option {
    background: #0a0a0a;
    color: var(--fg);
    padding: 8px;
}
.select-chevron {
    position: absolute;
    bottom: 18px;
    right: 4px;
    color: var(--accent);
    font-size: 11px;
    pointer-events: none;
}

.confirm-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    margin: 8px 0 24px;
    transition: all 0.3s;
}
.confirm-row:hover { border-color: var(--accent); }
.confirm-row input { position: absolute; opacity: 0; pointer-events: none; }
.confirm-check {
    width: 18px; height: 18px;
    border: 1.5px solid var(--border-strong);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 9px;
    flex-shrink: 0;
    transition: all 0.25s var(--ease);
}
.confirm-row input:checked + .confirm-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}
.confirm-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-soft);
    letter-spacing: -0.005em;
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 24px;
    background: var(--fg);
    color: #000;
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    margin-top: 8px;
}
.form-submit:hover:not(:disabled) {
    background: var(--accent);
    box-shadow: 0 12px 32px var(--accent-glow);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: #000;
    color: var(--fg);
    border-radius: 99px;
    font-size: 12px;
    transition: transform 0.3s var(--ease);
}
.form-submit:hover .submit-arrow { transform: translateX(4px); }

.status-msg {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent);
    min-height: 1.2em;
}

/* ============================================
   17. FOOTER
   ============================================ */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 56px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}
.footer-logo { animation: none; }
.footer-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.045em;
    line-height: 1;
}
.footer-name sup { font-size: 9px; color: var(--accent); margin-left: 2px; }
.footer-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--fg-muted);
    margin-top: 4px;
}
.ghost-dark {
    color: var(--fg);
    border-color: var(--border-strong);
    background: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    margin-bottom: 56px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-h {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-grid ul li,
.footer-grid ul li a {
    font-size: 14px;
    color: var(--fg-soft);
    transition: color 0.25s;
}
.footer-grid ul li a:hover { color: var(--accent); }
.footer-meta li { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-muted); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

/* ============================================
   18. REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   19. ACCESSIBILITY & MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .puzzle-text span { opacity: 1; transform: none; }
    .reveal { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ============================================
   20. RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 767px) {
    .nav-inner { padding: 6px 6px 6px 14px; }
    .logo-text { font-size: 15px; }
    .logo-sub { display: none; }
    .cta-btn { font-size: 11px; padding: 9px 14px; }
    .cta-btn .ml-2 { display: none; }

    .section { padding: 80px 0; }
    .section-head { margin-bottom: 36px; }

    .hero { padding: 130px 20px 80px; }
    .hero-eyebrow .line { width: 24px; }
    .hero-eyebrow { font-size: 9px; letter-spacing: 0.22em; margin-bottom: 24px; }

    .primary-action { padding: 14px 6px 14px 20px; font-size: 12px; }
    .primary-action .action-arrow { width: 32px; height: 32px; margin-left: 10px; }
    .ghost-action { padding: 14px 20px; font-size: 12px; }

    .map-card { padding: 18px; }
    .bento-item { padding: 22px; }
    .service-card { padding: 26px 22px; min-height: 280px; }
    .card-num { margin-bottom: 50px; }
    .card-arrow { width: 32px; height: 32px; top: 18px; right: 18px; }

    .service-card-featured { padding: 26px 22px; }
    .service-card-featured h3 { font-size: 1.6rem; }

    .method-step { padding: 32px 0; }
    .step-num { font-size: 2.4rem; }

    .contact-form { padding: 26px; border-radius: 22px; }
    .contact-stats { gap: 16px; flex-wrap: wrap; }
    .cs-divider { display: none; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   21. SECTION BACKGROUND EFFECTS (FX layers)
   Each section gets a topic-relevant ambient visual.
   ============================================ */
.section { position: relative; }
.section > .container { position: relative; z-index: 2; }

.section-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ────────────────────────────────────────────
   FX 1 / GENESIS — drifting data dust
   evokes "born from dust" + origin particles
   ──────────────────────────────────────────── */
.fx-dust span {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow);
    opacity: 0;
    animation: dust-drift 14s ease-in-out infinite;
}
.fx-dust span:nth-child(1)  { top:  8%; left:  6%; animation-delay:  0s; }
.fx-dust span:nth-child(2)  { top: 18%; left: 88%; animation-delay:  1.4s; }
.fx-dust span:nth-child(3)  { top: 28%; left: 22%; animation-delay:  2.8s; }
.fx-dust span:nth-child(4)  { top: 40%; left: 72%; animation-delay:  4.2s; }
.fx-dust span:nth-child(5)  { top: 52%; left:  4%; animation-delay:  5.6s; width: 2px; height: 2px; }
.fx-dust span:nth-child(6)  { top: 60%; left: 50%; animation-delay:  7.0s; }
.fx-dust span:nth-child(7)  { top: 72%; left: 84%; animation-delay:  8.4s; }
.fx-dust span:nth-child(8)  { top: 80%; left: 16%; animation-delay:  9.8s; }
.fx-dust span:nth-child(9)  { top: 90%; left: 62%; animation-delay: 11.2s; width: 2px; height: 2px; }
.fx-dust span:nth-child(10) { top: 14%; left: 44%; animation-delay: 12.6s; }
.fx-dust span:nth-child(11) { top: 36%; left: 96%; animation-delay:  3.5s; }
.fx-dust span:nth-child(12) { top: 66%; left: 32%; animation-delay:  6.7s; }
@keyframes dust-drift {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.6); }
    20%  { opacity: 0.7; }
    50%  { transform: translate(20px, -40px) scale(1); }
    80%  { opacity: 0.7; }
    100% { opacity: 0; transform: translate(40px, -80px) scale(0.6); }
}

/* ────────────────────────────────────────────
   FX 2 / ENGINE — EKG heartbeat (live telemetry)
   horizontal scrolling waveform like an ECG monitor
   ──────────────────────────────────────────── */
.fx-ekg {
    color: rgba(6, 182, 212, 0.5);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ekg-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    width: 200%;
    height: 38%;
    animation: ekg-slide 9s linear infinite;
    filter: drop-shadow(0 0 6px rgba(6,182,212,0.45));
}
.ekg-track svg {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
}
@keyframes ekg-slide {
    from { transform: translate(0, -50%); }
    to   { transform: translate(-50%, -50%); }
}
/* Sweep pulse — bright dot following the trace */
.fx-ekg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 78%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px var(--accent-bright), 0 0 32px var(--accent);
    opacity: 0.85;
    animation: ekg-blip 9s linear infinite;
}
@keyframes ekg-blip {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 0.4; }
}

/* ────────────────────────────────────────────
   FX 3 / SERVICES — diagonal flow grid (channels)
   subtle moving diagonal lines like data flow
   ──────────────────────────────────────────── */
.fx-flow {
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 60px,
            rgba(6, 182, 212, 0.05) 60px,
            rgba(6, 182, 212, 0.05) 61px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0,
            transparent 120px,
            rgba(255, 255, 255, 0.025) 120px,
            rgba(255, 255, 255, 0.025) 121px
        );
    animation: flow-slide 32s linear infinite;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    opacity: 0.7;
}
@keyframes flow-slide {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 240px 240px, -480px 480px; }
}
/* floating accent nodes at the intersection of "channels" */
.fx-flow::before,
.fx-flow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.35) 0%, transparent 70%);
    filter: blur(20px);
}
.fx-flow::before { top: 10%; left: 8%;  width: 240px; height: 240px; animation: flow-float-1 18s ease-in-out infinite; }
.fx-flow::after  { bottom: 8%; right: 10%; width: 320px; height: 320px; animation: flow-float-2 22s ease-in-out infinite; }
@keyframes flow-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(40px, -30px); }
}
@keyframes flow-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-50px, 40px); }
}

/* ────────────────────────────────────────────
   FX 4 / METHOD — vertical traveling beam (timeline progression)
   ──────────────────────────────────────────── */
.fx-beam .beam-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 15%,
        rgba(255, 255, 255, 0.06) 85%,
        transparent 100%
    );
    overflow: hidden;
}
.fx-beam .beam-line { left: 10%; }
.fx-beam .beam-line-2 { left: auto; right: 8%; }

.fx-beam .beam-line::after {
    content: '';
    position: absolute;
    left: -2px; right: -2px;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--accent) 50%, transparent);
    box-shadow:
        0 0 12px var(--accent),
        0 0 32px var(--accent-glow);
    animation: beam-travel 7s linear infinite;
    border-radius: 99px;
}
.fx-beam .beam-line-2::after {
    animation-duration: 9s;
    animation-delay: 3s;
    background: linear-gradient(180deg, transparent, var(--accent-bright) 50%, transparent);
}
@keyframes beam-travel {
    from { top: -120px; }
    to   { top: 100%; }
}

/* horizontal "scanner" sweep across method section */
.fx-beam::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
    box-shadow: 0 0 18px rgba(6,182,212,0.35);
    animation: beam-sweep 14s ease-in-out infinite;
    top: 0;
}
@keyframes beam-sweep {
    0%   { top: 5%;  opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

/* ────────────────────────────────────────────
   FX 5 / CONTACT — radar sonar pulse (signal/connection)
   concentric expanding rings, like reaching out
   ──────────────────────────────────────────── */
.fx-radar {
    /* positioned on the right side where the form lives */
}
.fx-radar span {
    position: absolute;
    top: 30%;
    right: -8%;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 50%;
    transform: translate(0, -50%) scale(0);
    animation: radar-pulse 6s ease-out infinite;
    box-shadow:
        inset 0 0 40px rgba(6,182,212,0.05),
        0 0 30px rgba(6,182,212,0.08);
}
.fx-radar span:nth-child(1) { animation-delay: 0s; }
.fx-radar span:nth-child(2) { animation-delay: 1.5s; }
.fx-radar span:nth-child(3) { animation-delay: 3.0s; }
.fx-radar span:nth-child(4) { animation-delay: 4.5s; }
@keyframes radar-pulse {
    0%   { transform: translate(0, -50%) scale(0.1); opacity: 0.9; border-color: rgba(6,182,212,0.45); }
    100% { transform: translate(0, -50%) scale(1.6); opacity: 0; border-color: rgba(6,182,212,0.05); }
}
/* Central radar origin point */
.fx-radar::before {
    content: '';
    position: absolute;
    top: 30%; right: 8%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px var(--accent), 0 0 36px var(--accent);
    transform: translateY(-50%);
    animation: radar-origin 2s ease-in-out infinite;
}
@keyframes radar-origin {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50%      { opacity: 0.5; transform: translateY(-50%) scale(0.7); }
}

/* ────────────────────────────────────────────
   Reduced motion — disable section FX animations
   ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .fx-dust span,
    .ekg-track,
    .fx-flow,
    .fx-flow::before,
    .fx-flow::after,
    .fx-beam .beam-line::after,
    .fx-beam::before,
    .fx-radar span,
    .fx-radar::before { animation: none !important; }
    .section-fx { opacity: 0.3; }
}

/* mobile — keep effects but lighter */
@media (max-width: 767px) {
    .fx-radar span { width: 280px; height: 280px; }
    .fx-beam .beam-line { left: 4%; }
    .fx-beam .beam-line-2 { right: 4%; }
    .ekg-track { height: 28%; }
}
