/* Staging design refinement: the FZFilms motion and editorial type system. */
html { scrollbar-gutter:stable; }
body { -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
p { line-height:1.7; }
.hero h1 { font-size:clamp(4.2rem,7.7vw,8rem); letter-spacing:-.035em!important; }
.section-heading h2,.membership h2,.benefit-intro h2,.faq-heading h2 { font-size:clamp(3rem,5.2vw,5.8rem); }
.hero-lead,.member-home-copy p,.profile-hero-content p { font-size:clamp(.9rem,1.1vw,1rem); font-weight:400; line-height:1.8; }
.card-copy h3,.roster-card h3,.profile-video-copy strong { letter-spacing:-.015em!important; }
.fz-account-panel h3,.checkout-form-intro strong,.account-help h3,.benefit-grid h3 { font-family:var(--sans)!important; font-size:1rem; font-weight:500!important; line-height:1.4!important; letter-spacing:-.015em!important; }
.nav-links a,.prototype-login,.prototype-member-action { font-size:10px; letter-spacing:.12em; }
.account-tabs button,.library-tab,.fz-payment-tab { font-weight:500; letter-spacing:.1em; }
.button,.plan-button,.account-submit,.fz-button,.pmpro_btn,.auth-card #wp-submit {
  position:relative; isolation:isolate; overflow:hidden; min-height:54px; padding:0 22px;
  border-radius:0!important; font-size:10px!important; font-weight:600!important;
  letter-spacing:.11em!important; text-transform:uppercase; line-height:1.5;
  transition:transform .25s,background .3s,border-color .3s,box-shadow .3s,color .3s;
}
.button-small { min-height:42px; padding-inline:18px; }
.button-primary,.button-small,.account-submit,.fz-button,.plan-featured .plan-button,.auth-card #wp-submit,
body.fz-membership-flow #pmpro_btn-submit,.fz-wp-content .pmpro_btn-submit {
  background:linear-gradient(115deg,#aab1bc,#e0e5ec)!important; border:1px solid #c0c8d2!important;
  color:#0b0b0b!important; box-shadow:0 10px 40px rgba(135,145,160,.12)!important;
}
.button::before,.plan-button::before,.account-submit::before,.fz-button::before {
  content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
  background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.3) 50%,transparent 80%);
  transform:translateX(-140%); transition:transform .75s cubic-bezier(.2,.7,.2,1);
}
.button-secondary,.button-ghost,.plan-button { background:transparent; border:1px solid rgba(238,240,243,.46); color:var(--paper); }
.button:focus-visible,.plan-button:focus-visible,.account-submit:focus-visible,.fz-design-preview a:focus-visible { outline:2px solid var(--accent-light); outline-offset:5px; }
.button:active,.account-submit:active { transform:translateY(0); }
button:disabled,input:disabled { cursor:not-allowed; }
@media(hover:hover) {
  .button:hover,.account-submit:hover,.plan-button:hover,.fz-button:hover,.auth-card #wp-submit:hover { transform:translateY(-2px); }
  .button-primary:hover,.button-small:hover,.account-submit:hover,.plan-featured .plan-button:hover { background:linear-gradient(115deg,#c3cad4,#f1f4f8)!important; box-shadow:0 14px 50px rgba(135,145,160,.2)!important; }
  .button:hover::before,.plan-button:hover::before,.account-submit:hover::before,.fz-button:hover::before { transform:translateX(140%); }
  .button-secondary:hover,.button-ghost:hover { background:var(--paper); color:var(--ink); border-color:var(--paper); }
}
.feature-card img,.member-film-card img,.library-card img,.profile-video-card img,.roster-card img,.library-athlete-card img {
  transition:transform 1.1s cubic-bezier(.16,1,.3,1),filter .7s;
}
@media(hover:hover) {
  .feature-card:hover img,.member-film-card:hover img,.library-card:hover img,.profile-video-card:hover img,.library-athlete-card:hover img { transform:scale(1.035); filter:saturate(.8) brightness(.92); }
}
.motion-ready [data-reveal] { transform:translateY(34px); filter:blur(5px); transition:opacity 1.05s cubic-bezier(.16,1,.3,1),transform 1.05s cubic-bezier(.16,1,.3,1),filter 1.05s cubic-bezier(.16,1,.3,1); transition-delay:var(--reveal-delay,0ms); }
.motion-ready [data-reveal].is-visible { opacity:1; transform:translateY(0); filter:blur(0); }
.account-dialog { width:min(960px,calc(100% - 40px)); }
.account-panel { grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); height:min(640px,calc(100dvh - 40px)); min-height:0; }
.account-content { padding:34px 38px 24px; }
.account-panel h2 { font-size:clamp(2.6rem,3.8vw,3.6rem); }
.account-tabs button { font-size:10px; font-weight:500; letter-spacing:.13em; }
.account-tabs button::after { height:1px; box-shadow:none!important; }
.account-view { padding-top:28px; filter:blur(3px); transform:translateY(12px); }
.account-view.is-active { filter:none; transform:none; }
.account-dialog::backdrop,.legal-popup::backdrop { background:rgba(0,0,0,.84); backdrop-filter:blur(6px); }
.account-dialog[open],.legal-popup[open] { animation:cinema-dialog-in .4s cubic-bezier(.16,1,.3,1) both; }
.account-dialog[open].is-closing,.legal-popup[open].is-closing { animation:cinema-dialog-out .22s ease-in both; pointer-events:none; }
.account-dialog[open]::backdrop,.legal-popup[open]::backdrop { animation:cinema-backdrop-in .3s ease both; }
.account-dialog.is-closing::backdrop,.legal-popup.is-closing::backdrop { animation:cinema-backdrop-out .22s ease both; }
.account-close,.legal-popup-close { transition:transform .4s cubic-bezier(.16,1,.3,1),border-color .3s; }
.account-close:hover,.legal-popup-close:hover { transform:rotate(90deg); border-color:var(--accent-light); }
.account-stage,.legal-popup-scroll { overscroll-behavior:contain; }
.subscriber-mobile-panel:not([hidden]),[data-library-panel].is-active { animation:cinema-panel-in .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes cinema-dialog-in { from { opacity:0; transform:translateY(15px) scale(.99); } to { opacity:1; transform:none; } }
@keyframes cinema-dialog-out { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(10px) scale(.99); } }
@keyframes cinema-backdrop-in { from { opacity:0; } to { opacity:1; } }
@keyframes cinema-backdrop-out { to { opacity:0; } }
@keyframes cinema-panel-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
/* This control is rendered only for the authenticated staging administrator. */
.fz-design-preview { position:fixed; z-index:99990; right:22px; bottom:calc(18px + env(safe-area-inset-bottom)); display:flex; gap:16px; align-items:center; max-width:calc(100vw - 28px); padding:8px 10px 8px 16px; border:1px solid rgba(223,228,235,.45); background:rgba(13,15,18,.96); backdrop-filter:blur(18px); color:var(--paper); box-shadow:0 12px 40px #0008; font-family:var(--sans); }
.fz-design-preview-label { color:var(--accent-light); font-size:10px; letter-spacing:.14em; text-transform:uppercase; line-height:1.5; }
.fz-design-preview-label small { display:block; color:var(--muted); font-size:9px; letter-spacing:.02em; text-transform:none; }
.fz-design-preview > div { display:flex; gap:3px; }
.fz-design-preview a { display:flex; align-items:center; justify-content:center; min-height:40px; padding:0 13px; font-size:11px; white-space:nowrap; border:1px solid transparent; transition:color .2s,background .2s; }
.fz-design-preview a:hover { background:#ffffff0c; }
.fz-design-preview a[aria-current] { color:#0b0b0b; background:var(--accent-light); border-color:var(--accent-light); }
body:has(.fz-design-preview) .footer-bottom { padding-bottom:110px; }
@media(max-width:700px) {
  .hero h1 { font-size:clamp(3.3rem,11.5vw,5rem); }
  .account-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
  .account-panel { grid-template-columns:1fr; height:min(640px,calc(100dvh - 24px)); }
  .account-content { padding:28px 24px 20px; }
  .account-panel h2 { font-size:2.6rem; }
  .fz-design-preview { right:50%; transform:translateX(50%); gap:8px; padding:6px 7px 6px 11px; }
  .fz-design-preview a { padding-inline:10px; min-height:42px; font-size:10px; }
  .fz-design-preview-label { font-size:8px; letter-spacing:.07em; }
  .fz-design-preview-label small { font-size:8px; }
  .section-heading h2,.membership h2,.benefit-intro h2,.faq-heading h2 { font-size:clamp(2.7rem,10vw,4.5rem); }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-delay:0ms!important; transition-duration:.01ms!important; transition-delay:0ms!important; scroll-behavior:auto!important; }
  .motion-ready [data-reveal] { opacity:1; filter:none; transform:none; }
  .button:hover,.account-submit:hover,.plan-button:hover,.fz-button:hover { transform:none; }
}
.account-visual-title { font-size:clamp(3rem,4vw,4.1rem); font-weight:400; line-height:1.04; text-transform:none; letter-spacing:-.025em; }
.account-visual-title em { color:var(--accent-light); font-style:italic; -webkit-text-stroke:0; }
.account-membership,.account-choice { border-color:rgba(238,240,243,.2); transition:background .3s,border-color .3s,transform .4s cubic-bezier(.16,1,.3,1); }
.account-membership:hover,.account-choice:hover { background:rgba(174,182,194,.07); border-color:rgba(223,228,235,.5); }
.account-membership-copy strong { font-weight:500; }
