/* 
   NAVY & GOLD EXECUTIVE THEME
   Premium, Trustworthy, Corporate Architecture
*/

:root {
    /* Color Palette */
    --navy-dark: #060d1a;
    --navy-base: #0b172a;
    --navy-light: #162642;
    --navy-border: #1e3357;
    
    --gold-primary: #d4af37;
    --gold-light: #e5c562;
    --gold-muted: #8c7324;
    --signal-accent: #22d3ee;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Typography */
    --font-heading: 'Newsreader', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body.executive-theme {
    /* Removed background-color so the fixed bg-container with canvas can show through */
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 5. Loader Sequence */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--navy-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}
.loader-bar-container {
    width: 200px;
    height: 2px;
    background: var(--navy-border);
    margin: 0 auto 16px;
    overflow: hidden;
    position: relative;
}
.loader-bar {
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    transform: translateX(-100%);
    animation: loadBar 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.loader-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes loadBar {
    to { transform: translateX(0); }
}

/* Background & Canvas Node Graph */
#bg-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: var(--navy-dark);
    overflow: hidden;
}
.grid-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}
.pcb-map {
    position: absolute;
    right: -2%;
    top: 6%;
    width: min(58vw, 760px);
    height: auto;
    opacity: 0.48;
    pointer-events: none;
}
.pcb-traces path {
    stroke: rgba(212, 175, 55, 0.34);
    stroke-width: 2;
}
.pcb-pulse {
    stroke: rgba(212, 175, 55, 0.7) !important;
    stroke-width: 2.2 !important;
    stroke-dasharray: 8 14;
    animation: pcbFlow 8s linear infinite;
}
.pcb-pads circle {
    fill: rgba(6, 13, 26, 0.85);
    stroke: rgba(212, 175, 55, 0.55);
    stroke-width: 1.5;
}
.pcb-ics rect {
    fill: rgba(11, 23, 42, 0.35);
    stroke: rgba(212, 175, 55, 0.28);
    stroke-width: 1.2;
}
@keyframes pcbFlow {
    to { stroke-dashoffset: -140; }
}
@media (max-width: 900px) {
    .pcb-map {
        right: -20%;
        top: 20%;
        width: 95vw;
        opacity: 0.24;
    }
}


/* Typography Helpers */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
}
.gold-text {
    color: var(--gold-primary);
}

/* Navigation */
.exec-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 36px;
    background: rgba(6, 13, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.4rem;
    font-weight: 700;
}
.logo-text {
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
}
.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold-primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-actions .exec-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 101;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
}

.systems-status-bar {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
}
.status-rail {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    padding: 8px 16px;
    background: rgba(11, 23, 42, 0.92);
    border: 1px solid var(--navy-border);
    border-top: none;
    backdrop-filter: blur(12px);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.status-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 9px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    font-weight: 600;
}
.status-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.status-key {
    color: var(--text-muted);
    opacity: 0.75;
}
.status-val {
    color: var(--text-main);
    font-weight: 600;
}
.status-sep {
    width: 1px;
    height: 12px;
    background: var(--navy-border);
    flex-shrink: 0;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Buttons */
.exec-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid transparent;
}
.exec-btn.print-btn {
    font-family: var(--font-body);
}
.primary-btn {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}
.primary-btn:hover {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}
.outline-btn {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}
.outline-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-light, #e8c547);
    border-color: var(--gold-light, #e8c547);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 150px 48px 72px;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.hero-content {
    flex: 1;
}
.hero-title {
    font-size: 4.2rem;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.8px;
    font-weight: 600;
}
.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
    margin: 28px 0;
}
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}
.hero-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 56px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}
.hero-cta-group {
    display: flex;
    gap: 20px;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.image-frame {
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--navy-border);
    padding: 16px;
    position: relative;
    overflow: hidden;
    background: var(--navy-base);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
    transition: border-color 0.4s, box-shadow 0.5s ease;
}

.image-frame:hover {
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.35);
    border-color: var(--gold-primary);
}

/* 3. Animated Gold Corner Brackets */
.image-frame::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px;
    width: 30px; height: 30px;
    border-top: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}
