/* ============================================================
   SEAN K. SIMMONS — EXECUTIVE PORTFOLIO: MASTER FILM EDITION
   Geographic Futuristic & Space Atmosphere Standard
   Dynamic Drawing Vectors // Curved Organic Core Split
   Off-White Product White Tactile Surfaces & High Contrast
   ============================================================ */

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

:root {
    /* Atmospheric Deep Space Void (Top Hero - Darker Void) */
    --bg-space: #010308;
    --bg-space-dark: #020612;
    --bg-space-blue: #050d22;

    /* Futuristic Geographic Gradient Mid-Tones */
    --bg-geo-gradient: linear-gradient(180deg, #010308 0%, #030816 22%, #081738 52%, #102652 78%, #08152e 100%);
    
    /* Product White Off-White Architectural Surfaces */
    --product-white: #ffffff;
    --product-offwhite: #f8fafc;
    --product-surface: #f1f5f9;
    --product-border: #cbd5e1;
    --product-border-light: #e2e8f0;

    /* High-Contrast Typography for Product White Surfaces */
    --text-slate-heading: #0f172a;
    --text-slate-body: #334155;
    --text-slate-muted: #64748b;

    /* Blueprint Cyan & Cobalt Accents */
    --blueprint-bright: #38bdf8;
    --blueprint-glow: rgba(56, 189, 248, 0.45);
    --blueprint-deep: #1d4ed8;
    --blueprint-cobalt: #2563eb;
    --blueprint-laser: #00f0ff;
    --border-blueprint: rgba(56, 189, 248, 0.28);
    --border-blueprint-bright: rgba(56, 189, 248, 0.6);

    /* Roman Classical Gold Accents */
    --gold-accent: #e2b168;
    --gold-bright: #ffd485;
    --gold-glow: rgba(226, 177, 104, 0.35);
    --gold-ochre: #b8863b;
    --border-gold: rgba(226, 177, 104, 0.3);

    /* Typography Defaults */
    --text-pure: #ffffff;
    --text-subtle: #cbd5e1;
    --text-dim: #94a3b8;

    /* Font Hierarchy — Unified Segoe UI Master Standard */
    --font-serif: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --font-cinzel: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --font-mono: 'Space Grotesk', -apple-system, BlinkMacSystemFont, monospace;
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-geo-gradient);
    color: var(--text-pure);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ============================================================
   SPACE STARFIELD & GEOGRAPHIC DYNAMIC VECTOR CANVAS
   ============================================================ */
#starfieldCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.geographic-vector-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.geographic-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Dynamic scroll-drawn vector paths */
.dynamic-vector-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000; /* GSAP animates this on scroll */
    transition: stroke-dashoffset 0.1s linear;
}

.hud-crosshair {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 300;
    color: var(--blueprint-bright);
    opacity: 0.55;
    line-height: 1;
}

.ch-tl { top: 96px; left: 40px; }
.ch-tr { top: 96px; right: 40px; }
.ch-bl { bottom: 30px; left: 40px; }
.ch-br { bottom: 30px; right: 40px; }

.hud-telemetry-stamp {
    position: absolute;
    bottom: 24px;
    left: 70px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--blueprint-bright);
    text-transform: uppercase;
    opacity: 0.75;
}

/* ============================================================
   FIXED GLASS HEADER & EXECUTIVE NAVIGATION (NO NUMBERS)
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.95rem 2.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.75) 80%, transparent 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-blueprint);
}

.brand-anchor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.header-headshot {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 3px solid var(--blueprint-bright);
    padding: 2px;
    background: rgba(56, 189, 248, 0.2);
    object-fit: cover;
    object-position: center 18%;
    box-shadow: 0 0 20px var(--blueprint-glow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand-anchor:hover .header-headshot {
    transform: scale(1.06);
    border-color: var(--gold-bright);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    color: var(--blueprint-bright);
    text-transform: uppercase;
}

/* Clean Unnumbered Navigation Menu */
.nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav a {
    color: var(--text-subtle);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
}

