/* =========================================================================
   KUHN SYSTEMS — Design Tokens v1.0
   ========================================================================= */
:root {
    /* Background */
    --bg-dark: #0A0D12;
    --bg-surface: #111820;
    --bg-light: #F7F8FA;
    --bg-white: #FFFFFF;

    /* Text */
    --text-on-dark: #FBFAFA;
    --text-on-light: #0A0D12;
    --text-muted: #5A6E7D;

    /* Brand */
    --teal: #00829B;
    --teal-hover: #009ab5;
    --navy: #1A4A6B;

    /* Lines */
    --line-dark: #323F4E;
    --line-light: #CBD5E0;

    /* Typography */
    --font: 'Exo 2', system-ui, sans-serif;

    /* Spacing (8px grid) */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 32px;
    --sp-xl: 40px;
    --sp-2xl: 48px;
    --sp-3xl: 64px;

    /* Radius */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgb(0 0 0 / 0.25);
    --shadow-md: 0 4px 16px rgb(0 0 0 / 0.2);
    --shadow-lg: 0 12px 40px rgb(0 0 0 / 0.3);

    /* Transition */
    --t: 0.22s ease;

    /* Section rhythm */
    --section: clamp(4rem, 8vw, 6rem);
}

/* =========================================================================
   RESET
   ========================================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font);
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

/* =========================================================================
   CUSTOM CURSOR
   ========================================================================= */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
    will-change: left, top;
    top: -20px;
    left: -20px;
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.45;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    will-change: left, top;
    top: -30px;
    left: -30px;
}

.cursor.is-hovering {
    transform: scale(2);
}

.cursor-ring.is-hovering {
    width: 48px;
    height: 48px;
    opacity: 0.75;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.section-padding {
    padding: var(--section) 0;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 span {
    color: var(--teal);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal);
    margin-bottom: var(--sp-sm);
}

.section-header {
    margin-bottom: var(--sp-3xl);
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--sp-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-xs);
    font-family: var(--font);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 12px 24px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    cursor: none;
    transition: all var(--t);
}

.btn-primary {
    background-color: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    border-color: var(--teal-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 130, 155, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-on-dark);
    border-color: var(--line-dark);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-large {
    padding: 15px 32px;
    font-size: 13px;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    padding: 14px 0;
    transition: all var(--t);
}

.navbar.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--line-dark);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
    padding: 0 7vw;
}

/* Brand / Logo */
.brand {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.brand-mark--sm {
    width: 28px;
    height: 28px;
}

.brand-mark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.brand-kuhn {
    font-family: var(--font);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-on-dark);
}

.brand-systems {
    font-family: var(--font);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--teal);
    text-transform: uppercase;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
}

.nav-links a:not(.btn) {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    position: relative;
    transition: color var(--t);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width var(--t);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--text-on-dark);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.lang-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    cursor: pointer;
    transition: color var(--t), border-color var(--t);
    line-height: 1;
    flex-shrink: 0;
}

.lang-toggle:hover {
    color: var(--teal);
    border-color: rgba(0, 130, 155, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-on-dark);
    padding: var(--sp-xs);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0 7vw;
    gap: 4vw;
    background: var(--bg-dark);
    overflow: hidden;
    scroll-snap-align: start;
}

/* Spotlight — follows mouse */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 440px at var(--mx, -600px) var(--my, -600px),
            rgba(0, 130, 155, 0.11) 0%,
            rgba(0, 130, 155, 0.04) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Canvas circuit background */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

/* Grain texture */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ---- Left column ---- */
.hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5rem;
    /* clears fixed nav (~64px) */
    padding-bottom: 2rem;
    height: 100%;
    overflow: hidden;
}

/* ---- Right column / Monogram ---- */
.hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.hero-monogram {
    position: relative;
    width: clamp(260px, 34vw, 500px);
    aspect-ratio: 1;
    opacity: 0;
    animation: heroFadeIn 1.2s ease 0.5s forwards;
    transform: translateY(var(--parallax-y, 0px)) perspective(900px) rotateX(var(--parallax-rx, 0deg)) rotateY(var(--parallax-ry, 0deg));
    will-change: transform;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse,
            rgba(0, 130, 155, 0.18) 0%,
            rgba(26, 74, 107, 0.12) 50%,
            transparent 75%);
    filter: blur(52px);
    animation: heroGlowPulse 5s ease-in-out infinite;
}

@keyframes heroGlowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    animation: heroRingRotate 40s linear infinite;
}

.hero-ring--outer {
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-ring--outer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal);
}

.hero-ring--inner {
    inset: 14%;
    border: 1px solid rgba(0, 130, 155, 0.22);
    animation-duration: 26s;
    animation-direction: reverse;
}

@keyframes heroRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scanline */
.hero-scanline {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.hero-scanline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0.35;
    animation: heroScan 3s ease-in-out infinite;
}

@keyframes heroScan {
    0% {
        top: -5%;
    }

    100% {
        top: 105%;
    }
}