.image-frame::after {
    content: '';
    position: absolute;
    bottom: 8px; right: 8px;
    width: 30px; height: 30px;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}
.image-frame:hover::before {
    top: 2px; left: 2px;
    width: 45px; height: 45px;
}
.image-frame:hover::after {
    bottom: 2px; right: 2px;
    width: 45px; height: 45px;
}

/* Portrait + shimmer */
.profile-img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.05);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}
.image-frame:hover .profile-img {
    transform: scale(1.05);
    filter: contrast(1.1);
}

.shimmer-overlay {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 3;
}
.image-frame:hover .shimmer-overlay {
    animation: shimmerPass 1.2s ease-in-out;
}
@keyframes shimmerPass {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* 4. Floating Glassmorphism Status Badge */
.glass-badge {
    position: absolute;
    bottom: 28px; left: 28px;
    background: rgba(6, 13, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}
.image-frame:hover .glass-badge {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
}
.badge-text {
    display: flex;
    flex-direction: column;
}
.badge-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}
.badge-role {
    font-size: 0.65rem;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
}

/* Metrics Bar */
.metrics-bar {
    display: flex;
    justify-content: space-between;
    margin: 0 0 48px;
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    padding: 28px 0;
}
.metric-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--navy-border);
    position: relative;
}
.metric-item:last-child {
    border-right: none;
}
.metric-key {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    margin-bottom: 4px;
}
.metric-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 8px;
}
.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}




/* Common Section Styles */
section {
    padding: 120px 48px;
    max-width: 1400px;
    margin: 0 auto;
}
section.section-dense {
    padding-top: 88px;
    padding-bottom: 88px;
}
section.section-airy {
    padding-top: 140px;
    padding-bottom: 140px;
}

.proof-grid,
.arch-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.proof-card,
.arch-card {
    background: rgba(11, 23, 42, 0.7);
    border: 1px solid var(--navy-border);
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.proof-card:hover,
.arch-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* Quote testimonials — typography, not cards */
.quote-grid {
    gap: 40px 48px;
}
.quote-item {
    margin: 0;
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(212, 175, 55, 0.45);
    background: none;
    box-shadow: none;
}
.quote-item p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--text-main);
    font-weight: 400;
    margin: 0;
}
.quote-item footer {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.proof-label {
    font-size: 0.72rem;
    color: var(--signal-accent);
    letter-spacing: 1.8px;
    margin-bottom: 10px;
}

.proof-card h3,
.arch-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.proof-card p,
.arch-card p {
    color: var(--text-muted);
}

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

.arch-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 18px;
    font-size: 0.83rem;
}

.arch-flow span {
    padding: 4px 10px;
    border: 1px solid var(--navy-border);
    background: rgba(6, 13, 26, 0.6);
}

.arch-flow .flow-arrow {
    border: none;
    padding: 0;
    color: var(--gold-primary);
    background: transparent;
}
.arch-node {
    padding: 6px 12px;
    border: 1px solid var(--navy-border);
    background: rgba(6, 13, 26, 0.7);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.arch-node:hover,
.arch-node.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.06);
}
.arch-node-note {
    min-height: 1.4em;
    margin: 0 0 14px;
    color: var(--signal-accent);
    font-size: 0.82rem;
}
.tradeoff-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--navy-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.tl-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}
.tl-stack span {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    border: 1px solid var(--navy-border);
    padding: 3px 8px;
}
.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.modal-tab {
    background: transparent;
    border: 1px solid var(--navy-border);
    color: var(--text-muted);
    padding: 6px 14px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.modal-tab.active,
.modal-tab:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}
.modal-panel {
    display: none;
}
.modal-panel.active {
    display: block;
}
.outcomes-terminal {
    background: var(--navy-dark);
    border: 1px solid var(--navy-border);
    border-radius: 6px;
    overflow: hidden;
}
.outcomes-log {
    margin: 0;
    padding: 18px 20px;
    color: #a7f3d0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.65;
    white-space: pre-wrap;
}

.arch-list {
    list-style: none;
}

