/* KIPRUN hero — Figma "Untitled", Container 24:1736 (1481.6 × 780).
   Desktop keeps the frame's proportions: every box is placed in % of the frame,
   and type is sized in cqi (1cqi = 1% of the hero's width = 14.816px at design size). */

@font-face{font-family:PPMori;src:url("assets/fonts/PPMori-Book.ttf") format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:PPMori;src:url("assets/fonts/PPMori-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:PPMori;src:url("assets/fonts/PPMori-SemiBold.otf") format("opentype");font-weight:600;font-display:swap}
@font-face{font-family:Zpix;src:url("assets/fonts/Zpix.woff2") format("woff2");font-weight:400;font-display:swap}

:root{
  --bg:#060608;
  --handle-bg:#06070D;
  --line:#7D88FF;
  --route:#2F5ED8;
  --white:#fff;
  --sans:PPMori,Arial,sans-serif;   /* the page's own face: Open Sans was never shipped and fell back to Arial */
  --gut:24px;              /* page gutter, as the hero's nav sits */
  --wide:1440px;           /* the width every section lines up to */
  --sec:clamp(76px,7.6vw,116px);   /* air above and below a section */
  --hair:rgba(255,255,255,.14);
  --mori:PPMori,Arial,sans-serif;
  --pixel:Zpix,"Courier New",monospace;
  --condensed:"Helvetica Neue Condensed","Roboto Condensed","Arial Narrow","Liberation Sans Narrow",sans-serif;   /* Figma: Helvetica Compressed */
  /* motion: strong custom curves, never the built-in ones */
  --ease-out:cubic-bezier(.23,1,.32,1);
  --ease-in-out:cubic-bezier(.77,0,.175,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg)}
body{background:var(--bg);color:var(--white);font-family:var(--sans);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul{list-style:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:2px solid var(--line);outline-offset:4px}

/* ── the frame ── */
.hero{
  position:relative;width:100%;overflow:hidden;
  /* the Figma frame's ratio, but never shorter than the screen */
  height:max(100svh, calc(100vw * 780 / 1481.6));
  container-type:size;   /* explicit height, so size containment is safe; the verticals need cqh */
  background:
    linear-gradient(180deg,rgba(14,19,48,.3) 0%,rgba(14,19,48,0) 22%,transparent 22%,transparent 78%,rgba(14,19,48,0) 78%,rgba(14,19,48,.35) 100%),
    var(--bg);
}

/* ── background photo: full bleed at the bottom of the stack ── */
.picture{position:absolute;inset:0;overflow:hidden}
.picture > span{position:relative;display:block;width:100%;height:100%;will-change:transform}
/* one photo per series, stacked; the active one is .is-on. Each image box runs 115% wide from the
   left, so the runner lands in the open right half rather than behind the panels. The incoming
   photo fades in while it settles from a slight zoom; the outgoing one just fades. */
.picture img{position:absolute;left:0;top:0;width:115%;height:100%;max-width:none;object-fit:cover;object-position:var(--pos,0% 30%);
  opacity:0;transform:scale(1.06);transition:opacity 1000ms ease,transform 5200ms var(--ease-out)}
.picture img.is-on{opacity:1;transform:scale(1)}
/* darkest behind the lockup and the text on the left, opening up over the runner on the right */
.picture::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(6,6,8,.82) 0%,rgba(6,6,8,.6) 40%,rgba(6,6,8,.18) 66%,rgba(6,6,8,.4) 100%),
    linear-gradient(180deg,rgba(14,19,48,.5) 0%,rgba(6,6,8,0) 22%,rgba(6,6,8,0) 68%,rgba(6,6,8,.75) 100%)}

/* ── dashed construction grid: the exported 22/22 dashes, at half their Figma strength ── */
.grid{position:absolute;inset:0;pointer-events:none;opacity:.5}
.grid__v,.grid__h{position:absolute;display:block}
.grid__v{top:0;bottom:0;left:var(--x);width:1px}
.grid__v img{position:absolute;left:0;top:0;width:100cqh;height:1px;max-width:none;transform-origin:0 0;transform:rotate(90deg)}
.grid__h{left:0;right:0;top:var(--y);height:1px}
.grid__h--mid{left:-.61%;right:.58%}
.grid__h img{width:100%;height:1px}

/* ── nav ── */
.nav{
  position:absolute;top:2.18%;left:1.69%;right:1.65%;height:7.6%;
  display:flex;align-items:center;justify-content:flex-end;gap:1.11cqi;z-index:2;
}
.nav__pills{display:flex;gap:.389cqi}
/* Apparel is a category, not a shoe: a little air separates it from the five series */
.nav__apparel{margin-left:.9cqi;padding-left:.9cqi;border-left:.8px solid rgba(255,255,255,.28)}
.pill{
  position:relative;display:flex;align-items:center;height:max(26px,2.227cqi);padding:0 max(11px,1.098cqi);
  border:.8px solid var(--white);border-radius:999px;
  font-size:max(11px,.8444cqi);line-height:1.2;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;
  transition:background-color 200ms ease,color 200ms ease,transform 160ms var(--ease-out);
}

/* ── lockup + dashed selection frame (frame box = 2.02% / 17.05%, 47.72% wide) ── */
.lockup{position:absolute;left:2.02%;top:17.05%;width:47.72%;aspect-ratio:707 / 183}
/* Figma's dashed stroke is 9px on / 9px off; a css dashed border can't set that, so it is drawn */
.lockup::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    repeating-linear-gradient(90deg,var(--line) 0 9px,transparent 9px 18px) top / 100% .8px no-repeat,
    repeating-linear-gradient(90deg,var(--line) 0 9px,transparent 9px 18px) bottom / 100% .8px no-repeat,
    repeating-linear-gradient(180deg,var(--line) 0 9px,transparent 9px 18px) left / .8px 100% no-repeat,
    repeating-linear-gradient(180deg,var(--line) 0 9px,transparent 9px 18px) right / .8px 100% no-repeat;
}
.lockup h1{position:absolute;inset:0;font-weight:inherit}
.lockup__logo{position:absolute;left:.86%;top:12.57%;width:99.7%;height:57.9%}
.lockup__logo img{width:100%;height:100%}
/* "KIPRUN by Decathlon": BY in light caps, then the Decathlon mark (the identity's endorsement rule) */
.lockup__tag img{height:1.05em;width:auto}
.lockup__tag{
  position:absolute;left:6.94%;top:76.5%;display:flex;align-items:center;gap:.5em;
  font-family:PPMori,var(--sans);font-weight:300;font-size:max(11px,1.6627cqi);line-height:1;letter-spacing:.04em;white-space:nowrap;
}
.lockup > i{position:absolute;width:11px;height:10px;background:var(--handle-bg);border:.8px solid var(--line)}
.lockup > i:nth-of-type(1){left:-5px;top:-5px}
.lockup > i:nth-of-type(2){right:-5px;top:-5px}
.lockup > i:nth-of-type(3){right:-5px;bottom:-5px}
.lockup > i:nth-of-type(4){left:-5px;bottom:-5px}

