/* ===== CSS Variables ===== */
:root {
    --color-bg: #fbf3fa;
    --color-text: #000000;
    --color-accent: #1e3a8a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --gap: 4px;
    --border-radius: 0;
    --header-height: 70px;
    --footer-height: 60px;
    /* Photobooth strip sizing:
       usable-h = viewport - header - footer - top gap - bottom gap
       tile-size = (usable-h - 3 gaps between tiles) / 4  */
    --usable-h: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
    --tile-size: calc((var(--usable-h) - (var(--gap) * 3)) / 4);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Hide everything initially to prevent flash before loading screen */
html.loading-initial {
    visibility: hidden;
}

html.loading-initial .loading-screen {
    visibility: visible;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    scroll-behavior: smooth;
}

/* Page transition overlay */
body.page-transitioning::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    filter: blur(0);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

body.page-transitioning.fade-out::after {
    opacity: 1;
    filter: blur(4px);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e3a8a;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    color: #fbf3fa;
    font-weight: 300;
    position: relative;
    z-index: 10;
}

.loading-dots {
    display: inline-block;
    width: 60px;
    text-align: left;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* Loading screen decorative elements */
.loading-screen::before,
.loading-screen::after {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Stars — large, upper right corner */
.loading-screen::before {
    background-image: url('/images/stars1.png');
    width: 116px;
    height: 116px;
    top: 4%;
    right: 4%;
    animation: loadingFloatA 7s ease-in-out infinite;
}

/* Circle — tiny, near center */
.loading-screen::after {
    background-image: url('/images/speaker_circle.png');
    width: 24px;
    height: 24px;
    top: 40%;
    left: 46%;
    animation: loadingFloatC 10s ease-in-out infinite 1s;
}

@keyframes loadingFloatA {
    0%, 100% { transform: translateY(0px) rotate(-8deg); }
    50% { transform: translateY(-18px) rotate(-8deg); }
}

@keyframes loadingFloatB {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes loadingFloatC {
    0%, 100% { transform: translateY(0px) rotate(22deg); }
    50% { transform: translateY(-22px) rotate(22deg); }
}

@keyframes loadingFloatD {
    0%, 100% { transform: translateY(0px) rotate(-32deg); }
    50% { transform: translateY(-15px) rotate(-32deg); }
}

@keyframes loadingFloatE {
    0%, 100% { transform: translateY(0px) rotate(47deg); }
    50% { transform: translateY(-20px) rotate(47deg); }
}

/* Keep original name as alias so nothing else breaks */
@keyframes loadingFloat {
    0%, 100% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-18px) rotate(15deg); }
}

/* Additional stars scattered around */
.loading-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-star {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

/* stars2 — medium, upper left corner */
.loading-star:nth-child(1) {
    background-image: url('/images/stars2.png');
    width: 58px;
    height: 58px;
    top: 6%;
    left: 6%;
    animation: loadingFloatE 7s ease-in-out infinite 0.5s;
}

/* stars1 — tiny, bottom center */
.loading-star:nth-child(2) {
    background-image: url('/images/stars1.png');
    width: 20px;
    height: 20px;
    bottom: 8%;
    left: 42%;
    animation: loadingFloatB 11s ease-in-out infinite 2.5s;
}

/* stars2 — very large, lower left corner */
.loading-star:nth-child(3) {
    background-image: url('/images/stars2.png');
    width: 132px;
    height: 132px;
    bottom: 3%;
    left: 2%;
    animation: loadingFloatD 13s ease-in-out infinite 3s;
}

/* stars1 — medium, mid left interior */
.loading-star:nth-child(4) {
    background-image: url('/images/stars1.png');
    width: 72px;
    height: 72px;
    top: 36%;
    left: 20%;
    animation: loadingFloatA 8s ease-in-out infinite 0.8s;
}

/* circle — small, upper interior */
.loading-star:nth-child(5) {
    background-image: url('/images/speaker_circle.png');
    width: 44px;
    height: 44px;
    top: 22%;
    right: 30%;
    animation: loadingFloatE 9.5s ease-in-out infinite 1.8s;
}

/* stars2 — tiny, mid right edge */
.loading-star:nth-child(6) {
    background-image: url('/images/stars2.png');
    width: 22px;
    height: 22px;
    top: 60%;
    right: 5%;
    animation: loadingFloatB 9s ease-in-out infinite 1.3s;
}

/* ===== HOVER SYSTEM: Blue highlight - REMOVED from header/footer ===== */
.pill-cta,
.project-link-btn {
    position: relative;
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

.pill-cta:hover,
.pill-cta:focus-visible {
    box-shadow: inset 0 -3em 0 var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.project-link-btn:hover,
.project-link-btn:focus-visible {
    box-shadow: inset 0 -3em 0 var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

/* ===== Header - Simple Transparent ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background-color: transparent;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-logo a:hover {
    opacity: 0.7;
}

.header-social {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.header-social a {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.header-social a .social-icon {
    width: 20px;
    height: 20px;
    display: block;
    /* Blue color overlay via filter - converted brand blue #1e3a8a to filter */
    filter: brightness(0) saturate(100%) invert(14%) sepia(81%) saturate(2556%) hue-rotate(216deg) brightness(94%) contrast(99%);
}

.header-social a:hover {
    opacity: 0.7;
}

/* ===== Footer ===== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-height);
    background-color: var(--color-bg);
    border-top: 2px solid var(--color-accent);
    z-index: 1000;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.2s ease;
}

.online-indicator:hover {
    opacity: 0.6;
}

.online-indicator span {
    display: none;
}

.online-gif {
    width: auto;
    height: 24px;
    image-rendering: pixelated;
}

/* STANDARDIZED FOOTER BUTTONS - simple opacity hover only */
.newsletter-trigger,
.contact-trigger {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    line-height: 1.4;
    height: auto;
    min-height: 36px;
    transition: opacity 0.2s ease;
}

.newsletter-trigger:hover {
    opacity: 0.6;
}

.contact-trigger {
    perspective: 1000px;
}

.contact-trigger:hover {
    opacity: 1;
}

.contact-text,
.contact-feedback {
    display: block;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.contact-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    opacity: 0;
}

.contact-trigger.copied .contact-text {
    transform: rotateX(-90deg);
    opacity: 0;
}

.contact-trigger.copied .contact-feedback {
    transform: translate(-50%, -50%) rotateX(0deg);
    opacity: 1;
}

/* ===== Homepage Layout ===== */
.homepage-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Exact viewport: header + content + footer, no page scroll */
    height: calc(100vh - var(--header-height) - var(--footer-height));
    overflow: hidden;
    padding: var(--spacing-lg);
    gap: var(--spacing-lg);
    position: relative;
}

/* Background star/circle decorations */
.homepage-layout::before {
    content: '';
    position: fixed;
    top: 15%;
    right: 6%;
    width: 90px;
    height: 90px;
    background: url('/images/stars1.png') center/contain no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    animation: homeDecorFloat 8s ease-in-out infinite;
}

.homepage-layout::after {
    content: '';
    position: fixed;
    bottom: 20%;
    left: 4%;
    width: 80px;
    height: 80px;
    background: url('/images/speaker_circle.png') center/contain no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    animation: homeDecorFloat 10s ease-in-out infinite 2s;
}

@keyframes homeDecorFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-12px) rotate(4deg); }
    70% { transform: translateY(-6px) rotate(-2deg); }
}

/* Additional decorations via sibling divs */
.home-decor {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.home-decor.stars2 {
    top: 60%;
    right: 3%;
    width: 70px;
    height: 70px;
    background: url('/images/stars2.png') center/contain no-repeat;
    animation: homeDecorFloat 7s ease-in-out infinite 1s;
}

.home-decor.circle2 {
    top: 30%;
    left: 2%;
    width: 65px;
    height: 65px;
    background: url('/images/speaker_circle.png') center/contain no-repeat;
    animation: homeDecorFloat 9s ease-in-out infinite 3s;
}

/* ===== Photobooth Grid (2x2) ===== */
.photobooth-wrapper {
    flex-shrink: 0;
}

.photobooth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    /* Fit exactly inside viewport height minus padding */
    --grid-size: calc(100vh - var(--header-height) - var(--footer-height) - (var(--spacing-lg) * 2));
    width: var(--grid-size);
    height: var(--grid-size);
    max-width: min(42vw, 400px);
    max-height: min(42vw, 400px);
}

.photo-tile {
    position: relative;
    overflow: hidden;
    background: var(--color-text);
    aspect-ratio: 1;
}

.photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.05s ease;
}

