/* ============================================================
   ALTAR — Portfolio v3  ·  mobile-first
   ============================================================ */

:root {
    --bg: #08080f;
    --bg-2: #0d0d18;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-2: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.14);
    --text: #f4f6fb;
    --text-dim: #b6bdd0;
    --text-mute: #7e8498;

    --green: #4ade80;
    --cyan: #38bdf8;
    --purple: #a78bfa;
    --pink: #f472b6;
    --amber: #fbbf24;
    --red: #f87171;

    --grad: linear-gradient(100deg, var(--green), var(--cyan) 45%, var(--purple));

    --font-sans: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    --radius: 18px;
    --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }

::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

a { color: inherit; }

/* ---------- background layers ---------- */
.bg-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.bg-aurora {
    position: fixed; inset: -20%;
    z-index: 0; pointer-events: none;
    background:
        radial-gradient(38% 30% at 18% 22%, rgba(74, 222, 128, 0.16), transparent 70%),
        radial-gradient(34% 30% at 82% 18%, rgba(56, 189, 248, 0.16), transparent 70%),
        radial-gradient(40% 34% at 55% 85%, rgba(167, 139, 250, 0.16), transparent 70%);
    filter: blur(40px);
    animation: aurora-drift 26s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    from { transform: translate(-2%, -1%) rotate(-2deg) scale(1); }
    to   { transform: translate(2%, 2%) rotate(2deg) scale(1.08); }
}

.bg-noise {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    opacity: 0.5; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* floating background bits (sats, code, camp) */
.bg-float {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}

.float-item {
    position: absolute; bottom: -80px;
    opacity: 0;
    color: var(--cyan);
    white-space: nowrap;
    animation: float-up linear infinite;
    will-change: transform, opacity;
    text-shadow: 0 0 12px currentColor;
}

.float-item:nth-child(3n) { color: var(--green); }
.float-item:nth-child(3n+1) { color: var(--purple); }
.float-item.f-emoji { filter: saturate(0.8); }

@keyframes float-up {
    0% { transform: translateY(0) translateX(0) rotate(-8deg); opacity: 0; }
    10% { opacity: 0.38; }
    50% { transform: translateY(-55vh) translateX(3vw) rotate(4deg); opacity: 0.32; }
    90% { opacity: 0.25; }
    100% { transform: translateY(-118vh) translateX(-2vw) rotate(-4deg); opacity: 0; }
}

.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--grad); z-index: 300;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- intro ---------- */
.intro {
    position: fixed; inset: 0; z-index: 500;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-inner { text-align: center; padding: 24px; }

.intro-morse {
    font-family: var(--font-mono);
    font-size: 26px; letter-spacing: 5px;
    color: var(--green); min-height: 40px;
    text-shadow: 0 0 18px rgba(74, 222, 128, 0.6);
}

.intro-callsign {
    font-family: var(--font-mono);
    color: var(--text-mute); font-size: 12px;
    letter-spacing: 3px; margin-top: 14px;
}

.intro-bar {
    width: 200px; height: 2px; margin: 22px auto 0;
    background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden;
}

.intro-bar span {
    display: block; height: 100%; width: 0%;
    background: var(--grad);
    transition: width 0.2s linear;
}

/* ---------- nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h); z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
    background: rgba(6, 6, 10, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled { border-bottom-color: var(--border); background: rgba(6, 6, 10, 0.8); }

.nav-logo {
    font-family: var(--font-mono); font-weight: 700;
    font-size: 17px; letter-spacing: 2px; text-decoration: none;
}

.logo-bracket { color: var(--green); }

.nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    display: flex; flex-direction: column;
    background: rgba(6, 6, 10, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transform: translateY(-130%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links.open { transform: translateY(0); }

.nav-links a {
    text-decoration: none; color: var(--text-dim);
    font-size: 15px; padding: 14px 24px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
    font-family: var(--font-mono); font-weight: 700; font-size: 12px;
    color: var(--cyan); background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 8px; padding: 6px 10px; cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.lang-toggle:hover { background: rgba(56, 189, 248, 0.12); box-shadow: 0 0 14px rgba(56, 189, 248, 0.25); }

.lang-menu { position: relative; }

.lang-toggle { display: inline-flex; align-items: center; gap: 6px; }

.flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); flex-shrink: 0; }

.lang-list {
    position: absolute; top: calc(100% + 8px); right: 0;
    display: none; flex-direction: column; gap: 2px;
    min-width: 92px; padding: 5px;
    background: rgba(10, 12, 24, 0.96);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 320;
}

.lang-list.open { display: flex; }

.lang-list button {
    display: flex; align-items: center; gap: 9px;
    background: transparent; border: none;
    color: var(--text); cursor: pointer;
    font-family: var(--font-mono); font-weight: 700; font-size: 12px;
    padding: 8px 10px; border-radius: 8px;
    transition: background 0.15s;
    text-align: left;
}

.lang-list button:hover { background: rgba(255, 255, 255, 0.1); }

.lang-list button.active { color: var(--cyan); background: rgba(56, 189, 248, 0.1); }

[data-theme="light"] .lang-list { background: rgba(255, 255, 255, 0.95); }
[data-theme="light"] .lang-list button:hover { background: rgba(15, 23, 42, 0.07); }

.nav-burger {
    width: 40px; height: 40px; border: none; background: transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; cursor: pointer;
}

.nav-burger span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
    min-height: 100svh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 24px) 20px 90px;
    position: relative;
}

.hero-eyebrow { color: var(--green); font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; }

.hero-callsign {
    display: flex; align-items: center; justify-content: center;
    gap: 18px;
    width: min(64vw, 420px);
    margin: 0 auto 4px;
}

.hc-code {
    font-size: clamp(13px, 3.2vw, 18px);
    font-weight: 700;
    letter-spacing: 8px;
    padding-left: 8px; /* optically balance the letter-spacing */
    color: var(--green);
    text-shadow: 0 0 18px rgba(74, 222, 128, 0.45);
    white-space: nowrap;
}

