﻿@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
    --scroll-shift: 0;
    --bg: #090018;
    --bg-soft: #15062d;
    --surface: rgba(28, 14, 68, 0.94);
    --surface-strong: rgba(42, 20, 86, 0.96);
    --line: rgba(0, 245, 255, 0.34);
    --text: #f8fafc;
    --muted: #e1d8ff;
    --quiet: #b8a7e8;
    --primary: #ff4fd8;
    --primary-strong: #ff7a18;
    --accent: #ff4fd8;
    --cyan: #00f5ff;
    --sun: #ff7a18;
    --purple: #7c2cff;
    --popoff-pink: #ff4fd8;
    --popoff-hot: #ff7a18;
    --cta-gradient: linear-gradient(135deg, rgba(255, 79, 216, 0.18), rgba(255, 79, 216, 0.08));
    --cta-gradient-hover: linear-gradient(135deg, rgba(255, 79, 216, 0.28), rgba(255, 79, 216, 0.14));
    --site-glow: 0 0 24px rgba(255, 79, 216, 0.32), 0 0 52px rgba(255, 122, 24, 0.12);
    --success: #22c55e;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
    --shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg);
}

body {
    margin: 0;
    padding-top: 76px;
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    text-rendering: geometricPrecision;
}

.container {
    --bs-gutter-x: clamp(1.5rem, 4vw, 2rem);
}

.retro-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: #070015;
}

.retro-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(6, 0, 20, 0.18), rgba(6, 0, 20, 0.6) 58%, rgba(6, 0, 20, 0.92)),
        radial-gradient(circle at 52% 22%, rgba(255, 85, 0, 0.18), transparent 23rem);
}

.retro-backdrop::after {
    content: '';
    position: absolute;
    inset: -8vh -4vw;
    background-image: url('/images/portfolioBackground.png');
    background-position: center calc(50% + (var(--scroll-shift) * 0.14px));
    background-repeat: repeat-y;
    background-size: cover;
    opacity: 0.86;
    transform: translate3d(0, calc(var(--scroll-shift) * -0.045px), 0) scale(1.04);
    transform-origin: center top;
    will-change: transform, background-position;
}

.portfolio-three-scene {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0.64;
    mix-blend-mode: screen;
    transform: translate3d(0, 0, 0);
}

.retro-sun,
.retro-grid,
.retro-palms {
    display: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 85, 0, 0.65) 0 2px, transparent 2.5px);
    background-size: 110px 110px, 170px 170px;
    background-position:
        calc(var(--scroll-shift) * -0.02px) calc(var(--scroll-shift) * 0.08px),
        calc(var(--scroll-shift) * 0.04px) calc(var(--scroll-shift) * 0.13px);
    opacity: 0.28;
    animation: starDrift 18s linear infinite;
    pointer-events: none;
}

.retro-sun {
    position: absolute;
    left: 50%;
    top: 9vh;
    width: min(48rem, 76vw);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, calc(var(--scroll-shift) * 0.11px));
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0 22px,
            rgba(8, 0, 24, 0.92) 23px 42px
        ),
        linear-gradient(180deg, #ff5500 0%, #ff7700 34%, #ff8a00 66%, #ffd000 100%);
    filter: drop-shadow(0 0 46px rgba(255, 85, 0, 0.44));
    opacity: 0.82;
}

.retro-grid {
    position: absolute;
    left: -15vw;
    right: -15vw;
    bottom: -18vh;
    height: 48vh;
    transform: perspective(520px) rotateX(62deg) translateY(calc(var(--scroll-shift) * 0.18px));
    transform-origin: center bottom;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.88) 3px, transparent 3px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.88) 3px, transparent 3px);
    background-size: 100% 42px, 86px 100%;
    background-position: 0 calc(var(--scroll-shift) * 0.16px), center;
    box-shadow: 0 -20px 80px rgba(124, 44, 255, 0.36);
    opacity: 0.7;
}

.retro-palms {
    position: absolute;
    top: 9vh;
    width: 26vw;
    max-width: 22rem;
    height: 38vh;
    opacity: 0.52;
    transform: translateY(calc(var(--scroll-shift) * 0.06px));
    filter: drop-shadow(0 0 24px rgba(0, 245, 255, 0.24));
}

.retro-palms::before,
.retro-palms::after {
    content: '';
    position: absolute;
    background: rgba(14, 67, 167, 0.92);
}

.retro-palms::before {
    bottom: 0;
    width: 0.9rem;
    height: 68%;
    border-radius: 999px;
    transform: skewX(-12deg);
}

.retro-palms::after {
    top: 0;
    width: 100%;
    height: 45%;
    clip-path: polygon(50% 42%, 100% 0, 66% 48%, 100% 70%, 58% 58%, 50% 100%, 42% 58%, 0 70%, 34% 48%, 0 0);
}

.retro-palms.left {
    left: -3rem;
}

.retro-palms.left::before {
    left: 31%;
}

.retro-palms.right {
    right: -3rem;
    transform: scaleX(-1) translateY(calc(var(--scroll-shift) * 0.06px));
}

.retro-palms.right::before {
    left: 31%;
}

.retro-noise {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.12;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 4px);
    mix-blend-mode: soft-light;
}

@keyframes starDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, 24px, 0); }
}

a {
    color: var(--accent);
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 3px;
}

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

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

.navbar {
    background: rgba(7, 0, 21, 0.82) !important;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px) saturate(130%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text) !important;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0.55rem;
    border-color: var(--line);
    border-radius: 8px;
    background: rgba(0, 245, 255, 0.06);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-collapse {
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link {
    min-height: 44px;
    color: var(--muted) !important;
    font-weight: 600;
    padding: 0.6rem 0.85rem !important;
    border-radius: 8px;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(0, 245, 255, 0.08);
    color: var(--text) !important;
    transform: translateY(-1px);
}

.nav-link-cta {
    color: #18001f !important;
    background: linear-gradient(135deg, var(--sun), var(--primary));
    border-radius: 8px;
    margin-left: 0.4rem;
    box-shadow: 0 0 22px rgba(255, 85, 0, 0.25);
}

.nav-link-cta:hover,
.nav-link-cta:focus {
    color: #111827 !important;
    background: #fb923c;
}

.site-alert {
    top: 94px;
    right: 20px;
    z-index: 9999;
    max-width: min(420px, calc(100vw - 40px));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-alert.is-hiding {
    opacity: 0;
    transform: translateY(-0.5rem);
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(9, 0, 24, 0.12), rgba(9, 0, 24, 0.74));
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(0, 245, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 85, 0, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 82%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 0.9rem;
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1 {
    max-width: 900px;
    margin: 0 0 1.4rem;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 0 34px rgba(255, 85, 0, 0.2);
}

.hero-subtitle,
.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 860px;
}

.hero-proof div,
.service-card,
.info-panel,
.contact-info,
.contact-form,
.cta-panel,
.stats-panel,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(21, 28, 47, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-proof div {
    padding: 1rem;
    background: rgba(17, 8, 45, 0.88);
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.hero-proof span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-system-panel {
    width: min(390px, 86vw);
    margin-left: auto;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(13, 3, 35, 0.96), rgba(31, 10, 68, 0.84)),
        radial-gradient(circle at 20% 20%, rgba(255, 85, 0, 0.22), transparent 34%);
    box-shadow: var(--shadow);
}

.hero-console-panel {
    transform: rotate(1.5deg);
}

.panel-topbar {
    display: flex;
    gap: 0.45rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.panel-topbar span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--accent);
}

.panel-topbar span:nth-child(2) {
    background: var(--cyan);
}

.panel-topbar span:nth-child(3) {
    background: #94a3b8;
}

.system-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    color: var(--muted);
}

.system-row strong {
    color: var(--text);
    white-space: nowrap;
}

.system-row.strong strong {
    color: var(--sun);
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 0.65rem;
    height: 8rem;
    padding-top: 1.2rem;
}

.system-grid span {
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--cyan), var(--accent));
}