/* ── Rectangle 22: the campaign crop. Same band Figma shows: the KIPRUN logo baked
   into the photo's bottom edge stays out of frame ── */
.campaign{position:absolute;left:2.02%;top:50.26%;width:47.72%;aspect-ratio:707 / 353;overflow:hidden;display:block}
/* the panel changes in step with the background: same series, a closer shot */
.campaign img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);
  opacity:0;transition:opacity 900ms ease,transform 700ms var(--ease-out)}
.campaign img.is-on{opacity:1}
.campaign::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(0deg,rgba(6,6,8,.72) 0%,rgba(6,6,8,0) 48%)}
.campaign__cap{position:absolute;left:5.8%;bottom:9%;z-index:1;display:grid;gap:.35em;transition:opacity 220ms ease,filter 220ms ease}
.campaign__cap small{font-family:var(--pixel);font-size:max(11px,.78cqi);letter-spacing:.06em;text-transform:uppercase;color:var(--line)}
.campaign__cap b{font-family:var(--mori);font-weight:600;font-size:max(20px,2.3cqi);line-height:.95;letter-spacing:-.01em;text-transform:uppercase}
.campaign__count{position:absolute;right:3.2%;top:6%;z-index:1;font-family:var(--pixel);font-size:max(11px,.74cqi);letter-spacing:.06em;color:rgba(255,255,255,.7)}
.campaign__count b{font-weight:400;color:var(--white)}
.campaign.is-swapping .campaign__cap{opacity:0;filter:blur(3px)}

/* ── right column ── */
/* the tagline: always two lines, its block ending on the button's right edge so it can grow leftwards */
.intro{
  position:absolute;right:3.55%;top:63.5%;width:max-content;z-index:1;
  font-weight:600;font-size:max(24px,2.7cqi);line-height:.98;letter-spacing:-.01em;text-transform:uppercase;
}

/* bracket buttons: four 9–10px corner marks */
.bracket{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1;
  transition:transform 160ms var(--ease-out)}
.bracket > i{position:absolute;width:10px;height:10px;border:0 solid var(--white);pointer-events:none;
  transition:transform 200ms var(--ease-out)}
.bracket > i:nth-of-type(1){left:0;top:0;border-width:.8px 0 0 .8px}
.bracket > i:nth-of-type(2){right:0;top:0;border-width:.8px .8px 0 0}
.bracket > i:nth-of-type(3){right:0;bottom:0;border-width:0 .8px .8px 0}
.bracket > i:nth-of-type(4){left:0;bottom:0;border-width:0 0 .8px .8px}

