@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.woff2') format('woff2'),
        url('../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-Medium.woff2') format('woff2'),
        url('../fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Pono 088';
    src: url('../fonts/pono_088/Pono_088.woff2') format('woff2'),
        url('../fonts/pono_088/Pono_088.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Reboot';
    src: url('../fonts/Reboot/Reboot.woff2') format('woff2'),
        url('../fonts/Reboot/Reboot.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --amber: #ffbe00;
    --amber-bright: #ffa900;
    --amber-dim: #ffa900;
    --crt-white: #fff7dc;

    --site-navigation-height: 72px;
    --content-max-width: 1280px;
    --hero-brand-logo-height: 720px;

    --section-header-height: 72px;
    --section-spacing-top: clamp(48px, 5vw, 64px);
    --section-pb: clamp(56px, 6vw, 72px);
    --section-px: clamp(32px, 6vw, 72px);

    --font: 'IBM Plex Mono', BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --font-header: 'Reboot', 'IBM Plex Mono', monospace;

    --transition: 180ms linear;
    --social-pulse-duration: 1.9s;

    --text-glow-hover: 0 0 8px var(--amber-bright), 0 0 18px rgba(255, 184, 54, 0.65);
    --shadow-panel: 0 0 12px rgba(255, 184, 54, 0.08);
    --shadow-panel-hover: 0 0 18px rgba(255, 184, 54, 0.18);
    --text-drop-shadow: 0px 0px 2px rgba(0, 0, 0, 0.98), 0 2px 8px rgba(0, 0, 0, 0.96), 0 0 12px rgba(0, 0, 0, 0.86);

    --crt-phosphor-persist: 0 0 2px rgba(255, 200, 80, 0.95), 0 0 5px rgba(255, 184, 54, 0.65), 0 0 10px rgba(255, 184, 54, 0.40), 0 0 20px rgba(255, 140, 20, 0.22), 0 0 38px rgba(255, 120, 0, 0.12);

    --crt-rgb: linear-gradient(90deg, rgba(255, 80, 0, 0.04), rgba(255, 200, 0, 0.02), rgba(200, 100, 0, 0.04));
    --crt-rgb-size: 4px 100%;
    --crt-scanlines: repeating-linear-gradient(to bottom, rgba(255, 244, 205, 0.035) 0, rgba(255, 244, 205, 0.035) 1px, rgba(0, 0, 0, 0.36) 1px, rgba(0, 0, 0, 0.36) 2px, rgba(0, 0, 0, 0.10) 2px, rgba(0, 0, 0, 0.10) 4px);
    --crt-scanline-size: 100% 4px;

    --bg-crt-nav: var(--crt-rgb), linear-gradient(to bottom, rgba(25, 8, 0, 0.65), rgba(18, 5, 0, 0.25));
    --bg-crt-link: var(--crt-rgb), var(--crt-scanlines), linear-gradient(to bottom, rgba(255, 184, 54, 0.12), rgba(255, 184, 54, 0.06));
    --bg-crt-panel: var(--crt-rgb), var(--crt-scanlines), linear-gradient(to bottom, rgba(255, 184, 54, 0.11), rgba(38, 10, 0, 0.58));
    --bg-crt-btn: var(--crt-rgb), var(--crt-scanlines), linear-gradient(to bottom, rgba(255, 184, 54, 0.14), rgba(255, 184, 54, 0.06));
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

input,
textarea,
[contenteditable="true"] {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--site-navigation-height) + 32px);
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #060303;
    color: var(--amber);
    font: 14px/1.5 var(--font);
    overflow-x: hidden;
}

.site-background-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -15;
    object-fit: cover;
    pointer-events: none;
    transform: scale(1.08);
    filter: blur(96px) brightness(1) contrast(0.55) sepia(1) saturate(7) hue-rotate(320deg);
}

.site-background-overlay {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background: url(../img/background/prevail-framework.webp) left top no-repeat;
    min-width: 100dvh;
    min-height: 5120px;
}

.crt-glass-overlay {
    position: fixed;
    inset: 0;
    z-index: 100002;
    overflow: hidden;
    pointer-events: none;
}

.composite-dropouts {
    --composite-x: 0%;
    --composite-opacity: 0.35;
    --composite-noise:
        linear-gradient(rgba(0, 0, 0, 0.58) 0 100%) 18% 24px / 10px 4px no-repeat,
        linear-gradient(rgba(0, 0, 0, 0.5) 0 100%) 63% 68px / 6px 2px no-repeat;
    position: absolute;
    inset: 0;
    z-index: 0;
    contain: paint;
    background: var(--composite-noise);
    mix-blend-mode: multiply;
    opacity: var(--composite-opacity);
    filter: none;
}

.vhs-tracking {
    --vhs-x: 0px;
    --vhs-y-scale: 1;
    --vhs-bands-x: 0%;
    --vhs-bands-scale: 1;
    --vhs-bands-opacity: 0.62;
    --vhs-dropouts-x: 0%;
    --vhs-dropouts-scale: 1;
    --vhs-dropouts-opacity: 0.48;
    --vhs-bands:
        linear-gradient(90deg, transparent 4%, rgba(255, 255, 255, 0.52) 4% 10%, transparent 10%) 0 78% / 100% 2px no-repeat,
        linear-gradient(90deg, transparent 34%, rgba(255, 255, 255, 0.46) 34% 43%, transparent 43%) 0 92% / 100% 3px no-repeat;
    --vhs-dropouts:
        linear-gradient(90deg, transparent 12%, rgba(0, 0, 0, 0.54) 12% 17%, transparent 17%) 0 82% / 100% 2px no-repeat,
        linear-gradient(90deg, transparent 52%, rgba(0, 0, 0, 0.46) 52% 60%, transparent 60%) 0 95% / 100% 3px no-repeat;
    position: absolute;
    right: -4%;
    bottom: -6px;
    left: -4%;
    z-index: 0;
    height: 25vh;
    overflow: hidden;
    contain: paint;
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 25%,
            rgba(0, 0, 0, 0.075) 58%,
            rgba(0, 0, 0, 0.1) 72%,
            rgba(0, 0, 0, 0.18) 84.9%,
            rgba(0, 0, 0, 0.5) 85%,
            rgba(0, 0, 0, 0.75) 95%,
            rgba(0, 0, 0, 0.95) 100%);
    mask-image: linear-gradient(to bottom,
            transparent 25%,
            rgba(0, 0, 0, 0.075) 58%,
            rgba(0, 0, 0, 0.1) 72%,
            rgba(0, 0, 0, 0.18) 84.9%,
            rgba(0, 0, 0, 0.5) 85%,
            rgba(0, 0, 0, 0.75) 95%,
            rgba(0, 0, 0, 0.95) 100%);
    opacity: 0.82;
}

.vhs-tracking::before {
    position: absolute;
    inset: 0;
    content: "";
    background: var(--vhs-dropouts);
    mix-blend-mode: multiply;
    opacity: var(--vhs-dropouts-opacity);
}

.vhs-tracking::after {
    position: absolute;
    inset: 0;
    content: "";
    background: var(--vhs-bands);
    mix-blend-mode: screen;
    opacity: var(--vhs-bands-opacity);
}

.crt-reflection {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    max-width: none;
    opacity: 0.5;
}

.crt-handprint {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 1024px;
    max-width: none;
    height: auto;
}

@media (max-width: 788px) {
    .crt-handprint {
        width: 100vw;
        max-width: 100%;
    }
}