.hc-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.55));
    position: relative;
}

.hc-line:last-child { background: linear-gradient(90deg, rgba(74, 222, 128, 0.55), transparent); }

.hc-line::after {
    content: '';
    position: absolute; top: -2.5px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.hc-line:first-child::after { right: 0; }
.hc-line:last-child::after { left: 0; }

[data-theme="light"] .hc-code { text-shadow: 0 0 14px rgba(21, 128, 61, 0.3); }

.hero-title { perspective: 700px; margin-bottom: 18px; }

.hero-title-3d {
    display: inline-block;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.glitch {
    position: relative; display: inline-block;
    font-size: clamp(42px, 9vw, 92px);
    font-weight: 700; letter-spacing: 0.04em; line-height: 0.95;
    background: linear-gradient(115deg,
        #ffffff 0%, #dbeafe 18%, #93c5fd 36%,
        #e0e7ff 52%, #c4b5fd 68%, #f5f3ff 84%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 40px rgba(147, 197, 253, 0.35)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25));
    animation: crystal-sheen 7s linear infinite;
}

@keyframes crystal-sheen {
    from { background-position: 0% 0; }
    to { background-position: 220% 0; }
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute; inset: 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

.glitch::before { background: var(--pink); transform: translate(2px, -2px); }
.glitch::after  { background: var(--cyan); transform: translate(-2px, 2px); }

.glitch.glitching::before,
.glitch.glitching::after { opacity: 0.75; animation: glitch-jerk 0.18s steps(2) infinite; }

@keyframes glitch-jerk {
    0%   { clip-path: inset(10% 0 62% 0); transform: translate(3px, -2px); }
    25%  { clip-path: inset(58% 0 8% 0);  transform: translate(-3px, 2px); }
    50%  { clip-path: inset(30% 0 40% 0); transform: translate(2px, 1px); }
    75%  { clip-path: inset(75% 0 3% 0);  transform: translate(-2px, -1px); }
    100% { clip-path: inset(4% 0 80% 0);  transform: translate(1px, 2px); }
}

.hero-roles {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: clamp(14px, 4vw, 20px);
    color: var(--text); min-height: 32px; margin-bottom: 20px;
}

.hero-prompt { color: var(--green); }

.type-caret {
    display: inline-block; width: 9px; height: 1.15em;
    background: var(--green); vertical-align: text-bottom;
    animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hero-sub {
    max-width: 560px; color: var(--text-dim);
    font-size: clamp(14px, 3.8vw, 17px);
    margin: 0 auto 30px;
    text-align: center;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 36px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-weight: 700; font-size: 14px;
    padding: 14px 26px; border-radius: 14px; text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    will-change: transform;
    cursor: pointer;
}

.btn-ico { font-size: 16px; }

.btn-primary {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.10) 45%, rgba(147, 197, 253, 0.18) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow:
        0 10px 34px rgba(147, 197, 253, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.16) 45%, rgba(147, 197, 253, 0.28) 100%);
    box-shadow:
        0 16px 46px rgba(147, 197, 253, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-ghost {
    color: var(--text); border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-2); border-color: rgba(255,255,255,0.2); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; color: var(--text-dim);
    border: 1px solid var(--border); border-radius: 999px;
    padding: 7px 14px; background: var(--surface);
    backdrop-filter: blur(6px);
}

.badge i { font-style: normal; }

.hero-scroll {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-decoration: none; color: var(--text-mute); font-size: 11px;
    letter-spacing: 2px; text-transform: uppercase;
}

.mouse {
    width: 22px; height: 34px; border: 2px solid var(--text-mute);
    border-radius: 12px; display: flex; justify-content: center; padding-top: 6px;
}

.wheel {
    width: 3px; height: 7px; background: var(--green); border-radius: 2px;
    animation: wheel-drop 1.6s ease-in-out infinite;
}

@keyframes wheel-drop {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(9px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: 90px 20px; max-width: 1120px; margin: 0 auto; }

.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

.section-no { color: var(--green); font-size: 14px; opacity: 0.85; }

.section-head h2 { font-size: clamp(28px, 7vw, 42px); font-weight: 700; letter-spacing: -0.5px; white-space: nowrap; }

.section-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

.section-sub { color: var(--text-mute); font-size: 13px; margin-bottom: 34px; }

.section-callsign {
    font-size: 11px; color: var(--green); letter-spacing: 3px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.06);
    border-radius: 999px; padding: 5px 12px;
    white-space: nowrap;
}

.badge-callsign {
    color: var(--green); font-weight: 700; letter-spacing: 1.5px;
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(74, 222, 128, 0.08);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.12);
}

.c-pink { color: var(--pink); }

.proj-count {
    margin-left: auto; float: right;
    color: var(--pink); font-weight: 700; font-size: 11px;
    border: 1px solid rgba(244, 114, 182, 0.35);
    background: rgba(244, 114, 182, 0.08);
    border-radius: 999px; padding: 2px 10px;
}

.project-top { display: flex; align-items: center; gap: 8px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- tilt cards ---------- */
.tilt { perspective: 800px; }

.tilt-inner {
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, box-shadow 0.25s ease;
    will-change: transform;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.tilt-inner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.12), transparent 65%);
    opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
}

.tilt:hover .tilt-inner::before { opacity: 1; }

.tilt:hover .tilt-inner { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.15); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 24px; margin-top: 26px; }

.about-terminal { font-size: 13px; }

.at-header {
    display: flex; align-items: center; gap: 7px;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }

.at-title { margin-left: 8px; color: var(--text-mute); font-size: 12px; }

.at-body p { margin-bottom: 10px; color: var(--text-dim); }

.c-green { color: var(--green); }
.c-cyan { color: var(--cyan); }
.c-purple { color: var(--purple); }
.c-dim { color: var(--text-mute); }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.stat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 16px;
    text-align: center;
}