.nav a:hover {
    color: var(--blueprint-bright);
}

.nav a.active {
    color: #ffffff;
    font-weight: 600;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blueprint-bright);
    box-shadow: 0 0 8px var(--blueprint-bright);
    border-radius: 2px;
}

.btn-nav-linkedin {
    border: 1px solid rgba(10, 102, 194, 0.5);
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    color: #38bdf8 !important;
    background: rgba(10, 102, 194, 0.16);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-linkedin:hover {
    background: #0a66c2;
    color: #ffffff !important;
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(10, 102, 194, 0.7);
    transform: translateY(-1px);
}

.btn-nav-pdf {
    border: 1px solid var(--border-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    color: var(--gold-bright) !important;
    background: rgba(226, 177, 104, 0.1);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-nav-pdf:hover {
    background: var(--gold-accent);
    color: #030712 !important;
    box-shadow: 0 0 18px var(--gold-glow);
}

.btn-nav-share {
    border: 1px solid var(--border-blueprint);
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    color: var(--blueprint-bright) !important;
    background: rgba(56, 189, 248, 0.1);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-nav-share:hover {
    background: var(--blueprint-bright);
    color: #030712 !important;
    box-shadow: 0 0 18px var(--blueprint-glow);
}

.btn-nav-contact {
    border: 1px solid var(--blueprint-bright);
    padding: 0.52rem 1.4rem;
    border-radius: 9999px;
    color: #030712 !important;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px var(--blueprint-glow);
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.8);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-blueprint);
    border-radius: 8px;
    color: var(--blueprint-bright);
    font-size: 1.4rem;
    padding: 6px 12px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(56, 189, 248, 0.15);
}

/* ============================================================
   COLLAPSIBLE MOBILE NAVIGATION DRAWER
   ============================================================ */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(6, 14, 32, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid var(--border-blueprint);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-blueprint);
    margin-bottom: 1.5rem;
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.mobile-drawer-links a {
    color: var(--text-pure);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.mobile-drawer-links a:hover {
    color: var(--blueprint-bright);
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-backdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   PROMINENT EXECUTIVE HEADSHOT BADGE (TOP OF PAGE)
   ============================================================ */
.hero-executive-badge {
    position: absolute;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: rgba(4, 10, 24, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid var(--border-blueprint);
    padding: 12px 28px 12px 14px;
    border-radius: 26px; /* Rounded corners on the container */
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.88), 0 0 30px var(--blueprint-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.hero-executive-badge:hover {
    border-color: var(--gold-bright);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.95), 0 0 36px var(--gold-glow);
    transform: translateX(-50%) translateY(-2px);
}

.hero-headshot-frame {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.hero-headshot-img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    object-position: center 15%;
    border: 3.5px solid var(--blueprint-bright);
    padding: 4px;
    background: rgba(3, 8, 22, 0.9);
    box-shadow: 0 0 32px var(--blueprint-glow), 0 12px 32px rgba(0, 0, 0, 0.85);
}

.status-indicator-pip {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 22px;
    height: 22px;
    background-color: #10b981;
    border: 3.5px solid #010308;
    border-radius: 50%;
    box-shadow: 0 0 14px #10b981;
}

.hero-identity-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
}

.hero-identity-name {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.2;
}

.hero-identity-title {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--blueprint-bright);
    text-transform: uppercase;
}

/* ============================================================
   PINNED SCROLL STAGES (LUNARO STANDARD)
   ============================================================ */
.scroll-viewport {
    position: relative;
    width: 100%;
    z-index: 2;
}

.stage-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-container {
    position: relative;
    width: 100%;
    max-width: 1360px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

/* ============================================================
   ACT I: THE SYMBIOTIC COGNITION & CURVED ORGANIC CORE SPLIT
   CURVED SLICES // WIDE CLEARANCE (NO TEXT SUPERPOSITION)
   ============================================================ */
.act-1 {
    background-color: transparent;
}

.orb-hands-master {
    position: absolute;
    width: 480px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hands-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.95), 0 0 60px var(--blueprint-glow);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.moon-split-core {
    position: absolute;
    width: 480px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

/* Curved Organic Core Halves using SVG ClipPaths */
.core-half {
    position: absolute;
    top: 0;
    width: 480px;
    height: 480px;
    background-image: url('assets/human_centric_ai.jpg');
    background-size: 480px 480px;
    background-repeat: no-repeat;
    transition: filter 0.3s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.core-left {
    left: 0;
    clip-path: url(#curvedCutLeft);
    -webkit-clip-path: url(#curvedCutLeft);
    filter: drop-shadow(-20px 0 35px rgba(0, 0, 0, 0.85));
}

.core-right {
    left: 0;
    clip-path: url(#curvedCutRight);
    -webkit-clip-path: url(#curvedCutRight);
    filter: drop-shadow(20px 0 35px rgba(0, 0, 0, 0.85));
}

/* Genesis Typography: Product White Tactile Architecture Card */
.genesis-type-wrap {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 960px;
    width: 90vw;
    background: var(--product-white);
    border: 1px solid var(--product-border);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 35px rgba(37, 99, 235, 0.15);
    padding: 3.5rem 3.8rem;
    border-radius: 28px;
    opacity: 0;
    pointer-events: auto;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.kicker-product {
    color: var(--blueprint-cobalt) !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.display-title {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 5.8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    color: var(--text-slate-heading);
    text-shadow: none;
}

.display-title em {
    font-style: normal;
    font-weight: 800;
    color: var(--blueprint-cobalt);
}

.lead-quote {
    font-family: var(--font-mono);
    font-size: 1.08rem;
    color: var(--text-slate-body);
    margin-bottom: 2.2rem;
    text-shadow: none;
    line-height: 1.6;
    max-width: 780px;
}

.executive-meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    margin-bottom: 0;
}

.meta-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.8125rem;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: default;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.25;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-chip:hover {
    background: #f8fafc;
    border-color: var(--blueprint-cobalt);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.meta-chip-svg {
    color: var(--blueprint-cobalt);
    flex-shrink: 0;
    transition: color 0.2s ease, fill 0.2s ease;
}

.meta-chip-link {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: var(--blueprint-cobalt) !important;
    font-weight: 600;
    cursor: pointer;
}

.meta-chip-link .meta-chip-svg {
    color: var(--blueprint-cobalt);
    fill: var(--blueprint-cobalt);
}

.meta-chip-link:hover {
    background: var(--blueprint-cobalt);
    color: #ffffff !important;
    border-color: var(--blueprint-cobalt);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.meta-chip-link:hover .meta-chip-svg {
    color: #ffffff;
    fill: #ffffff;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--text-slate-muted);
    margin-top: 0.5rem;
}

.scroll-arrow {
    color: var(--blueprint-cobalt);
    font-size: 1.1rem;
    animation: floatArrow 2s infinite ease-in-out;
}

@keyframes floatArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================================
   ACT II: THE VALUE CASCADE & ENTERPRISE AI NETWORK
   TWO-COLUMN CLEAN STAGING // ZERO OVERLAP
   ============================================================ */
.act-2 {
    background: radial-gradient(circle at 35% 50%, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0) 70%),
                linear-gradient(180deg, rgba(2, 6, 23, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.act2-staged-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/* Left Content Box: Lighter Product Architecture Card */
.cosmic-content-box {
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #cbd5e1;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 35px rgba(37, 99, 235, 0.12);
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: normal;
    color: var(--blueprint-cobalt);
    font-weight: 800;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
    font-weight: 450;
}

/* Real-Time Metrics HUD (Clickable Cells) */
.hud-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hud-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 1.2rem 1.1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.hud-item:hover {
    background: #ffffff;
    border-color: var(--blueprint-cobalt);
    transform: translateY(-4px);
    box-shadow: 0 18px 35px -8px rgba(37, 99, 235, 0.22), 0 0 0 1px var(--blueprint-cobalt);
}

.hud-coord {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--blueprint-cobalt);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hud-value {
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.hud-label {
    font-size: 0.76rem;
    color: #334155;
    line-height: 1.35;
    margin-bottom: 10px;
    font-weight: 500;
}

.hud-click-hint {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--blueprint-cobalt);
    margin-top: auto;
}

/* Right Stage: Enterprise AI Network Visual Enclosure */
.network-stage-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-blueprint);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 189, 248, 0.2);
    cursor: pointer;
}

.network-stage-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 3D Hologram Overlay Stage */
.hologram-stage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.hologram-3d-canvas {
    position: absolute;
    top: 10%;
    left: 48%;
    width: 50%;
    height: 55%;
    pointer-events: none;
}

/* Stationary High-Legibility Hologram Badges */
.holo-badge {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(4, 13, 33, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.75);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4), inset 0 0 8px rgba(56, 189, 248, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: auto;
    cursor: default;
    transition: all 0.2s ease;
}

.holo-badge:hover {
    border-color: #ffd485;
    color: #ffd485;
    box-shadow: 0 0 20px rgba(255, 212, 133, 0.5);
}

/* Exact Coordinates Matching the Boardroom Hologram Anchor Points */
.holo-strategy {
    top: 22%;
    left: 74%;
    border-color: rgba(255, 212, 133, 0.85);
    color: #ffd485;
}

.holo-data {
    top: 36.5%;
    left: 74%;
    font-size: 0.7rem;
    padding: 5px 12px;
    background: rgba(8, 22, 54, 0.95);
    border-color: #38bdf8;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.6);
}

.holo-operations {
    top: 36.5%;
    left: 63%;
}

.holo-orchestration {
    top: 36.5%;
    left: 85%;
}

.holo-valuestream {
    top: 52%;
    left: 74%;
    border-color: rgba(255, 212, 133, 0.75);
    color: #ffd485;
}

.network-stage-img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.network-stage-wrapper:hover .network-stage-img {
    transform: scale(1.04);
}

.network-stage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(0deg, rgba(3, 7, 18, 0.95) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.network-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--blueprint-bright);
    background: rgba(14, 28, 56, 0.9);
    border: 1px solid var(--border-blueprint);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ============================================================
   ACT III: THE RENAISSANCE & BLUEPRINT LASER WIPE
   ============================================================ */
.act-3 {
    background-color: transparent;
}

.act3-staged-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

.painting-cinematic-stage {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 540px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 60px rgba(56, 189, 248, 0.15);
    border: 1px solid var(--border-blueprint);
}

.painting-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.master-canvas-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blueprint-layer {
    z-index: 2;
    clip-path: inset(0% 100% 0% 0%);
    filter: drop-shadow(0 0 100px rgba(56, 189, 248, 0.5));
}

.blueprint-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.crosshair {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--blueprint-bright);
    opacity: 0.6;
}

.top-left { top: 20px; left: 24px; }
.top-right { top: 20px; right: 24px; }
.bottom-left { bottom: 20px; left: 24px; }
.bottom-right { bottom: 20px; right: 24px; }

.drawing-spec {
    position: absolute;
    bottom: 24px;
    right: 28px;
.kicker-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--blueprint-bright);
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.panel-classical .kicker-tag {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--gold-bright);
}

.drawing-spec {
    position: absolute;
    bottom: 24px;
    right: 28px;
    max-width: calc(100% - 56px);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--blueprint-bright);
    background: rgba(3, 7, 18, 0.92);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-blueprint);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    white-space: normal;
    word-break: break-word;
}

.painting-card-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    z-index: 10;
    width: 100%;
    max-width: 540px;
    min-height: 440px;
    background: rgba(3, 8, 22, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid var(--border-blueprint);
    border-radius: 20px;
    padding: 2.6rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.18);
    overflow: visible;
}

.painting-card-content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    transition: opacity 0.4s ease;
}

.panel-classical {
    opacity: 1;
    z-index: 2;
}

.panel-blueprint {
    opacity: 0;
    z-index: 3;
}

.painting-card-content h2 {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
    color: #ffffff;
}

.painting-card-content h2 em {
    font-style: normal;
    font-weight: 800;
    color: var(--blueprint-bright);
}

.painting-card-content p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #cbd5e1;
}

/* ============================================================
   ACT IV: CAPABILITY MATRIX // PRODUCT WHITE TACTILE CARDS
   LIGHT PRODUCT WHITE BACKGROUNDS & HIGH-CONTRAST SLATE TYPOGRAPHY
   ============================================================ */
.content-flow-section {
    position: relative;
    padding: 7rem 0 5rem 0;
    background-color: transparent;
    z-index: 2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-header-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem auto;
}

.section-header-block h2 {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header-block h2 em {
    font-style: normal;
    font-weight: 800;
    color: var(--blueprint-bright);
}

.section-header-block p {
    font-size: 1.05rem;
    color: var(--text-subtle);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.matrix-card:last-child {
    grid-column: 1 / -1;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

/* Off-White Product White Card: Modern, High-Legibility Surface */
.matrix-card {
    background: var(--product-white);
    border: 1px solid var(--product-border);
    border-radius: 22px;
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blueprint-cobalt), var(--gold-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.matrix-card:hover {
    background: var(--product-offwhite);
    border-color: var(--blueprint-cobalt);
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 25px rgba(37, 99, 235, 0.2);
}

.matrix-card:hover::before {
    opacity: 1;
}

.matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.matrix-code {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: var(--blueprint-cobalt);
    font-weight: 700;
}

.matrix-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 9999px;
    color: #0369a1;
    font-weight: 700;
    text-transform: uppercase;
}

.matrix-card h3 {
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--text-slate-heading);
    line-height: 1.25;
}

.matrix-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-slate-body);
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.matrix-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.8rem;
}

.matrix-features span {
    background: var(--product-surface);
    border: 1px solid var(--product-border-light);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-slate-heading);
    padding: 5px 12px;
    border-radius: 6px;
}

.matrix-card-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.3rem;
    border-top: 1px solid #e2e8f0;
}

.matrix-cta-link {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--blueprint-cobalt);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.matrix-card:hover .matrix-cta-link {
    color: #1d4ed8;
    gap: 10px;
}

.btn-quick-preview {
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    color: var(--text-slate-muted);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quick-preview:hover {
    border-color: var(--gold-ochre);
    color: var(--gold-ochre);
    background: #ffffff;
}

/* ============================================================
   ACT V: GET IN CONTACT WITH ME // PRODUCT WHITE TERMINAL
   ============================================================ */
.terminal-briefing-wrap {
    background: var(--product-white);
    border: 1px solid var(--product-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: #0f172a;
    padding: 1.1rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    color: var(--blueprint-bright);
    font-weight: 700;
}

.terminal-status {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--gold-bright);
}

.briefing-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    padding: 3.2rem 2.8rem;
    background: #ffffff;
}

.contact-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px 22px;
    margin-bottom: 2rem;
}

.contact-headshot-wrap {
    position: relative;
    width: 136px;
    height: 136px;
    flex-shrink: 0;
}

.contact-headshot-img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    object-position: center 15%;
    border: 3.5px solid var(--blueprint-cobalt);
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22), 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.contact-status-pip {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background-color: #10b981;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
}

.contact-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-profile-name {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-slate-heading);
    margin: 0;
    line-height: 1.2;
}