.cta{left:84.23%;top:86.92%;width:max(12.22%,150px);height:max(5%,39px)}
/* Figma 44:597: a dark tile with a slice of contour map inside it, a blue waypoint dot on the left */
.cta{background:#0b0b0b;overflow:hidden}
.cta__terrain{position:absolute;left:-2.75%;top:-110.26%;width:102.2%;height:343.3%;max-width:none;pointer-events:none;overflow:visible;
  transition:transform 700ms var(--ease-out)}
.cta__terrain path{stroke:#303030;stroke-width:1;vector-effect:non-scaling-stroke}
.cta__terrain .t-dots{stroke-linecap:round;stroke-dasharray:1.2 2.6}
/* runners: a short lit stretch travelling round each contour, each at its own pace and direction */
.cta__terrain .t-run{stroke:#7D88FF;stroke-opacity:0;stroke-linecap:round;stroke-dasharray:5 20;transition:stroke-opacity 300ms ease}   /* four lit stretches per contour, so some are always inside the button */
/* the dot rides just ahead of the label, so it stays with it at any button width */
.cta__dot{position:relative;flex:0 0 auto;width:4px;height:4px;margin-right:10px;border-radius:50%;background:#13348A;pointer-events:none;
  transition:background-color 200ms ease,transform 200ms var(--ease-out)}
.cta span{position:relative}
.cta__dot::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  /* constant motion runs linear: the dotted contours march, the lit stretches circle the terrain */
  .cta__terrain .t-dots{animation:march 1400ms linear infinite}
  .cta__terrain .t-dots:nth-of-type(8){animation-direction:reverse;animation-duration:1900ms}
  .cta__terrain .t-run{stroke-opacity:.5;animation:run calc(2800ms + var(--i) * 450ms) linear calc(var(--i) * -700ms) infinite}
  .cta__terrain .t-run:nth-of-type(even){animation-direction:reverse}
  /* the waypoint breathes, and a ring leaves it on each beat */
  .cta__dot{animation:beat 1800ms ease-in-out infinite}
  .cta__dot::after{animation:ring 1800ms var(--ease-out) infinite}
}
@keyframes march{to{stroke-dashoffset:-3.8}}
@keyframes run{to{stroke-dashoffset:-25}}   /* one dash period: seamless */
@keyframes beat{0%,100%{background-color:#13348A;transform:scale(1)}45%{background-color:#2F5ED8;transform:scale(1.35)}}
/* a halo that grows off the dot: box-shadow keeps its edge thin, a scaled border would thicken */
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(47,94,216,.85)}70%,100%{box-shadow:0 0 0 9px rgba(47,94,216,0)}}
.cta span{font-family:var(--condensed);font-weight:700;font-size:max(11px,.8889cqi);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}

/* sits on the campaign's bottom-right corner (its top 50.26% of the height + 353/707 of 47.72% of the width) */
.scroll{left:50%;top:calc(50.26cqh + 23.66cqi);width:3.915cqi;height:2.632cqi;min-width:44px;min-height:32px;translate:-50% -50%}
.scroll img{width:1.35cqi;min-width:15px;height:auto;transform:rotate(90deg)}

/* ══ interaction ══ */
/* press feedback on every pointer; hover only where a real hover exists (taps fire false hovers) */
.pill:active,.bracket:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){
  .pill:hover{background-color:var(--white);color:var(--bg)}
  .bracket:hover > i:nth-of-type(1){transform:translate(-3px,-3px)}
  .bracket:hover > i:nth-of-type(2){transform:translate(3px,-3px)}
  .bracket:hover > i:nth-of-type(3){transform:translate(3px,3px)}
  .bracket:hover > i:nth-of-type(4){transform:translate(-3px,3px)}
  .campaign:hover img{transform:scale(1.03)}
  .cta:hover .cta__terrain{transform:translate(-4%,6%) scale(1.08)}
  .cta:hover .cta__terrain .t-run{stroke-opacity:.95}
}

/* ══ entrance: one orchestrated reveal, ~1.5s, marketing-paced ══
   Everything ends on its resting style, so fill-mode is `backwards`: after the
   entrance the element is back on its own transitions (hover, press) instead of
   being pinned by a finished animation. */
@media (prefers-reduced-motion:no-preference){
  /* grid lines draw along their own axis */
  .grid__v{animation:drawDown 900ms var(--ease-in-out) calc(var(--i) * 60ms) backwards}
  .grid__h{animation:drawAcross 900ms var(--ease-in-out) calc(100ms + var(--i) * 60ms) backwards}

  .nav__pills li{animation:rise 500ms var(--ease-out) calc(200ms + var(--i) * 50ms) backwards}

  /* the selection frame draws from its top-left corner, the handles land as it passes them, then the mark wipes in */
  .lockup::before{animation:frameDraw 800ms var(--ease-in-out) 250ms backwards}
  .lockup > i{animation:handle 260ms var(--ease-out) backwards}
  .lockup > i:nth-of-type(1){animation-delay:300ms}
  .lockup > i:nth-of-type(2){animation-delay:640ms}
  .lockup > i:nth-of-type(3){animation-delay:980ms}
  .lockup > i:nth-of-type(4){animation-delay:980ms}
  .lockup__logo{animation:wipe 800ms var(--ease-in-out) 420ms backwards}
  .lockup__tag{animation:rise 500ms var(--ease-out) 850ms backwards}

  /* photos: a clip reveal, the image settling from a slight zoom inside it */
  .campaign{animation:revealUp 1000ms var(--ease-in-out) 350ms backwards}
  .campaign img{animation:settle 1400ms var(--ease-out) 350ms backwards}
  .picture{animation:fade 900ms var(--ease-out) backwards}
  .picture img{animation:settle 1600ms var(--ease-out) backwards}

  .intro{animation:rise 600ms var(--ease-out) 750ms backwards}
  .cta{animation:fade 500ms var(--ease-out) 850ms backwards}
  .cta > i{animation:bracketIn 600ms var(--ease-out) 850ms backwards}
  .scroll{animation:fade 500ms var(--ease-out) 1050ms backwards}
  /* the only loop on the page: a small, slow nudge that says "there's more" */
  .scroll img{animation:nudge 2400ms ease-in-out 1600ms infinite}
}
@keyframes drawDown{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
@keyframes drawAcross{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes rise{from{opacity:0;transform:translateY(10px)}}
@keyframes fade{from{opacity:0}}
@keyframes frameDraw{from{clip-path:inset(0 100% 100% 0)}to{clip-path:inset(0)}}
@keyframes handle{from{opacity:0;transform:scale(.6)}}
@keyframes wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes revealUp{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
@keyframes settle{from{transform:scale(1.15)}}
@keyframes bracketIn{from{opacity:0;transform:scale(1.6)}}
@keyframes nudge{0%,100%{transform:rotate(90deg) translateX(0)}50%{transform:rotate(90deg) translateX(4px)}}

/* reduced motion: fewer, gentler — no movement, no clip sweeps, no loop; plain fades so nothing pops */
@media (prefers-reduced-motion:reduce){
  .nav,.lockup,.campaign,.picture,.intro,.cta,.scroll,.grid{animation:fade 300ms ease backwards}
  .lockup,.campaign,.picture{animation-delay:80ms}
  .intro,.cta,.scroll{animation-delay:160ms}
  .pill,.bracket,.bracket > i,.campaign img{transition-property:background-color,color}
  .picture img,.picture img.is-on{transform:none;transition:none}
  .cta__terrain,.cta__dot{transition:none}
  .cta:hover .cta__terrain,.cta:hover .cta__dot{transform:none}
  .pill:active,.bracket:active{transform:none}
}

/* ══ phones and portrait tablets: one column, reading order, thumb-sized targets ══ */
/* phones, and tablets held upright: the hero's canvas is drawn for a landscape screen, so a tall
   one gets the stacked layout instead of the canvas stretched down its length */
@media (max-width:900px), (orientation:portrait) and (max-width:1180px), (orientation:landscape) and (max-height:520px) and (pointer:coarse){
  .hero{height:auto;min-height:100svh;container-type:inline-size;display:flex;flex-direction:column;gap:20px;padding:16px 16px 32px}
  /* the column runs past a screen: dashes are drawn, not stretched from the 780px svg */
  .grid__v img{display:none}
  .grid__v{background:repeating-linear-gradient(180deg,var(--line) 0 22px,transparent 22px 44px)}
  .grid__v:nth-child(2),.grid__v:nth-child(4),.grid__h{display:none}

  .nav{order:1;position:static;height:auto;flex-direction:column;align-items:stretch;gap:14px}
  /* the five series in one swipeable row; the fading right edge says it scrolls */
  .nav__pills{
    flex:none;min-height:44px;align-items:center;gap:8px;margin:0 -16px;padding:2px 16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;scroll-padding-inline:16px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);
            mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);
  }
  .nav__pills::-webkit-scrollbar{display:none}
  .nav__pills li{display:flex;flex:0 0 auto;scroll-snap-align:start}
  .nav__pills li:last-child{padding-right:32px}
  .pill{height:40px;padding:0 16px;font-size:12px}

  .lockup{order:2;position:relative;left:auto;top:auto;width:100%;margin-top:4px}
  .lockup__tag{font-size:max(11px,3.2cqi)}
  /* the photo stays the background: framed on the runner, dark at the top and foot where the type sits */
  .picture img{width:100%;object-position:60% 50%}   /* portrait: centred on the runner */
  .picture::after{background:linear-gradient(180deg,rgba(6,6,8,.85) 0%,rgba(6,6,8,.55) 28%,rgba(6,6,8,.08) 48%,rgba(6,6,8,.45) 68%,rgba(6,6,8,.9) 100%)}
  .campaign{display:none}
  /* copy and action gather at the foot of the screen; the runner shows through the space above them */
  .intro{order:4;position:static;width:auto;max-width:none;font-size:clamp(32px,9.6vw,58px);line-height:.98;margin-top:auto;align-self:center;text-align:center}
  /* the primary action sits at the foot of the screen, where the thumb already is, at its
     own size rather than stretched across it */
  .cta{order:5;position:relative;left:auto;top:auto;align-self:center;
    width:auto;min-width:0;height:46px;padding:0 20px}
  .cta span{font-size:13.5px}
  /* nothing below the fold to scroll to on a phone */
  .scroll{display:none}
}

/* ═══════════════════════════════════════════════════════════════════
   The five series — the selected shoe on a stage with its details,
   the range as five cards under it
   ═══════════════════════════════════════════════════════════════════ */
html{scroll-padding-top:24px}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

/* the + grid was doing too much: the section keeps one soft lift out of the hero and its own edge lines */
.series{position:relative;padding:var(--sec) var(--gut);background:linear-gradient(180deg,#090b16 0%,var(--bg) 55%)}
.cat{position:relative;max-width:var(--wide);margin:0 auto}
.cat__head{display:grid;gap:12px;margin-bottom:44px}
.cat__top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px;align-items:center}

/* ── stage ── */
.stage{position:relative;aspect-ratio:16 / 9;display:grid;place-items:center;overflow:hidden;perspective:1100px;
  border:.8px solid rgba(255,255,255,.1)}
.stage__c{position:absolute;width:12px;height:12px;border:0 solid rgba(255,255,255,.7);pointer-events:none;z-index:2}
.stage__c:nth-of-type(1){left:0;top:0;border-width:.8px 0 0 .8px}
.stage__c:nth-of-type(2){right:0;top:0;border-width:.8px .8px 0 0}
.stage__c:nth-of-type(3){left:0;bottom:0;border-width:0 0 .8px .8px}
.stage__c:nth-of-type(4){right:0;bottom:0;border-width:0 .8px .8px 0}
.stage__tilt{width:74%;transform-style:preserve-3d;will-change:transform}
.stage__float{transform-style:preserve-3d}
.stage__img{width:100%;height:auto;filter:drop-shadow(0 30px 34px rgba(0,0,0,.55))}
.stage__shadow{position:absolute;left:24%;right:24%;bottom:14%;height:7%;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(0,0,0,.7),transparent);filter:blur(6px)}
.stage__model{position:absolute;left:14px;bottom:14px;z-index:2;font-family:var(--pixel);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--line)}

/* ── info ── */
.info__tag{font-family:var(--pixel);font-size:14.4px;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;color:var(--line)}
.info__name{margin-top:8px;font-family:var(--mori);font-weight:600;font-size:clamp(38px,3.6vw,54px);line-height:1;letter-spacing:-.02em;text-transform:uppercase}
/* colour choice: a swatch per colourway, the upper's colour with the sole's accent under it */
.info__cols{margin-top:20px}
.info__colname{display:flex;align-items:baseline;gap:8px;font-family:var(--pixel);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.info__colname b{font-weight:400;color:#fff}
.swatches{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;list-style:none}
/* the shoe itself in that colour, so the choice is readable at a glance */
.swatch{position:relative;display:block;width:78px;padding:5px 5px 0;background:rgba(255,255,255,.04);border:.8px solid rgba(255,255,255,.16);
  transition:transform 160ms var(--ease-out),border-color 200ms ease,background-color 200ms ease}
.swatch img{display:block;width:100%;height:auto}
.swatch::after{content:"";display:block;height:4px;margin-top:5px;background:var(--a)}   /* the sole's accent */
.swatch[aria-pressed="true"]{border-color:#fff;background:rgba(255,255,255,.1)}
.swatch:active{transform:scale(.92)}
.swatch:focus-visible{outline:1.5px solid var(--line);outline-offset:4px}
@media (hover:hover) and (pointer:fine){ .swatch:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.08)} }
@media (max-width:900px){ .swatch{width:70px} }
@media (prefers-reduced-motion:reduce){ .swatch{transition:none} .swatch:active{transform:none} }

.info__usps{display:grid;margin-top:22px;list-style:none}
.info__usps li{display:grid;grid-template-columns:40px 1fr;column-gap:10px;row-gap:3px;padding:12px 0 14px;border-top:.8px solid rgba(255,255,255,.12)}
.info__n{grid-row:span 2;font-family:var(--pixel);font-size:14.4px;letter-spacing:.02em;color:var(--line)}
.info__usps b{font-family:var(--mori);font-weight:600;font-size:15.6px;letter-spacing:.01em;text-transform:uppercase}
.info__usps p{font-family:var(--mori);font-weight:400;font-size:13.5px;line-height:1.45;color:rgba(255,255,255,.62)}
/* price on its own line; the two buttons under it run edge to edge across the panel */
.info__buy{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:stretch;gap:14px 12px;margin-top:22px}
.info__buy .info__price{grid-column:1 / -1}
/* the hero's button, set in the flow of the page: same plate, trails, waypoint and brackets.
   Two classes deep so the hero's own placement rules, at every breakpoint, never reach it */
.info__buy .cta{position:relative;left:auto;top:auto;order:0;align-self:auto;z-index:0;
  width:100%;min-width:0;height:56px;padding:0 20px}
.info__buy .cta span{font-size:14.5px}
.info__buy .cta__dot{margin-right:12px}
/* Details: the same size, brackets and type as the main button, on a hairline instead of the plate */
.info__buy .cta--ghost{background:transparent;border:.8px solid rgba(255,255,255,.16);color:var(--white);
  transition:border-color 200ms ease,background-color 200ms ease,transform 160ms var(--ease-out)}
.cta__plus{position:relative;width:10px;height:10px;margin-left:12px;flex:0 0 auto;transition:transform 260ms var(--ease-out)}
.cta__plus::before,.cta__plus::after{content:"";position:absolute;left:0;right:0;top:50%;height:1.4px;margin-top:-.7px;background:currentColor}
.cta__plus::after{transform:rotate(90deg)}
.cta--ghost[aria-expanded="true"]{border-color:rgba(125,136,255,.55);color:var(--line)}
.cta--ghost[aria-expanded="true"] .cta__plus{transform:rotate(45deg)}   /* the plus turns into a close */
@media (hover:hover) and (pointer:fine){
  .info__buy .cta--ghost:hover{border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.04)}
}
.info__price{min-width:110px;padding-right:8px;font-family:var(--mori);font-weight:600;font-size:28px;line-height:1;white-space:nowrap}
.info__price.is-status{font-size:15.6px;letter-spacing:.01em;text-transform:uppercase;color:rgba(255,255,255,.62)}

/* the small pixel-type buttons: two ticks, top right and bottom left */
.tick{position:relative;display:inline-flex;align-items:center;padding:6.914px 11.524px;
  font-family:var(--pixel);font-size:11.524px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;color:var(--white);
  transition:transform 160ms var(--ease-out),color 200ms ease}
.tick::before,.tick::after{content:"";position:absolute;width:9.8px;height:9.8px;border:0 solid currentColor;pointer-events:none;transition:transform 200ms var(--ease-out)}
.tick::before{right:0;top:0;border-width:.8px .8px 0 0}
.tick::after{left:0;bottom:0;border-width:0 0 .8px .8px}
.tick:active{transform:scale(.97)}
.tick[aria-expanded="true"]{color:var(--line)}

/* DETAILS opens the full product name and model code */
.more{display:grid;grid-template-rows:0fr;transition:grid-template-rows 240ms var(--ease-out)}
.more > div{overflow:hidden}
.more p{padding-top:14px;font-family:var(--mori);font-weight:400;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.62)}
.more.is-open{grid-template-rows:1fr}

