/* Targeted additions. Existing CMS styles and public pages are unchanged. */

.home-preview .meeting-request:disabled{background:#eef1ee;color:#58625b;cursor:default}
.home-preview .meeting-status{font-size:15px;line-height:1.55;color:#535e56;max-width:620px}
.home-preview .meeting-more{display:inline-flex;align-items:center;color:#1c4732}
.home-preview .meeting-more:hover{text-decoration:underline;text-underline-offset:4px}
.home-preview .meeting-more:disabled{opacity:.65;cursor:wait}
.home-preview .hero>.carousel-dots button{min-height:32px}
/* Menus overlay the page; the header keeps its space in normal flow. */
.tools{z-index:70}
.menu-shell{position:sticky;top:var(--preview-tools-height,0px);z-index:52;background:#fff;transition:transform .2s ease}
.menu-shell.is-away:not(.is-open){transform:translateY(calc(-100% - var(--preview-tools-height,0px)))}
.menu-shell .header{position:relative;background:#fff;z-index:2}
.menu-shell .menu,.menu-shell .mobilemenu{top:100%;max-height:var(--menu-room,70dvh);overflow-y:auto;overscroll-behavior:contain;border-radius:0 0 14px 14px;scrollbar-width:thin}
body>.menu-backdrop{position:fixed;left:0;right:0;bottom:0;z-index:40}
.menu-shell .direction-all{line-height:1.5}
@media(prefers-reduced-motion:reduce){.menu-shell{transition:none}}
/* More readable typography without adding decorative elements. */
.header .topnav{color:#68716b}
.header .topnav button{color:#52765a}
.menu .directions button[aria-selected=true],.menu .directions button[aria-selected=true]:hover{color:#57C568;background:transparent}

/* Supplied Figma Buttons reference, 19.09.2026. */
.home-preview :is(.primary,.meeting-request,.care,.community-copy>a,.community-copy .button){
 background:#57C568;color:#fff;border:0;border-radius:16px;
 font-family:Manrope,Arial,sans-serif;font-size:16px;font-weight:600;line-height:24px;
 padding:12px 24px;min-height:48px;box-shadow:none;
 transition:background-color .16s ease;
}
/* Only the active waitlist button in homepage meetings. */
.home-preview .home-meetings .meeting-request[data-booking-status="waitlist"] {
  background: #e8e8e8;
  color: #444444;
}
@media (hover: hover) {
  .home-preview .home-meetings .meeting-request[data-booking-status="waitlist"]:hover:not(:disabled) {
    background: #dedede;
    color: #444444;
  }
}
.home-preview .home-meetings .meeting-request[data-booking-status="waitlist"]:active:not(:disabled) {
  background: #d5d5d5;
  color: #444444;
}
.home-preview .home-meetings .meeting-request[data-booking-status="waitlist"]:focus-visible {
  outline: 2px solid #444444;
  outline-offset: 3px;
}

@media(hover:hover){.home-preview :is(.primary,.meeting-request,.care,.community-copy>a,.community-copy .button):hover:not(:disabled){background:#51B561;color:#fff}}
.home-preview :is(.primary,.meeting-request,.care,.community-copy>a,.community-copy .button):active:not(:disabled){background:#4BA659;color:#fff}
.home-preview .meeting-request:disabled{background:#F6F6F6;color:#686868;cursor:default}
@media(prefers-reduced-motion:reduce){.home-preview :is(.primary,.meeting-request,.care,.community-copy>a,.community-copy .button){transition:none}}
.home-preview #meeting-dialog{border-radius:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.home-preview #meeting-dialog .meeting-close{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;margin:-8px -8px 0 0;font-size:24px}
.home-preview.mobile #meeting-dialog{width:min(358px,calc(100vw - 32px));padding:20px}
@media(max-width:600px){.home-preview #meeting-dialog{width:calc(100vw - 32px);padding:20px}}
@container(max-width:600px){.home-preview #meeting-dialog h2{font-size:22px;line-height:1.3}.home-preview #meeting-summary{font-size:13px;line-height:1.5}}

/* Comments 1–3: fixed-size markers inside the image, windowed over seven slides. */
.home-preview .hero-frame{position:relative;width:100%;min-width:0;grid-column:1/-1}
.home-preview .hero-indicators{position:absolute;right:10px;bottom:10px;z-index:6;display:flex;gap:0;align-items:center;margin:0;padding:0}
.home-preview .hero-indicators button{display:grid;place-items:center;width:12px;min-width:0;height:32px;min-height:32px;padding:0;border:0;background:transparent;border-radius:8px;transition:none}
.home-preview .hero-indicators button:before{content:"";width:5px;height:5px;border:1px solid rgba(255,255,255,.95);border-radius:8px;background:rgba(255,255,255,.14);box-shadow:0 1px 3px #14382330;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.home-preview .hero-indicators button[aria-current=true]{width:26px}
.home-preview .hero-indicators button[aria-current=true]:before{width:16px;background:rgba(255,255,255,.9)}
.home-preview .banner-title-line{display:block;white-space:nowrap}
.home-preview .hero-photo>.photo-label{display:block;line-height:1.3;max-width:calc(100% - 108px)}
.home-preview .programs-all{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;color:#626962;background:transparent;border:0;font-size:15px;font-weight:400;text-decoration:underline;text-underline-offset:4px}
.home-preview .programs-all:hover{color:#1c4732}

/* Comments 5–6: full first frame, native swipe and mouse drag. */
.home-preview .review-lane{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-behavior:auto;cursor:grab}
.home-preview .review-lane::-webkit-scrollbar{display:none}
.home-preview .review-lane:active{cursor:grabbing}
.home-preview .review-belt{animation:none;transform:none;width:max-content;display:flex}
.home-preview .review-set{display:flex;gap:14px;padding-right:14px;flex:none}
.home-preview .review-set .review{flex:0 0 310px;width:310px;user-select:none}
.home-preview .review-topic{font-size:11px;color:#737c75}
.home-preview .reviews-pause{display:inline-flex;background:transparent;color:#626962;border:0;padding:8px 0;min-height:36px;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.home-preview .community-photos{display:flex;justify-content:flex-start;overflow-x:auto;animation:none;transform:none;scroll-behavior:auto;scroll-snap-type:none;overscroll-behavior-x:contain;cursor:grab}
.home-preview .community-photos img{animation:none;transform:none;flex-shrink:0;opacity:1}
.home-preview .inside-app-section .app-phone-scene{opacity:1;transform:none;transition:none}
.home-preview .inside-app-section .app-phone-scene img{transform-origin:center bottom;transition:none;will-change:transform,opacity}
@container(max-width:800px){
 .home-preview .hero-frame{order:1}
 .home-preview .hero-banner-copy{max-width:calc(100% - 92px)}
 .home-preview .hero-banner-copy h2{font-size:clamp(15px,4.3cqw,18px);line-height:1.25}
 .home-preview .hero .hero-banner-copy p{max-width:100%;font-size:11px}
 .home-preview .hero-photo>.photo-label{font-size:clamp(13px,4cqw,16px);padding:8px 10px;inset:auto auto 10px 10px}
 .home-preview .review-set .review{width:min(285px,75cqw);flex-basis:min(285px,75cqw)}
}
@media(prefers-reduced-motion:reduce){
 .home-preview [data-loop-copy]{display:none}
 .home-preview .reviews-pause{display:none}
 .home-preview .inside-app-section .app-phone-scene img{transform:none!important;opacity:1!important;will-change:auto}
}
/* Anton's correction: one title line, up to two subtitle lines. */
.home-preview .hero .banner-title-line{display:block;white-space:nowrap}
.home-preview .hero .banner-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal}
.home-preview .hero-photo .banner-subtitle{font-size:12px;line-height:1.4;margin-top:4px;font-weight:400}
@container(max-width:800px){
 .home-preview .hero .banner-title-line{font-size:clamp(13px,4cqw,18px);line-height:1.25}
 .home-preview .hero-photo .banner-subtitle{font-size:11px;line-height:1.35}
}
/* One shared style for links to complete section lists. */
.home-preview a.section-all-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;width:auto;margin:0;padding:6px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#626962;font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:400;line-height:24px;text-decoration:underline;text-underline-offset:4px;transition:color .16s ease}
.home-preview a.section-all-link:hover,.home-preview a.section-all-link:active{background:transparent;color:#1c4732;box-shadow:none}
/* Compact review cards: the same anatomy for old and new entries. */
.home-preview .review-set .review{display:grid;grid-template-rows:38px minmax(0,1fr) 18px;align-items:start;gap:10px;height:214px;min-height:214px;padding:20px}
.home-preview .review-set .review header{display:flex;align-items:flex-start;margin:0;min-height:38px}
.home-preview .review-set .review header>div{display:flex;flex-direction:column;gap:2px}
.home-preview .review-set .review strong{font-size:14px;font-weight:700;line-height:18px}
.home-preview .review-set .review :is(.stars,.review-meta){display:block;font-size:12px;line-height:18px}
.home-preview .review-set .review .review-meta{color:#778079}
.home-preview .review-set .review .review-excerpt{display:block;min-height:0;max-height:84px;margin:0;overflow:hidden;font-size:14px;line-height:21px;align-self:start}
.home-preview .review-excerpt.is-clipped{mask-image:linear-gradient(to bottom,#000 55%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent 100%)}
.home-preview .review-set .review .review-source{margin:0;font-size:12px;line-height:18px;color:#778079;align-self:end}
.home-preview .review-set .review:hover .review-source{text-decoration:underline;text-underline-offset:3px}

/* Mobile design variant: distinct promotional banner and compact navigation. */
.home-preview .hero-carousel>.hero-banner{position:relative;display:block;padding:0;border:0;text-align:left;overflow:hidden;background:#98bf9d;border-radius:20px;font-family:inherit;cursor:pointer}
.home-preview .hero-club .hero-mobile-image,.home-preview .hero-club .hero-foreground{display:none}
.home-preview .hero-club .hero-desktop-image{display:block}
.home-preview .hero .hero-banner-copy{position:absolute;left:16px;right:auto;top:auto;bottom:44px;transform:none;width:max-content;max-width:calc(100% - 32px);padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.88);border:1px solid #ffffff80;color:#1c4732}
.home-preview .hero .banner-title-line{margin:0;font-size:24px;line-height:1.3;font-weight:400;letter-spacing:normal;color:#1c4732}
.home-preview .hero .hero-banner-copy .banner-subtitle{margin:4px 0 0;font-size:15px;line-height:1.4;font-weight:400;max-width:none;color:#1c4732}
.home-preview .hero-indicators{right:12px;bottom:4px}
.home-preview .hero-indicators button{width:24px;height:32px}
.home-preview .hero-indicators button[aria-current=true]{width:28px}
.home-preview .reviews-mobile{display:none}
.home-preview #home-directions{scroll-margin-top:120px}
@container(max-width:600px){
 .home-preview .hero-carousel>.hero-banner>img{width:100%;height:270px;aspect-ratio:auto;object-fit:cover;object-position:var(--photo-position,50%) center}
 .home-preview .hero-carousel>.hero-welcome>img{object-position:50% center}
 .home-preview .hero-club .hero-desktop-image{display:none}
 .home-preview .hero-club .hero-mobile-image{display:block}
 .home-preview .hero .hero-banner-copy{left:12px;bottom:42px;max-width:calc(100% - 24px);padding:10px 12px}
 .home-preview .hero .banner-title-line{font-size:18px;line-height:1.3}
 .home-preview .hero .hero-banner-copy .banner-subtitle{font-size:13px;line-height:18px}
 .home-preview [data-block=directions] .direction-strip{display:flex;flex-direction:column;gap:16px;overflow:visible}
 .home-preview [data-block=directions] .direction-tile{flex:none;width:100%;display:flex;flex-direction:column}
 .home-preview [data-block=directions] .direction-tile>img{height:clamp(170px,49cqw,210px);min-height:0;width:100%;aspect-ratio:auto;object-fit:cover;object-position:center 40%;background:#98bf9d}
 .home-preview [data-block=directions] .direction-caption{min-height:98px;padding:12px 16px 16px;flex:none}
 .home-preview [data-block=directions] .direction-caption h3{font-size:18px;line-height:23px;margin:0 0 6px}
 .home-preview [data-block=directions] .direction-caption p{font-size:13px;line-height:18px;margin:0;max-width:none;padding-right:54px}
 .home-preview .reviews-desktop{display:none}
 .home-preview .reviews-mobile{display:block;scroll-snap-type:x mandatory}
 .home-preview .reviews-mobile .review{scroll-snap-align:start}
 .home-preview .care{font-size:13px;line-height:20px;min-height:44px;padding:12px 16px}
}
.home-preview .hero-carousel>.hero-welcome{cursor:default}
.home-preview .hero-carousel>.hero-welcome>img{object-position:50% 38%}
.home-preview .hero-carousel>.hero-club>img{object-position:50% 30%}
.home-preview .hero-carousel>.hero-week>img{object-position:75% 45%}

/* Trial booking: keep the approved layout readable on narrow phones. */
@container (max-width:350px){
 .trial .trial-card{min-height:224px}
 .trial .trial-options button{padding-inline:9px}
 .trial #trial-open{font-size:14px;padding-inline:4px;white-space:nowrap}
}

.home-preview .site-footer .footer-social-note{display:block;margin-top:8px;line-height:1.5;font-weight:400}