.controller-pad {
    display: grid;
    grid-template-columns: 4rem 1fr 4rem;
    align-items: center;
    gap: 1rem;
    min-height: 8rem;
    padding-top: 1.2rem;
}

.dpad,
.button-cluster {
    position: relative;
    width: 3.7rem;
    height: 3.7rem;
}

.dpad::before,
.dpad::after {
    content: '';
    position: absolute;
    inset: 1.25rem 0;
    border-radius: 6px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(0, 245, 255, 0.7);
}

.dpad::after {
    transform: rotate(90deg);
}

.screen-line {
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--sun), var(--accent));
    box-shadow: 0 0 22px rgba(255, 85, 0, 0.48);
}

.button-cluster::before,
.button-cluster::after {
    content: '';
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 1.5rem 1.2rem 0 var(--sun), 0 0 18px rgba(255, 85, 0, 0.64);
}

.button-cluster::before {
    left: 0.3rem;
    top: 0.6rem;
}

.button-cluster::after {
    right: 0.6rem;
    bottom: 0.6rem;
    background: var(--accent);
    box-shadow: -1.45rem -1rem 0 var(--purple), 0 0 18px rgba(0, 245, 255, 0.64);
}

.hero-service-panel {
    position: absolute;
    left: 0;
    right: 2rem;
    bottom: 1.2rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.panel-label,
.case-label {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-service-panel ul,
.feature-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.hero-service-panel li,
.feature-list li {
    margin-bottom: 0.45rem;
}

section {
    position: relative;
    padding: 4.5rem 0;
}

.section-band {
    background: rgba(6, 0, 18, 0.42);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
}

.section-copy {
    color: var(--muted);
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--sun), var(--primary));
    color: #18001f;
    box-shadow: 0 0 24px rgba(255, 85, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #18001f;
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: var(--line);
    color: var(--text);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.12);
    color: var(--text);
}

.card,
.accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    overflow: hidden;
}

.card {
    background:
        linear-gradient(145deg, rgba(35, 15, 82, 0.94), rgba(20, 7, 58, 0.94)),
        radial-gradient(circle at 20% 0%, rgba(0, 245, 255, 0.08), transparent 14rem);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 245, 255, 0.55) !important;
    box-shadow: var(--shadow-soft), 0 0 34px rgba(0, 245, 255, 0.12);
}

.card-title {
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
}

.card-subtitle,
.card-text,
.meta-line {
    color: var(--muted);
}

.service-card {
    height: 100%;
    padding: 1.35rem;
    background: rgba(23, 10, 58, 0.92);
}

.service-card i {
    margin-bottom: 1.1rem;
    color: var(--sun);
    font-size: 1.6rem;
}

.service-card h3,
.info-panel h2,
.contact-info h2,
.contact-form h2,
.contact-item h3,
.skill-heading h3 {
    margin-bottom: 0.6rem;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
}

.service-card p,
.contact-item p {
    margin: 0;
    color: var(--muted);
}

.project-image-container {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 7, 46, 0.95), rgba(40, 15, 88, 0.88)),
        repeating-linear-gradient(135deg, rgba(0, 245, 255, 0.12) 0 1px, transparent 1px 12px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.project-image-container.image-missing::before {
    opacity: 1;
}

.project-image-container::before,
.mini-project-image::before,
.mini-project.image-missing::before {
    content: 'POPOFF BUILD';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(0, 245, 255, 0.76);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.72;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 85, 0, 0.18), transparent 9rem),
        linear-gradient(135deg, rgba(16, 7, 46, 0.78), rgba(40, 15, 88, 0.72));
}

.project-image-container img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.project-card:hover .project-image-container img {
    transform: scale(1.04);
}

.project-card .card-text,
.service-card p,
.section-copy,
.cta-panel p {
    color: #efeaff;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tags .badge {
    border: 1px solid rgba(0, 245, 255, 0.32);
    border-radius: 999px;
    background: rgba(0, 245, 255, 0.1);
    color: #dff6ff;
    font-weight: 700;
    line-height: 1.25;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--quiet);
    font-size: 0.88rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.skill-heading i {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary);
    font-size: 1.25rem;
}

.skill-heading small {
    color: var(--muted);
}

.progress {
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sun), var(--primary), var(--accent));
    transition: width 1s ease;
}

.page-shell {
    padding-top: clamp(1.5rem, 3vw, 2.75rem);
    padding-bottom: 4rem;
}

.portfolio-shell {
    padding-top: clamp(1rem, 3vw, 2.35rem);
    padding-bottom: 4rem;
}

.portfolio-intro,
.archive-header,
.contact-dock {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(10, 3, 31, 0.86), rgba(35, 8, 62, 0.76)),
        radial-gradient(circle at 80% 10%, rgba(255, 85, 0, 0.12), transparent 16rem);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: var(--shadow);
}

.portfolio-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 1.5rem;
    align-items: stretch;
    min-height: 24rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.intro-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow: 0 0 34px rgba(255, 85, 0, 0.24);
}

.intro-tags,
.archive-status,
.stack-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.intro-tags {
    margin-top: 1.5rem;
}

.intro-tags span,
.archive-status span,
.stack-pill {
    border: 1px solid rgba(0, 245, 255, 0.32);
    border-radius: 999px;
    background: rgba(0, 245, 255, 0.1);
    color: #e8fbff;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0.42rem 0.7rem;
}

.loadout-card {
    align-self: end;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 3, 35, 0.9);
}

.archive-section {
    padding: 3.25rem 0 0;
}

.simple-page-label {
    padding: 0 0 0.75rem;
}

.simple-page-label span {
    display: inline-flex;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 245, 255, 0.09);
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archive-section.is-first {
    padding-top: 1rem;
}

.about-overview {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 1rem;
    padding: 0 0 1.5rem;
}

.console-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr) minmax(220px, 0.7fr);
    gap: 1rem;
    padding: 0 0 1.25rem;
}

.console-card {
    position: relative;
    min-height: 10rem;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 4, 26, 0.92), rgba(42, 10, 70, 0.76)),
        radial-gradient(circle at 14% 18%, rgba(0, 245, 255, 0.13), transparent 14rem);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.console-card::after {
    content: '';
    position: absolute;
    inset: auto 1rem 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent, var(--primary));
    opacity: 0.8;
}

.console-card:hover,
.mini-project:hover {
    border-color: rgba(0, 245, 255, 0.56);
    box-shadow: var(--shadow-soft);
}

.location-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    line-height: 1.05;
    text-shadow: 0 0 24px rgba(255, 85, 0, 0.18);
}

.console-muted {
    color: var(--quiet);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.45;
}

.notes-card {
    min-height: 12rem;
}

.notes-card .feature-list {
    padding-left: 1.1rem;
}

.terminal-dots {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.terminal-dots span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--primary);
}

.terminal-dots span:nth-child(2) {
    background: var(--accent);
}

.terminal-dots span:nth-child(3) {
    background: var(--sun);
}

.quick-card {
    display: grid;
    align-content: stretch;
    gap: 0.75rem;
}

.quick-card div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4rem;
    padding: 0.75rem;
    border: 1px solid rgba(0, 245, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 245, 255, 0.06);
}

.quick-card span,
.rail-label {
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-card strong {
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.2;
}

.home-archive {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 1.35rem;
    align-items: start;
    padding: 1rem 0 0;
}

.main-rail,
.side-rail {
    position: relative;
}

.rail-label {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.34rem 0.6rem;
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 245, 255, 0.09);
    box-shadow: 0 0 22px rgba(0, 245, 255, 0.08);
}

.side-rail {
    position: sticky;
    top: 96px;
}

.side-projects {
    display: grid;
    gap: 0.85rem;
}

.mini-project {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
    min-height: 8.5rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(24, 9, 64, 0.9), rgba(17, 6, 48, 0.88)),
        radial-gradient(circle at 100% 0%, rgba(255, 85, 0, 0.08), transparent 10rem);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mini-project:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft), 0 0 30px rgba(255, 85, 0, 0.12);
}