/* ── cards ── */
.cat__cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:40px;list-style:none}
.card{position:relative;display:grid;gap:4px;width:100%;padding:12px 12px 14px;text-align:left;color:var(--white);
  background:none;border:.8px solid rgba(255,255,255,.12);
  transition:border-color 200ms ease,transform 200ms var(--ease-out),box-shadow 200ms ease}
.card__img{display:grid;place-items:center;aspect-ratio:4 / 3;margin-bottom:10px;overflow:hidden}
.card__img img{width:88%;height:auto;transition:transform 400ms var(--ease-out)}
.card__n{position:absolute;top:18px;right:18px;min-width:24px;height:24px;padding:0 4px;display:grid;place-items:center;
  font-family:var(--pixel);font-size:12px;background:var(--route);color:#fff}
.card__tag{font-family:var(--pixel);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--line)}
.card__name{font-family:var(--mori);font-weight:600;font-size:21px;line-height:1.05;letter-spacing:-.01em;text-transform:uppercase}
.card__price{font-family:var(--mori);font-weight:600;font-size:14px;color:rgba(255,255,255,.7)}
.card.is-active{border-color:var(--line);box-shadow:0 0 0 .8px var(--line)}
.card:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){
  .card:hover{border-color:rgba(125,136,255,.6);transform:translateY(-3px)}
  .card:hover .card__img img{transform:scale(1.05) rotate(-2deg)}
  .card:hover:active{transform:translateY(-3px) scale(.98)}
  .tick:hover::before{transform:translate(2px,-2px)}
  .tick:hover::after{transform:translate(-2px,2px)}
}

