.professional-only {
    display: none;
}

.professional-intro {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    pointer-events: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: 700 22px var(--font-primary);
    animation: professional-welcome 650ms ease-out both;
}

.professional-intro[hidden] {
    display: none;
}

@keyframes professional-welcome {
    0%, 40% { opacity: 1; }
    100% { opacity: 0; }
}

body.light-theme .cursor,
body.light-theme .cursor-follower {
    display: none;
}

body.light-theme.custom-cursor-ready {
    cursor: none;
}

body.light-theme.custom-cursor-ready .cursor,
body.light-theme.custom-cursor-ready .cursor-follower {
    display: flex;
    box-shadow: none;
}

body.light-theme.custom-cursor-ready .cursor-code {
    background: var(--button-gradient);
    color: white;
}

body.light-theme.custom-cursor-ready .cursor-follower {
    width: 28px;
    height: 28px;
    border: 1px solid var(--primary-color);
    opacity: 0.45;
}

body.light-theme .cursor-trail-particle {
    opacity: 0.35;
}

.logo {
    text-decoration: none;
}

.hamburger {
    padding: 0;
    border: 0;
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    body {
        cursor: auto;
    }

    #loader, .cursor, .cursor-follower {
        display: none !important;
    }
}

body.light-theme {
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Source Sans 3', sans-serif;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-strong: #1e40af;
    --primary-soft: #eaf1ff;
    --primary-soft-border: #c6d7ff;
    --secondary-color: #1d4ed8;
    --accent-color: #0e7490;
    --bg-primary: #f6f8fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #edf3ff;
    --text-primary: #17212f;
    --text-secondary: #4b5563;
    --glass-bg: #ffffff;
    --glass-border: #dce3ee;
    --professional-surface: rgba(255, 255, 255, 0.88);
    --glass-card-surface: rgba(255, 255, 255, 0.68);
    --glass-card-edge: rgba(120, 159, 213, 0.38);
    --glass-card-highlight: rgba(255, 255, 255, 0.95);
    --aurora-blue: rgba(65, 130, 245, 0.28);
    --aurora-cyan: rgba(32, 190, 212, 0.24);
    --aurora-mint: rgba(87, 212, 175, 0.18);
    --aurora-warm: rgba(252, 187, 121, 0.14);
    --button-gradient: linear-gradient(115deg, #2458d6, #255dcc 58%, #0d7489);
    --surface-shadow: 0 14px 36px rgba(40, 79, 137, 0.1), inset 0 1px 0 var(--glass-card-highlight);
    --gradient-primary: var(--primary-color);
    --gradient-secondary: var(--accent-color);
    --glow-primary: none;
    --glow-secondary: none;
    --glow-accent: none;
    font-size: 17px;
    letter-spacing: 0;
    cursor: auto;
}

body.light-theme::before {
    display: none;
}

body.light-theme .professional-only {
    display: block;
}

body.light-theme .professional-only[hidden] {
    display: none !important;
}

html[data-browser-palette='dark'] body.light-theme {
    --primary-color: #8db4ff;
    --primary-hover: #adcaff;
    --primary-strong: #c6d9ff;
    --primary-soft: #253753;
    --primary-soft-border: #4b6387;
    --secondary-color: #a6c4ff;
    --accent-color: #85d7e4;
    --bg-primary: #181b20;
    --bg-secondary: #20252d;
    --bg-tertiary: #29323f;
    --text-primary: #f4f6fb;
    --text-secondary: #c4ccd8;
    --glass-bg: var(--bg-secondary);
    --glass-border: #465264;
    --professional-surface: rgba(32, 37, 45, 0.92);
    --glass-card-surface: rgba(32, 37, 45, 0.84);
    --glass-card-edge: rgba(148, 180, 224, 0.35);
    --glass-card-highlight: rgba(210, 228, 255, 0.12);
    --aurora-blue: rgba(59, 107, 211, 0.25);
    --aurora-cyan: rgba(24, 134, 153, 0.21);
    --aurora-mint: rgba(42, 132, 111, 0.16);
    --aurora-warm: rgba(162, 108, 58, 0.1);
    --button-gradient: linear-gradient(115deg, #a6c4ff, #8db4ff 58%, #85d7e4);
}

html[data-browser-palette='dark'] body.light-theme :is(.hero, .navbar, .project-card, .hero .btn-secondary, .nav-links) {
    background-color: var(--bg-secondary);
}

html[data-browser-palette='dark'] body.light-theme .hero .btn-primary {
    color: #111b2b;
}

body.light-theme .appearance-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

body.light-theme .appearance-notice p {
    color: inherit;
}

body.light-theme .appearance-notice button {
    padding: 6px;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (forced-colors: active) {
    body.light-theme .appearance-notice {
        border-top: 1px solid CanvasText;
        padding-top: 12px;
    }
}

body.light-theme :is(.cursor-notification, #particleCanvas, #shaderCanvas, #loader, .nav-dots, .scroll-progress, .three-container, .sound-toggle, .game-fab) {
    display: none !important;
}

body.light-theme :is(#philosophy, .radar-container, .skill-bubbles, .form-particles) {
    display: none !important;
}

body.light-theme :is(.hero, #projects, .navbar) *,
body.light-theme :is(.hero, #projects, .navbar) *::before,
body.light-theme :is(.hero, #projects, .navbar) *::after {
    animation: none !important;
    letter-spacing: 0;
}

body.light-theme :is(.hero, #projects) :is(.repel-char, .reveal-unit, .magnetic-char, .scroll-reveal-item) {
    transform: none !important;
    opacity: 1;
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

body.light-theme :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

body.light-theme :is(.container, .nav-container) {
    max-width: 1200px;
    padding-inline: 40px;
}

body.light-theme :is(.section, .hero) {
    scroll-margin-top: 90px;
}

body.light-theme .navbar,
body.light-theme .navbar.scrolled {
    padding: 16px 0;
    background: var(--professional-surface);
    border: 0;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 4px 24px rgba(36, 71, 125, 0.07), inset 0 1px 0 var(--glass-card-highlight);
}

body.light-theme .nav-container {
    gap: 24px;
    min-height: 36px;
}

body.light-theme .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-primary);
}

body.light-theme .logo-monogram {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

body.light-theme .logo-monogram img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@supports (mask-image: url('images/loader-logo.png')) {
    body.light-theme .logo-monogram {
        background-color: var(--primary-color);
        background-image: linear-gradient(140deg, var(--primary-strong), var(--primary-color) 55%, var(--accent-color));
        mask: url('images/loader-logo.png') center / contain no-repeat;
        -webkit-mask: url('images/loader-logo.png') center / contain no-repeat;
    }

    body.light-theme .logo-monogram img {
        opacity: 0;
    }
}

@media (forced-colors: active) {
    body.light-theme .logo-monogram {
        mask: none;
        -webkit-mask: none;
    }

    body.light-theme .logo-monogram img {
        opacity: 1;
    }
}

body.light-theme .logo-text {
    background: none;
    -webkit-text-fill-color: currentColor;
}

body.light-theme :is(.logo-bracket, .nav-secondary, .cmd-btn) {
    display: none;
}

body.light-theme .nav-links {
    position: static;
    flex-direction: row;
    gap: 26px;
    width: auto;
    padding: 0;
    margin-left: auto;
    border: 0;
    background: transparent;
}

body.light-theme .nav-link {
    display: inline-block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
}

body.light-theme .nav-link::before {
    display: none;
}

body.light-theme .nav-link::after {
    height: 2px;
    background: var(--primary-color);
}

body.light-theme .nav-link:is(.active, :hover) {
    color: var(--primary-color);
}

body.light-theme .nav-controls {
    gap: 6px;
    border-left: 1px solid var(--glass-border);
    padding-left: 18px;
}

body.light-theme :is(.theme-toggle, .world-btn) {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border-color: transparent;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
}

body.light-theme :is(.theme-toggle, .world-btn):hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

body.light-theme .theme-toggle {
    width: 36px;
    flex: 0 0 36px;
    padding: 0;
}

body.light-theme .hamburger {
    display: none;
}

body.light-theme .hero {
    min-height: 0;
    display: block;
    padding: 116px 0 40px;
    background: var(--bg-primary);
    border-bottom: 0;
}

body.light-theme .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas: 'context portrait' 'title portrait' 'summary portrait' 'actions portrait' 'focus focus' 'footnote footnote';
    column-gap: 52px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: left;
}

body.light-theme .intro-portrait {
    grid-area: portrait;
    width: 100%;
    max-width: 280px;
    margin: 0;
    align-self: end;
}

body.light-theme .intro-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px rgba(29, 55, 90, 0.12));
}

body.light-theme .intro-context {
    grid-area: context;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.4;
}

body.light-theme .intro-context p:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

body.light-theme .intro-context p + p {
    color: var(--text-secondary);
    font-size: 14px;
}

body.light-theme .glitch-wrapper {
    grid-area: title;
    margin: 0 0 18px;
    padding-left: 22px;
    border-left: 4px solid var(--primary-color);
    border-image: linear-gradient(var(--primary-color), var(--accent-color)) 1;
}

body.light-theme .hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.12;
    white-space: normal;
    color: var(--text-primary);
}

body.light-theme .glitch::before,
body.light-theme .glitch::after,
body.light-theme :is(.typing-container, .hero-description, .hero-education, .hero .social-links, .scroll-indicator) {
    display: none;
}

body.light-theme .intro-summary {
    grid-area: summary;
    max-width: 730px;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--text-secondary);
}