.contact-profile-role {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-slate-body);
    line-height: 1.4;
}

.briefing-info h3 {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.8rem;
    color: var(--text-slate-heading);
}

.briefing-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-slate-body);
    margin-bottom: 1.8rem;
}

.contact-link-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.contact-link-item {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--blueprint-cobalt);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    width: fit-content;
    max-width: 100%;
}

.contact-link-item:hover {
    color: #1d4ed8;
    background: #e2e8f0;
    border-color: var(--blueprint-bright);
    transform: translateX(3px);
}

.contact-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blueprint-cobalt);
    flex-shrink: 0;
}

.contact-link-text {
    word-break: break-word;
}

.contact-phone-text {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-slate-heading);
    white-space: nowrap;
}

.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-slate-muted);
    text-transform: uppercase;
}

/* Off-White Product White Form Input Textboxes */
.field-input, .field-textarea {
    background: #f8fafc;
    border: 1px solid var(--product-border);
    border-radius: 12px;
    padding: 13px 18px;
    color: var(--text-slate-heading);
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.field-input:focus, .field-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--blueprint-cobalt);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field-textarea {
    resize: vertical;
    min-height: 110px;
}

.client-btn {
    border: 1px solid var(--product-border) !important;
    background: #f1f5f9 !important;
    color: var(--text-slate-heading) !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.client-btn.active, .client-btn:hover {
    background: var(--blueprint-cobalt) !important;
    color: #ffffff !important;
    border-color: var(--blueprint-cobalt) !important;
}

.btn-terminal-submit {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-terminal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
}

/* ============================================================
   ARCHITECTURAL DETAIL MODAL (QUICK SPECS)
   ============================================================ */
.detail-modal-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.detail-modal-layer.active {
    display: flex;
}

.detail-modal-card {
    background: var(--product-white);
    border: 1px solid var(--product-border);
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    padding: 3rem 2.8rem;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    color: var(--text-slate-heading);
}

.detail-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-slate-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-kicker {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: var(--blueprint-cobalt);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.modal-title {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-slate-heading);
}

.modal-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 1.8rem;
}