/* the lean toward the pointer is written by JS; no float */
@media (prefers-reduced-motion:reduce){
  .card,.card__img img,.more{transition:none}
  .card:active,.card:hover{transform:none}
}

/* narrower desktops */
@media (max-width:1180px){
  .cat__top{gap:32px}
  .cat__cards{gap:12px}
  .card__name{font-size:18px}
}

/* phones and portrait tablets: stage, then details, then the cards as a swipe row */
@media (max-width:900px){
  .series{padding:64px 16px 80px}
  .cat__top{grid-template-columns:1fr;gap:24px}
  .stage{aspect-ratio:4 / 3}
  .stage__tilt{width:86%}
  .info__name{font-size:38px}
  .info__buy{gap:12px 10px}
  .info__buy .cta{height:52px;padding:0 14px}
  .info__buy .cta span{font-size:13.5px}
  .info__price{grid-column:1 / -1;min-width:0}
  .tick{justify-content:center;min-height:44px;padding:0 12px;font-size:12px}
  .cat__cards{display:flex;gap:12px;margin:32px -16px 0;padding:2px 16px 4px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
  .cat__cards::-webkit-scrollbar{display:none}
  .cat__cards li{flex:0 0 58%;scroll-snap-align:start}
  .cat__cards li:last-child{padding-right:28px;flex-basis:calc(58% + 28px)}
}

/* the men's and the women's rows: each under a heading that runs into a hairline */
.cat__sep{display:flex;align-items:center;gap:20px;margin-top:72px}
.cat__sep::after{content:"";flex:1;height:.8px;background:var(--hair)}
.cat__label{font-family:var(--mori);font-weight:600;font-size:clamp(24px,2.2vw,32px);line-height:1;letter-spacing:-.02em;text-transform:uppercase}
.cat__cards--sub{margin-top:24px}
@media (max-width:900px){
  .cat__sep{margin-top:48px;gap:14px}
  .cat__cards--sub{margin-top:20px}
}

/* ═══════════════════════════════════════════════════════════════════
   Film — the Kipride Max clips open from a leaning card to full bleed
   as you scroll, then cut colourway (ported from the store build)
   ═══════════════════════════════════════════════════════════════════ */
.film{position:relative;height:340vh;background:var(--bg)}
.film__sticky{position:sticky;top:0;height:100vh;overflow:hidden}
/* JS writes the clip; this is its closed state: a card leaning like the KIPRUN letters */
.film__frame{position:absolute;inset:0;overflow:hidden;background:#0c0e1c;will-change:clip-path;
  clip-path:polygon(30% 15%,80% 15%,70% 85%,20% 85%)}
.film__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;
  transform:scale(var(--z,1.12));transition:opacity 700ms ease}