/* Corner ticks */
.hero-ticks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-tick {
    position: absolute;
    width: 12px;
    height: 12px;
}

.hero-tick::before,
.hero-tick::after {
    content: '';
    position: absolute;
    background: var(--teal);
    opacity: 0.5;
}

.hero-tick--tl {
    top: 15%;
    left: 15%;
}

.hero-tick--tl::before {
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-tick--tl::after {
    height: 1px;
    width: 100%;
    top: 0;
    left: 0;
}

.hero-tick--tr {
    top: 15%;
    right: 15%;
}

.hero-tick--tr::before {
    width: 1px;
    height: 100%;
    top: 0;
    right: 0;
    left: auto;
}

.hero-tick--tr::after {
    height: 1px;
    width: 100%;
    top: 0;
    right: 0;
    left: auto;
}

.hero-tick--bl {
    bottom: 15%;
    left: 15%;
}

.hero-tick--bl::before {
    width: 1px;
    height: 100%;
    bottom: 0;
    top: auto;
    left: 0;
}

.hero-tick--bl::after {
    height: 1px;
    width: 100%;
    bottom: 0;
    top: auto;
    left: 0;
}

.hero-tick--br {
    bottom: 15%;
    right: 15%;
}

.hero-tick--br::before {
    width: 1px;
    height: 100%;
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
}

.hero-tick--br::after {
    height: 1px;
    width: 100%;
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
}

/* K mark */
.hero-k-mark {
    position: absolute;
    inset: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-k-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.32;
}

/* Data tags */
.hero-data-tag {
    position: absolute;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--teal);
    opacity: 0.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-dt--1 {
    top: 5%;
    right: -5%;
}

.hero-dt--2 {
    bottom: 8%;
    left: -8%;
}

.hero-dt--3 {
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
}

/* ---- Hero Text ---- */
.hero-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
    margin-bottom: 2.25rem;
    opacity: 0;
    animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--teal);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--text-on-dark);
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.04em;
    white-space: nowrap;
}

.hero-line {
    display: block;
}

.hero-line--1 {
    opacity: 0;
    animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero-line--2 {
    color: var(--teal);
    opacity: 0;
    animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
    display: flex;
    align-items: baseline;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typewriter cursor */
.hero-cursor {
    display: inline-block;
    color: var(--teal);
    font-weight: 200;
    margin-left: 0.03em;
    animation: heroCursorBlink 0.9s step-end infinite;
}

@keyframes heroCursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 46ch;
    margin-bottom: 2.75rem;
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}

.hero-subtitle em {
    font-style: normal;
    color: #8FA8B0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    margin-bottom: 0;
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

/* Angled clip-path primary button — hero only */
.hero .btn-primary {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    border-radius: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-101%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.hero .btn-primary:hover {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--bg-dark);
    transform: none;
    box-shadow: none;
}

.hero .btn-primary:hover::before {
    transform: translateX(0);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-dark);
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-on-dark);
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 7vw;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    z-index: 3;
    opacity: 0;
    animation: heroFadeUp 0.6s ease 1.8s forwards;
}

.hero-scroll-line {
    width: 32px;
    height: 1px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--teal);
    animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* =========================================================================
   MISSION
   ========================================================================= */
.mission {
    background: var(--bg-dark);
    padding: 10rem 7vw 8rem;
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 180, 200, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.mission-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-header {
    margin-bottom: 5rem;
}

.mission-label {
    font-family: 'Exo 2', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.mission-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

.mission-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 4.5vw, 5.2rem);
    line-height: 1.0;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

.mission-headline--accent {
    color: var(--teal);
}

/* Cards — asymmetric grid */
.mission-cards {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.mission-cards-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Base card */
.mission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
}

.mission-card:hover {
    border-color: rgba(0, 180, 200, 0.25);
    background: rgba(0, 180, 200, 0.04);
}

/* Large card — left */
.mission-card--large {
    padding: 3.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mission-card--large h3 {
    font-size: 1.5rem;
}

.mission-card--large p {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 38ch;
}

/* Highlighted card */
.mission-card--highlight {
    background: rgba(0, 180, 200, 0.07);
    border-color: rgba(0, 180, 200, 0.2);
}

.mission-card--highlight:hover {
    background: rgba(0, 180, 200, 0.11);
    border-color: rgba(0, 180, 200, 0.4);
}

/* Card number — large background ghost */
.card-num {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    letter-spacing: -0.02em;
    pointer-events: none;
    transition: color 0.3s;
}

.mission-card:hover .card-num {
    color: rgba(0, 180, 200, 0.12);
}

.card-body {
    position: relative;
    z-index: 1;
}

.card-body h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.card-body p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

/* Bottom accent line — animates in on hover */
.card-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--teal);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-card:hover .card-accent-line {
    width: 100%;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services {
    background: #0D1417;
    padding: 10rem 7vw 8rem;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at 100% 100%, rgba(0, 180, 200, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 5rem;
}

.services-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.services-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

.services-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 4.5vw, 5.2rem);
    line-height: 1.0;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Card */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
}

.service-card:hover {
    border-color: rgba(0, 180, 200, 0.3);
    background: rgba(0, 180, 200, 0.04);
}

.service-card--active {
    background: rgba(0, 180, 200, 0.07);
    border-color: rgba(0, 180, 200, 0.22);
}

/* Card top row — number + icon */
.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.service-num {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--teal);
}