.stat-num { font-size: clamp(30px, 8vw, 44px); font-weight: 700; color: var(--text); }

.stat-plus { color: var(--green); font-size: 22px; font-weight: 700; }

.stat-label { display: block; color: var(--text-mute); font-size: 12px; margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.skill-card .tilt-inner { text-align: center; padding: 24px 14px; }

.skill-icon { font-size: 30px; display: block; margin-bottom: 10px; }

.skill-card h3 { font-size: 16px; margin-bottom: 8px; }

.skill-card p { font-size: 11px; color: var(--text-dim); line-height: 1.8; }

/* ---------- projects ---------- */
.projects-grid { display: grid; gap: 18px; }

.project-top { font-size: 12px; color: var(--text-mute); margin-bottom: 12px; letter-spacing: 1px; }

.project-card h3 { font-size: 21px; margin-bottom: 8px; }

.project-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.project-tags span {
    font-size: 11px; color: var(--cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.07);
    padding: 4px 10px; border-radius: 999px;
}

.project-more .tilt-inner {
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 12px;
    border-style: dashed;
}

/* ---------- off-grid ---------- */
.offgrid-grid { display: grid; gap: 18px; }

.og-visual {
    position: relative; height: 110px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    overflow: hidden;
}

.og-emoji { font-size: 44px; position: relative; z-index: 2; }

/* radio waves */
.radio-wave {
    position: absolute; width: 60px; height: 60px;
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 50%;
    animation: wave-out 2.4s ease-out infinite;
}

.radio-wave:nth-child(2) { animation-delay: 0.8s; }
.radio-wave:nth-child(3) { animation-delay: 1.6s; }

@keyframes wave-out {
    from { transform: scale(0.4); opacity: 1; }
    to { transform: scale(3.2); opacity: 0; }
}

/* camp */
.camp-visual .flame { animation: flame-flicker 0.8s ease-in-out infinite alternate; margin-right: 8px; }
.camp-visual .tent { font-size: 52px; }

@keyframes flame-flicker {
    from { transform: scale(1) rotate(-3deg); filter: brightness(1); }
    to { transform: scale(1.15) rotate(3deg); filter: brightness(1.3); }
}

/* equalizer */
.eq { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 100%; padding: 12px 0; opacity: 0.55; }

.eq span {
    width: 7px; border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, var(--purple), var(--pink));
    animation: eq-bounce 0.9s ease-in-out infinite alternate;
}

