/*
 * Pixel landing theme.
 * Scoped to .pixel-landing so the admin area keeps its existing surface.
 * Pixel Noir Premium keeps the retro UI language while using a restrained
 * developer-console palette.
 */

:root {
    --pixel-bg: #0E1116;
    --pixel-surface: #171C24;
    --pixel-surface-alt: #202631;
    --pixel-primary: #7CFFB2;
    --pixel-secondary: #6EA8FE;
    --pixel-accent: #3520f0;
    --pixel-border: #2D3645;
    --pixel-text: #F4F7FB;
    --pixel-muted: #AAB4C3;
    --pixel-shadow: #05070A;
    --pixel-danger: #FF6B6B;
}

.theme-pixel-noir,
.pixel-landing {
    --pixel-bg-2: #111821;
    --pixel-surface-2: var(--pixel-surface-alt);
    --pixel-primary-dark: #38D98A;
    --pixel-secondary-dark: var(--pixel-shadow);
    --pixel-warning: var(--pixel-accent);
    --pixel-warning-dark: #D9A83C;
    --pixel-stone: var(--pixel-border);
    --pixel-stone-dark: #1C2430;
    --pixel-wood: #263241;
    --pixel-wood-dark: #121821;
    --pixel-sky: var(--pixel-secondary);
    --pixel-sky-light: #BBD5FF;
    --pixel-sand: var(--pixel-accent);
    --pixel-leaf: var(--pixel-primary);
    --pixel-border-light: #4A5668;
    --pixel-shadow-soft: rgba(5, 7, 10, 0.72);
    --pixel-line: rgba(170, 180, 195, 0.2);
    --pixel-grid: rgba(110, 168, 254, 0.1);
    --pixel-grid-2: rgba(124, 255, 178, 0.08);
    --pixel-radius: 2px;
    --xp-font: Tahoma, "Trebuchet MS", "MS Sans Serif", "Microsoft Sans Serif", "Segoe UI", Arial, sans-serif;
    --pixel-font: var(--xp-font);
    --pixel-font-small: var(--xp-font);
    --body-font: var(--xp-font);
}

body.theme-pixel-noir,
body.theme-pixel-noir.dark-theme {
    background:
        linear-gradient(90deg, rgba(110, 168, 254, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(124, 255, 178, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, #111821 0, var(--pixel-bg) 42%, #090C11 100%);
    background-size: 24px 24px, 24px 24px, auto;
    color: var(--pixel-text);
    font-family: var(--body-font);
    cursor: auto;
}

body.theme-pixel-noir::before,
body.theme-pixel-noir.dark-theme::before {
    opacity: 0;
    background: none;
    mix-blend-mode: normal;
}

body.theme-pixel-noir a,
body.theme-pixel-noir button,
body.theme-pixel-noir.dark-theme a,
body.theme-pixel-noir.dark-theme button {
    cursor: pointer;
}

body.theme-pixel-noir button,
body.theme-pixel-noir input,
body.theme-pixel-noir textarea,
body.theme-pixel-noir select,
.pixel-landing button,
.pixel-landing input,
.pixel-landing textarea,
.pixel-landing select {
    font-family: var(--xp-font);
}

body.theme-pixel-noir.dark-theme .portrait-panel img,
body.theme-pixel-noir.dark-theme .profile-image,
body.theme-pixel-noir.dark-theme .project-image img,
body.theme-pixel-noir.dark-theme .book-cover img,
body.theme-pixel-noir.dark-theme .timeline-logo img {
    filter: saturate(0.92) contrast(1.08);
}

.theme-pixel-noir.landing-cinematic-body .main-content::before {
    opacity: 0;
    background: none;
}

.pixel-landing {
    min-height: 100vh;
    overflow-x: clip;
    background:
        linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px),
        linear-gradient(180deg, var(--pixel-grid-2) 1px, transparent 1px),
        radial-gradient(circle at 16% 7%, rgba(110, 168, 254, 0.16), transparent 300px),
        radial-gradient(circle at 84% 10%, rgba(124, 255, 178, 0.1), transparent 280px),
        linear-gradient(180deg, #111821 0, var(--pixel-bg) 34%, var(--pixel-bg-2) 72%, #090C11);
    background-size: 24px 24px, 24px 24px, auto, auto, auto;
    color: var(--pixel-text);
    font-family: var(--body-font);
    isolation: isolate;
}

.pixel-landing.pixel-grid-bg {
    background:
        linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px),
        linear-gradient(180deg, var(--pixel-grid-2) 1px, transparent 1px),
        radial-gradient(circle at 16% 7%, rgba(110, 168, 254, 0.16), transparent 300px),
        radial-gradient(circle at 84% 10%, rgba(124, 255, 178, 0.1), transparent 280px),
        linear-gradient(180deg, #111821 0, var(--pixel-bg) 34%, var(--pixel-bg-2) 72%, #090C11);
    background-size: 24px 24px, 24px 24px, auto, auto, auto;
}

.pixel-landing *,
.pixel-landing *::before,
.pixel-landing *::after {
    border-radius: var(--pixel-radius);
}

.pixel-landing::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.28;
    background:
        repeating-linear-gradient(0deg, transparent 0 5px, rgba(244, 247, 251, 0.035) 5px 6px),
        repeating-linear-gradient(90deg, rgba(110, 168, 254, 0.03) 0 1px, transparent 1px 7px);
}

.pixel-landing::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(45deg, transparent 0 46%, rgba(124, 255, 178, 0.08) 46% 54%, transparent 54%),
        linear-gradient(-45deg, transparent 0 45%, rgba(110, 168, 254, 0.08) 45% 53%, transparent 53%);
    background-size: 96px 96px;
    mask-image: linear-gradient(180deg, #000 0 42%, transparent 84%);
}

.pixel-landing .container,
.pixel-landing .pixel-container,
.pixel-landing .section {
    width: min(1160px, calc(100% - 40px));
}

.pixel-landing .section,
.pixel-landing .pixel-section {
    position: relative;
    padding: clamp(3.6rem, 7vw, 5.5rem) 0;
    scroll-margin-top: 96px;
}

.pixel-landing .section::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 0;
    width: 76px;
    height: 10px;
    background:
        linear-gradient(90deg, var(--pixel-primary) 0 10px, transparent 10px 16px, var(--pixel-secondary) 16px 26px, transparent 26px 32px, var(--pixel-stone) 32px 42px, transparent 42px, var(--pixel-warning) 42px 52px, transparent 52px);
    image-rendering: pixelated;
    opacity: 0.9;
}

.pixel-landing .pixel-title,
.pixel-landing .section-title,
.pixel-landing .hero-title,
.pixel-landing .profile-info h3,
.pixel-landing .skills-title,
.pixel-landing .publication-title,
.pixel-landing .book-content h3,
.pixel-landing .timeline-content h3,
.pixel-landing .project-title,
.pixel-landing .feature-card h3,
.pixel-landing .testimonial-card strong,
.pixel-landing .footer-contact h4,
.pixel-landing .footer-links h4 {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 3px 3px 0 var(--pixel-shadow);
}

.pixel-landing .hero-title {
    max-width: 740px;
    margin-top: 0.85rem;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.88;
}

.pixel-landing .section-title {
    margin-top: 0.7rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 0.95;
}

.pixel-landing .section-subtitle,
.pixel-landing .pixel-muted,
.pixel-landing .hero-description,
.pixel-landing .profile-bio,
.pixel-landing .feature-card p,
.pixel-landing .publication-abstract,
.pixel-landing .project-description,
.pixel-landing .timeline-description,
.pixel-landing .book-content p,
.pixel-landing .testimonial-card span,
.pixel-landing .footer-quote {
    color: var(--pixel-muted);
    font-family: var(--body-font);
    font-weight: 500;
    line-height: 1.7;
}

.pixel-landing .hero-headline {
    max-width: 720px;
    margin-top: 1.15rem;
    color: var(--pixel-primary);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
}

.pixel-landing .pixel-badge,
.pixel-landing .eyebrow,
.pixel-landing .tag,
.pixel-landing .project-status,
.pixel-landing .publication-year,
.pixel-landing .timeline-year,
.pixel-landing .feature-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 32px;
    padding: 0.38rem 0.65rem;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-surface);
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.62rem;
    font-weight: 400;
    line-height: 1.45;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
    transform: none;
}

.pixel-landing .tag:nth-child(3n + 1) {
    color: var(--pixel-primary);
}

.pixel-landing .tag:nth-child(3n + 2) {
    color: var(--pixel-sand);
}

.pixel-landing .tag:nth-child(3n + 3) {
    color: var(--pixel-accent);
}

.pixel-landing .pixel-card,
.pixel-landing .doodle-card,
.pixel-landing .stat,
.pixel-landing .portrait-panel,
.pixel-landing .footer {
    border: 3px solid var(--pixel-stone);
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.035), transparent 42px),
        var(--pixel-surface);
    color: var(--pixel-text);
    box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-card::before,
.pixel-landing .doodle-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    border-radius: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--pixel-primary) 0 34px, var(--pixel-secondary) 34px 54px, var(--pixel-stone) 54px 74px, var(--pixel-warning) 74px 92px, transparent 92px) left top / 100% 7px no-repeat;
    opacity: 0.85;
}

.pixel-landing .pixel-card > *,
.pixel-landing .doodle-card > * {
    position: relative;
    z-index: 1;
}

.pixel-landing .pixel-block,
.pixel-landing .pixel-panel,
.pixel-landing .pixel-slate-panel,
.pixel-landing .pixel-inventory-slot,
.pixel-landing .pixel-control,
.pixel-landing .pixel-divider-strip,
.pixel-landing .pixel-primary-accent,
.pixel-landing .pixel-block-shadow {
    border-radius: var(--pixel-radius);
}

.pixel-landing .pixel-block {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-stone);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
    image-rendering: pixelated;
}

.pixel-landing .pixel-panel,
.pixel-landing .pixel-slate-panel {
    border: 3px solid var(--pixel-stone);
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.04), transparent 42px),
        var(--pixel-surface);
    color: var(--pixel-text);
    box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-control {
    border: 3px solid var(--pixel-border-light);
    background: var(--pixel-primary);
    color: var(--pixel-bg);
    font-family: var(--pixel-font-small);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-inventory-slot,
.pixel-landing .tag,
.pixel-landing .pixel-badge {
    border-color: var(--pixel-stone);
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.05), transparent),
        var(--pixel-surface);
    box-shadow: inset 2px 2px 0 rgba(244, 247, 251, 0.05), 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-divider-strip {
    height: 18px;
    background:
        linear-gradient(90deg, var(--pixel-primary) 0 18px, var(--pixel-secondary) 18px 36px, var(--pixel-stone) 36px 54px, var(--pixel-warning) 54px 72px, transparent 72px);
    background-size: 96px 18px;
}

.pixel-landing .pixel-primary-accent {
    color: var(--pixel-primary);
}

.pixel-landing .pixel-block-shadow {
    box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
}

