.mobile-event-preview{display:none}
body.event-calendar-open{overflow:hidden}
#event-calendar{position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 48px));height:min(800px,90dvh);max-width:none;max-height:none;padding:0;border:0;background:var(--bg);color:var(--ink)}
#event-calendar::backdrop{background:#16201499}
.calendar-shell{height:100%;display:flex;flex-direction:column}
.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 16px;flex-shrink:0}
.calendar-header h2{font-size:var(--type-subheading)}
.calendar-close,.calendar-month button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);background:transparent;color:var(--ink);padding:8px}
.calendar-close{font-size:24px}
.calendar-month{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 24px 16px;border-bottom:1px solid var(--line);flex-shrink:0}
.calendar-month-title{font-size:18px;font-weight:500}
.calendar-month button:disabled{opacity:.3;cursor:default}
.calendar-events{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 24px max(24px,env(safe-area-inset-bottom));scroll-padding-top:8px}
.calendar-event{border-bottom:1px solid var(--line)}
.calendar-event-toggle{width:100%;display:flex;align-items:center;gap:16px;text-align:left;border:0;background:transparent;padding:20px 0;color:var(--ink)}
.calendar-event-toggle time{flex:0 0 58px;font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}
.calendar-event-toggle time span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}
.calendar-event-heading{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.calendar-event-name{font-size:16px;font-weight:500;line-height:1.3}
.calendar-event-time{font-size:13px;color:var(--muted)}
.weekly-label{font-family:var(--font-accent);font-size:18px;line-height:1.2;font-weight:400;color:var(--sage);letter-spacing:.04em}
.calendar-chevron{font-size:20px;flex:0 0 16px}
.calendar-event-detail{padding:0 0 24px 74px}
.calendar-event-detail p{font-size:16px;margin:0 0 16px;line-height:1.6}
.calendar-event-detail .button{width:100%;font-size:16px;text-align:center;justify-content:center}
.calendar-price{font-weight:500!important}
.calendar-empty{margin-top:24px}
/* Shared event preview on mobile and desktop. */
 .home-page .upcoming-preview{background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
 .home-page .upcoming-preview .event-feature,.home-page .upcoming-preview .event-feature-card{background:#fff}
 .mobile-events-ready .home-page .upcoming-preview>.section-heading,.mobile-events-ready .home-page .upcoming-preview>#event-grid{display:none}
 .mobile-events-ready .mobile-event-preview{display:block}
 .mobile-event-preview>h2{margin:0 0 24px;max-width:18ch}
 .event-feature{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:24px;text-align:left;border:0;background:var(--bg);color:var(--ink)}
 .feature-date{font-size:12px;font-weight:500;color:var(--action);margin-bottom:16px}
 .feature-name{font-family:var(--font-accent);font-size:36px;font-weight:400;line-height:1.15;margin-bottom:12px}
 .feature-copy{font-size:16px;font-weight:400;line-height:1.6;max-width:30ch}
 .feature-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px;margin-top:24px;font-size:13px;font-weight:400}
 .event-feature-card{background:var(--bg)}
 .event-feature[aria-expanded=true]{padding-bottom:16px}
 .event-feature[aria-expanded=true] .feature-copy{display:none}
 .event-feature-detail{padding:0 24px 24px}
 .event-feature-detail[hidden]{display:none}
 .event-feature-detail p{font-size:16px;line-height:1.6;margin:0 0 16px}
 .event-feature-detail .text-link{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
 .event-dates{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/5);grid-template-columns:none;gap:4px;margin-top:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#738561 transparent;padding-bottom:8px}
 .event-date-choice{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:100px;background:transparent;border:0;border-top:2px solid var(--line);padding:8px 1px;color:var(--ink)}
 .event-date-choice[aria-pressed=true]{background:#e6eadd;border-color:var(--sage)}
 .choice-weekday{font-size:11px;text-transform:uppercase;font-weight:400}
 .choice-date{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
 .choice-name{font-size:11px;font-weight:400;line-height:1.4;overflow-wrap:normal;max-width:100%}
 .event-all{display:block;margin:16px auto 32px 0;text-align:left;min-height:44px;padding:8px 0;background:none;border:0;font-size:14px;text-decoration:underline;text-underline-offset:5px;color:var(--ink)}
@media(max-width:760px){
 #event-calendar{width:100%;height:100dvh;max-height:100%;margin:0}
 .calendar-header{padding-top:max(24px,env(safe-area-inset-top))}
}
@media(max-width:380px){.calendar-event-detail{padding-left:0}.calendar-header,.calendar-month{padding-left:16px;padding-right:16px}.calendar-events{padding-inline:16px}.event-feature{padding:24px 16px}.event-feature-detail{padding-inline:16px}}

 .choice-special{display:flex;align-items:center;justify-content:center;min-height:32px;font-family:var(--font-accent);font-size:14px;font-weight:400;line-height:1.1;color:var(--sage);text-align:center;max-width:100%}
 .choice-name{overflow-wrap:anywhere}

.pilates-event-icon{display:block;width:32px;height:24px;flex-shrink:0;color:var(--sage)}
.pilates-calendar-label{display:block;color:var(--sage)}
.feature-chevron{flex:0 0 18px;color:#738561;transition:transform .2s ease}
.event-feature[aria-expanded=true] .feature-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.feature-chevron{transition:none}}

@media(min-width:761px){
 .mobile-event-preview>h2{max-width:none;margin-bottom:32px}
 .event-feature{padding:32px}
 .feature-date{font-size:14px}
 .feature-name{font-size:48px}
 .feature-copy{font-size:18px;max-width:65ch}
 .feature-bottom{font-size:16px}
 .event-feature-detail{padding:0 32px 32px;max-width:75ch}
 .event-feature-detail p{font-size:18px}
 .event-dates{gap:16px;grid-auto-columns:calc((100% - 64px)/5);margin-top:32px}
 .event-date-choice{padding:16px 8px;min-height:144px;gap:8px}
 .choice-weekday{font-size:14px}
 .choice-special{font-size:20px}
 .choice-date{font-size:24px}
 .choice-name{font-size:16px}
 .event-all{font-size:16px}
 .event-date-choice:hover{background:#73856112}
 .event-date-choice[aria-pressed=true]:hover{background:#e6eadd}
}
.event-feature:focus-visible,.event-date-choice:focus-visible,.event-all:focus-visible{outline:2px solid #738561;outline-offset:-2px}

/* Month overview and day agenda share one scroll area. */
#event-calendar{background:#fff}
.calendar-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.calendar-month-view{padding:24px 24px 0}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-weekdays{margin-bottom:8px;text-align:center;color:var(--muted);font-size:12px}
.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:56px;padding:6px 0;border:1px solid transparent;background:transparent;color:var(--ink);font-family:var(--font-brand);font-size:16px;line-height:1.3}
.calendar-day:hover{background:#73856112}
.calendar-day.has-range{background:#edf0e7;border-bottom:3px solid #738561}
.calendar-day[aria-current=date]>span:first-child{text-decoration:underline;text-underline-offset:4px}
.calendar-day[aria-pressed=true]{background:#738561;color:#fff}
.calendar-day:disabled{color:#b5b5af;cursor:default;background:transparent}
.calendar-day:focus-visible,.calendar-range:focus-visible{outline:2px solid #738561;outline-offset:1px;z-index:1}
.calendar-day-dots{display:flex;justify-content:center;gap:3px;height:4px}
.calendar-day-dots i{width:4px;height:4px;border-radius:50%;background:currentColor}
.calendar-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0;font-size:12px;color:var(--muted)}
.calendar-legend>span{width:5px;height:5px;border-radius:50%;background:#738561}
.calendar-legend>i{width:16px;height:8px;background:#edf0e7;border-bottom:2px solid #738561;margin-left:8px}
.calendar-range{display:flex;justify-content:space-between;gap:16px;width:100%;padding:12px 16px;border:0;border-left:3px solid #738561;background:#edf0e7;text-align:left;color:var(--ink);font-family:var(--font-brand);font-size:14px;line-height:1.5;margin-top:8px}
.calendar-range>span:last-child{white-space:nowrap}
.calendar-events{overflow:visible;padding:24px 24px 0;flex:none}
.calendar-day-heading{font-family:var(--font-brand);font-size:18px;line-height:1.4;font-weight:500;margin:0 0 8px}
.calendar-empty{font-size:14px;line-height:1.6;margin:16px 0}
@media(max-width:380px){.calendar-month-view{padding:16px 16px 0}.calendar-events{padding:24px 16px 0}.calendar-days{gap:2px}.calendar-day{min-height:48px}.calendar-range{font-size:12px;padding:12px}}
.event-range-bar{min-width:0;min-height:32px;display:flex;align-items:center;border:0;background:#738561;color:#fff;padding:8px 12px;text-align:left;font-family:var(--font-brand);font-size:12px;line-height:1.4}
.event-range-bar>span{position:sticky;left:12px;max-width:calc(100vw - 72px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-range-bar:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}

/* The Antipasti image is tied to its event and disappears when another event is selected. */
.event-feature-with-photo .feature-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%}
.event-feature-with-photo .feature-photo{display:block;width:240px;max-width:100%;height:auto;aspect-ratio:800/787;object-fit:contain;flex:none;align-self:center}
@media(min-width:761px){
 .event-feature.event-feature-with-photo{flex-direction:row;align-items:center;justify-content:space-between;gap:32px}
 .event-feature-with-photo .feature-text{flex:1}
 .event-feature-with-photo .feature-photo{width:clamp(180px,22vw,280px)}
}
@media(max-width:760px){
 .event-feature-with-photo .feature-photo{width:160px;margin-top:16px}
}

/* On phones the small plus reveals the complete Antipasti plate and offer details. */
.feature-toggle-plus{display:none}
.feature-photo-frame{display:block;flex:none;align-self:center}
@media(max-width:760px){
 .feature-chevron{display:none}
 .feature-toggle-plus{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;font:400 20px/1 var(--font-brand);color:#738561}
 .feature-toggle-plus::before{content:"+"}
 .event-feature[aria-expanded=true] .feature-toggle-plus::before{content:"−"}
 .event-feature-with-photo .feature-photo-frame{width:160px;max-width:100%;max-height:79px;overflow:hidden;margin-top:16px;transition:max-height .25s ease}
 .event-feature-with-photo .feature-photo{width:100%;margin-top:0}
 .event-feature-with-photo[aria-expanded=true] .feature-photo-frame{max-height:158px}
}
@media(prefers-reduced-motion:reduce){.event-feature-with-photo .feature-photo-frame{transition:none}}

/* Compact weekly and ticketed events; only each arrow opens its information. */
.home-page .event-feature{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;background:transparent}
.home-page .event-feature h3{font-family:var(--font-brand);font-size:20px;line-height:1.4;font-weight:500;letter-spacing:-.02em;margin:0}
.home-page .event-feature-card{border-bottom:1px solid var(--line);background:transparent}
.home-page .preview-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;background:transparent;border:0;color:#738561;cursor:pointer}
.home-page .preview-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.home-page .preview-toggle:focus-visible{outline:2px solid #738561;outline-offset:-2px}
.home-page .event-feature-detail{padding:0 0 24px;max-width:75ch}
.home-page .preview-when{font-size:14px;color:var(--muted)}
.home-page .event-dates[hidden]{display:none}
@media(max-width:760px){.home-page .event-feature h3{font-size:18px}.home-page .event-feature{padding:12px 0}}

/* Three clear highlights, followed by the complete upcoming date strip. */
.home-page .event-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;align-items:start;margin:40px 0 56px}
.home-page .event-special-previews{display:contents}
.home-page .event-highlights .event-feature-card{min-width:0;border-bottom:0;border-top:1px solid #d8dcd2;padding-top:24px}
.home-page .event-highlights .event-feature{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;background:transparent}
.home-page .preview-kind{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.home-page .preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.home-page .preview-heading h3{font-size:24px;line-height:1.3;margin:6px 0 0;overflow-wrap:normal}
.home-page .preview-heading .preview-toggle{flex-shrink:0;margin-right:-8px}
.home-page .preview-date{font-size:15px;line-height:1.7;margin:0 0 12px}
.home-page .preview-date span{display:block;color:var(--muted);font-size:14px}
.home-page .preview-price{font-size:15px;line-height:1.6;font-weight:500;margin:0}
.home-page .preview-brief{font-size:14px;line-height:1.8;color:var(--muted);margin:16px 0 0;max-width:36ch}
.home-page .preview-booking{align-self:flex-start;margin-top:20px;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.home-page .event-highlights .event-feature-detail{padding:20px 0 0;max-width:none}
.home-page .event-highlights .event-feature-detail p{font-size:14px;line-height:1.8}
.home-page .event-overview-title{font:500 22px/1.4 var(--font-brand);margin:0 0 24px}
.home-page .event-dates{margin-top:0}
@media(max-width:1000px){.home-page .event-highlights{gap:28px}.home-page .preview-heading h3{font-size:21px}}
@media(max-width:760px){
 .home-page .event-highlights{grid-template-columns:1fr;gap:32px;margin:28px 0 44px}
 .home-page .event-highlights .event-feature-card{padding-top:20px}
 .home-page .preview-heading{margin-bottom:16px}
 .home-page .preview-heading h3{font-size:22px}
 .home-page .preview-brief{max-width:none;margin-top:12px}
 .home-page .preview-booking{margin-top:12px}
 .home-page .event-overview-title{font-size:20px;margin-bottom:20px}
}

/* Uniform stacked highlights with space around every text block. */
.home-page .event-highlights{grid-template-columns:minmax(0,1fr);gap:24px}
.home-page .event-highlights .event-feature-card{width:100%;padding:28px 32px;border:1px solid #d8dcd2;box-sizing:border-box}
.home-page .event-highlights .event-feature{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 54px 58px 26px 62px 44px;row-gap:8px;min-height:304px;padding:0}
.home-page .event-highlights .preview-kind{grid-row:1;margin:0}
.home-page .event-highlights .preview-heading{grid-row:2;margin:0;align-items:center}
.home-page .event-highlights .preview-heading h3{margin:0;font-size:24px}
.home-page .event-highlights .preview-date{grid-row:3;margin:0}
.home-page .event-highlights .preview-price{grid-row:4;margin:0}
.home-page .event-highlights .preview-brief{grid-row:5;margin:0;max-width:65ch;align-self:start}
.home-page .event-highlights .preview-booking{grid-row:6;margin:0;justify-self:start;align-self:start}
.home-page .event-highlights .event-feature-detail{padding:24px 0 0;margin-top:20px;border-top:1px solid #d8dcd2;max-width:75ch}
@media(max-width:760px){
 .home-page .event-highlights{gap:20px}
 .home-page .event-highlights .event-feature-card{padding:24px}
 .home-page .event-highlights .event-feature{grid-template-rows:20px 64px 62px 48px 72px 44px;min-height:350px}
 .home-page .event-highlights .preview-heading h3{font-size:22px}
}
@media(max-width:380px){.home-page .event-highlights .event-feature-card{padding:20px}.home-page .event-highlights .preview-heading h3{font-size:20px}}