.eq span:nth-child(1) { height: 30%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 60%; animation-delay: 0.12s; }
.eq span:nth-child(3) { height: 45%; animation-delay: 0.24s; }
.eq span:nth-child(4) { height: 80%; animation-delay: 0.06s; }
.eq span:nth-child(5) { height: 50%; animation-delay: 0.3s; }
.eq span:nth-child(6) { height: 70%; animation-delay: 0.18s; }
.eq span:nth-child(7) { height: 35%; animation-delay: 0.09s; }

@keyframes eq-bounce { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }

.og-card h3 { font-size: 19px; margin-bottom: 8px; }

.og-card p { color: var(--text-dim); font-size: 14px; }

.og-tag { margin-top: 14px; color: var(--green); font-size: 12px; }

.og-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

.og-tags span {
    font-size: 10.5px; color: var(--green);
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.07);
    padding: 3px 9px; border-radius: 999px;
}

.og-callsign {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    color: var(--green); margin-bottom: 8px;
}

.on-air {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.08);
    border-radius: 999px; padding: 3px 9px;
}

.on-air-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.9);
    animation: on-air-blink 1.2s ease-in-out infinite;
}

@keyframes on-air-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* --- live sat tracker --- */
.sat-card { grid-column: 1 / -1; }

.sat-inner { padding: 26px; }

.sat-head h3 { font-size: 20px; margin-bottom: 6px; }

.sat-head p { color: var(--text-dim); font-size: 13.5px; max-width: 640px; }

