:root {
    --blakframe-pitch-black: #020202;
    --blakframe-grid-line: rgba(255, 255, 255, 0.03);
    --blakframe-light-bright: rgba(255, 255, 255, 0.9);
    --blakframe-light-dim: rgba(255, 255, 255, 0.15);
    
    --animation-duration-long: 8s;
    --animation-duration-med: 4s;
    --anim-pulse: 8s;
    --anim-glitch: 3s;
    --trans-standard: 0.3s;
    --width-hairline: 1px;
}

@keyframes blakframe-scan-animation {
    0% { transform: translateX(-80px); opacity: 0; }
    30% { opacity: 0.8; }
    70% { opacity: 0.8; }
    100% { transform: translateX(1180px); opacity: 0; }
}

@keyframes blakframe-pulse-animation {
    0% { opacity: 0.92; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.003); }
}

@keyframes blakframe-glitch-animation {
    0%, 100% { opacity: 1; transform: translateX(0); }
    45% { opacity: 1; transform: translateX(0); }
    48% { opacity: 0.94; transform: translateX(0.8px); }
    51% { opacity: 1; transform: translateX(0); }
    78% { opacity: 1; transform: translateX(0); }
    80% { opacity: 0.96; transform: translateX(-0.5px); }
    82% { opacity: 1; transform: translateX(0); }
}

@keyframes blakframe-digit-cycle {
    0% { opacity: 0.5; transform: translateY(-0.125rem); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

body {
    background-color: var(--blakframe-pitch-black);
}

.bf-s-header, .bf-s-border-top, .bf-c-registration-info, .bf-s-footer {
    border-color: transparent !important;
    position: relative;
}

.bf-s-header::after, 
.bf-c-registration-info::after, 
.bf-s-border-top::after,
.bf-s-footer::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--width-hairline);
    background: linear-gradient(90deg, transparent 0%, var(--blakframe-grid-line) 20%, var(--blakframe-light-dim) 50%, var(--blakframe-grid-line) 80%, transparent 100%);
    opacity: 0.5;
    pointer-events: none;
}
.bf-s-header::after { bottom: 0; }
.bf-c-registration-info::after { top: 0; }
.bf-s-border-top::after { top: 0; }
.bf-s-footer::after { top: 0; }

.bf-s-header::before, .bf-c-registration-info::before {
    content: "";
    position: absolute;
    left: -100px;
    width: 100px;
    height: var(--width-hairline);
    background: linear-gradient(90deg, transparent, var(--blakframe-light-bright), transparent);
    z-index: 1;
    opacity: 0;
    animation: blakframe-scan-animation var(--animation-duration-long) ease-in-out infinite;
    will-change: transform, opacity;
}
.bf-s-header::before { bottom: 0; }
.bf-c-registration-info::before { top: 0; }

h1, .bf-c-logo-icon {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 16px rgba(255,255,255,0.10);
    animation: blakframe-pulse-animation var(--anim-pulse) ease-in-out infinite alternate;
}

h3 {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 14px rgba(255,255,255,0.08);
    animation: blakframe-pulse-animation var(--anim-pulse) ease-in-out infinite alternate;
}

a:not([href^="mailto"]):not(.bf-k-link-logo) {
    animation: blakframe-glitch-animation var(--anim-glitch) ease-in-out infinite;
    will-change: opacity, transform;
}

a:hover {
    text-shadow: 0 0 10px rgba(255,255,255,0.22);
    animation: none;
}

.bf-c-card-director {
    background: transparent !important;
    border: none !important;
    
    gap: 5rem !important; 
}

.bf-c-portrait {
    mix-blend-mode: normal !important;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

.bf-c-question::before {
    content: "›"; 
    color: var(--blakframe-white-accent);
    margin-right: 0.5rem;
    animation: blakframe-pulse-animation 4s ease-in-out infinite alternate;
    display: inline-block;
}

.bf-c-legal-link a {
     
     border-bottom: none;
}
