/* V22: photographic 2.5D, never a simulated product model. */
.product-stage{position:relative;isolation:isolate;border:1px solid #ffffff25;border-radius:30px;padding:20px;background:linear-gradient(135deg,#343437 0%,#171719 45%,#27272b 100%);box-shadow:0 36px 55px -28px #000b,inset 0 1px #ffffff25;perspective:1000px}
.product-stage:before{content:'';position:absolute;z-index:-1;inset:-18px 18px 24px;border:1px solid #ff742b44;border-radius:34px;transform:translate3d(var(--depth-x,0px),var(--depth-y,0px),-35px) rotateX(4deg);transition:transform .35s ease;pointer-events:none;background:radial-gradient(ellipse at 80% 0%,#f46a171a,transparent 65%)}
.product-stage:after{content:'';position:absolute;z-index:-2;left:8%;right:8%;bottom:-21px;height:40px;border-radius:50%;background:#0007;filter:blur(12px);pointer-events:none}
.product-stage .stage-caption{position:relative;background:none;color:#e5e5e7;padding:3px 3px 16px;font-size:11px;letter-spacing:.15em}
.product-stage .stage-photo{border-radius:20px;box-shadow:0 14px 25px -17px #000b;overflow:hidden}
.product-stage .thumbs{background:transparent;padding:18px 0 0}.product-stage .thumb{border-radius:12px;transition:transform .2s,border-color .2s}.product-stage .thumb.active{border-color:#ff681e;box-shadow:0 0 0 2px #ff681e40}.product-stage .thumb:focus-visible{outline:3px solid #ffae78;outline-offset:4px}
.product-intro:before{background:radial-gradient(ellipse at 88% 25%,#e8530026,transparent 53%),linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:auto,54px 54px,54px 54px}
.product-copy .product-name{text-shadow:0 9px 28px #0005}.product-tile{box-shadow:0 22px 35px -24px #000b,inset 0 1px #ffffff18;transition:box-shadow .3s,transform .3s}.hero-content{position:relative;z-index:2}.hero-label{box-shadow:0 12px 30px #0004;border:1px solid #ffffff25}
@media(hover:hover) and (pointer:fine){.product-tile:hover{transform:translateY(-5px);box-shadow:0 30px 45px -24px #000d,inset 0 1px #ff8c4a55}.product-stage .thumb:hover{transform:translateY(-3px)}}
@media(max-width:700px){.product-stage{padding:10px;border-radius:24px;width:100%;box-sizing:border-box}.product-stage:before{inset:-8px 10px 20px;transform:none}.product-stage:after{bottom:-10px;height:24px}.product-stage .stage-photo{border-radius:16px}.product-stage .thumbs{padding:12px 0 2px;gap:10px}.product-intro{gap:20px}}
@media(prefers-reduced-motion:reduce){.product-stage:before,.product-tile,.product-stage .thumb{transition:none!important;transform:none!important}}
.reduce-motion .product-stage:before,.reduce-motion .product-tile,.reduce-motion .product-stage .thumb{transition:none!important;transform:none!important}
/* V23: remove only empty white margins from the portrait composition.
   Image scale stays full-width; component coordinates use the same mapping. */
[data-kit=v1] .kit-photo{aspect-ratio:1;overflow:hidden;position:relative}
[data-kit=v1] .kit-photo>img{position:absolute;left:0;top:-10%;width:100%;max-width:none;height:auto;display:block}
@media(min-width:701px){[data-kit=v1] .kit-canvas{max-width:calc(100svh - 190px)}}
.editorial-enter{opacity:1;transform:none}
@media(prefers-reduced-motion:no-preference){body:not(.reduce-motion) .editorial-enter{opacity:0;transform:translate3d(0,20px,0);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .85s cubic-bezier(.22,1,.36,1);transition-delay:var(--entry-delay,0ms)}body:not(.reduce-motion) .editorial-enter.is-present{opacity:1;transform:none}}
.reduce-motion .editorial-enter{opacity:1!important;transform:none!important;transition:none!important}
[data-kit=v1] .kit-photo{overflow:clip}
/* V24: fixed geometry, animated light rather than a drifting outline. */
.product-stage{top:auto;overflow:visible}
.product-stage:before{inset:8px;z-index:0;border-radius:23px;background:none;transform:none!important;border-color:#ff742b40;transition:border-color .25s ease,box-shadow .25s ease}
.product-stage .stage-caption{border:0;border-radius:0}
.product-stage .stage-photo,.product-stage .thumbs,.product-stage .stage-caption{position:relative;z-index:1}
@media(hover:hover) and (pointer:fine){.product-stage:hover:before{border-color:#ff8a4c85;box-shadow:inset 0 0 20px #ff742b0c}}
@media(min-width:701px){.product-stage{align-self:center}.product-subnav{position:relative;z-index:1;margin-top:36px}.product-safety+.original-photo{max-width:680px;margin-inline:auto;background:transparent}.product-safety+.original-photo img{display:block;height:auto;max-height:none;width:100%}}
@media(max-width:700px){.product-stage:before{inset:5px;border-radius:20px}}
@media(prefers-reduced-motion:reduce){.product-stage:before{transition:none!important}}
.reduce-motion .product-stage:before{transition:none!important}
@media(min-width:701px){.product-stage .stage-photo{height:auto;aspect-ratio:1}.product-stage .stage-photo>img{height:100%;width:100%;padding:16px;object-fit:contain}}

/* V25: centered selected tutorial card; video mappings unchanged. */
.visual-chapters,.visual-chapters:has(.chapter-card:nth-child(4):last-child){--chapter-width:270px;display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:0;padding:16px max(0px,calc((100% - var(--chapter-width))/2)) 24px;margin:24px 0 32px;scrollbar-width:thin;scrollbar-color:#f87834 #262628;scroll-margin-top:125px}
.visual-chapters .chapter-card{flex:0 0 var(--chapter-width);scroll-snap-align:center;opacity:.66;transition:opacity .2s,border-color .2s,box-shadow .2s;transform:none}
.visual-chapters .chapter-card.selected{opacity:1;border:2px solid #ff873f;box-shadow:0 5px 22px #f8783426;background:#303032}
.visual-chapters .chapter-card:hover,.visual-chapters .chapter-card:focus-visible{opacity:1;transform:none}
.visual-chapters .chapter-card:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:700px){.visual-chapters,.visual-chapters:has(.chapter-card:nth-child(4):last-child){--chapter-width:min(250px,78vw);gap:14px;scroll-margin-top:110px}}
@media(prefers-reduced-motion:reduce){.visual-chapters .chapter-card{transition:none}}

/* V26: official social destinations; native lightweight icons. */
.social-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.social-links a{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;margin:0!important;border:1px solid #ffffff30;border-radius:50%;color:#e9e8e2;background:#1b1d1e;transition:color .2s,border-color .2s,background .2s}.social-links svg{width:18px;height:18px;fill:currentColor}.social-links a:hover{color:#ff873f;border-color:#ff873f;background:#292522}.social-links a:focus-visible,.social-header summary:focus-visible{outline:3px solid #f87834;outline-offset:4px}.social-header{position:relative;flex:0 0 44px}.social-header summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;border:1px solid #13151530;border-radius:50%;cursor:pointer;color:#171919}.social-header summary::-webkit-details-marker{display:none}.social-header[open] summary{background:#171919;color:#fff}.social-popover{position:absolute;right:0;top:calc(100% + 18px);padding:18px;border-radius:22px;background:#181a1bf5;backdrop-filter:blur(16px);border:1px solid #ffffff28;box-shadow:0 16px 45px #0007;width:288px;color:#eee}.social-popover>span{display:block;font-size:10px;letter-spacing:1.4px;margin:0 0 13px}.footer-social{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 0;border-top:1px solid #ffffff20}.footer-social .kicker{margin:0}.social-popover .social-links{flex-wrap:nowrap}@media(max-width:700px){header{gap:8px!important}.social-header{flex-basis:40px}.social-header summary{width:40px;height:40px}.social-popover{right:-5px;width:278px}.social-links{gap:6px}.footer-social{align-items:flex-start;flex-direction:column}.social-header{order:2}.mobile-menu{order:3}.brand{min-width:0}}
@media(max-width:700px){.social-header{position:static}.social-popover{left:12px;right:12px;width:auto;top:calc(100% + 10px)}}

/* V27: a lightweight product-film feature, separate from the brand hero. */
.render-feature{display:grid;grid-template-columns:.8fr 1.6fr;gap:5%;align-items:center;scroll-margin-top:120px}.render-copy h2{font-size:clamp(42px,5vw,76px);line-height:.95;margin:22px 0}.render-copy>p{color:#bdbdbf;line-height:1.7;max-width:370px}.render-copy .button{margin-top:22px}.render-guide{display:block;margin-top:22px;font-size:13px;color:#c3c3c6;text-decoration:underline;text-underline-offset:5px}.render-stage{min-width:0;border-radius:30px;overflow:hidden;background:#d2d2d2;color:#171719;border:1px solid #ffffff30;box-shadow:0 24px 70px #0003}.render-topline{padding:22px 26px 0;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.5px;font-weight:600}.render-screen{position:relative;aspect-ratio:16/9}.render-screen video{display:block;width:100%;height:100%;object-fit:contain}.render-play{position:absolute;left:50%;bottom:10%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;padding:14px 22px;background:#161719;color:#fff;border:1px solid #fff5;border-radius:99px;font:500 14px Barlow,sans-serif;cursor:pointer;box-shadow:0 8px 30px #0003}.render-play[hidden]{display:none}.render-play span{font-size:12px;color:#ff7d37}.render-play:hover{background:#e84403}.render-play:hover span{color:#fff}.render-play:focus-visible{outline:3px solid #ff681e;outline-offset:4px}.render-tags{display:flex;justify-content:space-around;gap:10px;padding:17px 20px 0;border-top:1px solid #0001;font-size:10px;font-weight:700;letter-spacing:1px}.render-status{font-size:11px;text-align:center;margin:14px 18px 20px;color:#555;line-height:1.4}.social-header summary{display:flex;align-items:center;gap:7px;width:auto!important;padding:0 12px!important}.social-follow-label{font-size:12px;font-weight:600}
@media(max-width:700px){.render-feature{grid-template-columns:1fr;gap:25px}.render-copy>p{max-width:100%}.render-copy h2{font-size:48px}.render-stage{border-radius:20px}.render-topline{padding:18px 18px 0;font-size:9px}.render-tags{font-size:8px;letter-spacing:.4px;gap:8px;padding:15px 10px 0}.render-play{font-size:12px;padding:12px 17px;bottom:5%}.render-status{font-size:10px}.social-header summary{padding:0 9px!important}.social-follow-label{font-size:11px}}

/* V28: bounded compatibility artwork, never spilling into copy. */
.weight-visual{height:220px;min-height:0;overflow:hidden;padding:18px;box-sizing:border-box;position:relative}.weight-visual svg{position:static!important;display:block;width:100%!important;height:184px!important;max-width:100%;max-height:100%;min-height:0;overflow:hidden;transform:none!important}.weight-copy{position:relative;min-width:0}.render-screen video{cursor:default}
@media(max-width:700px){.weight-card{grid-template-columns:38% 62%}.weight-visual{height:100%;min-height:190px;padding:10px}.weight-visual svg{height:170px!important;max-height:170px}}

/* V29: source content needs semantic layouts, not flattened tooltips. */
.exercise-reference{margin:30px 0;padding:28px;border:1px solid #ff7b3b55;border-radius:24px;background:linear-gradient(135deg,#2b2624,#202022)}.tutorial-reference .exercise-reference h3{font-size:32px;line-height:1.05;margin:14px 0 22px}.exercise-reference h3 em{color:#ff813b;font-style:normal}.exercise-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.exercise-options article{padding:20px;border-radius:16px;background:#ffffff06;border:1px solid #ffffff16}.exercise-options strong{font-size:18px;color:#fff}.tutorial-reference .exercise-options p{font-size:15px;line-height:1.6;margin:10px 0 0}.tutorial-reference .exercise-note{font-size:13px;line-height:1.6;color:#bcbcc1;margin:20px 0 0}.reference-chip-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.reference-chip-list>span{display:block;padding:9px 12px;border:1px solid #ffffff20;border-radius:10px;font-size:14px;line-height:1.5;background:#ffffff05}
#ref-dayx-first-time-path [aria-label="First-time DAY-X learning path"]{display:grid;gap:18px;margin:24px 0}
#ref-dayx-first-time-path [aria-label="First-time DAY-X learning path"]>a,#ref-dayx-choose-hip-thrust-step{display:block!important;border:1px solid #ffffff25;border-radius:22px;padding:24px!important;background:#ffffff04;color:#e8e8e8;font-size:16px;white-space:normal;min-width:0}
#ref-dayx-first-time-path [aria-label="First-time DAY-X learning path"]>a>span:first-child,#ref-dayx-choose-hip-thrust-step>span:first-child{display:flex;gap:12px;font-size:12px;color:#ff8d4d;letter-spacing:.03em}
#ref-dayx-first-time-path h3{margin:14px 0;font-size:28px;line-height:1.1}#ref-dayx-first-time-path p{margin:12px 0;line-height:1.6}#ref-dayx-first-time-path [aria-label="First-time DAY-X learning path"]>a>span:last-child{display:inline-block;margin-top:12px;color:#ff8d4d;font-size:13px}
#ref-dayx-choose-hip-thrust-step>span:last-child{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}#ref-dayx-choose-hip-thrust-step>span:last-child>a{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:16px;white-space:normal}#ref-dayx-choose-hip-thrust-step strong{display:block;font-size:16px;color:#fff;line-height:1.4}#ref-dayx-choose-hip-thrust-step small{display:block;font-size:13px;line-height:1.5;margin-top:7px;color:#c7c7cc}
@media(max-width:700px){.exercise-reference{padding:20px}.exercise-options{grid-template-columns:1fr}.tutorial-reference .exercise-reference h3{font-size:28px}#ref-dayx-choose-hip-thrust-step>span:last-child{grid-template-columns:1fr}#ref-dayx-first-time-path [aria-label="First-time DAY-X learning path"]>a,#ref-dayx-choose-hip-thrust-step{padding:20px!important}#ref-dayx-first-time-path h3{font-size:25px}.reference-chip-list>span{font-size:13px}}
/* V30: dedicated tutorial entry cards, full original product artwork. */
.hub-head .model-tile,.hub-head .model-tile:nth-child(2){min-height:0;background:linear-gradient(135deg,#303033,#19191b 65%,#252528);color:#f4f3ef;border:1px solid #ffffff24;border-radius:28px;padding:8px;box-shadow:0 24px 50px -30px #000b,inset 0 1px #ffffff12}
.hub-head .model-tile .tile-top{padding:22px 22px 18px}.hub-head .model-tile .kicker{color:#bcbcc0;font-size:10px}.hub-head .model-tile h3{font-size:40px;margin:14px 0 0}.hub-head .model-tile .tile-image{flex:initial;display:block;padding:0;margin:0 14px;aspect-ratio:1;background:#fff;border-radius:20px;overflow:hidden;border:1px solid #ffffff30;box-shadow:0 18px 28px -22px #000b}
.hub-head .model-tile .tile-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;mix-blend-mode:normal;transform:none!important;transition:none;padding:0}
.hub-head .model-tile .tile-bottom{margin:18px 22px 14px;padding-top:0;border:0;gap:20px;font-size:12px;letter-spacing:.04em;color:#e8e8eb}.hub-head .model-tile .tile-bottom span:last-child{border-color:#ff894c66;background:#ff6a2118;color:#ff8c4c;flex:0 0 44px;width:44px;height:44px}.hub-head .model-tile:focus-visible{outline:3px solid #ff8b48;outline-offset:5px}
@media(max-width:700px){.hub-head .model-tile{padding:6px;border-radius:24px}.hub-head .model-tile .tile-top{padding:18px 16px 16px}.hub-head .model-tile .tile-image{margin:0 8px;border-radius:16px}.hub-head .model-tile h3{font-size:34px}.hub-head .model-tile .tile-bottom{margin:16px 14px 12px;font-size:11px;gap:12px}}
@media(max-width:700px){.hub-head .model-tile:nth-child(2){padding:6px;border-radius:24px}}

/* Keep the tutorial selector and the chosen player in view on a phone. */
@media(max-width:700px){
  .visual-chapters,.visual-chapters:has(.chapter-card:nth-child(4):last-child){padding-block:8px 12px;margin-bottom:15px}
  .visual-chapters .chapter-card{padding-bottom:10px}
  .visual-chapters .chapter-card>div{max-height:clamp(66px,calc(100svh - 475px),153px);margin-bottom:8px}
  .studio-focus-head{margin-bottom:12px}
  .studio-focus-head .kicker{margin-bottom:6px}
  .studio-focus-head h2{font-size:clamp(30px,9vw,42px)}
}

/* Home only: brand-led entry, two equally weighted products, shared guidance. */
.home-brand-hero .hero-media{object-position:center 58%;transform:none}
.home-brand-hero:after{background:linear-gradient(90deg,#111416ee 0%,#111416a6 42%,#1114160c 78%),linear-gradient(0deg,#111416c9,transparent 55%)}
.home-brand-hero .hero-content{padding-bottom:clamp(92px,9vw,145px)}
.home-collection .product-tile{height:auto;min-height:0;padding:5px 0 9px}
.home-collection .tile-image{aspect-ratio:3/2;background:#838282}
.home-collection .tile-image img{object-fit:cover;transition:scale .45s ease}
.home-collection [data-home-product=dayx] .tile-image img{object-position:center 39%;transform-origin:center top}
.home-collection [data-home-product=v1] .tile-image img{object-position:center 48%}
.home-collection .tile-bottom{border:0;margin:17px 22px 12px;padding:0;color:#e8e8eb}
.home-collection .tile-bottom span:last-child{display:inline-flex;min-height:44px;align-items:center;justify-content:center;width:auto;height:auto;padding:0 17px;border:1px solid #ffffff50;border-radius:100px}
.home-brand-story{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(25px,5vw,80px)}
.home-brand-story .feature-copy p{max-width:46ch}
.home-story-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.3vw,18px)}
.home-story-photos figure{position:relative;margin:0;overflow:hidden;border-radius:18px;background:#282829;aspect-ratio:4/5}
.home-story-photos img{width:100%;height:100%;object-fit:cover;display:block}
.home-story-photos figcaption{position:absolute;bottom:10px;left:10px;padding:6px 9px;border-radius:8px;background:#151618eb;color:white;font-size:.75rem;font-weight:700;letter-spacing:.09em}
.home-setup{min-height:0;background:radial-gradient(ellipse at 85% 18%,#543323 0%,#2c2624 32%,#17191c 69%)}
.home-setup::after{background:none}
.home-setup .wrap{padding-block:clamp(44px,7vw,95px)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){body:not(.reduce-motion) .home-collection .product-tile:hover .tile-image img{scale:1.055}}
@media(max-width:760px){
 .home-brand-hero{height:clamp(525px,80svh,625px)}
 .home-brand-hero .hero-media{height:72%;object-position:center 56%}
 .home-brand-hero:after{background:linear-gradient(0deg,#161719 7%,#161719 27%,#161719ba 46%,#16171900 79%)}
 .home-brand-hero .hero-content{padding-bottom:73px}
 .home-brand-story{grid-template-columns:1fr;gap:23px}
 .home-story-photos figure{border-radius:13px}
 .home-collection .tile-bottom{margin-inline:15px}
}
.home-collection .tile-top{padding:clamp(18px,2.1vw,28px)}
.home-collection .tile-image{flex:none;display:block;padding:0;margin:0;overflow:hidden}
.home-collection .product-tile .tile-image img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;transform:none;object-fit:cover}
.home-collection .tile-bottom{color:#202124}
.home-collection .tile-bottom span:last-child{border-color:#36373b66;font-size:.75rem;letter-spacing:.06em}
.home-collection .product-tile:focus-visible{outline:3px solid #ff843c;outline-offset:4px}

/* Studio backdrop: use genuine brand exercise photos without retouching the belt. */
.home-setup .home-setup-backdrop{position:absolute;inset:0 0 0 34%;z-index:-1;display:grid;grid-template-columns:1.08fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden;background:#272627}
.setup-photo{min-width:0;min-height:0;overflow:hidden}
.setup-photo-hip{grid-row:span 2}
.home-setup-backdrop img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.83) saturate(.84)}
.setup-photo-hip img{object-position:52% center}
.setup-photo-lunge img{object-position:68% 40%}
.setup-photo-dips img{object-position:center 48%}
.home-setup .home-setup-backdrop::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#191a1d 0%,#191a1da3 18%,#191a1d18 48%,transparent 65%),linear-gradient(0deg,#17191c58,transparent 25%);pointer-events:none}
.home-setup .wrap{position:relative}
.dayx-mode-gallery{scroll-margin-top:100px}
.dayx-mode-gallery .exercise-caption a{display:inline-flex;align-items:center;gap:.4rem;min-height:40px}
.dayx-mode-swipe{display:none}
@media(max-width:760px){
 .home-setup .home-setup-backdrop{inset:0 0 auto;height:235px;grid-template-rows:1fr;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;mask-image:linear-gradient(180deg,#000 66%,transparent 100%)}
 .setup-photo-hip{grid-row:auto}
 .home-setup .home-setup-backdrop::after{background:linear-gradient(0deg,#17191c95,transparent 53%)}
 .home-setup .wrap{padding-top:208px}
 .dayx-mode-swipe{display:inline}
}

/* Keep Home sections close without affecting the product and tutorial layouts. */
.home-collection.section{padding-bottom:clamp(27px,4vw,58px)}
.home-brand-story.section{padding-top:clamp(20px,2.7vw,40px);padding-bottom:clamp(28px,4.1vw,60px)}

/* Responsive masthead: no flex item can squeeze the two action labels. */
header > .header-cta,
header > .social-header,
header > .mobile-menu{flex-shrink:0;white-space:nowrap}
header > .social-header{flex-basis:auto}
header > .social-header > summary{border-radius:999px}
@media (min-width:761px) and (max-width:1140px){
  header{width:calc(100% - 32px);gap:clamp(8px,1.35vw,16px);padding-inline:clamp(14px,2vw,22px)}
  header > .brand{width:clamp(132px,16vw,174px)}
  header > nav{gap:clamp(10px,1.8vw,21px);white-space:nowrap}
  header > nav > a{padding-inline:5px}
  header > nav .nav-category > summary{padding-inline:2px;gap:6px}
  header > .header-cta{font-size:12px;padding:10px 12px;min-height:44px;align-items:center}
  header > .header-cta > span{display:none}
}
@media (min-width:701px) and (max-width:760px){
  header > .social-header{order:2}
  header > .mobile-menu{order:3}
}
@media (max-width:760px){
  header > .social-header{margin-inline-start:auto}
  #mobile-nav > .mobile-tutorial-shortcut{
    display:block;padding:10px 14px;margin-bottom:8px;
    border:1px solid #ff9a5b66;border-radius:10px;
    background:#ed530d19;color:#ffb082;font-weight:700;
  }
}
@media (max-width:350px){
  header > .brand{width:clamp(90px,36vw,126px)}
  header > .mobile-menu{gap:7px;padding-inline:10px}
  header > .social-header > summary{gap:4px}
}

/* Shared product layout approved on Classic and used by both product pages. */
body.has-product .product-intro{padding-bottom:22px}
body.has-product .product-subnav{
  width:90%;max-width:1350px;margin:12px auto clamp(24px,4vw,52px);
  grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
  border:0;border-radius:0;background:none;overflow:visible;
}
body.has-product .product-subnav > a{
  justify-content:flex-start;min-width:0;min-height:58px;
  gap:12px;padding:10px clamp(12px,2vw,24px);
  border:1px solid #494543;border-radius:13px;
  background:linear-gradient(135deg,#282522,#1b1c1e 70%);
  color:#f3f2ed;font-size:15px;font-weight:600;
}
body.has-product .product-subnav > a:is(:hover,:focus-visible){
  border-color:#fa8243;background:#30251e;color:#fff5ed;
}
body.has-product .product-subnav > a:focus-visible{outline:2px solid #fa8243;outline-offset:2px}
body.has-product .product-subnav > a > span{
  color:#ffa26d;font:700 clamp(25px,3vw,34px)/.95 'Barlow Condensed',sans-serif;letter-spacing:0;
}
@media (max-width:700px){
  body.has-product .product-intro{gap:12px;padding-bottom:8px}
  body.has-product .product-intro::before{inset-inline:-5vw}
  body.has-product .product-copy  .kicker{margin-top:0}
  body.has-product .product-copy > p{font-size:16px;line-height:1.55}
  body.has-product .product-copy > .fine{font-size:13px;line-height:1.45}
  body.has-product .product-buy{margin:0;gap:8px}
  body.has-product .product-buy .button{min-height:44px;padding:10px 11px;gap:8px}
  body.has-product .specs{
    margin:2px 0 0;padding:12px 9px;border:1px solid #494543;border-radius:13px;
    background:linear-gradient(135deg,#282522,#1b1c1e 75%);
  }
  body.has-product .specs > div{padding-inline:9px}
  body.has-product .specs span{margin-top:4px;font-size:12px;line-height:1.25}
  body.has-product .product-subnav{width:88%;margin-top:12px;gap:6px}
  body.has-product .product-subnav > a{
    flex-direction:column;align-items:flex-start;justify-content:center;
    padding:8px clamp(7px,2.5vw,12px);font-size:13px;gap:4px;
  }
}
@media (max-width:350px){
  body.has-product .product-buy .button{gap:5px;padding-inline:8px}
}

/* Give the title and active step equal breathing room inside the learning path. */
.studio-v6 .studio-path{
  padding:clamp(16px,2.8vw,24px) clamp(17px,3vw,27px);
  border-radius:24px;
}
.studio-v6 .studio-path > .kicker{
  display:flex;align-items:center;gap:9px;margin:0 0 4px;line-height:1.45;
}
.studio-v6 .studio-path > .kicker::before{margin:0;flex-shrink:0}

/* Transition widths keep the gallery beside the copy until the phone layout. */
@media (min-width:701px) and (max-width:900px){
  body.has-product .product-intro{
    display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
    gap:clamp(22px,4vw,42px);
  }
  body.has-product .product-buy .button{
    min-width:0;min-height:44px;padding-inline:12px;gap:8px;
  }
}
@media (max-width:430px){
  header{padding-inline:clamp(8px,3.4vw,14px)}
  header > .brand{width:clamp(90px,36vw,148px);flex:0 1 auto}
  header > .mobile-menu{gap:8px;padding-inline:12px}
}
@media (max-width:350px){
  header > .mobile-menu{gap:6px;padding-inline:9px}
  header > .social-header > summary{padding-inline:7px!important}
}

body.has-product .product-buy .button{flex:0 0 auto}
body.has-product .render-feature[id$="-motion"]{scroll-margin-top:0}
@media (max-width:700px){
  /* Keep the short gallery shadow off the label without changing desktop. */
  body.has-product .product-intro > .product-stage{box-shadow:0 12px 20px -16px #000a,inset 0 1px #ffffff25}
  body.has-product .product-intro > .product-stage::after{display:none}
  body.has-product .product-copy  .kicker{position:relative;z-index:1;margin-top:4px}
}

/* Product section transitions: avoid stacking two full desktop gutters. */
@media (min-width:701px){
  body.has-product main > section#kit,
  body.has-product main > .product-expanded{padding-bottom:clamp(25px,3.2vw,48px)}
  body.has-product main > .product-expanded,
  body.has-product main > section#compatibility{padding-top:clamp(24px,3vw,44px)}
}
@media (min-width:701px){
  body.has-product main > .dayx-mode-gallery > .wrap{padding-block:clamp(24px,3vw,44px)}
}
@media (max-width:700px){
  body.has-product main > section#kit,
  body.has-product main > .product-expanded{padding-bottom:32px}
  body.has-product main > .product-expanded,
  body.has-product main > section#compatibility{padding-top:32px}
  body.has-product main > .dayx-mode-gallery > .wrap{padding-block:32px}
}
/* The inner wrap owns the mode gallery's vertical inset. */
body.has-product main > .dayx-mode-gallery{padding-block:0}
body.has-product main > .dayx-mode-gallery .chapter-note{margin-bottom:0}

/* Classic mode cards use the same rail as DAY-X, fitted to the product content column. */
.classic-mode-gallery{padding-block:0;margin-block:clamp(24px,4vw,56px);padding-inline:clamp(12px,2.5vw,28px);overflow:hidden}
.classic-mode-gallery>.wrap{width:100%;max-width:none;margin-inline:0;padding-block-start:clamp(24px,3vw,44px)}
.classic-mode-gallery .exercise-caption h3{font-size:clamp(29px,3.2vw,42px)}
@media(max-width:700px){.classic-mode-gallery .exercise-track{margin-right:0;padding-right:0}.classic-mode-gallery .exercise-caption h3{font-size:clamp(28px,6vw,42px)}}

/* Keep light Classic scenes visible above the copy while darkening the caption area. */
.classic-mode-gallery .exercise::after{inset:0;background:linear-gradient(to bottom,transparent 22%,rgba(12,13,15,.28) 38%,rgba(12,13,15,.78) 54%,rgba(12,13,15,.90) 74%,rgba(12,13,15,.96) 100%);pointer-events:none}
.classic-mode-gallery .exercise-caption:is(div){color:#fff}
.classic-mode-gallery .exercise-caption>span,.classic-mode-gallery .exercise-caption h3{color:#fff;text-shadow:0 1px 3px #0009}
@media(max-width:700px){
  .classic-mode-gallery .exercise::after{background:linear-gradient(to bottom,transparent 17%,rgba(12,13,15,.26) 28%,rgba(12,13,15,.78) 39%,rgba(12,13,15,.87) 65%,rgba(12,13,15,.96) 100%)}
  .classic-mode-gallery .exercise-caption{left:16px;right:16px;bottom:19px}
  .classic-mode-gallery .exercise-caption>span{display:block;line-height:1.25}
  .classic-mode-gallery .exercise-caption h3{margin-block:8px 5px;line-height:1}
  .classic-mode-gallery .exercise-caption a{padding-inline:11px}
}

/* Keep the Home studio photography continuous on desktop and tablet. */
@media(min-width:761px){
  .home-setup .home-setup-backdrop{inset:0;grid-template-columns:minmax(0,2.14fr) minmax(0,1fr)}
  .home-setup .setup-photo-hip{position:relative;isolation:isolate}
  .home-setup .setup-photo-hip img{position:absolute;inset:0 0 0 auto;margin:auto 0;height:auto;max-height:100%;object-fit:contain;object-position:right center;mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 92%,transparent 100%)}
  .home-setup .setup-photo-hip::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#17191ce8 0%,#17191cb5 37%,#17191c5e 67%,#17191c08 100%)}
  .home-setup .home-setup-backdrop::after{background:linear-gradient(0deg,#17191c58,transparent 25%)}
  .home-setup .setup-photo-hip::before{content:'';position:absolute;inset:-14px;z-index:-1;background:url('/v83/assets/photo-1936.webp') 73% center/cover no-repeat;filter:blur(11px) brightness(.52) saturate(.84)}
}

/* DAY-X Mode 2 card notes and video shortcuts */
.mode-choice .mode-choice-branches{display:grid;gap:.55rem;margin:0 0 1rem;line-height:1.43;font-size:.875rem;text-transform:none;letter-spacing:normal;color:#d4d1cd}
.mode-choice .mode-choice-branches>span{display:grid;gap:.15rem}
.mode-choice .mode-choice-branches b{color:#f6f2ee;font-size:.875rem}
.mode-2-sections{display:flex;flex-wrap:wrap;gap:.4rem;margin:.55rem 0 0}
.mode-2-sections button{flex:1 1 auto;text-align:left;min-height:44px;border:1px solid #4e4540;border-radius:.6rem;background:#24201e;color:#fff;padding:.5rem .65rem;font:inherit;font-size:.875rem;cursor:pointer}
.mode-2-sections button strong{color:#ff9d5c;margin-right:.3rem;font-variant-numeric:tabular-nums}
.mode-2-sections button:hover{border-color:#ff9d5c}
.mode-2-sections button:focus-visible{outline:2px solid #ff9d5c;outline-offset:2px}

/* Keep the 2B grip-plate restriction readable in its own badge. */
.visual-weights .mode-tags .mode-2b-limit{display:table;max-width:100%;margin-top:6px;background:#ffe5d4;color:#62311c;white-space:normal}

.guide-cover.guide-cover-official{display:block;margin:0;padding:0;aspect-ratio:auto;overflow:hidden;border-radius:20px;background:#f8f8f8;box-shadow:0 16px 36px #0004}
.guide-cover-official img{display:block;width:100%;height:auto}
@media(max-width:760px){.guide-cover.guide-cover-official{width:100%;max-width:360px;margin-inline:auto}}
