/* =============================================================
   SCROLLPRISE · ARTISAN MARKET HERO WALL · 2026-08-23
   Reference adaptation: authored moving product wall, re-skinned
   to the existing Scrollprise neutral product-card language.
   Performance rule: compositor-only continuous motion.
   ============================================================= */

.editorial-hero.artisan-market-hero{
  min-height:690px!important;
  margin-top:0!important;
  padding:0!important;
  overflow:hidden!important;
  isolation:isolate;
  border-bottom:1px solid rgba(0,0,0,.06)!important;
  background:
    radial-gradient(780px 520px at 76% 44%,rgba(255,255,255,.72),transparent 66%),
    radial-gradient(520px 420px at 23% 28%,rgba(0,0,0,.025),transparent 72%),
    #e6e6e4!important;
  color:#111!important;
}
.editorial-hero.artisan-market-hero::before,
.editorial-hero.artisan-market-hero::after{display:none!important}

.artisan-hero-grid{
  width:min(100% - 48px,1450px);
  min-height:690px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(330px,.78fr) minmax(560px,1.22fr);
  align-items:center;
  gap:clamp(20px,3vw,48px);
}
.artisan-hero-copy{position:relative;z-index:20;padding:62px 0 54px}
.artisan-hero-kicker{
  display:flex;align-items:center;gap:10px;
  margin:0 0 20px;color:#5e625d;
  font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase
}
.artisan-hero-kicker i{width:25px;height:1px;background:#101310;display:block}
.artisan-hero-title{
  max-width:650px!important;margin:0!important;color:#111!important;
  font-size:clamp(58px,6.2vw,94px)!important;line-height:.84!important;
  letter-spacing:-.065em!important;font-weight:880!important;text-wrap:balance
}
.artisan-hero-title span{display:block!important;color:#9b9b97!important;-webkit-text-stroke:0!important;text-shadow:none!important}
.artisan-hero-lede{
  max-width:470px!important;margin:26px 0 28px!important;
  color:#656563!important;font-size:15px!important;line-height:1.62!important
}
.artisan-hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.artisan-hero-actions .artisan-primary,
.artisan-hero-actions .artisan-secondary{
  min-height:48px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 22px;border-radius:15px;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer
}
.artisan-hero-actions .artisan-primary{border:1px solid #111;background:#111;color:#fff;box-shadow:0 14px 28px rgba(0,0,0,.14)}
.artisan-hero-actions .artisan-primary:hover{background:#fff;color:#111}
.artisan-hero-actions .artisan-secondary{border:1px solid rgba(0,0,0,.11);background:rgba(255,255,255,.52);color:#222}
.artisan-hero-actions .artisan-secondary:hover{background:#fff;border-color:#111}

/* moving wall */
.artisan-wall-stage{
  position:relative;height:690px;min-height:690px;overflow:hidden;
  perspective:1400px;perspective-origin:52% 50%;contain:layout paint;
}
.artisan-wall-stage::before,
.artisan-wall-stage::after{
  content:"";position:absolute;z-index:15;pointer-events:none;inset:0
}
.artisan-wall-stage::before{
  background:
    linear-gradient(90deg,#e6e6e4 0,rgba(230,230,228,.45) 6%,transparent 18%,transparent 84%,rgba(230,230,228,.32) 94%,#e6e6e4 100%),
    linear-gradient(180deg,#e6e6e4 0,transparent 12%,transparent 87%,#e6e6e4 100%)
}
.artisan-wall-stage::after{
  inset:8% 4%;border-radius:48%;
  box-shadow:inset 0 0 95px 35px rgba(230,230,228,.45)
}
.artisan-wall-caption{
  position:absolute;z-index:18;top:26px;left:50%;transform:translateX(-50%);
  white-space:nowrap;color:#71716e;font-size:8px;font-weight:850;letter-spacing:.16em;text-transform:uppercase
}
.artisan-drift-plane{
  --am-rx:12deg;--am-ry:-10deg;
  position:absolute;left:50%;top:50%;display:flex;gap:13px;width:max-content;
  transform-style:preserve-3d;
  transform:translate3d(-50%,-50%,-82px) rotateX(var(--am-rx)) rotateY(var(--am-ry)) scale(1.08);
  transform-origin:center;will-change:transform
}
.artisan-drift-col{
  position:relative;width:166px;height:790px;overflow:hidden;transform-style:preserve-3d
}
.artisan-drift-track{
  display:flex;flex-direction:column;width:100%;
  animation:artisanWallLoop var(--am-duration,40s) linear infinite;
  animation-delay:var(--am-delay,0s);will-change:transform;transform:translate3d(0,0,0)
}
.artisan-drift-col.is-reverse .artisan-drift-track{animation-direction:reverse}
.artisan-drift-col:hover .artisan-drift-track,
.artisan-drift-col:focus-within .artisan-drift-track,
.artisan-market-hero.is-wall-paused .artisan-drift-track{animation-play-state:paused}
.artisan-wall-group{display:flex;flex-direction:column;gap:13px;padding-bottom:13px}
@keyframes artisanWallLoop{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}

/* lightweight hero rendition of the approved Scrollprise moving-wall card */
.artisan-product-card{
  position:relative;display:block;width:166px;height:236px;flex:0 0 236px;
  padding:0;border:0;border-radius:26px;background:transparent;color:#111;text-align:left;
  overflow:visible;cursor:pointer;transform:translate3d(0,0,0);
  transition:transform .35s cubic-bezier(.22,1,.36,1),filter .35s ease;
  -webkit-tap-highlight-color:transparent
}
.artisan-product-card:hover,
.artisan-product-card:focus-visible{
  z-index:8;transform:translate3d(0,-2px,34px) scale(1.035);
  filter:drop-shadow(0 20px 28px rgba(0,0,0,.12));outline:none
}
.artisan-product-card::before{
  content:"";position:absolute;inset:0;border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.46);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.05)
}
.artisan-product-card::after{
  content:"";position:absolute;left:18px;right:18px;bottom:18px;height:28px;border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.13), rgba(0,0,0,0) 70%);
  pointer-events:none
}
.artisan-product-card img{
  position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);
  object-fit:contain;object-position:center center;display:block;z-index:2;
  transform:translateZ(0);user-select:none;-webkit-user-drag:none
}
.artisan-product-card img.is-cutout{inset:7px;width:calc(100% - 14px);height:calc(100% - 14px)}

@media(max-width:1180px){
  .artisan-hero-grid{grid-template-columns:minmax(310px,.86fr) minmax(480px,1.14fr)}
  .artisan-drift-plane{transform:translate3d(-50%,-50%,-82px) rotateX(var(--am-rx)) rotateY(var(--am-ry)) scale(.98)}
  .artisan-drift-col:nth-child(6){display:none}
}
@media(max-width:940px){
  .editorial-hero.artisan-market-hero{min-height:auto!important}
  .artisan-hero-grid{width:min(100% - 30px,760px);grid-template-columns:1fr;gap:0;padding-top:24px}
  .artisan-hero-copy{text-align:center;padding:40px 0 12px}
  .artisan-hero-title{margin:auto!important;max-width:700px!important;font-size:clamp(54px,10vw,82px)!important}
  .artisan-hero-lede{margin:22px auto 26px!important}.artisan-hero-actions{justify-content:center}
  .artisan-wall-stage{height:530px;min-height:530px;margin:0 -15px}
  .artisan-drift-plane{transform:translate3d(-50%,-50%,-72px) rotateX(var(--am-rx)) rotateY(var(--am-ry)) scale(.93)}
  .artisan-drift-col:nth-child(5),.artisan-drift-col:nth-child(6){display:none}
}
@media(max-width:620px){
  .artisan-hero-grid{width:min(100% - 22px,560px)}
  .artisan-hero-copy{padding-top:30px}
  .artisan-hero-kicker{justify-content:center}.artisan-hero-title{font-size:50px!important;line-height:.88!important}
  .artisan-hero-lede{font-size:13px!important;max-width:36ch!important}
  .artisan-wall-stage{height:440px;min-height:440px;margin:0 -11px}
  .artisan-wall-caption{top:12px;font-size:7px}
  .artisan-drift-plane{gap:10px;transform:translate3d(-50%,-50%,-72px) rotateX(10deg) rotateY(-7deg) scale(.86)}
  .artisan-drift-col{width:154px}.artisan-product-card{width:154px;height:222px;flex-basis:222px}
  .artisan-drift-col:nth-child(4),.artisan-drift-col:nth-child(5),.artisan-drift-col:nth-child(6){display:none}
}
@media(prefers-reduced-motion:reduce){
  .artisan-drift-track{animation:none!important;transform:translate3d(0,-16%,0)!important}
  .artisan-product-card{transition:none!important}.artisan-drift-plane{will-change:auto}
}


/* v33.5.6 — luxury wall cleanup */
.artisan-product-card::before{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
}
.artisan-product-media{
  position:absolute!important;inset:8px!important;display:block!important;overflow:hidden!important;
  background:none!important;border-radius:20px!important;padding:0!important
}
.artisan-product-media::after{display:none!important}
.artisan-product-card .artisan-product-media img,
.artisan-product-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;display:block;z-index:2;
  background:transparent!important;filter:drop-shadow(0 18px 28px rgba(0,0,0,.12));
  transform:translateZ(0);user-select:none;-webkit-user-drag:none
}
.artisan-product-card .artisan-product-media.has-cutout img,
.artisan-product-card .artisan-product-media img.is-cutout{
  width:100%!important;height:100%!important;object-fit:contain!important;
  filter:drop-shadow(0 18px 26px rgba(0,0,0,.15))!important
}