.modal-stat-box {
    background: var(--product-surface);
    border: 1px solid var(--product-border-light);
    padding: 1.2rem;
    border-radius: 14px;
}

.modal-stat-val {
    font-family: var(--font-cinzel);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--blueprint-cobalt);
}

.modal-stat-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-slate-muted);
    margin-top: 4px;
}

.modal-narrative {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-slate-body);
    margin-bottom: 2rem;
}

.modal-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   EXECUTIVE RESUME PDF MODAL VIEWER
   ============================================================ */
.resume-modal-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 3500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.resume-modal-layer.active {
    display: flex;
}

.resume-modal-container {
    background: #0f172a;
    border: 1px solid var(--border-blueprint);
    border-radius: 20px;
    width: 100%;
    max-width: 1020px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.95);
}

.resume-modal-toolbar {
    background: #0f172a;
    padding: 1rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
}

.resume-modal-frame {
    flex-grow: 1;
    width: 100%;
    border: none;
    background: #ffffff;
}

/* ============================================================
   TAP & SHARE MODAL (APPLE NAMEDROP & QR)
   ============================================================ */
.tap-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.tap-share-modal.active {
    display: flex;
}

.modal-sheet {
    background: var(--product-white);
    border: 1px solid var(--product-border);
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    padding: 2.4rem;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    color: var(--text-slate-heading);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-slate-muted);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ============================================================
   MASTER FOOTER
   ============================================================ */