.pixel-landing .doodle-card:hover,
.pixel-landing .pixel-link-card:hover .project-body,
.pixel-landing .portrait-panel:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-button,
.pixel-landing .btn {
    min-height: 50px;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border: 3px solid var(--pixel-border-light);
    background: var(--pixel-surface);
    color: var(--pixel-text);
    font-family: var(--pixel-font-small);
    font-size: 0.62rem;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pixel-landing .pixel-button-primary,
.pixel-landing .btn-primary {
    background: var(--pixel-primary);
    color: var(--pixel-bg);
}

.pixel-landing .pixel-button-secondary,
.pixel-landing .btn-secondary {
    background: var(--pixel-surface-alt);
    color: var(--pixel-text);
    border-color: var(--pixel-secondary);
}

.pixel-landing .btn:hover,
.pixel-landing .btn:focus-visible {
    transform: translate(-2px, -2px);
    background-color: var(--pixel-warning);
    color: var(--pixel-bg);
    box-shadow: 9px 9px 0 var(--pixel-secondary-dark);
}

.pixel-landing .btn:active {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-frame,
.pixel-landing .portrait-panel,
.pixel-landing .profile-image,
.pixel-landing .timeline-logo,
.pixel-landing .project-image,
.pixel-landing .book-cover {
    image-rendering: auto;
    border-color: var(--pixel-border);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-divider,
.pixel-landing .scribble-divider,
.pixel-landing .footer-scribble {
    height: 22px;
    margin-top: 2.5rem;
    stroke: none;
    opacity: 1;
    background:
        linear-gradient(90deg, var(--pixel-primary) 0 14px, transparent 14px 22px, var(--pixel-secondary) 22px 36px, transparent 36px 46px, var(--pixel-stone) 46px 60px, transparent 60px, var(--pixel-warning) 60px 72px, transparent 72px);
    background-size: 92px 12px;
}

.pixel-landing .scribble-divider path,
.pixel-landing .footer-scribble path {
    display: none;
}

.pixel-landing .header {
    border-bottom: 3px solid var(--pixel-border);
    background: rgba(14, 17, 22, 0.94);
    color: var(--pixel-text);
    backdrop-filter: blur(10px);
}

.pixel-landing .logo-icon {
    border: 3px solid var(--pixel-border);
    background: var(--pixel-primary);
    color: var(--pixel-bg);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
    transform: none;
}

.pixel-landing .logo-icon::after {
    display: none;
}

.pixel-landing .logo-main,
.pixel-landing .logo-sub {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
}

.pixel-landing .logo-main {
    font-size: 1.05rem;
    font-weight: 700;
}

.pixel-landing .logo-sub {
    color: var(--pixel-muted);
    font-size: 0.8rem;
}

.pixel-landing .nav-link {
    min-height: 42px;
    border: 2px solid transparent;
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    font-size: 0.95rem;
    font-weight: 600;
}

.pixel-landing .nav-link i {
    color: var(--pixel-primary);
}

.pixel-landing .nav-link:hover,
.pixel-landing .nav-link.active {
    border-color: var(--pixel-border);
    background: var(--pixel-surface-2);
    color: var(--pixel-text);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
    transform: translate(-1px, -1px);
}

.pixel-landing .nav-link.active::after {
    right: 10px;
    bottom: 4px;
    left: 10px;
    height: 3px;
    border-radius: 0;
    background: var(--pixel-accent);
    transform: none;
}

.pixel-landing .theme-toggle,
.pixel-landing .mobile-toggle {
    border: 3px solid var(--pixel-border);
    background: var(--pixel-surface);
    color: var(--pixel-primary);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .hero-section {
    width: min(1160px, calc(100% - 40px));
    min-height: calc(100vh - 72px);
    padding-top: clamp(4.5rem, 8vw, 7rem);
    overflow: visible;
}

.pixel-landing .hero-section::before {
    inset: 4.8rem -12px 1rem;
    z-index: -1;
    border: 3px solid rgba(45, 54, 69, 0.9);
    background:
        linear-gradient(90deg, rgba(244, 247, 251, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(244, 247, 251, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.14) 0 36%, rgba(32, 38, 49, 0.72) 36% 70%, rgba(14, 17, 22, 0.86) 70%),
        radial-gradient(circle at 15% 20%, rgba(110, 168, 254, 0.14), transparent 260px),
        radial-gradient(circle at 78% 30%, rgba(255, 209, 102, 0.1), transparent 260px),
        rgba(23, 28, 36, 0.78);
    background-size: 18px 18px, 18px 18px, auto, auto, auto, auto;
    box-shadow: 12px 12px 0 rgba(5, 7, 10, 0.74);
    transform: none;
}

.pixel-landing .hero-section::after {
    content: "";
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: clamp(1.8rem, 6vw, 4rem);
    z-index: -1;
    width: min(42vw, 420px);
    height: 74px;
    opacity: 0.5;
    background:
        linear-gradient(var(--pixel-primary) 0 0) 0 0 / 48px 24px no-repeat,
        linear-gradient(var(--pixel-primary-dark) 0 0) 48px 0 / 72px 24px no-repeat,
        linear-gradient(var(--pixel-secondary) 0 0) 0 24px / 96px 24px no-repeat,
        linear-gradient(var(--pixel-wood) 0 0) 96px 24px / 48px 24px no-repeat,
        linear-gradient(var(--pixel-stone-dark) 0 0) 48px 48px / 120px 24px no-repeat,
        linear-gradient(var(--pixel-stone) 0 0) 168px 48px / 72px 24px no-repeat;
    image-rendering: pixelated;
}

.pixel-landing .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
}

.pixel-landing .hero-doodles svg {
    display: none;
}

.pixel-landing .hero-doodles .floating-doodle {
    width: 18px;
    height: 18px;
    overflow: hidden;
    border: 3px solid var(--pixel-border);
    background: var(--pixel-warning);
    color: transparent;
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
    animation: pixelFloat 5s steps(6) infinite;
}

.pixel-landing .star-one {
    top: 17%;
    left: 50%;
    background: var(--pixel-sky);
}

.pixel-landing .star-two {
    top: 40%;
    right: 4%;
    background: var(--pixel-primary);
}

.pixel-landing .flower-one {
    bottom: 14%;
    left: 5%;
    background: var(--pixel-secondary);
}

.pixel-landing .spark-one {
    right: 32%;
    bottom: 9%;
    background: var(--pixel-stone);
}

.pixel-landing .hero-content::before {
    content: "PORTFOLIO >";
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.7rem;
    animation: pixelBlink 1.1s steps(2, end) infinite;
}

.pixel-landing .hero-description {
    max-width: 650px;
    margin-top: 1.25rem;
    padding-left: 1rem;
    border-left: 5px solid var(--pixel-primary);
}

.pixel-landing .hero-stats {
    gap: 0.75rem;
}

.pixel-landing .pixel-stat,
.pixel-landing .stat {
    min-height: 112px;
    padding: 1rem;
    border-color: var(--pixel-stone);
    background: var(--pixel-surface-2);
}

.pixel-landing .stat:nth-child(1),
.pixel-landing .stat:nth-child(2),
.pixel-landing .stat:nth-child(3) {
    transform: none;
}

.pixel-landing .stat-number {
    color: var(--pixel-warning);
    font-family: var(--pixel-font);
    font-size: 2.4rem;
    font-weight: 700;
}

.pixel-landing .stat-label {
    color: var(--pixel-muted);
    font-family: var(--pixel-font-small);
    font-size: 0.58rem;
    line-height: 1.5;
}

.pixel-landing .portrait-panel {
    overflow: visible;
    background: var(--pixel-surface-2);
    transform: none;
}

.pixel-landing .portrait-panel::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 12px;
    height: 12px;
    background: var(--pixel-primary);
    box-shadow: -18px 0 0 var(--pixel-warning), -36px 0 0 var(--pixel-accent);
}

.pixel-landing .portrait-panel::after {
    content: "DEV CARD";
    right: 14px;
    bottom: 64px;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.55rem;
    transform: none;
}

.pixel-landing .paper-tape {
    display: none;
}

.pixel-landing .portrait-panel img {
    border: 0;
    border-bottom: 3px solid var(--pixel-border);
    filter: saturate(0.92) contrast(1.08);
}

.pixel-landing .portrait-meta {
    background: var(--pixel-bg);
}

.pixel-landing .portrait-meta span,
.pixel-landing .portrait-meta strong {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
}

.pixel-landing .profile-card,
.pixel-landing .skills-card,
.pixel-landing .feature-card:nth-child(1),
.pixel-landing .feature-card:nth-child(2),
.pixel-landing .feature-card:nth-child(3),
.pixel-landing .publication-card:nth-child(3n + 2),
.pixel-landing .publication-card:nth-child(3n + 3),
.pixel-landing .testimonial-card:nth-child(1),
.pixel-landing .testimonial-card:nth-child(2),
.pixel-landing .testimonial-card:nth-child(3),
.pixel-landing .cta-panel {
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.045), transparent 42px),
        var(--pixel-surface);
    transform: none;
}

.pixel-landing .profile-image,
.pixel-landing .timeline-logo {
    background: var(--pixel-bg);
}

.pixel-landing .achievement-list div,
.pixel-landing .profile-institution,
.pixel-landing .timeline-institution,
.pixel-landing .project-meta,
.pixel-landing .publication-header,
.pixel-landing .footer-bottom {
    color: var(--pixel-muted);
}

.pixel-landing .profile-metrics div {
    border: 2px solid var(--pixel-line);
    background: var(--pixel-surface-alt);
}

.pixel-landing .profile-metrics strong {
    color: var(--pixel-warning);
    font-family: var(--pixel-font);
}

.pixel-landing .feature-icon {
    border: 3px solid var(--pixel-border);
    background: var(--pixel-wood-dark);
    color: var(--pixel-warning);
    box-shadow: 5px 5px 0 var(--pixel-secondary-dark);
}

.pixel-landing .publication-link,
.pixel-landing .card-action,
.pixel-landing .contact-item,
.pixel-landing .social-link {
    color: var(--pixel-primary);
    font-family: var(--pixel-font);
    font-weight: 700;
}

.pixel-landing .publication-link:hover,
.pixel-landing .card-action:hover,
.pixel-landing .contact-item:hover,
.pixel-landing .social-link:hover {
    color: var(--pixel-warning);
}

.pixel-landing .project-image,
.pixel-landing .book-cover {
    border-bottom: 3px solid var(--pixel-border);
    background:
        linear-gradient(90deg, rgba(255, 209, 102, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.08) 1px, transparent 1px),
        var(--pixel-bg);
    background-size: 14px 14px;
}

.pixel-landing .image-placeholder {
    color: var(--pixel-primary);
}

.pixel-landing .project-body {
    background: var(--pixel-surface);
}

.pixel-landing .timeline::before {
    left: 16px;
    width: 8px;
    background: repeating-linear-gradient(180deg, var(--pixel-primary) 0 12px, var(--pixel-secondary) 12px 20px, transparent 20px 28px);
    opacity: 1;
}

.pixel-landing .timeline-item::before {
    top: 1.45rem;
    left: 4px;
    width: 32px;
    height: 32px;
    border: 3px solid var(--pixel-border);
    border-radius: 0;
    background: var(--pixel-warning);
    box-shadow: 5px 5px 0 var(--pixel-secondary-dark);
}

.pixel-landing .timeline-item.current::before {
    background: var(--pixel-secondary);
}

.pixel-landing .testimonial-stars {
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
}

.pixel-landing .cta-panel {
    overflow: hidden;
    padding: clamp(1.35rem, 4vw, 2.3rem);
}

.pixel-landing .cta-flower {
    display: none;
}

.pixel-landing .cta-panel::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    width: 76px;
    height: 76px;
    background:
        linear-gradient(var(--pixel-warning) 0 0) 24px 0 / 28px 28px no-repeat,
        linear-gradient(var(--pixel-primary) 0 0) 0 24px / 28px 28px no-repeat,
        linear-gradient(var(--pixel-accent) 0 0) 48px 24px / 28px 28px no-repeat,
        linear-gradient(var(--pixel-secondary) 0 0) 24px 48px / 28px 28px no-repeat;
    opacity: 0.78;
}

.pixel-landing .footer {
    margin-top: 2rem;
    padding: 3rem 0 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 209, 102, 0.09), transparent 120px),
        linear-gradient(90deg, rgba(170, 180, 195, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.055) 1px, transparent 1px),
        #0B0E13;
    background-size: 20px 20px;
}

.pixel-landing .footer .logo-icon {
    background: var(--pixel-warning);
}

.pixel-landing .back-link {
    min-height: 40px;
    padding: 0.52rem 0.72rem;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
    color: var(--pixel-sky-light);
    font-family: var(--pixel-font);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .back-link:hover,
.pixel-landing .back-link:focus-visible {
    color: var(--pixel-warning);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .blog-search,
.pixel-landing .blog-featured,
.pixel-landing .blog-card,
.pixel-landing .blog-widget,
.pixel-landing .blog-tags,
.pixel-landing .blog-article-hero,
.pixel-landing .blog-article-cover,
.pixel-landing .blog-article-body,
.pixel-landing .blog-series-nav,
.pixel-landing .detail-hero,
.pixel-landing .detail-main,
.pixel-landing .detail-sidebar,
.pixel-landing .profile-links-card {
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.045), transparent 42px),
        var(--pixel-surface);
}

.pixel-landing .blog-search {
    padding: 0.9rem;
    border: 3px solid var(--pixel-stone);
    box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
}

.pixel-landing .blog-search i {
    color: var(--pixel-warning);
}

.pixel-landing .blog-search input,
.pixel-landing .profile-access-input {
    min-height: 48px;
    border: 3px solid var(--pixel-border);
    background: var(--pixel-bg);
    color: var(--pixel-text);
    box-shadow: inset 4px 4px 0 rgba(17, 20, 17, 0.55);
}

.pixel-landing .blog-search input::placeholder,
.pixel-landing .profile-access-input::placeholder {
    color: var(--pixel-muted);
}

.pixel-landing .blog-card,
.pixel-landing .blog-featured,
.pixel-landing .blog-article-cover {
    overflow: hidden;
}

.pixel-landing .blog-card-link,
.pixel-landing .pixel-link-card,
.pixel-landing .profile-link-button {
    color: var(--pixel-text);
}

.pixel-landing .blog-card-body,
.pixel-landing .blog-featured-copy {
    background: var(--pixel-surface);
}

.pixel-landing .blog-card-body h3,
.pixel-landing .blog-featured h2,
.pixel-landing .blog-widget h2,
.pixel-landing .blog-series-nav h2,
.pixel-landing .detail-body h2,
.pixel-landing .detail-sidebar h2,
.pixel-landing .profile-links-header h1,
.pixel-landing .profile-link-copy strong {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 2px 2px 0 var(--pixel-shadow);
}

.pixel-landing .blog-card-body p,
.pixel-landing .blog-featured p,
.pixel-landing .blog-article-hero p,
.pixel-landing .blog-widget p,
.pixel-landing .detail-lead,
.pixel-landing .detail-body p,
.pixel-landing .rich-text,
.pixel-landing .profile-links-role,
.pixel-landing .profile-links-bio,
.pixel-landing .profile-link-copy small {
    color: var(--pixel-muted);
}

.pixel-landing .blog-card-image,
.pixel-landing .blog-featured-image,
.pixel-landing .blog-article-cover,
.pixel-landing .detail-cover,
.pixel-landing .profile-links-header img,
.pixel-landing .profile-link-media {
    border-color: var(--pixel-border);
    background:
        linear-gradient(90deg, rgba(255, 209, 102, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.08) 1px, transparent 1px),
        var(--pixel-bg);
    background-size: 14px 14px;
    box-shadow: 5px 5px 0 var(--pixel-secondary-dark);
}

.pixel-landing .blog-card-meta,
.pixel-landing .blog-card-footer {
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
}

.pixel-landing .blog-card-meta > span:not(.pixel-badge),
.pixel-landing .blog-card-footer > span {
    font-size: 0.86rem;
}

.pixel-landing .blog-widget a,
.pixel-landing .blog-tags a,
.pixel-landing .blog-article-tags a {
    border-color: var(--pixel-line);
    color: var(--pixel-sky-light);
    font-family: var(--pixel-font);
}

.pixel-landing .blog-widget a:hover,
.pixel-landing .blog-tags a:hover,
.pixel-landing .blog-article-tags a:hover {
    color: var(--pixel-warning);
}

.pixel-landing .blog-pagination .pagination {
    gap: 0.45rem;
    flex-wrap: wrap;
}

.pixel-landing .blog-pagination .page-link {
    border: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
    color: var(--pixel-sky-light);
    font-family: var(--pixel-font);
    box-shadow: 3px 3px 0 var(--pixel-secondary-dark);
}

.pixel-landing .blog-pagination .page-item.active .page-link,
.pixel-landing .blog-pagination .page-link:hover {
    background: var(--pixel-accent);
    color: var(--pixel-bg);
}

.pixel-landing .blog-pagination .page-item.disabled .page-link {
    background: var(--pixel-surface);
    color: var(--pixel-muted);
    opacity: 0.65;
}

.pixel-landing .reading-progress {
    height: 7px;
    border-bottom: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
}

.pixel-landing .reading-progress span {
    background: repeating-linear-gradient(90deg, var(--pixel-primary) 0 14px, var(--pixel-secondary) 14px 28px, var(--pixel-warning) 28px 42px, var(--pixel-accent) 42px 56px);
}

.pixel-landing .blog-article-body {
    color: var(--pixel-muted);
}

.pixel-landing .blog-article-body h2,
.pixel-landing .blog-article-body h3,
.pixel-landing .blog-article-body h4,
.pixel-landing .rich-text h2,
.pixel-landing .rich-text h3,
.pixel-landing .rich-text h4 {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    letter-spacing: 0;
}

.pixel-landing .blog-article-body a,
.pixel-landing .rich-text a {
    color: var(--pixel-sky-light);
    font-weight: 800;
}

.pixel-landing .blog-article-body code {
    border: 1px solid var(--pixel-line);
    background: var(--pixel-bg);
    color: var(--pixel-accent);
}

.pixel-landing .blog-article-body pre {
    border: 3px solid var(--pixel-border);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(110, 168, 254, 0.14), transparent 2.4rem),
        var(--pixel-bg);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .blog-article-body pre::before {
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    background: var(--pixel-surface);
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
}

.pixel-landing .blog-article-body th,
.pixel-landing .blog-article-body td {
    border-color: var(--pixel-line);
}

.pixel-landing .blog-article-body blockquote {
    border-left-color: var(--pixel-primary);
    background: rgba(124, 255, 178, 0.1);
}