/* Custom SVG icon */
.service-icon {
    width: 36px;
    height: 36px;
    color: var(--teal);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.service-card:hover .service-icon {
    opacity: 1;
}

/* Title */
.service-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

/* Description */
.service-desc {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Feature list */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-list li {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6A7E85;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-list li::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 1px;
    background: var(--teal);
    opacity: 0.5;
    flex-shrink: 0;
}

/* Bottom accent line on hover */
.service-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--teal);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-accent {
    width: 100%;
}

/* =========================================================================
   WORK / PORTFOLIO
   ========================================================================= */
.work {
    background: var(--bg-dark);
    padding: 10rem 7vw 8rem;
    position: relative;
    overflow: hidden;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at 0% 0%,
            rgba(0, 180, 200, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.work-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.work-header {
    margin-bottom: 4rem;
}

.work-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.work-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

.work-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 4.5vw, 5.2rem);
    line-height: 1.0;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

/* Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Card base */
.work-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease,
        opacity 0.35s ease,
        filter 0.35s ease;
}

/* Dim non-hovered cards */
.work-grid.has-hover .work-card:not(.is-hovered) {
    opacity: 0.35;
    filter: brightness(0.5);
    transform: scale(0.97);
}

/* Expand hovered card */
.work-grid.has-hover .work-card.is-hovered {
    transform: scale(1.04);
    border-color: rgba(0, 180, 200, 0.45);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 180, 200, 0.1);
    z-index: 2;
}

/* Image area */
.work-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.work-grid.has-hover .work-card.is-hovered .work-card-image img {
    transform: scale(1.05);
}

/* Placeholder */
.work-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(0, 180, 200, 0.06) 0%,
            rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.35s;
}

.work-grid.has-hover .work-card.is-hovered .work-card-placeholder {
    background: linear-gradient(135deg,
            rgba(0, 180, 200, 0.12) 0%,
            rgba(0, 0, 0, 0.15) 100%);
}

.work-card-placeholder svg {
    width: 44px;
    height: 44px;
    color: rgba(0, 180, 200, 0.3);
    transition: color 0.35s;
}

.work-grid.has-hover .work-card.is-hovered .work-card-placeholder svg {
    color: rgba(0, 180, 200, 0.6);
}

/* Tag + Year */
.work-card-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0, 0, 0, 0.65);
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(0, 180, 200, 0.25);
    backdrop-filter: blur(4px);
}

.work-card-year {
    position: absolute;
    bottom: 1.1rem;
    right: 1rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* Card body */
.work-card-body {
    padding: 1.75rem 2rem 2rem;
}

.work-card-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-on-dark);
    margin-bottom: 0.6rem;
}

.work-card-desc {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.work-card-link {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: gap 0.25s ease, opacity 0.25s;
}

.work-grid.has-hover .work-card.is-hovered .work-card-link {
    opacity: 1;
    gap: 0.8rem;
}

/* Bottom accent */
.work-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--teal);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-grid.has-hover .work-card.is-hovered .work-card-accent {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-grid.has-hover .work-card:not(.is-hovered) {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .work-grid.has-hover .work-card.is-hovered {
        transform: none;
    }
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about {
    background: #0D1417;
    padding: 10rem 7vw 10rem;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 50%,
            rgba(0, 180, 200, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
}

/* ── Left column ── */
.about-left {
    position: relative;
}

.about-photo-wrap {
    position: relative;
    height: 560px;
    transform-style: preserve-3d;
}

/* Parallax layers */
.about-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    transition: transform 0.08s ease-out;
}

.about-layer--grid {
    inset: -20px;
    opacity: 0.6;
}

.about-layer--block {
    top: auto;
    left: -2rem;
    right: auto;
    bottom: 2rem;
    width: 55%;
    height: 65%;
    background: rgba(0, 180, 200, 0.08);
    border: 1px solid rgba(0, 180, 200, 0.15);
}

.about-layer--photo {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-layer--tag {
    inset: auto;
    bottom: 1.5rem;
    right: -1rem;
    width: auto;
    height: auto;
}

/* Photo frame */
.about-photo-frame {
    position: relative;
    width: 85%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.4s;
}

.about-photo-frame:hover .about-photo-img {
    filter: grayscale(0%) contrast(1.0);
}

/* Scanlines */
.about-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.08) 2px,
            rgba(0, 0, 0, 0.08) 4px);
    pointer-events: none;
    z-index: 2;
}