.master-footer {
    padding: 3.5rem 2rem 4rem 2rem;
    text-align: center;
    background-color: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.footer-attribution {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.master-footer-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.master-footer a {
    color: var(--blueprint-bright);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px; /* Apple Human Interface Guidelines 44px tap target */
}

.master-footer a:hover {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.22);
    border-color: var(--blueprint-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET EXCELLENCE)
   ============================================================ */
@media (max-width: 1080px) {
    .act2-staged-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .network-stage-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    .matrix-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header {
        padding: 0.9rem 1.4rem;
    }
    .stage-container {
        padding: 0 1.5rem;
    }
    .hero-executive-badge {
        top: 76px;
        padding: 8px 18px 8px 10px;
        gap: 14px;
    }
    .hero-headshot-frame {
        width: 88px;
        height: 88px;
        border-radius: 20px;
    }
    .hero-identity-name {
        font-size: 1.15rem;
        font-weight: 800;
    }
    .hero-identity-title {
        font-size: 0.72rem;
        line-height: 1.35;
    }
    .act3-staged-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .painting-card-stage {
        max-width: 100%;
        min-height: auto;
        padding: 1.8rem;
        border-radius: 16px;
    }
    .contact-profile-card {
        flex-direction: row;
        gap: 18px;
        padding: 18px;
    }
    .contact-headshot-wrap {
        width: 110px;
        height: 110px;
    }
    .orb-hands-master, .moon-split-core {
        width: 340px;
        height: 340px;
    }
    .core-half {
        width: 340px;
        height: 340px;
        background-size: 340px 340px;
    }
    .display-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }
    .hud-telemetry-grid {
        grid-template-columns: 1fr;
    }
    .painting-cinematic-stage {
        height: 480px;
    }
    .painting-text-panel {
        left: 20px;
        bottom: 20px;
        right: 20px;
        max-width: none;
        padding: 1.4rem;
    }
    .briefing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.2rem 1.5rem;
    }
}