.film__video.is-on{opacity:1}
.film__scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(6,6,8,.35),transparent 22%,transparent 78%,rgba(6,6,8,.45))}
.film__ui{position:absolute;inset:0;pointer-events:none;opacity:var(--ui,0)}
.film__eyebrow{position:absolute;left:24px;top:28px;font-family:var(--pixel);font-size:12px;letter-spacing:.06em;color:rgba(255,255,255,.85)}
.film__dots{position:absolute;right:24px;bottom:30px;display:flex;gap:10px;list-style:none;pointer-events:auto}
/* thin bars with a 23px hit area */
.film__dots button{width:44px;height:44px;padding:20px 0;background:rgba(255,255,255,.35);background-clip:content-box;transition:background-color 200ms ease}
.film__dots li.is-on button{background-color:#fff}
@media (hover:hover) and (pointer:fine){ .film__dots button:hover{background-color:#fff} }

@media (prefers-reduced-motion:reduce){
  .film__frame{clip-path:none}
  .film__video{transform:none}
  .film__ui{opacity:1}
}
@media (max-width:900px){
  .film{height:300vh}
  .film__frame{clip-path:polygon(18% 12%,94% 12%,82% 88%,6% 88%)}
}

/* ═══════════════════════════════════════════════════════════════════
   Layers — the Kipstorm Elite comes apart as you scroll (Figma 46:615,
   46:618, 46:621, 46:624, 46:628); each layer's USP floats beside it
   ═══════════════════════════════════════════════════════════════════ */
.lay{position:relative;height:520vh;background:var(--bg);--reach:250px;--card:220px}
.lay__sticky{position:sticky;top:0;height:100vh;overflow:hidden}
/* one line instead of a topo wash and a giant outline: the axis the shoe comes apart along */
.lay__box::before{content:"";position:absolute;left:50%;top:-6%;bottom:-6%;width:.8px;translate:-.4px 0;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.2) 0 9px,transparent 9px 18px);opacity:.45}

.lay__head{position:absolute;left:max(var(--gut),calc((100vw - var(--wide)) / 2));top:36px;z-index:3;max-width:380px}
.lay__title{margin-top:12px;font-size:clamp(28px,2.6vw,40px)}   /* a step under a full section title: it sits over the shoe */
.lay__sub{margin-top:10px;max-width:24ch}
.lay__step{margin-top:26px;font-family:var(--pixel);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.lay__step b{font-weight:400;color:#fff}
.lay__bar{display:block;width:160px;height:2px;margin-top:10px;background:rgba(255,255,255,.14)}
.lay__bar i{display:block;height:100%;background:var(--line);transform-origin:0 50%;transform:scaleX(0)}

.lay__buy{position:absolute;right:max(var(--gut),calc((100vw - var(--wide)) / 2));top:36px;z-index:4;display:grid;justify-items:end;gap:.6em}
.lay__model{font-family:var(--pixel);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--line)}
.lay__price{font-family:var(--mori);font-weight:600;font-size:40px;line-height:1}

.lay__stage{position:absolute;inset:0;display:grid;place-items:center}
/* the frames are 687×1024 and share one framing, so stacking them and crossfading reads as the shoe coming apart;
   the box is as tall as the screen allows while leaving room for the callouts either side */
.lay__box{position:relative;aspect-ratio:687 / 1024;height:min(92vh,900px,calc((100vw - 2 * var(--reach) - 48px) * 1.4905))}
/* the layers, cut from the exploded frame. Each sits at its exploded position; JS offsets it back
   into the shoe at rest and lets it slide out with the scroll, so nothing has to hand over */
.ly{position:absolute;left:0;width:100%;top:var(--top);height:var(--h);will-change:transform}
.ly[data-late] > img{opacity:0}   /* the parts inside the shoe show only while they are out of it */
.ly > img{display:block;width:100%;height:100%;pointer-events:none}

/* ── callouts: a handle on the layer, a leader line, the USP ── */
.co{position:absolute;top:var(--y);z-index:2;display:flex;align-items:center;translate:0 -50%;pointer-events:none}
.co.is-in{pointer-events:auto}
.co--r{left:var(--x);width:calc(100% - var(--x) + var(--reach))}
.co--l{right:calc(100% - var(--x));width:calc(var(--x) + var(--reach));flex-direction:row-reverse}
.co__dot{position:relative;flex:0 0 auto;width:10px;height:10px;background:var(--handle-bg);border:.8px solid var(--line)}
.co__dot::after{content:"";position:absolute;inset:-1px;border:1px solid var(--line);opacity:0}
.co__line{flex:1;height:.8px;background:linear-gradient(90deg,var(--line),rgba(125,136,255,.35))}
.co--l .co__line{background:linear-gradient(270deg,var(--line),rgba(125,136,255,.35))}
.co__card{flex:0 0 var(--card);padding:10px 0 0 12px;border-top:.8px solid rgba(255,255,255,.2);transition:opacity 300ms ease}
.co--r .co__card{margin-left:12px}
.co--l .co__card{margin-right:12px}
.co__n{display:block;font-family:var(--pixel);font-size:12px;letter-spacing:.04em;color:var(--line)}
.co__card b{display:block;margin-top:4px;font-family:var(--mori);font-weight:600;font-size:15.6px;letter-spacing:.01em;text-transform:uppercase}
.co__card p{margin-top:4px;font-family:var(--mori);font-weight:400;font-size:13px;line-height:1.45;color:rgba(255,255,255,.62)}
.co.is-now .co__dot{background:var(--line)}
@media (hover:hover) and (pointer:fine){
  .co.is-in:hover .co__card{opacity:1}
  .co.is-in:hover .co__dot{background:var(--line)}
}

/* hidden until its layer has separated. Entering is staged (handle, then the line draws out
   from it, then the text); leaving is quick and all at once */
.co__dot,.co__line,.co__card{opacity:0}
.co.is-in .co__dot,.co.is-in .co__line{opacity:1}
.co.is-in .co__card{opacity:.55}
.co.is-in.is-now .co__card{opacity:1}
@media (prefers-reduced-motion:no-preference){
  .co__dot{transform:scale(.6);transition:opacity 160ms ease,transform 160ms var(--ease-out),background-color 200ms ease}
  .co__line{transform:scaleX(0);transition:opacity 160ms ease,transform 160ms var(--ease-out)}
  .co--r .co__line{transform-origin:0 50%}
  .co--l .co__line{transform-origin:100% 50%}
  .co--r .co__card{transform:translateX(-8px)}
  .co--l .co__card{transform:translateX(8px)}
  .co__card{transition:opacity 160ms ease,transform 160ms var(--ease-out)}
  .co.is-in .co__dot{transform:none;transition:opacity 200ms ease,transform 260ms var(--ease-out),background-color 200ms ease}
  .co.is-in .co__line{transform:none;transition:opacity 200ms ease 80ms,transform 420ms var(--ease-in-out) 80ms}
  .co.is-in .co__card{transform:none;transition:opacity 400ms ease 280ms,transform 400ms var(--ease-out) 280ms}
  /* the current layer's handle sends out a ring */
  .co.is-now .co__dot::after{animation:handlePing 2000ms var(--ease-out) infinite}
}
@keyframes handlePing{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(2.6)}}


/* narrower desktops: shorter reach for the callouts */
@media (max-width:1280px){ .lay{--reach:200px;--card:175px} .co__card p{font-size:12.5px} }

/* phones and portrait tablets: head, the shoe, the current layer's USP, the price */
@media (max-width:900px){
  .lay{height:480svh}
  .lay__sticky{height:100svh;display:flex;flex-direction:column;gap:10px;padding:20px 16px 18px}
  .lay__head{position:static;max-width:none}
  .lay__title{font-size:28px}
  .lay__sub{display:none}
  .lay__step{margin-top:10px}
  .lay__stage{position:relative;inset:auto;flex:1;min-height:0}
  /* the shoe gives up some width so the USPs can sit beside their layer, as they do on a desktop:
     a handle on the part, a short line out to the frame's edge, then the words */
  /* the line reaches the screen's edge and the words come back over the frame's empty margin,
     on a scrim so the shoe can pass behind them */
  .lay{--reach:29%}              /* of the frame's width: where the line ends */
  /* sized from the width so the frame really is 62% of the screen: with a fixed height and an
     aspect ratio, max-width does not get a say */
  .lay__box{height:min(100%,calc((100vw - 32px) * 0.9241));width:auto;max-width:none}
  /* the words hang off the end of the line rather than sitting in its row, so they take the
     width they need and come back over the frame's empty margin */
  .co__card{position:absolute;top:50%;translate:0 -50%;width:37vw;max-width:190px;padding:7px 9px;margin:0;
    border-top-color:rgba(255,255,255,.3);
    background:linear-gradient(180deg,rgba(6,6,8,.9),rgba(6,6,8,.66));backdrop-filter:blur(3px)}
  .co--r .co__card{right:0;left:auto}
  .co--l .co__card{left:0;right:auto}
  .co__n{font-size:11px}
  .co__card b{font-size:12.5px;line-height:1.15;margin-top:3px}
  .co__card p{font-size:11px;line-height:1.35;margin-top:3px}
  /* four sets of words would sit on top of each other at this width: the one whose part is
     moving carries the text, the rest keep their handle on the shoe */
  .co.is-in:not(.is-now) .co__card{opacity:0;visibility:hidden}
  .co.is-in:not(.is-now) .co__dot{opacity:.5}
  .co.is-in:not(.is-now) .co__line{opacity:.35}
  .lay__buy{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .lay__model{display:none}
  .lay__price{font-size:28px}
  .lay__buy .tick{min-height:44px;padding:0 14px;font-size:12px}
}
/* reduced motion: no scroll-driven movement. The section isn't pinned; the shoe shows fully
   taken apart with every USP beside it (phones: listed under it) */
@media (prefers-reduced-motion:reduce){
  .lay{height:auto}
  .lay__sticky{position:relative;height:auto;min-height:100vh}
  .co__dot,.co__line,.co__card{transition:none}
}
@media (prefers-reduced-motion:reduce) and (max-width:900px){
  .lay__sticky{min-height:0}
  .lay__stage{flex:none;height:62svh}
}

/* ═══════════════════════════════════════════════════════════════════
   The Essentials — the kit around the shoes, from decathlon.co.uk
   ═══════════════════════════════════════════════════════════════════ */
.ess{position:relative;padding:var(--sec) var(--gut) calc(var(--sec) * .62);background:var(--bg)}
.ess__head{position:relative;max-width:var(--wide);margin:0 auto 44px}
/* the arrows sit with the heading, out of the rail's way */
.ess__ctrl{position:absolute;right:0;bottom:0;display:flex;gap:8px}
.rail{display:grid;place-items:center;width:44px;height:44px;color:var(--white);background:none;border:.8px solid rgba(255,255,255,.22);
  transition:border-color 200ms ease,transform 160ms var(--ease-out),opacity 200ms ease}
.rail svg{width:16px;height:16px}
.rail:active{transform:scale(.94)}
.rail[disabled]{opacity:.3;pointer-events:none}
.rail:focus-visible{outline:1.5px solid var(--line);outline-offset:3px}
@media (hover:hover) and (pointer:fine){ .rail:hover{border-color:var(--line)} }

.ess__title{margin-top:12px}
.ess__lede{margin-top:14px}

/* one rail: it runs off the right edge of the page so there is always more to pull in */
.ess__rail{display:flex;gap:20px;max-width:1440px;margin:0 auto;padding:2px 24px 6px;list-style:none;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:24px;scrollbar-width:none}
.ess__rail::-webkit-scrollbar{display:none}
.ess{--rail-gutter:max(var(--gut),calc((100vw - var(--wide)) / 2))}   /* aligns card 1 with the container; the rail itself only bleeds to the viewport */
.ess__rail{margin-inline:calc(var(--gut) * -1);padding-inline:var(--rail-gutter);max-width:none;scroll-padding-inline:var(--rail-gutter)}
.kit{flex:0 0 clamp(230px,24vw,320px);scroll-snap-align:start;display:flex}   /* the link fills the card, so every price sits on one line */
.kit > .kit__link{flex:1}
.kit__link{position:relative;display:flex;flex-direction:column;gap:4px;height:100%;color:var(--white);text-decoration:none;transition:transform 160ms var(--ease-out)}
.kit__shot{position:relative;display:block;margin-bottom:12px;aspect-ratio:1;overflow:hidden;border:.8px solid rgba(255,255,255,.14)}
.kit__shot img{width:100%;height:100%;object-fit:cover;transition:transform 600ms var(--ease-out)}
/* the studio photos are light: a thin scrim keeps them sitting on the dark page rather than glaring off it */
.kit__shot::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,6,8,.16),rgba(6,6,8,.04) 40%,rgba(6,6,8,.3));pointer-events:none;
  transition:opacity 300ms ease}
