/* polish93: bug fixes + interaction polish on top of dark92. Loaded last. */
:root{--p-out:cubic-bezier(.23,1,.32,1);--p-drawer:cubic-bezier(.32,.72,0,1)}

/* ---- story: the steps stack in one grid cell, so the box is as tall as the tallest step
   and the "Shop the tees" button sits below it instead of on top of the text ---- */
.x-story-steps{display:grid;min-height:0!important;max-width:760px}
.x-st{position:relative!important;grid-area:1/1;top:auto;left:auto;right:auto}
.x-st-cta{position:relative!important;bottom:auto!important;left:auto!important;grid-area:2/1;justify-self:start;margin-top:28px}
.x-story-bar{max-width:760px}
@media (max-width:860px){.x-story-steps{max-width:none}.x-st-cta{margin-top:20px}}

/* ---- readable floor: text people read is 13px+, body copy at 16px (nav pills and the loupe readout stay small) ---- */
.d-read,.d-loupe-t,.lbl,.rtag,.legal{font-size:12px!important}
.d-k,.d-facts dt,.x-st-n,.x-count,.l-k,.sec-k,.ch-for,.announce,.announce b,.l-gbag figcaption span{font-size:13px!important}
.x-check .x-list li span{font-size:14px!important}
@media (min-width:861px){.d-side p{font-size:16px!important}}
.x-st p{font-size:17px}
@media (max-width:860px){.x-st p{font-size:16px}}

/* ---- press feedback on everything you can tap (160ms, strong ease-out) ---- */
.d-pill,.btn,.navpill,nav.main a,.navtrack,.cart-btn,.ch-links a,.ch-go,.x-bar a,.x-st-cta,.ljchat-btn,.sp-arrow,.sp-all{
  transition:transform 160ms var(--p-out),background-color 200ms ease,color 200ms ease,border-color 200ms ease}
.d-pill:active,.btn:active,.navpill:active,nav.main a:active,.navtrack:active,.cart-btn:active,.ch-links a:active,.ch-go:active,
.x-bar a:active,.x-st-cta:active,.ljchat-btn:active,.sp-arrow:active,.sp-all:active{transform:scale(.97)}
/* the magnetic pills set their own transform while hovered; keep the press on top of it */
.d-mag:active{scale:.97}

/* ---- hover colour swaps only where a real pointer can hover (no sticky taps on phones) ---- */
@media (hover:none){
  .d-p1:hover{background:var(--d-pink)}
  .d-p2:hover{background:transparent;color:var(--d-text)!important;border-color:rgba(242,238,232,.35)}
  .ch-links a:hover{background:transparent!important;color:inherit!important}
}

/* ---- cart drawer: 600ms felt slow for something opened often; iOS drawer curve ---- */
.drawer{transition:transform 380ms var(--p-drawer),visibility 0s linear 380ms!important}
.drawer.on{transition:transform 380ms var(--p-drawer),visibility 0s!important}
.scrim{transition:opacity 240ms ease!important}

/* ---- reseller bar: fades in/out quicker, and hides while a full-screen scene is pinned ---- */
.x-bar{transition:transform 260ms var(--p-out),opacity 200ms ease!important}

@media (prefers-reduced-motion:reduce){
  .drawer,.drawer.on{transition:visibility 0s!important}
  .d-pill:active,.btn:active,.navpill:active,.cart-btn:active,.x-bar a:active,.x-st-cta:active,.ljchat-btn:active{transform:none}
  .d-mag:active{scale:none}
}