@media (max-width: 520px) {
    .header-headshot {
        width: 48px;
        height: 48px;
    }
    .hero-executive-badge {
        width: calc(100% - 24px);
        max-width: 360px;
        padding: 8px 14px;
        top: 72px;
    }
    .hero-headshot-frame {
        width: 76px;
        height: 76px;
    }
    .contact-profile-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 22px 16px;
    }
    .contact-headshot-wrap {
        width: 120px;
        height: 120px;
    }
    .contact-link-item {
        width: 100%;
        justify-content: flex-start;
    }
    .master-footer-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        max-width: 320px;
        margin: 14px auto 0 auto;
    }
    .master-footer a {
        width: 100%;
        justify-content: center;
    }
    .orb-hands-master, .moon-split-core {
        width: 280px;
        height: 280px;
    }
    .core-half {
        width: 280px;
        height: 280px;
        background-size: 280px 280px;
    }
    .cosmic-content-box {
        padding: 1.8rem 1.2rem;
    }
    .painting-cinematic-stage {
        height: 380px;
    }
    .hud-crosshair {
        display: none;
    }
}

/* ============================================================================
   100-RULE COMPLIANCE LAYER — ANTI-SLOP AUDIT PASS
   Ref: Design-Interaction-Rules-SDPN.md
   Appended last so these guarantees win over earlier component rules.
   ============================================================================ */

