:root {
    --red: #E61C1C;
    --red-dark: #CC2424;
    --teal: #5BBFBA;
    --teal-light: #7DD3CE;
    --teal-dark: #2B7A75;
    --cream: #FFF9F0;
    --dark: #2D2D2D;
    --outline: #1a1a1a;
}

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

html {
    height: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--cream);
    min-height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior-x: none;
}

.doodle-bg {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, var(--teal-light) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--red) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, var(--teal) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, var(--red-dark) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px, 120px 120px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
}

.site-title {
    text-align: center;
    line-height: 1.2;
}

.doodle-underline {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--dark);
    display: block;
    position: relative;
}

.doodle-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transform: translateX(-50%) rotate(-1deg);
}

.name {
    font-family: 'Quicksand', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--red);
    text-shadow:
        3px 3px 0 var(--outline),
        -1px -1px 0 var(--outline),
        1px -1px 0 var(--outline),
        -1px 1px 0 var(--outline);
    letter-spacing: -2px;
    display: block;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 320px;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
    position: relative;
}

.doodle-border {
    border: 3px solid var(--outline);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--outline);
}

.nav-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--outline);
    background: var(--teal-light);
}

.nav-card:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--outline);
}

.nav-icon {
    width: 32px;
    height: 32px;
    color: var(--red);
}

.nav-icon svg {
    width: 100%;
    height: 100%;
}

.nav-text {
    font-size: 1.5rem;
    font-weight: 700;
    flex: 1;
}

.doodle-arrow {
    font-family: 'Caveat', cursive;
    font-size: 1.75rem;
    color: var(--red);
    transition: transform 0.2s ease;
}

.nav-card:hover .doodle-arrow {
    transform: translateX(4px);
}

.footer {
    text-align: center;
}

.scribble {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: var(--dark);
    opacity: 0.6;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.page-header.compact {
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    text-shadow:
        2px 2px 0 var(--outline),
        -1px -1px 0 var(--outline),
        1px -1px 0 var(--outline),
        -1px 1px 0 var(--outline);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--red);
}

.page-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 1.5rem 4rem;
    min-height: 100vh;
    gap: 1.5rem;
}

.yt-page {
    gap: 1.5rem;
    max-width: 800px;
}

.yt-page .footer {
    margin-top: 1rem;
}

.channels-stack {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    padding-bottom: 1rem;
}

.channels-stack.compact {
    margin: 0.5rem 0;
    padding-bottom: 0.75rem;
}

.avatar-stack {
    position: relative;
    width: 320px;
    max-width: 100%;
    height: 230px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.avatar-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--outline);
    overflow: visible;
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.2s ease, filter 0.28s ease;
    position: absolute;
    top: 14px;
    left: 50%;
    background: white;
    cursor: pointer;
    display: block;
    z-index: var(--avatar-z, 2);
    opacity: var(--avatar-opacity, 1);
    filter: saturate(var(--avatar-saturate, 1)) brightness(var(--avatar-brightness, 1));
    transform: translate3d(calc(-50% + var(--avatar-x, 0px)), var(--avatar-y, 0px), 0) rotate(var(--avatar-rotate, 0deg)) scale(var(--avatar-scale, 1));
    transform-origin: center center;
    -webkit-tap-highlight-color: transparent;
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-item.main-channel {
    width: 130px;
    height: 130px;
    top: 8px;
}

.avatar-item.secret-channel {
    width: 100px;
    height: 100px;
    top: 22px;
}

.avatar-stack.is-scrubbing {
    cursor: grabbing;
}

.avatar-item.active-popup {
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.channel-popup {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px) scale(0.92);
    background: white;
    border: 3px solid var(--outline);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 4px 4px 0 var(--outline);
    z-index: 30;
}

.channel-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--outline);
}

.channel-popup::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: white;
}

.avatar-item:hover .channel-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.avatar-item.active-popup .channel-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.popup-name {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.popup-label {
    font-family: 'Caveat', cursive;
    font-size: 0.85rem;
    color: var(--teal-dark);
    margin-bottom: 0.15rem;
}

.popup-stat {
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: var(--red);
}

.cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.cards-row .stats-section,
.cards-row .sponsors-section {
    margin: 0;
    width: auto;
    flex: 1;
    min-width: 300px;
}

.stats-section {
    background: white;
    padding: 2rem;
    margin: 1rem 0;
    width: 100%;
}

.stats-section.compact {
    padding: 1.75rem;
    margin: 0.75rem 0;
}

.stats-section.doodle-border {
    border-radius: 12px;
}

.stats-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.stat-label {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.7;
}

.sponsors-section {
    background: white;
    padding: 2rem;
    margin: 1rem 0;
    width: 100%;
}

.sponsors-section.compact {
    padding: 1.75rem;
    margin: 0.75rem 0;
}

.sponsors-section.doodle-border {
    border-radius: 12px;
}

.sponsors-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.sponsors-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.2s ease;
    background: var(--cream);
    border-radius: 12px;
    border: 2px solid transparent;
    min-height: 70px;
}