@keyframes crtFlicker {

    0%,
    100% {
        opacity: 0.05;
    }

    10%,
    90% {
        opacity: 0.12;
    }

    20%,
    80% {
        opacity: 0.03;
    }

    30%,
    70% {
        opacity: 0.18;
    }

    40%,
    60% {
        opacity: 0.06;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes crtSurfaceDeconverge {

    0%,
    100% {
        translate: 0 0;
        filter: none;
    }

    12% {
        translate: -5px 0;
        filter: brightness(1.28) contrast(1.44) saturate(1.52) drop-shadow(5px 0 0 rgba(255, 0, 0, 0.72)) drop-shadow(-3px 0 0 rgba(255, 218, 92, 0.58));
    }

    24% {
        translate: 6px -1px;
        filter: brightness(1.36) contrast(1.66) saturate(1.72) drop-shadow(-6px 0 0 rgba(255, 0, 0, 0.68)) drop-shadow(4px 0 0 rgba(255, 218, 92, 0.54));
    }

    38% {
        translate: -8px 1px;
        filter: brightness(1.30) contrast(1.74) saturate(1.84) drop-shadow(8px 0 0 rgba(255, 0, 0, 0.76)) drop-shadow(-5px 0 0 rgba(255, 218, 92, 0.60));
    }

    54% {
        translate: 4px 0;
        filter: brightness(1.18) contrast(1.34) saturate(1.42) drop-shadow(-4px 0 0 rgba(255, 0, 0, 0.48)) drop-shadow(3px 0 0 rgba(255, 218, 92, 0.42));
    }

    72% {
        translate: -2px 0;
        filter: brightness(1.10) contrast(1.16) saturate(1.22) drop-shadow(3px 0 0 rgba(255, 0, 0, 0.34)) drop-shadow(-2px 0 0 rgba(255, 218, 92, 0.28));
    }
}

@keyframes crtHoverSlice {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
    }

    14% {
        clip-path: inset(0 0 62% 0);
    }

    28% {
        clip-path: inset(38% 0 22% 0);
    }

    44% {
        clip-path: inset(68% 0 0 0);
    }

    62% {
        clip-path: inset(16% 0 48% 0);
    }

    80% {
        clip-path: inset(0 0 0 0);
    }
}

body,
.site-main,
.site-navigation,
input,
textarea,
a {
    color: var(--amber);
}

.site-navigation-link:hover,
.button-primary:hover,
.social-card:hover,
button:hover {
    animation: crtSurfaceDeconverge 320ms steps(1, end) 1 both;
}

.site-navigation-link:hover>span,
.button-primary:hover>span,
button:hover>span {
    animation: crtHoverSlice 320ms steps(1, end) 1 both;
}

.site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--site-navigation-height);
    z-index: 900;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px clamp(16px, 3vw, 32px);
    background: var(--bg-crt-nav);
    background-size: var(--crt-rgb-size), 100% 100%;
    border-bottom: 1px solid rgba(255, 184, 54, 0.18);
    backdrop-filter: blur(48px);
}

.site-navigation-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, var(--content-max-width));
    height: 100%;
    margin-inline: auto;
    overflow: hidden;
    padding: 0;
}

.site-navigation-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.site-navigation-group:last-of-type {
    margin-left: auto;
}

.site-navigation-label {
    display: none;
    padding: 0;
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
}

.site-navigation-link {
    position: relative;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 14px !important;
    overflow: hidden;
    cursor: pointer;
    color: var(--amber) !important;
    text-decoration: none !important;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    background: var(--bg-crt-link) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    border: 1px solid var(--amber) !important;
    border-radius: 2px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 230, 153, 0.08), 0 0 12px rgba(255, 184, 54, 0.10);
    transition: transform 0.08s linear, box-shadow 0.12s linear;
}

.site-navigation-link span,
.site-navigation-link a {
    color: var(--amber) !important;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.03em;
}

.site-navigation-logout {
    white-space: nowrap;
}

.site-navigation-link .site-navigation-icon {
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 1px rgba(255, 184, 54, 0.95)) drop-shadow(0 0 3px rgba(255, 184, 54, 0.55)) drop-shadow(0 0 7px rgba(255, 160, 20, 0.30));
}

.site-navigation-link:hover {
    transform: translateY(-1px);
}

.site-navigation-link:hover .site-navigation-icon {
    filter: drop-shadow(2px 0 0 rgba(255, 34, 0, 0.58)) drop-shadow(-2px 0 0 rgba(255, 218, 92, 0.45)) drop-shadow(0 0 2px rgba(255, 200, 80, 0.95)) drop-shadow(0 0 5px rgba(255, 184, 54, 0.65)) drop-shadow(0 0 12px rgba(255, 140, 20, 0.35));
}

.site-layout {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
}

.site-main {
    position: relative;
    width: 100%;
    padding: 0;
}

.site-section {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding-top: calc(var(--section-header-height) + var(--section-spacing-top));
    padding-bottom: var(--section-pb);
    padding-left: var(--section-px);
    padding-right: var(--section-px);
    border-bottom: 1px solid rgba(255, 184, 54, 0.18);
}

.section-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding-inline: clamp(32px, 6vw, 72px);
    border-top: 1px solid rgba(255, 184, 54, 0.18);
    border-bottom: 1px solid rgba(255, 184, 54, 0.18);
    background: #000;
    backdrop-filter: blur(16px);
    z-index: 10;
}

.site-section:not(#welcome) .section-header {
    border-top-color: rgba(255, 190, 0, 0.66);
    border-bottom-color: rgba(255, 190, 0, 0.74);
}

.section-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, var(--content-max-width));
    height: 100%;
    margin-inline: auto;
}

.section-header-title {
    font-family: 'Pono 088', var(--font-header);
    font-size: 48px;
    font-weight: 400;
    color: var(--crt-white);
    text-transform: uppercase;
    line-height: 1;
    text-align: left !important;
}

.section-header-status {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--amber-dim);
}

#welcome {
    position: relative;
    padding: 0 0 0 0;
    overflow: hidden;
    z-index: auto;
    margin: 0 0 0 0;
}

.site-section:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 32px 32px rgba(0, 0, 0, 0.22), inset 0 -32px 32px rgba(0, 0, 0, 0.22);
}

#about,
#book {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 640px;
    padding-top: calc(var(--section-header-height) + var(--section-spacing-top));
    padding-bottom: clamp(64px, 7vw, 96px);
    padding-left: var(--section-px);
    padding-right: var(--section-px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#about {
    background-image: linear-gradient(90deg, rgba(5, 0, 0, 0.94) 0%, rgba(5, 0, 0, 0.82) 36%, rgba(5, 0, 0, 0.28) 62%, rgba(5, 0, 0, 0.04) 100%);
}

#book {
    background-image: linear-gradient(270deg, rgba(5, 0, 0, 0.94) 0%, rgba(5, 0, 0, 0.82) 36%, rgba(5, 0, 0, 0.28) 62%, rgba(5, 0, 0, 0.04) 100%);
}

.about-author-image,
.book-background-image {
    position: absolute;
    bottom: 0;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.about-author-image {
    right: 0;
    width: auto;
    height: min(720px, 100%);
    object-position: right bottom;
}

.book-background-image {
    left: 0;
    width: 1214px;
    height: 640px;
    object-position: left bottom;
}

.site-section> :where(.section-body) {
    width: min(100%, var(--content-max-width));
    margin-inline: auto;
}

#about>.about-grid,
#book>.book-grid {
    position: relative;
    z-index: 1;
    width: min(100%, var(--content-max-width));
    margin-inline: auto;
}