body.light-theme .intro-summary strong {
    font-weight: 600;
    color: var(--text-primary);
}

body.light-theme .intro-focus {
    grid-area: focus;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 24px 0;
    padding: 18px 0;
    border-block: 1px solid var(--glass-border);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
}

body.light-theme .intro-focus li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

body.light-theme .intro-focus li + li {
    padding-left: 22px;
    border-left: 1px solid var(--glass-border);
}

body.light-theme .intro-focus i {
    display: grid;
    place-items: center;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-soft-border);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-soft), var(--bg-secondary));
    flex-shrink: 0;
}

body.light-theme .intro-focus strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

body.light-theme .intro-focus small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

body.light-theme .hero-buttons {
    grid-area: actions;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 24px 0 0;
}

body.light-theme .hero .btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    font-size: 15px;
    line-height: 1.4;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

body.light-theme .hero .btn-primary {
    color: white;
    background-color: var(--primary-color);
    background-image: var(--button-gradient);
    border-color: var(--primary-color);
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.16);
}

body.light-theme .hero .btn-secondary {
    color: var(--text-primary);
    background: white;
}

body.light-theme .hero .btn::before {
    display: none;
}

body.light-theme .hero .btn:hover {
    transform: none;
    border-color: var(--primary-color);
}

body.light-theme .hero .btn-primary:hover {
    background-color: var(--primary-hover);
    background-image: linear-gradient(115deg, #2049bb, #1e52b8 58%, #0b6378);
}

body.light-theme .intro-footnote {
    grid-area: footnote;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-secondary);
}

