
/* QWAD 3.10 — one scene, independent photographic planes. */
.hero-fallback{display:block;position:absolute;inset:-16px}
.hero-fallback .hero-original{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% center}
.hero-depth-scene{position:absolute;inset:0;width:100%;height:100%;opacity:0;overflow:visible;pointer-events:none}
.hero-frame.is-layered .hero-depth-scene{opacity:1}
.hero-frame.is-layered .hero-fallback{visibility:hidden}
.hero-depth-background{transform-box:view-box;transform-origin:center;transform:translate(var(--hero-photo-x,0px),var(--hero-photo-y,0px)) scale(1.045)}
.hero-depth-player{transform:translate(var(--hero-player-x,0px),var(--hero-player-y,0px))}
.hero-depth-ball{transform:translate(var(--hero-ball-x,0px),var(--hero-ball-y,0px))}
.hero-frame.depth-ready .hero-heading{transform:none}
.hero-frame.depth-ready h1{transform:translate3d(var(--hero-title-x,0px),var(--hero-title-y,0px),0)}
.hero-frame.depth-ready .hero-description{transform:translate3d(var(--hero-copy-x,0px),var(--hero-copy-y,0px),0)}
.hero-frame.depth-ready .hero-location,.hero-frame.depth-ready .hero-price{transform:translate3d(var(--hero-label-x,0px),var(--hero-label-y,0px),0)}
.hero-frame.depth-ready .hero-actions,.hero-frame.depth-ready .hero-find,.hero-frame.depth-ready .hero-motion-toggle{transform:translate3d(var(--hero-controls-x,0px),var(--hero-controls-y,0px),0)}
.hero-frame.is-tracking .hero-depth-background,.hero-frame.is-tracking .hero-depth-player,.hero-frame.is-tracking .hero-depth-ball,.hero-frame.is-tracking h1{will-change:transform}
.hero-frame.is-tracking .hero-original,.hero-frame.is-tracking .hero-heading{will-change:auto}
.hero-media::after{z-index:1}

/* Belonging: fine, warm contours wrap the group of club passes.
   The lower reading surface remains quiet; no metallic shine or looping glow. */
