/**
 * 📖 Kagami Art Gallery — Accessibility Styles
 * 
 * Domain-wide large text styles.
 * Include this CSS on any page to enable consistent large text.
 * 
 * Usage:
 *   <link rel="stylesheet" href="accessibility.css">
 */

/* Large text mode - applied to html/body when localStorage kagami_large_text is true */
html.large-text,
body.large-text {
    font-size: 22px !important;
}

body.large-text p,
body.large-text li,
body.large-text span,
body.large-text div {
    line-height: 1.8;
}

/* Increase various common text elements */
body.large-text .section-desc,
body.large-text .description,
body.large-text .content p {
    font-size: 1.25rem;
}

body.large-text .card-text,
body.large-text .capability-desc,
body.large-text .usecase-features li,
body.large-text .feature-text {
    font-size: 1.15rem;
}

body.large-text .hero-subtitle,
body.large-text .subtitle {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
}

body.large-text pre,
body.large-text code {
    font-size: 0.95rem;
}

body.large-text .section-label,
body.large-text .label {
    font-size: 0.85rem;
}

/* Font toggle button styles */
#font-toggle {
    position: fixed;
    bottom: 2rem;
    left: 5.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 204, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.233s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#font-toggle:hover {
    border-color: #FF4444;
    color: #FF4444;
    transform: scale(1.1);
}

#font-toggle.large {
    background: rgba(255, 68, 68, 0.15);
    border-color: #FF4444;
    color: #FF4444;
}

/* Hide cursor on desktop for pages that use custom cursor */
@media (pointer: fine) {
    body[data-custom-cursor] #font-toggle {
        cursor: none;
    }
}