.about-grid,
.book-grid {
    display: grid;
    gap: clamp(24px, 3vw, 56px);
    align-items: start;
}

.about-grid {
    grid-template-columns: 300px minmax(0, 1fr);
}

.book-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.section-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(24px, 3vw, 56px);
    align-items: stretch;
}

.section-body {
    max-width: var(--content-max-width);
    font-size: 18px;
    line-height: 1.85;
}

.section-body p+p {
    margin-top: 18px;
}

.text-column {
    position: relative;
    z-index: 2;
    max-width: 860px;
    text-align: justify;
}

.text-column>* {
    max-width: none;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.book-meta span {
    padding: 7px 10px 1px;
    background: rgba(255, 184, 54, 0.08);
    border: 1px solid rgba(255, 184, 54, 0.28);
}

.text-column,
.stats-column .stat-value,
.stats-column .stat-label {
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.92), 0 0 8px rgba(0, 0, 0, 0.88);
}

.text-column .section-kicker,
.stats-column .stat-value {
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.92);
}

.section-kicker {
    margin-bottom: 18px;
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.text-column,
.contact-grid>div {
    min-width: 0;
}

.stats-column,
.book-cover-column {
    position: relative;
    z-index: 3;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    align-self: start;
}

.book-cover-column {
    box-sizing: border-box;
    overflow: hidden;
    padding: 9px;
    background: var(--bg-crt-panel);
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid rgba(255, 184, 54, 0.30);
}

.book-cover-column img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 184, 54, 0.30);
    box-shadow: 0 0 0 1px rgba(255, 230, 153, 0.07), var(--shadow-panel);
}

.cover-credit {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 5px;
    margin-top: 9px;
    padding: 11px 6px 6px;
    border-top: 1px solid rgba(255, 190, 0, 0.28);
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.cover-credit-label {
    color: var(--crt-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cover-credit a {
    color: var(--amber);
    letter-spacing: 0.03em;
    text-decoration: none;
}

.cover-credit a:hover,
.cover-credit a:focus-visible {
    color: var(--amber-bright);
    text-shadow: var(--text-glow-hover) !important;
}

.stats-column .stat-row {
    padding: 18px 20px;
}

.stats-column .stat-value {
    font-family: 'Pono 088', 'IBM Plex Mono', monospace;
    font-size: 36px;
    line-height: 1.1;
}

.stat-panel,
.social-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-crt-panel);
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid rgba(255, 184, 54, 0.30);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 0 1px rgba(255, 230, 153, 0.07), var(--shadow-panel);
}

.stat-panel {
    display: grid;
    gap: 0;
}

.mobile-stats-column {
    display: none;
}

.stat-row {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 184, 54, 0.18);
}

.stat-row:last-child {
    border-bottom: 0;
}

.stat-value {
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.stat-label {
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.92;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: 18px;
    text-transform: uppercase;
    background: rgba(255, 184, 54, 0.08);
    border: 1px solid rgba(255, 184, 54, 0.28);
    border-radius: 999px;
}

.site-navigation::after,
.site-navigation-link::after,
.stat-panel::after,
.social-card::after,
.button-primary::after {
    content: " ";
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 16, 0.10);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: crtFlicker 0.15s infinite;
}

.site-navigation::after {
    z-index: 10;
}

.social-group {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 236px;
    background: var(--bg-crt-panel);
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid rgba(255, 184, 54, 0.30);
    box-shadow: inset 0 0 0 1px rgba(255, 230, 153, 0.07), var(--shadow-panel);
}

:is(.stat-panel, .social-group, .book-cover-column) {
    border-color: rgba(255, 190, 0, 0.82);
    border-radius: 0;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 190, 0, 0.06), rgba(10, 4, 1, 0.92));
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    box-shadow:
        inset 0 0 0 1px rgba(255, 212, 96, 0.12),
        inset 0 0 42px rgba(255, 169, 0, 0.07),
        0 0 5px rgba(255, 190, 0, 0.42),
        0 0 22px rgba(255, 169, 0, 0.13);
}

:is(.stat-panel, .social-group, .book-cover-column)::before {
    position: absolute;
    inset: 4px;
    z-index: 2;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 190, 0, 0.12);
    box-shadow: inset 0 0 18px rgba(255, 169, 0, 0.06);
}

.stat-row {
    border-bottom-color: rgba(255, 190, 0, 0.28);
}

.book-cover-column img {
    border-color: rgba(255, 190, 0, 0.32);
    border-radius: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 212, 96, 0.12),
        0 0 8px rgba(255, 169, 0, 0.1);
}

.social-links {
    display: flex;
    align-items: center;
    flex: 1;
    gap: clamp(16px, 3vw, 36px);
    padding: clamp(18px, 2.4vw, 28px);
}

.social-group-videos .social-links {
    justify-content: space-around;
}

.social-group-community .social-links,
.contact-email-group .social-links {
    justify-content: center;
}

.panel-label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 18px;
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.42);
    border-bottom: 1px solid rgba(255, 184, 54, 0.28);
    text-shadow: var(--crt-phosphor-persist) !important;
}

.panel-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 184, 54, 0.25);
}

.panel-label>span {
    transform: translateY(3px);
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 180px;
    padding: 22px;
    color: var(--amber);
    text-decoration: none;
    text-align: center;
    transition: transform 0.08s linear, border-color 0.12s linear, box-shadow 0.12s linear;
}

#social .social-card {
    min-width: clamp(132px, 12vw, 176px);
    min-height: 162px;
    padding: 12px 14px 10px;
}

:where(#social, .contact-email-group) .social-card {
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.social-card,
.social-card * {
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-2px);
    border-color: var(--amber-bright);
    box-shadow: inset 0 0 0 1px rgba(255, 230, 153, 0.13), var(--shadow-panel-hover);
}

:where(#social, .contact-email-group) .social-card:hover {
    border-color: transparent;
    box-shadow: none;
}

.social-icon-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin-block: 2px 0;
}

.social-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: opacity 180ms linear, filter 180ms linear;
}

.social-icon-default {
    opacity: 0.94;
    filter: drop-shadow(0 0 2px rgba(255, 184, 54, 0.85)) drop-shadow(0 0 6px rgba(255, 140, 20, 0.35));
}

.social-icon-hover {
    opacity: 0;
    filter: brightness(1.25) saturate(1.08);
}

.social-name {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.discord-name {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.discord-presence {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--crt-white);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.discord-presence[hidden] {
    display: none;
}

.social-card:not(.discord-card) .social-name,
.discord-title {
    animation: socialTextPulse var(--social-pulse-duration) ease-in-out infinite;
}

.social-card .social-icon-stack {
    animation: socialLogoPulse var(--social-pulse-duration) ease-in-out infinite;
}

.discord-presence-count {
    display: inline-block;
    animation: discordStatusTextPulse var(--social-pulse-duration) ease-in-out infinite;
}

@keyframes socialTextPulse {
    0%,
    100% {
        color: var(--amber);
        text-shadow: 0 0 3px rgba(255, 184, 54, 0.42);
    }

    50% {
        color: var(--amber-bright);
        text-shadow:
            0 0 4px rgba(255, 244, 205, 0.92),
            0 0 10px rgba(255, 184, 54, 0.78),
            0 0 18px rgba(255, 140, 20, 0.4);
    }
}

@keyframes socialLogoPulse {
    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(255, 184, 54, 0.35));
    }

    50% {
        filter:
            drop-shadow(0 0 4px rgba(255, 244, 205, 0.82))
            drop-shadow(0 0 12px rgba(255, 184, 54, 0.68))
            drop-shadow(0 0 20px rgba(255, 140, 20, 0.32));
    }
}

