/* ============================================================
   AHMED_OS v2.0.25 — Global Design System
   Retro-Tech Portfolio · JetBrains Mono · Zero-Radius Policy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,700;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
    --color-bg: #131314;
    --color-surface: #131314;
    --color-surface-low: #1b1b1c;
    --color-surface-mid: #1f1f20;
    --color-surface-high: #2a2a2b;
    --color-surface-top: #353436;
    --color-primary: #d4ffc1;
    --color-primary-hot: #4af626;
    --color-primary-dim: #34e507;
    --color-secondary: #ffd393;
    --color-amber: #fdaf00;
    --color-outline: #86957d;
    --color-outline-dim: #3c4b36;
    --color-on-surface: #e5e2e3;
    --color-on-sv: #bbccb0;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ── Base Reset + Zero-Radius Policy ───────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    border-radius: 0 !important;
    /* FIX #3: zero-radius design policy */
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background-color: var(--color-bg);
    color: var(--color-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 32px;
    /* height of top status bar */
    padding-bottom: 40px;
    /* height of bottom nav */
    cursor: url("../assets/cursor-main.png") 0 0, auto;
}

a,
button {
    cursor: url("../assets/cursor-hover.png") 0 0, pointer !important;
}

/* ── Terminal Text Selection ───────────────────────────── */
::selection {
    background-color: var(--color-primary-hot);
    color: var(--color-bg);
    text-shadow: none;
}

::-moz-selection {
    background-color: var(--color-primary-hot);
    color: var(--color-bg);
    text-shadow: none;
}

/* ── Custom Terminal Scrollbar ─────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
    border-left: 1px solid var(--color-outline-dim);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-dim);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hot);
}

/* ── CRT Phosphor Scanline Overlay ─────────────────────── */
/* FIX #2: slowed from 0.15s to 8s — no photosensitive risk */
body::before {
    content: '';
    display: block;
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.16) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.035), rgba(0, 255, 0, 0.018), rgba(0, 0, 255, 0.035));
    background-size: 100% 2px, 3px 100%;
    z-index: 9998;
    pointer-events: none;
    animation: crt-flicker 8s ease-in-out infinite;
}

@keyframes crt-flicker {

    0%,
    94%,
    97%,
    100% {
        opacity: 1;
    }

    95% {
        opacity: 0.975;
    }

    96% {
        opacity: 1;
    }
}

/* ── Moving Scanline Band ──────────────────────────────── */
.scanline-band {
    width: 100%;
    height: 140px;
    position: fixed;
    top: -140px;
    left: 0;
    z-index: 9997;
    pointer-events: none;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(74, 246, 38, 0.025) 50%,
            transparent 100%);
    animation: scanline-scroll 14s linear infinite;
}

@keyframes scanline-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(100vh + 140px));
    }
}

/* ── CRT Vignette ──────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%,
            transparent 55%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 9996;
    pointer-events: none;
}

/* ── Background Layer (Option 2: Node Network) ───────────── */
#shader-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    /* BACKGROUND STYLE 2 */
    background-color: #101111;
    overflow: hidden;
}

#shader-bg canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Blinking Block Cursor ─────────────────────────────── */
.blink {
    display: inline-block;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── Boot Sequence Lines ───────────────────────────────── */
.boot-line {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-on-sv);
    opacity: 0;
    animation: boot-fade 0.35s ease forwards;
}

.boot-line:nth-child(1) {
    animation-delay: 0.05s;
}

.boot-line:nth-child(2) {
    animation-delay: 0.25s;
}

.boot-line:nth-child(3) {
    animation-delay: 0.50s;
}

.boot-line:nth-child(4) {
    animation-delay: 0.80s;
    color: var(--color-primary-dim);
    font-weight: 700;
}

@keyframes boot-fade {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── OS Window Component ───────────────────────────────── */
.win {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-outline-dim);
    background: var(--color-surface);
}

.win.win--active {
    border-color: var(--color-primary-hot);
    box-shadow: 4px 4px 0 0 #000000;
    /* FIX #8: black hard-shadow, not green */
}

.win__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 8px;
    border-bottom: 1px solid var(--color-outline-dim);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-outline);
}

.win--active .win__bar {
    background: var(--color-primary-hot);
    color: #0e0e0f;
    border-color: var(--color-primary-hot);
}

.win__controls {
    display: flex;
    gap: 4px;
}

.win__controls .material-symbols-outlined {
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
}

.win__body {
    padding: 16px;
    flex: 1;
}

