/* ==========================================================
   KELLY'S ACTIVEWEAR
   ========================================================== */

:root {
  --bone: #f2efe9;
  --paper: #faf8f4;
  --ink: #0e0e0e;
  --ink-2: #3a3a3a;
  --mute: #8a867f;
  --line: rgba(14, 14, 14, .12);
  --lime: #b4ff1a;
  --flame: #e2463a;

  --c-black: #151515;
  --c-brown: #4b2a1f;
  --c-berry: #b0285c;
  --c-sky: #a6c1d8;

  --f-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }
::selection { background: var(--lime); color: var(--ink); }

/* brand mark (masked so it can be any colour) */
.mark {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: url(../assets/img/logo-mark.png) center / contain no-repeat;
          mask: url(../assets/img/logo-mark.png) center / contain no-repeat;
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--lime);
}
.loader__inner { display: grid; justify-items: center; gap: 20px; }
.loader__mark { font-size: clamp(72px, 12vw, 140px); }
.loader__count {
  font-size: 13px; letter-spacing: .3em; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--bone);
}
.loader__panel { position: absolute; inset: 0; background: var(--lime); transform: translateY(100%); }
.no-js .loader, .loader.is-done { display: none; }

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
  display: none;
}
.cursor__label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .2s;
}
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  color: var(--bone);
  transition: background .4s, color .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-solid {
  background: rgba(242, 239, 233, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ink);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo .mark { font-size: 30px; color: var(--lime); transition: color .4s; }
.nav.is-solid .nav__logo .mark { color: var(--ink); }
.nav__word { font-size: 12px; letter-spacing: .22em; font-weight: 400; font-stretch: 110%; white-space: nowrap; }
.nav__word b { font-weight: 800; }
.nav__links { display: flex; gap: 34px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 8px 8px 8px 16px; border-radius: 100px;
  border: 1px solid currentColor;
}
.bag-btn__count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 100px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700;
}
.bag-btn.is-bump .bag-btn__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 24px; }
.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter); gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
}
.mobile-menu a { font-size: clamp(40px, 12vw, 64px); font-weight: 800; font-stretch: 115%; text-transform: uppercase; line-height: 1.1; letter-spacing: -.02em; }
.mobile-menu__ig { color: var(--lime); font-size: 22px !important; margin-top: 24px; letter-spacing: 0 !important; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .nav { color: var(--bone); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .mark { color: var(--lime) !important; }

/* ---------- BUTTONS ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 28px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap;
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; transition: color .4s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--hover, var(--ink));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --hover: var(--ink); }
.btn--lime:hover span { color: var(--lime); }
.btn--ink { --bg: var(--ink); --fg: var(--bone); --hover: var(--flame); }
.btn--ghost { --bg: transparent; --fg: currentColor; --hover: var(--bone); border: 1px solid currentColor; }
.btn--ghost:hover span { color: var(--ink); }
.btn--full { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; color: var(--bone);
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,.45) 0%, rgba(14,14,14,0) 22%),
    linear-gradient(0deg, rgba(14,14,14,.78) 0%, rgba(14,14,14,.25) 45%, rgba(14,14,14,0) 70%);
}
.hero__content { position: relative; width: 100%; padding: 0 var(--gutter) clamp(28px, 5vh, 56px); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  margin: 0 0 clamp(14px, 2.4vh, 26px);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; }
.hero__title {
  margin: 0;
  font-size: clamp(56px, min(15.5vw, 21vh), 260px);
  line-height: .84;
  font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.045em;
}
.hero__title em { font-size: .92em; letter-spacing: -.02em; color: var(--lime); padding-right: .04em; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__in { display: inline-block; will-change: transform; backface-visibility: hidden; }
.hero__media, .hero__content, .lookbook__track, .js-parallax, .ig__grid { will-change: transform; backface-visibility: hidden; }
.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-top: clamp(20px, 3vh, 36px);
}
.hero__sub { max-width: 380px; margin: 0; font-size: 16px; line-height: 1.5; opacity: .92; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: var(--gutter); top: 50%;
  width: 1px; height: 80px; background: rgba(242,239,233,.3); overflow: hidden;
}
.hero__scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--lime); animation: scrollLine 1.8s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--lime); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.marquee__track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 28s linear infinite; padding-left: 36px; will-change: transform; }
.has-gsap .marquee__track { animation: none; }
.marquee span { font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; font-stretch: 120%; text-transform: uppercase; letter-spacing: -.02em; }
.marquee .mark { font-size: clamp(20px, 2.4vw, 30px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- INTRO ---------- */
.intro { padding: clamp(90px, 16vh, 180px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.intro__label { font-size: 13px; color: var(--mute); margin: 0 0 24px; letter-spacing: .05em; }
.intro__text {
  margin: 0;
  font-size: clamp(30px, 5.2vw, 84px);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 600; font-stretch: 105%;
}
.intro__text .w { display: inline-block; opacity: .14; transition: none; }
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .95em; border-radius: 100px; overflow: hidden;
  margin: -.12em .08em 0;
}
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION HEAD ---------- */
.section-head {
  display: grid; grid-template-columns: 120px 1fr minmax(220px, 340px);
  align-items: end; gap: 24px;
  padding: 0 var(--gutter) clamp(32px, 5vw, 64px);
}
.section-head__no { font-size: 13px; color: var(--mute); margin: 0; letter-spacing: .05em; }
.section-head__title {
  margin: 0;
  font-size: clamp(48px, 8.5vw, 140px);
  line-height: .88; letter-spacing: -.05em; font-weight: 800; font-stretch: 120%;
  text-transform: uppercase;
}
.section-head__title em { letter-spacing: -.02em; }
.section-head__aside { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- COLOURS ---------- */
.colours { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 160px); position: relative; }
.colour-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.colour-row {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.colour-row a {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(18px, 2.6vw, 34px) var(--gutter);
  transition: color .5s var(--ease), padding .5s var(--ease);
}
.colour-row::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--sw);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.colour-row:hover::before, .colour-row:focus-within::before, .colour-row.is-active::before { transform: scaleY(1); }
.colour-row:hover a, .colour-row:focus-within a, .colour-row.is-active a { color: var(--on, var(--bone)); }
.colour-row__no { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.colour-row__name {
  font-size: clamp(40px, 7.4vw, 120px);
  line-height: .9; font-weight: 800; font-stretch: 122%; letter-spacing: -.045em; text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.colour-row:hover .colour-row__name, .colour-row.is-active .colour-row__name { transform: translateX(clamp(8px, 2vw, 32px)); }
.colour-row__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; }
.colour-row__sw { width: 38px; height: 38px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 1px var(--line); }
.colour-row__thumb { display: none; }
.colour-float {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.colour-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.colour-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SHOP ---------- */
.shop { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.filters {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 0 var(--gutter) 28px;
}
.filters__group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip__sw { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.chip__no { color: var(--mute); font-variant-numeric: tabular-nums; }
.chip.is-active .chip__no { color: var(--lime); }
.filters__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.filters__note b { color: var(--ink); }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  padding: 0 var(--gutter);
}
.card { position: relative; cursor: pointer; }
.card[hidden] { display: none; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 12px; background: #e6e2db;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img.alt { opacity: 1; }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 6px; border-radius: 100px;
  background: rgba(250,248,244,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700;
}
.card__tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); }
.card__quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  height: 48px; border-radius: 100px;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transform: translateY(calc(100% + 20px));
  transition: transform .55s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { transform: translateY(0); }
.card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 2px 0; }
.card__name { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.card__colour { margin: 2px 0 0; font-size: 13px; color: var(--mute); }
.card__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.card__dots { display: flex; gap: 5px; margin-top: 10px; }
.card__dots button { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: box-shadow .2s, transform .2s; }
.card__dots button:hover { transform: scale(1.15); }
.card__dots button.is-active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

/* ---------- FEATURES ---------- */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.feature { padding: clamp(28px, 3.5vw, 48px) var(--gutter); border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 700;
}
.feature h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; text-transform: uppercase; }
.feature p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 280px; }

/* ---------- STORY ---------- */
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); color: var(--bone);
  min-height: 100vh;
}
.story__media { position: relative; overflow: hidden; }
.story__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.story__text {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.story__text .section-head__no { color: rgba(242,239,233,.5); margin-bottom: 28px; }
.story__title {
  margin: 0 0 40px;
  font-size: clamp(44px, 6.4vw, 110px);
  line-height: .9; font-weight: 800; font-stretch: 120%; letter-spacing: -.05em; text-transform: uppercase;
}
.story__title em { color: var(--lime); letter-spacing: -.02em; }
.story__p { margin: 0 0 18px; max-width: 480px; font-size: 17px; line-height: 1.6; color: rgba(242,239,233,.78); }
.story__sign { margin: 18px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 34px; color: var(--lime); }

/* ---------- LOOKBOOK ---------- */
.lookbook { background: var(--bone); overflow: hidden; }
.lookbook__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 80px 0 40px; }
.lookbook__head { display: flex; align-items: flex-end; gap: 24px; padding: 0 var(--gutter); }
.lookbook__head .section-head__no { padding-bottom: 12px; }
.lookbook__track { display: flex; gap: clamp(12px, 1.6vw, 24px); padding: 0 var(--gutter); width: max-content; }
.look { margin: 0; position: relative; flex: none; height: min(58vh, 620px); height: min(58svh, 620px); border-radius: 14px; overflow: hidden; }
.look--tall { aspect-ratio: 2 / 3; }
.look--wide { aspect-ratio: 3 / 2; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.look:hover img { transform: scale(1.05); }
.look figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(14,14,14,.62); color: var(--bone);
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}

/* ---------- HOW ---------- */
.how { padding: clamp(80px, 12vw, 160px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.step {
  position: relative; padding: 32px 28px 36px; border-radius: 16px;
  background: var(--bone); border: 1px solid var(--line);
  overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.step:hover, .step.is-active { background: var(--ink); color: var(--bone); transform: translateY(-6px); }
.step:hover p, .step.is-active p { color: rgba(242,239,233,.7); }
.step__no { display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 800; font-stretch: 125%; letter-spacing: -.06em; line-height: 1; color: var(--lime); -webkit-text-stroke: 1.5px var(--ink); transition: -webkit-text-stroke-color .5s; }
.step:hover .step__no, .step.is-active .step__no { -webkit-text-stroke-color: var(--lime); }
.step h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; transition: color .5s; }

/* ---------- INSTAGRAM ---------- */
.ig { position: relative; background: var(--flame); color: var(--ink); overflow: hidden; padding: clamp(90px, 14vw, 180px) var(--gutter); text-align: center; }
.ig__grid {
  position: absolute; inset: -10% -5%;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  align-items: center;
  opacity: .2; filter: grayscale(1) contrast(1.1);
}
.ig__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.ig__grid img:nth-child(even) { transform: translateY(18%); }
.ig__content { position: relative; display: grid; justify-items: center; gap: 28px; }
.ig__kicker { margin: 0; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }
.ig__handle {
  display: inline-block;
  font-size: clamp(34px, 8.4vw, 150px);
  line-height: .95; font-weight: 800; font-stretch: 112%; letter-spacing: -.05em;
  color: var(--lime);
  -webkit-text-stroke: 0;
  transition: color .4s;
  overflow-wrap: anywhere;
}
.ig__handle:hover { color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--bone); padding: clamp(60px, 8vw, 100px) var(--gutter) 24px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__tag { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: .95; font-weight: 800; font-stretch: 118%; letter-spacing: -.04em; text-transform: uppercase; }
.footer__tag em { color: var(--lime); }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 110px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__cols a { color: rgba(242,239,233,.75); transition: color .3s; }
.footer__cols a:hover { color: var(--lime); }
.footer__h { margin: 0 0 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(242,239,233,.45); }
.footer__word {
  margin: clamp(48px, 8vw, 100px) 0 0;
  font-size: 19.4vw; line-height: .78; font-weight: 900; font-stretch: 125%; letter-spacing: -.06em;
  color: var(--lime); text-align: center; white-space: nowrap;
  margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
}
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(242,239,233,.15); font-size: 13px; color: rgba(242,239,233,.55); }
.footer__bottom a:hover { color: var(--lime); }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14,14,14,.6); opacity: 0; transition: opacity .5s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(1100px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--paper); border-radius: 20px; overflow: hidden;
  opacity: 0; transform: translateY(40px) scale(.98);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); font-size: 14px;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.modal__close:hover { background: var(--ink); color: var(--lime); transform: rotate(90deg); }