@keyframes discordStatusTextPulse {
    0%,
    100% {
        color: #dbffe7;
        text-shadow:
            0 0 3px rgba(122, 255, 169, 0.62),
            0 0 7px rgba(35, 165, 90, 0.34);
    }

    50% {
        color: #f0fff5;
        text-shadow:
            0 0 4px rgba(232, 255, 238, 0.98),
            0 0 10px rgba(35, 165, 90, 0.9),
            0 0 20px rgba(35, 165, 90, 0.58);
    }
}

.social-card:hover .social-icon-default {
    opacity: 0;
}

.social-card:hover .social-icon {
    animation: crtHoverSlice 320ms steps(1, end) 1 both;
}

.social-card.glitching .social-icon {
    animation: crtHoverSlice 320ms steps(1, end) infinite;
}

.social-card:hover .social-icon-hover {
    opacity: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: start;
}

.contact-methods {
    display: grid;
    gap: 18px;
    width: min(100%, 300px);
}

.contact-grid .contact-email-group {
    aspect-ratio: 1 / 1;
    align-self: start;
    width: min(100%, 300px);
    height: auto;
    min-height: 0;
    min-width: 0;
}

.contact-email-group .social-links {
    min-height: 0;
    padding: 14px;
}

.contact-email-group .social-card {
    aspect-ratio: 1 / 1;
    width: min(100%, 190px);
    min-height: 0;
    padding: 12px;
}

.contact-email-group .social-icon-stack {
    aspect-ratio: 1 / 1;
    width: 112px;
    height: auto;
}

.contact-mail-group {
    min-height: 0;
}

.contact-mail-copy {
    position: relative;
    z-index: 3;
    padding: 16px 18px 18px;
    color: rgba(255, 230, 153, 0.82);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.55;
}

.contact-mail-copy p+p {
    margin-top: 12px;
}

.contact-mail-address {
    color: var(--crt-white);
    font-family: var(--font-header);
    font-size: 20px;
    line-height: 1.05;
    text-transform: uppercase;
}

.contact-mail-note {
    color: rgba(255, 184, 54, 0.68);
}

.button-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    overflow: hidden;
    cursor: pointer;
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bg-crt-btn);
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid var(--amber);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 230, 153, 0.08), var(--shadow-panel);
    transition: all var(--transition);
}

.button-primary:hover {
    transform: translateY(-1px);
    color: var(--amber-bright);
}

:is(.site-navigation-link, .button-primary) {
    border-color: rgba(255, 190, 0, 0.92) !important;
    border-radius: 0 !important;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 190, 0, 0.075), rgba(10, 4, 1, 0.96)) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 212, 96, 0.14),
        inset 0 0 20px rgba(255, 169, 0, 0.08),
        0 0 5px rgba(255, 190, 0, 0.50),
        0 0 18px rgba(255, 169, 0, 0.17) !important;
    text-shadow: var(--crt-phosphor-persist) !important;
}

:is(.site-navigation-link, .button-primary)::before {
    position: absolute;
    inset: 3px;
    content: "";
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(255, 190, 0, 0.17);
    box-shadow: inset 0 0 9px rgba(255, 169, 0, 0.07);
}

:is(.site-navigation-link, .button-primary):hover {
    border-color: var(--amber-bright) !important;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 190, 0, 0.16), rgba(12, 5, 1, 0.95)) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 153, 0.22),
        inset 0 0 24px rgba(255, 169, 0, 0.13),
        0 0 8px rgba(255, 190, 0, 0.72),
        0 0 28px rgba(255, 169, 0, 0.32) !important;
}

.site-navigation-link.active {
    animation: none;
    border-color: var(--amber-bright) !important;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 190, 0, 0.20), rgba(12, 5, 1, 0.96)) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 153, 0.25),
        inset 0 0 24px rgba(255, 169, 0, 0.16),
        0 0 9px rgba(255, 190, 0, 0.78),
        0 0 30px rgba(255, 169, 0, 0.36) !important;
}

.site-navigation-link.active:hover {
    animation: crtSurfaceDeconverge 320ms steps(1, end) 1 both;
}

:is(.site-navigation-link, .button-primary):active {
    transform: translateY(1px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 153, 0.20),
        inset 0 0 30px rgba(255, 169, 0, 0.20),
        0 0 4px rgba(255, 190, 0, 0.56) !important;
}

:is(.site-navigation-link, .button-primary):focus-visible {
    outline: 1px solid var(--amber-bright);
    outline-offset: 3px;
}

:is(.site-navigation-link, .button-primary) :is(.site-navigation-icon, .button-icon) {
    filter: drop-shadow(0 0 2px rgba(255, 200, 80, 0.95)) drop-shadow(0 0 8px rgba(255, 169, 0, 0.48));
}

.site-navigation-logout {
    margin-left: 32px !important;
    color: #ff5555 !important;
    border-color: #aa0000 !important;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(170, 0, 0, 0.34), rgba(24, 0, 0, 0.98)) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 85, 85, 0.18),
        inset 0 0 20px rgba(170, 0, 0, 0.18),
        0 0 5px rgba(170, 0, 0, 0.65),
        0 0 18px rgba(85, 0, 0, 0.35) !important;
    text-shadow: 0 0 2px #ff5555, 0 0 9px rgba(255, 0, 0, 0.58) !important;
}

.site-navigation-logout span {
    color: #ff5555 !important;
}

.site-navigation-logout::before {
    border-color: rgba(255, 85, 85, 0.28);
    box-shadow: inset 0 0 9px rgba(255, 0, 0, 0.16);
}

.site-navigation-logout:hover {
    color: #ffaaaa !important;
    border-color: #ff5555 !important;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 0, 0, 0.40), rgba(35, 0, 0, 0.97)) !important;
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100% !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 170, 170, 0.24),
        inset 0 0 24px rgba(255, 0, 0, 0.22),
        0 0 8px rgba(255, 85, 85, 0.78),
        0 0 28px rgba(170, 0, 0, 0.46) !important;
}

.site-navigation-logout:hover span {
    color: #ffaaaa !important;
}

.site-navigation-logout:focus-visible {
    outline-color: #ff5555;
}

.logout-response {
    position: fixed;
    top: calc(var(--site-navigation-height) + 12px);
    right: clamp(16px, 3vw, 32px);
    z-index: 899;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    max-width: min(calc(100vw - 32px), 540px);
    padding: 14px 20px;
    overflow: hidden;
    color: #ffaaaa;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(170, 0, 0, 0.34), rgba(24, 0, 0, 0.98));
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid #aa0000;
    box-shadow:
        inset 0 0 0 1px rgba(255, 85, 85, 0.18),
        inset 0 0 20px rgba(170, 0, 0, 0.18),
        0 0 5px rgba(170, 0, 0, 0.65),
        0 0 18px rgba(85, 0, 0, 0.35);
    text-shadow: 0 0 2px #ff5555, 0 0 9px rgba(255, 0, 0, 0.58) !important;
}

.logout-response[hidden] {
    display: none;
}