/* ── Tech / Status Tags ────────────────────────────────── */
.tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border: 1px solid var(--color-outline-dim);
    background: var(--color-surface-top);
    color: var(--color-secondary);
    letter-spacing: 0.03em;
}

.tag--green {
    border-color: var(--color-primary-hot);
    color: var(--color-primary-hot);
    background: transparent;
}

.tag--amber {
    border-color: var(--color-amber);
    color: var(--color-amber);
    background: transparent;
}

.tag--red {
    border-color: #ffb4ab;
    color: #ffb4ab;
    background: transparent;
}

/* ── Buttons — FIX #10: transition-none (instant invert) ─ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid;
    transition: none;
    /* FIX #10: instant — no transition-colors */
    text-decoration: none;
}

.btn--primary {
    background: var(--color-primary-hot);
    color: #0e0e0f;
    border-color: var(--color-primary-hot);
}

.btn--primary:hover {
    background: transparent;
    color: var(--color-primary-hot);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: #0e0e0f;
}

.btn--ghost {
    background: transparent;
    color: var(--color-outline);
    border-color: var(--color-outline-dim);
}

.btn--ghost:hover {
    background: var(--color-outline);
    color: #0e0e0f;
}

/* ── Progress Bar ──────────────────────────────────────── */
.progress-track {
    width: 100%;
    height: 6px;
    background: var(--color-surface-top);
}

.progress-fill {
    height: 100%;
    background: var(--color-primary-hot);
}

.progress-fill--amber {
    background: var(--color-amber);
}

.progress-fill--dim {
    background: var(--color-primary-dim);
}

/* ── Skill Category Block ──────────────────────────────── */
.skill-category {
    border: 1px solid var(--color-outline-dim);
    padding: 12px;
    background: var(--color-surface-low);
}

.skill-category__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary-dim);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-outline-dim);
    padding-bottom: 4px;
}

/* ── Project Card ──────────────────────────────────────── */
.project-card {
    border: 1px solid var(--color-outline-dim);
    background: var(--color-surface);
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: none;
}

.project-card:hover {
    border-color: var(--color-primary-hot);
}

.project-card__header {
    background: var(--color-surface-mid);
    border-bottom: 1px solid var(--color-outline-dim);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-outline);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-card__body {
    padding: 14px;
    flex: 1;
}

.project-card__title {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.project-card__desc {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-on-sv);
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-card__footer {
    padding: 8px 14px;
    border-top: 1px dashed var(--color-outline-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* ── Experience Timeline Item ──────────────────────────── */
.exp-item {
    border-left: 2px solid var(--color-outline-dim);
    padding: 0 0 24px 16px;
    position: relative;
}

.exp-item::before {
    content: '▶';
    position: absolute;
    left: -9px;
    top: 0;
    font-size: 10px;
    color: var(--color-primary-hot);
    background: var(--color-bg);
    line-height: 1;
    padding: 1px 0;
}

.exp-item.exp-item--current {
    border-color: var(--color-primary-hot);
}

.exp-item.exp-item--current::before {
    color: var(--color-primary-hot);
}

.exp-item__period {
    font-size: 11px;
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.exp-item__role {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.exp-item__company {
    font-size: 13px;
    color: var(--color-outline);
    margin-bottom: 8px;
}

.exp-item__bullets {
    list-style: none;
    padding: 0;
}

.exp-item__bullets li {
    font-size: 12px;
    color: var(--color-on-sv);
    line-height: 1.7;
}

.exp-item__bullets li::before {
    content: '> ';
    color: var(--color-primary-hot);
}

/* ── Contact Form ──────────────────────────────────────── */
.terminal-input {
    width: 100%;
    background-color: #1b1b1c !important;
    border: 1px solid var(--color-outline-dim) !important;
    color: var(--color-primary) !important;
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 8px 12px !important;
    outline: none !important;
    box-shadow: none !important;
    caret-color: var(--color-primary-hot);
}

.terminal-input:focus {
    border-color: var(--color-primary-hot) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--color-primary-hot) inset !important;
}

.terminal-input::placeholder {
    color: var(--color-outline);
    font-size: 11px;
    letter-spacing: 0.02em;
    opacity: 0.75;
}

.terminal-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.terminal-textarea {
    width: 100%;
    background-color: #1b1b1c !important;
    border: 1px solid var(--color-outline-dim) !important;
    color: var(--color-primary) !important;
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 10px 12px !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical;
    min-height: 110px;
    caret-color: var(--color-primary-hot);
}

.terminal-textarea:focus {
    border-color: var(--color-primary-hot) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--color-primary-hot) inset !important;
}

.terminal-textarea::placeholder {
    color: var(--color-outline);
    font-size: 11px;
    letter-spacing: 0.02em;
    opacity: 0.75;
}

/* Dark Autofill Override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-primary) !important;
    -webkit-box-shadow: 0 0 0px 1000px #1b1b1c inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ── Nav Bar ───────────────────────────────────────────── */
.nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-right: 1px solid var(--color-outline-dim);
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    height: 100%;
    white-space: nowrap;
    transition: none;
    flex-shrink: 0;
}

.nav-item:hover,
.nav-item.nav-item--active {
    background: var(--color-primary-hot);
    color: #0e0e0f;
}

.nav-item .material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
    margin-right: 5px;
}

/* ── ASCII Separators ──────────────────────────────────── */
.sep-heavy {
    color: var(--color-outline-dim);
    font-size: 12px;
    user-select: none;
}

.sep-light {
    color: var(--color-outline-dim);
    opacity: 0.5;
    font-size: 12px;
    user-select: none;
}

/* ── Stat Block ────────────────────────────────────────── */
.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-block__label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-outline-dim);
    font-weight: 700;
}