.arch-list li {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.arch-list li::before {
    content: '▸';
    color: var(--gold-primary);
    margin-right: 8px;
}

.ops-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ops-item {
    border: 1px solid var(--navy-border);
    background: rgba(11, 23, 42, 0.7);
    padding: 20px;
}

.ops-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.ops-label {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.contact-meta span {
    border: 1px solid var(--navy-border);
    padding: 5px 12px;
    font-size: 0.72rem;
    color: var(--signal-accent);
    letter-spacing: 1px;
}

.contact-sla {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-channels {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
}
.contact-channel {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy-border);
    color: var(--gold-primary);
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.contact-channel:hover {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.06);
}
.contact-channel svg {
    width: 18px;
    height: 18px;
    display: block;
}
.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Tilt Physics utility */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.exp-card {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    padding: 28px 8px 20px;
    display: flex;
    gap: 20px;
    transition: border-color 0.35s, transform 0.35s;
}
.exp-card:hover {
    border-top-color: var(--gold-primary);
    box-shadow: none;
    transform: translateY(-2px);
}
.exp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--gold-primary);
    transform: translateZ(30px);
}
.exp-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.exp-content {
    transform: translateZ(20px);
}
.exp-content h3 {
    font-size: 1.25rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.exp-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.exp-list {
    list-style: none;
}
.exp-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.exp-list li::before {
    content: '■';
    color: var(--gold-primary);
    font-size: 0.6rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.project-card {
    background: rgba(11, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--navy-border);
    position: relative;
    padding: 40px;
    cursor: pointer;
    transition: box-shadow 0.35s, border-color 0.35s, transform 0.35s;
}
.project-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}
.project-card > * {
    transform: translateZ(20px);
}
.project-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.1); 
    position: absolute;
    top: 20px; right: 30px;
    font-weight: 700;
    transform: translateZ(10px);
}
.project-tag {
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.project-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.decision-grid {
    display: grid;
    gap: 10px;
    margin: 14px 0 20px;
}
.decision-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    align-items: start;
}
.decision-row span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: var(--signal-accent);
    padding-top: 2px;
}
.decision-row p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}
.project-tech {
    display: flex;
    gap: 12px;
}
.project-tech span {
    font-size: 0.75rem;
    padding: 4px 12px;
    border: 1px solid var(--navy-border);
    color: var(--text-muted);
}
.card-overlay-btn {
    position: absolute;
    bottom: 20px; right: 30px;
    color: var(--gold-primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
}
.project-card:hover .card-overlay-btn {
    opacity: 1;
    transform: translateX(0);
}

/* Timeline */
.exec-timeline {
    border-left: 2px solid var(--navy-border);
    padding-left: 40px;
    margin-left: 20px;
}
.timeline-entry {
    margin-bottom: 60px;
    position: relative;
}
.timeline-entry::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 0;
    width: 12px; height: 12px;
    background: var(--navy-dark);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
}
.tl-date {
    font-size: 0.85rem;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.tl-content h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.tl-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 400;
}
.tl-content p {
    color: var(--text-main);
    max-width: 800px;
}

/* Contact Section */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(11, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    padding: 60px;
    border: 1px solid var(--navy-border);
    position: relative;
}
.contact-container::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
}
.exec-form {
    transform: translateZ(20px);
}
.exec-form .form-group {
    margin-bottom: 24px;
}
.exec-form label {
    display: block;
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.exec-form input, .exec-form textarea {
    width: 100%;
    background: rgba(6, 13, 26, 0.8);
    border: 1px solid var(--navy-border);
    color: var(--text-main);
    padding: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.exec-form input:focus, .exec-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}
.submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
}