.logout-response::before {
    position: absolute;
    inset: 3px;
    z-index: 1;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 85, 85, 0.28);
    box-shadow: inset 0 0 9px rgba(255, 0, 0, 0.16);
}

.logout-response-prefix,
.logout-response-text,
.logout-response-devil {
    position: relative;
    z-index: 2;
}

.logout-response-prefix {
    flex-shrink: 0;
    color: #ff5555;
    font-size: 13px;
    letter-spacing: 0.12em;
}

.logout-response.is-refreshing {
    animation: crtSurfaceDeconverge 320ms steps(1, end) 1 both;
}

.logout-response.is-logging-out {
    color: #aaffcc;
    border-color: #00aa55;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(0, 140, 62, 0.34), rgba(0, 24, 10, 0.98));
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    box-shadow:
        inset 0 0 0 1px rgba(85, 255, 153, 0.18),
        inset 0 0 20px rgba(0, 170, 72, 0.18),
        0 0 5px rgba(0, 170, 72, 0.65),
        0 0 18px rgba(0, 85, 38, 0.35);
    text-shadow: 0 0 2px #55ff99, 0 0 9px rgba(0, 255, 102, 0.58) !important;
}

.logout-response.is-logging-out::before {
    border-color: rgba(85, 255, 153, 0.28);
    box-shadow: inset 0 0 9px rgba(0, 255, 102, 0.16);
}

.logout-response.is-logging-out .logout-response-prefix {
    color: #55ff99 !important;
}

.logout-response.is-joking {
    color: var(--amber-bright);
    border-color: rgba(255, 190, 0, 0.92);
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(255, 190, 0, 0.16), rgba(12, 5, 1, 0.95));
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 153, 0.22),
        inset 0 0 24px rgba(255, 169, 0, 0.13),
        0 0 8px rgba(255, 190, 0, 0.72),
        0 0 28px rgba(255, 169, 0, 0.32);
    text-shadow: var(--crt-phosphor-persist) !important;
}

.logout-response.is-joking::before {
    border-color: rgba(255, 190, 0, 0.22);
    box-shadow: inset 0 0 9px rgba(255, 169, 0, 0.1);
}

.logout-response.is-joking .logout-response-prefix {
    color: var(--amber) !important;
}

.logout-response-devil {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    filter: hue-rotate(90deg) saturate(2.2) brightness(1.08);
    text-shadow: 0 0 8px rgba(255, 32, 32, 0.78) !important;
}

.logout-response-devil[hidden] {
    display: none;
}

.logout-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 2, 1, 0.76);
}

.logout-confirm-overlay[hidden],
.logout-exit-overlay[hidden] {
    display: none;
}

.logout-confirm {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: min(520px, 100%);
    padding: clamp(26px, 5vw, 42px);
    color: #ffaaaa;
    background:
        var(--crt-rgb),
        var(--crt-scanlines),
        linear-gradient(to bottom, rgba(170, 0, 0, 0.28), rgba(16, 2, 1, 0.98));
    background-size: var(--crt-rgb-size), var(--crt-scanline-size), 100% 100%;
    border: 1px solid #aa0000;
    box-shadow:
        inset 0 0 0 1px rgba(255, 85, 85, 0.18),
        inset 0 0 40px rgba(170, 0, 0, 0.22),
        0 0 12px rgba(170, 0, 0, 0.72),
        0 0 42px rgba(85, 0, 0, 0.42);
}

.logout-confirm::before {
    position: absolute;
    inset: 5px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 85, 85, 0.25);
}

.logout-confirm-prompt {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffaaaa;
    font: 700 clamp(23px, 5vw, 30px) / 1.2 var(--font-mono);
    letter-spacing: 0.06em;
    text-align: center;
    text-shadow: 0 0 2px #ff5555, 0 0 10px rgba(255, 0, 0, 0.64) !important;
}

.logout-confirm-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.logout-confirm-actions .button-primary {
    min-width: 128px;
}

.logout-exit-screen {
    gap: clamp(10px, 2vh, 18px);
}

.logout-exit-video {
    flex: 1;
    width: 100%;
    min-height: 0;
    object-fit: contain;
    background: #000;
    border: 1px solid rgba(255, 190, 0, 0.42);
    box-shadow: inset 0 0 20px rgba(255, 169, 0, 0.1);
}

.logout-exit-controls {
    display: flex;
    justify-content: center;
}

.logout-exit-controls .logout-return {
    min-height: 46px;
    padding-inline: clamp(20px, 5vw, 34px);
}

.site-footer {
    --site-footer-rail-inset: max(clamp(16px, 3vw, 32px), calc((100vw - var(--content-max-width)) / 2));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 264px;
    padding: 32px var(--site-footer-rail-inset) 78px;
    background-color: rgba(0, 0, 0, 0.50);
    border-top: 1px solid rgba(255, 184, 54, 0.18);
    box-shadow: inset 0 32px 32px rgba(0, 0, 0, 0.24);
}

.site-credits {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 56px;
    padding: 8px var(--site-footer-rail-inset);
    background: #000;
    border-top: 1px solid rgba(255, 184, 54, 0.18);
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 190, 0, 0.72);
    line-height: 1.35;
}

