/* Explain: Styles for site components like header, footer, and radio player. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.86), rgba(250, 249, 246, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: var(--logo-subtitle-color);
    color: #ffffff;
    padding: 0.38rem 0.95rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #ffffff;
    animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-color);
    backdrop-filter: blur(12px);
}

.player-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    background: var(--text-color);
    box-shadow: var(--shadow-soft);
}

.player-frame video,
.player-frame iframe,
.player-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.player-frame iframe {
    border: 0;
}

.player-caption {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    left: 1.1rem;
    border-radius: 1.4rem;
    padding: 0.85rem 1.1rem;
    color: #ffffff;
    background: color-mix(in srgb, var(--text-color) 76%, transparent);
    backdrop-filter: blur(10px);
}

.radio-player {
    height: 180px;
    border: 0;
    border-radius: 1.2rem;
    background: var(--background-color);
}

.program-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    border-radius: 2.2rem;
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.program-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: var(--surface-color);
}

.gallery-tile img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-tile:hover img {
    transform: scale(1.06);
}

.gallery-tile figcaption {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    border-radius: 1rem;
    padding: 0.6rem 0.85rem;
    color: #ffffff;
    background: color-mix(in srgb, var(--text-color) 72%, transparent);
    backdrop-filter: blur(8px);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: var(--sage-dark);
}

.form-status.error {
    color: var(--logo-subtitle-color);
}

.radio-play-btn {
    display: inline-flex;
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--button-color);
    color: var(--text-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-button);
    transition: transform 300ms ease, background 300ms ease;
}

.radio-play-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.06);
}

.radio-eq {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 3.2rem;
}

.radio-eq span {
    flex: 1;
    min-height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    opacity: 0.55;
    animation: eqBar 1.3s ease-in-out infinite;
}

.radio-eq span:nth-child(2) { animation-delay: 0.12s; }
.radio-eq span:nth-child(3) { animation-delay: 0.24s; }
.radio-eq span:nth-child(4) { animation-delay: 0.36s; }
.radio-eq span:nth-child(5) { animation-delay: 0.48s; }
.radio-eq span:nth-child(6) { animation-delay: 0.6s; }
.radio-eq span:nth-child(7) { animation-delay: 0.72s; }
.radio-eq span:nth-child(8) { animation-delay: 0.84s; }
.radio-eq span:nth-child(9) { animation-delay: 0.96s; }
.radio-eq span:nth-child(10) { animation-delay: 1.08s; }
.radio-eq span:nth-child(11) { animation-delay: 1.2s; }
.radio-eq span:nth-child(12) { animation-delay: 1.32s; }

@keyframes eqBar {
    0%, 100% { height: 18%; }
    50% { height: 100%; }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-medium {
        height: 480px;
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }
}