:root {
    --color-on-surface: #1a1c1c;
    --color-secondary: #ffc107;
    --color-background: #f9f9f9;
    --color-surface: #f9f9f9;
    --color-on-surface-variant: #455a64;
    --color-primary: #1a237e;
    --color-light-gray: #b7b9ba;
    --color-primary-50: rgba(26, 35, 126, 0.5);
    --color-secondary-alpha: #ffc1075c;
    --color-on-surface-variant-50: #455a6480;
}

.hover-border-primary-50:hover {
    border-color: var(--color-primary-50);
}

.contact-icon-bg {
    background-color: var(--color-primary);
}

.group:hover .contact-icon-bg {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* Animated Wire Lines */
.wire-trace {
    position: absolute;
    background: var(--color-primary); /* Trust Navy */
    z-index: 1;
}

.wire-trace-amber {
    background: var(--color-secondary); /* New Amber Palette */
}

.wire-v { width: 1px; height: 100%; }
.wire-h { height: 1px; width: 100%; }

@keyframes flow-v {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes flow-h {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.pulse-glow {
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; box-shadow: 0 0 15px currentColor; }
}

/* Flowing "Signal" on the wire */
.signal-v::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 3px;
    height: 40px;
    background: currentColor;
    animation: flow-v 6s infinite linear;
}

.signal-h::after {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    height: 3px;
    width: 40px;
    background: currentColor;
    animation: flow-h 6s infinite linear;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Connection nodes/joints */
.wire-node {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
}
