/* ---------- design pass: mandala, garland, week view ---------- */
:root{--marigold:#E3A52C;--hertford:#C86F14;--hertford-bg:#F9E8D2;--ware:#2E6A5C;--ware-bg:#DCEAE3;--wgc:#A9791A;--wgc-bg:#F6ECC9}
::selection{background:#F3D3A6;color:var(--ink)}
@keyframes turn{to{transform:rotate(360deg)}}

/* hero */
.hero-wrap{overflow:clip}
.hero h1{font-size:clamp(2.3rem,5vw,3.9rem);line-height:1.08;letter-spacing:-.02em;font-variation-settings:"opsz" 144,"SOFT" 30}
.hero h1 em{font-style:italic;font-weight:400;color:var(--saffron-deep);font-variation-settings:"opsz" 144,"SOFT" 100,"WONK" 1}
.hero .eyebrow .sep{display:inline-block;width:1.8rem;height:1px;background:currentColor;vertical-align:middle;margin:0 .55rem;opacity:.6}
.hero .lede{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.4;color:var(--green);margin:1.2rem 0 1.1rem;font-variation-settings:"opsz" 36,"SOFT" 100}
.hero p:not(.lede):not(.eyebrow){max-width:34rem}
.hero-img{isolation:isolate}
.hero-img::before{display:none}
.hero-img .mandala{position:absolute;inset:-20%;z-index:-1;background:var(--saffron);opacity:.38;-webkit-mask:url(/static/logo/mandala.svg) center/contain no-repeat;mask:url(/static/logo/mandala.svg) center/contain no-repeat;animation:turn 300s linear infinite}
.hero-img img{box-shadow:0 30px 60px -30px rgba(36,33,29,.45)}

/* garland: marigold scallops hanging below the timetable band */
.band.garland{position:relative}
.band.garland::after{content:"";position:absolute;left:0;right:0;top:100%;height:15px;z-index:2;background:radial-gradient(circle at 50% 0,var(--green) 12px,transparent 12.6px) center top/28px 15px repeat-x}
.band.garland::before{content:"";position:absolute;left:0;right:0;top:calc(100% + 13px);height:8px;z-index:2;background:radial-gradient(circle,var(--marigold) 2.6px,transparent 3.1px) center/28px 8px repeat-x}
.band.garland+.band{padding-top:calc(clamp(3rem,7vw,5rem) + 20px)}

/* week view */
.band-head h2{font-size:clamp(1.9rem,3.6vw,2.6rem)}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--paper);border-radius:var(--radius);overflow:hidden;color:var(--ink);box-shadow:0 24px 50px -30px rgba(0,0,0,.5)}
.week .med{grid-column:1/-1;display:block;text-align:center;padding:.7rem 1rem;background:var(--sand);color:var(--ink);text-decoration:none;font-size:.98rem}
.week .med span{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--green);margin-right:.3rem}
.week .med:hover{background:var(--sand-2)}
.week .dayhead{padding:.8rem .4rem .6rem;text-align:center;font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);border-left:1px solid var(--line)}
.week .dayhead .full{display:none}
.week .daycol{min-height:10.5rem;padding:.2rem .45rem .9rem;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:.5rem}
.week .dayhead.first,.week .daycol.first{border-left:0}
.week .daycol.none::after{content:"";margin:auto;width:5px;height:5px;border-radius:50%;background:var(--line)}
.slot{--c:var(--hertford);--bg:var(--hertford-bg);display:flex;flex-direction:column;gap:.1rem;padding:.7rem .7rem .75rem;border-radius:10px;background:var(--bg);border-top:3px solid var(--c);color:var(--ink);text-decoration:none;transition:transform .15s,box-shadow .15s}
.slot:hover{transform:translateY(-2px);box-shadow:0 10px 20px -12px rgba(36,33,29,.4);color:var(--ink)}
.slot.hertford,.tt-card.hertford,.loc.hertford{--c:var(--hertford);--bg:var(--hertford-bg)}
.slot.ware,.tt-card.ware,.loc.ware{--c:var(--ware);--bg:var(--ware-bg)}
.slot.wgc,.tt-card.wgc,.loc.wgc{--c:var(--wgc);--bg:var(--wgc-bg)}
.slot .town{font-family:var(--serif);font-weight:600;font-size:1.05rem;line-height:1.2}
.slot .time{font-weight:600;font-size:.93rem}
.slot .venue{font-size:.85rem;color:#4a443d;line-height:1.35}
.tt-card{border-left:4px solid var(--c,var(--line))}
@media (max-width:900px){.week{display:none}.tt-cards{display:grid}}
@media (min-width:901px){.tt-cards{display:none}}

/* location cards */
.loc{border-top:4px solid var(--c,var(--line))}
.loc-img{display:block;overflow:hidden;aspect-ratio:16/10}
.loc-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.loc:hover .loc-img img{transform:scale(1.05)}
.loc .more{color:var(--ink)}

/* pop-up ashram feature */
.band.ashram{padding-bottom:0}
.ashram-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.ashram-img img{width:100%;aspect-ratio:4/4.6;object-fit:cover;border-radius:999px 999px var(--radius) var(--radius)}
.ashram-body>h2:first-child{font-size:clamp(1.9rem,3.8vw,2.9rem);margin:0 0 1.4rem;line-height:1.12}
.ashram-body h2:not(:first-child),.ashram-body h3{font-family:var(--sans);font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--saffron-deep);font-weight:600;margin:0 0 .6rem}
.ashram-body p{font-family:var(--serif);font-style:italic;font-size:1.3rem;color:var(--green);margin:0 0 1.6rem}
.ashram-body p a{display:inline-flex;font:600 1rem var(--sans);font-style:normal;background:var(--saffron);color:#fff;text-decoration:none;padding:.7rem 1.25rem;border-radius:999px}
.ashram-body p a::after{content:"\2192";margin-left:.5em}
.ashram-body p a:hover{background:var(--saffron-deep)}
@media (max-width:760px){.ashram-grid{grid-template-columns:1fr}.ashram-img{max-width:22rem}}

/* home copy */
.home-copy .prose>p:first-child{font-family:var(--serif);font-size:clamp(1.25rem,2.2vw,1.5rem);line-height:1.45;color:var(--green);font-variation-settings:"opsz" 36,"SOFT" 60}
.home-copy ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.1rem 2rem;margin:1.4rem 0 1.8rem}
.home-copy li{padding:.55rem 0 .55rem 1.9rem;border-bottom:1px solid var(--line);background:url(/static/logo/mark.svg) left center/1.15rem no-repeat;margin:0}
@media (max-width:520px){.home-copy ul{grid-template-columns:1fr}}