.sat-map {
    height: 300px; margin-top: 18px;
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #cfd8dc;
    position: relative; z-index: 1;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.sat-map .leaflet-container { background: #cfd8dc; font-family: var(--font-mono); }

.sat-map .leaflet-tile-pane { filter: saturate(1.05) contrast(1.02); }

.sat-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.75); color: #555; font-size: 9px; }

.sat-map .leaflet-control-attribution a { color: #333; }

.sat-map .leaflet-tooltip {
    background: rgba(10, 12, 24, 0.92); color: var(--text);
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-family: var(--font-mono); font-size: 11px;
    border-radius: 6px; padding: 3px 8px;
}

/* dark satellite info popup */
.sat-map .leaflet-popup-content-wrapper {
    background: rgba(10, 12, 24, 0.96);
    color: var(--text);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 12px;
    font-family: var(--font-mono);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.sat-map .leaflet-popup-tip { background: rgba(10, 12, 24, 0.96); }

.sat-map .leaflet-popup-close-button { color: #9aa1b5 !important; }

.sat-pop { min-width: 170px; }

.sat-pop .sp-name { color: #4ade80; font-weight: 700; font-size: 13px; letter-spacing: 1px; display: block; }

.sat-pop .sp-id { color: #7e8498; font-size: 10px; letter-spacing: 1.5px; display: block; margin: 2px 0 8px; }

.sp-grid {
    display: grid; grid-template-columns: auto 1fr;
    gap: 3px 12px; font-size: 11.5px;
}

.sp-grid span { color: #7e8498; letter-spacing: 1px; }

.sp-grid b { color: #38bdf8; text-align: right; }

.sat-count { color: var(--cyan); font-weight: 400; letter-spacing: 1px; font-size: 12px; }

.sat-count b { color: var(--cyan); font-size: 14px; }

.iss-icon { filter: drop-shadow(0 0 8px rgba(2, 60, 120, 0.9)); font-size: 26px; text-align: center; line-height: 1; }

.sat-dot-icon {
    width: 10px; height: 10px; border-radius: 50%;
    background: #059669;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.9);
}

.iss-pulse {
    position: absolute; inset: -12px;
    border: 2px solid rgba(2, 132, 199, 0.75);
    border-radius: 50%;
    animation: wave-out 2s ease-out infinite;
}

.sat-stats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px; margin-top: 16px;
}

.sat-stat {
    display: flex; flex-direction: column; gap: 2px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border);
    border-radius: 10px; padding: 10px 14px;
}

.sat-k { font-size: 10px; color: var(--text-mute); letter-spacing: 2px; }

.sat-v { font-size: 15px; color: var(--cyan); font-weight: 700; }

.morse { margin-top: 16px; font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.morse-label { color: var(--text-mute); font-size: 11px; }

.morse-code { color: var(--green); letter-spacing: 3px; font-size: 16px; text-shadow: 0 0 10px rgba(74, 222, 128, 0.5); min-height: 20px; }

.morse-code .on { animation: morse-glow 0.4s ease; }

@keyframes morse-glow { from { text-shadow: 0 0 18px rgba(74, 222, 128, 1); } }

/* ---------- morse 101 ---------- */
.morse-card { grid-column: 1 / -1; }

.morse-alphabet {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px; margin-top: 18px;
}

.morse-key {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px; padding: 9px 4px;
    cursor: pointer; user-select: none;
    font-family: var(--font-mono);
    color: var(--text);
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.morse-key:hover { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.45); }

.morse-key:active, .morse-key.playing {
    background: rgba(74, 222, 128, 0.25);
    border-color: var(--green);
    transform: scale(0.94);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.35);
}

.morse-key .mk-char { font-size: 16px; font-weight: 700; }

.morse-key .mk-code { font-size: 11px; color: var(--green); letter-spacing: 1px; }

.morse-current { min-height: 20px; font-size: 14px; }

/* ---------- replay badge ---------- */
.badge-play {
    cursor: pointer;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--cyan); font-weight: 700;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.badge-play:hover { background: rgba(56, 189, 248, 0.18); box-shadow: 0 0 18px rgba(56, 189, 248, 0.3); transform: translateY(-2px); }

.badge-play.playing { animation: on-air-blink 0.6s ease-in-out infinite; }

/* ---------- morse toast ---------- */
.morse-toast {
    position: fixed; left: 50%; bottom: 26px;
    transform: translate(-50%, 140%);
    z-index: 350;
    background: rgba(10, 12, 24, 0.92);
    border: 1px solid rgba(74, 222, 128, 0.45);
    border-radius: 14px;
    padding: 12px 20px;
    color: var(--green); font-size: 13px;
    letter-spacing: 1px; text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(74, 222, 128, 0.15);
    backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    max-width: min(92vw, 560px);
    pointer-events: none;
}

.morse-toast.show { transform: translate(-50%, 0); }

.morse-toast .mt-code { display: block; color: var(--cyan); font-size: 11px; margin-top: 4px; letter-spacing: 2px; word-break: break-all; }

/* ---------- morse TX modal ---------- */
.tx-modal {
    position: fixed; inset: 0; z-index: 420;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tx-modal.open { opacity: 1; visibility: visible; }

.tx-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 10, 0.8); backdrop-filter: blur(8px); }

.tx-panel {
    position: relative; width: 100%; max-width: 440px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    padding: 30px 24px 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.tx-modal.open .tx-panel { transform: translateY(0) scale(1); }

.tx-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border); background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim); cursor: pointer; font-size: 13px;
    transition: background 0.2s, color 0.2s;
}

.tx-close:hover { background: rgba(248, 113, 113, 0.2); color: #fff; }

.tx-lamp {
    width: 18px; height: 18px; border-radius: 50%;
    margin: 0 auto 14px;
    background: #232838;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: background 0.05s, box-shadow 0.05s;
}

.tx-lamp.lit {
    background: var(--amber);
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.95), 0 0 60px rgba(251, 191, 36, 0.5);
}

.tx-panel h3 { font-size: 17px; letter-spacing: 4px; margin-bottom: 6px; }

.tx-sub { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }

.tx-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text); font-size: 16px;
    padding: 13px 16px; outline: none;
    text-transform: uppercase; letter-spacing: 2px;
    caret-color: var(--green);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tx-input:focus { border-color: rgba(74, 222, 128, 0.55); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12); }

.tx-preview {
    min-height: 42px; margin: 12px 0 6px;
    color: var(--green); font-size: 15px; letter-spacing: 3px;
    word-break: break-all; line-height: 1.7;
}

.tx-preview .sym-done { color: var(--text-mute); }

.tx-preview .sym-now { color: var(--amber); text-shadow: 0 0 12px rgba(251, 191, 36, 0.8); }

.tx-actions { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }

.tx-actions .btn { padding: 11px 22px; font-size: 13px; }

.tx-hint { margin-top: 16px; color: var(--text-mute); font-size: 11px; }

/* ---------- contact ---------- */
.contact-section { padding-bottom: 60px; }

.contact-box {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    padding: 54px 22px;
    backdrop-filter: blur(10px);
    position: relative; overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute; inset: -60%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(56, 189, 248, 0.16), transparent 85%);
    animation: spin 7s linear infinite;
    pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.contact-cq { color: var(--text-mute); font-size: 12px; letter-spacing: 2px; margin-bottom: 20px; position: relative; }

.contact-mail {
    display: inline-block; position: relative;
    font-size: clamp(24px, 7.5vw, 52px);
    font-weight: 700; text-decoration: none;
    background: linear-gradient(115deg,
        #ffffff 0%, #dbeafe 18%, #93c5fd 36%,
        #e0e7ff 52%, #c4b5fd 68%, #f5f3ff 84%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px rgba(147, 197, 253, 0.3));
    animation: crystal-sheen 7s linear infinite;
    margin-bottom: 30px;
    transition: filter 0.25s, transform 0.25s;
}

.contact-mail:hover { filter: drop-shadow(0 0 28px rgba(147, 197, 253, 0.75)); transform: scale(1.03); }

.contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; }

.social {
    display: inline-flex; align-items: center; gap: 9px;
    text-decoration: none; color: var(--text-dim);
    border: 1px solid var(--border); border-radius: 12px;
    padding: 11px 18px; font-size: 14px;
    background: rgba(6, 6, 10, 0.5);
    transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    will-change: transform;
}

.social:hover {
    color: var(--text); border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(56, 189, 248, 0.18);
}

.contact-hint { margin-top: 26px; color: var(--text-mute); font-size: 12px; position: relative; }

.contact-qsl { margin-top: 22px; position: relative; }

/* ---------- footer ---------- */
.footer {
    text-align: center; padding: 34px 20px 44px;
    border-top: 1px solid var(--border);
    color: var(--text-mute); font-size: 13px;
}

.footer .heart { color: var(--red); display: inline-block; animation: heart-beat 1.4s ease-in-out infinite; }

@keyframes heart-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

.footer-hint { margin-top: 8px; font-size: 11px; opacity: 0.6; }

/* ---------- easter egg ---------- */
.egg-overlay {
    position: fixed; inset: 0; z-index: 400;
    background: rgba(0, 0, 0, 0.92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s;
}

.egg-overlay.show { opacity: 1; visibility: visible; }

.egg-text {
    color: var(--green); font-size: clamp(16px, 4.5vw, 30px);
    text-align: center; padding: 24px; white-space: pre-line;
    text-shadow: 0 0 22px rgba(74, 222, 128, 0.7);
}

/* ---------- desktop ≥ 720px ---------- */
@media (min-width: 720px) {
    :root { --nav-h: 72px; }

    .nav { padding: 0 40px; }

    .nav-burger { display: none; }

    .nav-links {
        position: static; flex-direction: row; gap: 4px;
        background: transparent; border: none; padding: 0;
        transform: none; transition: none;
    }

    .nav-links a { font-size: 14px; padding: 8px 14px; border-radius: 8px; }

    .nav-links a:hover { background: var(--surface-2); }

    .about-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }

    .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

    .skill-card .tilt-inner { padding: 30px 20px; }

    .skill-card p { font-size: 12.5px; }

    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

    .offgrid-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-box { padding: 70px 40px; }
}

@media (min-width: 1080px) {
    .skills-grid { grid-template-columns: repeat(4, 1fr); }
    .sat-stats { grid-template-columns: repeat(4, 1fr); }
    .sat-map { height: 380px; }
}

/* ---------- sticky radio receiver bar ---------- */
.radio-bar {
    position: fixed; top: var(--nav-h); left: 50%;
    transform: translate(-50%, -160%);
    z-index: 190;
    display: flex; align-items: center; gap: 12px;
    padding: 9px 16px;
    margin-top: 10px;
    max-width: min(94vw, 560px);
    background: rgba(10, 12, 24, 0.92);
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(248, 113, 113, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 11px; letter-spacing: 1.5px;
    color: var(--text);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.radio-bar.show { transform: translate(-50%, 0); }

.rb-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #f87171; flex-shrink: 0;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.9);
    animation: on-air-blink 1s ease-in-out infinite;
}

.rb-label { color: #f87171; font-weight: 700; }

.rb-freq { color: var(--cyan); overflow: hidden; text-overflow: ellipsis; }

.rb-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex-shrink: 0; }

.rb-eq i {
    width: 3px; border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, var(--green), var(--cyan));
    height: 30%;
}

.radio-bar.playing .rb-eq i { animation: eq-bounce 0.7s ease-in-out infinite alternate; }

.rb-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.rb-eq i:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.rb-eq i:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.rb-eq i:nth-child(4) { height: 100%; animation-delay: 0.1s; }
.rb-eq i:nth-child(5) { height: 50%; animation-delay: 0.22s; }

.rb-btn {
    width: 28px; height: 28px; flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text); font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.rb-btn:hover { background: rgba(255, 255, 255, 0.16); }

.rb-close:hover { background: rgba(248, 113, 113, 0.25); }

@media (max-width: 480px) {
    .rb-freq { font-size: 10px; }
    .radio-bar { gap: 8px; padding: 8px 12px; }
}

/* ---------- light theme ---------- */
[data-theme="light"] {
    --bg: #eef1f7;
    --bg-2: #e3e8f3;
    --surface: rgba(15, 23, 42, 0.05);
    --surface-2: rgba(15, 23, 42, 0.09);
    --border: rgba(15, 23, 42, 0.16);
    --text: #0f172a;
    --text-dim: #3d465c;
    --text-mute: #6b7288;
    --green: #15803d;
    --cyan: #0369a1;
    --purple: #6d28d9;
    --pink: #be185d;
    --amber: #b45309;
    --red: #dc2626;
}

[data-theme="light"] body {
    background: linear-gradient(135deg, #eef1f7 0%, #dde5f4 50%, #eef1f7 100%);
}

[data-theme="light"] .bg-canvas { opacity: 0.45; }
[data-theme="light"] .bg-noise { opacity: 0.25; }

[data-theme="light"] .bg-aurora {
    background:
        radial-gradient(38% 30% at 18% 22%, rgba(21, 128, 61, 0.12), transparent 70%),
        radial-gradient(34% 30% at 82% 18%, rgba(3, 105, 161, 0.12), transparent 70%),
        radial-gradient(40% 34% at 55% 85%, rgba(109, 40, 217, 0.12), transparent 70%);
}

[data-theme="light"] .nav { background: rgba(238, 241, 247, 0.6); }
[data-theme="light"] .nav.scrolled { background: rgba(238, 241, 247, 0.88); }

[data-theme="light"] .glitch,
[data-theme="light"] .contact-mail {
    background: linear-gradient(115deg,
        #0f172a 0%, #1e40af 22%, #2563eb 40%,
        #4f46e5 58%, #7c3aed 76%, #0f172a 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 6px 24px rgba(37, 99, 235, 0.28));
    animation: crystal-sheen 7s linear infinite;
}

[data-theme="light"] .btn-primary {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(219, 234, 254, 0.75) 100%);
    border-color: rgba(15, 23, 42, 0.22);
    text-shadow: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22), inset 0 1px 0 #fff;
}

[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(199, 222, 254, 0.9) 100%);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.32), inset 0 1px 0 #fff;
}

