/* =========================
   ACCESSIBILITY
========================= */

:root {
    --accent-text: #8a433f;
}

/* Keyboard navigation */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform .15s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Dedicated back-to-top class avoids collisions with generic external styles. */
.site-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--coral);
    color: white;
    display: grid;
    place-items: center;
    visibility: visible;
    opacity: .58;
    pointer-events: auto;
    z-index: 2000;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-back-to-top:focus-visible {
    opacity: 1;
}

@media (hover:hover) and (pointer:fine) {
    .site-back-to-top:hover {
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(0,0,0,.2);
    }
}

/* Small accent text on light backgrounds */
.teachers .coral,
.location-section .coral,
.course-detail > small,
.schedule-list .kicker,
.schedule-day,
.schedule-level h4,
.schedule-booking-label {
    color: var(--accent-text);
}

/* Promotional banner title */
.trial-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(32px,3.2vw,50px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.02;
}

@media (max-width:600px) {
    .trial-title {
        font-size: 35px;
    }

    .site-back-to-top {
        right: 15px;
        bottom: 15px;
        width: 44px;
        height: 44px;
        opacity: .78;
    }

    .site-back-to-top:active,
    .site-back-to-top:focus-visible {
        opacity: 1;
    }
}