/* closing band */
.closing{text-align:center}
.closing .prose h2{font-size:clamp(1.8rem,3.6vw,2.6rem);margin:.9rem 0 1rem}
.closing .buttons{margin-top:1.8rem}
.orn{display:block;width:2.6rem;height:2.6rem;margin:0 auto;background:url(/static/logo/mark.svg) center/contain no-repeat}

/* inner pages */
.page-head{padding-bottom:2rem}
.page-head h1{font-size:clamp(2.2rem,5vw,3.5rem);line-height:1.1;letter-spacing:-.018em;font-variation-settings:"opsz" 144,"SOFT" 30}
.page-head h1::after{content:"";display:block;width:3.2rem;height:2px;background:var(--saffron);margin-top:1.6rem}
.page-body>p:first-child{font-family:var(--serif);font-size:clamp(1.2rem,2vw,1.38rem);line-height:1.5;color:#2f3b36;font-variation-settings:"opsz" 36,"SOFT" 60}
.prose h2{margin-top:2.6em}
.prose h2+h3{margin-top:1em}
hr{height:1.5rem;background:url(/static/logo/mark.svg) center/1.3rem no-repeat,linear-gradient(var(--line),var(--line)) left center/calc(50% - 1.4rem) 1px no-repeat,linear-gradient(var(--line),var(--line)) right center/calc(50% - 1.4rem) 1px no-repeat}
blockquote{border-left:0;padding:0 0 0 2.6rem;position:relative;font-size:1.25rem;line-height:1.5;color:var(--green)}
blockquote::before{content:"\201C";position:absolute;left:0;top:-.35rem;font-family:var(--serif);font-size:3.6rem;line-height:1;color:var(--saffron);font-style:normal}
.pullquote blockquote{padding:0}
.pullquote blockquote::before{display:none}
.stars{font-size:1rem;letter-spacing:.2em;margin:-.3rem 0 1.8rem;padding-bottom:1.6rem;border-bottom:1px solid var(--line)}
.facts-inner{position:relative;overflow:hidden}
.facts-inner::after{content:"";position:absolute;right:-70px;top:50%;width:220px;height:220px;transform:translateY(-50%);background:var(--paper);opacity:.09;-webkit-mask:url(/static/logo/mandala.svg) center/contain no-repeat;mask:url(/static/logo/mandala.svg) center/contain no-repeat;pointer-events:none}
.facts-inner>div{position:relative;z-index:1}
.email-cta{background:var(--green);color:var(--paper);padding:1.6rem 1.8rem;position:relative;overflow:hidden}
.email-cta p{color:var(--paper);font-style:italic}
.email-cta::after{content:"";position:absolute;right:-60px;top:50%;width:200px;height:200px;transform:translateY(-50%);background:var(--paper);opacity:.1;-webkit-mask:url(/static/logo/mandala.svg) center/contain no-repeat;mask:url(/static/logo/mandala.svg) center/contain no-repeat;pointer-events:none}
.email-cta .btn{position:relative;z-index:1}
.video{box-shadow:0 24px 50px -30px rgba(36,33,29,.5)}
.prose figure img{box-shadow:0 20px 40px -28px rgba(36,33,29,.45)}
.prose .gallery img{box-shadow:none}

/* blog cards */
.post-card{transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px -22px rgba(36,33,29,.35)}
.post-card a.img{overflow:hidden}
.post-card a.img img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.post-card:hover a.img img{transform:scale(1.04)}
.post-card h3{font-size:1.3rem;line-height:1.25}
.post-card .date{letter-spacing:.08em;text-transform:uppercase;font-size:.75rem}

/* footer */
.site-footer{position:relative;overflow:hidden}
.site-footer::before{content:"";position:absolute;right:-180px;bottom:-220px;width:620px;height:620px;background:var(--paper);opacity:.07;-webkit-mask:url(/static/logo/mandala.svg) center/contain no-repeat;mask:url(/static/logo/mandala.svg) center/contain no-repeat;animation:turn 400s linear infinite;pointer-events:none}
.site-footer .wrap{position:relative}
.foot p{max-width:22rem;color:#cfd9d4}

@media (prefers-reduced-motion:reduce){.hero-img .mandala,.site-footer::before{animation:none}}
.band-head h2{margin-bottom:.4rem}
.slot .time{font-size:.9rem;text-wrap:balance}