[data-theme="light"] .og-visual { background: rgba(15, 23, 42, 0.06); }
[data-theme="light"] .sat-stat { background: rgba(15, 23, 42, 0.05); }
[data-theme="light"] .social { background: rgba(255, 255, 255, 0.65); }
[data-theme="light"] .morse-key { background: rgba(15, 23, 42, 0.05); }

[data-theme="light"] .tx-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25), inset 0 1px 0 #fff;
}

[data-theme="light"] .tx-input { background: rgba(15, 23, 42, 0.06); }
[data-theme="light"] .tx-lamp { background: #cbd5e1; }
[data-theme="light"] .tx-backdrop { background: rgba(30, 40, 70, 0.45); }

[data-theme="light"] .at-header .at-title { color: var(--text-mute); }

/* ---------- theme toggle ---------- */
.theme-toggle {
    width: 34px; height: 30px;
    font-size: 15px; line-height: 1;
    background: transparent; cursor: pointer;
    border: 1px solid var(--border); border-radius: 8px;
    transition: background 0.2s, transform 0.3s;
}

.theme-toggle:hover { background: var(--surface-2); transform: rotate(20deg); }

/* ---------- station bar ---------- */
.station-bar {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px 18px; margin-top: 22px;
    font-size: 11px; letter-spacing: 1.5px;
    color: var(--text-mute);
}

.station-bar b { color: var(--cyan); font-weight: 700; }

.sb-item { display: inline-flex; align-items: center; gap: 6px; }

.sb-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: on-air-blink 2s ease-in-out infinite;
}

/* ---------- QSL card ---------- */
.qsl-canvas {
    display: none;
    width: 100%; height: auto;
    border-radius: 12px; margin-top: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.qsl-canvas.ready { display: block; }

.qsl-panel { max-width: 520px; }

/* ---------- rock easter egg ---------- */
.rock-emoji {
    position: fixed; top: -60px; z-index: 380;
    pointer-events: none;
    animation: rock-fall linear forwards;
}

@keyframes rock-fall {
    from { transform: translateY(0) rotate(-20deg); opacity: 1; }
    to { transform: translateY(115vh) rotate(30deg); opacity: 0.4; }
}

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
