/* Gonstead V9: the video scrub is the page's single primary visual experience. */
.v9-chiro-hero{min-height:clamp(520px,68dvh,720px)}
.v9-chiro-hero h1{max-width:16ch}
#method,#gonstead,#pricing,#faq{scroll-margin-top:76px}
/* Clip sideways overflow without creating a scroll container that breaks sticky video. */
@supports(overflow:clip){html,body{overflow-x:clip}}
.scrub{position:relative}
.scrub__stage{min-height:100svh}
.scrub__toolbar{position:absolute;z-index:5;top:clamp(5.2rem,8vw,7rem);left:clamp(1.25rem,5vw,3rem);right:clamp(1.25rem,5vw,3rem);display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;color:var(--white);pointer-events:none}
.scrub__toolbar p{font-weight:800;font-size:1.1rem}
.scrub__toolbar span{display:block;margin-top:.15rem;color:rgba(255,255,255,.7);font-size:.9rem}
.scrub__toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem;pointer-events:auto}
.scrub__toolbar-actions button,.scrub__toolbar-actions a{min-height:44px;display:inline-flex;align-items:center;padding:.55rem .9rem;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:var(--white);background:rgba(27,29,30,.62);font:700 .86rem/1 "Hanken Grotesk",sans-serif;backdrop-filter:blur(10px)}
.scrub__toolbar-actions button:focus-visible,.scrub__toolbar-actions a:focus-visible,.scrub__chapters button:focus-visible{outline:3px solid var(--marmalade);outline-offset:3px}
.scrub__chapters{display:none}
body .scrub--on{height:360vh}
.scrub--on .scrub__stage{height:100svh}
.scrub--on .scrub__chapters{position:absolute;z-index:5;left:50%;bottom:max(1rem,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:.35rem;padding:.35rem;border-radius:999px;background:rgba(27,29,30,.66);backdrop-filter:blur(10px)}
.scrub__chapters button{min-width:44px;min-height:44px;padding:.5rem .75rem;border-radius:999px;color:rgba(255,255,255,.74);font-weight:700;font-size:.78rem}
.scrub__chapters button[aria-selected="true"]{background:var(--marmalade);color:var(--ink)}
.scrub--simple{height:auto!important}
.scrub--simple .scrub__stage{position:relative!important;height:auto!important;min-height:0;padding:clamp(4.5rem,9vw,7rem) 0}
.scrub--simple .scrub__video{position:absolute;inset:0;height:100%;opacity:.26}
.scrub--simple .scrub__toolbar{position:relative;inset:auto;margin:0 auto 2.5rem;max-width:var(--maxw);padding:0 clamp(1.25rem,5vw,3rem)}
.scrub--simple .scrub__panels{position:relative;display:grid;gap:2rem;padding:0 clamp(1.25rem,5vw,3rem)}
.scrub--simple .scrub__panel{position:relative!important;inset:auto!important;max-width:60ch!important;margin:0!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
.scrub--simple .scrub__panel:nth-child(even){margin-left:auto!important}
.scrub--simple .scrub__chapters{display:none!important}
.gsteps{grid-template-columns:repeat(5,minmax(0,1fr))}
.gdial{display:none!important}
/* The legacy page CSS still turns this section into a horizontal flex rail
   below 1020px, even though the dial that controlled it no longer exists.
   Fully restore a normal one-column grid; changing only the columns left the
   cards as narrow, shrinking flex items on phones and small tablets. */
@media(max-width:1020px){
  .gsteps{display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:.85rem!important;overflow:visible!important;scroll-snap-type:none!important;
    padding:0!important;margin-inline:0!important}
  .gsteps .gstep.reveal{width:100%;min-width:0;opacity:1!important;
    flex:none!important;scroll-snap-align:none!important}
  .gstep__head{display:flex!important}
}
@media(max-width:900px){
  body .scrub--on{height:320vh}
  .scrub__toolbar{top:calc(var(--nav-h) + 1rem);display:block}
  .scrub__toolbar-actions{justify-content:flex-start;margin-top:.65rem}
  .scrub--on .scrub__panel{top:55%;left:1.25rem!important;right:1.25rem!important;max-width:none}
  .scrub--on .scrub__panel[data-side]{transform:translateY(-50%)}
  .scrub__panel h3{font-size:clamp(1.65rem,8vw,2.35rem)}
  .scrub__panel p{font-size:1rem;line-height:1.55}
  .scrub--on .scrub__chapters{width:calc(100% - 1.5rem);overflow-x:auto;justify-content:flex-start;border-radius:18px}
  .scrub__chapters button{flex:none}
}
@media(max-width:520px){
  .scrub__toolbar span{display:none}
  .scrub__toolbar-actions button,.scrub__toolbar-actions a{font-size:.8rem;padding:.5rem .75rem}
  .scrub--on .scrub__panel{top:54%}
}
@media(prefers-reduced-motion:reduce){.scrub__panel{transition:none!important}}

.mobile-book.scrub-hidden{visibility:hidden;pointer-events:none}

/* Section links remain in normal page flow while visitors scroll. */
.v9-anchor-nav{position:static}

/* Mobile criteria follow a single vertical timeline. */
@media(max-width:767px){
  .gsteps{gap:0!important}
  .gsteps .gstep.reveal{position:relative;padding:0 0 2rem 2rem;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;min-height:0}
  .gsteps .gstep::before{content:"";position:absolute;left:6px;top:.5rem;bottom:-.5rem;width:2px;background:var(--cocoa-deep)}
  .gsteps .gstep::after{content:"";position:absolute;left:0;top:.4rem;width:14px;height:14px;border-radius:50%;background:var(--cocoa-deep)}
  .gsteps .gstep:last-child{padding-bottom:0}
  .gsteps .gstep:last-child::before{display:none}
  .gsteps .gstep .gstep__head{display:none!important}
  .gsteps .gstep h3{margin:0 0 .65rem;font-size:1.2rem;line-height:1.3}
  .gsteps .gstep p{margin:0;line-height:1.65}
}