.modal__gallery { position: relative; background: #e6e2db; display: flex; flex-direction: column; min-height: 0; }
.modal__main { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.modal__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.modal__thumbs { display: flex; gap: 8px; padding: 10px; position: absolute; left: 0; right: 0; bottom: 0; }
.modal__thumbs button { width: 58px; height: 72px; border-radius: 8px; overflow: hidden; opacity: .65; box-shadow: 0 0 0 1px rgba(255,255,255,.6); transition: opacity .3s, box-shadow .3s; }
.modal__thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--lime); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: clamp(28px, 3.4vw, 48px); overflow-y: auto; }
.modal__type { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.modal__title { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: .95; font-weight: 800; font-stretch: 115%; letter-spacing: -.04em; text-transform: uppercase; padding-right: 40px; }
.modal__price { margin: 14px 0 0; font-size: 18px; font-weight: 600; }
.modal__desc { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; }
.opt { margin-top: 26px; }
.opt__label { margin: 0 0 12px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.opt__hint { font-weight: 500; color: var(--mute); }
.opt__swatches, .opt__sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.opt__swatches button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px 0 6px; border-radius: 100px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600;
  transition: border-color .3s, background .3s;
}
.opt__swatches button i { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); }
.opt__swatches button.is-active { border-color: var(--ink); background: var(--bone); }
.opt__sizes button {
  min-width: 56px; height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); font-weight: 700; font-size: 14px;
  transition: background .3s, color .3s, border-color .3s;
}
.opt__sizes button:hover { border-color: var(--ink); }
.opt__sizes button.is-active { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.opt__sizes.is-shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.opt--row { display: flex; gap: 10px; }
.opt--row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1px solid var(--line); border-radius: 100px; }
.qty button { width: 46px; height: 100%; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.js-order-now { margin-top: 10px; }
.modal__actions { margin-top: 26px; }
.modal__actions .opt { margin-top: 0; }
.modal__details { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: var(--ink-2); }
.modal__details li::before { content: "✦ "; color: var(--flame); }

/* ---------- BAG ---------- */
.bag { position: fixed; inset: 0; z-index: 310; visibility: hidden; }
.bag.is-open { visibility: visible; }
.bag__backdrop { position: absolute; inset: 0; background: rgba(14,14,14,.5); opacity: 0; transition: opacity .5s var(--ease); }
.bag.is-open .bag__backdrop { opacity: 1; }
.bag__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.bag.is-open .bag__panel { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag__head h3 { margin: 0; font-size: 22px; font-weight: 800; font-stretch: 115%; text-transform: uppercase; letter-spacing: -.02em; }
.bag__head button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.bag__items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; overflow-y: auto; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.bag-item h4 { margin: 0; font-size: 14px; font-weight: 700; }
.bag-item p { margin: 3px 0 0; font-size: 13px; color: var(--mute); }
.bag-item__remove { font-size: 12px; text-decoration: underline; color: var(--mute); }
.bag-item__remove:hover { color: var(--flame); }
.bag__empty { display: none; padding: 40px 24px; text-align: center; color: var(--mute); flex: 1; }
.bag__empty a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.bag.is-empty .bag__empty { display: block; }
.bag.is-empty .bag__items, .bag.is-empty .bag__foot { display: none; }
.bag__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.bag__note { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400;
  max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 14px;
  background: var(--ink); color: var(--bone);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.4);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
}
.toast b { color: var(--lime); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .filters { flex-direction: column-reverse; align-items: flex-start; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .menu-btn { display: block; }
  .nav__word { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story__media { height: 70vh; }
  .modal { padding: 0; align-items: end; }
  .modal__panel {
    display: block; height: 94vh; height: 94dvh; max-height: none;
    border-radius: 20px 20px 0 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
  }
  .modal__close { position: sticky; top: 12px; float: right; margin: 12px 12px -54px 0; }
  .modal__gallery { height: 50vh; height: 50svh; }
  .modal__main { height: 100%; }
  .modal__thumbs button { width: 48px; height: 60px; }
  .modal__info { overflow: visible; padding: 24px var(--gutter) 0; }
  .modal__title { padding-right: 0; }
  .modal__type { padding-right: 56px; }
  .modal__actions {
    position: sticky; bottom: 0; z-index: 2;
    margin: 22px calc(var(--gutter) * -1) 0;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .modal__actions .btn, .modal__actions .qty { height: 50px; }
  .modal__details { margin-bottom: 0; padding-bottom: 28px; }
  .opt__sizes button { flex: 1; height: 52px; }
  .steps { grid-template-columns: 1fr; }
  .colour-row a { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; }
  .colour-row__meta span:not(.colour-row__sw) { display: none; }
  .colour-row__thumb { display: block; flex: none; width: 56px; height: 70px; border-radius: 8px; object-fit: cover; }
  .colour-row__sw { display: none; }
  .colour-float { display: none; }

  .lookbook__pin { padding: 70px 0 30px; gap: 24px; }
  .look { height: 56vh; height: 56svh; max-height: 560px; }
  .look--wide { aspect-ratio: 4 / 5; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { flex-direction: column; gap: 4px; padding-top: 10px; }
  .card__name { font-size: 14px; }
  .card__price { font-size: 13px; }
  .card__quick { display: none; }
  .card__tag { top: 8px; left: 8px; height: 26px; font-size: 11px; padding-right: 9px; }
  .card__tag i { width: 14px; height: 14px; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters__group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); width: calc(100% + 2 * var(--gutter)); min-width: 0; }
  .hero__kicker .hide-sm { display: none; }
  .hero__kicker { letter-spacing: .18em; }
  .colour-row__name { font-size: 8.6vw; font-stretch: 110%; }
  .filters__group::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .bag-btn > span:first-child { display: none; }
  .bag-btn { padding: 6px; border: 0; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
  .modal__details { grid-template-columns: 1fr; }
  .opt--row .btn { min-width: 0; }
}

/* touch devices (phones & tablets): show what desktop shows on hover */
@media (hover: none) {
  .nav.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(242, 239, 233, .97); }
  .card__tag { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250,248,244,.94); }
  .card__media img.alt { animation: altSwap 7s var(--ease-io) infinite; }
  .card:nth-child(2) .card__media img.alt { animation-delay: 1.75s; }
  .card:nth-child(3) .card__media img.alt { animation-delay: 3.5s; }
  .card:nth-child(4) .card__media img.alt { animation-delay: 5.25s; }
  .card__media img:not(.alt) { animation: kenburns 14s ease-in-out infinite alternate; }
  .card__quick { transform: none; height: 42px; font-size: 12px; }
  .card:active .card__media img { transform: scale(1.03); }
  .btn:active::before { transform: translateY(0); }
  .btn--lime:active span { color: var(--lime); }
}
@keyframes altSwap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro__text .w { opacity: 1 !important; }
}