.site-copyright {
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-design-credit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.site-design-credit span {
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.purehavuk-logo {
    display: block;
    width: auto;
    height: 42px;
    object-fit: contain;
    animation: socialLogoPulse var(--social-pulse-duration) ease-in-out infinite;
}

.site-footer::before,
.zeroday::after {
    position: absolute;
    inset: 0;
    background: var(--crt-scanlines);
    background-size: var(--crt-scanline-size);
    content: "";
    mix-blend-mode: multiply;
    pointer-events: none;
}

.site-footer::before {
    z-index: 0;
    opacity: 0.72;
}

.zeroday {
    position: absolute;
    right: var(--site-footer-rail-inset);
    bottom: 72px;
    z-index: 1;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    width: 128px;
    height: 128px;
    cursor: help;
    contain: layout;
}

.zeroday-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 128px;
    height: 128px;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    object-fit: contain;
}

.zeroday-talk-pixels {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    width: 128px;
    height: 128px;
    pointer-events: none;
}

.zeroday-talk-pixels::before {
    position: absolute;
    top: 76px;
    left: 42px;
    width: 4px;
    height: 2px;
    background: rgb(254, 17, 19);
    box-shadow: -2px 2px 0 rgb(254, 17, 19);
    content: "";
}

.zeroday.speaking .zeroday-talk-pixels {
    visibility: visible;
}

.zeroday::after {
    z-index: 3;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    opacity: 0.76;
}

.zeroday-eyes {
    visibility: hidden;
}

.zeroday-eyes {
    z-index: 2;
    filter: drop-shadow(0 0 3px #f00) drop-shadow(0 0 10px rgba(255, 0, 0, 0.86)) drop-shadow(0 0 22px rgba(255, 32, 0, 0.58)) drop-shadow(0 0 34px rgba(255, 184, 54, 0.42));
}

.zeroday.evil .zeroday-eyes {
    visibility: visible;
}

.zeroday.terminated {
    cursor: default;
    pointer-events: none;
}

.zeroday.terminated .zeroday-talk-pixels,
.zeroday.terminated .zeroday-eyes {
    visibility: hidden;
}

.zeroday-bubble {
    position: absolute;
    right: calc(100% + 14px);
    bottom: 52px;
    z-index: 2;
    --zeroday-bubble-crt-filter: brightness(0) saturate(100%) invert(97%) sepia(11%) saturate(650%) hue-rotate(330deg) brightness(106%) contrast(104%) ;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: max-content;
    min-width: 248px;
    min-height: 64px;
    max-width: min(420px, calc(100vw - 168px));
    padding: 9px 14px 24px;
    color: #050505;
    font-family: 'Reboot';
    font-weight: 900;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
    text-shadow: none !important;
    white-space: nowrap;
    opacity: 0;
    isolation: isolate;
    pointer-events: none;
}

.zeroday-bubble-layer {
    position: fixed;
    z-index: 100004;
}

.zeroday-bubble::before,
.zeroday-bubble::after {
    position: absolute;
    z-index: -1;
    content: "";
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: var(--zeroday-bubble-crt-filter);
}

.zeroday-bubble::before {
    top: 0;
    right: 0;
    left: 0;
    height: 40px;
    border: 8px solid;
    border-image: url('../img/zeroday/pixel-speech-bubble.png') 8 fill stretch;
}

.zeroday-bubble::after {
    right: 0;
    top: 40px;
    width: 128px;
    height: 24px;
    background: url('../img/zeroday/pixel-speech-bubble-tail.png') center / 128px 24px no-repeat;
}

.zeroday.speaking .zeroday-bubble,
.zeroday-bubble.speaking {
    opacity: 1;
}

.zeroday.speaking .zeroday-bubble::before,
.zeroday.speaking .zeroday-bubble::after,
.zeroday-bubble.speaking::before,
.zeroday-bubble.speaking::after {
    animation: crtSurfaceDeconverge 750ms steps(1, end) 1 both;
}

.zeroday-easter-egg {
    position: fixed;
    inset: 0;
    z-index: 100003;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.zeroday-easter-egg.active {
    display: block;
}

.zeroday-termination {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    opacity: 0;
}

.zeroday-reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: none;
    width: 128px;
    height: 128px;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 2px rgba(255, 32, 32, 0.98)) drop-shadow(0 0 12px rgba(255, 0, 0, 0.72));
    transform: translate(-50%, -50%);
}

.zeroday-easter-egg.targeting .zeroday-reticle {
    display: block;
}

.zeroday-flash {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
}

.zeroday-easter-egg.detonating .zeroday-termination {
    opacity: 1;
    transform-origin: center;
    animation:
        zerodayTerminationImpact 2s steps(1, end) 40ms both,
        zerodayTerminationFade 1.25s ease-in 5s forwards;
}

.zeroday-easter-egg.detonating .zeroday-flash {
    animation: zerodayFlash 2s linear forwards;
}

@keyframes zerodayFlash {
    0% {
        background: #fff;
        opacity: 1;
    }

    50% {
        background: #f8e531;
        opacity: 1;
    }

    100% {
        background: #f8e531;
        opacity: 0;
    }
}

@keyframes zerodayTerminationImpact {
    0% {
        transform: translate(0, 0) scale(1);
    }

    4% {
        transform: translate(-3vw, 2vh) scale(1.2);
    }

    9% {
        transform: translate(2.7vw, -2.2vh) scale(1.19);
    }

    14% {
        transform: translate(-2.6vw, -1.7vh) scale(1.18);
    }

    19% {
        transform: translate(2.5vw, 1.8vh) scale(1.18);
    }

    24% {
        transform: translate(-2.25vw, 1.2vh) scale(1.17);
    }

    29% {
        transform: translate(2.1vw, -1.35vh) scale(1.165);
    }

    34% {
        transform: translate(-1.85vw, -1vh) scale(1.155);
    }

    39% {
        transform: translate(1.75vw, 1.05vh) scale(1.15);
    }

    44% {
        transform: translate(-1.55vw, 0.72vh) scale(1.145);
    }

    49% {
        transform: translate(1.4vw, -0.82vh) scale(1.14);
    }

    54% {
        transform: translate(-1.22vw, -0.6vh) scale(1.13);
    }

    59% {
        transform: translate(1.05vw, 0.62vh) scale(1.125);
    }

    64% {
        transform: translate(-0.88vw, 0.45vh) scale(1.115);
    }

    69% {
        transform: translate(0.7vw, -0.4vh) scale(1.105);
    }

    74% {
        transform: translate(-0.54vw, -0.27vh) scale(1.095);
    }

    79% {
        transform: translate(0.42vw, 0.22vh) scale(1.09);
    }

    84% {
        transform: translate(-0.3vw, 0.16vh) scale(1.085);
    }

    90% {
        transform: translate(0.16vw, -0.1vh) scale(1.08);
    }

    100% {
        transform: translate(0, 0) scale(1.075);
    }
}

@keyframes zerodayTerminationFade {
    to {
        opacity: 0;
    }
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--amber-dim) transparent;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    background: var(--amber-dim);
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--amber);
}

.hero {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    height: var(--hero-brand-logo-height);
    aspect-ratio: 1280 / 720;
    overflow: visible;
}

.hero-brand {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-brand::before,
.hero-brand::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/logos/bearbait-official.png') center / contain no-repeat;
    content: "";
    image-rendering: pixelated;
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
}

.hero-brand::before {
    filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(4902%) hue-rotate(356deg) brightness(112%) contrast(118%);
    animation: heroRedFringe 9.7s steps(1, end) infinite;
}

.hero-brand::after {
    filter: brightness(0) saturate(100%) invert(89%) sepia(92%) saturate(825%) hue-rotate(348deg) brightness(106%) contrast(105%);
    animation: heroGoldFringe 9.7s steps(1, end) infinite;
}

.hero-brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    animation: heroLogoPhosphor 4.4s ease-in-out infinite;
}

.hero-brand-scanlines {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--crt-scanlines);
    background-size: var(--crt-scanline-size);
    content: "";
    image-rendering: pixelated;
    mix-blend-mode: multiply;
    opacity: 0.35;
    pointer-events: none;
    -webkit-mask: url('../img/logos/bearbait-official.png') center / contain no-repeat;
    mask: url('../img/logos/bearbait-official.png') center / contain no-repeat;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1707 / 720;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

@keyframes heroLogoPhosphor {

    0%,
    100%,
    16%,
    67%,
    91% {
        opacity: 1;
    }

    17%,
    68%,
    92% {
        opacity: 0.92;
    }

    18%,
    69%,
    93% {
        opacity: 0.98;
    }
}

@keyframes heroRedFringe {

    0%,
    12%,
    15%,
    42%,
    45%,
    73%,
    76%,
    88%,
    91%,
    100% {
        opacity: 0;
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
    }

    13% {
        opacity: 0.62;
        transform: translateX(-10px);
        clip-path: inset(0 0 44% 0);
    }

    14% {
        opacity: 0.42;
        transform: translateX(7px);
        clip-path: inset(46% 0 17% 0);
    }

    43% {
        opacity: 0.54;
        transform: translateX(12px);
        clip-path: inset(18% 0 48% 0);
    }

    44% {
        opacity: 0.36;
        transform: translateX(-8px);
        clip-path: inset(62% 0 0 0);
    }

    74% {
        opacity: 0.68;
        transform: translateX(-14px);
        clip-path: inset(8% 0 68% 0);
    }

    75% {
        opacity: 0.44;
        transform: translateX(9px);
        clip-path: inset(55% 0 22% 0);
    }

    89% {
        opacity: 0.50;
        transform: translateX(-6px);
    }

    90% {
        opacity: 0.22;
        transform: translateX(4px);
        clip-path: inset(38% 0 36% 0);
    }
}