/* --- R7: Explicit keyboard focus rings (no bare outline:none anywhere) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--blueprint-bright);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Dark surfaces need the gold ring to clear WCAG AA against cobalt fills */
.header a:focus-visible,
.header button:focus-visible,
.mobile-nav-drawer a:focus-visible,
.mobile-nav-drawer button:focus-visible,
.detail-modal-close:focus-visible,
.modal-close:focus-visible {
    outline-color: var(--gold-bright);
}

/* --- R6: Tactile depress feedback on every actionable surface --- */
.btn-nav-linkedin:active,
.btn-nav-pdf:active,
.btn-nav-share:active,
.btn-nav-contact:active,
.btn-terminal-submit:active,
.btn-quick-preview:active,
.client-btn:active,
.mobile-drawer-close:active,
.detail-modal-close:active,
.modal-close:active,
.mobile-menu-toggle:active,
.nav a:active,
.mobile-drawer-links a:active {
    transform: translateY(1px) scale(0.985);
}

/* --- R5: Minimum 44x44px tap boundary (invisible padding where icons are small) --- */
.mobile-drawer-close,
.detail-modal-close,
.modal-close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* The hamburger is display:none until its own breakpoint — size it there only,
   so this rule can never resurrect it on desktop. */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
}

/* --- R98: a closed drawer must leave the tab order entirely.
   right:-100% alone keeps its 10 controls focusable off-screen. --- */