/* Corner ticks */
.about-tick {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 3;
}

.about-tick::before,
.about-tick::after {
    content: '';
    position: absolute;
    background: var(--teal);
}

.about-tick--tl {
    top: -1px;
    left: -1px;
}

.about-tick--tl::before {
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
}

.about-tick--tl::after {
    height: 1px;
    width: 100%;
    top: 0;
    left: 0;
}

.about-tick--tr {
    top: -1px;
    right: -1px;
}

.about-tick--tr::before {
    width: 1px;
    height: 100%;
    top: 0;
    right: 0;
    left: auto;
}

.about-tick--tr::after {
    height: 1px;
    width: 100%;
    top: 0;
    right: 0;
    left: auto;
}

.about-tick--bl {
    bottom: -1px;
    left: -1px;
}

.about-tick--bl::before {
    width: 1px;
    height: 100%;
    bottom: 0;
    left: 0;
    top: auto;
}

.about-tick--bl::after {
    height: 1px;
    width: 100%;
    bottom: 0;
    left: 0;
    top: auto;
}

.about-tick--br {
    bottom: -1px;
    right: -1px;
}

.about-tick--br::before {
    width: 1px;
    height: 100%;
    bottom: 0;
    right: 0;
    left: auto;
    top: auto;
}

.about-tick--br::after {
    height: 1px;
    width: 100%;
    bottom: 0;
    right: 0;
    left: auto;
    top: auto;
}

/* Floating tag */
.about-float-tag {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(8, 12, 14, 0.85);
    border: 1px solid rgba(0, 180, 200, 0.25);
    padding: 0.45rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.about-float-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: aboutPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes aboutPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* ── Right column ── */
.about-right {
    position: relative;
    z-index: 2;
}

.about-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.about-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

/* Terminal headline */
.about-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.05;
    color: var(--text-on-dark);
    margin-bottom: 2.5rem;
    min-height: 2.2em;
}

.about-typed {
    color: var(--text-on-dark);
}

.about-cursor {
    color: var(--teal);
    animation: aboutBlink 0.8s step-end infinite;
    font-weight: 300;
}

@keyframes aboutBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Body text */
.about-body {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.about-body.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-body p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.25rem;
}

/* Quote */
.about-quote {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    border-left: 2px solid var(--teal);
    padding-left: 1.25rem;
    margin: 2rem 0;
    line-height: 1.7;
}

/* Stats */
.about-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about-stat-num {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--teal);
    line-height: 1;
}

.about-stat-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-photo-wrap {
        height: 400px;
    }
}

/* =========================================================================
   BLOG
   ========================================================================= */
.blog {
    background: #0D1417;
}

/* ─── BLOG (Uses Service Card Components) ────────── */
.blog-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 1.25rem;
}

.blog-link i {
    width: 14px;
    height: 14px;
}

/* ─── TESTIMONIALS ────────────────────────────────── */
.testimonials {
    background: var(--dark);
    padding: 10rem 7vw 10rem;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse at 100% 100%,
            rgba(0, 180, 200, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

.testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8vw;
    align-items: center;
}

/* Header — left column */
.testimonials-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.testimonials-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

.testimonials-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* Stage — right column */
.testimonials-stage {
    position: relative;
    padding: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

/* Decorative vertical teal line on left edge */
.testimonials-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--teal) 30%,
            var(--teal) 70%,
            transparent 100%);
    opacity: 0.4;
}

/* Quote mark */
.testimonials-quote-mark {
    color: var(--teal);
    opacity: 0.4;
    margin-bottom: 1.75rem;
}

/* Quote text */
.testimonials-quote {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2.5rem;
    font-style: normal;
    min-height: 6em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonials-quote.is-transitioning {
    opacity: 0;
    transform: translateY(8px);
}

/* Person row */
.testimonials-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: opacity 0.3s ease;
}

.testimonials-person.is-transitioning {
    opacity: 0;
}