.mini-project-image {
    position: relative;
    display: block;
    min-height: 7rem;
    overflow: hidden;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(16, 7, 46, 0.95), rgba(40, 15, 88, 0.88)),
        repeating-linear-gradient(135deg, rgba(0, 245, 255, 0.12) 0 1px, transparent 1px 12px);
}

.mini-project.image-missing::before {
    position: relative;
    min-height: 7rem;
    border-radius: 6px;
}

.mini-project img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 7rem;
    object-fit: cover;
    border-radius: 6px;
    filter: saturate(1.05) contrast(1.02);
}

.mini-project h3 {
    margin: 0 0 0.35rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
}

.mini-project p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.stack-label {
    margin-top: 1.25rem;
}

.compact-stack {
    gap: 0.45rem;
}

.about-home .info-panel {
    background: rgba(8, 4, 26, 0.78);
}

.about-home .feature-list {
    padding-left: 1.25rem;
    color: #efeaff;
}

.wide-panel {
    grid-column: 1 / -1;
}

.archive-heading,
.archive-header,
.contact-dock {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.archive-heading {
    margin-bottom: 1.2rem;
}

.archive-heading h2,
.archive-header .page-title,
.archive-error .page-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.55rem, 3.2vw, 2.45rem);
    font-weight: 800;
    line-height: 1.02;
}

.archive-header {
    margin-bottom: 1.5rem;
    padding: clamp(1rem, 2.2vw, 1.4rem);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-card .card-body,
.certificate-card .card-body {
    padding: 1.05rem;
}

.project-card,
.certificate-card,
.contact-info,
.contact-form {
    min-width: 0;
}

.compact-section {
    padding-top: 2.5rem;
}

.compact-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.stack-strip {
    align-items: center;
}

.stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stack-pill i {
    color: var(--sun);
}

.contact-dock {
    margin-top: 3rem;
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.contact-dock p {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.12;
}

.page-hero {
    padding: 4.5rem 0 3rem;
}

.info-panel,
.contact-info,
.contact-form,
.empty-state {
    padding: 1.5rem;
}

.profile-list li {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.profile-list li:last-child {
    border-bottom: 0;
}

.profile-list strong {
    color: var(--text);
}

.profile-list span {
    color: var(--muted);
}

.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5rem;
    width: 2px;
    background: linear-gradient(var(--primary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
}

.timeline-marker {
    position: absolute;
    top: 1.4rem;
    left: 0.15rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 85, 0, 0.15), 0 0 22px rgba(255, 85, 0, 0.34);
}

.date-badge {
    background: rgba(56, 189, 248, 0.12);
    color: #dff6ff;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.mini-heading {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-icon {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
}

.form-label {
    color: var(--text);
    font-weight: 700;
}

.form-control {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    padding: 0.85rem 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

textarea.form-control {
    min-height: 10rem;
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.16);
}

.form-control::placeholder {
    color: var(--quiet);
}

.faq-section {
    padding-top: 4rem;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background: rgba(21, 28, 47, 0.95);
    color: var(--text);
    box-shadow: none;
    font-weight: 700;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    color: var(--muted);
}

.certificate-card {
    position: relative;
}

.certificate-card .card-header {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    background: rgba(31, 41, 55, 0.9);
}

.certificate-card .card-header i {
    color: var(--primary);
    font-size: 1.45rem;
}

.certificate-card .card-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.issuer {
    color: var(--muted);
    font-weight: 700;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.certificate-details small,
.credential-id small {
    display: block;
    color: var(--quiet);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.certificate-details strong {
    display: block;
    color: var(--text);
}

.credential-id {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.credential-id code {
    color: var(--accent);
}

.status-badge {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-panel div {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stats-panel div:last-child {
    border-right: 0;
}

.stats-panel strong {
    display: block;
    color: var(--primary);
    font-size: 2rem;
}

.stats-panel span,
.footer-note {
    color: var(--muted);
}

.empty-state {
    margin-top: 2rem;
    text-align: center;
}

.empty-state i {
    color: var(--primary);
    font-size: 2rem;
}

.empty-state h2 {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--muted);
}

.cta-section {
    padding: 4rem 0 5rem;
}

.cv-page {
    display: grid;
    gap: 1.2rem;
}

.cv-premium-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.36fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 12%, rgba(0, 245, 255, 0.18), transparent 16rem),
        radial-gradient(circle at 92% 18%, rgba(255, 85, 0, 0.2), transparent 15rem),
        linear-gradient(135deg, rgba(21, 8, 58, 0.96), rgba(46, 8, 68, 0.9));
}

.cv-premium-hero::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.28), transparent) 0 0 / 100% 1px no-repeat,
        linear-gradient(180deg, transparent, rgba(255, 85, 0, 0.18), transparent);
    opacity: 0.8;
}

.cv-hero-copy,
.cv-hero-panel {
    position: relative;
    z-index: 1;
}

.cv-status-row,
.cv-hero-actions,
.cv-social-actions,
.cv-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.cv-status-row {
    margin-bottom: 1rem;
}

.cv-status-pill,
.cv-mini-tag,
.cv-file-size {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.cv-status-pill {
    gap: 0.48rem;
    padding: 0.35rem 0.72rem;
    border: 1px solid rgba(16, 185, 129, 0.42);
    background: rgba(16, 185, 129, 0.12);
    color: #caffea;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.12);
}

.cv-status-pill i {
    color: #22c55e;
    font-size: 0.52rem;
    filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.9));
}

.cv-mini-tag,
.cv-file-size {
    padding: 0.35rem 0.68rem;
    border: 1px solid rgba(0, 245, 255, 0.22);
    background: rgba(0, 245, 255, 0.08);
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
}

.cv-hero .simple-page-label {
    display: block;
    padding-bottom: 0.75rem;
}

.cv-hero .page-title {
    max-width: 940px;
    margin-bottom: 0.75rem;
}

.cv-hero p,
.cv-workflow-panel p {
    max-width: 860px;
    margin: 0;
    color: #ded8ff;
    font-size: 1.02rem;
    line-height: 1.6;
}

.cv-hero-actions {
    margin-top: 1.35rem;
}

.cv-hero-actions .btn {
    min-height: 3rem;
    padding-inline: 1rem;
}

.cv-hero-panel {
    display: grid;
    min-height: 100%;
    place-items: center;
}

.cv-orbit {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.cv-orbit span {
    position: absolute;
    width: min(16rem, 90%);
    aspect-ratio: 1;
    border: 1px solid rgba(0, 245, 255, 0.16);
    border-radius: 50%;
    box-shadow: inset 0 0 28px rgba(0, 245, 255, 0.08);
}

.cv-orbit span:nth-child(2) {
    width: min(11rem, 70%);
    transform: rotate(18deg);
    border-color: rgba(255, 85, 0, 0.16);
}

.cv-orbit span:nth-child(3) {
    width: min(6rem, 45%);
    border-color: rgba(255, 203, 70, 0.18);
}

.cv-profile-card {
    position: relative;
    width: 100%;
    max-width: 20rem;
    padding: 1.15rem;
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 8px;
    background: rgba(6, 2, 25, 0.68);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 36px rgba(0, 245, 255, 0.12);
    backdrop-filter: blur(14px) saturate(140%);
}

.cv-profile-card strong {
    display: block;
    margin-top: 0.55rem;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.12;
}

.cv-profile-card p {
    margin: 0.65rem 0 1rem;
    color: var(--muted);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
}

.cv-social-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 245, 255, 0.08);
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.cv-social-actions a:hover {
    border-color: rgba(0, 245, 255, 0.54);
    color: #fff;
}

.cv-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.cv-metric-grid article {
    min-height: 8.25rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(13, 3, 35, 0.92), rgba(25, 10, 62, 0.82)),
        radial-gradient(circle at 100% 0%, rgba(0, 245, 255, 0.08), transparent 9rem);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.cv-metric-grid span {
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cv-metric-grid strong {
    display: block;
    margin: 0.42rem 0;
    color: var(--text);
    font-size: 1.05rem;
}

.cv-metric-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.cv-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cv-download-card {
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.22) !important;
    background:
        linear-gradient(135deg, rgba(24, 9, 64, 0.94), rgba(17, 6, 48, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(255, 85, 0, 0.12), transparent 14rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cv-download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 255, 0.58) !important;
    box-shadow: var(--shadow-soft), 0 0 34px rgba(255, 85, 0, 0.15);
}

.cv-preview-frame {
    position: relative;
    display: block;
    height: clamp(22rem, 45vw, 34rem);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(239, 246, 255, 0.96);
}

.cv-preview-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.cv-download-card:hover .cv-preview-frame img {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.02);
}

.cv-card-overlay {
    position: absolute;
    inset: auto 1rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 203, 70, 0.96), rgba(255, 85, 0, 0.96));
    color: #090018;
    font-weight: 900;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cv-preview-frame:hover .cv-card-overlay,