body.light-theme .intro-footnote > span {
    margin-right: auto;
}

body.light-theme .intro-footnote i {
    margin-right: 6px;
    color: var(--primary-color);
}

body.light-theme .intro-school {
    margin-left: 10px;
}

body.light-theme .intro-footnote a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
}

body.light-theme #projects {
    min-height: 0;
    padding: 48px 0 64px;
}

body.light-theme #projects .section-header {
    margin: 0 0 22px;
    text-align: left;
    opacity: 1 !important;
    transform: none !important;
}

body.light-theme #projects :is(.section-tag, .title-decoration, .holographic-border, .project-image) {
    display: none;
}

body.light-theme #projects .section-title {
    margin: 0;
    background: none;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text-primary);
    -webkit-text-fill-color: currentColor;
}

body.light-theme .work-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

body.light-theme .work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body.light-theme .work-filters button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--text-secondary);
    font: 600 14px var(--font-secondary);
    cursor: pointer;
}

body.light-theme .work-filters button[aria-pressed='true'] {
    background: var(--primary-soft);
    color: var(--primary-strong);
    border-color: var(--primary-soft-border);
}

body.light-theme .work-filters button:hover {
    color: var(--primary-color);
    background: var(--primary-soft);
}

body.light-theme .work-count {
    color: var(--text-secondary);
    font-size: 14px;
}