.testimonials-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 180, 200, 0.12);
    border: 1px solid rgba(0, 180, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.testimonials-person-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonials-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.testimonials-role {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 300;
}

/* Navigator row */
.testimonials-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials-counter {
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 48px;
}

.testimonials-counter-sep {
    opacity: 0.4;
}

.testimonials-counter-total {
    opacity: 0.4;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.testimonials-dot {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}

.testimonials-dot.is-active {
    background: var(--teal);
    width: 32px;
}

.testimonials-arrows {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.testimonials-arrow {
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.testimonials-arrow:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0, 180, 200, 0.06);
}

@media (max-width: 900px) {
    .testimonials-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonials-stage {
        padding: 2rem;
    }
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact {
    background: var(--dark);
    padding: 10rem 7vw 10rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Munich silhouette */
.contact-silhouette {
    position: absolute;
    right: -4vw;
    top: 0;
    bottom: 0;
    width: 65%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    /* Fade from transparent on left to full opacity on right */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 30%, black 62%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 30%, black 62%);
}

.contact-silhouette img {
    width: 100%;
    height: 75%;
    object-fit: contain;
    object-position: center right;
    opacity: 0.06;
    filter: sepia(0.4) saturate(1.2) hue-rotate(155deg) brightness(2.5);
    mix-blend-mode: screen;
    transition: opacity 1s ease;
}


.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contact-left {
    max-width: 540px;
}

/* Label */
.contact-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
}

/* Headline */
.contact-headline {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 4.5vw, 5.5rem);
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.contact-headline--accent {
    color: var(--teal);
}

/* Subline */
.contact-sub {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 46ch;
    margin-bottom: 3rem;
}

.contact-sub em {
    font-style: normal;
    color: #8FA8B0;
}

/* Primary CTA */
.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--teal);
    text-decoration: none;
    padding: 1rem 2rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: color 0.25s;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateX(-101%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.contact-cta:hover {
    color: var(--dark);
}

.contact-cta:hover::before {
    transform: translateX(0);
}

.contact-cta span,
.contact-cta svg {
    position: relative;
    z-index: 1;
}

/* Contact links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

a.contact-link:hover {
    padding-left: 0.5rem;
}

.contact-link--static {
    cursor: default;
}

.contact-link-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
    transition: border-color 0.25s, background 0.25s;
}

a.contact-link:hover .contact-link-icon {
    border-color: rgba(0, 180, 200, 0.35);
    background: rgba(0, 180, 200, 0.06);
}

.contact-link-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.contact-link-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
}

.contact-link-value {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.contact-link-arrow {
    font-size: 0.9rem;
    color: var(--muted);
    transition: transform 0.25s, color 0.25s;
    margin-left: auto;
}

a.contact-link:hover .contact-link-arrow {
    transform: translateX(4px);
    color: var(--teal);
}

@media (max-width: 900px) {
    .contact-silhouette {
        width: 100%;
        right: 0;
        opacity: 0.5;
    }

    .contact-left {
        max-width: 100%;
    }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--line-dark);
    padding-top: var(--sp-3xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-3xl);
    align-items: start;
}

.footer-logo {
    display: block;
    height: 70px;
    width: auto;
    margin-bottom: var(--sp-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.footer-nav-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
}

.footer-nav,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-legal a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--t);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    padding: var(--sp-md) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-block;
    border-top: 1px solid rgba(50, 63, 78, 0.25);
    padding-top: var(--sp-md);
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.14s;
}

.delay-2 {
    transition-delay: 0.28s;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-headline {
        font-size: clamp(2rem, 7vw, 3rem);
    }
}

@media (max-width: 1024px) {

    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-cards {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--sp-2xl);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-2xl);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-top: 1px solid var(--line-dark);
        flex-direction: column;
        gap: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.35s ease;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a {
        padding: var(--sp-md);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--line-dark);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .nav-btn {
        margin: var(--sp-md);
        width: calc(100% - 2 * var(--sp-md));
    }

    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .mission-headline {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .mission-card--large {
        min-height: auto;
        padding: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 0 6vw;
        height: 100vh;
    }

    .hero-right {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.5rem, 11vw, 4rem);
        white-space: normal;
    }

    /* Hide custom cursor on touch devices */
    .cursor,
    .cursor-ring {
        display: none;
    }

    /* Relax VH snap on small screens — let content breathe */
    .section-padding {
        min-height: auto;
        scroll-snap-align: none;
        padding: 1.5rem 0;
    }

    .section-header,
    .section-header-inline {
        margin-bottom: 2rem;
    }

    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .about-stats {
        gap: var(--sp-xl);
        flex-wrap: wrap;
    }

    /* Mission cards */
    .mission-card--large {
        padding: 1.75rem;
    }

    /* Services cards */
    .services-card {
        padding: 1.75rem;
    }

    /* Work grid gap */
    .work-grid {
        gap: 1rem;
    }

    /* Testimonials */
    .testimonials-stage {
        padding: 1.5rem;
    }

    /* Contact */
    .contact {
        padding: 3rem 6vw;
        min-height: auto;
    }

    .contact-headline {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    /* About section */
    .about {
        padding: 2rem 6vw;
    }

    .about-photo-wrap {
        height: 380px;
        overflow: hidden;
    }

    /* Blog cards */
    .blog-grid {
        gap: 1rem;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-sm);
        text-align: center;
    }
}
/* =========================================================================
   ARTICLE OVERLAY
   ========================================================================= */
.article-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.article-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.article-overlay-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(28px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-overlay.is-open .article-overlay-inner {
    transform: translateY(0);
}

/* Top bar */
.article-overlay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 7vw;
    border-bottom: 1px solid var(--line-dark);
    flex-shrink: 0;
}

.article-overlay-bar-left {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.article-overlay-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.article-overlay-date {
    font-size: 12px;
    color: var(--text-muted);
}

.article-overlay-close {
    background: none;
    border: 1px solid var(--line-dark);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--t), border-color var(--t);
}

.article-overlay-close:hover {
    color: var(--text-on-dark);
    border-color: var(--teal);
}

/* Scrollable area */
.article-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 4rem 7vw 6rem;
    scrollbar-width: thin;
    scrollbar-color: var(--line-dark) transparent;
}

