/* Love is Radio · visual refresh. One scene, clean transparent artwork,
   and a viewport-sized persistent player on every screen. */
:root {
    --player-width: clamp(290px, 22vw, 350px);
    --paper: #fffdfa;
    --line: #eee9e5;
    --font-rounded: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
}
body { min-width: 0; background: var(--paper); }
[hidden] { display: none !important; }
.site-shell { overflow: clip; }
.section-wrap { width: min(100% - 64px, 1360px); }
.site-header { padding-inline: 24px; gap: 8px; background: #fffdfa; }
.nav-link, .nav-more > summary { padding-inline: 13px; font-size: .85rem; }
.site-nav { gap: 2px; }
.site-footer { margin-top: 48px; background: #ffe76b; border-top: 0; }
.section-heading h2, .card-heading h2 { letter-spacing: -.035em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-heading > a { flex-shrink: 0; color: var(--pink); font-size: .8rem; font-weight: 750; }
.eyebrow { font-size: .65rem; letter-spacing: .13em; margin-bottom: 7px; }

/* The brand and controls never overlap; neither player panel can scroll. */
.radio-player {
    background: linear-gradient(155deg, #fb3471, #ee1458 55%, #d60e4b);
    box-shadow: 4px 0 24px #70092712;
}
.radio-player::before {
    opacity: .055;
    background-image: radial-gradient(circle at 28px 28px, transparent 17px, #fff 18px, transparent 19px);
    background-size: 86px 86px;
}
.radio-player .player-full {
    display: flex; flex-direction: column; align-items: stretch;
    height: 100%; height: 100dvh; padding: 14px 24px 18px;
    gap: 7px; overflow: hidden; overscroll-behavior: contain;
}
.player-full > * { flex-shrink: 0; }
.radio-player .player-brand { width: 100%; height: clamp(84px, 14vh, 144px); margin: 0 auto; }
.radio-player .player-brand img {
    width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal;
    filter: drop-shadow(0 5px 0 #b50f4130);
}
.radio-player .live-row { min-height: 24px; margin: 0 0 2px; gap: 5px; }
.live-pill, .stale-pill { font-size: .6rem; padding: 3px 9px; }
.radio-player .cover-frame { width: min(100%, 25vh, 282px); border-width: 2px; border-radius: 22px; }
.radio-player .track-copy { width: 100%; min-height: 54px; margin: 3px 0 0; }
.radio-player .track-copy strong { font-size: clamp(1.13rem, 1.55vw, 1.6rem); line-height: 1.2; }
.radio-player .track-copy span { font-size: clamp(1.05rem, 1.3vw, 1.35rem); line-height: 1.35; margin-top: 4px; }
.radio-player .visualizer { height: clamp(16px, 3vh, 30px); margin: 0; }
.radio-player .stream-facts { gap: 6px; }
.radio-player .stream-facts span { padding: 5px 3px; font-size: .67rem; border-radius: 8px; }
.radio-player .player-controls { grid-template-columns: 48px 72px 48px; gap: 17px; margin: 4px auto 2px; }
.radio-player .reaction-button { width: 48px; height: 48px; border-width: 1px; background: #fff1; }
.radio-player .reaction-button:hover { background: #fff3; }
.radio-player .main-play { width: 72px; height: 72px; transition: transform .2s; }
.main-play:hover, .hero-play:hover { transform: translateY(-2px); }
.radio-player .volume-control { min-height: 28px; }
.radio-player .music-services { margin: 0; gap: 10px; }
.radio-player .music-services a { width: 28px; height: 28px; }
.radio-player .player-history { margin-top: auto; padding-top: 10px; border-top: 1px solid #ffffff30; }
.radio-player .player-history__list { max-height: none; overflow: hidden; gap: 6px; }
.player-history__list > :nth-child(n+3) { display: none; }
.radio-player .player-history__heading a { font-size: .75rem; }
.radio-player .history-mini strong { font-size: .72rem; }
.radio-player :focus-visible { outline-color: #ffe873; }

/* A single panoramic illustration spans the whole banner. */
.hero { position: relative; display: block; min-height: clamp(420px, 32vw, 550px); background: #b5e4f7; }
.hero-art { position: absolute; inset: 0; min-height: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.hero-copy {
    position: relative; z-index: 1; width: 54%; min-height: inherit;
    margin-left: 46%; padding: 35px 28px 72px 8px;
    justify-content: center;
}
.hero-copy::after { display: none; }
.hero-kicker { color: #173d54; margin-bottom: 13px; font-size: .62rem; letter-spacing: .17em; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(30px, 2.9vw, 51px); font-weight: 900; line-height: 1.05; letter-spacing: -.045em; }
.hero h1 span { display: inline-block; margin-bottom: 6px; color: #ee185b; font-size: 1.6em; letter-spacing: -.055em; }
.hero-slogan { margin: 15px 0 0; color: var(--navy); font-size: clamp(18px, 1.55vw, 28px); font-weight: 800; }
.hero-description { margin: 11px 0 22px; color: #20415a; font-size: clamp(13px, .95vw, 17px); font-weight: 450; line-height: 1.65; }
.hero-play { min-height: 50px; padding: 14px 24px; gap: 10px; border: 0; font-size: .88rem; box-shadow: 0 8px 20px #68591214; transition: transform .2s; }
.hero-play svg { width: 19px; height: 19px; flex-shrink: 0; }
.hero-play .icon-pause { display: none; }
.hero-play.is-playing .icon-play { display: none; }
.hero-play.is-playing .icon-pause { display: block; }

/* Pastel programme cards with original transparent character illustrations. */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.programs > .section-heading { grid-column: 1 / -1; margin-bottom: 2px; }
.programs > .program-card { grid-column: auto; }
.programs .section-heading h2 { font-size: clamp(21px, 1.8vw, 30px); }
.program-card { position: relative; min-height: 260px; padding: 24px 20px; border: 0; border-radius: 22px; isolation: isolate; overflow: hidden; }
.program-card::before { content: ""; position: absolute; inset: auto -75px -65px auto; z-index: -1; width: 260px; height: 260px; opacity: 1; border: 1px solid #ffffff60; border-radius: 50%; background: #ffffff12; }
.program-card > div { position: relative; z-index: 2; max-width: 65%; }
.program-card > div > span { display: inline-block; padding: 5px 8px; border-radius: 30px; background: #fff3bd; color: #543727; font-size: .52rem; font-weight: 850; white-space: nowrap; }
.program-card h3 { margin: 16px 0 12px; font-family: var(--font-rounded); font-size: clamp(26px, 2.4vw, 44px); font-weight: 900; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; text-shadow: none; font-style: normal; }
.program-card p { max-width: 170px; margin: 0; font-size: .76rem; line-height: 1.4; }
.program-card img { position: absolute; z-index: 1; right: -8px; bottom: -18%; top: auto; width: 55%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: normal; pointer-events: none; }
.program-card > a { position: relative; inset: auto; z-index: 3; display: inline-flex; margin-top: 17px; padding: 7px 11px; color: var(--navy); background: #ffffffbf; border: 0; border-radius: 30px; font-size: .65rem; font-weight: 800; }
.program-card > a::after { content: "↗"; margin-left: 9px; }
.program-card > a:hover { background: #fff; }
.program-card--morning { color: #842b48; background: #ffb8ce; }
.program-card--morning h3 { color: #cb174f; }
.program-card--night { color: #e2e7ff; background: #323873; }
.program-card--night h3 { color: #fff; }
.program-card--night img { bottom: -19%; }
.program-card--story { color: #30491b; background: #c5e582; }
.program-card--story h3 { color: #435d21; }
.program-card--story img { width: 65%; height: 74%; right: -14px; bottom: -2%; }

.home-listening { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 32px; }
.recent-card { padding: 26px; border-radius: 24px; box-shadow: none; }
.card-heading { gap: 18px; }
.card-heading h2 { font-size: 25px; }
.card-heading a { color: var(--pink); font-size: .72rem; white-space: nowrap; }
.home-history { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 10px; }
.home-history__item { display: grid; min-width: 0; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.home-history__item:nth-last-child(-n+2) { border-bottom: 0; }
.home-history__item img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.home-history__item div { min-width: 0; }
.home-history__item strong, .home-history__item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.home-history__item span { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.home-history__item time { color: var(--muted); font-size: .65rem; }
.home-history__item:hover strong { color: var(--pink); }
.history-loading { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 30px 5px; color: var(--muted); font-size: .85rem; }
.history-loading > span { color: var(--pink); font-size: 40px; }
.history-loading a { text-decoration: underline; text-underline-offset: 4px; }
.together-card { position: relative; padding: 28px 32px; border-radius: 24px; background: #fff0df; overflow: hidden; }
.together-card h2 { position: relative; margin: 8px 0 12px; font-size: clamp(28px, 2.5vw, 40px); font-family: var(--font-rounded); line-height: 1.08; letter-spacing: -.035em; color: var(--navy); }
.together-card p { position: relative; max-width: 370px; margin: 0 0 16px; font-size: .8rem; line-height: 1.7; color: #795c55; }
.together-card > a { position: relative; color: #b33155; font-size: .75rem; font-weight: 800; }
.together-heart { position: absolute; right: 15px; top: 15px; color: #f2b2a4; font-size: 150px; font-family: Georgia, serif; line-height: 1; transform: rotate(12deg); opacity: .65; }
.quick-links { margin-top: 38px; }
.quick-links .section-heading h2 { font-size: 26px; }
.quick-grid { gap: 16px; }
.quick-grid a { padding: 22px; border: 1px solid var(--line); background: #fff; border-radius: 18px; box-shadow: none; transition: border-color .2s, transform .2s; }
.quick-grid a:hover { border-color: #f7b0c6; transform: translateY(-3px); }
.quick-grid a > span { width: 36px; height: 36px; margin-bottom: 10px; background: #fff1f5; color: var(--pink); font-size: 23px; border-radius: 50%; }
.quick-grid strong { font-size: .85rem; }
.quick-grid small { margin-top: 4px; font-size: .72rem; }
.page-hero { background: #fff0f5; }
.schedule-programs { display: grid; gap: 18px; }
.schedule-program { position: relative; display: flex; min-height: 215px; padding: 30px 34px; align-items: center; border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.schedule-program > div { width: min(70%, 650px); position: relative; z-index: 1; }
.schedule-program h2 { margin: 8px 0; font-size: 30px; color: var(--navy); letter-spacing: -.035em; }
.schedule-program p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.schedule-program img { position: absolute; right: 3%; bottom: -50%; height: 135%; width: 24%; object-fit: contain; object-position: center top; }
.schedule-program:last-child img { height: 85%; width: 29%; bottom: -2%; right: 0; }
.schedule-note { color: var(--muted); margin-top: 24px; font-size: .85rem; }
.editorial-copy a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 961px) and (max-height: 820px) {
    .radio-player .player-history { display: none; }
    .radio-player .player-full { padding-block: 12px; gap: 7px; justify-content: center; }
    .radio-player .cover-frame { width: min(100%, 28vh); }
    .radio-player .player-controls { grid-template-columns: 46px 64px 46px; }
    .radio-player .main-play { width: 64px; height: 64px; }
    .radio-player .reaction-button { width: 46px; height: 46px; }
}
@media (min-width: 961px) and (max-height: 660px) {
    .radio-player .visualizer { display: none; }
    .radio-player .player-brand { height: 70px; }
    .radio-player .cover-frame { width: min(100%, 23vh); }
    .radio-player .track-copy { min-height: 46px; }
    .radio-player .player-full { gap: 5px; }
}
@media (min-width: 961px) and (max-height: 540px) {
    .radio-player .cover-frame, .radio-player .music-services { display: none; }
}
@media (min-width: 961px) and (max-width: 1280px) {
    .site-header { padding-inline: 14px; }
    .header-actions { gap: 5px; }
    .header-actions .social-link { display: none; }
    .nav-link, .nav-more > summary { padding-inline: 10px; font-size: .78rem; }
    .section-wrap { width: calc(100% - 40px); }
    .programs { gap: 12px; }
    .program-card { min-height: 246px; padding: 20px 15px; }
    .program-card h3 { font-size: 29px; }
    .program-card p { font-size: .7rem; }
    .program-card--night p { max-width: 125px; }
    .home-listening { grid-template-columns: 1.1fr 1fr; gap: 18px; }
    .home-history { grid-template-columns: 1fr; }
    .home-history__item { padding-block: 10px; }
    .home-history__item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .together-card { padding: 28px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 961px) and (max-width: 1120px), (min-width: 641px) and (max-width: 800px) {
    .hero-art img { object-position: 25% center; }
    .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .programs > .program-card:last-child { grid-column: 1 / -1; min-height: 220px; }
    .program-card--story img { width: 44%; height: 105%; right: 4%; }
}
@media (max-width: 960px) {
    :root { --player-width: 0px; }
    .site-shell { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
    .site-header { padding-inline: 20px; }
    .site-nav { gap: 5px; }
    .nav-link, .nav-more > summary { padding: 11px 15px; font-size: .95rem; }
    .section-wrap { width: calc(100% - 40px); }
    .hero { min-height: 440px; }
    .hero-copy { width: 55%; margin-left: 45%; padding: 35px 25px 75px 0; }
    .hero h1 { font-size: clamp(26px, 4vw, 36px); }
    .hero-slogan { font-size: 18px; }
    .hero-description { font-size: 13px; }
    .hero-art { min-height: 0; order: initial; }
    .hero-art img { object-position: 43% center; }
    .programs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .program-card { min-height: 246px; padding: 18px 15px; }
    .program-card h3 { font-size: 28px; }
    .program-card p { font-size: .7rem; }
    .program-card > div > span { font-size: .47rem; padding: 5px 6px; }
    .program-card--night p { max-width: 120px; }
    .program-card:last-child { grid-column: auto; }
    .home-listening { grid-template-columns: 1.2fr 1fr; gap: 16px; }
    .home-history { grid-template-columns: 1fr; }
    .home-history__item { padding-block: 10px; }
    .home-history__item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .recent-card, .together-card { padding: 22px; }
    .card-heading h2 { font-size: 22px; }
    .card-heading a { font-size: .62rem; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .radio-player { height: calc(80px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 25px #7b06302e; }
    .radio-player .player-mini { height: 80px; }
    .radio-player .player-full { display: none; }
    .radio-player.is-expanded { height: 100dvh; padding: 0; }
    .radio-player.is-expanded .player-full { display: flex; width: min(100%, 430px); height: 100dvh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 30px max(18px, env(safe-area-inset-bottom)); gap: 8px; justify-content: center; }
    .radio-player.is-expanded .player-brand { height: clamp(80px, 15dvh, 135px); }
    .radio-player .cover-frame { width: min(70vw, 29dvh, 290px); }
    .radio-player .track-copy strong { font-size: 1.4rem; }
    .radio-player .track-copy span { font-size: 1.2rem; }
    .radio-player .player-history { display: none; }
    .radio-player .player-close { top: 18px; right: 10px; width: 36px; height: 36px; background: #ffffff20; }
    .radio-player .stream-facts span { font-size: .75rem; }
}
@media (min-width: 641px) and (max-width: 800px) {
    .hero-art img { object-position: 25% center; }
    .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .programs > .program-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .schedule-program { padding: 22px; min-height: 255px; }
    .schedule-program h2 { font-size: 25px; }
    .schedule-program p { font-size: .8rem; }
    .schedule-program img { width: 34%; height: 80%; bottom: -24%; right: -2%; }
    .schedule-program:last-child img { height: 60%; width: 43%; right: -4%; }
    .section-wrap { width: calc(100% - 32px); }
    .site-header { padding-inline: 16px; }
    .section-heading { align-items: center; }
    .section-heading > a { font-size: .68rem; }
    .hero { min-height: 660px; background: #b5e4f7; }
    .hero-art { inset: auto 0 0; height: 370px; }
    .hero-art::after { content: ""; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(#b5e4f7, #b5e4f700); }
    .hero-art img { max-width: none; width: 1100px; height: 370px; position: absolute; left: 50%; transform: translateX(-28%); object-fit: cover; }
    .hero-copy { width: 100%; min-height: 0; margin: 0; padding: 32px 22px 0; align-items: center; text-align: center; }
    .hero-kicker { margin-bottom: 8px; font-size: .6rem; }
    .hero h1 { font-size: 34px; }
    .hero h1 span { font-size: 1.65em; }
    .hero-slogan { margin-top: 13px; font-size: 19px; }
    .hero-description { margin: 8px 0 16px; font-size: 12px; }
    .hero-play { min-height: 48px; padding: 12px 24px; }
    .programs { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
    .programs .section-heading { margin-bottom: 0; }
    .programs .section-heading h2 { max-width: 235px; font-size: 24px; line-height: 1.15; }
    .program-card { min-height: 266px; padding: 26px; }
    .program-card h3 { font-size: 42px; }
    .program-card p { font-size: .85rem; }
    .program-card > div > span { font-size: .56rem; }
    .program-card > a { margin-top: 18px; font-size: .72rem; }
    .program-card img { width: 54%; height: 114%; bottom: -24%; right: -6px; }
    .program-card--night img { bottom: -24%; }
    .program-card--night p { max-width: 165px; }
    .program-card--story img { width: 64%; height: 82%; bottom: -3%; right: -16px; }
    .home-listening { grid-template-columns: 1fr; margin-top: 24px; }
    .recent-card, .together-card { padding: 24px; }
    .home-history__item { grid-template-columns: 52px minmax(0, 1fr) auto; padding-block: 12px; }
    .home-history__item img { width: 52px; height: 52px; }
    .home-history__item strong { font-size: .9rem; }
    .home-history__item time { font-size: .75rem; }
    .together-card h2 { font-size: 36px; }
    .together-card p { max-width: 85%; }
    .quick-links { margin-top: 30px; }
    .quick-links .section-heading h2 { font-size: 24px; }
    .quick-grid { gap: 10px; }
    .quick-grid a { padding: 18px 13px; }
    .quick-grid strong { font-size: .8rem; }
    .quick-grid small { font-size: .68rem; }
    .site-footer { margin-top: 32px; }
}
@media (max-width: 960px) and (max-height: 700px) {
    .radio-player.is-expanded .player-full { gap: 5px; }
    .radio-player.is-expanded .player-brand { height: 76px; }
    .radio-player .cover-frame { width: min(60vw, 25dvh); }
    .radio-player .visualizer { display: none; }
    .radio-player .player-controls { grid-template-columns: 46px 64px 46px; }
    .radio-player .main-play { width: 64px; height: 64px; }
}
@media (max-width: 960px) and (max-height: 520px) {
    .radio-player .cover-frame, .radio-player .music-services { display: none; }
    .radio-player.is-expanded .player-brand { height: 60px; }
    .radio-player .track-copy { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