.mobile-nav-drawer {
    visibility: hidden;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
}

.mobile-nav-drawer.open {
    visibility: visible;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

@media (max-width: 900px) {
    .nav a,
    .mobile-drawer-links a,
    .client-btn,
    .btn-nav-linkedin,
    .btn-nav-pdf,
    .btn-nav-share,
    .btn-nav-contact {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- R36: Tabular numerals so scrubbing metrics never jitter the layout --- */
.hud-value,
.metric-cell-val,
.modal-stat-val,
.metrics-banner,
.terminal-status,
.cs-card-section .metric-cell-val,
.blueprint-spec-box {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* --- R41: Kill dangling widows --- */
.display-title,
.section-title,
.cs-title,
.modal-title,
.lead-quote {
    text-wrap: balance;
}

.section-text,
.cs-lead,
.modal-narrative,
.painting-text-panel p,
.hero-identity-text {
    text-wrap: pretty;
}

/* --- R34: Optimal body measure (60-75 characters) --- */
.section-text,
.cs-lead,
.modal-narrative {
    max-width: 68ch;
}

/* --- R53: Safe-area insets for notches and software home bars --- */
.header {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}

.mobile-nav-drawer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}

/* --- R92: Reserve media space to eliminate cumulative layout shift --- */
.header-headshot,
.hero-headshot-frame img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* --- R83: Honor prefers-reduced-motion (critical on a pinned-scroll site) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    /* Starfield and ambient vector drift carry no information — retire them */
    #starfieldCanvas,
    .geographic-vector-canvas {
        display: none !important;
    }

    /* Pinned acts must present readable content, never a half-scrubbed frame.
       Only opacity is forced here — the split-core halves rely on their
       transforms for layout, so GSAP settles those via the timeScale above. */
    .genesis-type-wrap,
    .cosmic-content-box,
    .network-stage-wrapper,
    .dynamic-vector-path {
        opacity: 1 !important;
    }
}

/* --- R97: Print-friendly output (strip fixed chrome and dark fills) --- */
@media print {
    #starfieldCanvas,
    .geographic-vector-canvas,
    .header,
    .mobile-nav-drawer,
    .drawer-backdrop-overlay,
    .modal-layer,
    .detail-modal-layer,
    .scroll-indicator,
    .cs-nav-footer {
        display: none !important;
    }

    html,
    body {
        background: #ffffff !important;
        color: #0f172a !important;
    }

    section,
    .stage-section,
    .content-flow-section,
    .cs-card-section {
        page-break-inside: avoid;
        min-height: auto !important;
        padding: 16px 0 !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.75rem;
        color: #334155;
    }
}

/* --- R5 (cont.): desktop controls also need a 44px tap boundary --- */
.nav a,
.btn-quick-preview,
.client-btn,
.matrix-cta-link,
.btn-nav-pdf,
.btn-nav-share,
.btn-nav-linkedin,
.btn-nav-contact {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Keep the card action bar balanced now that both children are 44px tall */
.matrix-card-action-bar {
    gap: 8px;
    align-items: stretch;
}

/* Persistent Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(4, 10, 24, 0.92);
    color: #ffffff;
    border: 1.5px solid var(--border-blueprint);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--blueprint-glow);
    padding: 10px 18px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.9), 0 0 25px var(--gold-glow);
    transform: translateY(-2px);
}

/* Thicker, lighter background vector paths */
.dynamic-vector-path {
    stroke-width: 2.2px !important;
    opacity: 0.85 !important;
}