@keyframes heroGoldFringe {

    0%,
    12%,
    15%,
    42%,
    45%,
    73%,
    76%,
    88%,
    91%,
    100% {
        opacity: 0;
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
    }

    13% {
        opacity: 0.62;
        transform: translateX(10px);
        clip-path: inset(0 0 44% 0);
    }

    14% {
        opacity: 0.42;
        transform: translateX(-7px);
        clip-path: inset(46% 0 17% 0);
    }

    43% {
        opacity: 0.54;
        transform: translateX(-12px);
        clip-path: inset(18% 0 48% 0);
    }

    44% {
        opacity: 0.36;
        transform: translateX(8px);
        clip-path: inset(62% 0 0 0);
    }

    74% {
        opacity: 0.68;
        transform: translateX(14px);
        clip-path: inset(8% 0 68% 0);
    }

    75% {
        opacity: 0.44;
        transform: translateX(-9px);
        clip-path: inset(55% 0 22% 0);
    }

    89% {
        opacity: 0.50;
        transform: translateX(6px);
    }

    90% {
        opacity: 0.22;
        transform: translateX(-4px);
        clip-path: inset(38% 0 36% 0);
    }
}

@media (max-width: 1280px) {
    .about-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: clamp(20px, 2.6vw, 36px);
    }

    .book-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: clamp(20px, 2.6vw, 36px);
    }

    .contact-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: clamp(20px, 2.6vw, 36px);
    }

    .social-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: clamp(20px, 2.6vw, 36px);
    }
}

@media (max-width: 900px) {
    :root {
        --section-spacing-top: clamp(40px, 7vw, 56px);
        --section-pb: clamp(48px, 7vw, 64px);
        --section-px: clamp(20px, 5vw, 40px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid .text-column {
        order: 1;
    }

    .contact-grid .contact-methods {
        order: 2;
    }

    .contact-grid .contact-email-group {
        order: 2;
    }

    #about,
    #book {
        min-height: 0;
        padding-bottom: clamp(48px, 7vw, 64px);
    }

    .about-grid,
    .book-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .stats-column,
    .book-cover-column {
        order: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .text-column {
        order: 2;
        max-width: none;
    }

    #about>.section-body>.stats-column {
        display: none;
    }

    #about .mobile-stats-column {
        display: grid;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 20px 0 22px;
    }

    .section-media {
        opacity: 0.5;
    }

    .about-author-image {
        height: min(560px, 100%);
    }

    #social .social-grid {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@media (max-width: 768px) {
    .site-navigation-group:last-of-type .site-navigation-link:not(.site-navigation-logout) {
        display: none !important;
    }

    .site-navigation-logout {
        margin-left: 0 !important;
    }

    .section-header-title {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1 !important;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        height: var(--hero-brand-logo-height);
        aspect-ratio: 1280 / 720;
    }

    .section-kicker {
        font-size: clamp(23px, 6.5vw, 30px);
    }

    .section-body {
        font-size: 18px;
        line-height: 1.8;
    }

    .stat-value,
    .stats-column .stat-value {
        font-size: 42px;
    }

    .stat-label {
        font-size: 16px;
    }

    #book .book-cover-column {
        width: 80vw;
        max-width: 80vw;
        margin-inline: auto;
    }

    #about .stats-column {
        width: 80vw;
        max-width: 80vw;
        margin-inline: auto;
    }

    #social .social-group {
        width: min(72vw, 320px);
        max-width: min(72vw, 320px);
    }

    .tag-list span {
        font-size: 20px;
    }

    .button-primary {
        font-size: 18px;
    }

    #social .social-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #social .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    #social .social-card {
        width: 100%;
        flex: 0 0 auto;
        min-height: 132px;
        padding: 14px 10px 12px;
        gap: 10px;
    }

    #social .social-icon-stack {
        width: 86px;
        height: 86px;
    }

    #social .social-icon {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .hero-background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        aspect-ratio: 1707 / 720;
        left: 0;
        transform: none;
        object-fit: cover;
    }

    .hero-brand {
        max-width: 100%;
    }

    .hero-brand-logo {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    :root {
        --section-spacing-top: 36px;
        --section-pb: 56px;
        --section-px: 18px;
    }

    .contact-grid {
        gap: 16px;
    }

    .logout-response {
        left: 16px;
        right: 16px;
        max-width: none;
        gap: 10px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .stat-row,
    .social-card {
        padding: 18px;
    }

    #social .social-group {
        min-height: 0;
    }

    #social .social-links {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    #social .social-card {
        min-width: 0;
    }

    #social .panel-label {
        min-height: 44px;
        padding: 8px 12px;
        font-size: clamp(23px, 6.5vw, 28px);
    }

    #social .social-name {
        font-size: 13px;
        letter-spacing: 0.06em;
    }

    #social .discord-name {
        gap: 4px;
    }

    #social .discord-presence {
        font-size: 9px;
    }

    .social-card {
        min-height: 0;
    }

    .site-footer {
        min-height: 232px;
        padding: 34px var(--site-footer-rail-inset) 92px;
    }

    .site-credits {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-height: 68px;
        padding-block: 10px;
        font-size: 9px;
    }

    .site-design-credit {
        gap: 8px;
    }

    .purehavuk-logo {
        height: 32px;
    }

    .zeroday {
        width: 80px;
        height: 80px;
        right: var(--site-footer-rail-inset);
        bottom: 88px;
        margin-right: 0;
    }

    .zeroday-image {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        height: 80px;
        min-height: 80px;
        max-height: 80px;
    }

    .zeroday-talk-pixels {
        transform: scale(0.625);
        transform-origin: top left;
    }

    .zeroday::after {
        width: 80px;
        height: 80px;
    }

    .zeroday-bubble {
        right: calc(100% + 10px);
        bottom: 42px;
        min-width: 220px;
        max-width: calc(100vw - 132px);
        padding: 0 10px 24px;
        font-size: 14px;
        white-space: nowrap;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    body::after {
        animation: none;
    }

    .outforblood-field,
    .outforblood-field-blur,
    .outforblood-field-glow {
        display: none;
    }

    .social-card:not(.discord-card) .social-name,
    .discord-title,
    .social-card .social-icon-stack,
    .discord-presence-count {
        animation: none;
    }

    .vhs-tracking,
    .vhs-tracking::before,
    .vhs-tracking::after,
    .composite-dropouts {
        animation: none;
    }
}

:is(button,
    input,
    textarea,
    a,
    p,
    h1,
    h2,
    h3,
    strong,
    b,
    span:not(.social-name):not(.discord-title):not(.discord-presence-count),
    label,
    figcaption,
    .site-navigation-label,
    .site-navigation-link,
    .site-navigation-link *,
    .section-kicker,
    .section-body,
    .section-body *,
    .stat-value,
    .stat-label,
    .tag-list *,
    .social-card *:not(.social-name):not(.discord-title):not(.discord-presence-count)) {
    text-shadow: var(--text-drop-shadow) !important;
}

.section-header,
.section-header * {
    text-shadow: none !important;
}

.social-card.glitching {
    animation: crtSurfaceDeconverge 320ms steps(1, end) infinite;
}

.social-card.glitching .social-icon-default {
    opacity: 0 !important;
}

.social-card.glitching .social-icon-hover {
    opacity: 1 !important;
}