.photo-img.active {
    opacity: 1;
}

.dither-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            var(--color-text) 0px,
            var(--color-text) 2px,
            var(--color-bg) 2px,
            var(--color-bg) 4px
        );
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.photo-tile.flashing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 20;
    animation: flashWhite 0.15s ease-out;
    pointer-events: none;
}

@keyframes flashWhite {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.9;
    }
}

/* ===== Content Card ===== */
.content-card {
    background: transparent;
    color: var(--color-text);
    padding: var(--spacing-md);
    padding-right: calc(var(--spacing-md) - 4px); /* account for scrollbar */
    width: 300px;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    /* Same height as photobooth: viewport minus header/footer/padding */
    --grid-size: calc(100vh - var(--header-height) - var(--footer-height) - (var(--spacing-lg) * 2));
    height: var(--grid-size);
    max-height: min(42vw, 400px);
    /* Scroll inside — show early-internet style scrollbar */
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) rgba(30, 58, 138, 0.08);
}

.content-card::-webkit-scrollbar {
    width: 8px;
}

.content-card::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.08);
    border-radius: 0 16px 16px 0;
}

.content-card::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.content-card::-webkit-scrollbar-thumb:hover {
    background: #1a337a;
}

.intro-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.15rem 0;
    line-height: 1.1;
}

