/* LUCR motion: marquee, collections carousel, lookbook drift, scroll reveal. Additive; remove the 2 tags in index.html to revert. */
.lm{ --lm-pad:max(16px,var(--gutter,20px)); }
.lm-sec{ padding-block:clamp(40px,7vh,88px) }
.lm-head{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding-inline:var(--lm-pad); margin-bottom:1.4rem }
.lm-head h2{ font:500 clamp(28px,3.2vw,48px)/1.05 var(--font-display); letter-spacing:-.015em; margin:0 }
.lm-arrows{ display:flex; gap:.5rem }
.lm-arrow{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--ink); cursor:pointer; font-size:1.05rem; transition:background .3s,border-color .3s }
.lm-arrow:hover{ background:var(--surface); border-color:var(--ink-faint) }
.lm-arrow:focus-visible{ outline:2px solid var(--ink); outline-offset:2px }

/* marquee: reuses .marquee/.marquee-track and the existing marquee-scroll keyframes */
.lucr-marquee .marquee-track{ flex-wrap:nowrap; justify-content:flex-start; gap:0; width:max-content; animation:marquee-scroll 60s linear infinite }
.lucr-marquee .marquee-track span{ padding-right:1.6rem }
.lucr-marquee .marquee-track .marquee-dot{ padding-right:1.6rem }
@media (prefers-reduced-motion:reduce){
  .lucr-marquee .marquee-track{ animation:none; width:auto; flex-wrap:wrap; justify-content:center; gap:.5rem 1.6rem }
  .lucr-marquee .marquee-track span{ padding-right:0 }
  .lucr-marquee .marquee-track [data-lm-dup]{ display:none }
}

/* cards carousel */
.lm-track{ display:flex; gap:clamp(10px,1.4vw,20px); overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:var(--lm-pad); padding-inline:var(--lm-pad); scrollbar-width:none; overscroll-behavior-x:contain }
.lm-track::-webkit-scrollbar{ display:none }
.lm-card{ flex:0 0 clamp(250px,34vw,520px); scroll-snap-align:start; text-decoration:none; color:var(--ink); display:block }
.lm-card-img{ display:block; position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--surface) }
.lm-card-img img, .lm-look-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 1.4s cubic-bezier(.16,1,.3,1) }
.lm-card-t{ display:flex; justify-content:space-between; align-items:baseline; margin-top:.8rem; font:500 clamp(18px,1.6vw,24px)/1.1 var(--font-display) }
.lm-card-t small{ font:400 .72rem/1 var(--font-body); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint) }
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .lm-card:hover img, .lm-look-tile:hover .lm-look-img img{ transform:scale(1.05) }
}

/* lookbook: fixed aspect ratios, inner layer drifts (JS), no layout shift */
.lm-look{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(10px,1.4vw,20px); padding-inline:var(--lm-pad); align-items:start }
.lm-look-col{ display:grid; gap:clamp(10px,1.4vw,20px) }
.lm-look-col:nth-child(2){ margin-top:clamp(24px,6vw,96px) }
.lm-look-tile{ position:relative; overflow:hidden; aspect-ratio:4/5; display:block; background:var(--surface) }
.lm-look-img{ position:absolute; inset:-7% 0; will-change:transform }
@media (max-width:640px){
  .lm-look{ grid-template-columns:1fr 1fr }
  .lm-look-col:nth-child(3){ display:none }
  .lm-look-col:nth-child(2){ margin-top:32px }
  .lm-arrows{ display:none }
}

/* scroll reveal: only armed by JS when motion is allowed */
.lm-armed .lm-r{ opacity:0; transform:translateY(20px); transition:opacity 1s ease, transform 1.1s cubic-bezier(.16,1,.3,1) }
.lm-armed .lm-r.lm-in{ opacity:1; transform:none }
@media (prefers-reduced-motion:reduce){ .lm-armed .lm-r{ opacity:1; transform:none; transition:none } .lm-look-img{ transform:none !important } .lm-track{ scroll-behavior:auto } }