.cv-preview-frame:focus .cv-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.cv-card-heading {
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.cv-workflow-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.cv-premium-workflow {
    background:
        linear-gradient(135deg, rgba(13, 18, 42, 0.94), rgba(17, 6, 48, 0.9)),
        radial-gradient(circle at 100% 0%, rgba(0, 245, 255, 0.13), transparent 18rem);
}

.cv-workflow-panel .stack-strip {
    justify-content: flex-start;
}

.cv-page .revealable {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Compact spacing pass */
section {
    padding: 3.25rem 0;
}

.page-shell {
    padding-top: clamp(1rem, 2vw, 2rem);
    padding-bottom: 3rem;
}

.portfolio-shell {
    padding-top: clamp(0.75rem, 2vw, 1.65rem);
    padding-bottom: 3rem;
}

.hero-section {
    padding-bottom: 3rem;
}

.page-hero {
    padding: 3.25rem 0 2.25rem;
}

.archive-section {
    padding: 2.25rem 0 0;
}

.cta-section {
    padding: 2.75rem 0 3.5rem;
}

.console-grid,
.about-overview,
.home-archive,
.project-grid,
.cv-download-grid,
.cv-metric-grid,
.side-projects {
    gap: 0.7rem;
}

.cv-page {
    gap: 0.85rem;
}

.archive-header,
.contact-dock,
.cv-premium-hero,
.cv-workflow-panel,
.cta-panel,
.info-panel,
.contact-info,
.contact-form,
.empty-state,
.console-card {
    padding: 1rem;
}

.project-card .card-body,
.certificate-card .card-body,
.card .card-body {
    padding: 0.85rem;
}

.timeline-item {
    margin-bottom: 0.85rem;
}

.faq-section {
    padding-top: 2rem;
}

.archive-heading,
.archive-header {
    margin-bottom: 0.9rem;
}

.rail-label {
    margin-bottom: 0.65rem;
}

.mini-project {
    gap: 0.65rem;
    padding: 0.6rem;
}

.cv-status-row {
    margin-bottom: 0.7rem;
}

.cv-hero-actions {
    margin-top: 1rem;
}

.cv-metric-grid article {
    min-height: 7rem;
    padding: 0.85rem;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
}

.cta-panel h2 {
    max-width: 760px;
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.cta-panel p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--line);
    background: rgba(5, 7, 20, 0.96);
    color: var(--text);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    width: clamp(5.5rem, 12vw, 8rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255, 85, 0, 0.28));
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.revealable {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .nav-link-cta {
        display: inline-block;
        margin: 0.5rem 0 0;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0 4rem;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
        padding-bottom: 8rem;
    }

    .hero-system-panel {
        margin: 0 auto;
    }

    .hero-service-panel {
        right: 1rem;
        bottom: 0;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-intro,
    .console-grid,
    .home-archive,
    .about-overview,
    .cv-premium-hero,
    .cv-download-grid,
    .cv-workflow-panel,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .cv-hero-panel {
        justify-items: stretch;
    }

    .cv-profile-card {
        max-width: none;
    }

    .cv-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .console-grid {
        gap: 0.85rem;
    }

    .portfolio-intro {
        min-height: auto;
    }

    .archive-heading,
    .archive-header,
    .contact-dock {
        align-items: flex-start;
        flex-direction: column;
    }

    .side-rail {
        position: static;
    }

}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .page-shell,
    .portfolio-shell {
        max-width: 920px;
    }

    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .console-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    }

    .quick-card {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-archive {
        grid-template-columns: 1fr;
    }

    .side-rail {
        position: static;
    }

    .side-projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mini-project {
        grid-template-columns: 1fr;
    }

    .mini-project-image,
    .mini-project img {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .project-image-container {
        aspect-ratio: 16 / 8.8;
    }

    .footer-brand img {
        width: 5.5rem;
    }
}

@media (max-width: 767.98px) {
    .portfolio-three-scene {
        opacity: 0.34;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-three-scene {
        opacity: 0.32;
    }

    body::before {
        animation: none;
    }

    .retro-backdrop::after {
        transform: scale(1.04);
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 62px;
        font-size: 0.96rem;
    }

    .navbar {
        min-height: 62px;
    }

    .navbar-brand {
        font-size: 0.92rem;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        margin-top: 0.7rem;
        padding: 0.75rem;
        border: 1px solid rgba(0, 245, 255, 0.26);
        border-radius: 8px;
        background: rgba(7, 0, 21, 0.94);
        box-shadow: var(--shadow-soft);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.68rem 0.8rem !important;
    }

    .nav-link-cta {
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    .archive-header,
    .contact-dock {
        padding: 1rem;
    }

    .portfolio-shell,
    .page-shell {
        padding-top: 0.75rem;
        padding-bottom: 2.75rem;
    }

    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .simple-page-label {
        padding-bottom: 0.35rem;
    }

    .simple-page-label span,
    .rail-label {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }

    .console-grid {
        gap: 0.7rem;
        padding-bottom: 0.85rem;
    }

    .console-card,
    .contact-info,
    .contact-form {
        padding: 0.92rem;
    }

    .console-muted {
        font-size: 0.68rem;
    }

    .location-card strong {
        font-size: clamp(1.35rem, 8vw, 1.8rem);
    }

    .notes-card .feature-list {
        padding-left: 0.95rem;
    }

    .notes-card li {
        margin-bottom: 0.38rem;
        line-height: 1.45;
    }

    .quick-card {
        gap: 0.55rem;
    }

    .quick-card div {
        min-height: 3.35rem;
        padding: 0.65rem;
    }

    .home-archive {
        gap: 1rem;
        padding-top: 0.65rem;
    }

    .timeline::before {
        left: 0.32rem;
    }

    .timeline-item {
        margin-bottom: 0.85rem;
        padding-left: 1.45rem;
    }

    .timeline-marker {
        left: 0;
    }

    .card .card-body,
    .project-card .card-body,
    .certificate-card .card-body {
        padding: 0.9rem;
    }

    .card-title {
        font-size: 1.04rem;
    }

    .archive-heading h2,
    .archive-header .page-title,
    .archive-error .page-title {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .hero-subtitle,
    .page-hero p {
        font-size: 1rem;
    }

    .hero-actions .btn,
    .cta-panel .btn,
    .cv-hero-actions .btn {
        width: 100%;
    }

    .cv-premium-hero {
        padding: 0.92rem;
    }

    .cv-status-row,
    .cv-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cv-status-pill,
    .cv-mini-tag {
        justify-content: center;
        width: 100%;
    }

    .cv-hero .page-title {
        font-size: clamp(2rem, 11vw, 2.55rem);
    }

    .cv-hero p,
    .cv-workflow-panel p {
        font-size: 0.96rem;
    }

    .cv-metric-grid {
        grid-template-columns: 1fr;
    }

    .cv-metric-grid article {
        min-height: auto;
    }

    .cv-preview-frame {
        height: 30rem;
    }

    .cv-card-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .profile-list li,
    .mini-project,
    .stats-panel,
    .certificate-details {
        grid-template-columns: 1fr;
    }

    .console-card {
        min-height: auto;
    }

    .side-projects {
        gap: 0.7rem;
    }

    .mini-project {
        gap: 0;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .mini-project > div {
        padding: 0.85rem;
    }

    .mini-project-image,
    .mini-project img {
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-radius: 0;
    }

    .project-image-container {
        aspect-ratio: 16 / 8.8;
    }

    .project-meta {
        align-items: flex-start;
        flex-direction: column;
        font-size: 0.78rem;
    }

    .project-links .btn,
    .certificate-card .btn {
        min-height: 42px;
    }

    .tech-tags .badge,
    .stack-pill {
        font-size: 0.74rem;
        padding: 0.34rem 0.52rem;
    }

    .contact-item {
        gap: 0.75rem;
        padding: 0.9rem 0;
    }

    .contact-icon {
        flex-basis: 2.35rem;
        width: 2.35rem;
        height: 2.35rem;
    }

    .form-control {
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 12rem;
    }

    .accordion-button {
        min-height: 48px;
        padding: 0.82rem 0.95rem;
        line-height: 1.25;
    }

    .stats-panel div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-panel div:last-child {
        border-bottom: 0;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-brand {
        align-items: center;
        flex-direction: row;
        gap: 0.8rem;
    }

    .footer-brand img {
        width: 4.8rem;
    }

    .footer-links {
        gap: 0.75rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 380px) {
    .container {
        --bs-gutter-x: 1.5rem;
    }

    .contact-info,
    .contact-form,
    .console-card {
        padding: 0.8rem;
    }

    .card-title,
    .mini-project h3,
    .contact-item h3 {
        font-size: 0.98rem;
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   GEN Z — ANIMATIONS, EFFECTS, AND INTERACTIONS
   ============================================================ */

/* --- Keyframe library --- */

@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmerSlide {
    0%        { left: -100%; }
    50%, 100% { left: 150%; }
}

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 245, 255, 0.4), 0 0 20px rgba(0, 245, 255, 0.18); }
    50%       { box-shadow: 0 0 18px rgba(0, 245, 255, 0.85), 0 0 44px rgba(0, 245, 255, 0.38); }
}

@keyframes pinkPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(255, 85, 0, 0.14), 0 0 22px rgba(255, 85, 0, 0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 85, 0, 0.22), 0 0 44px rgba(255, 85, 0, 0.55); }
}

@keyframes rippleOut {
    to { transform: scale(4); opacity: 0; }
}

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

@keyframes progressShine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* --- Stagger reveal delay helpers (applied by JS) --- */
.reveal-d1 { transition-delay: 0.07s !important; }
.reveal-d2 { transition-delay: 0.14s !important; }
.reveal-d3 { transition-delay: 0.21s !important; }
.reveal-d4 { transition-delay: 0.28s !important; }
.reveal-d5 { transition-delay: 0.35s !important; }
.reveal-d6 { transition-delay: 0.42s !important; }

/* --- Scroll progress bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--sun), var(--primary));
    background-size: 300% 100%;
    animation: gradientFlow 3s linear infinite;
    transition: width 0.08s linear;
    pointer-events: none;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(255, 85, 0, 0.5);
}

/* --- Scroll-to-top button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 24px rgba(255, 85, 0, 0.44);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    box-shadow: 0 0 44px rgba(255, 85, 0, 0.75), 0 0 80px rgba(0, 245, 255, 0.22) !important;
    transform: translateY(-3px) scale(1.12) !important;
}

/* --- Button enhancements --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease !important;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    border-radius: inherit;
}

.btn:hover::before { opacity: 1; }

.btn:active {
    transform: scale(0.95) !important;
    transition-duration: 0.08s !important;
}

.btn-primary {
    box-shadow: 0 0 26px rgba(255, 85, 0, 0.34), 0 4px 16px rgba(0,0,0,0.24) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    box-shadow: 0 0 48px rgba(255, 85, 0, 0.65), 0 0 90px rgba(0, 245, 255, 0.15), 0 6px 24px rgba(0,0,0,0.3) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

/* Ripple injected by JS */
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transform: scale(0);
    animation: rippleOut 0.65s linear forwards;
    pointer-events: none;
}

/* --- Nav CTA shimmer --- */
.nav-link-cta {
    position: relative;
    overflow: hidden;
}

.nav-link-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 48%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
    animation: shimmerSlide 2.8s ease-in-out infinite;
    pointer-events: none;
}

/* Nav link underline sweep */
.nav-link:not(.nav-link-cta) {
    position: relative;
}

.nav-link:not(.nav-link-cta)::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.nav-link:not(.nav-link-cta):hover::before,
.nav-link:not(.nav-link-cta):focus::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navbar brand animated gradient */
.navbar-brand span {
    background: linear-gradient(90deg, var(--text), var(--accent), var(--primary), var(--text));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s linear infinite;
}

/* Enhanced navbar scrolled */
.navbar-scrolled {
    box-shadow: 0 4px 32px rgba(255, 85, 0, 0.18), 0 0 60px rgba(0,0,0,0.3) !important;
    border-bottom-color: rgba(0, 245, 255, 0.44) !important;
}

/* --- Eyebrow blinking cursor --- */
.eyebrow::after {
    content: '|';
    margin-left: 2px;
    color: var(--accent);
    animation: blink 1.1s step-end infinite;
}

/* --- Timeline marker pulse --- */
.timeline-marker {
    animation: pinkPulse 2.4s ease-in-out infinite;
}

/* --- Enhanced card hover --- */
.card {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
}

.card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(0, 245, 255, 0.72) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.44), 0 0 48px rgba(0, 245, 255, 0.18) !important;
}

/* Console card */
.console-card {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
}

.console-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 245, 255, 0.6) !important;
    box-shadow: var(--shadow-soft), 0 0 38px rgba(0, 245, 255, 0.16) !important;
}