.kit__n{position:absolute;left:10px;top:10px;z-index:2;font-family:var(--pixel);font-size:12px;letter-spacing:.04em;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.kit__cat{font-family:var(--pixel);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--line)}
.kit__name{font-family:var(--mori);font-weight:600;font-size:19px;line-height:1.1;letter-spacing:-.01em;text-transform:uppercase}
.kit__line{margin-top:2px;font-family:var(--mori);font-weight:400;font-size:12.5px;line-height:1.45;color:rgba(255,255,255,.6)}
.kit__meta{display:flex;align-items:baseline;gap:10px;margin-top:auto;padding-top:12px;border-top:.8px solid rgba(255,255,255,.12)}
.kit__price{font-family:var(--mori);font-weight:600;font-size:18px}
.kit__rate{font-family:var(--pixel);font-size:11px;font-style:normal;letter-spacing:.04em;color:rgba(255,255,255,.5)}

/* they arrive as you reach them, one after the next */
.js .kit{opacity:0}
@media (prefers-reduced-motion:no-preference){
  .js .kit{transform:translateY(14px);transition:opacity 500ms ease var(--d,0ms),transform 600ms var(--ease-out) var(--d,0ms)}
}
.js .kit.is-in{opacity:1;transform:none}

@media (hover:hover) and (pointer:fine){
  .kit__link:hover .kit__shot img{transform:scale(1.05)}
  .kit__link:hover .kit__shot::after{opacity:.4}
  .kit__link:hover .kit__shot{border-color:rgba(125,136,255,.6)}
}
.kit__link:active{transform:scale(.99)}
.kit__link:focus-visible{outline:1.5px solid var(--line);outline-offset:6px}

.ess__foot{max-width:var(--wide);margin:32px auto 0;font-family:var(--pixel);font-size:11px;letter-spacing:.04em;color:rgba(255,255,255,.38)}

@media (max-width:900px){
  .ess{--gut:16px;--rail-gutter:16px}
  .ess__head{margin-bottom:28px}
  .ess__ctrl{display:none}        /* swipe instead — unless there is a mouse, below */
  .ess__rail{gap:12px}
  .kit{flex:0 0 min(66vw,300px)}
  .kit__name{font-size:16px}
  .kit__price{font-size:16px}
}

/* ═══════════════════════════════════════════════════════════════════
   Footer — carried over from the tokyoutopia build
   ═══════════════════════════════════════════════════════════════════ */
.foot{position:relative;display:flex;flex-direction:column;overflow:hidden;
  padding:calc(var(--sec) * .62) var(--gut) 26px;background:var(--handle-bg);color:var(--white)}