.article-scroll::-webkit-scrollbar {
    width: 4px;
}
.article-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.article-scroll::-webkit-scrollbar-thumb {
    background: var(--line-dark);
    border-radius: 2px;
}

/* Article content column */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-on-dark);
    margin-bottom: 1.5rem;
}

.article-lead {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    border-left: 2px solid var(--teal);
    padding-left: 1.2rem;
    margin: 0 0 2.5rem;
}

/* Hero image */
.article-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 3rem;
    overflow: hidden;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    border: 1px dashed var(--line-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Article body typography */
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(251, 250, 250, 0.78);
}

.article-body p + p {
    margin-top: 1.6rem;
}

.article-body h2 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--text-on-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    border-left: 2px solid var(--teal);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-on-dark);
    font-size: 1.1rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Inline image inside article */
.article-body figure {
    margin: 2.5rem 0;
}

.article-body figure img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .article-scroll {
        padding: 2.5rem var(--sp-md) 4rem;
    }

    .article-overlay-bar {
        padding: 14px var(--sp-md);
    }
}

/* Article footer (sources) */
.article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-dark);
}

.article-footer h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-footer li {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-footer a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--t);
}

.article-footer a:hover {
    color: var(--text-on-dark);
}

/* Article table */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.article-body th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    border-bottom: 1px solid var(--line-dark);
}

.article-body td {
    padding: 12px 14px;
    color: rgba(251, 250, 250, 0.78);
    border-bottom: 1px solid rgba(50, 63, 78, 0.4);
    vertical-align: top;
}

.article-body tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   PROJECT OVERLAYS — shared base + three interactive panels
   ============================================================ */

/* Inner panel: wider max-width than articles */
.proj-overlay-inner {
    max-width: none;
}

.project-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

/* ── Shared: proj-meta grid ── */
.proj-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: 6px;
    overflow: hidden;
    margin: 36px 0 24px;
}

.proj-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: var(--bg-surface);
}

.proj-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.proj-stat-value {
    font-size: 0.9rem;
    color: var(--text-on-dark);
    font-weight: 500;
}

.proj-status-live {
    color: var(--teal);
}

/* ── Shared: tech tag row ── */
.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proj-tags span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid rgba(0,130,155,0.25);
    border-radius: 3px;
    color: rgba(0,130,155,0.8);
    font-family: 'Courier New', monospace;
}

/* ── Beta badge in overlay bar ── */
.proj-beta-badge {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 7px;
    border: 1px solid rgba(0,130,155,0.4);
    border-radius: 3px;
    color: var(--teal);
    font-family: 'Courier New', monospace;
}

/* ============================================================
   BROWSER CHROME MOCKUP (keetsbyRIKHAUS)
   ============================================================ */
.browser-wrap {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 36px;
    background: #0d1117;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--line-dark);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bd-red    { background: #ff5f57; }
.bd-yellow { background: #febc2e; }
.bd-green  { background: #28c840; }

.browser-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-viewport {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.browser-viewport iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.browser-placeholder-screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1520 0%, #0a1018 100%);
}

.bps-content {
    text-align: center;
}

.bps-brand {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-on-dark);
    margin-bottom: 10px;
    opacity: 0.85;
}

.bps-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.bps-loader {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.bps-loader span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.3;
    animation: bpspulse 1.4s ease-in-out infinite;
}

.bps-loader span:nth-child(2) { animation-delay: 0.2s; }
.bps-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bpspulse {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
    40%            { opacity: 0.9; transform: scale(1);    }
}

/* ============================================================
   PROJECT ALPHA — Mini Trading Dashboard
   ============================================================ */
.alpha-dashboard {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 36px;
    background: var(--bg-surface);
}

.alpha-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line-dark);
}

.alpha-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 28px;
    border-right: 1px solid var(--line-dark);
}

.alpha-stat:last-child {
    border-right: none;
}

.alpha-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.alpha-stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Chart */
.alpha-chart-wrap {
    padding: 0;
    border-bottom: 1px solid var(--line-dark);
    background: #080d12;
    height: 210px;
}

.alpha-chart {
    width: 100%;
    height: 100%;
    display: block;
}

.alpha-chart-line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.alpha-dashboard.chart-drawn .alpha-chart-line {
    stroke-dashoffset: 0;
}

/* Trade feed */
.alpha-trades {
    border-bottom: 1px solid var(--line-dark);
}

.alpha-trades-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(50, 63, 78, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.alpha-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
}

.alpha-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: livepulse 1.8s ease-in-out infinite;
}