.membership-card{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 65% 24%,#edcd7b52,transparent 46%),var(--paper);border-color:#ddc998}
.membership-card>*:not(.membership-weave){position:relative;z-index:1}
.membership-weave{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;color:#ad792c;stroke:currentColor;stroke-width:1.2;stroke-linecap:round}
.membership-weave-outer{opacity:.36}
.membership-weave-corner{opacity:.28}
.membership-card .membership-term{background:#f5f3ede6;border-color:#be9c5c;color:#66502a}
.membership-logo>span{color:#7b5b24}
.membership-card .membership-art{margin-block:12px}
.member-pass{box-shadow:0 7px 16px #29281e24}
.member-pass::after{content:'';position:absolute;inset:6px;border:1px solid #edc86c5e;border-radius:3px;pointer-events:none}
.pass-one{background:#64736c;border-color:#64736c}
.pass-two{background:#3c4d48;border-color:#8b9478}
.pass-three{background:#293833;border-color:#8b9478}
.pass-you{background:#f8be43;border-color:#d99a2d;box-shadow:0 10px 20px #47381430}
.pass-you::after{border-color:#72532445}
.membership-card .package-cta:focus-visible{outline-color:#775321;outline-offset:4px}

/* Reading rhythm: movement begins inside the viewport, not at its lower edge. */
:root{--motion-enter:960ms}
[data-reveal]{transition-duration:820ms,960ms;transition-timing-function:cubic-bezier(.32,.08,.22,1)}
.motion-ready [data-reveal].is-reveal-pending{transform:translate3d(0,10px,0)}
.motion-ready .faq-list.is-reveal-pending{transform:none}

/* 3.11: the words belong inside the original open-circle shape. */
.community-invitation{display:block;margin-top:20px}
.community-invitation>p{max-width:410px}
.community-invitation .community-thread{position:relative;width:min(100%,310px);aspect-ratio:360 / 210;margin:13px 0 0}
.community-thread .community-line-caption{position:absolute;left:41.12%;top:37.15%;width:35.27%;height:25.7%;margin:0;gap:3px}
.community-thread .community-line-caption strong{font-size:15px;line-height:1.35;white-space:nowrap}
.community-thread .community-line-caption>span{font-size:9px;line-height:1.7;white-space:nowrap;color:var(--muted)}
.community-invitation+.button{margin-top:12px}
.brand-graphic.is-brand-drawing .brand-stroke{animation-timing-function:cubic-bezier(.4,0,.25,1)}
.brand-graphic.is-brand-drawing .brand-node:not(.is-origin){animation-duration:480ms}
.member-pass-scene.is-member-arriving .pass-you{animation:member-arrive-soft 2100ms cubic-bezier(.4,0,.22,1) both}
.member-pass-scene.is-member-arriving .pass-three{animation:member-welcome-soft 2100ms cubic-bezier(.4,0,.22,1) both}
@keyframes member-arrive-soft{from{opacity:0;transform:translate(calc(-50% + var(--pass-x) + 22px),calc(-50% + var(--pass-y) + 14px)) rotate(1deg)}to{opacity:1;transform:translate(calc(-50% + var(--pass-x)),calc(-50% + var(--pass-y))) rotate(var(--pass-angle))}}
@keyframes member-welcome-soft{from{transform:translate(calc(-50% + var(--pass-x) - 3px),calc(-50% + var(--pass-y) + 4px)) rotate(9deg)}to{transform:translate(calc(-50% + var(--pass-x)),calc(-50% + var(--pass-y))) rotate(var(--pass-angle))}}

/* The welcome story keeps its photo-led composition, with a warm reading panel. */
@media(min-width:768px){
 .welcome-story{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:18px;align-items:stretch}
 .welcome-story .story-main{min-height:510px;border-radius:8px}
 .welcome-story .story-main img{object-position:right center}
 .story-main figcaption{left:30px;bottom:28px;max-width:390px;font-size:17px;line-height:1.55;align-items:flex-start}
 .story-main figcaption .dot{flex:none;margin-top:10px}
 .story-side{grid-template-rows:1.2fr 1fr;gap:18px}
 .story-statement{background:var(--paper);padding:34px 30px 30px;border-radius:8px;border:0}
 .story-statement h3{position:relative;font-size:clamp(24px,2.1vw,33px);line-height:1.23;letter-spacing:-.04em;color:var(--light-ink);z-index:1}
 .story-statement p{position:relative;font-size:12px;line-height:1.85;color:#5a6261;z-index:1}
 .story-star{display:block;position:absolute;width:92px;height:92px;right:-18px;top:-12px;bottom:auto;opacity:.58;stroke:#c79332;stroke-width:1.2;transform:rotate(-15deg)}
 .story-star circle:last-child{fill:#c79332;stroke:none}
 .story-detail{border-radius:8px;min-height:190px}
 .story-detail::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#141718bd)}
 .story-detail figcaption{position:absolute;left:24px;right:20px;bottom:18px;z-index:1;font-size:12px;line-height:1.6;color:var(--paper)}
 .welcome-values{margin-top:28px;padding-top:24px;border-top:1px solid #6770655c;gap:22px}
 .welcome-values span{color:var(--gold);font-size:10px}
 .welcome-values>div+div{border:0;padding-left:20px}
}
@media(min-width:768px) and (max-width:1100px){
 .welcome-story{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:16px}
 .welcome-story .story-main{min-height:470px}
 .welcome-story .story-main img{object-position:75% center}
 .story-statement{padding:29px 23px}
 .story-statement h3{font-size:25px}
 .story-statement p{font-size:11px}
 .story-main figcaption{font-size:15px;left:24px;max-width:285px}
 .story-star{width:74px;height:74px}
 .community-invitation .community-thread{width:280px}
 .community-thread .community-line-caption strong{font-size:14px}
 .community-thread .community-line-caption>span{font-size:8.5px}
}

/* Orient first, then move to the selected service. */
.route-dialog{transition:opacity 300ms ease,transform 400ms cubic-bezier(.32,.08,.22,1);transform:translateY(8px)}
.route-dialog[open].visible{transition-duration:360ms,460ms}
.route-dialog.has-route-choices{width:min(600px,calc(100% - 32px))}
.route-dialog.is-route-resizing{overflow:hidden}
.route-dialog.has-route-choices .dialog-actions{display:grid;grid-template-columns:1fr;gap:12px}
.route-choice{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 22px;border:1px solid #697570;border-radius:7px;background:#28312f;color:var(--paper);transition:background 300ms ease,border-color 300ms ease}
.route-choice>span:first-child{display:grid;gap:10px;min-width:0}
.route-choice strong{font-family:Bounded,Arial,sans-serif;font-size:20px;font-weight:400;line-height:1.3;letter-spacing:-.035em}
.route-choice>span>span{max-width:390px;font-size:13px;line-height:1.75;color:#c6cfcb}
.route-choice>.arrow{color:var(--gold);flex:none}
.route-choice:first-child{background:var(--paper);color:var(--light-ink);border-color:var(--paper)}
.route-choice:first-child>span>span{color:#596260}
.route-choice:first-child>.arrow{color:var(--light-ink)}
.route-choice:hover{background:#323e39;border-color:var(--gold)}
.route-choice:first-child:hover{background:#fffaf0;border-color:var(--gold)}
.dialog-back,.dialog-dismiss{min-height:44px;padding:8px 0;justify-content:center;font-size:12px;flex:1 1 auto}
.dialog-dismiss{color:var(--muted)}
.dialog-back{color:var(--gold-light)}
.route-dialog .dialog-description{margin-top:20px}

/* Mobile has its own portrait art direction and all actions on the photograph. */
@media(max-width:767px){
 .hero-frame{display:block;overflow:hidden;background:#141718}
 .hero-inner{isolation:isolate;position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;width:100%;max-width:none;margin:0;min-height:560px;min-height:clamp(490px,calc(100svh - 76px),780px);padding:28px var(--gutter) max(16px,env(safe-area-inset-bottom))}
 .hero-mobile-media{display:block;position:absolute;inset:0;z-index:-2;width:100%;height:100%;margin:0;aspect-ratio:auto;border-radius:0;background:#171c1e}
 .hero-mobile-media picture{display:block;width:100%;height:100%}
 .hero-mobile-media img{inset:0;width:100%;height:100%;object-fit:cover;object-position:right 45%;transform:none}
 .hero-mobile-media::before{display:none}
 .hero-mobile-media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#101618ba 0%,#10161862 23%,#10161805 40%,#10161842 53%,#101618e8 78%,#141718 100%);pointer-events:none}
 .hero-heading{width:100%;margin:0;padding:0}
 .hero-location{font-size:8px;letter-spacing:.045em;line-height:1.7;margin-bottom:14px;color:#f5f3ed}
 .hero h1{font-size:clamp(30px,8.9vw,46px);line-height:1.17;letter-spacing:-.045em;font-weight:500;text-shadow:0 2px 24px #0003}
 .hero-details{width:100%;margin:0;padding:0;max-width:none}
 .hero-description{max-width:280px;color:#eeeee8;font-size:13px;line-height:1.65}
 .hero-description-detail,.hero-price{display:none}
 .hero-actions{margin-top:16px;gap:9px}
 .hero-actions .button{min-height:50px;padding:13px 17px;font-size:13px;line-height:1.5}
 .hero-actions .secondary{background:#182126b8;border-color:#c4cccca6;color:#f5f3ed;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
 .hero-find{display:flex;justify-content:center;font-size:11px;min-height:42px;margin-top:7px;gap:12px;color:#ecece7}
 .hero-find .arrow{width:14px}
 .membership-card .membership-art{margin-block:6px}
 .community-invitation>p{max-width:none}
 .community-invitation .community-thread{width:min(100%,310px);margin:12px auto 0}
 .community-thread .community-line-caption strong{font-size:15px}
 .community-thread .community-line-caption>span{font-size:9px}
 .route-dialog.has-route-choices{width:calc(100% - 24px)}
 .route-choice{padding:18px 17px;gap:17px}
 .route-choice strong{font-size:19px}
 .route-choice>span>span{font-size:12px}
 [data-reveal]{transition-duration:740ms,880ms}
 .motion-ready [data-reveal].is-reveal-pending{transform:translate3d(0,8px,0)}
 .motion-ready .faq-list.is-reveal-pending{transform:none}
}
@media(max-width:359px){
 .community-invitation .community-thread{width:280px;max-width:100%}
 .community-thread .community-line-caption strong{font-size:14px}
 .community-thread .community-line-caption>span{font-size:8.5px}
}
@media(max-width:767px) and (max-height:650px){
 .hero-inner{padding-top:19px;padding-bottom:8px;min-height:calc(100svh - 68px);gap:100px}
 .hero-location{margin-bottom:10px}
 .hero h1{font-size:clamp(28px,8.2vw,36px)}
 .hero-description{display:none}
 .hero-actions{margin-top:0;gap:8px}
 .hero-actions .button{min-height:46px;padding-block:11px}
 .hero-find{min-height:38px;margin-top:4px;font-size:10px}
}
@media(max-width:767px) and (max-height:430px){
 .hero-inner{min-height:440px;gap:140px}
 .hero h1{font-size:36px}
 .hero-mobile-media img{object-position:center 40%}
}
@media(prefers-reduced-motion:reduce){
 .hero-motion-toggle{display:none!important}
 .route-dialog,.route-dialog[open].visible,.route-choice{transition:none!important;transform:none}
 [data-reveal],.motion-ready [data-reveal].is-reveal-pending{opacity:1;transform:none;transition:none!important}
 .hero-frame h1,.hero-frame .hero-description,.hero-frame .hero-location,.hero-frame .hero-price,.hero-frame .hero-actions,.hero-frame .hero-find,.hero-depth-player,.hero-depth-ball{transform:none!important}
 .member-pass-scene.is-member-arriving .member-pass{animation:none!important}
 .hero-depth-background{transform:scale(1.045)!important}
}