/* Mini project */
.mini-project {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
}

.mini-project:hover {
    transform: translateY(-5px) scale(1.01) !important;
    border-color: rgba(255, 85, 0, 0.56) !important;
    box-shadow: var(--shadow-soft), 0 0 48px rgba(255, 85, 0, 0.22) !important;
}

/* Service card */
.service-card {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
}

.service-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 215, 0, 0.52) !important;
    box-shadow: var(--shadow-soft), 0 0 36px rgba(255, 215, 0, 0.12) !important;
}

.service-card i {
    display: inline-block;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.22s ease;
}

.service-card:hover i {
    transform: scale(1.22) rotate(-6deg);
    color: var(--accent) !important;
}

/* Certificate card */
.certificate-card {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
}

.certificate-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 85, 0, 0.56) !important;
    box-shadow: var(--shadow-soft), 0 0 46px rgba(255, 85, 0, 0.18) !important;
}

/* --- Tech badge / stack pill hover glow --- */
.tech-tags .badge {
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.tech-tags .badge:hover {
    background: rgba(0, 245, 255, 0.22) !important;
    border-color: rgba(0, 245, 255, 0.72) !important;
    box-shadow: 0 0 18px rgba(0, 245, 255, 0.4);
    transform: scale(1.08) translateY(-1px);
}

.stack-pill {
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.stack-pill:hover {
    background: rgba(0, 245, 255, 0.18) !important;
    border-color: rgba(0, 245, 255, 0.66) !important;
    box-shadow: 0 0 16px rgba(0, 245, 255, 0.34);
    transform: scale(1.08) translateY(-1px);
}

/* --- Hero proof cards --- */
.hero-proof div {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease;
}

.hero-proof div:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 245, 255, 0.54) !important;
    box-shadow: 0 0 28px rgba(0, 245, 255, 0.18);
}