@keyframes livepulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.alpha-trade-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(50, 63, 78, 0.3);
    font-size: 0.83rem;
    transition: background 0.15s;
}

.alpha-trade-row:last-child {
    border-bottom: none;
}

.alpha-trade-row:hover {
    background: rgba(255,255,255,0.02);
}

.trade-badge {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.trade-badge.buy {
    background: rgba(0, 130, 155, 0.15);
    color: var(--teal);
    border: 1px solid rgba(0, 130, 155, 0.3);
}

.trade-badge.sell {
    background: rgba(220, 60, 60, 0.12);
    color: #e05555;
    border: 1px solid rgba(220, 60, 60, 0.25);
}

.trade-sym {
    font-weight: 700;
    color: var(--text-on-dark);
    font-family: 'Courier New', monospace;
    min-width: 44px;
}

.trade-detail {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.trade-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

/* Telegram strip */
.alpha-telegram {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    color: var(--teal);
    background: rgba(0, 130, 155, 0.06);
}

.alpha-tg-title {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-bottom: 2px;
}

.alpha-tg-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ============================================================
   PROJECT ANTJE — Animated Pipeline
   ============================================================ */
.pipeline-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 48px 32px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: var(--bg-surface);
    margin-bottom: 16px;
    flex-wrap: nowrap;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 110px;
    transition: all 0.35s ease;
}

.pipeline-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid var(--line-dark);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.35s ease;
}

.pipeline-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-on-dark);
    text-align: center;
    transition: color 0.35s;
}

.pipeline-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.03em;
}

/* Active states during simulation */
.pipeline-stage.is-active .pipeline-icon {
    border-color: var(--teal);
    background: rgba(0, 130, 155, 0.12);
    color: var(--teal);
    box-shadow: 0 0 18px rgba(0, 130, 155, 0.2);
}

.pipeline-stage.is-active .pipeline-label {
    color: var(--teal);
}

/* Done state */
.pipeline-stage.is-done .pipeline-icon {
    border-color: rgba(0, 130, 155, 0.3);
    color: rgba(0, 130, 155, 0.5);
}

/* Arrow connectors */
.pipeline-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
    color: var(--line-dark);
}

.pipeline-flow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0%;
    height: 2px;
    background: var(--teal);
    transition: width 0.6s ease 0.2s;
    box-shadow: 0 0 6px var(--teal);
}

.pipeline-arrow.flow-active .pipeline-flow {
    width: 100%;
}

/* Pipeline controls */
.pipeline-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.pipeline-simulate-btn {
    background: none;
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 8px 20px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.pipeline-simulate-btn:hover {
    background: rgba(0, 130, 155, 0.1);
}

.pipeline-simulate-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Antje stats */
.antje-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 36px;
}

.antje-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 28px 20px;
    background: var(--bg-surface);
    text-align: center;
}

.antje-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.antje-stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Responsive: collapse proj-meta to single column on small ── */
@media (max-width: 540px) {
    .proj-meta {
        grid-template-columns: 1fr;
    }
    .alpha-stats {
        grid-template-columns: 1fr;
    }
    .alpha-stat {
        border-right: none;
        border-bottom: 1px solid var(--line-dark);
    }
    .alpha-stat:last-child { border-bottom: none; }
    .antje-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .pipeline-wrap {
        flex-direction: column;
        gap: 8px;
    }
    .pipeline-arrow {
        transform: rotate(90deg);
    }
    .browser-viewport {
        height: 200px;
    }
}

/* ============================================================
   PROJECT FUNNL — Sophisticated Flow Animation
   ============================================================ */

.funnl-flow {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* Each step card */
.funnl-step {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.funnl-step.is-active {
    border-color: var(--teal);
    box-shadow: 0 0 24px rgba(0, 130, 155, 0.12);
}

.funnl-step.is-done {
    border-color: rgba(0, 130, 155, 0.3);
}

/* Step header */
.funnl-step-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(255,255,255,0.02);
}

.funnl-step-num {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.funnl-step-label {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-on-dark);
}

.funnl-step-tag {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid rgba(0, 130, 155, 0.25);
    border-radius: 2px;
    color: var(--teal);
    font-family: 'Courier New', monospace;
}

.funnl-tag-roadmap {
    border-color: rgba(255,255,255,0.08);
    color: var(--text-muted);
}

/* Connector between steps */
.funnl-conn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0;
    gap: 4px;
}

.funnl-conn-line {
    width: 2px;
    height: 32px;
    background: var(--line-dark);
    position: relative;
    overflow: hidden;
}

.funnl-conn-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--teal);
    box-shadow: 0 0 8px var(--teal);
    transition: height 0.6s ease;
}

.funnl-conn.is-flowing .funnl-conn-fill {
    height: 100%;
}