body.light-theme .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin: 0;
}

body.light-theme .project-card {
    min-width: 0;
    opacity: 1;
    border-radius: 8px;
    background: var(--glass-card-surface);
    border: 1px solid var(--glass-card-edge);
    box-shadow: var(--surface-shadow);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    transform: var(--professional-transform, none) !important;
    transform-style: flat;
}

body.light-theme .depth-surface {
    transform: var(--professional-transform, none);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

body.light-theme .depth-surface:is(.is-depth-active, :focus-within) {
    border-color: #96b7ec;
    box-shadow: 0 18px 34px rgba(39, 81, 143, 0.14), inset 0 1px 0 var(--glass-card-highlight);
}

body.light-theme :is(.record-details summary i, .credential-chevron, .toolkit-chevron, .section-link i, .work-link i, .hero .btn i) {
    transition: transform 160ms ease-out;
}

body.light-theme :is(.section-link, .work-link, .hero .btn):hover i {
    transform: translateX(3px);
}

body.light-theme :is(.career-content, .toolkit-item, .credential-entry) {
    transition: box-shadow 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out;
}

body.light-theme :is(.career-content, .toolkit-item, .credential-entry):focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 10px 26px rgba(39, 81, 143, 0.12);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.light-theme :is(.hero .btn, #contact .btn, .preview-load) {
        transition: transform 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
    }

    body.light-theme :is(.hero .btn, #contact .btn, .preview-load):hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 20px rgba(37, 99, 235, 0.18);
    }

    body.light-theme :is(.career-content, .toolkit-item, .credential-entry):hover {
        border-color: #96b7ec;
        box-shadow: 0 12px 26px rgba(39, 81, 143, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.light-theme .depth-surface {
        transform: none !important;
    }

    body.light-theme :is(.section-link, .work-link, .hero .btn):hover i {
        transform: none;
    }
}

body.light-theme .project-card[hidden] {
    display: none;
}

body.light-theme .project-card:hover {
    border-color: #afc5f6;
    box-shadow: 0 12px 32px rgba(30, 64, 120, 0.11);
}

body.light-theme .project-card:not([hidden]) {
    display: flex;
    flex-direction: column;
}

body.light-theme .project-preview {
    display: block;
    position: relative;
    flex: none;
    min-width: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid var(--glass-border);
    background: #0a0a0f;
}

body.light-theme .project-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.light-theme .project-preview figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5px 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 12px;
}

body.light-theme .project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    min-width: 0;
    flex: 1;
}

body.light-theme .project-kind {
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
}

body.light-theme .project-tags {
    order: 3;
    margin: 18px 0 0;
    gap: 6px 12px;
}

body.light-theme .project-tags .tag {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

body.light-theme .project-title {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 21px;
    line-height: 1.45;
    font-weight: 700;
}

body.light-theme .project-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

body.light-theme .work-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    order: 4;
    padding-top: 22px;
    margin-top: auto;
}

body.light-theme .work-actions:empty {
    display: none;
}

body.light-theme .work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

body.light-theme :is(.work-link, .intro-footnote a):hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.light-theme .professional-extras {
    padding: 12px 0 24px;
}

body.light-theme #openGames {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font: 600 15px var(--font-secondary);
    cursor: pointer;
}

body.light-theme #openGames:disabled {
    cursor: progress;
    opacity: 0.65;
}

