/* Home category semicircle, progressively enhanced by category-orbit.js. */
#categories.orbit-layout{width:100%;max-width:none;padding:0;position:relative;height:auto}
#categories .orbit-sticky{position:relative;top:0;height:calc(100svh - 100px);min-height:420px;max-height:850px;display:flex;flex-direction:column;justify-content:center;align-items:center;isolation:isolate}
#categories.orbit-layout .section-title{margin:0 16px 12px;text-align:center;font-size:clamp(26px,4.5vw,44px)}
#categories.orbit-layout .category-grid{position:relative;display:block;width:min(100%,1100px);height:clamp(290px,48svh,470px);perspective:1100px;transform-style:preserve-3d;direction:ltr}
#categories.orbit-layout .category{position:absolute;left:50%;top:48%;width:clamp(132px,24vw,240px);margin:0;background:#fff;border:1px solid #dbc8bd;border-radius:18px;overflow:hidden;direction:rtl;transform-origin:center;transition:box-shadow .2s;box-shadow:0 14px 32px #3a231627;will-change:transform}
#categories.orbit-layout .category img{display:block;width:100%;height:clamp(145px,25vw,240px);object-fit:cover;border-radius:0 0 0 34px}
#categories.orbit-layout .category h3{font-size:clamp(20px,2.5vw,29px);line-height:1.4;text-align:center;padding:14px 5px;margin:0;white-space:nowrap}
#categories.orbit-layout .category:focus-visible{outline:3px solid #965e47;outline-offset:5px}
#categories.orbit-layout .section-cta{margin:6px 0 12px;position:relative;z-index:2}
#categories .orbit-hint{font-size:14px;margin:0 0 8px;color:#785a49;text-align:center}
@media(max-width:600px){#categories .orbit-sticky{top:85px;height:calc(100svh - 95px);min-height:390px}#categories.orbit-layout .category-grid{height:clamp(260px,43svh,390px)}#categories.orbit-layout .category{width:36vw;max-width:170px;min-width:110px}#categories.orbit-layout .category img{height:clamp(130px,40vw,190px)}}

/* Keep the pinned stage below the actual fixed masthead, including tablets. */
#categories .orbit-sticky{top:var(--orbit-top,85px);height:calc(100svh - var(--orbit-top,85px) - 12px)}
@media(max-height:540px){#categories .orbit-sticky{min-height:0}#categories.orbit-layout .category-grid{height:200px;min-height:150px}#categories.orbit-layout .category{width:125px;min-width:0}#categories.orbit-layout .category img{height:105px}#categories.orbit-layout .category h3{font-size:18px;padding:7px 4px}#categories .orbit-hint{display:none}#categories.orbit-layout .section-title{font-size:25px}}

#categories.orbit-enabled{height:190svh}
#categories.orbit-layout:not(.orbit-enabled) .orbit-sticky{position:relative;top:0;height:auto;min-height:450px;padding:35px 0}
#categories.orbit-enabled .orbit-sticky{position:sticky}
#categories.orbit-layout .category:nth-child(1){left:24%;transform:translate(-50%,-50%) rotateY(18deg)}
#categories.orbit-layout .category:nth-child(2){left:37%;transform:translate(-50%,-50%) translate3d(0,-33px,65px) rotateY(9deg)}
#categories.orbit-layout .category:nth-child(3){left:63%;transform:translate(-50%,-50%) translate3d(0,-33px,65px) rotateY(-9deg)}
#categories.orbit-layout .category:nth-child(4){left:76%;transform:translate(-50%,-50%) rotateY(-18deg)}
#categories .orbit-toggle{font:inherit;font-size:13px;color:#785a49;background:transparent;border:0;text-decoration:underline;cursor:pointer;padding:8px 16px;position:relative;z-index:2}
#categories .orbit-toggle[hidden]{display:none}

/* Larger foreground cards on an inverted arc; scroll motion is always enabled. */
#categories.orbit-layout .category-grid{width:min(100%,1250px);height:clamp(350px,53svh,550px);perspective:1400px}
#categories.orbit-layout .category{width:clamp(190px,28vw,300px);max-width:none;min-width:0;top:44%}
#categories.orbit-layout .category img{height:clamp(210px,29vw,300px)}
#categories.orbit-layout .category h3{font-size:clamp(23px,2.7vw,32px)}
#categories.orbit-layout .category:nth-child(1){left:50%;transform:translate(-50%,-50%) translate3d(0,38px,90px) scale(1.04)}
#categories.orbit-layout .category:nth-child(2){left:78%;transform:translate(-50%,-50%) rotateY(-18deg) scale(.91)}
#categories.orbit-layout .category:nth-child(3){left:50%;transform:translate(-50%,-50%) translate3d(0,-38px,-90px) scale(.78)}
#categories.orbit-layout .category:nth-child(4){left:22%;transform:translate(-50%,-50%) rotateY(18deg) scale(.91)}
@media(max-width:600px){#categories.orbit-layout .category{width:47vw;max-width:220px}#categories.orbit-layout .category img{height:clamp(180px,52vw,245px)}#categories.orbit-layout .category-grid{height:clamp(340px,51svh,440px)}}
@media(max-height:540px){#categories.orbit-layout .category-grid{height:210px;min-height:170px}#categories.orbit-layout .category{width:150px}#categories.orbit-layout .category img{height:115px}#categories.orbit-layout .category h3{font-size:20px;padding:7px 4px}}

/* Taller portrait covers occupy more of the available screen. */
#categories.orbit-layout .category-grid{height:clamp(430px,64svh,640px)}
#categories.orbit-layout .category img{height:clamp(270px,36vw,380px);object-position:center}
#categories.orbit-layout .category h3{padding:18px 5px}
@media(max-width:600px){#categories.orbit-layout .category-grid{height:clamp(410px,64svh,550px)}#categories.orbit-layout .category img{height:clamp(230px,68vw,325px)}}
@media(max-height:650px){#categories.orbit-layout .category-grid{height:clamp(250px,56svh,365px);min-height:220px}#categories.orbit-layout .category img{height:clamp(150px,34svh,230px)}#categories.orbit-layout .category h3{padding:10px 5px}}
@media(max-height:540px){#categories.orbit-layout .category-grid{height:210px;min-height:170px}#categories.orbit-layout .category img{height:115px}#categories.orbit-layout .category h3{padding:7px 4px}}