.funnl-conn-label {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.funnl-conn-future {
    opacity: 0.3;
}

.funnl-conn-line-dashed {
    background: repeating-linear-gradient(
        to bottom,
        var(--line-dark) 0,
        var(--line-dark) 4px,
        transparent 4px,
        transparent 8px
    );
}

/* ── Email inbox mockup ── */
.funnl-inbox {
    display: flex;
    flex-direction: column;
}

.inbox-row {
    display: grid;
    grid-template-columns: 14px 1fr 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(50, 63, 78, 0.3);
    font-size: 0.78rem;
    transition: background 0.2s;
}

.inbox-row:last-child {
    border-bottom: none;
}

.inbox-row.inbox-dim {
    opacity: 0.4;
}

.inbox-row.inbox-new {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    background: rgba(0, 130, 155, 0.05);
    border-left: 2px solid var(--teal);
}

.inbox-row.inbox-new.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.inbox-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.inbox-dot-new {
    background: var(--teal);
    box-shadow: 0 0 6px var(--teal);
}

.inbox-from {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-subj {
    color: var(--text-on-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-subj-bold {
    font-weight: 600;
    color: var(--text-on-dark);
}

.inbox-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    text-align: right;
    flex-shrink: 0;
}

.inbox-time-new {
    color: var(--teal);
}

/* ── Document scanner ── */
.funnl-scanner {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 28px;
    padding: 24px 22px;
    align-items: center;
}

.funnl-doc {
    position: relative;
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    width: 160px;
    height: 200px;
    flex-shrink: 0;
}

.fdoc-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 12px 8px;
    border-bottom: 1px solid rgba(50,63,78,0.4);
}

.fdoc-logo {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: rgba(0, 130, 155, 0.2);
    flex-shrink: 0;
}

.fdoc-company {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 2px;
}

.fdoc-rechnungnr {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 2px;
}

.fdoc-line {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.fdoc-line-sm { width: 65%; }
.fdoc-line-xs { width: 40%; }

.fdoc-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fdoc-amount-row {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid rgba(0, 130, 155, 0.2);
    border-radius: 3px;
}

.fdoc-amount-label {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.fdoc-amount-val {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--teal);
    font-family: 'Courier New', monospace;
}

/* Scan beam */
.funnl-scan-beam {
    position: absolute;
    left: 0;
    top: -6px;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
        rgba(0,130,155,0),
        rgba(0,130,155,0.9) 30%,
        rgba(0,130,155,0.9) 70%,
        rgba(0,130,155,0));
    box-shadow: 0 0 12px rgba(0, 130, 155, 0.7), 0 0 24px rgba(0, 130, 155, 0.3);
    opacity: 0;
    pointer-events: none;
}

.funnl-scan-beam.is-scanning {
    opacity: 1;
    animation: funnlbeam 1.8s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes funnlbeam {
    0%   { top: -6px; opacity: 1; }
    90%  { top: calc(100% + 6px); opacity: 1; }
    100% { top: calc(100% + 6px); opacity: 0; }
}

/* Extracted fields */
.funnl-extracted {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fext-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fext-field.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fext-key {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.fext-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-on-dark);
}

.fext-val-hi {
    color: var(--teal);
}

/* Confidence bar */
.fext-conf {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    margin-top: 4px;
}

.fext-conf.is-visible {
    opacity: 1;
}

.fext-conf-label {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.fext-conf-bar {
    flex: 1;
    height: 3px;
    background: var(--line-dark);
    border-radius: 2px;
    overflow: hidden;
}

.fext-conf-fill {
    height: 100%;
    width: 0%;
    background: var(--teal);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.fext-conf-pct {
    font-size: 0.7rem;
    color: var(--teal);
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

/* ── Dashboard card inside funnl ── */
.fdash-card {
    padding: 22px;
}

.fdash-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.fdash-inv-id {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-on-dark);
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}

.fdash-vendor {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fdash-status {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border: 1px solid var(--line-dark);
    border-radius: 3px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    transition: all 0.4s ease;
}

.fdash-status.is-approved {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.07);
}

.fdash-amount {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--text-on-dark);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.fdash-approve-btn {
    background: rgba(0, 130, 155, 0.08);
    border: 1px solid rgba(0, 130, 155, 0.35);
    color: var(--teal);
    padding: 11px 28px;
    font-size: 0.78rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.06em;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.fdash-approve-btn:hover {
    background: rgba(0, 130, 155, 0.18);
}

.fdash-approve-btn.is-pulsing {
    animation: fdashpulse 0.9s ease-in-out 2;
}

@keyframes fdashpulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 130, 155, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(0, 130, 155, 0); }
}

/* ── CRM record (Step 4) ── */
.fcrm-record {
    margin: 0 22px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.fcrm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.fcrm-company {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fcrm-badge {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.22);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fcrm-badge.is-visible { opacity: 1; }

.fcrm-fields { padding: 6px 0; }

.fcrm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fcrm-row.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fcrm-key {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fcrm-val {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.fcrm-val-hi {
    color: var(--text-primary);
    font-weight: 600;
}

/* Controls row */
.funnl-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
