/* Lavender and violet drawn from Phil's original InX teaching website. */
body{--paper:#f8f7ff;--ink:#25213e;--accent:#6341a0;--line:#d8d0ed;--soft:#eeebfa;background:var(--paper)}
header{background:#ccccff;border-bottom:1px solid #b6acdc}
.brand{color:#30235c}
nav a{color:#35265e}nav a:hover{color:#59318c}
.hero{position:relative;background:radial-gradient(ellipse at 90% 15%,#e3ddff 0,transparent 62%)}
h1,h2,h3{color:#35265e}
.hero h1{color:#35245e}
.eyebrow,.resource small{color:#69449a}
.button{background:#503578;border-color:#503578;color:#fff;border-radius:3px;transition:background .18s ease,border-color .18s ease}
.button.outline{color:#503578;border-color:#8b75b0}
.button:hover{background:#684694;border-color:#684694;color:#fff}
.band{background:#eeebfa}
#podcast{background:linear-gradient(125deg,#e3defa,#f3f0fd)}
.phil-portrait{padding:12px;background:#fff;box-shadow:0 18px 48px #40305b18;border:1px solid #e1dbef}
.podcast-art img{box-shadow:0 14px 34px #40305b20}
.video-tape{background:#fff;border:1px solid #ddd6ee;border-top:3px solid #a18bc7;padding:25px 23px 24px;border-radius:4px;box-shadow:0 5px 18px #44345d06}
.video-tape h3{font-size:26px}
.video-tape>a,.resource>a,.phil-source a{color:#6341a0}
.recording-date,.small-note{color:#514869}
.recording-year{font-size:34px;margin:55px 0 24px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.teaching-player{background:#29203f;border-radius:2px}
.complete-playlist{border-top:1px solid #d8d0ed;padding-top:32px}
.phil-photos img{background:#e7e1f5}
.resource{border-top-color:#9d85c5}
.inquiry{background:#382653;color:#fff;border-radius:4px}
.inquiry h2,.inquiry p{color:#fff}
.inquiry .button{background:#e5ddfa;border-color:#e5ddfa;color:#35245e}
footer{background:#e9e4f7;color:#4b3c65}
@media(max-width:760px){.video-tape{padding:22px 17px}.phil-portrait{padding:9px}.inquiry{border-radius:0}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
/* Readable lavender palette inspired by the original InX Services pages. */
body{--paper:#f8f7ff;--ink:#211e32;--accent:#443078;--soft:#e9e5fa}
p{opacity:1}
a:hover{color:#30205c}
.collection-intro{max-width:1000px;margin-bottom:28px}
.collection-intro h2 a{color:#30235c;text-decoration-thickness:1px;text-underline-offset:8px}
.collection-intro p{max-width:760px}
.collection-credit{font-size:15px;font-style:italic;color:#44385c}
.collection-player{margin-bottom:48px}
.collection-player .teaching-player{width:100%;aspect-ratio:16/9}
.tape-list-title{margin-top:28px;font-size:32px}
.tape-list-intro{margin-bottom:32px}
.inquiry,.hero-panel{background:#e4dff7;color:#211e32;border:1px solid #c7bce0}
.inquiry h2,.inquiry p,.hero-panel p,.hero-panel strong{color:#211e32}
.inquiry a:not(.button){color:#443078}
.button,.inquiry .button{background:#49316d;border-color:#49316d;color:#fff}
.button.outline{background:#fff;color:#443078;border-color:#786292}
.button:hover,.inquiry .button:hover{background:#35224f;border-color:#35224f;color:#fff}
/* Keep visited links readable, including browsers that recolor link history. */
body a:link,body a:visited{color:#443078!important}
body .brand:link,body .brand:visited,body nav a:link,body nav a:visited,body .collection-intro h2 a:link,body .collection-intro h2 a:visited{color:#30235c!important}
body a.button:link,body a.button:visited{color:#fff!important}
body a.button.outline:link,body a.button.outline:visited{color:#443078!important}
body a.button:hover,body a.button:focus-visible{color:#fff!important}
/* Explicit label colors also resist inherited visited-link recoloring. */
body a .link-label{color:#443078!important}
body .brand .link-label,body nav a .link-label,body .collection-intro h2 a .link-label{color:#30235c!important}
body a.button .link-label{color:#fff!important}
body a.button.outline .link-label{color:#443078!important}
body a.button:hover .link-label,body a.button:focus-visible .link-label{color:#fff!important}
/* Match glyph fill to the palette when browser visited-link paint overrides color. */
body a .link-label{-webkit-text-fill-color:#443078!important}
body .brand .link-label,body nav a .link-label,body .collection-intro h2 a .link-label{-webkit-text-fill-color:#30235c!important}
body a.button .link-label{-webkit-text-fill-color:#fff!important}
body a.button.outline .link-label{-webkit-text-fill-color:#443078!important}
body a.button:hover .link-label,body a.button:focus-visible .link-label{-webkit-text-fill-color:#fff!important}