.hero-location {
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.55;
    margin: 0 0 0.4rem 0;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

.hero-roles {
    font-family: var(--font-body);
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.pianoman-stamp {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    image-rendering: pixelated;
    display: none;
}

/* Desktop: no pianoman inside blue box */
@media (min-width: 769px) {
    .intro-block {
        display: flex;
    }
    
    .pianoman-stamp {
        display: none !important;
    }
    
    .intro-block::after {
        display: none;
    }
}

.pill-cta {
    display: block;
    padding: 10px 24px;
    background: transparent;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-accent);
    margin-bottom: var(--spacing-md);
    text-align: center;
    width: fit-content;
    /* Desktop: left-aligned */
    margin-left: 0;
    margin-right: auto;
}

/* Bookings CTA — rectangle with rounded corners */
.bookings-cta {
    border-radius: 12px;
    display: inline-block;
    text-align: center;
}

/* RSS / Writing section */
.writing-section {
    margin-bottom: var(--spacing-md);
}

.rss-feed {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.rss-loading {
    font-size: 0.85rem;
    opacity: 0.45;
}

.rss-item {
    border-top: 1px solid rgba(0,0,0,0.12);
    padding-top: var(--spacing-xs);
}

.rss-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.rss-item-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.rss-item-title a:hover {
    opacity: 0.6;
}

.rss-item-date {
    font-size: 0.78rem;
    opacity: 0.45;
    margin-bottom: 4px;
}

.rss-item-excerpt {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.7;
}

.rss-fallback {
    font-size: 0.9rem;
}

.rss-fallback a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}

.rss-fallback a:hover {
    opacity: 0.7;
}

.divider {
    display: none;
}

.projects-section {
    margin-bottom: var(--spacing-md);
}

.projects-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: lowercase;
}

.projects-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.projects-list li {
    margin-bottom: var(--spacing-xs);
    width: fit-content;
}

.project-link {
    display: block;
    cursor: pointer;
}

.project-button-img {
    display: block;
    height: auto;
    max-width: 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-button-img:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* ===== Modals ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: var(--color-bg);
    border: 2px solid var(--color-text);
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.newsletter-modal-content {
    width: 500px;
    padding: var(--spacing-lg);
    border-radius: 16px;
    animation: spinIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center center;
}

@keyframes spinIn {
    0% {
        transform: rotate(-12deg) scale(0.96);
        opacity: 0;
    }
    60% {
        transform: rotate(3deg) scale(1.02);
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    opacity: 0.6;
}

/* Project Modals */
.project-modal-content {
    width: 600px;
    padding: var(--spacing-xl);
    background: rgba(251, 243, 250, 0.95);
}

.project-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    text-align: center;
}

.project-preview-img {
    max-width: 100%;
    height: auto;
    border: none;
}

.project-preview-img.floating {
    animation: float 3s ease-in-out infinite;
    max-width: 80%;
}

.project-preview-img.spinning {
    animation: spin 4s linear infinite;
    border: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.project-link-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid var(--color-text);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
    }

    .header-content {
        padding: 0 var(--spacing-sm);
    }

    .header-logo a {
        font-size: 1.2rem;
    }

    .header-social {
        gap: var(--spacing-sm);
    }

    .header-social a .social-icon {
        width: 18px;
        height: 18px;
    }

    .footer-content {
        padding: 0 var(--spacing-sm);
        font-size: 0.8rem;
    }

    .online-indicator span {
        display: none;
    }

    .newsletter-trigger,
    .contact-trigger {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }

    .homepage-layout {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-xl);
        gap: var(--spacing-md);
        height: auto;
        min-height: calc(100vh - var(--header-height) - var(--footer-height));
        overflow: visible;
    }

    .photobooth-wrapper {
        width: 100%;
    }

    .photobooth-grid {
        width: min(80vw, 300px);
        height: min(80vw, 300px);
        max-width: none;
        max-height: none;
        margin: 0 auto;
    }

    .content-card {
        width: min(80vw, 300px);
        height: auto;
        max-height: 55vh;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .content-card::-webkit-scrollbar {
        display: none;
    }

    .intro-block {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .intro-block::after {
        display: none !important;
    }

    .pianoman-stamp {
        display: none !important;
    }

    .pill-cta {
        display: inline-block;
        text-align: center;
    }

    .projects-section {
        text-align: left;
    }

    .projects-list {
        align-items: flex-start;
    }

    .divider {
        display: none;
    }

    .newsletter-modal-content,
    .project-modal-content {
        width: 95%;
        max-width: 400px;
        padding: var(--spacing-md);
    }

    .modal-close {
        top: var(--spacing-xs);
        right: var(--spacing-xs);
    }
}

/* ===== Accessibility ===== */
.modal-close:focus-visible,
.newsletter-trigger:focus-visible,
.pill-cta:focus-visible,
.header-logo a:focus-visible,
.header-social a:focus-visible,
.project-link-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
