/* On — Movement Index
   A quiet, editorial sports index: bone canvas, ink type, signal lime. */

:root {
  --paper: #f2efe8;
  --paper-deep: #e7e2d7;
  --paper-bright: #fbf9f4;
  --ink: #12140f;
  --ink-soft: #55594e;
  --line: rgba(18, 20, 15, 0.16);
  --line-strong: rgba(18, 20, 15, 0.42);
  --volt: #d9ff4a;
  --white: #fffdf8;
  --header-h: 72px;
  --gutter: clamp(18px, 3.5vw, 56px);
  --max: 1560px;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--volt);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(100%, var(--max));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.085em;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-note {
  margin: 0 0 0 clamp(24px, 4vw, 68px);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 16px;
}

.menu-toggle__icon i {
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

.menu-toggle__icon i:first-child {
  top: 4px;
}

.menu-toggle__icon i:last-child {
  top: 11px;
}

.menu-open .menu-toggle__icon i:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle__icon i:last-child {
  top: 8px;
  transform: rotate(-45deg);
}

/* ---------- Shared type / controls ---------- */

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: rgba(242, 239, 232, 0.62);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--volt);
  color: var(--ink);
}

.button__arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform 180ms ease;
}

.button:hover .button__arrow {
  transform: translate(3px, -2px);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  border-color: var(--volt);
  background: var(--volt);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.text-link:hover {
  border-color: var(--ink);
}

.text-link .arrow {
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover .arrow {
  transform: translate(3px, -2px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.breadcrumbs span[aria-hidden="true"] {
  align-self: center;
  opacity: 0.45;
}

.breadcrumbs [aria-current="page"] {
  overflow-wrap: anywhere;
}

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: clamp(30px, 4.7vw, 76px);
  align-items: stretch;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(34px, 5.4vw, 84px) var(--gutter) clamp(56px, 7.2vw, 110px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0px, 1.5vw, 18px) 0 0;
}

.hero-title {
  max-width: 10ch;
  margin: clamp(26px, 4vw, 56px) 0 0;
  font-size: clamp(58px, 9vw, 142px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero-title em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 35ch;
  margin: clamp(28px, 3.5vw, 46px) 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: auto 0 0;
  padding-top: clamp(36px, 5vw, 70px);
}

.hero-spec {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hero-spec dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-spec dd {
  margin: 4px 0 0;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-index {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--ink);
  color: var(--paper);
}

.hero-index::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -155px;
  width: min(68%, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 255, 74, 0.36);
  border-radius: 50%;
  pointer-events: none;
}

.hero-index::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -85px;
  width: min(40%, 210px);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 255, 74, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-index-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-index-head h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-index-count {
  color: rgba(242, 239, 232, 0.58);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.collection-list {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  counter-reset: collection-entry;
}

.collection-list li {
  counter-increment: collection-entry;
  border-top: 1px solid rgba(242, 239, 232, 0.2);
}

.collection-list li:last-child {
  border-bottom: 1px solid rgba(242, 239, 232, 0.2);
}

.collection-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 14px 0;
  transition: color 180ms ease, padding 220ms ease;
}

.collection-link::before {
  content: counter(collection-entry, decimal-leading-zero);
  color: rgba(242, 239, 232, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.collection-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.collection-arrow {
  font-size: 24px;
  line-height: 1;
  transition: transform 220ms ease;
}

.collection-link:hover,
.collection-link:focus-visible {
  padding-left: 9px;
  color: var(--volt);
}

.collection-link:hover::before,
.collection-link:focus-visible::before {
  color: var(--volt);
}

.collection-link:hover .collection-arrow,
.collection-link:focus-visible .collection-arrow {
  transform: translate(4px, -4px);
}

/* ---------- Sections ---------- */

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 106px) var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(38px, 5.1vw, 78px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.section-note {
  max-width: 38ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.section-head__aside {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 4px;
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px) clamp(12px, 1.45vw, 22px);
}

.product-card {
  min-width: 0;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 0.65, 0.26, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.032);
}

.card-action {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .card-action,
.product-card:focus-within .card-action {
  opacity: 1;
  transform: translateY(0);
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product-title {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-price {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.image-fallback {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.load-more-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.load-more {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.load-more:hover,
.load-more:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.edit-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Home CSS fallback: keep the edit compact before JS enhances it. */
.home-edit:not(.is-enhanced) .product-card:nth-child(n + 9) {
  display: none;
}

/* ---------- Approach band ---------- */

.approach {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.approach::after {
  content: "ON";
  position: absolute;
  right: -0.055em;
  bottom: -0.34em;
  color: transparent;
  font-size: clamp(210px, 35vw, 570px);
  font-weight: 700;
  letter-spacing: -0.13em;
  line-height: 0.75;
  -webkit-text-stroke: 1px rgba(242, 239, 232, 0.11);
  pointer-events: none;
}

.approach-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(42px, 7vw, 120px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 8.5vw, 132px) var(--gutter);
}

.approach-title {
  max-width: 9ch;
  margin: clamp(28px, 4.4vw, 60px) 0 0;
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.approach-title em {
  color: var(--volt);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.approach-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(6px, 4vw, 56px);
}

.approach-copy > p {
  max-width: 42ch;
  margin: 0;
  color: rgba(242, 239, 232, 0.72);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}

.fact-list {
  margin: clamp(36px, 5vw, 64px) 0 0;
}

.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid rgba(242, 239, 232, 0.2);
}

.fact:last-child {
  border-bottom: 1px solid rgba(242, 239, 232, 0.2);
}

.fact dt {
  margin: 0;
  color: rgba(242, 239, 232, 0.58);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.approach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: clamp(30px, 4vw, 48px);
}

.approach .text-link {
  border-color: rgba(242, 239, 232, 0.42);
}

.approach .text-link:hover {
  border-color: var(--volt);
}

/* ---------- Footer ---------- */

.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) var(--gutter) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.55fr)) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-statement {
  max-width: 22ch;
  margin: 14px 0 0;
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.footer-heading {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 13px;
  line-height: 1.3;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: var(--ink);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.footer-meta p {
  margin: 0;
}

.footer-mark {
  display: block;
  margin-top: clamp(40px, 5vw, 76px);
  color: var(--ink);
  font-size: clamp(148px, 28vw, 430px);
  font-weight: 700;
  letter-spacing: -0.115em;
  line-height: 0.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Collection page ---------- */

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(38px, 5.4vw, 82px) var(--gutter) clamp(36px, 5vw, 68px);
}

.page-title {
  max-width: 9ch;
  margin: clamp(24px, 3.8vw, 48px) 0 0;
  font-size: clamp(56px, 9.6vw, 154px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.8;
  overflow-wrap: anywhere;
}

.page-intro__body {
  min-width: 0;
  padding-bottom: 8px;
}

.page-intro__body p {
  max-width: 34ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
}

.page-intro__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(62px, 8vw, 118px);
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-wrap {
  display: flex;
  flex: 1 1 250px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-icon {
  position: relative;
  flex: 0 0 16px;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 1.5px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-input {
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  outline: 0;
}

.search-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.search-wrap:focus-within {
  box-shadow: 0 1px 0 var(--ink);
}

.search-clear {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-clear:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.price-filter {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.filter-chip {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-chip:hover {
  border-color: var(--line-strong);
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.sort-wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.sort-wrap label {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sort-select {
  max-width: 190px;
  height: 44px;
  padding: 0 26px 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  outline: 0;
}

.results-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 15px 0 22px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.results-line p {
  margin: 0;
}

.results-count {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.empty-state {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-state h2 {
  max-width: 14ch;
  margin: 16px 0 0;
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.empty-state p {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.empty-state .button {
  margin-top: 26px;
}

/* Pagination must wrap cleanly at 390px. */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(34px, 4.5vw, 56px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-btn,
.step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.page-btn:hover,
.page-btn:focus-visible {
  border-color: var(--line-strong);
}

.page-btn[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.page-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 11px;
}

.step-btn {
  gap: 8px;
  padding: 0 15px;
  border-color: var(--line);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-btn:hover:not(:disabled),
.step-btn:focus-visible:not(:disabled) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.step-btn:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.step-btn .arrow {
  font-size: 16px;
}

.pagination__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

/* ---------- Product page ---------- */

.pdp {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(24px, 3.6vw, 52px) var(--gutter) 0;
}

.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: start;
}

.pdp-visual {
  position: relative;
  min-width: 0;
}

.pdp-image-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper-deep);
  text-align: left;
}

.pdp-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms cubic-bezier(0.22, 0.65, 0.26, 1);
}

.pdp-image-button:hover img {
  transform: scale(1.018);
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zoom-hint__icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.zoom-hint__icon::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 9px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.pdp-visual-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp-visual-meta p {
  margin: 0;
}

.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  min-width: 0;
  padding-top: clamp(4px, 3vw, 42px);
}

.pdp-title {
  max-width: 12ch;
  margin: clamp(24px, 3.4vw, 44px) 0 0;
  font-size: clamp(40px, 5.1vw, 82px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.91;
  overflow-wrap: anywhere;
}

.pdp-price {
  margin: clamp(20px, 2.2vw, 30px) 0 0;
  font-size: clamp(20px, 1.8vw, 27px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}

.pdp-lede {
  max-width: 41ch;
  margin: clamp(22px, 2.6vw, 36px) 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(26px, 3vw, 40px);
}

.save-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.save-button:hover {
  border-color: var(--ink);
}

.save-button__dot {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background 160ms ease;
}

.save-button[aria-pressed="true"] .save-button__dot {
  background: var(--ink);
}

.save-status {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.pdp-facts {
  margin: clamp(32px, 4vw, 52px) 0 0;
  border-top: 1px solid var(--line);
}

.pdp-fact {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.pdp-fact dt {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp-fact dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pdp-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 100px);
  width: min(100%, var(--max));
  margin: clamp(64px, 9vw, 132px) auto 0;
  padding: clamp(34px, 5vw, 66px) var(--gutter) clamp(68px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.pdp-context h2 {
  max-width: 11ch;
  margin: clamp(20px, 3vw, 36px) 0 0;
  font-size: clamp(36px, 5.4vw, 84px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.pdp-context__body {
  align-self: end;
  min-width: 0;
  padding-bottom: 6px;
}

.pdp-context__body p {
  max-width: 43ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}

.pdp-context__body .text-link {
  margin-top: 26px;
}

/* Lightbox */
.lightbox {
  width: min(92vw, 1080px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(10, 12, 8, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 92vh;
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-note {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-edit:not(.is-enhanced) .product-card:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px;
  }

  .hero-title {
    font-size: clamp(58px, 10vw, 104px);
  }

  .hero-index {
    padding: 26px;
  }

  .approach-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  }

  .footer-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .pdp-info {
    position: static;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(58px, 13vw, 112px);
  }

  .hero-lede {
    max-width: 46ch;
  }

  .hero-specs {
    padding-top: 38px;
  }

  .hero-index {
    min-height: 430px;
    padding: clamp(24px, 5vw, 36px);
  }

  .hero-index-head h2 {
    max-width: none;
    font-size: clamp(28px, 4.5vw, 38px);
  }

  .collection-link {
    min-height: 66px;
  }

  .collection-name {
    font-size: clamp(23px, 4vw, 32px);
  }

  .page-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .page-title {
    max-width: 11ch;
    font-size: clamp(58px, 13vw, 120px);
  }

  .page-intro__body {
    max-width: 460px;
  }

  .approach-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .approach-copy {
    padding-top: 0;
  }

  .approach-title {
    max-width: 12ch;
  }

  .pdp-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .pdp-info {
    padding-top: 0;
  }

  .pdp-title {
    max-width: 15ch;
  }

  .pdp-context {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pdp-context h2 {
    max-width: 14ch;
  }

  .pdp-context__body {
    max-width: 500px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
    --gutter: 18px;
  }

  .brand-mark {
    font-size: 28px;
  }

  .brand-sub {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px var(--gutter) 32px;
    overflow-y: auto;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 260ms ease, visibility 200ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 66px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(242, 239, 232, 0.18);
    font-size: clamp(27px, 8.8vw, 40px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-transform: none;
  }

  .site-nav a::before {
    content: "";
    order: 2;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    border-top: 1px solid rgba(242, 239, 232, 0.75);
    border-right: 1px solid rgba(242, 239, 232, 0.75);
    transform: rotate(45deg);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--volt);
  }

  .site-nav a:focus-visible {
    outline-color: var(--volt);
    outline-offset: 2px;
  }

  .site-nav::after {
    content: "On / Performance apparel";
    margin-top: auto;
    padding-top: 32px;
    color: rgba(242, 239, 232, 0.45);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero-title {
    margin-top: 30px;
    max-width: 9ch;
  }

  .hero-specs {
    gap: 10px;
    padding-top: 34px;
  }

  .hero-spec dd {
    font-size: 22px;
  }

  .hero-index {
    min-height: 0;
    padding: 24px 20px 10px;
  }

  .hero-index-head {
    gap: 16px;
  }

  .collection-list {
    margin-top: 24px;
  }

  .collection-link {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 14px 0;
  }

  .collection-name {
    font-size: clamp(23px, 6.7vw, 30px);
  }

  .section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .section-head__aside {
    justify-content: flex-start;
  }

  .section-title {
    font-size: clamp(38px, 11vw, 60px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 10px;
  }

  .product-meta {
    display: block;
    margin-top: 8px;
    padding-top: 8px;
  }

  .product-title {
    font-size: 12px;
  }

  .product-price {
    margin-top: 4px;
    font-size: 11px;
  }

  .card-action {
    display: none;
  }

  .home-edit:not(.is-enhanced) .product-card:nth-child(n + 7) {
    display: none;
  }

  .approach-inner {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .approach-title {
    font-size: clamp(46px, 13vw, 76px);
  }

  .approach::after {
    bottom: -0.28em;
    font-size: clamp(190px, 54vw, 330px);
  }

  .fact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }

  .footer-mark {
    margin-top: 42px;
    font-size: clamp(148px, 42vw, 250px);
  }

  .breadcrumbs {
    padding-top: 16px;
  }

  .page-intro {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .page-title {
    margin-top: 24px;
    font-size: clamp(54px, 15vw, 92px);
  }

  .catalog-tools {
    gap: 10px;
  }

  .search-wrap {
    flex: 1 1 100%;
  }

  .price-filter {
    flex: 1 1 100%;
    gap: 5px;
  }

  .filter-chip {
    flex: 1 1 auto;
    padding: 0 11px;
    white-space: nowrap;
  }

  .sort-wrap {
    flex: 1 1 100%;
    justify-content: space-between;
    margin-left: 0;
    padding-top: 2px;
  }

  .sort-select {
    max-width: 70%;
  }

  .results-line {
    margin-bottom: 18px;
  }

  .pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
  }

  .pagination__nav {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .step-btn {
    width: 100%;
    border-radius: 0;
  }

  .page-numbers {
    order: 1;
    justify-content: flex-start;
  }

  .page-btn {
    min-width: 42px;
  }

  .pdp {
    padding-top: 18px;
  }

  .pdp-image-button {
    aspect-ratio: 4 / 5;
  }

  .pdp-title {
    margin-top: 22px;
    font-size: clamp(38px, 11.5vw, 62px);
  }

  .pdp-lede {
    font-size: 15px;
  }

  .pdp-fact {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .pdp-context {
    margin-top: 56px;
    padding-top: 34px;
    padding-bottom: 68px;
  }

  .lightbox {
    width: calc(100vw - 20px);
  }

  .lightbox-close {
    top: -52px;
    right: 0;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(52px, 14.6vw, 72px);
  }

  .hero-index-head h2 {
    max-width: 9ch;
    font-size: 28px;
  }

  .hero-index-count {
    font-size: 9px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-spec dt {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero-spec dd {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .filter-chip {
    flex: 1 1 calc(50% - 5px);
    min-height: 42px;
  }

  .results-line {
    justify-content: flex-start;
  }

  .pdp-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdp-actions .button {
    width: 100%;
  }

  .pdp-visual-meta {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