.pixel-landing .detail-badge,
.pixel-landing .detail-meta-list div {
    border: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .detail-badge span,
.pixel-landing .detail-meta-list span {
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    letter-spacing: 0;
}

.pixel-landing .detail-badge strong,
.pixel-landing .detail-meta-list strong {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
}

.pixel-landing .detail-nav {
    align-items: stretch;
}

.pixel-landing .detail-nav .back-link {
    margin-bottom: 0;
}

.pixel-landing .profile-links-page {
    width: min(100% - 32px, 1160px);
    margin: 0 auto;
}

.pixel-landing .profile-links-card {
    border: 3px solid var(--pixel-border);
    box-shadow: 10px 10px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-links-header img {
    border-width: 3px;
    border-radius: 0;
    transform: none;
}

.pixel-landing .profile-link-button {
    border: 3px solid var(--pixel-border);
    background: var(--pixel-surface-2);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-link-button:hover,
.pixel-landing .profile-link-button:focus-visible {
    background: var(--pixel-bg);
    transform: translate(-2px, -2px);
    box-shadow: 9px 9px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-link-button.is-featured {
    background: var(--pixel-accent);
    color: var(--pixel-bg);
}

.pixel-landing .profile-link-button.is-featured .profile-link-copy strong,
.pixel-landing .profile-link-button.is-featured .profile-link-copy small,
.pixel-landing .profile-link-button.is-featured .profile-link-arrow {
    color: var(--pixel-bg);
}

.pixel-landing .profile-link-media {
    color: var(--pixel-sky-light);
}

.pixel-landing .error-text {
    color: var(--pixel-danger);
    font-weight: 800;
}

.theme-pixel-noir.error-page {
    background: var(--pixel-bg);
    color: var(--pixel-text);
}

.pixel-landing.error-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.pixel-landing .error-orb {
    display: none;
}

.pixel-landing .error-panel {
    width: min(720px, 100%);
    border: 3px solid var(--pixel-stone);
    background:
        linear-gradient(180deg, rgba(255, 209, 102, 0.08), transparent 38%),
        linear-gradient(90deg, rgba(170, 180, 195, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.06) 1px, transparent 1px),
        var(--pixel-surface);
    background-size: auto, 18px 18px, 18px 18px, auto;
    box-shadow: 12px 12px 0 var(--pixel-secondary-dark);
    color: var(--pixel-text);
}

.pixel-landing .error-kicker,
.pixel-landing .error-title,
.pixel-landing .error-button,
.pixel-landing .error-hint {
    font-family: var(--pixel-font);
}

.pixel-landing .error-code {
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    text-shadow: 4px 4px 0 var(--pixel-shadow);
}

.pixel-landing .error-title {
    color: var(--pixel-text);
}

.pixel-landing .error-description,
.pixel-landing .error-hint {
    color: var(--pixel-muted);
}

.pixel-landing .error-dot {
    background: var(--pixel-primary);
}

.pixel-landing .error-button {
    border: 3px solid var(--pixel-border-light);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .error-button-primary {
    background: var(--pixel-primary);
    color: var(--pixel-bg);
}

.pixel-landing .error-button-ghost {
    background: var(--pixel-surface-alt);
    color: var(--pixel-text);
}

.pixel-landing :focus-visible {
    outline: 3px solid var(--pixel-accent);
    outline-offset: 4px;
}

.pixel-landing-shell .opening-sequence {
    background:
        linear-gradient(90deg, rgba(110, 168, 254, 0.11) 1px, transparent 1px),
        linear-gradient(180deg, rgba(124, 255, 178, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.14), transparent 42%),
        var(--pixel-bg, #0E1116);
    background-size: 24px 24px;
    color: var(--pixel-text, #F4F7FB);
}

#three-container,
.pixel-landing-shell #three-container {
    display: none;
}

.pixel-landing-shell .opening-content {
    border: 3px solid var(--pixel-stone, #2D3645);
    background: var(--pixel-surface, #171C24);
    box-shadow: 10px 10px 0 var(--pixel-secondary-dark, #05070A);
    transform: none;
    border-radius: 0;
}

.pixel-landing-shell .loading-cloud {
    display: none;
}

.pixel-landing-shell .loading-mark,
.pixel-landing-shell .academy-name {
    border: 3px solid var(--pixel-border-light, #4A5668);
    background: var(--pixel-warning, #FFD166);
    color: var(--pixel-bg, #0E1116);
    font-family: var(--xp-font);
    box-shadow: 5px 5px 0 var(--pixel-secondary-dark, #05070A);
    border-radius: 0;
}

.pixel-landing-shell .academy-name {
    background: var(--pixel-bg, #0E1116);
    color: var(--pixel-sky-light, #BBD5FF);
    font-size: 0.62rem;
    border-style: solid;
    border-radius: 0;
}

.pixel-landing-shell .title-line,
.pixel-landing-shell .professor-roles,
.pixel-landing-shell .loading-text,
.pixel-landing-shell .skip-prompt {
    color: var(--pixel-muted, #AAB4C3);
    font-family: var(--xp-font);
}

.pixel-landing-shell .title-name {
    color: var(--pixel-text, #F4F7FB);
    font-family: var(--xp-font);
    text-shadow: 4px 4px 0 var(--pixel-shadow, #05070A);
}

.pixel-landing-shell .loading-bar {
    height: 16px;
    border: 3px solid var(--pixel-border-light, #4A5668);
    background: var(--pixel-bg, #0E1116);
    border-radius: 0;
}

.pixel-landing-shell .loading-progress {
    border-radius: 0;
    background: repeating-linear-gradient(90deg, var(--pixel-primary, #7CFFB2) 0 14px, var(--pixel-secondary, #6EA8FE) 14px 28px, var(--pixel-warning, #FFD166) 28px 42px, var(--pixel-accent, #FFD166) 42px 56px);
}

.pixel-landing .pixel-reveal {
    opacity: 0;
    transform: translateY(18px);
}

.pixel-landing .pixel-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 420ms ease, transform 420ms ease;
}

@keyframes pixelFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

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

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

@media (max-width: 1040px) {
    .pixel-landing .hero-grid,
    .pixel-landing .profile-grid,
    .pixel-landing .footer-content {
        grid-template-columns: 1fr;
    }

    .pixel-landing .hero-section {
        min-height: auto;
    }

    .pixel-landing .hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .pixel-landing .nav-menu {
        border: 3px solid var(--pixel-border);
        background: var(--pixel-bg);
        box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
    }
}

@media (max-width: 760px) {
    .pixel-landing .container,
    .pixel-landing .pixel-container,
    .pixel-landing .section,
    .pixel-landing .hero-section {
        width: min(100% - 24px, 1160px);
    }

    .pixel-landing .section,
    .pixel-landing .pixel-section {
        padding: 2.8rem 0;
    }

    .pixel-landing .section::before {
        top: 0.9rem;
        width: 54px;
    }

    .pixel-landing .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.35rem);
        line-height: 0.95;
    }

    .pixel-landing .section-title {
        font-size: clamp(1.75rem, 9vw, 2.4rem);
    }

    .pixel-landing .hero-headline,
    .pixel-landing .section-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .pixel-landing .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pixel-landing .btn {
        width: 100%;
        min-height: 48px;
        padding-inline: 0.75rem;
        font-size: 0.58rem;
    }

    .pixel-landing .hero-stats,
    .pixel-landing .features-grid,
    .pixel-landing .research-grid,
    .pixel-landing .activities-grid,
    .pixel-landing .testimonials-grid,
    .pixel-landing .books-grid {
        grid-template-columns: 1fr;
    }

    .pixel-landing .profile-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pixel-landing .portrait-panel {
        width: min(320px, 100%);
    }

    .pixel-landing .book-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .pixel-landing .book-cover {
        min-height: 100%;
        border-right: 3px solid var(--pixel-border);
        border-bottom: 0;
    }

    .pixel-landing .hero-doodles .floating-doodle,
    .pixel-landing .cta-panel::after {
        display: none;
    }
}

@media (max-width: 520px) {
    .pixel-landing {
        background-size: 18px 18px, 18px 18px, auto, auto, auto;
    }

    .pixel-landing .container,
    .pixel-landing .pixel-container,
    .pixel-landing .section,
    .pixel-landing .hero-section {
        width: min(100% - 18px, 1160px);
    }

    .pixel-landing .header {
        padding: 0.5rem 0;
    }

    .pixel-landing .logo-text {
        max-width: 150px;
    }

    .pixel-landing .logo-main {
        font-size: 0.95rem;
    }

    .pixel-landing .logo-sub {
        font-size: 0.72rem;
    }

    .pixel-landing .pixel-badge,
    .pixel-landing .eyebrow,
    .pixel-landing .tag,
    .pixel-landing .project-status,
    .pixel-landing .publication-year,
    .pixel-landing .timeline-year,
    .pixel-landing .feature-card span {
        min-height: 28px;
        padding: 0.3rem 0.48rem;
        font-size: 0.5rem;
    }

    .pixel-landing .profile-card,
    .pixel-landing .skills-card,
    .pixel-landing .publication-card,
    .pixel-landing .empty-state,
    .pixel-landing .feature-card,
    .pixel-landing .testimonial-card,
    .pixel-landing .card-timeline,
    .pixel-landing .cta-panel {
        padding: 0.95rem;
    }

    .pixel-landing .timeline-item {
        padding-left: 2.25rem;
    }

    .pixel-landing .timeline::before {
        left: 10px;
    }

    .pixel-landing .timeline-item::before {
        left: 0;
        width: 26px;
        height: 26px;
    }

    .pixel-landing .project-meta {
        display: grid;
        gap: 0.35rem;
    }

    .pixel-landing .footer-bottom {
        display: grid;
    }
}

/* Layout refresh: calmer rhythm, clearer scan paths, and more stable cards. */
.pixel-landing .header {
    position: sticky;
    top: 0;
    z-index: 120;
}

.pixel-landing .nav-container {
    min-height: 72px;
    gap: 1rem;
}

.pixel-landing .nav-menu {
    max-width: min(760px, 100%);
    gap: 0.35rem;
}

.pixel-landing .nav-link {
    padding-inline: 0.72rem;
    white-space: nowrap;
}

.pixel-landing .theme-toggle {
    display: none;
}

.pixel-landing .section,
.pixel-landing .pixel-section {
    width: min(1180px, calc(100% - 48px));
    padding: clamp(4rem, 7vw, 6.25rem) 0;
}

.pixel-landing .section + .section {
    border-top: 1px solid rgba(170, 180, 195, 0.12);
}

.pixel-landing .section-header {
    display: grid;
    gap: 0.6rem;
    max-width: 780px;
    margin-bottom: clamp(1.6rem, 3vw, 2.35rem);
}

.pixel-landing .section-header .eyebrow {
    margin-bottom: 0.1rem;
}

.pixel-landing .section-subtitle {
    max-width: 720px;
    margin-top: 0;
    font-size: 1rem;
}

.pixel-landing .hero-section {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding-top: clamp(3.2rem, 6vw, 5rem);
    padding-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.pixel-landing .hero-section::before {
    inset: 3.6rem -18px 1.2rem;
}

.pixel-landing .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
}

.pixel-landing .hero-title {
    max-width: 820px;
    margin-top: 0.7rem;
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: 0.92;
}

.pixel-landing .hero-headline {
    max-width: 760px;
    margin-top: 1rem;
    color: var(--pixel-sky-light);
}

.pixel-landing .hero-description {
    max-width: 700px;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-left: 6px solid var(--pixel-primary);
    background: rgba(14, 17, 22, 0.48);
}

.pixel-landing .hero-description p:last-child {
    margin-bottom: 0;
}

.pixel-landing .hero-actions {
    gap: 0.8rem;
    margin-top: 1.45rem;
}

.pixel-landing .hero-badges {
    margin-top: 1.05rem;
}

.pixel-landing .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 700px;
    margin-top: 1.35rem;
}

.pixel-landing .stat {
    min-height: 104px;
    display: grid;
    align-content: center;
}

.pixel-landing .landing-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.pixel-landing .landing-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.48rem 0.65rem;
    border: 2px solid var(--pixel-stone);
    background: rgba(23, 28, 36, 0.88);
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .landing-shortcuts a:hover,
.pixel-landing .landing-shortcuts a:focus-visible {
    color: var(--pixel-text);
    background: var(--pixel-surface-2);
    transform: translate(-2px, -2px);
}

.pixel-landing .landing-shortcuts i {
    color: var(--pixel-warning);
}

.pixel-landing .hero-visual {
    justify-content: flex-end;
}

.pixel-landing .portrait-panel {
    width: min(390px, 100%);
}

.pixel-landing .portrait-panel img {
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
}

.pixel-landing .profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1rem;
    align-items: stretch;
}

.pixel-landing .profile-card,
.pixel-landing .skills-card {
    padding: clamp(1.15rem, 2.5vw, 1.65rem);
}

.pixel-landing .profile-card {
    display: grid;
    gap: 1rem;
}

.pixel-landing .profile-header {
    align-items: center;
}

.pixel-landing .profile-image {
    width: 82px;
    height: 82px;
}

.pixel-landing .achievement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.pixel-landing .achievement-list div {
    min-height: 48px;
    align-items: center;
    padding: 0.7rem;
    border: 2px solid var(--pixel-line);
    background: rgba(14, 17, 22, 0.46);
}

.pixel-landing .skills-card {
    display: flex;
    flex-direction: column;
}

.pixel-landing .expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pixel-landing .profile-metrics {
    margin-top: auto;
    padding-top: 1rem;
}

.pixel-landing .features-grid,
.pixel-landing .research-grid,
.pixel-landing .activities-grid,
.pixel-landing .testimonials-grid,
.pixel-landing .books-grid {
    gap: 1rem;
}

.pixel-landing .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pixel-landing .research-grid,
.pixel-landing .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.pixel-landing .books-grid,
.pixel-landing .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}

.pixel-landing .feature-card,
.pixel-landing .publication-card,
.pixel-landing .project-card,
.pixel-landing .testimonial-card,
.pixel-landing .empty-state {
    min-height: 100%;
}

.pixel-landing .feature-card {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1.2rem;
}

.pixel-landing .feature-card p {
    margin-bottom: 0;
}

.pixel-landing .feature-card > span {
    margin-top: auto;
}

.pixel-landing .publication-card {
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
}

.pixel-landing .publication-header {
    min-height: 34px;
    align-items: flex-start;
}

.pixel-landing .publication-title {
    margin-top: 0.55rem;
}

.pixel-landing .publication-abstract {
    margin-bottom: 1rem;
}

.pixel-landing .publication-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.pixel-landing .publication-link {
    margin-top: 1rem;
}

.pixel-landing .project-card {
    overflow: hidden;
}

.pixel-landing .project-link {
    height: 100%;
}

.pixel-landing .project-image {
    aspect-ratio: 16 / 10;
}

.pixel-landing .project-body {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
}

.pixel-landing .project-description {
    margin-bottom: 0;
}

.pixel-landing .project-meta {
    margin-top: auto;
    display: grid;
    gap: 0.35rem;
}

.pixel-landing .card-action {
    margin-top: 0.2rem;
}

.pixel-landing .book-card {
    grid-template-columns: 136px minmax(0, 1fr);
    min-height: 220px;
}

.pixel-landing .book-content {
    padding: 1.1rem;
}

.pixel-landing .timeline {
    gap: 1rem;
}

.pixel-landing .card-timeline {
    padding: 1.15rem;
}

.pixel-landing .timeline-heading {
    align-items: flex-start;
}

.pixel-landing .timeline-logo {
    width: 58px;
    height: 58px;
}

.pixel-landing .testimonial-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.15rem;
}

.pixel-landing .testimonial-card p {
    margin-bottom: 0;
}

.pixel-landing .cta-section {
    padding-top: clamp(3rem, 5vw, 4.5rem);
}

.pixel-landing .cta-panel {
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    text-align: left;
}

.pixel-landing .cta-panel .section-title {
    max-width: 760px;
}

.pixel-landing .footer {
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
}

.pixel-landing .footer-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: start;
}

.pixel-landing .contact-info,
.pixel-landing .social-links {
    display: grid;
    gap: 0.55rem;
}

/* Fresh public chrome: compact command-bar navigation and structured footer. */
.pixel-landing .site-header {
    border-bottom-color: rgba(170, 180, 195, 0.22);
    background:
        linear-gradient(180deg, rgba(110, 168, 254, 0.07), transparent),
        rgba(14, 17, 22, 0.96);
}

.pixel-landing .site-header .container {
    width: min(1240px, calc(100% - 36px));
}

.pixel-landing .nav-container {
    display: grid;
    grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
    align-items: center;
}

.pixel-landing .nav-brand {
    min-width: 0;
}

.pixel-landing .logo {
    gap: 0.72rem;
}

.pixel-landing .logo-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
}

.pixel-landing .logo-text {
    min-width: 0;
}

.pixel-landing .logo-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.12rem;
    padding: 0.08rem 0.28rem;
    border: 1px solid rgba(170, 180, 195, 0.24);
    background: rgba(14, 17, 22, 0.52);
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.44rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.pixel-landing .logo-main,
.pixel-landing .logo-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixel-landing .nav-menu {
    justify-self: center;
    padding: 0.28rem;
    border: 2px solid rgba(45, 54, 69, 0.9);
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.035), transparent),
        rgba(14, 17, 22, 0.58);
    box-shadow: inset 0 -3px 0 rgba(5, 7, 10, 0.72);
}

.pixel-landing .nav-link {
    min-height: 38px;
    padding: 0.5rem 0.58rem;
    border-color: transparent;
    box-shadow: none;
}

.pixel-landing .nav-link:hover,
.pixel-landing .nav-link.active {
    background: rgba(32, 38, 49, 0.95);
    box-shadow: 3px 3px 0 var(--pixel-secondary-dark);
}

.pixel-landing .nav-actions {
    gap: 0.45rem;
}

.pixel-landing .nav-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 0.68rem;
    border: 2px solid var(--pixel-stone);
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.pixel-landing .nav-action-link:hover,
.pixel-landing .nav-action-link:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .nav-action-ghost {
    background: rgba(23, 28, 36, 0.86);
    color: var(--pixel-sky-light);
}

.pixel-landing .nav-action-primary {
    border-color: var(--pixel-border-light);
    background: var(--pixel-primary);
    color: var(--pixel-bg);
}

.pixel-landing .mobile-toggle {
    width: 42px;
    height: 42px;
}

.pixel-landing .footer {
    margin-top: 3rem;
    padding-top: 0;
}

.pixel-landing .footer > .container {
    width: min(1180px, calc(100% - 40px));
}

.pixel-landing .footer-scribble {
    margin-bottom: 1rem;
}

.pixel-landing .footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: clamp(1.1rem, 3vw, 1.7rem);
    background:
        linear-gradient(90deg, rgba(124, 255, 178, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(255, 209, 102, 0.08), transparent),
        var(--pixel-surface);
}

.pixel-landing .footer-cta-title {
    margin: 0.65rem 0 0;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    line-height: 1;
    text-shadow: 3px 3px 0 var(--pixel-shadow);
}

.pixel-landing .footer-cta-copy {
    max-width: 680px;
    margin: 0.65rem 0 0;
    color: var(--pixel-muted);
}

.pixel-landing .footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.pixel-landing .footer-content {
    grid-template-columns: minmax(0, 1.25fr) minmax(160px, 0.6fr) minmax(230px, 0.8fr) minmax(210px, 0.7fr);
    gap: 1rem;
}

.pixel-landing .footer-block {
    min-height: 100%;
    padding: 1rem;
    border: 2px solid rgba(45, 54, 69, 0.9);
    background: rgba(23, 28, 36, 0.72);
    box-shadow: 5px 5px 0 rgba(5, 7, 10, 0.68);
}

.pixel-landing .footer-info {
    display: grid;
    gap: 0.9rem;
}

.pixel-landing .footer-logo {
    align-items: center;
}

.pixel-landing .footer-contact h4,
.pixel-landing .footer-links h4,
.pixel-landing .footer-connect h4 {
    margin-bottom: 0.8rem;
    color: var(--pixel-warning);
    font-family: var(--pixel-font);
    font-size: 1.15rem;
    text-shadow: 2px 2px 0 var(--pixel-shadow);
}

.pixel-landing .footer-nav-list,
.pixel-landing .contact-info,
.pixel-landing .social-links {
    display: grid;
    gap: 0.5rem;
}

.pixel-landing .footer-nav-list a,
.pixel-landing .contact-item,
.pixel-landing .social-link {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(170, 180, 195, 0.16);
    background: rgba(14, 17, 22, 0.42);
    color: var(--pixel-muted);
    text-decoration: none;
}

.pixel-landing .footer-nav-list a:hover,
.pixel-landing .contact-item:hover,
.pixel-landing .social-link:hover {
    color: var(--pixel-text);
    background: rgba(32, 38, 49, 0.78);
    transform: translateX(3px);
}

.pixel-landing .contact-item i,
.pixel-landing .social-link i {
    width: 1.1rem;
    color: var(--pixel-warning);
}

.pixel-landing .footer-bottom {
    margin-top: 1rem;
    padding: 0.8rem 0 0;
    border-top: 2px solid rgba(170, 180, 195, 0.18);
}

@media (max-width: 1220px) {
    .pixel-landing .nav-action-link span {
        display: none;
    }

    .pixel-landing .nav-action-link {
        width: 42px;
        padding-inline: 0;
    }
}

@media (max-width: 1100px) {
    .pixel-landing .nav-container {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pixel-landing .nav-menu {
        justify-self: stretch;
    }

    .pixel-landing .nav-actions {
        grid-column: 2;
    }

    .pixel-landing .nav-action-primary span {
        display: none;
    }
}

@media (max-width: 900px) {
    .pixel-landing .footer-cta,
    .pixel-landing .footer-content {
        grid-template-columns: 1fr;
    }

    .pixel-landing .footer-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .pixel-landing .site-header .container,
    .pixel-landing .footer > .container {
        width: min(100% - 20px, 1180px);
    }

    .pixel-landing .logo-kicker,
    .pixel-landing .nav-action-ghost {
        display: none;
    }

    .pixel-landing .logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .pixel-landing .footer-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1180px) {
    .pixel-landing .research-grid,
    .pixel-landing .activities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .pixel-landing .nav-menu {
        position: absolute;
        top: calc(100% + 3px);
        right: 20px;
        left: 20px;
        display: none;
        max-width: none;
        padding: 0.8rem;
    }

    .pixel-landing .nav-menu.is-open {
        display: grid;
    }

    .pixel-landing .mobile-toggle {
        display: inline-grid;
    }

    .pixel-landing .nav-link {
        justify-content: flex-start;
        width: 100%;
    }

    .pixel-landing .hero-grid,
    .pixel-landing .profile-grid,
    .pixel-landing .footer-content {
        grid-template-columns: 1fr;
    }

    .pixel-landing .hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .pixel-landing .section,
    .pixel-landing .pixel-section,
    .pixel-landing .hero-section {
        width: min(100% - 28px, 1180px);
        padding: 3rem 0;
    }

    .pixel-landing .hero-section {
        min-height: auto;
        padding-top: 2.2rem;
    }

    .pixel-landing .hero-section::before {
        inset: 2rem -12px 0.5rem;
    }

    .pixel-landing .hero-title {
        font-size: clamp(2.35rem, 12vw, 3.8rem);
    }

    .pixel-landing .hero-stats,
    .pixel-landing .features-grid,
    .pixel-landing .research-grid,
    .pixel-landing .activities-grid,
    .pixel-landing .books-grid,
    .pixel-landing .testimonials-grid,
    .pixel-landing .achievement-list {
        grid-template-columns: 1fr;
    }

    .pixel-landing .project-body {
        min-height: auto;
    }

    .pixel-landing .book-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 180px;
    }

    .pixel-landing .footer-content {
        gap: 1rem;
    }
}

@media (max-width: 560px) {
    .pixel-landing .section,
    .pixel-landing .pixel-section,
    .pixel-landing .hero-section {
        width: min(100% - 20px, 1180px);
        padding: 2.4rem 0;
    }

    .pixel-landing .nav-container {
        min-height: 62px;
    }

    .pixel-landing .hero-actions,
    .pixel-landing .landing-shortcuts {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pixel-landing .hero-description {
        padding: 0.75rem;
    }

    .pixel-landing .stat {
        min-height: 88px;
    }

    .pixel-landing .profile-header {
        align-items: flex-start;
    }

    .pixel-landing .book-card {
        grid-template-columns: 1fr;
    }

    .pixel-landing .book-cover {
        min-height: 180px;
        border-right: 0;
        border-bottom: 3px solid var(--pixel-border);
    }

    .pixel-landing .detail-nav {
        display: grid;
    }
}

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

    .pixel-landing .pixel-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Landing navbar layout guardrails. Keeps the pixel style while preventing menu overlap. */
.pixel-landing .landing-navbar {
    display: grid;
    grid-template-columns: minmax(190px, 0.74fr) minmax(0, 1.8fr) auto;
    gap: clamp(0.45rem, 1vw, 0.85rem);
    align-items: center;
    min-height: 68px;
    width: 100%;
}

.pixel-landing .nav-brand-area,
.pixel-landing .nav-menu-area,
.pixel-landing .nav-actions {
    min-width: 0;
}

.pixel-landing .nav-brand-area {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.pixel-landing .nav-brand {
    max-width: 100%;
    overflow: hidden;
}

.pixel-landing .nav-brand .logo {
    max-width: 100%;
    overflow: hidden;
}

.pixel-landing .nav-menu-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.pixel-landing .desktop-primary-menu {
    position: static;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    gap: clamp(0.18rem, 0.35vw, 0.32rem);
    margin: 0;
    padding: 0.24rem;
    list-style: none;
    white-space: nowrap;
}

.pixel-landing .desktop-primary-menu li {
    min-width: 0;
    flex: 0 1 auto;
}

.pixel-landing .nav-link,
.pixel-landing .nav-action-link,
.pixel-landing .nav-more-toggle,
.pixel-landing .nav-more-item {
    align-items: center;
    line-height: 1;
}

.pixel-landing .desktop-primary-menu .nav-link {
    max-width: 100%;
    min-height: 38px;
    gap: 0.34rem;
    padding: 0.48rem clamp(0.38rem, 0.7vw, 0.58rem);
    overflow: hidden;
}

.pixel-landing .desktop-primary-menu .nav-link i,
.pixel-landing .nav-action-link i,
.pixel-landing .nav-more-toggle i,
.pixel-landing .nav-more-item i {
    flex: 0 0 1rem;
    width: 1rem;
    text-align: center;
}

.pixel-landing .desktop-primary-menu .nav-link span,
.pixel-landing .nav-action-link span,
.pixel-landing .nav-more-toggle span,
.pixel-landing .nav-more-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixel-landing .nav-more {
    flex: 0 0 auto;
}

.pixel-landing .nav-more-toggle {
    border: 2px solid transparent;
    background: transparent;
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    white-space: nowrap;
}

.pixel-landing .nav-more-toggle::after {
    margin-left: 0.35rem;
}

.pixel-landing .pixel-dropdown {
    min-width: 190px;
    padding: 0.45rem;
    border: 2px solid var(--pixel-stone);
    border-radius: 0;
    background: rgba(14, 17, 22, 0.98);
    box-shadow: 5px 5px 0 var(--pixel-secondary-dark);
    z-index: 1040;
}

.pixel-landing .nav-more-item {
    display: flex;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.55rem 0.65rem;
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
}

.pixel-landing .nav-more-item:hover,
.pixel-landing .nav-more-item:focus,
.pixel-landing .nav-more-item.active {
    background: rgba(32, 38, 49, 0.95);
    color: var(--pixel-text);
}

.pixel-landing .nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.pixel-landing .nav-action-link {
    min-width: 0;
    min-height: 40px;
    max-width: 138px;
}

.pixel-landing .nav-action-link.active {
    background: rgba(32, 38, 49, 0.95);
    color: var(--pixel-text);
}

.pixel-landing .mobile-toggle {
    display: none;
    flex: 0 0 42px;
}

.pixel-landing .landing-mobile-toggle {
    position: fixed;
    top: 20px;
    right: auto;
    left: min(calc(100vw - 56px), 319px);
    z-index: 1200;
    border-color: var(--pixel-border-light);
    background: var(--pixel-primary);
    color: var(--pixel-bg);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .landing-mobile-toggle::before {
    content: "";
    width: 18px;
    height: 3px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.pixel-landing .landing-mobile-toggle i {
    display: none;
}

.pixel-landing .landing-nav-offcanvas {
    width: min(360px, 92vw);
    border-left: 3px solid var(--pixel-border-light);
    background:
        linear-gradient(180deg, rgba(124, 255, 178, 0.08), transparent 42%),
        var(--pixel-bg);
    color: var(--pixel-text);
    z-index: 1060;
}

.pixel-landing .landing-nav-offcanvas .offcanvas-header {
    align-items: center;
    border-bottom: 2px solid rgba(170, 180, 195, 0.2);
}

.pixel-landing .landing-nav-offcanvas .offcanvas-title {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.pixel-landing .landing-nav-offcanvas .offcanvas-title strong {
    overflow: hidden;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixel-landing .nav-offcanvas-close {
    flex: 0 0 auto;
    filter: invert(1);
    opacity: 0.85;
}

.pixel-landing .mobile-nav-menu {
    position: static;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    list-style: none;
}

.pixel-landing .mobile-nav-menu .nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 0.78rem 0.85rem;
    border: 2px solid rgba(45, 54, 69, 0.9);
    background: rgba(23, 28, 36, 0.84);
    color: var(--pixel-muted);
}

.pixel-landing .mobile-nav-menu .nav-link:hover,
.pixel-landing .mobile-nav-menu .nav-link.active {
    background: rgba(32, 38, 49, 0.95);
    color: var(--pixel-text);
}

@media (max-width: 1360px) {
    .pixel-landing .landing-navbar {
        grid-template-columns: minmax(176px, 0.62fr) minmax(0, 1.5fr) auto;
    }

    .pixel-landing .desktop-primary-menu .nav-link {
        font-size: 0.82rem;
        padding-inline: 0.38rem;
    }

    .pixel-landing .nav-action-link {
        max-width: 118px;
        padding-inline: 0.52rem;
    }
}

@media (max-width: 1220px) {
    .pixel-landing .landing-navbar {
        grid-template-columns: minmax(168px, 0.54fr) minmax(0, 1.35fr) auto;
    }

    .pixel-landing .desktop-primary-menu .nav-link {
        gap: 0.28rem;
        font-size: 0.76rem;
    }

    .pixel-landing .desktop-primary-menu .nav-link i {
        display: none;
    }

    .pixel-landing .nav-action-link span {
        display: inline;
    }
}

@media (max-width: 1100px) {
    .pixel-landing .landing-navbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pixel-landing .nav-menu-area {
        display: none;
    }

    .pixel-landing .nav-actions {
        grid-column: 2;
    }

    .pixel-landing .nav-action-ghost,
    .pixel-landing .nav-action-primary {
        display: inline-flex;
    }

    .pixel-landing .landing-mobile-toggle {
        display: inline-grid;
    }
}

@media (max-width: 768px) {
    .pixel-landing .landing-navbar {
        min-height: 62px;
    }

    .pixel-landing .nav-action-link {
        width: 42px;
        max-width: 42px;
        padding-inline: 0;
    }

    .pixel-landing .nav-action-link span {
        display: none;
    }
}

@media (max-width: 576px) {
    .pixel-landing .landing-navbar {
        display: flex;
        justify-content: space-between;
    }

    .pixel-landing .nav-brand-area {
        flex: 1 1 auto;
        max-width: calc(100% - 54px);
    }

    .pixel-landing .nav-actions {
        flex: 0 0 42px;
    }

    .pixel-landing .nav-action-ghost,
    .pixel-landing .nav-action-primary {
        display: none;
    }

    .pixel-landing .landing-mobile-toggle {
        display: inline-grid;
    }
}

@media (max-width: 420px) {
    .pixel-landing .landing-navbar {
        gap: 0.35rem;
    }

    .pixel-landing .logo {
        gap: 0.5rem;
    }

    .pixel-landing .logo-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .pixel-landing .logo-sub {
        display: none;
    }

    .pixel-landing .nav-actions {
        gap: 0.3rem;
    }

    .pixel-landing .nav-action-ghost,
    .pixel-landing .nav-action-primary {
        display: none;
    }

    .pixel-landing .landing-mobile-toggle {
        left: min(calc(100vw - 56px), 319px);
    }
}

/* Social media portfolio redesign. Scoped to the public landing page only. */
.pixel-landing .social-portfolio-layout {
    width: min(1360px, calc(100% - 48px));
    padding-top: clamp(2.2rem, 4vw, 3.4rem);
}

.pixel-landing .social-portfolio-layout::before,
.pixel-landing .social-portfolio-layout::after {
    display: none;
}

.pixel-landing .profile-cover-card,
.pixel-landing .pixel-feed-card,
.pixel-landing .portfolio-widget {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.pixel-landing .profile-cover-card {
    margin-bottom: clamp(1rem, 2vw, 1.4rem);
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.04), transparent 44px),
        var(--pixel-surface);
}

.pixel-landing .profile-cover-banner {
    position: relative;
    min-height: clamp(210px, 26vw, 330px);
    border-bottom: 3px solid var(--pixel-border);
    background:
        var(--cover-image, linear-gradient(135deg, rgba(124, 255, 178, 0.18), rgba(110, 168, 254, 0.18))),
        linear-gradient(90deg, rgba(124, 255, 178, 0.16) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, rgba(255, 209, 102, 0.11) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #151C27 0%, #202A38 48%, #111821 100%);
    background-position: center;
    background-size: var(--cover-image-size, cover), 24px 24px, 24px 24px, auto;
    background-repeat: var(--cover-image-repeat, no-repeat), repeat, repeat, no-repeat;
    image-rendering: auto;
}

.pixel-landing .profile-cover-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(14, 17, 22, 0.92));
}

.pixel-landing .cover-scanline {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background:
        repeating-linear-gradient(0deg, transparent 0 7px, rgba(244, 247, 251, 0.045) 7px 8px),
        linear-gradient(90deg, rgba(124, 255, 178, 0.18), transparent 32%, rgba(255, 209, 102, 0.12) 70%, transparent);
}

.pixel-landing .profile-cover-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 0 clamp(1rem, 2.4vw, 1.6rem) clamp(1rem, 2.4vw, 1.6rem);
}

.pixel-landing .profile-cover-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(0.9rem, 2vw, 1.25rem);
    align-items: end;
    margin-top: -72px;
    min-width: 0;
}

.pixel-landing .profile-cover-avatar {
    width: clamp(126px, 15vw, 174px);
    height: clamp(126px, 15vw, 174px);
    border: 4px solid var(--pixel-bg);
    background: var(--pixel-surface-2);
    object-fit: cover;
    box-shadow: 8px 8px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-cover-copy {
    min-width: 0;
    padding-top: 0.75rem;
}

.pixel-landing .profile-cover-copy .hero-title {
    max-width: 100%;
    margin: 0.55rem 0 0;
    font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.pixel-landing .profile-cover-headline {
    max-width: 820px;
    margin: 0.75rem 0 0;
    color: var(--pixel-sky-light);
    font-weight: 800;
    line-height: 1.55;
}

.pixel-landing .profile-cover-bio {
    max-width: 840px;
    margin-top: 0.7rem;
    color: var(--pixel-muted);
}

.pixel-landing .profile-cover-bio p:last-child,
.pixel-landing .feed-rich-text p:last-child,
.pixel-landing .profile-mini-copy p:last-child {
    margin-bottom: 0;
}

.pixel-landing .profile-cover-actions,
.pixel-landing .feed-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.pixel-landing .profile-stat-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 2px solid rgba(170, 180, 195, 0.18);
    background: rgba(14, 17, 22, 0.38);
}

.pixel-landing .profile-stat-tile {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    padding: 0.9rem 0.7rem;
    border-right: 1px solid rgba(170, 180, 195, 0.16);
    color: var(--pixel-muted);
    text-align: center;
    text-decoration: none;
}

.pixel-landing .profile-stat-tile:last-child {
    border-right: 0;
}

.pixel-landing .profile-stat-tile strong {
    color: var(--pixel-warning);
    font-family: var(--pixel-font);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1;
    text-shadow: 2px 2px 0 var(--pixel-shadow);
}

.pixel-landing .profile-stat-tile span {
    overflow-wrap: anywhere;
    font-family: var(--pixel-font);
    font-size: 0.82rem;
}

.pixel-landing .portfolio-social-grid {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.7fr) minmax(230px, 0.78fr);
    gap: clamp(0.9rem, 1.8vw, 1.2rem);
    align-items: start;
}

.pixel-landing .portfolio-sidebar {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

@media (min-width: 1101px) {
    .pixel-landing .portfolio-sidebar {
        position: sticky;
        top: 92px;
    }
}

.pixel-landing .portfolio-feed {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.pixel-landing .portfolio-widget,
.pixel-landing .pixel-feed-card {
    padding: clamp(1rem, 2vw, 1.25rem);
}

.pixel-landing .widget-title-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.pixel-landing .widget-title-row h2 {
    margin: 0;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: 1.08rem;
    line-height: 1.1;
    text-shadow: 2px 2px 0 var(--pixel-shadow);
}

.pixel-landing .widget-dot {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-primary);
    box-shadow: 3px 3px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-mini-row,
.pixel-landing .feed-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.pixel-landing .profile-mini-row img,
.pixel-landing .feed-card-header img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 3px solid var(--pixel-border);
    background: var(--pixel-bg);
    object-fit: cover;
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .profile-mini-row strong,
.pixel-landing .feed-card-header strong {
    display: block;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    line-height: 1.15;
}

.pixel-landing .profile-mini-row span,
.pixel-landing .feed-card-header span,
.pixel-landing .sidebar-article-list span,
.pixel-landing .highlight-list small {
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    font-size: 0.86rem;
    line-height: 1.35;
}

.pixel-landing .profile-mini-copy {
    margin-top: 0.9rem;
    color: var(--pixel-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.pixel-landing .sidebar-nav-widget {
    display: grid;
}

.pixel-landing .sidebar-nav-link,
.pixel-landing .sidebar-link-list a,
.pixel-landing .highlight-list a,
.pixel-landing .sidebar-article-list a {
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    min-height: 40px;
    padding: 0.55rem 0.62rem;
    border: 1px solid rgba(170, 180, 195, 0.16);
    background: rgba(14, 17, 22, 0.42);
    color: var(--pixel-muted);
    text-decoration: none;
}

.pixel-landing .sidebar-nav-link {
    align-items: center;
    margin-top: 0.45rem;
    font-family: var(--pixel-font);
}

.pixel-landing .sidebar-nav-link i,
.pixel-landing .sidebar-link-list i {
    width: 1rem;
    color: var(--pixel-warning);
    text-align: center;
}

.pixel-landing .sidebar-nav-link:hover,
.pixel-landing .sidebar-link-list a:hover,
.pixel-landing .highlight-list a:hover,
.pixel-landing .sidebar-article-list a:hover {
    background: rgba(32, 38, 49, 0.86);
    color: var(--pixel-text);
    transform: translateX(3px);
}

.pixel-landing .compact-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
}

.pixel-landing .compact-tag-cloud.small .tag {
    min-height: 26px;
    padding: 0.26rem 0.42rem;
    font-size: 0.48rem;
}

.pixel-landing .sidebar-link-list,
.pixel-landing .highlight-list,
.pixel-landing .sidebar-article-list {
    display: grid;
    gap: 0.5rem;
}

.pixel-landing .highlight-list a,
.pixel-landing .sidebar-article-list a {
    display: grid;
}

.pixel-landing .highlight-list span {
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.5rem;
    text-transform: uppercase;
}

.pixel-landing .highlight-list strong,
.pixel-landing .sidebar-article-list strong {
    overflow-wrap: anywhere;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    line-height: 1.2;
}

.pixel-landing .sidebar-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.pixel-landing .sidebar-stat-grid div {
    display: grid;
    min-height: 78px;
    align-content: center;
    padding: 0.7rem;
    border: 2px solid rgba(170, 180, 195, 0.18);
    background: rgba(14, 17, 22, 0.48);
    text-align: center;
}

.pixel-landing .sidebar-stat-grid strong {
    color: var(--pixel-primary);
    font-family: var(--pixel-font);
    font-size: 1.7rem;
    line-height: 1;
}

.pixel-landing .sidebar-stat-grid span {
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    font-size: 0.82rem;
}

.pixel-landing .contact-widget {
    display: grid;
    gap: 0.65rem;
}

.pixel-landing .feed-card-header {
    padding-bottom: 0.9rem;
    border-bottom: 2px solid rgba(170, 180, 195, 0.16);
}

.pixel-landing .feed-card-body {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
}

.pixel-landing .feed-card-body h2 {
    margin: 0;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: clamp(1.6rem, 3.4vw, 2.45rem);
    line-height: 1.02;
    text-shadow: 3px 3px 0 var(--pixel-shadow);
}

.pixel-landing .feed-card-body p,
.pixel-landing .feed-rich-text {
    color: var(--pixel-muted);
    line-height: 1.7;
}

.pixel-landing .feed-kicker,
.pixel-landing .feed-mini-label {
    margin: 0;
    color: var(--pixel-warning);
    font-family: var(--pixel-font-small);
    font-size: 0.58rem;
    line-height: 1.45;
    text-transform: uppercase;
}

.pixel-landing .feed-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.pixel-landing .feed-check-grid div {
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.7rem;
    border: 2px solid rgba(170, 180, 195, 0.16);
    background: rgba(14, 17, 22, 0.45);
    color: var(--pixel-muted);
}

.pixel-landing .feed-check-grid i {
    color: var(--pixel-primary);
}

.pixel-landing .feed-card-actions {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 2px solid rgba(170, 180, 195, 0.16);
    justify-content: flex-start;
}

.pixel-landing .pixel-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    max-width: 100%;
    padding: 0.55rem 0.72rem;
    border: 2px solid var(--pixel-stone);
    background: rgba(23, 28, 36, 0.88);
    color: var(--pixel-sky-light);
    font-family: var(--pixel-font);
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .pixel-action-button.primary {
    border-color: var(--pixel-border-light);
    background: var(--pixel-primary);
    color: var(--pixel-bg);
}

.pixel-landing .pixel-action-button.compact {
    width: fit-content;
    min-height: 34px;
    padding: 0.42rem 0.58rem;
    font-size: 0.88rem;
}

.pixel-landing .pixel-action-button:hover,
.pixel-landing .pixel-action-button:focus-visible {
    background: var(--pixel-warning);
    color: var(--pixel-bg);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--pixel-secondary-dark);
}

.pixel-landing .feed-item-list {
    display: grid;
    gap: 0.75rem;
}

.pixel-landing .feed-mini-card,
.pixel-landing .service-feed-card,
.pixel-landing .feed-timeline-item,
.pixel-landing .testimonial-feed-grid article {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.75rem;
    border: 2px solid rgba(170, 180, 195, 0.16);
    background: rgba(14, 17, 22, 0.44);
}

.pixel-landing .feed-mini-card.text-only {
    grid-template-columns: 1fr;
}

.pixel-landing .feed-mini-media {
    display: grid;
    place-items: center;
    min-height: 126px;
    border: 2px solid var(--pixel-border);
    background:
        linear-gradient(90deg, rgba(255, 209, 102, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(110, 168, 254, 0.08) 1px, transparent 1px),
        var(--pixel-bg);
    background-size: 14px 14px;
    color: var(--pixel-primary);
    overflow: hidden;
}

.pixel-landing .feed-mini-media img {
    width: 100%;
    height: 100%;
    min-height: 126px;
    object-fit: cover;
}

.pixel-landing .feed-mini-media i {
    font-size: 1.8rem;
}

.pixel-landing .book-media {
    min-height: 176px;
}

.pixel-landing .book-media span {
    color: var(--pixel-warning);
    font-family: var(--pixel-font);
    font-size: 3rem;
}

.pixel-landing .feed-mini-copy {
    display: grid;
    align-content: start;
    gap: 0.48rem;
    min-width: 0;
}

.pixel-landing .feed-mini-copy h3,
.pixel-landing .service-feed-card h3,
.pixel-landing .feed-timeline-item h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--pixel-text);
    font-family: var(--pixel-font);
    font-size: 1.2rem;
    line-height: 1.18;
    text-shadow: 2px 2px 0 var(--pixel-shadow);
}

.pixel-landing .feed-mini-copy p,
.pixel-landing .service-feed-card p,
.pixel-landing .career-company,
.pixel-landing .testimonial-feed-grid p {
    margin: 0;
    color: var(--pixel-muted);
    line-height: 1.62;
}

.pixel-landing .feed-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.pixel-landing .feed-mini-meta span {
    padding: 0.25rem 0.45rem;
    border: 1px solid rgba(170, 180, 195, 0.16);
    background: #F3F0E7;
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
    font-size: 0.82rem;
}

.pixel-landing .service-feed-grid,
.pixel-landing .testimonial-feed-grid {
    display: grid;
    gap: 0.75rem;
}

.pixel-landing .service-feed-card {
    grid-template-columns: 48px minmax(0, 1fr);
}

.pixel-landing .service-feed-card > i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--pixel-border);
    background: var(--pixel-bg);
    color: var(--pixel-warning);
    box-shadow: 4px 4px 0 var(--pixel-secondary-dark);
}

.pixel-landing .service-feed-card span {
    color: var(--pixel-primary);
    font-family: var(--pixel-font);
}

.pixel-landing .feed-timeline {
    display: grid;
    gap: 0.75rem;
}

.pixel-landing .feed-timeline-item {
    grid-template-columns: 62px minmax(0, 1fr);
}

.pixel-landing .feed-timeline-item.current {
    border-color: rgba(124, 255, 178, 0.42);
}

.pixel-landing .feed-empty-state {
    padding: 0.9rem;
    border: 2px dashed rgba(170, 180, 195, 0.24);
    color: var(--pixel-muted);
    font-family: var(--pixel-font);
}

.pixel-landing .testimonial-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pixel-landing .testimonial-feed-grid article {
    grid-template-columns: 1fr;
}

.pixel-landing .testimonial-feed-grid strong {
    color: var(--pixel-text);
    font-family: var(--pixel-font);
}

.pixel-landing .testimonial-feed-grid span {
    color: var(--pixel-muted);
}

.pixel-landing .contact-feed-card {
    background:
        linear-gradient(90deg, rgba(124, 255, 178, 0.1), transparent 58%),
        linear-gradient(180deg, rgba(255, 209, 102, 0.07), transparent),
        var(--pixel-surface);
}

@media (min-width: 1101px) {
    .pixel-landing .desktop-primary-menu li,
    .pixel-landing .desktop-primary-menu .nav-link {
        flex: 0 0 auto;
        overflow: visible;
    }

    .pixel-landing .desktop-primary-menu .nav-link span,
    .pixel-landing .nav-action-link span,
    .pixel-landing .nav-more-toggle span {
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }
}

@media (max-width: 1220px) and (min-width: 1101px) {
    .pixel-landing .landing-navbar {
        grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.42fr) auto;
    }

    .pixel-landing .desktop-primary-menu .nav-link {
        font-size: 0.72rem;
        padding-inline: 0.32rem;
    }

    .pixel-landing .nav-action-link {
        font-size: 0.8rem;
        padding-inline: 0.48rem;
    }
}

@media (max-width: 1180px) {
    .pixel-landing .portfolio-social-grid {
        grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1.5fr);
    }

    .pixel-landing .right-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .pixel-landing .profile-cover-body {
        grid-template-columns: 1fr;
    }

    .pixel-landing .profile-cover-main {
        grid-template-columns: 1fr;
        align-items: start;
        margin-top: -58px;
    }

    .pixel-landing .profile-cover-copy .hero-title {
        max-width: 100%;
    }

    .pixel-landing .profile-cover-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    .pixel-landing .social-portfolio-layout {
        width: min(100% - 32px, 1360px);
    }

    .pixel-landing .portfolio-social-grid,
    .pixel-landing .right-sidebar {
        grid-template-columns: 1fr;
    }

    .pixel-landing .left-sidebar {
        order: 2;
    }

    .pixel-landing .portfolio-feed {
        order: 1;
    }

    .pixel-landing .right-sidebar {
        order: 3;
    }
}

@media (max-width: 760px) {
    .pixel-landing .profile-stat-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pixel-landing .profile-cover-main,
    .pixel-landing .feed-mini-card,
    .pixel-landing .book-mini-card,
    .pixel-landing .testimonial-feed-grid,
    .pixel-landing .feed-check-grid {
        grid-template-columns: 1fr;
    }

    .pixel-landing .profile-cover-main {
        margin-top: -58px;
    }

    .pixel-landing .profile-cover-avatar {
        width: 118px;
        height: 118px;
    }

    .pixel-landing .feed-mini-media,
    .pixel-landing .feed-mini-media img {
        min-height: 190px;
    }
}

@media (max-width: 576px) {
    .pixel-landing .social-portfolio-layout {
        width: min(100% - 20px, 1360px);
        padding-top: 1.4rem;
    }

    .pixel-landing .profile-cover-banner {
        min-height: 168px;
    }

    .pixel-landing .profile-cover-body,
    .pixel-landing .portfolio-widget,
    .pixel-landing .pixel-feed-card {
        padding-inline: 0.9rem;
    }

    .pixel-landing .profile-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pixel-landing .profile-stat-tile {
        padding-inline: 0.35rem;
    }

    .pixel-landing .profile-stat-tile span {
        display: block;
        font-size: 0.74rem;
        line-height: 1.25;
        word-break: break-word;
    }

    .pixel-landing .profile-cover-actions,
    .pixel-landing .feed-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pixel-landing .pixel-action-button,
    .pixel-landing .profile-cover-actions .btn {
        width: 100%;
    }

    .pixel-landing .feed-timeline-item,
    .pixel-landing .service-feed-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .pixel-landing .profile-stat-strip {
        grid-template-columns: 1fr;
    }
}

/* Premium bright palette override for the public portfolio. */
.theme-pixel-noir,
.pixel-landing {
    --pixel-bg: #F6FAFF;
    --pixel-bg-2: #EAF2FF;
    --pixel-surface: #FFFFFF;
    --pixel-surface-alt: #EEF5FF;
    --pixel-surface-2: #EEF5FF;
    --pixel-primary: #00C897;
    --pixel-primary-dark: #009F7A;
    --pixel-secondary: #2F6BFF;
    --pixel-accent: #FFB703;
    --pixel-warning: #FFB703;
    --pixel-warning-dark: #D89000;
    --pixel-border: #16213E;
    --pixel-stone: #16213E;
    --pixel-border-light: #2F6BFF;
    --pixel-text: #101828;
    --pixel-muted: #526071;
    --pixel-shadow: #B8C2D9;
    --pixel-secondary-dark: #16213E;
    --pixel-line: rgba(22, 33, 62, 0.16);
    --pixel-grid: rgba(47, 107, 255, 0.1);
    --pixel-grid-2: rgba(0, 200, 151, 0.1);
    --pixel-sky-light: #2457D6;
}

body.theme-pixel-noir,
body.theme-pixel-noir.dark-theme,
.pixel-landing,
.pixel-landing.pixel-grid-bg {
    background:
        linear-gradient(90deg, rgba(47, 107, 255, 0.11) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 200, 151, 0.09) 1px, transparent 1px),
        linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 42%, #EAF2FF 100%);
    background-size: 24px 24px, 24px 24px, auto;
    color: var(--pixel-text);
}

.pixel-landing::before {
    opacity: 0.18;
    background:
        repeating-linear-gradient(0deg, transparent 0 6px, rgba(47, 107, 255, 0.08) 6px 7px),
        repeating-linear-gradient(90deg, transparent 0 10px, rgba(0, 200, 151, 0.06) 10px 11px);
}

.pixel-landing::after,
.theme-pixel-noir.landing-cinematic-body .main-content::before {
    display: none;
}

.pixel-landing .header,
.pixel-landing .site-header {
    border-bottom-color: var(--pixel-border);
    background: #FFFFFF;
    color: var(--pixel-text);
    box-shadow: 0 4px 0 rgba(22, 33, 62, 0.08);
}

.pixel-landing .pixel-card,
.pixel-landing .doodle-card,
.pixel-landing .portfolio-widget,
.pixel-landing .pixel-feed-card,
.pixel-landing .profile-cover-card,
.pixel-landing .stat,
.pixel-landing .portrait-panel,
.pixel-landing .footer,
.pixel-landing .footer-block,
.pixel-landing .footer-cta {
    border-color: var(--pixel-border);
    background: #FFFFFF;
    color: var(--pixel-text);
    box-shadow: 8px 8px 0 rgba(22, 33, 62, 0.88);
}

.pixel-landing .profile-cover-banner {
    background:
        var(--cover-image, linear-gradient(135deg, #00C897 0%, #2F6BFF 54%, #FFB703 100%)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0 12px, transparent 12px 24px),
        #2F6BFF;
    background-position: center;
    background-size: var(--cover-image-size, cover), 24px 24px, 24px 24px, auto;
    background-repeat: var(--cover-image-repeat, no-repeat), repeat, repeat, no-repeat;
}

.pixel-landing .profile-cover-banner::after {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.94));
}

.pixel-landing .profile-cover-card,
.pixel-landing .contact-feed-card {
    background: #FFFFFF;
}

.pixel-landing .profile-cover-bio,
.pixel-landing .feed-card-body p,
.pixel-landing .feed-rich-text,
.pixel-landing .profile-mini-copy,
.pixel-landing .section-subtitle,
.pixel-landing .pixel-muted,
.pixel-landing .project-description,
.pixel-landing .publication-abstract,
.pixel-landing .timeline-description,
.pixel-landing .book-content p,
.pixel-landing .footer-quote,
.pixel-landing .profile-mini-row span,
.pixel-landing .feed-card-header span,
.pixel-landing .sidebar-article-list span,
.pixel-landing .highlight-list small {
    color: var(--pixel-muted);
}

.pixel-landing .profile-cover-headline,
.pixel-landing .hero-headline,
.pixel-landing .publication-link,
.pixel-landing .card-action,
.pixel-landing .contact-item,
.pixel-landing .social-link {
    color: var(--pixel-secondary);
}

.pixel-landing .pixel-badge,
.pixel-landing .eyebrow,
.pixel-landing .tag,
.pixel-landing .project-status,
.pixel-landing .publication-year,
.pixel-landing .timeline-year,
.pixel-landing .feature-card span,
.pixel-landing .feed-kicker,
.pixel-landing .feed-mini-label,
.pixel-landing .highlight-list span {
    border-color: var(--pixel-border);
    background: #FDFEFF;
    color: #B26E00;
    box-shadow: 4px 4px 0 rgba(22, 33, 62, 0.9);
}

.pixel-landing .nav-menu,
.pixel-landing .desktop-primary-menu,
.pixel-landing .nav-more-toggle,
.pixel-landing .footer-nav-list a,
.pixel-landing .contact-item,
.pixel-landing .social-link,
.pixel-landing .sidebar-nav-link,
.pixel-landing .sidebar-link-list a,
.pixel-landing .highlight-list a,
.pixel-landing .sidebar-article-list a,
.pixel-landing .feed-mini-card,
.pixel-landing .service-feed-card,
.pixel-landing .feed-timeline-item,
.pixel-landing .testimonial-feed-grid article,
.pixel-landing .feed-check-grid div,
.pixel-landing .sidebar-stat-grid div,
.pixel-landing .profile-stat-strip {
    border-color: rgba(22, 33, 62, 0.16);
    background: #F8FBFF;
    color: var(--pixel-muted);
}

.pixel-landing .nav-link,
.pixel-landing .nav-more-toggle,
.pixel-landing .nav-action-ghost {
    color: #30405F;
}

.pixel-landing .nav-link:hover,
.pixel-landing .nav-link.active,
.pixel-landing .nav-action-link.active,
.pixel-landing .nav-more-item:hover,
.pixel-landing .nav-more-item:focus,
.pixel-landing .nav-more-item.active,
.pixel-landing .sidebar-nav-link:hover,
.pixel-landing .sidebar-link-list a:hover,
.pixel-landing .highlight-list a:hover,
.pixel-landing .sidebar-article-list a:hover,
.pixel-landing .footer-nav-list a:hover,
.pixel-landing .contact-item:hover,
.pixel-landing .social-link:hover {
    background: #EAF2FF;
    color: var(--pixel-text);
}

.pixel-landing .pixel-dropdown,
.pixel-landing .landing-nav-offcanvas,
.pixel-landing .mobile-nav-menu .nav-link {
    border-color: var(--pixel-border);
    background: #FFFFFF;
    color: var(--pixel-text);
}

.pixel-landing .nav-more-item {
    color: #30405F;
}

.pixel-landing .logo-icon,
.pixel-landing .landing-mobile-toggle,
.pixel-landing .nav-action-primary,
.pixel-landing .pixel-button-primary,
.pixel-landing .btn-primary,
.pixel-landing .pixel-action-button.primary {
    border-color: var(--pixel-border);
    background: var(--pixel-primary);
    color: var(--pixel-text);
}

.pixel-landing .nav-action-ghost,
.pixel-landing .pixel-button-secondary,
.pixel-landing .btn-secondary,
.pixel-landing .pixel-action-button {
    border-color: var(--pixel-secondary);
    background: #FFFFFF;
    color: var(--pixel-secondary);
}

.pixel-landing .btn:hover,
.pixel-landing .btn:focus-visible,
.pixel-landing .pixel-action-button:hover,
.pixel-landing .pixel-action-button:focus-visible {
    border-color: var(--pixel-border);
    background: var(--pixel-accent);
    color: var(--pixel-text);
}

.pixel-landing .profile-stat-tile {
    color: var(--pixel-muted);
}

.pixel-landing .profile-stat-tile strong,
.pixel-landing .stat-number,
.pixel-landing .sidebar-stat-grid strong {
    color: var(--pixel-secondary);
}

.pixel-landing .feed-mini-media,
.pixel-landing .project-image,
.pixel-landing .book-cover,
.pixel-landing .blog-card-image,
.pixel-landing .blog-featured-image,
.pixel-landing .detail-cover,
.pixel-landing .profile-links-header img,
.pixel-landing .profile-link-media {
    border-color: var(--pixel-border);
    background:
        linear-gradient(90deg, rgba(47, 107, 255, 0.13) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 200, 151, 0.11) 1px, transparent 1px),
        #EEF5FF;
    background-size: 14px 14px;
}

.pixel-landing .timeline-logo,
.pixel-landing .profile-image,
.pixel-landing .profile-mini-row img,
.pixel-landing .feed-card-header img,
.pixel-landing .profile-cover-avatar {
    border-color: var(--pixel-border);
    background: #FFFFFF;
}

.pixel-landing .footer {
    background: #FFFFFF;
}

.pixel-landing-shell .opening-sequence {
    background:
        linear-gradient(90deg, rgba(47, 107, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 200, 151, 0.1) 1px, transparent 1px),
        #F6FAFF;
    background-size: 24px 24px;
    color: var(--pixel-text);
}

.pixel-landing-shell .opening-content {
    background: #FFFFFF;
}

@media (max-width: 576px) {
    body.theme-pixel-noir,
    .pixel-landing {
        overflow-x: hidden;
    }

    .pixel-landing .social-portfolio-layout,
    .pixel-landing .profile-cover-card,
    .pixel-landing .pixel-feed-card,
    .pixel-landing .portfolio-widget {
        width: min(100% - 20px, 1360px);
        margin-right: auto;
        margin-left: auto;
    }

    .pixel-landing .profile-stat-strip {
        grid-template-columns: 1fr !important;
    }

    .pixel-landing .profile-stat-tile {
        border-right: 0;
        border-bottom: 1px solid rgba(22, 33, 62, 0.16);
    }

    .pixel-landing .profile-stat-tile:last-child {
        border-bottom: 0;
    }

    .pixel-landing .profile-cover-actions .btn,
    .pixel-landing .feed-card-actions .pixel-action-button {
        max-width: calc(100% - 8px);
        justify-self: stretch;
    }
}

/* Mobile navbar fix: keep hamburger in the navbar flow and let the offcanvas own the top layer. */
.pixel-landing .landing-mobile-toggle {
    position: static;
    right: auto;
    left: auto;
    top: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    margin-left: 0.45rem;
    padding: 0;
    z-index: auto;
}

.pixel-landing .landing-nav-offcanvas {
    z-index: 2100;
}

.offcanvas-backdrop {
    z-index: 2050;
}

.pixel-landing .landing-nav-offcanvas .offcanvas-body {
    overflow-y: auto;
    padding: 1rem;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu {
    width: 100%;
    max-width: none;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

@media (max-width: 1100px) {
    .pixel-landing .landing-navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0.55rem;
    }

    .pixel-landing .nav-actions {
        grid-column: auto;
        display: flex;
    }

    .pixel-landing .landing-mobile-toggle {
        display: inline-grid;
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .pixel-landing .landing-navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    .pixel-landing .nav-brand-area {
        max-width: none;
    }

    .pixel-landing .nav-actions {
        display: none !important;
    }

    .pixel-landing .landing-mobile-toggle {
        grid-column: 2;
        margin-left: 0;
    }
}

@media (max-width: 1100px) {
    .pixel-landing .landing-mobile-toggle {
        position: fixed;
        top: 18px;
        right: 18px;
        left: auto;
        display: inline-grid !important;
        width: 44px;
        height: 44px;
        z-index: 1400;
    }

    .pixel-landing .landing-nav-offcanvas.show,
    .pixel-landing .landing-nav-offcanvas.showing {
        z-index: 2100;
    }
}

@media (max-width: 576px) {
    .pixel-landing .landing-mobile-toggle {
        top: 20px;
        right: 16px;
    }
}

@media (max-width: 1100px) {
    .landing-mobile-toggle {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        left: auto !important;
        display: grid !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        place-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        border: 3px solid #16213E !important;
        background: #00C897 !important;
        color: #101828 !important;
        box-shadow: 4px 4px 0 #16213E !important;
        z-index: 1500 !important;
    }

    .landing-nav-offcanvas {
        z-index: 2200 !important;
    }

    .landing-mobile-toggle.is-menu-open {
        display: none !important;
        pointer-events: none !important;
    }
}

@media (min-width: 1101px) {
    .landing-mobile-toggle {
        display: none !important;
    }
}

/* Final mobile offcanvas layout: full-height, compact, and click-safe. */
@media (max-width: 1100px) {
    .landing-nav-offcanvas.offcanvas,
    .pixel-landing .landing-nav-offcanvas.offcanvas {
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(100vw, 430px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: none !important;
        border-left: 3px solid #16213E !important;
        background: #FFFFFF !important;
        box-shadow: -8px 0 0 rgba(22, 33, 62, 0.18) !important;
        overflow: hidden !important;
        z-index: 2200 !important;
    }

    .landing-nav-offcanvas .offcanvas-header,
    .pixel-landing .landing-nav-offcanvas .offcanvas-header {
        min-height: 64px;
        padding: 0.85rem 1rem;
        border-bottom: 3px solid #16213E;
        background: #F6FAFF;
    }

    .landing-nav-offcanvas .offcanvas-body,
    .pixel-landing .landing-nav-offcanvas .offcanvas-body {
        height: calc(100dvh - 64px);
        padding: 0.85rem;
        overflow: hidden;
        background: #FFFFFF;
    }

    .landing-nav-offcanvas .mobile-nav-menu,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: start;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        list-style: none;
    }

    .landing-nav-offcanvas .mobile-nav-menu li,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu li {
        min-width: 0;
    }

    .landing-nav-offcanvas .mobile-nav-menu .nav-link,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 44px;
        padding: 0.55rem 0.6rem;
        border: 2px solid #16213E;
        background: #F8FBFF;
        color: #101828;
        box-shadow: 3px 3px 0 #16213E;
        font-size: 0.82rem;
        line-height: 1.15;
        overflow: hidden;
        white-space: normal;
    }

    .landing-nav-offcanvas .mobile-nav-menu .nav-link i,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link i {
        width: 20px;
        color: #2F6BFF;
        text-align: center;
    }

    .landing-nav-offcanvas .mobile-nav-menu .nav-link span,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link span {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: clip;
        white-space: normal;
        word-break: normal;
    }

    .landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
    .landing-nav-offcanvas .mobile-nav-menu .nav-link.active,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link.active {
        background: #EAF2FF;
        color: #101828;
    }
}

@media (max-width: 360px) {
    .landing-nav-offcanvas .mobile-nav-menu,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu {
        gap: 0.42rem;
    }

    .landing-nav-offcanvas .mobile-nav-menu .nav-link,
    .pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link {
        min-height: 42px;
        padding: 0.48rem 0.5rem;
        font-size: 0.76rem;
    }
}

/* Native-app inspired mobile shell for the portfolio feed. */
.mobile-app-tabbar {
    display: none;
}

@media (max-width: 760px) {
    body.landing-cinematic-body {
        perspective: none;
        background-attachment: scroll;
    }

    .pixel-landing {
        padding-bottom: 76px;
    }

    .pixel-landing .site-header {
        position: sticky;
        top: 0;
        z-index: 1350;
        min-height: 64px;
        border-bottom: 3px solid #16213E;
        background: #FFFFFF;
    }

    .pixel-landing .site-header .container {
        width: 100%;
        padding-inline: 14px;
    }

    .pixel-landing .landing-navbar {
        min-height: 64px;
    }

    .pixel-landing .logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .pixel-landing .logo-kicker {
        display: none;
    }

    .pixel-landing .logo-main {
        font-size: 1rem;
        line-height: 1.05;
    }

    .pixel-landing .logo-sub {
        display: block;
        max-width: 190px;
        font-size: 0.7rem;
    }

    .pixel-landing .social-portfolio-layout {
        width: 100%;
        padding-top: 0.8rem;
    }

    .pixel-landing .profile-cover-card,
    .pixel-landing .pixel-feed-card {
        width: calc(100% - 18px);
        margin-right: auto;
        margin-left: auto;
        border-width: 2px;
        box-shadow: 4px 4px 0 #16213E;
    }

    .pixel-landing .profile-cover-card {
        margin-bottom: 0.75rem;
    }

    .pixel-landing .profile-cover-banner {
        min-height: 172px;
        border-bottom-width: 2px;
    }

    .pixel-landing .profile-cover-body {
        padding: 0 0.85rem 0.9rem;
    }

    .pixel-landing .profile-cover-main {
        margin-top: -54px;
    }

    .pixel-landing .profile-cover-avatar {
        width: 116px;
        height: 116px;
        border-width: 3px;
        box-shadow: 5px 5px 0 #16213E;
    }

    .pixel-landing .profile-cover-copy .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .pixel-landing .profile-cover-headline,
    .pixel-landing .profile-cover-bio {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .pixel-landing .profile-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pixel-landing .profile-stat-tile {
        padding: 0.7rem 0.5rem;
    }

    .pixel-landing .profile-stat-tile strong {
        font-size: 1.45rem;
    }

    .pixel-landing .profile-stat-tile span {
        font-size: 0.76rem;
    }

    .pixel-landing .portfolio-social-grid {
        display: block;
        width: 100%;
    }

    .pixel-landing .portfolio-sidebar {
        display: none;
    }

    .pixel-landing .portfolio-feed {
        display: grid;
        gap: 0.75rem;
        width: 100%;
    }

    .pixel-landing .pixel-feed-card {
        padding: 0.9rem;
    }

    .pixel-landing .feed-card-header {
        padding-bottom: 0.7rem;
    }

    .pixel-landing .feed-card-header img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-width: 2px;
        box-shadow: 3px 3px 0 #16213E;
    }

    .pixel-landing .feed-card-body {
        padding-top: 0.8rem;
    }

    .pixel-landing .feed-card-body h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .pixel-landing .feed-mini-card,
    .pixel-landing .book-mini-card,
    .pixel-landing .service-feed-card,
    .pixel-landing .feed-timeline-item,
    .pixel-landing .testimonial-feed-grid {
        grid-template-columns: 1fr;
    }

    .pixel-landing .feed-mini-media,
    .pixel-landing .feed-mini-media img {
        min-height: 172px;
    }

    .pixel-landing .feed-card-actions,
    .pixel-landing .profile-cover-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .pixel-landing .feed-card-actions .pixel-action-button,
    .pixel-landing .profile-cover-actions .btn {
        width: 100%;
        max-width: 100%;
    }

    .pixel-landing .footer {
        margin-bottom: 72px;
    }

    .mobile-app-tabbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1450;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        min-height: 64px;
        padding: 0.35rem 0.45rem calc(0.35rem + env(safe-area-inset-bottom));
        border-top: 3px solid #16213E;
        background: #FFFFFF;
        box-shadow: 0 -5px 0 rgba(22, 33, 62, 0.12);
    }

    .mobile-tab-link {
        display: grid;
        place-items: center;
        gap: 0.18rem;
        min-width: 0;
        min-height: 52px;
        padding: 0.25rem 0.1rem;
        border: 0;
        background: transparent;
        color: #526071;
        font-family: var(--pixel-font);
        font-size: 0.68rem;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
    }

    .mobile-tab-link i {
        color: #2F6BFF;
        font-size: 1rem;
    }

    .mobile-tab-link span {
        display: block;
        width: 100%;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
    }

    .mobile-tab-link.active {
        color: #101828;
    }

    .mobile-tab-link.active i {
        color: #00A97F;
    }

    .mobile-tab-menu {
        appearance: none;
    }
}

@media (max-width: 390px) {
    .mobile-tab-link {
        font-size: 0.6rem;
    }

    .pixel-landing .profile-stat-strip {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body .mobile-app-tabbar,
    .pixel-landing .mobile-app-tabbar {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 3000 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: 100vw !important;
        min-height: 66px !important;
        padding: 0.35rem 0.45rem calc(0.35rem + env(safe-area-inset-bottom)) !important;
        border-top: 3px solid #16213E !important;
        background: #FFFFFF !important;
        box-shadow: 0 -5px 0 rgba(22, 33, 62, 0.14) !important;
    }

    body .mobile-app-tabbar .mobile-tab-link,
    .pixel-landing .mobile-app-tabbar .mobile-tab-link {
        display: grid !important;
    }
}

/* Windows XP Luna palette for the public user template. */
.theme-pixel-noir,
.pixel-landing {
    --pixel-bg: #DCEBFF;
    --pixel-bg-2: #EAF4D3;
    --pixel-surface: #F3F0E7;
    --pixel-surface-alt: #FFFFFF;
    --pixel-surface-2: #ECE9D8;
    --pixel-primary: #38B000;
    --pixel-primary-dark: #1E7F00;
    --pixel-secondary: #245EDC;
    --pixel-accent: #FFB000;
    --pixel-warning: #FFB000;
    --pixel-warning-dark: #D98A00;
    --pixel-border: #003C74;
    --pixel-stone: #0A246A;
    --pixel-border-light: #2F74E8;
    --pixel-text: #0A246A;
    --pixel-muted: #405875;
    --pixel-shadow: #8AA7D8;
    --pixel-secondary-dark: #0A246A;
    --pixel-line: rgba(0, 60, 116, 0.22);
    --pixel-grid: rgba(36, 94, 220, 0.12);
    --pixel-grid-2: rgba(56, 176, 0, 0.1);
    --pixel-sky-light: #245EDC;
}

body.theme-pixel-noir,
body.theme-pixel-noir.dark-theme,
.pixel-landing,
.pixel-landing.pixel-grid-bg {
    background:
        linear-gradient(90deg, rgba(36, 94, 220, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(56, 176, 0, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, #DCEBFF 0%, #F7FBFF 46%, #EAF4D3 100%);
    background-size: 24px 24px, 24px 24px, auto;
    color: var(--pixel-text);
}

.pixel-landing .header,
.pixel-landing .site-header {
    border-bottom: 3px solid #003C74;
    background: linear-gradient(180deg, #5EA3FF 0%, #245EDC 48%, #1746B8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 0 rgba(10, 36, 106, 0.28);
}

.pixel-landing .logo-main,
.pixel-landing .logo-sub,
.pixel-landing .site-header .nav-link,
.pixel-landing .site-header .nav-more-toggle,
.pixel-landing .site-header .nav-action-ghost {
    color: #FFFFFF;
}

.pixel-landing .logo-kicker {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(10, 36, 106, 0.32);
    color: #FFE680;
}

.pixel-landing .logo-icon,
.pixel-landing .landing-mobile-toggle {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #87E660 0%, #38B000 52%, #1E7F00 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 4px 4px 0 #0A246A !important;
}

.pixel-landing .desktop-primary-menu,
.pixel-landing .nav-menu {
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 -3px 0 rgba(10, 36, 106, 0.36);
}

.pixel-landing .nav-link:hover,
.pixel-landing .nav-link.active,
.pixel-landing .nav-more-toggle:hover {
    border-color: #FFFFFF;
    background: linear-gradient(180deg, #FFFFFF 0%, #DCEBFF 100%);
    color: #0A246A;
    box-shadow: 3px 3px 0 rgba(10, 36, 106, 0.55);
}

.pixel-landing .nav-link i {
    color: #FFE680;
}

.pixel-landing .nav-link:hover i,
.pixel-landing .nav-link.active i {
    color: #245EDC;
}

.pixel-landing .nav-action-primary,
.pixel-landing .pixel-button-primary,
.pixel-landing .btn-primary,
.pixel-landing .pixel-action-button.primary {
    border-color: #0A246A;
    background: linear-gradient(180deg, #87E660 0%, #38B000 54%, #1E7F00 100%);
    color: #FFFFFF;
}

.pixel-landing .nav-action-ghost,
.pixel-landing .pixel-button-secondary,
.pixel-landing .btn-secondary,
.pixel-landing .pixel-action-button {
    border-color: #0A246A;
    background: linear-gradient(180deg, #FFFFFF 0%, #DCEBFF 100%);
    color: #245EDC;
}

.pixel-landing .btn:hover,
.pixel-landing .btn:focus-visible,
.pixel-landing .pixel-action-button:hover,
.pixel-landing .pixel-action-button:focus-visible {
    border-color: #0A246A;
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%);
    color: #0A246A;
}

.pixel-landing .pixel-card,
.pixel-landing .doodle-card,
.pixel-landing .portfolio-widget,
.pixel-landing .pixel-feed-card,
.pixel-landing .profile-cover-card,
.pixel-landing .stat,
.pixel-landing .portrait-panel,
.pixel-landing .footer,
.pixel-landing .footer-block,
.pixel-landing .footer-cta {
    border-color: #003C74;
    background: #F3F0E7;
    color: #0A246A;
    box-shadow: 8px 8px 0 rgba(10, 36, 106, 0.72);
}

.pixel-landing .profile-cover-banner {
    background:
        var(--cover-image, linear-gradient(180deg, #7DB7FF 0%, #DCEBFF 46%, #7DCC58 47%, #3CA832 100%)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 12px, transparent 12px 24px),
        #7DB7FF;
    background-position: center;
    background-size: var(--cover-image-size, cover), 24px 24px, 24px 24px, auto;
    background-repeat: var(--cover-image-repeat, no-repeat), repeat, repeat, no-repeat;
}

.pixel-landing .profile-cover-banner::after {
    background: linear-gradient(180deg, transparent, rgba(243, 240, 231, 0.94));
}

.pixel-landing .feed-mini-card,
.pixel-landing .service-feed-card,
.pixel-landing .feed-timeline-item,
.pixel-landing .testimonial-feed-grid article,
.pixel-landing .feed-check-grid div,
.pixel-landing .sidebar-stat-grid div,
.pixel-landing .profile-stat-strip,
.pixel-landing .footer-nav-list a,
.pixel-landing .contact-item,
.pixel-landing .social-link,
.pixel-landing .sidebar-nav-link,
.pixel-landing .sidebar-link-list a,
.pixel-landing .highlight-list a,
.pixel-landing .sidebar-article-list a {
    border-color: rgba(0, 60, 116, 0.28);
    background: #FFFFFF;
    color: #405875;
}

.pixel-landing .pixel-badge,
.pixel-landing .eyebrow,
.pixel-landing .tag,
.pixel-landing .project-status,
.pixel-landing .publication-year,
.pixel-landing .timeline-year,
.pixel-landing .feature-card span,
.pixel-landing .feed-kicker,
.pixel-landing .feed-mini-label,
.pixel-landing .highlight-list span {
    border-color: #003C74;
    background: linear-gradient(180deg, #FFFFFF 0%, #ECE9D8 100%);
    color: #A45B00;
    box-shadow: 4px 4px 0 rgba(10, 36, 106, 0.72);
}

.pixel-landing .profile-cover-headline,
.pixel-landing .hero-headline,
.pixel-landing .publication-link,
.pixel-landing .card-action,
.pixel-landing .contact-item,
.pixel-landing .social-link,
.pixel-landing .profile-stat-tile strong,
.pixel-landing .stat-number,
.pixel-landing .sidebar-stat-grid strong {
    color: #245EDC;
}

.pixel-landing .profile-cover-bio,
.pixel-landing .feed-card-body p,
.pixel-landing .feed-rich-text,
.pixel-landing .profile-mini-copy,
.pixel-landing .section-subtitle,
.pixel-landing .pixel-muted,
.pixel-landing .project-description,
.pixel-landing .publication-abstract,
.pixel-landing .timeline-description,
.pixel-landing .book-content p,
.pixel-landing .footer-quote,
.pixel-landing .profile-mini-row span,
.pixel-landing .feed-card-header span,
.pixel-landing .sidebar-article-list span,
.pixel-landing .highlight-list small {
    color: #405875;
}

.pixel-landing .feed-mini-media,
.pixel-landing .project-image,
.pixel-landing .book-cover,
.pixel-landing .blog-card-image,
.pixel-landing .blog-featured-image,
.pixel-landing .detail-cover,
.pixel-landing .profile-links-header img,
.pixel-landing .profile-link-media {
    border-color: #003C74;
    background:
        linear-gradient(90deg, rgba(36, 94, 220, 0.13) 1px, transparent 1px),
        linear-gradient(180deg, rgba(56, 176, 0, 0.11) 1px, transparent 1px),
        #DCEBFF;
    background-size: 14px 14px;
}

.pixel-landing .pixel-dropdown,
.pixel-landing .landing-nav-offcanvas,
.pixel-landing .landing-nav-offcanvas.offcanvas {
    border-color: #003C74 !important;
    background: #F3F0E7 !important;
    color: #0A246A !important;
}

.pixel-landing .landing-nav-offcanvas .offcanvas-header {
    border-bottom-color: #003C74 !important;
    background: linear-gradient(180deg, #5EA3FF 0%, #245EDC 54%, #1746B8 100%) !important;
    color: #FFFFFF;
}

.pixel-landing .landing-nav-offcanvas .offcanvas-title strong {
    color: #FFFFFF;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link,
.landing-nav-offcanvas .mobile-nav-menu .nav-link {
    border-color: #003C74 !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #DCEBFF 100%) !important;
    color: #0A246A !important;
    box-shadow: 3px 3px 0 #0A246A !important;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link i,
.landing-nav-offcanvas .mobile-nav-menu .nav-link i {
    color: #245EDC !important;
}

.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link.active,
.landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
.landing-nav-offcanvas .mobile-nav-menu .nav-link.active {
    background: linear-gradient(180deg, #87E660 0%, #38B000 100%) !important;
    color: #FFFFFF !important;
}

body .mobile-app-tabbar,
.pixel-landing .mobile-app-tabbar {
    border-top-color: #003C74 !important;
    background: linear-gradient(180deg, #5EA3FF 0%, #245EDC 54%, #1746B8 100%) !important;
    box-shadow: 0 -5px 0 rgba(10, 36, 106, 0.32) !important;
}

body .mobile-app-tabbar .mobile-tab-link,
.pixel-landing .mobile-app-tabbar .mobile-tab-link {
    color: #FFFFFF !important;
}

body .mobile-app-tabbar .mobile-tab-link i,
.pixel-landing .mobile-app-tabbar .mobile-tab-link i {
    color: #FFE680 !important;
}

body .mobile-app-tabbar .mobile-tab-link.active,
.pixel-landing .mobile-app-tabbar .mobile-tab-link.active {
    color: #FFFFFF !important;
}

body .mobile-app-tabbar .mobile-tab-link.active i,
.pixel-landing .mobile-app-tabbar .mobile-tab-link.active i {
    color: #87E660 !important;
}

.pixel-landing-shell .opening-sequence {
    background:
        linear-gradient(90deg, rgba(36, 94, 220, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(56, 176, 0, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, #DCEBFF 0%, #F7FBFF 48%, #EAF4D3 100%);
    background-size: 24px 24px, 24px 24px, auto;
    color: #0A246A;
}

.pixel-landing-shell .opening-content {
    border-color: #003C74;
    background: #F3F0E7;
}

/* Contrast audit pass: avoid white-on-ivory blends and fully white action buttons. */
.theme-pixel-noir,
.pixel-landing {
    --pixel-surface: #F3F0E7;
    --pixel-surface-alt: #F7FBFF;
    --pixel-surface-2: #ECE9D8;
    --pixel-primary: #1E7F00;
    --pixel-primary-dark: #155D00;
    --pixel-secondary: #1746B8;
    --pixel-accent: #FFB000;
    --pixel-text: #0A246A;
    --pixel-muted: #334967;
    --pixel-sky-light: #1746B8;
}

.pixel-landing .profile-cover-banner {
    aspect-ratio: 4 / 1;
    min-height: clamp(190px, 24vw, 396px);
    max-height: 396px;
    background:
        var(--cover-image, linear-gradient(180deg, #7DB7FF 0%, #DCEBFF 46%, #7DCC58 47%, #3CA832 100%)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 12px, transparent 12px 24px),
        #7DB7FF;
    background-position: center;
    background-size: var(--cover-image-size, cover), 24px 24px, 24px 24px, auto;
    background-repeat: var(--cover-image-repeat, no-repeat), repeat, repeat, no-repeat;
}

.pixel-landing .profile-cover-banner::after {
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(243, 240, 231, 0.72));
}

.pixel-landing .header,
.pixel-landing .site-header,
.pixel-landing .landing-nav-offcanvas .offcanvas-header,
body .mobile-app-tabbar,
.pixel-landing .mobile-app-tabbar {
    background: linear-gradient(180deg, #4F96F7 0%, #245EDC 52%, #1746B8 100%) !important;
}

.pixel-landing .pixel-card,
.pixel-landing .doodle-card,
.pixel-landing .portfolio-widget,
.pixel-landing .pixel-feed-card,
.pixel-landing .profile-cover-card,
.pixel-landing .stat,
.pixel-landing .portrait-panel,
.pixel-landing .footer,
.pixel-landing .footer-block,
.pixel-landing .footer-cta,
.pixel-landing-shell .opening-content {
    background: #F3F0E7;
    color: #0A246A;
}

.pixel-landing .feed-mini-card,
.pixel-landing .service-feed-card,
.pixel-landing .feed-timeline-item,
.pixel-landing .testimonial-feed-grid article,
.pixel-landing .feed-check-grid div,
.pixel-landing .sidebar-stat-grid div,
.pixel-landing .profile-stat-strip,
.pixel-landing .footer-nav-list a,
.pixel-landing .contact-item,
.pixel-landing .social-link,
.pixel-landing .sidebar-nav-link,
.pixel-landing .sidebar-link-list a,
.pixel-landing .highlight-list a,
.pixel-landing .sidebar-article-list a,
.pixel-landing .pixel-dropdown,
.pixel-landing .landing-nav-offcanvas,
.pixel-landing .landing-nav-offcanvas.offcanvas {
    background: #EEF4FF !important;
    color: #0A246A !important;
}

.pixel-landing .feed-mini-card p,
.pixel-landing .service-feed-card p,
.pixel-landing .testimonial-feed-grid p,
.pixel-landing .feed-check-grid span,
.pixel-landing .profile-cover-headline,
.pixel-landing .profile-cover-bio,
.pixel-landing .feed-card-body p,
.pixel-landing .feed-rich-text,
.pixel-landing .profile-mini-copy,
.pixel-landing .section-subtitle,
.pixel-landing .pixel-muted,
.pixel-landing .project-description,
.pixel-landing .publication-abstract,
.pixel-landing .timeline-description,
.pixel-landing .book-content p,
.pixel-landing .footer-quote,
.pixel-landing .profile-mini-row span,
.pixel-landing .feed-card-header span,
.pixel-landing .sidebar-article-list span,
.pixel-landing .highlight-list small {
    color: #334967 !important;
    overflow-wrap: anywhere;
}

.pixel-landing .profile-stat-tile,
.pixel-landing .profile-stat-tile span,
.pixel-landing .btn,
.pixel-landing .pixel-action-button {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pixel-landing .nav-action-primary,
.pixel-landing .pixel-button-primary,
.pixel-landing .btn-primary,
.pixel-landing .pixel-action-button.primary,
.pixel-landing .error-button-primary,
.pixel-landing .profile-access-button,
.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link.active,
.landing-nav-offcanvas .mobile-nav-menu .nav-link:hover,
.landing-nav-offcanvas .mobile-nav-menu .nav-link.active {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #1B7500 0%, #155D00 55%, #0E4200 100%) !important;
    color: #FFFFFF !important;
}

.pixel-landing .nav-action-ghost,
.pixel-landing .pixel-button-secondary,
.pixel-landing .btn-secondary,
.pixel-landing .pixel-action-button,
.pixel-landing .error-button-ghost,
.pixel-landing .site-header .nav-more-toggle,
.pixel-landing .landing-nav-offcanvas .mobile-nav-menu .nav-link,
.landing-nav-offcanvas .mobile-nav-menu .nav-link {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #DCEBFF 0%, #B9D4FF 100%) !important;
    color: #0A246A !important;
}

.pixel-landing .btn:hover,
.pixel-landing .btn:focus-visible,
.pixel-landing .pixel-action-button:hover,
.pixel-landing .pixel-action-button:focus-visible,
.pixel-landing .nav-action-ghost:hover,
.pixel-landing .nav-action-ghost:focus-visible,
.pixel-landing .pixel-button-secondary:hover,
.pixel-landing .pixel-button-secondary:focus-visible,
.pixel-landing .site-header .nav-more-toggle:hover,
.pixel-landing .site-header .nav-more-toggle:focus-visible,
.pixel-landing .site-header .nav-more-toggle.active,
.pixel-landing .profile-link-button:hover,
.pixel-landing .profile-link-button:focus-visible,
.pixel-landing .blog-pagination .page-link:hover,
.pixel-landing .blog-pagination .page-link:focus-visible {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%) !important;
    color: #0A246A !important;
}

.pixel-landing .btn-danger,
.pixel-landing .pixel-button-danger,
.pixel-landing .error-button-danger {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #D84A3A 0%, #A82418 100%) !important;
    color: #FFFFFF !important;
}

.pixel-landing .btn-warning,
.pixel-landing .pixel-button-warning,
.pixel-landing .blog-pagination .page-item.active .page-link,
.pixel-landing .profile-link-button.is-featured {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%) !important;
    color: #0A246A !important;
}

.pixel-landing .profile-link-button.is-featured .profile-link-copy strong,
.pixel-landing .profile-link-button.is-featured .profile-link-copy small,
.pixel-landing .profile-link-button.is-featured .profile-link-arrow,
.pixel-landing .profile-link-button.is-featured i,
.pixel-landing .blog-pagination .page-item.active .page-link,
.pixel-landing .blog-pagination .page-link:hover {
    color: #0A246A !important;
}

.pixel-landing .btn i,
.pixel-landing .btn span,
.pixel-landing .pixel-action-button i,
.pixel-landing .pixel-action-button span,
.pixel-landing .pixel-button i,
.pixel-landing .pixel-button span,
.pixel-landing .nav-action-link i,
.pixel-landing .nav-action-link span,
.pixel-landing .nav-more-toggle i,
.pixel-landing .nav-more-toggle span,
.pixel-landing .profile-access-button i,
.pixel-landing .profile-access-button span,
.pixel-landing .error-button i,
.pixel-landing .error-button span,
.pixel-landing .profile-link-button i,
.pixel-landing .profile-link-button span,
.pixel-landing .profile-link-arrow,
.pixel-landing button i,
.pixel-landing button span {
    color: currentColor !important;
}

.pixel-landing .site-header .nav-action-primary,
.pixel-landing .site-header .nav-action-primary span,
.pixel-landing .site-header .nav-action-primary i,
.pixel-landing .site-header .landing-mobile-toggle,
.pixel-landing .site-header .landing-mobile-toggle i {
    color: #FFFFFF !important;
}

.pixel-landing .site-header .nav-action-ghost,
.pixel-landing .site-header .nav-action-ghost span,
.pixel-landing .site-header .nav-action-ghost i {
    color: #0A246A !important;
}

.pixel-landing .site-header .nav-more > .nav-more-toggle,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle {
    border: 2px solid #0A246A !important;
    background: linear-gradient(180deg, #DCEBFF 0%, #B9D4FF 100%) !important;
    color: #0A246A !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.pixel-landing .site-header .nav-more > .nav-more-toggle i,
.pixel-landing .site-header .nav-more > .nav-more-toggle span,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle i,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle span,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle i,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle span {
    color: #0A246A !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.pixel-landing .site-header .nav-more > .nav-more-toggle::after,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle::after,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle::after {
    border-top-color: #0A246A !important;
    color: #0A246A !important;
    opacity: 1 !important;
}

.pixel-landing .site-header .nav-more > .nav-more-toggle:hover,
.pixel-landing .site-header .nav-more > .nav-more-toggle:focus-visible,
.pixel-landing .site-header .nav-more > .nav-more-toggle.show,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle:hover,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle:focus-visible,
.pixel-landing .site-header .landing-navbar .nav-more > button.nav-more-toggle.show,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle:hover,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle:focus-visible,
.pixel-landing .site-header .landing-navbar button.nav-link.nav-more-toggle.dropdown-toggle.show {
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%) !important;
    color: #0A246A !important;
}

@media (max-width: 576px) {
    .pixel-landing .profile-cover-banner {
        min-height: 168px;
        max-height: none;
    }
}

.pixel-landing .profile-cover-banner.has-cover-image {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    background: #7DB7FF;
}

.pixel-landing .profile-cover-banner.has-cover-image .profile-cover-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer redesign: one clean XP-style contact window. */
.pixel-landing .footer {
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    padding: 0 0 clamp(2rem, 5vw, 3rem);
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.pixel-landing .footer > .container {
    width: min(1180px, calc(100% - 40px));
}

.pixel-landing .footer-scribble,
.pixel-landing .footer-cta,
.pixel-landing .footer-content,
.pixel-landing .footer-bottom {
    display: none !important;
}

.pixel-landing .footer-window {
    overflow: hidden;
    border: 3px solid #0A246A;
    background: #F3F0E7;
    color: #0A246A;
    box-shadow: 10px 10px 0 rgba(10, 36, 106, 0.72);
}

.pixel-landing .footer-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 46px;
    padding: 0.55rem 0.75rem;
    border-bottom: 3px solid #0A246A;
    background: linear-gradient(180deg, #4F96F7 0%, #245EDC 52%, #1746B8 100%);
    color: #FFFFFF;
}

.pixel-landing .footer-titlebar-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    font-family: var(--pixel-font);
    font-weight: 800;
    line-height: 1.2;
}

.pixel-landing .footer-titlebar-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixel-landing .footer-titlebar-label i {
    color: #FFE680;
}

.pixel-landing .footer-window-controls {
    display: flex;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.pixel-landing .footer-window-controls span {
    width: 18px;
    height: 18px;
    border: 2px solid #FFFFFF;
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%);
    box-shadow: 2px 2px 0 #0A246A;
}

.pixel-landing .footer-window-controls span:nth-child(2) {
    background: linear-gradient(180deg, #DCEBFF 0%, #B9D4FF 100%);
}

.pixel-landing .footer-window-controls span:nth-child(3) {
    background: linear-gradient(180deg, #2B9800 0%, #155D00 100%);
}

.pixel-landing .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.58fr) minmax(210px, 0.82fr) minmax(190px, 0.72fr);
    gap: 0;
    border-bottom: 2px solid rgba(10, 36, 106, 0.24);
}

.pixel-landing .footer-intro,
.pixel-landing .footer-block {
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.3rem);
    border-right: 2px solid rgba(10, 36, 106, 0.2);
    background:
        linear-gradient(90deg, rgba(36, 94, 220, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(56, 176, 0, 0.05) 1px, transparent 1px),
        #F3F0E7;
    background-size: 18px 18px, 18px 18px, auto;
    box-shadow: none !important;
}

.pixel-landing .footer-connect {
    border-right: 0;
}

.pixel-landing .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pixel-landing .footer-intro .logo-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.pixel-landing .footer-window .logo-text,
.pixel-landing .footer-window .logo-main,
.pixel-landing .footer-window .logo-sub,
.pixel-landing .footer-window .logo-kicker {
    opacity: 1 !important;
    text-shadow: none !important;
}

.pixel-landing .footer-window .logo-main {
    color: #0A246A !important;
}

.pixel-landing .footer-window .logo-sub {
    color: #334967 !important;
}

.pixel-landing .footer-window .logo-kicker {
    border-color: #0A246A !important;
    background: linear-gradient(180deg, #DCEBFF 0%, #B9D4FF 100%) !important;
    color: #0A246A !important;
}

.pixel-landing .footer-quote {
    margin-top: 1rem;
    max-width: 620px;
    color: #334967 !important;
    line-height: 1.65;
}

.pixel-landing .footer-quote p:last-child {
    margin-bottom: 0;
}

.pixel-landing .footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

.pixel-landing .footer-contact h4,
.pixel-landing .footer-links h4,
.pixel-landing .footer-connect h4 {
    margin: 0 0 0.75rem;
    color: #0A246A;
    font-family: var(--pixel-font);
    font-size: 1rem;
    line-height: 1.15;
    text-shadow: 2px 2px 0 #B8C2D9;
}

.pixel-landing .footer-nav-list,
.pixel-landing .contact-info,
.pixel-landing .social-links {
    display: grid;
    gap: 0.5rem;
}

.pixel-landing .footer-nav-list a,
.pixel-landing .contact-item,
.pixel-landing .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    min-height: 36px;
    padding: 0.48rem 0.55rem;
    border: 2px solid rgba(10, 36, 106, 0.28);
    background: linear-gradient(180deg, #DCEBFF 0%, #B9D4FF 100%) !important;
    color: #0A246A !important;
    font-family: var(--pixel-font);
    text-decoration: none;
    box-shadow: 3px 3px 0 rgba(10, 36, 106, 0.32);
}

.pixel-landing .footer-nav-list a:hover,
.pixel-landing .footer-nav-list a:focus-visible,
.pixel-landing .contact-item:hover,
.pixel-landing .contact-item:focus-visible,
.pixel-landing .social-link:hover,
.pixel-landing .social-link:focus-visible {
    background: linear-gradient(180deg, #FFE680 0%, #FFB000 100%) !important;
    color: #0A246A !important;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(10, 36, 106, 0.48);
}

.pixel-landing .footer-nav-list a::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border: 1px solid #0A246A;
    background: #1E7F00;
}

.pixel-landing .contact-item i,
.pixel-landing .social-link i {
    width: 1.05rem;
    flex: 0 0 1.05rem;
    color: #1746B8 !important;
    text-align: center;
}

.pixel-landing .contact-item span,
.pixel-landing .social-link span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: currentColor !important;
}

.pixel-landing .footer-statusbar {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    background: #ECE9D8;
    color: #334967;
    font-family: var(--pixel-font);
    font-size: 0.9rem;
}

.pixel-landing .footer-statusbar p {
    margin: 0;
}

@media (max-width: 1100px) {
    .pixel-landing .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pixel-landing .footer-intro {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 2px solid rgba(10, 36, 106, 0.2);
    }

    .pixel-landing .footer-contact {
        border-right: 0;
    }
}

@media (max-width: 680px) {
    .pixel-landing .footer > .container {
        width: min(100% - 20px, 1180px);
    }

    .pixel-landing .footer-main,
    .pixel-landing .footer-statusbar {
        grid-template-columns: 1fr;
    }

    .pixel-landing .footer-block,
    .pixel-landing .footer-intro {
        border-right: 0;
        border-bottom: 2px solid rgba(10, 36, 106, 0.2);
    }

    .pixel-landing .footer-connect {
        border-bottom: 0;
    }

    .pixel-landing .footer-statusbar {
        display: grid;
    }

    .pixel-landing .footer-cta-actions .btn {
        width: 100%;
    }
}