/* --- Quick card slot hover --- */
.quick-card > div {
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-card > div:hover {
    background: rgba(0, 245, 255, 0.12) !important;
    border-color: rgba(0, 245, 255, 0.46) !important;
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(0, 245, 255, 0.2);
}

/* --- Rail label hover --- */
.rail-label {
    transition: all 0.22s ease;
}

.rail-label:hover {
    background: rgba(0, 245, 255, 0.18) !important;
    box-shadow: 0 0 22px rgba(0, 245, 255, 0.3);
}

/* --- Location card gradient name --- */
.location-card strong {
    background: linear-gradient(90deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Animated progress bar --- */
.progress-bar {
    background: linear-gradient(90deg, var(--sun), var(--primary), var(--accent), var(--sun)) !important;
    background-size: 300% 100% !important;
    animation: progressShine 2.5s linear infinite !important;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- Stats panel --- */
.stats-panel > div {
    transition: background 0.22s ease, box-shadow 0.22s ease;
}

.stats-panel > div:hover {
    background: rgba(255, 85, 0, 0.06);
    box-shadow: inset 0 0 30px rgba(255, 85, 0, 0.08);
}

.stats-panel strong {
    transition: text-shadow 0.3s ease;
}

.stats-panel > div:hover strong {
    text-shadow: 0 0 22px rgba(255, 85, 0, 0.85);
}

/* --- Footer glow --- */
.footer-links a {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent) !important;
    text-shadow: 0 0 14px rgba(0, 245, 255, 0.6);
}

.footer-brand img {
    transition: filter 0.3s ease;
}

.footer-brand img:hover {
    filter: drop-shadow(0 0 30px rgba(255, 85, 0, 0.66));
}

/* --- Form enhanced focus --- */
.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.14), 0 0 22px rgba(0, 245, 255, 0.1) !important;
}

/* --- Accordion hover --- */
.accordion-button:hover {
    background: rgba(0, 245, 255, 0.05) !important;
}

/* --- Cursor spotlight (injected by JS) --- */
.cursor-spotlight {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.052) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* --- Reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
    .timeline-marker { animation: none; }
    .nav-link-cta::after { animation: none; }
    .navbar-brand span { animation: none; -webkit-text-fill-color: var(--text); }
    .scroll-progress-bar { animation: none; }
    .progress-bar { animation: none !important; }
    .eyebrow::after { animation: none; }
    .btn { transition: opacity 0.1s ease !important; }
    .scroll-top-btn { transition: opacity 0.2s ease; }
    .revealable { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   MOBILE POLISH — COMPREHENSIVE PHONE FIXES
   ============================================================ */

/* Prevent horizontal scroll on all pages */
html,
body {
    overflow-x: hidden;
}

/* Scroll-to-top safe area (iOS notch / home bar) */
.scroll-top-btn {
    bottom: max(1.4rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    right: max(1.4rem, calc(env(safe-area-inset-right, 0px) + 1rem));
}

/* Touch devices: no hover transforms — avoids "sticky hover" on tap */
@media (hover: none) {
    .card:hover,
    .console-card:hover,
    .mini-project:hover,
    .service-card:hover,
    .certificate-card:hover,
    .hero-proof div:hover,
    .quick-card > div:hover,
    .rail-label:hover,
    .tech-tags .badge:hover,
    .stack-pill:hover {
        transform: none !important;
        box-shadow: var(--shadow) !important;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        transform: none !important;
    }

    .nav-link:not(.nav-link-cta)::before {
        display: none;
    }

    .service-card:hover i {
        transform: none !important;
    }
}

/* === Extra-small phones (< 480px) === */
@media (max-width: 479.98px) {
    .container {
        --bs-gutter-x: 1.1rem;
    }

    /* CV metric grid: 2 columns fits nicely even on small phones */
    .cv-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Reduce section padding */
    section {
        padding: 2rem 0 !important;
    }

    /* Hero title shrink */
    .hero-content h1,
    .page-hero h1 {
        font-size: 2rem !important;
    }

    /* Navbar brand shorter */
    .navbar-brand {
        font-size: 0.84rem !important;
    }

    /* Ensure buttons don't overflow */
    .hero-actions .btn,
    .cta-panel .btn,
    .cv-hero-actions .btn,
    .project-links .btn {
        width: 100% !important;
    }

    /* Stack pills wrap tightly */
    .stack-pill {
        font-size: 0.72rem !important;
        padding: 0.3rem 0.5rem !important;
    }

    /* Footer tighter */
    .footer .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* === Small phones (< 576px) — Bootstrap xs === */
@media (max-width: 575.98px) {
    /* CTA panel compact */
    .cta-panel {
        padding: 1.25rem !important;
        gap: 1rem !important;
    }

    /* Archive header compact */
    .archive-header {
        gap: 0.75rem !important;
    }

    /* Contact dock compact */
    .contact-dock {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    /* Stats panel: single column */
    .stats-panel {
        grid-template-columns: 1fr !important;
    }
    .stats-panel > div {
        border-right: none !important;
        border-bottom: 1px solid var(--line) !important;
    }
    .stats-panel > div:last-child {
        border-bottom: none !important;
    }

    /* Wider touch targets for nav links */
    .nav-link {
        min-height: 48px !important;
        font-size: 1rem !important;
    }

    /* Row reduced gutter */
    .row.g-5 {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
    }

    /* Slightly reduce monospace label size */
    .console-muted {
        font-size: 0.7rem !important;
    }
}

/* === Standard mobile (≤ 767px) extras === */
@media (max-width: 767.98px) {
    /* Ensure navbar toggler button is big enough */
    .navbar-toggler {
        width: 48px !important;
        height: 48px !important;
    }

    /* Scroll-to-top smaller on mobile */
    .scroll-top-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 0.88rem !important;
    }

    /* No gradient animation on brand — avoids repaints on mobile */
    .navbar-brand span {
        animation: none !important;
        background: none !important;
        -webkit-text-fill-color: var(--text) !important;
        color: var(--text) !important;
    }

    /* Shimmer on CTA can stay but reduce blur */
    .nav-link-cta::after {
        animation-duration: 3.5s;
    }

    /* Progress bar: static gradient on mobile (no animation repaints) */
    .progress-bar {
        animation: none !important;
        background: linear-gradient(90deg, var(--sun), var(--primary), var(--accent)) !important;
    }

    /* Remove eyebrow cursor on mobile (irrelevant on touch) */
    .eyebrow::after {
        display: none;
    }

    /* Timeline tighter */
    .timeline::before {
        width: 1.5px;
    }

    /* Card body more generous on single column */
    .card .card-body {
        padding: 1rem !important;
    }

    /* Full-width form submit */
    .contact-form .btn[type="submit"],
    .contact-form button[type="submit"] {
        width: 100% !important;
        min-height: 52px !important;
    }

    /* Service card icons bigger tap zone */
    .service-card {
        min-height: 0 !important;
    }

    /* Accordion bigger tap zone */
    .accordion-button {
        min-height: 52px !important;
        font-size: 0.98rem !important;
    }

    /* Certificates: single column at mobile */
    .col-lg-6 {
        /* Bootstrap handles this but confirm min-width */
        min-width: 0;
    }

    /* Footer tighter spacing */
    .footer .row {
        --bs-gutter-y: 1.25rem;
    }
}

/* Tech stack production page */
.tech-page {
    display: grid;
    gap: 0.95rem;
}

.tech-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.08)), rgba(8, 13, 24, 0.76);
    box-shadow: var(--shadow);
}

.tech-hero h2 {
    max-width: 820px;
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 0.96;
}

.tech-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.tech-hero-panel,
.tech-category-card,
.tech-workflow-band {
    border: 1px solid var(--line);
    background: rgba(8, 13, 24, 0.76);
    box-shadow: var(--shadow);
}

.tech-hero-panel {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 14px;
}

.tech-hero-panel span,
.tech-workflow-steps span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.tech-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0;
}

.tech-category-card {
    border-radius: 14px;
    padding: 1rem;
}

.tech-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.tech-category-head span {
    font-weight: 800;
    color: var(--text);
}

.tech-category-head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.18);
    color: var(--accent);
}

.tech-skill-list {
    display: grid;
    gap: 0.75rem;
}