.foot > *{width:100%;max-width:var(--wide);margin-inline:auto}
.foot__top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  padding-bottom:.6em;border-bottom:.8px solid var(--hair)}
.foot__by{display:flex;align-items:center;gap:10px;font-family:var(--pixel);font-size:11px;letter-spacing:.08em;color:rgba(255,255,255,.7)}
.foot__by img{width:96px;height:auto;filter:brightness(0) invert(1);opacity:.9}
.foot__cols{display:grid;grid-template-columns:1.25fr 1fr .7fr;gap:32px;padding:38px 0 48px}
.foot__lede{max-width:30ch;font-family:var(--mori);font-weight:400;font-size:17px;line-height:1.45;color:rgba(255,255,255,.82)}
.foot__links,.foot__meta{font-family:var(--pixel);font-size:11.5px;line-height:2;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.foot__meta{text-align:right}
.foot__links a,.foot__meta a{color:#fff;text-decoration:underline;text-underline-offset:3px;transition:color 200ms ease}
@media (hover:hover) and (pointer:fine){ .foot__links a:hover,.foot__meta a:hover{color:var(--line)} }

/* the kit runs past, the way the store's footer strip does */
.foot__strip{max-width:none;margin:0 calc(var(--gut) * -1);overflow:hidden}
.foot__strip-track{display:flex;gap:8px;width:max-content}
.foot__strip-track img{flex:0 0 auto;width:104px;height:104px;object-fit:cover}
@media (prefers-reduced-motion:no-preference){
  .foot__strip-track{animation:strip 54s linear infinite}
}
@keyframes strip{to{transform:translateX(calc(-50% - 4px))}}

.foot__wordmark{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:22px}
.foot__mark img{width:min(38vw,300px);height:auto;filter:brightness(0) invert(1)}
.foot__out{font-family:var(--mori);font-weight:600;font-size:min(11vw,86px);line-height:.86;letter-spacing:-.03em;
  color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.55)}
.foot__version{margin-top:14px;text-align:right;font-family:var(--pixel);font-size:11px;letter-spacing:.04em;color:rgba(255,255,255,.4)}

@media (hover:hover) and (pointer:fine){ .ess__ctrl{display:flex} }

@media (max-width:900px){
  .foot{--gut:16px;padding:52px 16px 22px}
  .foot__cols{grid-template-columns:1fr;gap:22px;padding:28px 0 32px}
  .foot__lede{font-size:15px}
  .foot__meta{text-align:left}
  .foot__strip-track img{width:76px;height:76px}
  .foot__wordmark{flex-direction:column;align-items:flex-start;gap:6px}
  .foot__mark img{width:62vw}
  .foot__out{font-size:17vw}
  .foot__version{text-align:left}
}


/* ═══════════════════════════════════════════════════════════════════
   Shared section furniture — the hero's label/heading/rule language,
   used by every section under it
   ═══════════════════════════════════════════════════════════════════ */
.eyebrow{font-family:var(--pixel);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--line)}
.s-title{font-family:var(--mori);font-weight:600;font-size:clamp(34px,3.9vw,58px);line-height:.98;letter-spacing:-.03em;text-transform:uppercase}
.s-lede{max-width:44ch;font-family:var(--mori);font-weight:400;font-size:15px;line-height:1.5;color:rgba(255,255,255,.62)}
/* construction lines: the container's own edges, drawn the way the hero draws its grid */
.rails{position:absolute;left:50%;translate:-50% 0;top:0;bottom:0;width:min(100% - var(--gut) * 2,var(--wide));pointer-events:none}
.rails::before,.rails::after{content:"";position:absolute;top:0;bottom:0;width:.8px;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.14) 0 9px,transparent 9px 18px);opacity:.5}
.rails::before{left:-12px}
.rails::after{right:-12px}
@media (max-width:760px){ .rails{display:none} }


/* ── touch: small controls keep their drawn size and grow an invisible hit area ── */
.pill::after,.tick > span::after{content:"";position:absolute;inset:-9px 0}
.tick > span{position:static}
.scroll{min-height:44px}
.foot__links a,.foot__meta a{display:inline-block;padding:6px 0;margin:-6px 0}


/* ── things step in as they arrive; under reduced motion they only fade ── */
.js [data-in]{opacity:0}
.js [data-in].is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  .js [data-in]{transform:translateY(14px);transition:opacity 600ms ease var(--d,0ms),transform 700ms var(--ease-out) var(--d,0ms)}
}
@media (prefers-reduced-motion:reduce){
  .js [data-in]{transition:opacity 300ms ease}
}
/* the footer's links answer the pointer the way the rest of the page does */
.foot__links a,.foot__meta a{transition:color 200ms ease,text-underline-offset 200ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){
  .foot__links a:hover,.foot__meta a:hover{text-underline-offset:5px}
}


/* a tablet has the room to give the button a little more presence than a phone does */
@media (min-width:700px) and (max-width:900px), (orientation:portrait) and (min-width:700px) and (max-width:1180px){
  .cta{height:52px;padding:0 26px}
  .cta span{font-size:15px}
}


/* the shoe closed again: every USP up at once, none dimmed */
.lay.is-all .co.is-in .co__card{opacity:1}
.lay.is-all .co.is-in .co__dot{background:var(--line)}
@media (max-width:900px){
  /* all four at once on a phone: just the names, at the screen's edges and off the scrim, so the
     closed shoe stays in view between them */
  .lay.is-all .co.is-in:not(.is-now) .co__card{opacity:1;visibility:visible}
  .lay.is-all .co.is-in:not(.is-now) .co__dot,
  .lay.is-all .co.is-in:not(.is-now) .co__line{opacity:1}
  .lay.is-all .co__card{width:auto;max-width:25vw;padding:0;background:none;backdrop-filter:none;border-top:0}
  .lay.is-all .co--l .co__card{text-align:left}
  .lay.is-all .co--r .co__card{text-align:right}
  .lay.is-all .co__card p{display:none}
  .lay.is-all .co__card b{font-size:11px;line-height:1.2;margin-top:2px}
  .lay.is-all .co__n{font-size:10.5px}
}

/* a phone on its side: a short screen, so the lockup and the tagline size to its height and the
   button stays above the fold */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px), (orientation:landscape) and (max-height:520px) and (pointer:coarse){
  .hero{gap:10px;padding:12px 16px 14px}
  .nav{gap:10px}
  .pill{height:32px;padding:0 13px;font-size:11px}
  .nav__pills{min-height:36px}
  .lockup{width:min(100%,86vh);margin-top:0}
  .intro{font-size:clamp(20px,8vh,34px)}
  .cta{height:42px}
}

/* the narrowest phones: the pair stacks, each still edge to edge */
@media (max-width:374px){
  .info__buy{grid-template-columns:1fr}
}