/* Footer */
.exec-footer {
    background: linear-gradient(180deg, rgba(6, 13, 26, 0.4), var(--navy-base));
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding: 56px 48px 28px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
}
.footer-brand .logo-text {
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--text-main);
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 320px;
    line-height: 1.6;
    font-size: 0.92rem;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    transition: color 0.25s;
}
.footer-nav a:hover {
    color: var(--gold-primary);
}
.footer-contact h4 {
    color: var(--gold-primary);
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}
.footer-contact p,
.footer-contact a {
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    font-size: 0.92rem;
}
.footer-contact a:hover {
    color: var(--gold-primary);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy-border);
    color: var(--text-muted);
    margin-bottom: 0;
}
.footer-social a:hover {
    color: var(--gold-primary);
    border-color: rgba(212, 175, 55, 0.5);
}
.footer-social svg {
    width: 16px;
    height: 16px;
}
.footer-orgs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    margin-bottom: 20px;
}
.footer-orgs-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1.8px;
    color: var(--gold-primary);
}
.footer-orgs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
}
.footer-orgs li {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-muted);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding-top: 0;
    border-top: none;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.footer-top-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
}
.footer-top-link:hover {
    color: var(--gold-primary);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .exec-footer {
        padding: 40px 24px 24px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Interactive Architecture Modals */
.exec-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(6, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.exec-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.exec-modal-content {
    width: 90%;
    max-width: 800px;
    background: var(--navy-base);
    border: 1px solid var(--gold-primary);
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.exec-modal-overlay.open .exec-modal-content {
    transform: translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close-btn:hover {
    color: var(--gold-primary);
}
.modal-header {
    margin-bottom: 30px;
}
.modal-tag {
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: inline-block;
}
.modal-header h2 {
    font-size: 2rem;
}

/* Code Flex Window inside Modals */
.code-flex-window {
    background: var(--navy-dark);
    border: 1px solid var(--navy-border);
    border-radius: 6px;
    overflow: hidden;
}
.cf-header {
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--navy-border);
}
.cf-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}
.cf-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--navy-border);
}
.cf-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.cf-code {
    padding: 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 1400px) {
    .exec-nav {
        padding: 16px 24px;
        gap: 14px;
    }
    .nav-links {
        gap: 12px;
    }
    .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
    }
    .logo-sub {
        display: none;
    }
    .nav-actions .exec-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}
@media (max-width: 1200px) {
    .mobile-toggle {
        display: flex;
    }
    .nav-actions .outline-btn {
        display: none;
    }
}
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-image {
        justify-content: center;
        margin-top: 40px;
    }
    .metrics-bar {
        flex-wrap: wrap;
    }
    .metric-item {
        width: 50%;
        border-right: none;
        border-bottom: 1px solid var(--navy-border);
        padding: 20px 0;
    }
    .expertise-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    .proof-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .arch-grid {
        grid-template-columns: 1fr;
    }
    .ops-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .quote-item p {
        font-size: 1.1rem;
    }
    section.section-airy {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}
@media (max-width: 768px) {
    .systems-status-bar {
        top: 64px;
        padding: 0 12px;
    }
    .status-rail {
        gap: 10px;
        padding: 7px 12px;
        font-size: 0.62rem;
    }
    .decision-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .hero-title { font-size: 3rem; }
    .nav-actions { display: flex; }
    .nav-actions .exec-btn { display: none; }
    .exec-nav { padding: 16px 20px; }
}


/* Founder Section Showcase Layout */
.founder-container {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    padding: 48px 0 0;
    box-shadow: none;
    position: relative;
}
.founder-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.founder-content {
    text-align: left;
}
.founder-content h2 {
    font-size: 3.5rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.founder-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}
.founder-actions {
    display: flex;
    gap: 16px;
}

/* Browser Mockup UI */
.browser-mockup {
    background: var(--navy-dark);
    border: 1px solid var(--navy-border);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}
.live-feed-panel .browser-header {
    justify-content: flex-start;
}
.browser-header {
    background: rgba(255,255,255,0.03);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--navy-border);
}
.browser-url {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 2px;
    width: 100%;
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
}

/* Extension Popup Preview */
.extension-card-preview {
    padding: 24px;
    background: var(--navy-base);
}
.ext-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--navy-border);
}
.ext-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-dot {
    width: 7px; height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: none;
    animation: pulse 2s infinite;
}
.ext-badge {
    font-size: 0.65rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.ext-product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.ext-product-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--navy-border);
    flex-shrink: 0;
}
.ext-product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.ext-product-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.35;
}
.ext-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.ext-label { color: var(--text-muted); }
.ext-val { font-weight: 600; }
.green-text { color: #10b981; }
.ext-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 36px;
    margin: 16px 0 12px;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid var(--navy-border);
}
.ext-mini-chart:empty {
    display: none;
}
.chart-bar {
    flex: 1;
    background: rgba(148, 163, 184, 0.25);
    transition: height 0.4s;
    min-height: 4px;
}
.gold-bar {
    background: var(--gold-primary);
}
.ext-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid var(--navy-border);
    padding-top: 10px;
}

