/* Shared site nav — identical across all tabs (wins over page body typography). */
.nav {
    background: white;
    padding: 15px 24px 15px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    overflow-x: auto;
}

.nav a {
    white-space: nowrap;
    flex-shrink: 0;
    color: #4CAF50;
    text-decoration: none;
    margin-right: 16px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.nav a:hover {
    text-decoration: underline;
}

.nav a.patterns {
    margin-left: 10px;
    color: #dc2626;
    font-weight: 700;
    animation: caselinkerPulseRed 8s ease-in-out infinite;
}

@keyframes caselinkerPulseRed {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

.nav a.hood-link,
.hood-link {
    margin-left: auto;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: caselinkerPulseOrange 6s ease-in-out infinite;
    position: relative;
    font-weight: 600;
}

@keyframes caselinkerPulseOrange {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 0.90; }
}

.nav a.tech-landscape-link,
.tech-landscape-link {
    display: inline-block;
    vertical-align: baseline;
    font-weight: 400;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.tech-landscape-link .tls-gate--left {
    display: inline;
    vertical-align: baseline;
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 38%, #66bb6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.44)) drop-shadow(0 0 11px rgba(102, 187, 106, 0.28)) drop-shadow(-5px 0 4px rgba(46, 125, 50, 0.24));
    animation: caselinkerTlsGatePulse 16s ease-in-out infinite;
}

.tech-landscape-link .tls-gate--mid {
    display: inline;
    vertical-align: baseline;
    color: #2e7d32;
    -webkit-text-fill-color: #2e7d32;
    font-weight: 400;
    filter: none;
    opacity: 0.88;
    padding: 0 5px;
}

.tech-landscape-link .tls-gate--right {
    display: inline;
    vertical-align: baseline;
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 52%, #2e7d32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.44)) drop-shadow(0 0 11px rgba(102, 187, 106, 0.28)) drop-shadow(5px 0 4px rgba(46, 125, 50, 0.24));
    animation: caselinkerTlsGatePulse 16s ease-in-out infinite;
}

@keyframes caselinkerTlsGatePulse {
    0%, 100% { opacity: 0.87; }
    50% { opacity: 0.94; }
}

.nav a.tech-landscape-link:hover {
    text-decoration: none;
}

.nav a.tech-landscape-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: rgba(67, 160, 71, 0.62);
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

.nav a.tech-landscape-link:hover::after {
    opacity: 1;
}
