/* Home page: the tracksuits hang on a rail, slide in and swing */
.hero { background: radial-gradient(120% 90% at 50% 18%, #2a2a31 0%, #0c0c0e 68%); }
.rail-scene { position: relative; padding-top: 26px; overflow: hidden; }
.rail-bar { position: absolute; left: 0; right: 0; top: 30px; height: 7px; background: linear-gradient(#f4f5f7, #8d9097 60%, #54575e); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55); }
.rail-track { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 3vw, 52px); padding: 0 16px 6px; }
.rail-item { position: relative; display: block; flex: 0 0 auto; width: clamp(130px, 19vw, 250px); text-decoration: none; color: inherit; }
.rail-item.extra { width: clamp(110px, 15vw, 196px); opacity: 0.5; }
.rail-item svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 2%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5)); }
.rail-tag { display: block; text-align: center; margin-top: 12px; font-family: var(--display); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--silver); }
.rail-item:hover .rail-tag, .rail-item:focus-visible .rail-tag { color: var(--red); }
.rail-item.suit-white:hover .rail-tag { color: var(--orange); }

/* the drawn tracksuit: one shape, coloured per set */
.suit-black { --suit: #18181b; --suit-shade: #0f0f11; --suit-edge: #3d3d44; --suit-trim: var(--red); --suit-pipe: var(--red); }
.suit-white { --suit: #f3f0e8; --suit-shade: #dbd7ca; --suit-edge: #bdb8aa; --suit-trim: var(--orange); --suit-pipe: #b4b7bd; }
.s-body { fill: var(--suit); stroke: var(--suit-edge); stroke-width: 1.5; stroke-linejoin: round; }
.s-shade { fill: var(--suit-shade); stroke: var(--suit-edge); stroke-width: 1.5; }
.s-trim { fill: var(--suit-trim); }
.s-pipe { fill: none; stroke: var(--suit-pipe); stroke-width: 1.8; stroke-linecap: round; }
.s-cuff { fill: none; stroke: var(--suit-trim); stroke-width: 11; }
.s-zip { stroke: rgba(0, 0, 0, 0.35); stroke-width: 1; }
.s-metal { fill: none; stroke: var(--silver); stroke-width: 3; stroke-linecap: round; }

.hero-copy { position: relative; text-align: center; padding: clamp(26px, 4vw, 46px) 0 clamp(44px, 6vw, 80px); }
.hero-copy h1 { font-size: clamp(20px, 4.6vw, 60px); }
.hero-copy p { margin-inline: auto; }
.hero-copy .eyebrow { margin: 0 auto 16px !important; max-width: none; }

@media (prefers-reduced-motion: no-preference) {
  /* hangers slide along the rail one after another, then swing to rest and keep swaying */
  .rail-item { animation: rail-slide 1.3s cubic-bezier(0.16, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 0.16s); }
  .rail-item svg { animation: rail-swing 2.3s cubic-bezier(0.3, 0, 0.3, 1) both, rail-idle 5s ease-in-out infinite; animation-delay: calc(var(--i) * 0.16s + 0.1s), calc(var(--i) * 0.45s + 2.7s); }
  .rail-item:hover svg { animation: rail-nudge 1.1s ease-out; }
  .rail-track { translate: calc(var(--sy, 0px) * -0.1) 0; }
  .hero-copy p:not(.eyebrow) { animation: rise 0.8s 0.9s both; }
  .hero-copy .eyebrow { animation-delay: 0.5s; }
  .hero-copy h1 { animation-delay: 0.6s; }
  .hero-copy h1 span { animation-delay: 0.75s; }
  .hero-copy .btn { animation-delay: 1.05s; }
  @keyframes rail-slide { from { transform: translateX(110vw); } }
  @keyframes rail-swing { 0% { rotate: -16deg; } 35% { rotate: 10deg; } 58% { rotate: -6deg; } 78% { rotate: 3deg; } 100% { rotate: 0deg; } }
  @keyframes rail-idle { 0%, 100% { rotate: 0deg; } 25% { rotate: 1.5deg; } 75% { rotate: -1.5deg; } }
  @keyframes rail-nudge { 0% { rotate: 0deg; } 25% { rotate: 7deg; } 50% { rotate: -5deg; } 75% { rotate: 2.5deg; } 100% { rotate: 0deg; } }
}

/* Video reel */
.reel-section > .wrap { padding-bottom: 0; }
.reel-nav { display: flex; gap: 8px; }
.reel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1240px) / 2)) clamp(48px, 7vw, 92px); scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { position: relative; flex: 0 0 clamp(220px, 23vw, 290px); aspect-ratio: 9 / 16; padding: 0; border: 1.5px solid var(--red); border-radius: 24px; overflow: hidden; background: #1d1d20; cursor: pointer; scroll-snap-align: center; color: #fff; font: inherit; }
.reel-card:nth-child(even) { border-color: var(--orange); }
.reel-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-sound { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.6); border-radius: 999px; padding: 6px 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.reel-card.sound .reel-sound { background: var(--red); }

/* Lookbook */
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.looks figure { margin: 0; border: 1.5px solid var(--orange); border-radius: 22px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--edge); }
.looks figure:nth-child(even) { transform: translateY(22px); }
.looks img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 800px) {
  .rail-item.extra { display: none; }
  .rail-item { width: min(42vw, 200px); }
  .rail-track { gap: 5vw; }
  .reel-nav { display: none; }
  .reel-card { flex-basis: 62vw; border-radius: 20px; }
  .looks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .looks figure { border-radius: 16px; }
  .looks figure:nth-child(even) { transform: translateY(14px); }
}