.stat-block__value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary-dim);
    line-height: 1.2;
}

/* ── Footer ────────────────────────────────────────────── */
.os-footer {
    width: 100%;
    padding: 10px 16px;
    background: var(--color-surface-low);
    border-top: 1px dashed var(--color-outline-dim);
    margin-top: 36px;
}

/* ── Material Symbols ──────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}

/* ── Responsive — FIX #15 ──────────────────────────────── */
@media (max-width: 768px) {
    .hero-name {
        font-size: 24px !important;
        line-height: 30px !important;
    }

    .hero-subtitle {
        font-size: 15px !important;
        line-height: 20px !important;
    }

    .os-footer {
        margin-bottom: 0;
    }

    .win__bar {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .hero-name {
        font-size: 20px !important;
        line-height: 26px !important;
    }

    .hero-subtitle {
        font-size: 13px !important;
        line-height: 18px !important;
    }
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 5px;
    background: #0e0e0f;
}

::-webkit-scrollbar-thumb {
    background: #3c4b36;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hot);
}

/* ── Selection ─────────────────────────────────────────── */
::selection {
    background: var(--color-primary-hot);
    color: #0e0e0f;
}

/* ============================================================
   ANIMATION SYSTEM — Scroll Reveals, Hover FX, Glitch, Glow
   GPU-only (transform + opacity) · prefers-reduced-motion aware
   ============================================================ */

/* ── Scroll Reveal Base Classes ────────────────────────── */
[data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-reveal="up"] {
    transform: translateY(20px);
}

[data-reveal="scale"] {
    transform: scale(0.96);
}

[data-reveal="right"] {
    transform: translateX(24px);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Section Divider Line Grow ─────────────────────────── */
.section-divider__line {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-divider__line.line-grown {
    transform: scaleX(1) !important;
}

/* ── Progress Bar Fill Animation ───────────────────────── */
.progress-fill {
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-fill--animated {
    box-shadow: 0 0 8px rgba(74, 246, 38, 0.3),
        inset 0 0 4px rgba(74, 246, 38, 0.15);
}

.progress-fill--animated.progress-fill--dim {
    box-shadow: 0 0 8px rgba(52, 229, 7, 0.25),
        inset 0 0 4px rgba(52, 229, 7, 0.12);
}

.progress-fill--animated.progress-fill--amber {
    box-shadow: 0 0 8px rgba(253, 175, 0, 0.25),
        inset 0 0 4px rgba(253, 175, 0, 0.12);
}

/* ── Hover Enhancements — Windows ──────────────────────── */
.win {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.win:hover {
    border-color: var(--color-primary-dim);
    box-shadow: 0 0 12px rgba(74, 246, 38, 0.06),
        0 0 4px rgba(74, 246, 38, 0.04);
}

.win.win--active:hover {
    box-shadow: 4px 4px 0 0 #000000,
        0 0 16px rgba(74, 246, 38, 0.1);
}

/* ── Hover Enhancements — Project Cards ────────────────── */
.project-card {
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 246, 38, 0.08),
        0 0 6px rgba(74, 246, 38, 0.04);
}

/* ── Hover Enhancements — Tags ─────────────────────────── */
.tag {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tag:hover {
    background: var(--color-primary-hot);
    color: #0e0e0f;
    border-color: var(--color-primary-hot);
}

/* ── Hover Enhancements — Skill Module Cards ───────────── */
.skill-module-card {
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.skill-module-card:hover {
    box-shadow: inset 0 0 20px rgba(74, 246, 38, 0.04),
        0 0 8px rgba(74, 246, 38, 0.06);
}

/* ── Hover Enhancements — Contact Channel Links ────────── */
#contact a[href] {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact a[href]:hover {
    transform: translateX(4px);
    box-shadow: 0 0 10px rgba(74, 246, 38, 0.06);
}

/* ── Button Active Press ───────────────────────────────── */
.btn:active {
    transform: scale(0.97);
}

/* ── Hero Name Glitch Effect ───────────────────────────── */
@keyframes glitch {

    0%,
    100% {
        text-shadow: none;
        transform: translate(0);
    }

    20% {
        text-shadow: -2px 0 #4af626, 2px 0 #ff0040;
        transform: translate(-1px, 1px);
    }

    40% {
        text-shadow: 2px 0 #4af626, -2px 0 #ff0040;
        transform: translate(1px, -1px);
    }

    60% {
        text-shadow: -1px 1px #4af626, 1px -1px #ff0040;
        transform: translate(0);
    }

    80% {
        text-shadow: 1px 0 #4af626, -1px 0 #ff0040;
        transform: translate(-1px, 0);
    }
}

.glitch-text {
    animation: glitch 0.15s ease-in-out;
    animation-iteration-count: 1;
}

/* ── Active Window Blink Indicator ─────────────────────── */
.win-activity {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #0e0e0f;
    margin-right: 6px;
    vertical-align: middle;
    animation: activity-blink 1.5s step-end infinite;
    flex-shrink: 0;
}

@keyframes activity-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ── Nav Active Indicator Glow ─────────────────────────── */
.tnav-item:hover {
    text-shadow: 0 0 8px rgba(212, 255, 193, 0.3);
}

.tnav-item.active {
    text-shadow: 0 0 10px rgba(74, 246, 38, 0.4);
}

/* ── Form Field Focus Glow Animation ───────────────────── */
@keyframes field-glow-pulse {
    0% {
        box-shadow: 0 0 0 1px var(--color-primary-hot) inset,
            0 0 0px rgba(74, 246, 38, 0) !important;
    }

    50% {
        box-shadow: 0 0 0 1px var(--color-primary-hot) inset,
            0 0 14px rgba(74, 246, 38, 0.15) !important;
    }

    100% {
        box-shadow: 0 0 0 1px var(--color-primary-hot) inset,
            0 0 6px rgba(74, 246, 38, 0.08) !important;
    }
}

.terminal-input:focus,
.terminal-textarea:focus {
    animation: field-glow-pulse 0.6s ease forwards !important;
}

/* ── Stat Block Hover ──────────────────────────────────── */
.stat-block {
    transition: transform 0.2s ease;
}

.stat-block:hover {
    transform: translateY(-1px);
}

.stat-block:hover .stat-block__value {
    text-shadow: 0 0 12px rgba(52, 229, 7, 0.35);
}

/* ── Impact Metric Hover (project stat boxes) ──────────── */
.border.border-outline-dim.p-2.text-center.bg-surface-low {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.border.border-outline-dim.p-2.text-center.bg-surface-low:hover {
    border-color: var(--color-primary-dim);
    box-shadow: 0 0 10px rgba(74, 246, 38, 0.06);
}

/* ── Achievement Card Hover ────────────────────────────── */
.border.border-outline-dim.p-3.bg-surface-low {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.border.border-outline-dim.p-3.bg-surface-low:hover {
    border-color: var(--color-primary-dim);
    box-shadow: inset 0 0 16px rgba(74, 246, 38, 0.03),
        0 0 6px rgba(74, 246, 38, 0.05);
}

/* ── Education Border Glow ─────────────────────────────── */
.border-l-2.border-primary-hot {
    transition: box-shadow 0.25s ease;
}

.border-l-2.border-primary-hot:hover {
    box-shadow: -4px 0 12px rgba(74, 246, 38, 0.08);
}

/* ── Footer Scroll-to-Top Pulse ────────────────────────── */
.os-footer .btn--primary {
    position: relative;
}

/* ============================================================
   PREFERS-REDUCED-MOTION — Disable all non-essential animation
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

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

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .section-divider__line {
        transform: scaleX(1) !important;
    }

    .progress-fill {
        transition: none !important;
    }

    .project-card:hover {
        transform: none;
    }

    #contact a[href]:hover {
        transform: none;
    }

    .scanline-band {
        display: none;
    }

    body::before {
        animation: none;
    }
}