body.light-theme #gamesLoadStatus {
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 860px) {
    body.light-theme .hero-content {
        grid-template-columns: minmax(0, 1fr) 190px;
        column-gap: 28px;
    }

    body.light-theme .nav-container {
        gap: 12px;
    }

    body.light-theme .nav-controls {
        margin-left: auto;
        border-left: 0;
        padding-left: 0;
    }

    body.light-theme .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    body.light-theme .hamburger span {
        width: 20px;
    }

    body.light-theme .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 14px 40px;
        background: white;
        border-bottom: 1px solid var(--glass-border);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    body.light-theme .nav-links.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    body.light-theme .nav-link {
        display: block;
        padding: 12px 0;
    }

    body.light-theme .hero-title {
        font-size: 48px;
    }

}

@media (max-width: 600px) {
    body.light-theme .hero-content {
        grid-template-columns: minmax(0, 1fr) 112px;
        grid-template-areas: 'context portrait' 'title title' 'summary summary' 'actions actions' 'focus focus' 'footnote footnote';
        column-gap: 18px;
    }

    body.light-theme .intro-portrait {
        align-self: center;
        margin-bottom: 18px;
    }

    body.light-theme :is(.container, .nav-container, .hero-content) {
        padding-inline: 24px;
    }

    body.light-theme .navbar {
        padding: 12px 0;
    }

    body.light-theme .nav-links {
        top: 60px;
        padding-inline: 24px;
    }

    body.light-theme .hero {
        padding: 92px 0 32px;
    }

    body.light-theme .intro-context {
        margin-bottom: 22px;
    }

    body.light-theme .hero-title {
        font-size: 37px;
    }

    body.light-theme .glitch-wrapper {
        margin-bottom: 16px;
    }

    body.light-theme .intro-summary {
        font-size: 21px;
    }

    body.light-theme .intro-focus {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-block: 14px;
        margin-block: 18px;
    }

    body.light-theme .intro-focus li + li {
        border: 0;
        padding: 0;
    }

    body.light-theme .intro-focus small {
        display: none;
    }

    body.light-theme .intro-focus strong {
        font-size: 13px;
    }

    body.light-theme .intro-focus i {
        font-size: 14px;
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }

    body.light-theme .glitch-wrapper {
        padding-left: 12px;
    }

    body.light-theme .hero-buttons {
        gap: 8px;
        margin: 20px 0 0;
    }

    body.light-theme .hero .btn {
        padding: 10px 12px;
        font-size: 14px;
    }

    body.light-theme .hero-buttons a[href='#contact'] {
        display: none;
    }

    body.light-theme .intro-footnote {
        padding-top: 20px;
        gap: 14px 22px;
    }

    body.light-theme .intro-footnote > span {
        width: 100%;
    }

    body.light-theme .intro-school {
        display: block;
        margin: 2px 0 0 24px;
    }

    body.light-theme #projects {
        padding: 32px 0 48px;
    }

    body.light-theme #projects .section-title {
        font-size: 25px;
    }

    body.light-theme .projects-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    body.light-theme .project-content {
        padding: 24px;
    }

    body.light-theme .work-filters {
        gap: 2px;
    }

    body.light-theme .work-filters button {
        padding-inline: 10px;
    }
}

@media (max-width: 380px) {
    body.light-theme .hero-content {
        grid-template-columns: minmax(0, 1fr) 92px;
        column-gap: 12px;
    }

    body.light-theme .intro-summary {
        font-size: 19px;
    }

    body.light-theme .hero {
        padding-block: 84px 24px;
    }

    body.light-theme .intro-focus {
        margin-block: 14px;
        padding-block: 10px;
        gap: 8px;
    }

    body.light-theme :is(.container, .nav-container, .hero-content) {
        padding-inline: 16px;
    }

    body.light-theme .nav-container {
        gap: 8px;
    }

    body.light-theme .logo {
        gap: 7px;
        font-size: 14px;
    }

    body.light-theme .nav-controls {
        gap: 0;
    }

    body.light-theme .hero-title {
        font-size: 30px;
    }

    body.light-theme .intro-context {
        font-size: 14px;
    }

    body.light-theme .intro-context p + p {
        font-size: 12px;
    }
}