.sponsor-logo:hover {
    transform: translateY(-3px);
    border-color: var(--teal);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.sponsor-logo img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    display: block;
    object-fit: contain;
}

.sponsor-fallback {
    display: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    line-height: 1.2;
}

.sponsor-logo.broken img {
    display: none;
}

.sponsor-logo.broken .sponsor-fallback {
    display: block;
}

.scrapbook-sponsors {
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 249, 240, 0.98)),
        repeating-linear-gradient(180deg, transparent 0 28px, rgba(91, 191, 186, 0.08) 28px 29px);
    position: relative;
    overflow: hidden;
}

.scrapbook-sponsors::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(230, 28, 28, 0.1) 0 2px, transparent 2.5px),
        radial-gradient(circle at 88% 22%, rgba(91, 191, 186, 0.16) 0 2px, transparent 2.5px),
        radial-gradient(circle at 20% 80%, rgba(91, 191, 186, 0.12) 0 1.8px, transparent 2.3px);
    pointer-events: none;
    opacity: 0.8;
}

.scrapbook-sponsors .sponsors-title {
    position: relative;
    z-index: 1;
}

.scrapbook-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.scrapbook-piece {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 1rem 0.9rem 0.9rem;
    background: #fffdf7;
    border: 3px solid rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    box-shadow: 3px 3px 0 rgba(26, 26, 26, 0.16);
    text-decoration: none;
    color: inherit;
    overflow: visible;
}

.scrapbook-piece::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px dashed rgba(43, 122, 117, 0.18);
    border-radius: 12px;
    pointer-events: none;
}

.scrapbook-piece:nth-child(1) { transform: rotate(-0.35deg); }
.scrapbook-piece:nth-child(2) { transform: rotate(0.35deg); }
.scrapbook-piece:nth-child(3) { transform: rotate(0.25deg); }
.scrapbook-piece:nth-child(4) { transform: rotate(-0.4deg); }

.scrapbook-piece:hover {
    border-color: var(--outline);
    transform: translateY(-2px) rotate(0deg);
    box-shadow: 5px 5px 0 rgba(26, 26, 26, 0.18);
}

.scrapbook-tape {
    position: absolute;
    top: -0.45rem;
    left: 50%;
    transform: translateX(-50%) rotate(-0.8deg);
    width: 52px;
    height: 18px;
    background: rgba(255, 220, 120, 0.55);
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 4px;
}

.scrapbook-piece img {
    max-width: 130px;
    max-height: 44px;
    position: relative;
    z-index: 1;
}

.cta-section {
    text-align: center;
    margin-top: 1rem;
    padding: 2rem 1.75rem;
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    border-radius: 12px;
    border: 3px solid var(--outline);
    width: 100%;
    max-width: 700px;
}

.cta-section.compact {
    margin-top: 0.75rem;
    padding: 1.75rem 1.5rem;
}

.cta-title {
    font-family: 'Caveat', cursive;
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.cta-email {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 3px solid var(--outline);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--outline);
    transition: all 0.2s ease;
}

.cta-email:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--outline);
}

.webdev-container {
    max-width: 700px;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.project-card {
    background: white;
    padding: 2rem;
    margin: 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.project-desc {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.5;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: 0.25rem;
}

.project-link:hover {
    gap: 0.75rem;
}

.github-section {
    text-align: center;
    margin-top: 1.5rem;
    padding: 2.5rem 2rem;
    background: var(--dark);
    border-radius: 12px;
    border: 3px solid var(--outline);
    width: 100%;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.github-link:hover {
    color: var(--teal-light);
}

.github-link svg {
    width: 32px;
    height: 32px;
}

.socials-corner {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    z-index: 100;
}

.socials-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.socials-toggle {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--red);
    border: 2px solid var(--outline);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--outline);
    transition: all 0.2s ease;
}

.socials-toggle svg {
    width: 20px;
    height: 20px;
}

.socials-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--outline);
}

.socials-group a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--outline);
    border-radius: 50%;
    color: var(--dark);
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 var(--outline);
}

.socials-group a:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--outline);
}

.socials-group svg {
    width: 18px;
    height: 18px;
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--dark);
    opacity: 0.5;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    animation: bounce 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 50;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.wip-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.wip-text {
    font-family: 'Caveat', cursive;
    font-size: 1.75rem;
    color: var(--dark);
    opacity: 0.6;
}

.wip-icon {
    width: 80px;
    height: 80px;
    color: var(--teal);
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
}