.tech-skill-item {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.tech-skill-item > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.tech-skill-item i {
    color: var(--accent);
}

.tech-skill-item strong {
    color: var(--text);
}

.tech-skill-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.tech-meter {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.tech-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.tech-workflow-band {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    align-items: center;
    padding: 1.2rem;
    border-radius: 16px;
}

.tech-workflow-band h2 {
    margin: 0;
}

.tech-workflow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-consent {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1080;
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    max-width: min(620px, calc(100vw - 2rem));
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 13, 24, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.cookie-consent.is-visible {
    display: grid;
}

.cookie-consent strong {
    color: var(--text);
}

.cookie-consent p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 991.98px) {
    .tech-hero,
    .tech-workflow-band {
        grid-template-columns: 1fr;
    }

    .tech-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-workflow-steps {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .tech-hero,
    .tech-category-card,
    .tech-workflow-band {
        padding: 0.9rem;
        border-radius: 12px;
    }

    .tech-category-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        left: 1rem;
        right: 1rem;
        grid-template-columns: 1fr;
    }

    .cookie-consent .btn {
        width: 100%;
    }
}

/* Final visual polish: unify buttons, nav accents and CV density with the retro background palette. */
.navbar {
    border-bottom-color: rgba(255, 79, 216, 0.32);
    background:
        linear-gradient(180deg, rgba(9, 0, 24, 0.94), rgba(9, 0, 24, 0.76)) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 1px 0 rgba(255, 79, 216, 0.16);
}

.navbar-brand span {
    background: var(--cta-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: 0 0 22px rgba(0, 245, 255, 0.2);
}

.nav-link-cta,
.btn-primary,
.cookie-consent .btn-primary {
    border: 1px solid rgba(0, 245, 255, 0.42) !important;
    background: var(--cta-gradient) !important;
    color: #050013 !important;
    box-shadow: var(--site-glow), 0 10px 24px rgba(0, 0, 0, 0.26) !important;
}

.nav-link-cta:hover,
.nav-link-cta:focus,
.btn-primary:hover,
.btn-primary:focus,
.cookie-consent .btn-primary:hover,
.cookie-consent .btn-primary:focus {
    border-color: rgba(0, 245, 255, 0.72) !important;
    background: var(--cta-gradient-hover) !important;
    color: #050013 !important;
    box-shadow: 0 0 36px rgba(0, 245, 255, 0.45), 0 0 72px rgba(255, 79, 216, 0.2), 0 12px 28px rgba(0, 0, 0, 0.32) !important;
}

.btn-outline-light {
    border-color: rgba(0, 245, 255, 0.34) !important;
    background: rgba(0, 245, 255, 0.08) !important;
    color: var(--text) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    border-color: rgba(0, 245, 255, 0.74) !important;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.18), rgba(124, 44, 255, 0.18)) !important;
    color: #fff !important;
    box-shadow: var(--site-glow) !important;
}

.scroll-progress-bar {
    top: 76px;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #7c2cff, #ff4fd8, #22c55e, #00f5ff) !important;
    background-size: 320% 100%;
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.72), 0 0 28px rgba(124, 44, 255, 0.34) !important;
}

.scroll-top-btn {
    border: 1px solid rgba(0, 245, 255, 0.42) !important;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 79, 216, 0.78), transparent 34%),
        radial-gradient(circle at 70% 72%, rgba(0, 245, 255, 0.82), transparent 38%),
        linear-gradient(135deg, rgba(255, 208, 0, 0.92), rgba(124, 44, 255, 0.84)) !important;
    color: #fff !important;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.36), 0 0 56px rgba(255, 79, 216, 0.22) !important;
}

.scroll-top-btn:hover {
    box-shadow: 0 0 42px rgba(0, 245, 255, 0.56), 0 0 82px rgba(255, 79, 216, 0.28) !important;
}

.cv-page {
    gap: 0.65rem !important;
}

.cv-premium-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.3fr) !important;
    gap: clamp(0.75rem, 2vw, 1.2rem) !important;
    padding: clamp(0.95rem, 2vw, 1.35rem) !important;
}

.cv-status-row {
    margin-bottom: 0.55rem !important;
    gap: 0.45rem !important;
}

.cv-hero .simple-page-label {
    padding-bottom: 0.35rem !important;
}

.cv-hero .page-title {
    margin-bottom: 0.45rem !important;
    font-size: clamp(1.45rem, 3.1vw, 2.55rem) !important;
}

.cv-hero p,
.cv-workflow-panel p {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

.cv-hero-actions {
    margin-top: 0.85rem !important;
    gap: 0.5rem !important;
}

.cv-hero-actions .btn {
    min-height: 2.65rem !important;
    padding-inline: 0.85rem !important;
}

.cv-profile-card {
    max-width: 17rem !important;
    padding: 0.95rem !important;
}

.cv-profile-card strong {
    font-size: 1.02rem !important;
}

.cv-metric-grid {
    gap: 0.55rem !important;
}

.cv-metric-grid article {
    min-height: 6.2rem !important;
    padding: 0.75rem !important;
    background:
        linear-gradient(145deg, rgba(9, 0, 24, 0.88), rgba(20, 6, 52, 0.76)),
        radial-gradient(circle at 100% 0%, rgba(0, 245, 255, 0.12), transparent 7rem) !important;
}

.cv-metric-grid strong {
    margin: 0.22rem 0 !important;
    font-size: 0.98rem !important;
}

.cv-metric-grid p {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
}

.cv-download-grid {
    gap: 0.65rem !important;
}

.cv-preview-frame {
    height: clamp(15rem, 31vw, 24rem) !important;
    background: rgba(248, 250, 252, 0.98) !important;
}

.cv-download-card .card-body {
    padding: 0.85rem !important;
}

.cv-download-card .card-text {
    margin-bottom: 0.8rem !important;
    min-height: 0 !important;
}

.cv-card-overlay {
    left: 50% !important;
    right: auto !important;
    bottom: 0.85rem !important;
    width: max-content !important;
    max-width: calc(100% - 1.5rem) !important;
    padding-inline: 0.95rem !important;
    background: var(--cta-gradient) !important;
    color: #050013 !important;
    border-color: rgba(0, 245, 255, 0.42) !important;
    transform: translate(-50%, 0.5rem) !important;
    box-shadow: var(--site-glow) !important;
}

.cv-preview-frame:hover .cv-card-overlay,
.cv-preview-frame:focus .cv-card-overlay {
    transform: translate(-50%, 0) !important;
}

.cv-workflow-panel {
    gap: 0.9rem !important;
    padding: 1rem !important;
}

@media (max-width: 991.98px) {
    .cv-premium-hero {
        grid-template-columns: 1fr !important;
    }

    .cv-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .scroll-progress-bar {
        top: 76px;
    }

    .cv-preview-frame {
        height: clamp(13rem, 72vw, 19rem) !important;
    }

    .cv-download-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Project imagery + active navigation refinement */
.projects-list-section {
    padding-top: 1.1rem !important;
}

.project-image-container {
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 245, 255, 0.16), transparent 10rem),
        linear-gradient(135deg, rgba(9, 0, 24, 0.95), rgba(20, 6, 52, 0.86)) !important;
}

.project-image-container::before,
.mini-project-image::before,
.mini-project.image-missing::before {
    content: '' !important;
    display: none !important;
}

.project-image-container img {
    object-fit: cover;
    object-position: center;
}

.nav-link:not(.nav-link-cta):not(.nav-link-language)::before,
.nav-link-cta::before {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00f5ff, #7c2cff, #ff4fd8, #22c55e, #00f5ff) !important;
    background-size: 260% 100% !important;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.42);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.24s ease;
}

.nav-link:not(.nav-link-cta):not(.nav-link-language):hover::before,
.nav-link:not(.nav-link-cta):not(.nav-link-language):focus::before,
.nav-link:not(.nav-link-cta):not(.nav-link-language).active::before,
.nav-link-cta:hover::before,
.nav-link-cta:focus::before,
.nav-link-cta.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active:not(.nav-link-cta):not(.nav-link-language) {
    color: var(--text) !important;
    background: rgba(0, 245, 255, 0.08);
}

