*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f5ee;color:#302b27;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b58c41;outline-offset:4px}button{border:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3,.serif{font-family:Georgia,"Noto Serif SC","Songti SC",serif;font-weight:400}h1{font-size:clamp(34px,5vw,64px);line-height:1.22;letter-spacing:-.025em}h2{font-size:30px;line-height:1.3}h3{font-size:23px;line-height:1.35}.muted{color:#7c7369}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#94703c;font-weight:600}.wrap{max-width:1120px;margin:auto;padding:0 36px}header{border-bottom:1px solid #e7dfd2;background:#f8f5eef5}header .wrap{display:flex;justify-content:space-between;align-items:center;height:98px;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-icon{color:#906c3e;display:grid;place-items:center;width:44px;height:44px;border:1px solid #c7b48e;border-radius:50%}.brand strong{font-family:Georgia,"Songti SC",serif;font-weight:400;font-size:24px;line-height:1.2;display:block}.brand small{font-size:9px;letter-spacing:.24em;color:#8d7351;display:block;margin-top:5px}.language{background:transparent;border:1px solid #d9cebd;border-radius:30px;padding:8px 10px;font-size:12px;color:#665d53}.head-right{display:flex;align-items:center;gap:28px}.head-caption{font-size:12px;color:#847768}main{min-height:calc(100vh - 200px);padding-bottom:150px}.hero{margin-top:32px;border-radius:5px;background:#30221d;position:relative;min-height:465px;overflow:hidden;color:#fff8ed;isolation:isolate}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#241911dc 0%,#2419119c 48%,#24191110 100%)}.hero-copy{padding:65px 56px;max-width:620px}.hero .eyebrow{color:#dfbf85;margin-bottom:24px}.hero h1{max-width:500px}.hero-copy>p{font-size:15px;color:#efdfcb;margin:22px 0 30px;max-width:360px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 21px;border-radius:3px;background:#6b2737;color:#fff9ef;text-decoration:none;font-size:14px;line-height:1.5;min-height:46px}.btn.light{background:#f4e7c8;color:#423020}.btn.outline{background:transparent;color:#6b2737;border:1px solid #cdbdab}.btn.small{padding:8px 14px;min-height:40px;font-size:12px}.hero-caption{position:absolute;bottom:20px;right:26px;color:#e3d1af;font-size:10px;letter-spacing:.16em}.section{padding-top:46px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading h2{margin-top:9px}.text-link{background:none;text-decoration:none;color:#6b2737;font-size:13px;display:inline-flex;gap:8px;align-items:center}.feature{display:grid;grid-template-columns:1fr 1.05fr;border:1px solid #ddd2c1;min-height:245px}.feature-poem{padding:36px;background:#ede7da;display:flex;flex-direction:column;justify-content:center;position:relative}.feature-poem:before{content:'“';position:absolute;top:-5px;left:24px;font:110px Georgia;color:#b6a47e33}.feature-poem blockquote{font:italic 28px/1.55 Georgia;margin:0;color:#75613f;position:relative;max-width:340px}.feature-poem small{font-size:11px;margin-top:19px;color:#8c7c66}.feature-info{padding:32px;display:flex;flex-direction:column;justify-content:center}.feature-info p{margin:10px 0 18px;color:#7b7164;font-size:14px}.feature-info .text-link{align-self:start}.list{border-top:1px solid #ddd3c2}.hymn-row{display:grid;grid-template-columns:65px 1fr auto;align-items:center;gap:20px;border-bottom:1px solid #e3dace;padding:24px 0}.number{color:#ac9473;font:italic 29px Georgia}.row-copy{display:block;text-decoration:none}.row-copy h3{font-size:22px;margin-bottom:5px}.row-copy small{font-size:12px;color:#8c8171}.row-copy p{color:#7b7164;font-size:13px;margin-top:6px}.row-actions{display:flex;align-items:center;gap:10px}.iconbtn{background:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#806e58}.iconbtn:hover{background:#ece5d9}.iconbtn.active{color:#6b2737;background:#f0e0e2}.iconbtn.active svg{fill:#6b27371a}.round-play{display:grid;place-items:center;width:43px;height:43px;background:#6b2737;color:#fff9ee;border-radius:50%;text-decoration:none}.round-play svg{width:18px;height:18px;margin-left:2px}.intro-note{display:flex;align-items:start;gap:17px;margin-top:34px;padding:24px 28px;background:#eeeadf;color:#786b57;font-size:13px;border-left:2px solid #b49a6a}.intro-note p{margin-top:5px}.intro-note svg{flex-shrink:0;margin-top:4px}.footer{text-align:center;font-size:11px;color:#988975;margin-top:44px;letter-spacing:.05em}#nav{position:fixed;bottom:0;left:0;right:0;z-index:20;padding:10px 20px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:52px;border-top:1px solid #ded3c3;background:#fcfaf5f5;backdrop-filter:blur(16px)}#nav a{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:62px;text-decoration:none;font-size:10px;color:#8b8173;padding:2px 8px}#nav a.selected{color:#6b2737}#nav svg{width:22px;height:22px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:11px 22px;border-radius:4px;background:#392e29;color:white;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:50;white-space:nowrap}#toast.visible{opacity:1}.page-heading{padding:45px 0 28px}.page-heading h1{font-size:42px;margin-top:12px}.page-heading p{color:#857666;font-size:14px;margin-top:12px}.searchbox{display:flex;border:1px solid #cfc2af;background:#fffdf8;padding:12px 16px;gap:12px;align-items:center;margin:8px 0 20px}.searchbox input{width:100%;border:0;background:none;outline:none;font-size:15px;color:#302b27}.searchbox:focus-within{border-color:#6b2737}.filters{display:flex;gap:8px;overflow:auto;padding:0 0 20px;scrollbar-width:none}.chip{font-size:12px;padding:7px 17px;border-radius:22px;border:1px solid #d8cbb7;background:none;white-space:nowrap}.chip.selected{background:#6b2737;color:white;border-color:#6b2737}.empty{text-align:center;padding:68px 20px;background:#eee8dd;color:#81725e}.empty h3{color:#4d4033;margin-bottom:12px}.empty .btn{margin-top:20px}.back{display:inline-flex;align-items:center;gap:8px;color:#87755b;background:none;padding:0;font-size:13px;text-decoration:none}.detail-head{padding:35px 0 28px;border-bottom:1px solid #ded2bf}.detail-head .eyebrow{margin-top:30px}.detail-head h1{font-size:clamp(30px,4vw,49px);margin:13px 0 7px}.original-title{color:#8b7962;font-family:Georgia,serif;font-size:19px}.detail-head-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.meta{display:flex;gap:24px;font-size:12px;color:#7d6e59;flex-wrap:wrap;margin-top:21px}.detail-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #ded2bf;position:sticky;top:0;background:#f8f5eef5;backdrop-filter:blur(10px);z-index:10;gap:28px;scrollbar-width:none}.detail-tabs button{background:none;padding:19px 0 14px;white-space:nowrap;border-bottom:2px solid transparent;color:#8a7c6a;font-size:14px}.detail-tabs button.active{border-color:#6b2737;color:#6b2737}.detail-content{max-width:790px;margin:32px auto}.quote-box{padding:30px 34px;background:#ede7da;border-left:2px solid #b1945d;margin-bottom:30px}.quote-box blockquote{font:italic 30px/1.5 Georgia;margin:0;color:#715936}.quote-box p{font-size:13px;color:#907a5d;margin-top:12px}.reading{font-size:16px;line-height:1.95}.reading p+p{margin-top:20px}.reading h2{font-size:27px;margin-bottom:20px}.reading h3{margin:26px 0 10px;font-size:20px}.scripture{font-size:12px;color:#8b775a;padding-top:22px;margin-top:26px;border-top:1px solid #e1d6c6}.reflection{margin-top:32px;border-top:1px solid #d8c8b0;padding:24px 0;color:#6b2737;font-family:Georgia,"Songti SC",serif;font-size:20px}.timeline{padding-left:21px;margin:0 0 25px;border-left:1px solid #c1ac86}.time{position:relative;padding:0 0 28px 18px}.time:last-child{padding-bottom:0}.time:before{content:"";width:9px;height:9px;background:#b18d4e;border:4px solid #f8f5ee;box-sizing:content-box;border-radius:100%;position:absolute;left:-30px;top:7px}.time b{font:22px Georgia;color:#845b3d}.time p{margin-top:6px;font-size:15px;color:#756956}.tradition{padding:24px 0;border-bottom:1px solid #e3d7c5}.tradition:first-of-type{padding-top:0}.tradition h3{font-size:22px;margin-bottom:10px}.tradition p{font-size:15px;color:#756956;line-height:1.85}.fineprint{color:#8c7e6c;font-size:12px;line-height:1.8;margin-top:23px}.sources{border-top:1px solid #ddcfba;margin-top:32px;padding-top:20px}.sources summary{font-size:13px;color:#886e4a;cursor:pointer}.sources ul{list-style:none;padding:12px 0;margin:0}.sources li{margin-bottom:10px}.sources a{font-size:12px;color:#836748;text-underline-offset:3px;overflow-wrap:anywhere}.video-shell{aspect-ratio:16/9;background:#2e2421;position:relative;overflow:hidden;border-radius:3px}.video-shell>img{width:100%;height:100%;object-fit:cover;opacity:.5}.video-shell iframe{display:block;width:100%;height:100%;border:0;position:absolute;inset:0}.video-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:linear-gradient(0deg,#221a1966,transparent);color:#fff8eb}.video-cover button{width:66px;height:66px;background:#f7e9c7;color:#6b2737;border-radius:50%;box-shadow:0 3px 20px #0003}.video-cover button svg{width:27px;height:27px;margin-left:4px}.video-cover span{font-size:13px}.video-credit{padding:22px 0 10px}.video-credit h3{font-size:22px;margin-bottom:9px}.video-credit p{font-size:13px;color:#7d705c}.video-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.listen-tip{padding:22px 25px;background:#ece7dc;font-size:14px;color:#766249;margin:27px 0}.about-block{max-width:760px;margin:auto}.about-block h2{margin:30px 0 12px;font-size:25px}.about-block p{font-size:15px;color:#796d5e;margin-bottom:16px}.about-block .tag{font:italic 24px Georgia;color:#795d35;margin:32px 0}.skip{position:absolute;top:-100px;left:12px;z-index:100;background:white;padding:10px}.skip:focus{top:8px}body.large-type .reading{font-size:19px}body.large-type .tradition p{font-size:18px}.type-toggle{border:1px solid #d4c6b1;background:none;border-radius:25px;font:14px Georgia;padding:7px 11px}.settings{display:flex;justify-content:space-between;align-items:center;background:#eee7db;padding:20px;margin-top:30px;gap:20px}.settings p{margin:0}.status-note{font-size:12px;color:#8e7b5f}.detail-bottom{display:flex;justify-content:space-between;border-top:1px solid #d8c8b0;padding-top:26px;margin-top:40px;gap:20px}.detail-bottom .text-link{max-width:45%;font-size:12px}.mini-tag{font-size:10px;color:#94703c;letter-spacing:.1em}.clear{background:none;color:#8b7962;text-decoration:underline;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:900px){#nav{gap:85px;padding-top:8px;padding-bottom:8px}#nav a{flex-direction:row;font-size:12px;gap:10px;min-height:43px}.detail-content{padding:0 10px}}@media(max-width:650px){.wrap{padding:0 22px}header .wrap{height:83px;gap:10px}.brand strong{font-size:21px}.brand small{font-size:8px;letter-spacing:.19em}.brand-icon{width:36px;height:36px}.brand-icon svg{width:20px}.brand{gap:10px}.head-caption{display:none}.head-right{gap:0}.language{max-width:100px;font-size:11px;padding:7px 6px}.hero{margin-top:21px;min-height:430px}.hero-copy{padding:41px 25px 58px}.hero h1{font-size:40px;max-width:280px}.hero-copy>p{font-size:14px;margin:20px 0 25px;max-width:235px}.hero .eyebrow{font-size:10px;margin-bottom:25px}.hero img{object-position:62% center}.hero:after{background:linear-gradient(90deg,#23170fe0,#23170f65)}.hero-caption{right:16px;bottom:15px;font-size:8px}.section{padding-top:32px}.section-heading{margin-bottom:19px}.section-heading h2{font-size:25px}.section-heading .text-link{font-size:12px}.eyebrow{font-size:10px}.feature{grid-template-columns:1fr}.feature-poem{padding:27px 25px;min-height:173px}.feature-poem blockquote{font-size:26px;max-width:280px}.feature-info{padding:26px}.feature-info h3{font-size:25px}.hymn-row{grid-template-columns:32px 1fr auto;gap:10px;padding:21px 0}.number{font-size:24px}.row-copy h3{font-size:19px}.row-copy small{font-size:11px}.row-copy p{font-size:12px}.row-actions{gap:0}.row-actions .round-play{width:34px;height:34px}.row-actions .iconbtn{width:34px;height:38px}.row-actions svg{width:18px}.intro-note{padding:20px;font-size:12px;gap:12px}.intro-note p{margin-top:6px}#nav{justify-content:space-around;gap:0;padding-left:12px;padding-right:12px}.page-heading{padding-top:32px}.page-heading h1{font-size:32px}.detail-head{padding-top:25px}.detail-head h1{font-size:31px}.original-title{font-size:16px}.detail-head .eyebrow{margin-top:25px}.meta{gap:10px 17px;font-size:11px}.detail-tabs{gap:21px;margin:0 -2px}.detail-tabs button{font-size:13px;padding-top:17px}.detail-content{margin-top:25px}.quote-box{padding:25px}.quote-box blockquote{font-size:25px}.reading{font-size:16px;line-height:1.95}.reading h2{font-size:24px}.video-shell{margin:0 -4px;aspect-ratio:16/10}.video-credit h3{font-size:22px}.video-buttons .btn{font-size:12px;padding:11px 14px}.fineprint{font-size:11px}.footer{font-size:10px}.head-right .language{min-height:36px}.detail-head-row{gap:8px}.detail-head-row .iconbtn{flex-shrink:0}.feature-poem small{margin-top:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Full-screen discovery scene */
.is-discovery{background:#2a211b;color:#fff3da;overflow:hidden}
.is-discovery #header{position:fixed;inset:0 0 auto;z-index:12;background:linear-gradient(#201710b5,transparent);border:0}
.is-discovery .brand-icon{color:#e4c07b;border-color:#dbb87580}
.is-discovery .brand strong{color:#f4d79b}
.is-discovery .brand small,.is-discovery .head-caption{color:#e8d5b4}
.is-discovery .language{color:#f9e7c5;border-color:#f1d39a66;background:#261a224a}
.is-discovery .language option{color:#302b27;background:#f8f5ee}
.is-discovery main{height:100svh;min-height:100svh;padding:0}
.is-discovery .hero{position:fixed;inset:0;margin:0;border-radius:0;min-height:0;height:100svh;width:100%;overflow:hidden}
.is-discovery .hero img{object-fit:cover;object-position:center 57%}
.is-discovery .hero:after{background:linear-gradient(180deg,#16110e66 0%,#22140c35 43%,#16110e00 66%,#16110e55 100%)}
.is-discovery .hero-copy{position:absolute;top:clamp(145px,21svh,225px);left:max(36px,calc((100vw - 1048px)/2));padding:0;max-width:550px;text-shadow:0 2px 18px #160c08c0}
.is-discovery .hero .eyebrow{color:#f0d49a;margin-bottom:21px}
.is-discovery .hero h1{font-size:32px;line-height:1.5;letter-spacing:.035em;color:#f3cc76;max-width:none}
.is-discovery .hero-copy>p{font-size:15px;line-height:1.85;color:#fff2d7;max-width:360px;margin:19px 0 0}
.is-discovery .hero-caption{bottom:104px;right:34px;color:#f0d9ab;font-size:10px}
.is-discovery #nav{background:#251b19b8;border-top:1px solid #e8cc9b45;backdrop-filter:blur(14px)}
.is-discovery #nav a{color:#dfcfb5}
.is-discovery #nav a.selected{color:#f9d68e}
@media(max-width:650px){.is-discovery .hero-copy{top:clamp(130px,19svh,185px);left:28px;right:28px;max-width:360px}.is-discovery .hero .eyebrow{font-size:9px;letter-spacing:.14em;margin-bottom:20px}.is-discovery .hero h1{font-size:26px;line-height:1.5;letter-spacing:.02em}.is-discovery .hero-copy>p{font-size:13px;max-width:265px;margin-top:17px}.is-discovery .hero-caption{bottom:calc(100px + env(safe-area-inset-bottom));right:22px;font-size:8px}.is-discovery .hero img{object-position:center 57%}}
/* Blue illuminated calligraphic title */
.brand strong,.is-discovery .brand strong{font-family:"Palatino Linotype",Baskerville,"Kaiti SC",STKaiti,KaiTi,Georgia,serif;font-style:italic;font-weight:500;font-size:27px;letter-spacing:.025em;color:#77c5ff;text-shadow:0 0 2px #d6efffcc,0 0 8px #1689ffb0,0 0 20px #1689ff77,1px 1px 1px #16446dcc}
@media(max-width:650px){.brand strong,.is-discovery .brand strong{font-size:21px;max-width:182px;line-height:1.17;letter-spacing:.015em}.brand-icon{flex-shrink:0}.brand small{font-size:8px}.head-right{flex-shrink:0}}
/* Larger title, with room for all four Chinese characters on phones */
.brand strong,.is-discovery .brand strong{font-size:36px}
html[lang="zh-CN"] .brand strong{font-size:44px;letter-spacing:.07em;font-style:normal}
@media(max-width:650px){.brand strong,.is-discovery .brand strong{font-size:26px;max-width:182px;line-height:1.15}html[lang="zh-CN"] .brand strong{font-size:38px;letter-spacing:.045em;white-space:nowrap}.is-discovery #header .wrap{height:98px}}
/* Align the title and language control at their upper edges. */
header .wrap,.is-discovery #header .wrap{align-items:flex-start;padding-top:22px;height:110px}
.head-right{align-items:flex-start}
.head-caption{padding-top:7px}
.brand{align-items:flex-start}
@media(max-width:650px){header .wrap,.is-discovery #header .wrap{height:110px;padding-top:22px}.brand strong,.is-discovery .brand strong{max-width:218px}}
.head-right{padding-top:6px}
/* Locally hosted calligraphy, deliberately larger than the earlier title. */
.brand strong,.is-discovery .brand strong{font-family:"Great Vibes",cursive;font-size:56px;font-weight:400;font-style:normal;line-height:.98;letter-spacing:0;max-width:430px;color:#8dd4ff;text-shadow:0 0 2px #e1f5ff9c,0 0 8px #2f9dff9c,0 0 20px #187ce15c,1px 2px 2px #072a4ac0}
html[lang="zh-CN"] .brand strong{font-family:"Ma Shan Zheng","Kaiti SC",KaiTi,cursive;font-size:60px;font-weight:400;font-style:normal;letter-spacing:.045em;line-height:1.08}
.brand-keep{white-space:nowrap}
.brand small{margin-top:11px}
header .wrap,.is-discovery #header .wrap{height:158px}
@media(max-width:650px){header .wrap,.is-discovery #header .wrap{height:142px;gap:12px}.brand{min-width:0}.brand strong,.is-discovery .brand strong{font-size:clamp(33px,10.5vw,44px);max-width:240px;line-height:1.03}html[lang="zh-CN"] .brand strong{font-size:clamp(38px,12.3vw,52px);letter-spacing:.025em;line-height:1.08}.brand small{margin-top:10px;letter-spacing:.22em}.is-discovery .hero-copy{top:clamp(170px,22svh,210px)}}
html:not([lang="zh-CN"]) .brand{padding-top:10px}
/* Rounded display lettering in a HuPo-like style for the Chinese title. */
html[lang="zh-CN"] .brand strong{font-family:"ZCOOL QingKe HuangYou",STHupo,"Arial Rounded MT Bold",sans-serif;font-style:normal;font-weight:400;-webkit-text-stroke:.65px #8dd4ff;letter-spacing:.035em}
/* Small twinkling stars around the title, away from its lettering. */
.brand{position:relative;isolation:isolate}
.title-sparkles{position:absolute;inset:0;pointer-events:none}
.title-sparkles i{position:absolute;display:block;width:10px;height:14px;background:#dff5ff;clip-path:polygon(50% 0,61% 35%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 35%);filter:drop-shadow(0 0 4px #74c7ff);animation:title-twinkle 2.8s ease-in-out infinite both}
.title-sparkles i:nth-child(1){left:5%;top:-14px;animation-delay:-.3s}
.title-sparkles i:nth-child(2){left:60%;top:-12px;width:7px;height:10px;animation-delay:-1.7s}
.title-sparkles i:nth-child(3){right:-12px;top:17%;width:11px;height:15px;animation-delay:-.9s}
.title-sparkles i:nth-child(4){left:-13px;top:42%;width:8px;height:11px;animation-delay:-2.2s}
.title-sparkles i:nth-child(5){right:-8px;top:72%;width:7px;height:10px;animation-delay:-1.2s}
.title-sparkles i:nth-child(6){left:38%;bottom:-10px;width:8px;height:12px;animation-delay:-2.6s}
.title-sparkles i:nth-child(7){right:12%;bottom:-11px;width:10px;height:14px;animation-delay:-.6s}
@keyframes title-twinkle{0%,100%{opacity:.12;transform:scale(.55) rotate(-8deg)}45%,60%{opacity:1;transform:scale(1.15) rotate(8deg)}}
@media(prefers-reduced-motion:reduce){.title-sparkles i{animation:none;opacity:.65}}
/* Quiet cinematic light for the full-screen chapel. */
.is-discovery .hero img{animation:chapel-breath 24s ease-in-out infinite alternate;transform-origin:60% 47%;will-change:transform}
.scene-light{position:absolute;inset:-12%;pointer-events:none;z-index:-1;background:conic-gradient(from 194deg at 83% 15%,transparent 0deg,#ffe1a52e 8deg,transparent 14deg,#fff2c91f 21deg,transparent 28deg);mix-blend-mode:screen;filter:blur(8px);transform-origin:83% 15%;animation:chapel-light 12s ease-in-out infinite alternate}
.ambient-dust{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.ambient-dust i{position:absolute;left:var(--x);top:var(--y);height:var(--s,3px);width:var(--s,3px);border-radius:50%;background:#ffeac0;box-shadow:0 0 8px 2px #ffd17633;animation:chapel-dust var(--d,14s) ease-in-out var(--delay,0s) infinite alternate both}
.ambient-dust i:nth-child(1){--x:65%;--y:19%;--d:13s;--delay:-3s}
.ambient-dust i:nth-child(2){--x:79%;--y:32%;--s:2px;--d:17s;--delay:-8s}
.ambient-dust i:nth-child(3){--x:88%;--y:24%;--d:15s;--delay:-11s}
.ambient-dust i:nth-child(4){--x:58%;--y:46%;--s:2px;--d:19s;--delay:-5s}
.ambient-dust i:nth-child(5){--x:71%;--y:41%;--d:16s;--delay:-9s}
.ambient-dust i:nth-child(6){--x:91%;--y:43%;--s:2px;--d:18s;--delay:-4s}
.ambient-dust i:nth-child(7){--x:83%;--y:17%;--s:2px;--d:14s;--delay:-7s}
.ambient-dust i:nth-child(8){--x:69%;--y:29%;--d:20s;--delay:-12s}
.ambient-dust i:nth-child(9){--x:94%;--y:36%;--s:2px;--d:16s;--delay:-10s}
.ambient-dust i:nth-child(10){--x:62%;--y:36%;--s:2px;--d:15s;--delay:-4s}
.ambient-dust i:nth-child(11){--x:77%;--y:48%;--s:2px;--d:18s;--delay:-14s}
.ambient-dust i:nth-child(12){--x:85%;--y:51%;--d:19s;--delay:-6s}
.ambient-dust i:nth-child(13){--x:96%;--y:28%;--s:2px;--d:17s;--delay:-2s}
.ambient-dust i:nth-child(14){--x:73%;--y:22%;--s:2px;--d:14s;--delay:-5s}
.is-discovery .hero h1{text-shadow:0 1px 8px #1b1005,0 0 18px #efbe5c33}
.is-discovery .hero-copy:after{content:"";display:block;width:72px;height:1px;margin-top:25px;background:linear-gradient(90deg,#f1cf85,transparent)}
.is-discovery #nav a.selected svg{filter:drop-shadow(0 0 5px #f7d08055)}
.iconbtn:active,.btn:active{transform:scale(.97)}
@keyframes chapel-breath{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes chapel-light{from{opacity:.28;transform:rotate(-2deg)}to{opacity:.62;transform:rotate(2deg)}}
@keyframes chapel-dust{0%{transform:translate(0,12px);opacity:.06}40%{opacity:.56}75%{opacity:.3}100%{transform:translate(-16px,-46px);opacity:.08}}
@media(prefers-reduced-motion:reduce){.is-discovery .hero img,.scene-light,.ambient-dust i{animation:none;will-change:auto}.scene-light{opacity:.25}.ambient-dust i{opacity:.2}}
/* More visible movement and light within the first few seconds. */
.is-discovery .hero img{animation-duration:6s;animation-timing-function:ease-in-out;transform-origin:58% 50%}
@keyframes chapel-breath{from{transform:scale(1.015) translate3d(-.4%,.3%,0)}to{transform:scale(1.13) translate3d(.6%,-.6%,0)}}
.scene-light{z-index:0;inset:-8%;background:conic-gradient(from 194deg at 81% 13%,transparent 0deg,#ffe5aa70 7deg,transparent 13deg,#fff0c455 19deg,transparent 27deg);filter:blur(4px);animation-duration:3.8s}
.ambient-dust{z-index:1}
.ambient-dust i{width:calc(var(--s,3px) + 3px);height:calc(var(--s,3px) + 3px);background:#fff1b7;box-shadow:0 0 5px 2px #ffda8677,0 0 12px 4px #ffca493b;animation-duration:calc(var(--d,15s) / 3)}
.is-discovery .hero-copy,.is-discovery .hero-caption{z-index:2}
@keyframes chapel-light{from{opacity:.4;transform:rotate(-7deg)}to{opacity:.95;transform:rotate(5deg)}}
@keyframes chapel-dust{0%{transform:translate(10px,30px) scale(.65);opacity:.3}35%{opacity:1}70%{opacity:.75}100%{transform:translate(-30px,-100px) scale(1.15);opacity:.4}}
@media(prefers-reduced-motion:reduce){.is-discovery .hero img,.scene-light,.ambient-dust i{animation:none}.scene-light{opacity:.3}.ambient-dust i{opacity:.5}}
/* A blue musical setting for the search collection. */
body.is-search{background:#082859;color:#eef7ff;background-image:radial-gradient(ellipse at 90% 10%,#257bd7aa,transparent 58%),radial-gradient(ellipse at 5% 80%,#164eac88,transparent 60%),linear-gradient(145deg,#0c4489 0%,#123968 48%,#091b43 100%);background-attachment:fixed;min-height:100svh}
.search-score{position:fixed;inset:118px 0 76px;z-index:0;pointer-events:none;background:url('assets/search-score.svg') center/100% 100% no-repeat;opacity:.57}
.is-search #header{position:relative;z-index:2;background:#082c5c44;border-color:#b8ddff24}
.is-search #header .head-caption,.is-search .brand small{color:#c1daf4}
.is-search .language{background:#08274f66;border-color:#9bc9ee66;color:#e6f4ff}
.is-search .language option{background:#0c2f61;color:#eff8ff}
.is-search main{position:relative;z-index:1}
.is-search .page-heading{padding-top:48px;padding-bottom:27px}
.is-search .page-heading h1{color:#f1f8ff;text-shadow:0 0 18px #9cd5ff33;font-size:46px}
.is-search .page-heading p{color:#bfd6f0}
.is-search .eyebrow{color:#a8d4fc}
.is-search .searchbox{border-color:#a3d4fc7a;border-radius:10px;background:#edf7ffed;box-shadow:0 8px 30px #04172d33;color:#40668b;padding:15px 19px}
.is-search .searchbox input{color:#193b61}
.is-search .searchbox input::placeholder{color:#6685a1}
.is-search .searchbox:focus-within{border-color:#d6f0ff;box-shadow:0 0 0 3px #7dc8ff26,0 8px 30px #04172d33}
.is-search .chip{border-color:#b4dcff45;color:#d2e7fc;background:#0a29544a}
.is-search .chip.selected{color:#093768;background:#c2e4ff;border-color:#c2e4ff;box-shadow:0 0 18px #9bd6ff22}
.is-search .list{border-top:0;padding:0 24px;border-radius:12px;background:linear-gradient(140deg,#10396bcf,#10284bd9);border:1px solid #a5d4ff36;box-shadow:0 14px 36px #020f242e;backdrop-filter:blur(7px)}
.is-search .hymn-row{border-color:#a4cdef2b}
.is-search .hymn-row:last-child{border-bottom:0}
.is-search .number{color:#99c5ed}
.is-search .row-copy h3{color:#eff8ff}
.is-search .row-copy small{color:#a6c8e8}
.is-search .row-copy p{color:#c2d9f0}
.is-search .iconbtn{color:#c0dcf4}
.is-search .iconbtn:hover{background:#b2dfff14}
.is-search .iconbtn.active{color:#e8c9ef;background:#c6b8eb26}
.is-search .iconbtn.active svg{fill:#dfc8f15c}
.is-search .round-play{background:#cae8ff;color:#174271;box-shadow:0 0 16px #b4dfff22}
.is-search .footer{color:#a7c5e5}
.is-search .empty{background:#10305bca;border:1px solid #a5d4ff36;border-radius:12px;color:#bcd6f0}
.is-search .empty h3{color:#edf7ff}
.is-search .empty .btn{background:#c2e4ff;color:#0b3869}
.is-search #nav{background:#091e40e8;border-color:#aad6ff33}
.is-search #nav a{color:#9dbfdd}
.is-search #nav a.selected{color:#d4edff}
@media(max-width:650px){.search-score{inset:106px -17px 77px;opacity:.62}.is-search main>.wrap{padding-left:27px;padding-right:27px}.is-search .page-heading{padding-top:45px}.is-search .page-heading h1{font-size:36px}.is-search .page-heading p{font-size:13px}.is-search .list{padding:0 14px}.is-search .hymn-row{gap:8px;grid-template-columns:24px 1fr auto}.is-search .row-copy h3{font-size:18px}.is-search .number{font-size:22px}.is-search .row-actions .iconbtn{width:30px}.is-search .row-actions .round-play{width:32px;height:32px}}
.is-search .filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;overflow:visible;padding-bottom:22px}
.is-search .filters .chip{border-radius:9px;min-height:46px;white-space:normal;line-height:1.4;padding:10px 12px}
@media(max-width:650px){.is-search .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.is-search .filters .chip{font-size:13px;min-height:46px}}

/* Category selection and rising hymn menu */
.is-search .filters .chip{transition:background .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .3s ease}
.is-search .filters .chip.selected{color:#132e52;background:linear-gradient(135deg,#fff0bd,#e9bf61);border-color:#ffe3a0;box-shadow:0 0 22px #ffd77b66;transform:translateY(-2px)}
.is-search #results.menu-reveal{animation:hymn-menu-rise .7s cubic-bezier(.2,.65,.3,1) both}
@keyframes hymn-menu-rise{from{opacity:0;transform:translateY(65px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.is-search #results.menu-reveal{animation:none}.is-search .filters .chip{transition:none}}

.is-search .hymn-title{display:flex;align-items:center;min-height:48px;padding:10px 0;border-bottom:1px solid #a4cdef2b;text-decoration:none;color:#f2f8ff;font-family:Georgia,"Songti SC",serif;font-size:18px;line-height:1.45;transition:color .2s ease}.is-search .hymn-title:last-child{border-bottom:0}.is-search .hymn-title:hover{color:#ffe1a0}

.is-search .page-heading{padding-top:18px;padding-bottom:18px}.is-search .page-heading p{margin-top:8px}.is-search .filters{padding-bottom:16px}
/* A concert programme, kept compact for browsing. */
.is-search .list{border-color:#d9bb7666;border-radius:3px;padding:2px 18px;background:linear-gradient(115deg,#183d69eb,#102a50ed);box-shadow:inset 0 0 0 4px #d8b86b09,0 12px 30px #020f242e}
.is-search .hymn-title{position:relative;border-bottom-color:#d5ba6b55;letter-spacing:.025em;transition:color .25s,background .25s,text-shadow .25s}
.is-search .hymn-title:hover,.is-search .hymn-title:focus-visible,.is-search .hymn-title:active{color:#ffe8ae;background:linear-gradient(90deg,#eac66c15,transparent);text-shadow:0 0 14px #ffd67b66}
.is-search .filters .chip{position:relative;overflow:hidden}
.is-search .filters .chip.selected:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#fff9dd99 50%,transparent 80%);transform:translateX(-130%);animation:key-shimmer 1s ease-out}
@keyframes key-shimmer{to{transform:translateX(130%)}}
/* Warm paper and engraved musical flourishes on hymn reading pages. */
body.is-hymn{background-color:#f5efdf;background-image:radial-gradient(ellipse at 15% 0%,#fffdf4cc,transparent 70%),repeating-linear-gradient(0deg,#a58a5005 0px,#a58a5005 1px,transparent 1px,transparent 4px);color:#382f27}
.is-hymn #header{background:#f6efdfed;border-color:#c9b27a66}
.is-hymn .detail-head{position:relative}
.is-hymn .detail-head:after{content:'𝄞';position:absolute;right:8px;top:48px;color:#aa844328;font-family:Georgia,serif;font-size:124px;line-height:1;pointer-events:none;z-index:-1}
.is-hymn .detail-head h1{color:#634823;text-shadow:0 1px #fff8e4;letter-spacing:.015em}
.is-hymn .original-title{color:#917347;font-style:italic}
.is-hymn .detail-tabs{border-bottom-color:#b69a5c66}
.is-hymn .detail-tabs button.active{color:#76521d;border-bottom-color:#b38c40}
.is-hymn .detail-content{position:relative;background:#fffaf0a6;padding:28px;border:1px solid #c9ad7366;box-shadow:0 9px 30px #6048200a,inset 0 0 40px #dbc68e14;border-radius:3px}
.is-hymn .quote-box{position:relative;background:linear-gradient(120deg,#eee1bf99,#fbf5e5);border-left:2px solid #b28a3e}
.is-hymn .quote-box:after{content:'✦';display:block;text-align:center;color:#b08a42;font-size:18px;letter-spacing:.4em;margin-top:12px}
.is-hymn .quote-box blockquote{color:#6c512a}
.is-hymn .sources{border-color:#c9b27a66}
.is-hymn #nav{background:#f8f2e6ed;border-color:#c9b27a66}
@media(max-width:650px){.is-hymn .detail-content{padding:19px 16px}.is-hymn .detail-head:after{font-size:100px;top:60px;right:0}.is-search .list{padding:2px 14px}}
@media(prefers-reduced-motion:reduce){.is-search .filters .chip.selected:after{animation:none;display:none}}
/* Listening stage: soft surrounding darkness and a warm, steady halo. */
.is-hymn .video-shell{position:relative;overflow:hidden;border:1px solid #b99a5b88;border-radius:7px;box-shadow:0 5px 22px #6e4b2026;transition:box-shadow 1.1s ease,border-color 1.1s ease}
.is-listening #video-shell{z-index:30;border-color:#f4d390;box-shadow:0 0 0 1px #edcb8c99,0 0 24px 5px #e6b45766,0 0 60px 10px #e6b45733,0 0 0 200vmax #100e18b8}
.is-listening .video-buttons{position:relative;z-index:31}
.is-listening .video-buttons .btn{box-shadow:0 3px 15px #0004}
.is-listening .video-buttons .btn.outline{background:#fbf2dd;border-color:#d0b271}
@media(prefers-reduced-motion:reduce){.is-hymn .video-shell{transition:none}}
/* Scattered notes frame the search page without taking up menu space. */
.ambient-notes{position:fixed;inset:120px 0 80px;pointer-events:none;z-index:0;overflow:hidden}
.ambient-notes span{position:absolute;color:#a8d9ff;font:32px Georgia,serif;opacity:.5;text-shadow:0 0 12px #83c7ff88;animation:ambient-note-drift 5s ease-in-out infinite alternate,ambient-note-light 4s ease-in-out infinite}
.ambient-notes span:nth-child(1){left:4%;top:5%;font-size:39px;animation-delay:-1s,-2s}
.ambient-notes span:nth-child(2){right:7%;top:8%;font-size:43px;animation-delay:-3s,-1s}
.ambient-notes span:nth-child(3){left:2%;top:27%;font-size:27px;animation-delay:-2s,-3s}
.ambient-notes span:nth-child(4){right:2%;top:32%;font-size:34px;animation-delay:-4s,-2s}
.ambient-notes span:nth-child(5){left:4%;top:53%;animation-delay:-1s,-.5s}
.ambient-notes span:nth-child(6){right:3%;top:60%;font-size:39px;animation-delay:-2s,-1s}
.ambient-notes span:nth-child(7){left:11%;bottom:13%;font-size:38px;animation-delay:-3s,-2s}
.ambient-notes span:nth-child(8){right:13%;bottom:11%;font-size:42px;animation-delay:-1s,-3s}
.ambient-notes span:nth-child(9){left:32%;bottom:3%;font-size:29px;animation-delay:-4s,-1s}
.ambient-notes span:nth-child(10){right:33%;bottom:5%;font-size:34px;animation-delay:-2s,-3s}
.ambient-notes span:nth-child(11){left:24%;top:3%;font-size:24px;animation-delay:-3s,-2s}
.ambient-notes span:nth-child(12){right:26%;top:4%;font-size:28px;animation-delay:-1s,-.5s}
@keyframes ambient-note-drift{from{transform:translateY(7px) rotate(-9deg)}to{transform:translateY(-13px) rotate(7deg)}}
@keyframes ambient-note-light{0%,100%{opacity:.3;color:#a8d9ff}50%{opacity:.75;color:#f7d68d;text-shadow:0 0 14px #f5ce7b88}}
@media(max-width:650px){.ambient-notes{inset:115px 0 80px}.ambient-notes span{font-size:26px!important}.ambient-notes span:nth-child(3),.ambient-notes span:nth-child(5){left:0}.ambient-notes span:nth-child(4),.ambient-notes span:nth-child(6){right:0}}
@media(prefers-reduced-motion:reduce){.ambient-notes span{animation:none;opacity:.45}}
.ambient-notes span:nth-child(3),.ambient-notes span:nth-child(4),.ambient-notes span:nth-child(5),.ambient-notes span:nth-child(6){display:none}
.faith-resources,.contact-section{margin-top:34px;padding-top:4px;border-top:1px solid #d4c3a1}.faith-links{padding-left:22px;margin:18px 0 0}.faith-links li{padding:12px 0;border-bottom:1px solid #e0d4c0;color:#94703c}.faith-links li:last-child{border-bottom:0}.faith-links a{display:block;text-decoration:none;color:#6b5030}.faith-links strong{font-family:Georgia,"Songti SC",serif;font-weight:400;font-size:18px}.faith-links small{display:block;font-size:11px;overflow-wrap:anywhere;color:#887864;margin-top:4px}.faith-links a:hover strong{color:#986e21}.contact-section .btn{background:#76582e;margin:3px 0 13px}.about-block .contact-email{font-size:13px;overflow-wrap:anywhere}.contact-email a{color:#76582e;text-underline-offset:4px}
.about-block h2{font-size:19px;line-height:1.35;margin:20px 0 7px}.about-block p{font-size:14px;line-height:1.5;margin-bottom:10px}.about-block .page-heading{padding-top:24px;padding-bottom:10px}.about-block .page-heading h1{font-size:30px}.faith-resources,.contact-section{margin-top:22px}.faith-links{margin-top:10px}.faith-links li{padding:9px 0}.faith-links strong{font-size:16px}.faith-links a.faith-same-page{display:inline-block;font-size:12px;text-decoration:underline;text-underline-offset:3px;margin-top:5px;min-height:32px;padding:5px 0;color:#7b6038}.about-block .tag{font-size:20px;margin:24px 0}
/* A luminous gold setting for hymn details. */
body.is-hymn{background-color:#e4c477;background-image:radial-gradient(ellipse at 10% 5%,#fff7d9d9,transparent 58%),radial-gradient(ellipse at 95% 45%,#c7984059,transparent 62%),linear-gradient(145deg,#fff0bd 0%,#e9ce89 40%,#d4ae59 75%,#f5dfa3 100%);background-attachment:fixed}
.is-hymn #header{background:#f7e3a6d9;border-color:#af863a55}.is-hymn .detail-tabs{background:#f6e6b7e6}.is-hymn .detail-content{background:linear-gradient(135deg,#fff7dbeb,#f2dda9e8);border-color:#b28a4566}.is-hymn .quote-box{background:linear-gradient(120deg,#e7c77988,#fff0c5)}.is-hymn #nav{background:#f6e5b8f2}
/* Animated staves frame the gold hymn pages at top and bottom. */
.is-hymn main{position:relative;isolation:isolate}.hymn-score{position:fixed;inset:160px 0 76px;z-index:-1;pointer-events:none;background:url('assets/hymn-score.svg') center/100% 100% no-repeat;opacity:.6}.is-hymn main>.wrap{position:relative}.is-hymn .detail-content{background:linear-gradient(135deg,#fff7dbeb,#f2dda9e8)}
@media(max-width:650px){.hymn-score{inset:120px -12px 77px;opacity:.58}}