@keyframes overlayFlicker {
    0%,
    100% {
        opacity: 0.97;
    }

    30% {
        opacity: 0.95;
    }

    50% {
        opacity: 1;
    }

    70% {
        opacity: 0.98;
    }
}

html.terminal-loading {
    overflow: hidden;
}

.terminal-boot-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 32px);
    color: var(--amber);
    background: #050201;
    font-family: var(--font-mono);
    opacity: 1;
    transition: opacity 340ms linear;
}

.terminal-boot-overlay.complete {
    opacity: 0;
    pointer-events: none;
}

.terminal-relay-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease-in-out;
}

.terminal-relay-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.terminal-boot-overlay,
.terminal-boot-overlay * {
    text-shadow: var(--crt-phosphor-persist) !important;
}

.terminal-boot-overlay::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;
    background: var(--crt-rgb), var(--crt-scanlines);
    background-size: var(--crt-rgb-size), var(--crt-scanline-size);
    opacity: 0.75;
    animation: overlayFlicker 0.15s infinite;
}

.terminal-boot-screen {
    --terminal-cell-size: clamp(8px, min(1.8vw, 2.5vh), 20px);
    --terminal-line-height: 1.25;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(calc(80ch + clamp(24px, 4.4vw, 48px) + 2px), calc((100svh - clamp(24px, 6vw, 64px)) * 4 / 3), 100%);
    aspect-ratio: 4 / 3;
    padding: clamp(12px, 2.2vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(255, 190, 0, 0.9);
    background: rgba(10, 4, 1, 0.94);
    box-shadow: inset 0 0 72px rgba(255, 169, 0, 0.1), inset 0 0 8px rgba(255, 210, 96, 0.16), 0 0 8px rgba(255, 190, 0, 0.52), 0 0 38px rgba(255, 169, 0, 0.3);
    font: var(--terminal-cell-size) / var(--terminal-line-height) var(--font-mono);
    animation: terminalBloomBreathe 2.2s steps(10, end) infinite;
}

.terminal-boot-screen::before,
.terminal-boot-screen::after {
    position: absolute;
    inset-inline: 0;
    z-index: 3;
    content: "";
    pointer-events: none;
}

.terminal-boot-screen::before {
    height: 18%;
    background: linear-gradient(to bottom, transparent, rgba(255, 190, 0, 0.035), transparent);
    opacity: 0;
    animation: terminalSyncBar 1.75s steps(1, end) infinite;
}

.terminal-boot-screen::after {
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 30, 0, 0.018), transparent 3%, transparent 97%, rgba(255, 205, 80, 0.025));
    opacity: 0;
    animation: terminalDropout 2.15s steps(1, end) infinite;
}

.terminal-boot-screen.signal-burst {
    animation: terminalSignalBurst 90ms steps(2, end) 1, terminalBloomBreathe 2.2s steps(10, end) infinite;
}

.terminal-boot-screen.signal-burst .terminal-boot-output,
.terminal-boot-screen.signal-burst .terminal-boot-prompt {
    animation: terminalTextSplit 90ms steps(2, end) 1;
}

.terminal-boot-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 10px;
    margin-bottom: clamp(10px, 2vh, 20px);
    color: var(--crt-white);
    font: inherit;
    font-weight: 500;
    letter-spacing: normal;
    border-bottom: 1px solid rgba(255, 190, 0, 0.45);
}

.terminal-boot-output {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    color: var(--amber);
    font: inherit;
    white-space: pre;
    filter: brightness(1.18);
}

.terminal-relay-output {
    font: inherit;
}

.terminal-boot-prompt {
    min-height: 22px;
    margin-top: clamp(8px, 2vh, 18px);
    color: var(--amber);
    font: inherit;
    letter-spacing: normal;
    filter: brightness(1.18);
}

.terminal-boot-diagnostic {
    min-height: 22px;
    color: var(--crt-white);
    font: inherit;
    letter-spacing: normal;
    opacity: 0.82;
}

.terminal-boot-diagnostic.refreshing {
    animation: terminalDiagnosticPop 120ms steps(2, end) 1;
}

.terminal-boot-cursor {
    display: inline-block;
    width: 0.68em;
    height: 1.05em;
    margin-left: 8px;
    vertical-align: -0.18em;
    background: var(--amber);
    box-shadow: 0 0 4px var(--amber), 0 0 14px rgba(255, 190, 0, 0.92), 0 0 34px rgba(255, 130, 0, 0.48);
    animation: terminalCursorBlink 900ms steps(1, end) infinite;
}

@media (max-width: 768px) {
    .terminal-boot-overlay {
        place-items: center;
        padding: 6px;
    }

    .terminal-boot-screen {
        --terminal-cell-size: clamp(6.75px, 2.15vw, 9px);
        --terminal-line-height: 1.05;
        width: min(calc(100vw - 12px), calc((100svh - 12px) * 3 / 4));
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0;
        padding: 2px;
    }

    .terminal-boot-header {
        gap: 4px;
        padding-bottom: 2px;
        margin-bottom: 2px;
    }

    .terminal-boot-prompt {
        min-height: 0;
        margin-top: 2px;
    }

    .terminal-boot-diagnostic {
        min-height: 0;
    }

    .terminal-boot-cursor {
        margin-left: 2px;
    }
}

@keyframes terminalBloomBreathe {
    0%,
    100% {
        filter: brightness(1) contrast(1.04);
    }

    48% {
        filter: brightness(1.12) contrast(1.1);
    }

    51% {
        filter: brightness(0.95) contrast(1.14);
    }
}

@keyframes terminalSyncBar {
    0%,
    72%,
    100% {
        opacity: 0;
        transform: translateY(-20%);
    }

    73% {
        opacity: 0.22;
        transform: translateY(100%);
    }

    75% {
        opacity: 0.1;
        transform: translateY(350%);
    }

    78% {
        opacity: 0;
        transform: translateY(500%);
    }
}

@keyframes terminalDropout {
    0%,
    39%,
    42%,
    81%,
    84%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 0.18;
    }

    41% {
        opacity: 0.08;
    }

    82% {
        opacity: 0.16;
    }

    83% {
        opacity: 0.06;
    }
}

@keyframes terminalSignalBurst {
    0% {
        transform: translate(0);
        filter: brightness(1) contrast(1);
    }

    34% {
        filter: brightness(1.08) contrast(1.08) saturate(1.04);
    }

    68% {
        filter: brightness(0.99) contrast(1.1);
    }

    100% {
        transform: translate(0);
        filter: brightness(1) contrast(1.04);
    }
}

@keyframes terminalTextSplit {
    0%,
    100% {
        transform: translateX(0);
    }

    40% {
        filter: brightness(1.1) drop-shadow(0.5px 0 rgba(255, 58, 0, 0.28)) drop-shadow(-0.5px 0 rgba(255, 224, 100, 0.26));
    }

    75% {
        filter: brightness(1.05) drop-shadow(-0.5px 0 rgba(255, 58, 0, 0.24)) drop-shadow(0.5px 0 rgba(255, 224, 100, 0.24));
    }
}

@keyframes terminalDiagnosticPop {
    0% {
        opacity: 0.68;
        filter: brightness(1.12) drop-shadow(0.5px 0 rgba(255, 65, 0, 0.25));
    }

    100% {
        opacity: 0.82;
        transform: translateX(0);
        filter: brightness(1);
    }
}

@keyframes terminalCursorBlink {
    0%,
    46% {
        opacity: 1;
    }

    47%,
    100% {
        opacity: 0;
    }
}