.nav-link-language {
    min-width: 48px;
    justify-content: center;
    margin-inline: 0.25rem;
    border: 1px solid rgba(255, 79, 216, 0.42);
    background: linear-gradient(135deg, rgba(124, 44, 255, 0.26), rgba(255, 79, 216, 0.16)) !important;
    color: #ffd9fb !important;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(255, 79, 216, 0.14);
}

.nav-link-language::before {
    display: none !important;
}

.nav-link-language:hover,
.nav-link-language:focus {
    border-color: rgba(255, 79, 216, 0.72);
    background: linear-gradient(135deg, rgba(255, 79, 216, 0.3), rgba(0, 245, 255, 0.16)) !important;
    color: #fff !important;
    box-shadow: 0 0 26px rgba(255, 79, 216, 0.24), 0 0 34px rgba(0, 245, 255, 0.12);
}

@media (max-width: 767.98px) {
    .projects-list-section {
        padding-top: 0.45rem !important;
    }

    .nav-link-language {
        width: 100%;
        min-height: 44px !important;
        margin: 0.1rem 0;
    }

    .nav-link:not(.nav-link-cta):not(.nav-link-language)::before,
    .nav-link-cta::before {
        left: 0.8rem;
        right: auto;
        width: 4.8rem;
        bottom: 6px;
    }

    .nav-link.active:not(.nav-link-language)::before {
        display: block !important;
        transform: scaleX(1) !important;
    }
}

/* POPOFF neon refinement: single accent color for controls and cleaner stack page. */
.navbar-brand span {
    background: linear-gradient(90deg, #ff4fd8, #ff7a18, #ff4fd8) !important;
    background-size: 220% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 18px rgba(255, 79, 216, 0.26) !important;
}

.nav-link-cta,
.btn-primary,
.cookie-consent .btn-primary,
.cv-card-overlay {
    border: 1px solid rgba(255, 79, 216, 0.62) !important;
    background: rgba(255, 79, 216, 0.12) !important;
    color: #fff4ff !important;
    box-shadow: 0 0 18px rgba(255, 79, 216, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

.nav-link-cta:hover,
.nav-link-cta:focus,
.btn-primary:hover,
.btn-primary:focus,
.cookie-consent .btn-primary:hover,
.cookie-consent .btn-primary:focus,
.cv-card-overlay:hover,
.cv-card-overlay:focus {
    border-color: rgba(255, 122, 24, 0.74) !important;
    background: rgba(255, 79, 216, 0.2) !important;
    color: #fff !important;
    box-shadow: 0 0 26px rgba(255, 79, 216, 0.36), 0 0 42px rgba(255, 122, 24, 0.16) !important;
}

.scroll-progress-bar,
.nav-link:not(.nav-link-cta):not(.nav-link-language)::before,
.nav-link-cta::before {
    background: #ff4fd8 !important;
    box-shadow: 0 0 12px rgba(255, 79, 216, 0.62), 0 0 24px rgba(255, 122, 24, 0.16) !important;
}

.scroll-top-btn {
    border-color: rgba(255, 79, 216, 0.66) !important;
    background: rgba(255, 79, 216, 0.16) !important;
    color: #fff !important;
    box-shadow: 0 0 24px rgba(255, 79, 216, 0.34), 0 0 48px rgba(255, 122, 24, 0.14) !important;
}

.scroll-top-btn:hover {
    background: rgba(255, 79, 216, 0.24) !important;
    box-shadow: 0 0 34px rgba(255, 79, 216, 0.48), 0 0 58px rgba(255, 122, 24, 0.18) !important;
}

.nav-link-language {
    border-color: rgba(255, 122, 24, 0.56) !important;
    background: rgba(255, 122, 24, 0.1) !important;
    color: #ffd7a8 !important;
    box-shadow: 0 0 16px rgba(255, 122, 24, 0.16) !important;
}

.nav-link-language:hover,
.nav-link-language:focus {
    background: rgba(255, 122, 24, 0.16) !important;
    color: #fff4e6 !important;
}

.btn-outline-light {
    border-color: rgba(255, 79, 216, 0.36) !important;
    background: rgba(255, 79, 216, 0.06) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    border-color: rgba(255, 79, 216, 0.66) !important;
    background: rgba(255, 79, 216, 0.12) !important;
    box-shadow: 0 0 20px rgba(255, 79, 216, 0.22) !important;
}

.cv-page {
    gap: 0.35rem !important;
}

.cv-page > section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.cv-metric-grid {
    gap: 0.35rem !important;
    margin-bottom: -0.25rem !important;
}

.cv-metric-grid article {
    min-height: 5.35rem !important;
    padding: 0.62rem 0.72rem !important;
}

.cv-download-grid {
    gap: 0.45rem !important;
    margin-top: -0.2rem !important;
}

.cv-preview-frame {
    height: clamp(14rem, 29vw, 22rem) !important;
}

.tech-hero {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    padding: 1.15rem !important;
    background: rgba(8, 13, 24, 0.76) !important;
}

.tech-hero h2 {
    font-size: clamp(1.7rem, 3vw, 3.1rem) !important;
    line-height: 1.02 !important;
}

.tech-hero-panel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tech-hero-panel span {
    border-color: rgba(255, 79, 216, 0.34) !important;
    background: rgba(255, 79, 216, 0.08) !important;
}

.tech-category-grid {
    gap: 0.55rem !important;
}

.tech-category-card {
    padding: 0.82rem !important;
}

.tech-category-head {
    margin-bottom: 0.55rem !important;
}

.tech-category-head strong,
.tech-meter,
.tech-workflow-band {
    display: none !important;
}

.tech-skill-list {
    gap: 0.55rem !important;
}

.tech-skill-item {
    gap: 0.28rem !important;
}

.tech-skill-item i {
    color: #ff4fd8 !important;
}

@media (max-width: 575.98px) {
    .cv-preview-frame {
        height: clamp(12rem, 66vw, 17rem) !important;
    }

    .tech-hero,
    .tech-category-card {
        padding: 0.78rem !important;
    }
}

/* Compact contact page after removing page label pills. */
.contact-page {
    padding-top: clamp(0.45rem, 1.2vw, 0.9rem) !important;
}

.contact-main-section {
    padding-top: 0 !important;
    padding-bottom: 0.75rem !important;
}

.contact-layout-row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

.contact-page .contact-info,
.contact-page .contact-form {
    padding: 1rem !important;
}

.contact-page .contact-info h2,
.contact-page .contact-form h2 {
    margin-bottom: 0.75rem !important;
}

.contact-page .contact-item {
    gap: 0.7rem !important;
    padding: 0.72rem 0 !important;
}

.contact-page .contact-icon {
    flex-basis: 2.25rem !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
}

.contact-page .contact-item h3 {
    margin-bottom: 0.22rem !important;
}

.contact-page .contact-item p {
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
}

.contact-page .row.g-3 {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
}

.contact-page textarea.form-control {
    min-height: 8.5rem;
}

.contact-page .faq-section {
    padding-top: 0.75rem !important;
}

.contact-page .accordion-button {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

@media (max-width: 767.98px) {
    .contact-page {
        padding-top: 0.25rem !important;
    }

    .contact-page .contact-info,
    .contact-page .contact-form {
        padding: 0.85rem !important;
    }
}

/* Header logo image */
.navbar-brand {
    min-width: 0;
    padding: 0.2rem 0.55rem 0.2rem 0 !important;
}

.navbar-brand-logo {
    display: block;
    width: clamp(8.2rem, 13vw, 12.5rem);
    height: 2.35rem;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    filter: drop-shadow(0 0 10px rgba(255, 79, 216, 0.48)) drop-shadow(0 0 18px rgba(255, 122, 24, 0.16));
}

@media (max-width: 767.98px) {
    .navbar-brand-logo {
        width: clamp(6.6rem, 34vw, 8.8rem);
        height: 1.95rem;
    }
}