.wip-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@media (max-width: 700px) {
    .cards-row {
        flex-direction: column;
        align-items: center;
    }

    .cards-row .stats-section,
    .cards-row .sponsors-section {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
        gap: 2.5rem;
    }

    .page-container {
        padding: 5rem 1rem 3rem;
        gap: 1.25rem;
    }

    .name {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .doodle-underline {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .nav-links {
        max-width: 280px;
    }

    .nav-card {
        padding: 1rem 1.25rem;
    }

    .nav-text {
        font-size: 1.25rem;
    }

    .avatar-item {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .avatar-item.main-channel {
        width: 90px;
        height: 90px;
        top: 8px;
    }

    .avatar-item.secret-channel {
        width: 65px;
        height: 65px;
        top: 20px;
    }

    .avatar-stack {
        width: 250px;
        max-width: 100%;
        height: 185px;
    }

    .channels-stack {
        padding-bottom: 0.5rem;
    }

    .channel-popup {
        top: calc(100% + 14px);
        padding: 0.5rem 0.75rem;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--outline);
    }

    .popup-name {
        font-size: 0.75rem;
    }

    .popup-label {
        font-size: 0.7rem;
    }

    .popup-stat {
        font-size: 0.85rem;
    }

    .stats-section,
    .sponsors-section {
        padding: 1.25rem;
    }

    .stats-title,
    .sponsors-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .sponsors-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

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

    .scrapbook-piece {
        min-height: 112px;
        padding: 0.95rem 0.8rem 0.85rem;
    }

    .sponsor-logo {
        padding: 0.75rem;
        min-height: 55px;
    }

    .sponsor-logo img {
        max-height: 30px;
        max-width: 80px;
    }

    .cta-section {
        padding: 1.5rem 1.25rem;
    }

    .cta-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .cta-email {
        font-size: 0.95rem;
        padding: 0.6rem 1.25rem;
    }

    .socials-corner {
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.4rem;
    }

    .socials-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        border-width: 1.5px;
        box-shadow: 1.5px 1.5px 0 var(--outline);
    }

    .socials-toggle svg {
        width: 24px;
        height: 24px;
    }

    .socials-group {
        flex-direction: column;
        gap: 0.4rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.4rem;
    }

    .socials-corner.expanded .socials-group {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .socials-group a {
        width: 44px;
        height: 44px;
        border-width: 1.5px;
        box-shadow: 1.5px 1.5px 0 var(--outline);
    }

    .socials-group svg {
        width: 14px;
        height: 14px;
    }

    .back-link {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer {
        margin-top: 1rem;
    }

    .scribble {
        font-size: 1rem;
    }

    .wip-text {
        font-size: 1.4rem;
    }

    .wip-icon {
        width: 60px;
        height: 60px;
    }

    .doodle-border {
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--outline);
    }

    .cta-section {
        border-width: 2px;
    }
}

@media (max-width: 360px) {
    .name {
        font-size: 2rem;
    }

    .avatar-item {
        width: 70px;
        height: 70px;
    }

    .avatar-item.main-channel {
        width: 80px;
        height: 80px;
    }

    .avatar-item.secret-channel {
        width: 55px;
        height: 55px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.75rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .sponsors-logos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (hover: none) and (pointer: coarse) {
    .avatar-item:hover:not(.active-popup) {
        box-shadow: none;
    }

    .avatar-item:active:not(.active-popup) {
        opacity: 0.96;
    }

    .avatar-item:hover:not(.active-popup) .channel-popup {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px) scale(0.92);
        pointer-events: none;
    }

    .avatar-item.active-popup {
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

    .avatar-item.active-popup .channel-popup {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-card:hover {
        transform: none;
        box-shadow: 4px 4px 0 var(--outline);
    }

    .nav-card:active {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 var(--outline);
    }

    .socials-corner a:hover {
        transform: none;
        box-shadow: 2px 2px 0 var(--outline);
    }

    .socials-corner a:active {
        transform: scale(0.95);
    }

    .sponsor-logo:hover {
        transform: none;
    }

    .sponsor-logo:active {
        transform: scale(0.97);
    }

    .cta-email:hover {
        transform: none;
        box-shadow: 4px 4px 0 var(--outline);
    }

    .cta-email:active {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 var(--outline);
    }

    .project-link:hover {
        gap: 0.5rem;
    }

    .back-link:hover {
        color: var(--dark);
    }

    .back-link:active {
        color: var(--red);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focusable:focus-visible {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
    background: var(--cream);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border: 3px solid var(--outline);
    border-radius: 8px;
    z-index: 1000;
}

*:focus-visible {
    outline: 3px dashed var(--teal-dark);
    outline-offset: 4px;
}

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