/* 3. Project Filter Buttons */
.project-filter-bar {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--navy-border);
    color: var(--text-muted);
    padding: 6px 16px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.06);
}

/* 4. Timeline Accordion Expandable Details */
.tl-expand-btn {
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-top: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}
.tl-expand-btn:hover {
    color: #fff;
    transform: translateX(5px);
}
.tl-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    margin-top: 0;
}
.tl-details.open {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
    margin-top: 16px;
}
.tl-details ul {
    list-style: none;
    padding-left: 12px;
    border-left: 2px solid var(--gold-primary);
}
.tl-details li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

@media (max-width: 1200px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy-dark);
        border-left: 1px solid var(--navy-border);
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 100px 40px;
        transition: right 0.4s ease;
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        flex: none;
        min-width: 0;
        display: flex;
    }
    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    .nav-links.mobile-open {
        right: 0;
    }
}

/* Dedicated Mobile Optimizations (<= 768px) - PC View (>900px) is 100% untouched */
@media (max-width: 768px) {
    .exec-nav {
        padding: 16px 20px;
    }
    .hero-section {
        padding: 110px 20px 50px;
    }
    .hero-container {
        flex-direction: column-reverse;
        gap: 32px;
    }
    .hero-image {
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.25;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-cta-group .exec-btn {
        width: 100%;
        text-align: center;
    }
    .metrics-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px 0;
    }
    .metric-item {
        border-right: none !important;
        border-bottom: 1px solid var(--navy-border);
        padding-bottom: 16px;
    }
    .metric-item:nth-child(3), .metric-item:nth-child(4) {
        border-bottom: none;
    }
    .metric-val {
        font-size: 1.85rem;
    }
    .metric-label {
        font-size: 0.75rem;
    }
    section {
        padding: 70px 20px;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .section-header h2 {
        font-size: 1.85rem;
    }
    .proof-card,
    .arch-card,
    .testimonial-card {
        padding: 20px;
    }
    .expertise-grid, .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .exp-card, .project-card {
        padding: 24px 20px;
    }
    .founder-container {
        padding: 28px 20px;
    }
    .founder-content h2 {
        font-size: 2.2rem;
    }
    .founder-desc {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .founder-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .founder-actions .exec-btn {
        width: 100%;
        text-align: center;
    }
    .exec-timeline {
        padding-left: 24px;
        margin-left: 10px;
    }
    .timeline-entry::before {
        left: -31px;
    }
    .contact-container {
        padding: 32px 20px;
    }
    .ops-strip {
        grid-template-columns: 1fr;
    }
    .exec-form input, .exec-form textarea {
        font-size: 16px; /* Prevents iOS auto-zoom on input focus */
        padding: 14px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .exec-modal-content {
        width: 92%;
        padding: 24px 18px;
        max-height: 85vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .logo-text {
        font-size: 1.05rem;
    }
}

/* Print Styles for Executive Resume Export */
@media print {
    #loader, #bg-container, .exec-nav, .hero-cta-group, .hero-image, .project-filter-bar, .tl-expand-btn, #contact, .exec-footer, .exec-modal-overlay, .mobile-toggle {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
        font-family: var(--font-body) !important;
    }
    .hero-section {
        padding: 0 !important;
    }
    .hero-title {
        font-size: 2.5rem !important;
        color: #000 !important;
    }
    .gold-text {
        color: #000 !important;
        font-weight: 700;
    }
    section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }
    .exp-card, .project-card, .founder-container {
        background: #fff !important;
        border: 1px solid #ccc !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    .exp-content p, .project-info p, .tl-content p {
        color: #333 !important;
    }
    .tl-details {
        max-height: none !important;
        display: block !important;
    }
}
