/* On — performance apparel catalogue
   One visual system across home, collection and product detail. */

:root {
  --paper: #f4f3ee;
  --paper-deep: #ebeae4;
  --tile: #e4e3dc;
  --ink: #141614;
  --forest: #15231a;
  --moss: #25382b;
  --lime: #d8ff45;
  --muted: #666b63;
  --muted-light: #b9beb5;
  --line: rgba(20, 22, 20, 0.16);
  --line-strong: rgba(20, 22, 20, 0.42);
  --paper-line: rgba(244, 243, 238, 0.18);
  --header-h: 72px;
  --max: 1480px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: #365600;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  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: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 238, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--max);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 0;
  line-height: 1;
}

.brand-word {
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.brand-orbit {
  width: 10px;
  height: 10px;
  margin-top: 2px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: background 180ms ease, transform 240ms var(--ease);
}

.brand:hover .brand-orbit {
  background: var(--lime);
  transform: scale(1.18);
}

.primary-nav {
  min-width: 0;
  margin-left: clamp(14px, 4vw, 70px);
  margin-right: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

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

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

.nav-meta {
  display: none;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.header-shop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.header-shop:hover {
  background: var(--ink);
  color: var(--paper);
}

.header-shop .arrow {
  font-size: 1rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 92px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.menu-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 11px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.menu-icon span:first-child {
  top: 2px;
}

.menu-icon span:last-child {
  top: 8px;
}

.site-header.is-open .menu-icon span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.site-header.is-open .menu-icon span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

/* Shared type and actions */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow .marker {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--lime);
}

.eyebrow .rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn .arrow {
  font-size: 1.05rem;
  line-height: 1;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  border-color: var(--paper);
  color: var(--paper);
}

.btn--light:hover {
  background: var(--paper);
  color: var(--ink);
}

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

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

.text-link .arrow {
  font-size: 1rem;
  line-height: 1;
}

.section {
  padding-block: clamp(54px, 7vw, 100px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 19ch;
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-note {
  max-width: 35ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Home hero */

.home-hero {
  padding-block: clamp(30px, 4.4vw, 62px);
  border-bottom: 1px solid var(--line);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: stretch;
  min-height: clamp(320px, 39vh, 410px);
}

.home-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-width: 0;
}

.home-title {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(2.75rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.home-title em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.home-lede {
  max-width: 49ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 320px;
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}

.hero-visual::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(244, 243, 238, 0.13);
  content: "";
  pointer-events: none;
}

.visual-top,
.visual-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-top {
  padding-right: 8px;
}

.visual-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.motion-map {
  position: absolute;
  inset: 44px 0 58px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(82%, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 243, 238, 0.28);
  border-radius: 50%;
}

.orbit--one {
  transform: rotate(24deg) scaleX(1.42) scaleY(0.68);
}

.orbit--two {
  width: min(64%, 306px);
  border-color: rgba(216, 255, 69, 0.58);
  transform: rotate(-31deg) scaleX(0.72) scaleY(1.32);
}

.orbit--three {
  width: min(44%, 205px);
  border-color: rgba(244, 243, 238, 0.2);
  transform: rotate(58deg) scaleX(1.24) scaleY(0.82);
}

.orbit-axis {
  position: absolute;
  width: 86%;
  height: 1px;
  background: rgba(244, 243, 238, 0.24);
  transform: rotate(-32deg);
}

.orbit-axis::before {
  position: absolute;
  top: -3px;
  left: 22%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.motion-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
}

.motion-core strong {
  font-size: clamp(4.6rem, 8.8vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.095em;
  line-height: 0.75;
}

.motion-core span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-facts {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 26px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-line);
}

.visual-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.visual-fact span {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-fact b {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Product cards and grids */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 46px) clamp(12px, 1.6vw, 22px);
}

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

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

.product-media img {
  width: 100%;
  height: 100%;
  padding: 4.5%;
  object-fit: contain;
  transition: transform 500ms var(--ease);
}

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

.product-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 22, 20, 0.055);
  content: "";
  pointer-events: none;
}

.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
}

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

.product-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(0.83rem, 1.1vw, 0.96rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 260ms var(--ease);
}

.product-title a:hover {
  background-size: 100% 1px;
}

.product-price {
  padding-top: 15px;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.home-grid .product-card:nth-child(n + 9) {
  display: none;
}

.catalog-grid:not(.is-ready) .product-card:nth-child(n + 13) {
  display: none;
}

/* Collections band */

.collections-band {
  padding-block: clamp(54px, 7vw, 96px);
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}

.collections-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
  padding-bottom: clamp(28px, 3vw, 46px);
}

.collections-head .eyebrow {
  color: var(--muted-light);
}

.collections-title {
  max-width: 10ch;
  margin-top: 17px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.collections-summary {
  max-width: 39ch;
  justify-self: end;
  color: var(--muted-light);
  font-size: 0.94rem;
  line-height: 1.6;
}

.collection-list {
  border-top: 1px solid var(--paper-line);
  counter-reset: collection-row;
}

.collection-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 42px;
  gap: clamp(12px, 2.2vw, 34px);
  align-items: center;
  min-height: clamp(88px, 8.6vw, 124px);
  padding-inline: 6px;
  border-bottom: 1px solid var(--paper-line);
  transition: background 240ms ease, padding 260ms var(--ease);
}

.collection-row::before {
  align-self: center;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  content: "0" counter(collection-row);
  counter-increment: collection-row;
}

.collection-row:hover,
.collection-row:focus-visible {
  padding-inline: 18px;
  background: rgba(244, 243, 238, 0.055);
}

.collection-name {
  min-width: 0;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.collection-meta {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.collection-row:hover .collection-arrow,
.collection-row:focus-visible .collection-arrow {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

/* Approach */

.approach {
  padding-block: clamp(58px, 7vw, 104px);
}

.approach-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
  padding-bottom: clamp(34px, 4vw, 54px);
}

.approach-title {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.approach-copy {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}

.approach-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stat strong {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.family-list {
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--line);
  counter-reset: family-row;
}

.family-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.7fr) minmax(0, 1.3fr) 42px;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  min-height: 76px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 200ms var(--ease);
}

.family-row::before {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  content: "0" counter(family-row);
  counter-increment: family-row;
}

.family-row:hover {
  padding-inline: 14px;
  background: rgba(20, 22, 20, 0.035);
}

.family-name {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.family-items {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.family-arrow {
  justify-self: end;
  color: var(--muted);
  font-size: 1rem;
}

/* Footer */

.site-footer {
  padding-top: clamp(48px, 6vw, 84px);
  background: var(--ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 110px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.footer-wordmark {
  display: inline-block;
  font-size: clamp(5.4rem, 14vw, 12.5rem);
  font-weight: 700;
  letter-spacing: -0.105em;
  line-height: 0.7;
  transition: color 220ms ease;
}

.footer-wordmark:hover {
  color: var(--lime);
}

.footer-statement {
  max-width: 34ch;
  margin-top: 28px;
  color: var(--muted-light);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.footer-label {
  margin-bottom: 14px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  min-height: 62px;
  padding-block: 14px;
  border-top: 1px solid rgba(244, 243, 238, 0.16);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer :focus-visible {
  outline-color: var(--lime);
}

/* Collection page */

.collection-hero {
  padding-block: clamp(36px, 4.6vw, 66px) clamp(30px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}

.collection-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.collection-title {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
  overflow-wrap: anywhere;
}

.collection-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 5px;
}

.collection-aside p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.catalog-shell {
  padding-bottom: clamp(52px, 6vw, 90px);
}

.catalog-controls {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.controls-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.26fr);
  gap: clamp(16px, 3vw, 42px);
  align-items: end;
}

.field {
  min-width: 0;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-field {
  position: relative;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 47px;
  padding: 0 40px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  outline: 0;
}

.search-input:focus {
  border-color: var(--ink);
}

.search-input::placeholder {
  color: #858a81;
  opacity: 1;
}

.search-button {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  line-height: 1;
}

.sort-select {
  width: 100%;
  height: 47px;
  padding: 0 34px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  -webkit-appearance: none;
  appearance: none;
}

.controls-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 18px;
}

.price-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.price-filter legend {
  float: left;
  margin: 0 10px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.filter-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.filter-chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.filter-chip input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.controls-note-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.result-count {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.catalog-products {
  padding-top: clamp(24px, 3vw, 38px);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(34px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
}

.empty-state h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.empty-state p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.94rem;
}

.empty-state .btn {
  margin-top: 8px;
}

.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 30px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pagination-summary {
  max-width: 28ch;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.page-btn,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.page-btn:hover:not(:disabled),
.page-number:hover {
  border-color: var(--ink);
}

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

.page-btn:disabled {
  color: #9ca097;
  cursor: not-allowed;
  opacity: 0.65;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

/* Product detail */

.pdp-main {
  padding-block: clamp(24px, 3vw, 40px) clamp(50px, 7vw, 96px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin-bottom: clamp(24px, 3vw, 38px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  color: #9ba096;
  content: "/";
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 160ms ease;
}

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

.breadcrumbs [aria-current="page"] {
  max-width: min(54ch, 72vw);
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.pdp-figure {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}

.pdp-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tile);
}

.pdp-media img {
  width: 100%;
  height: 100%;
  padding: 4%;
  object-fit: contain;
}

.pdp-media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: rgba(244, 243, 238, 0.88);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pdp-media-tag::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  content: "";
}

.pdp-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pdp-info {
  min-width: 0;
  padding-top: clamp(0px, 1vw, 10px);
}

.pdp-title {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.pdp-price {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.pdp-note {
  max-width: 45ch;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.pdp-specs {
  margin-top: 40px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.spec-row dd {
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.pdp-story {
  margin-top: 38px;
}

.pdp-story h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.pdp-story p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.pdp-return {
  padding-block: clamp(40px, 5vw, 70px);
  background: var(--paper-deep);
}

.pdp-return-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.pdp-return h2 {
  max-width: 15ch;
  margin-top: 13px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.pdp-return-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* Tablet */

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 38px;
  }

  .collection-row {
    grid-template-columns: 44px minmax(0, 1fr) auto 38px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 54px;
  }
}

/* Narrow tablet */

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    min-height: 300px;
  }

  .motion-map {
    inset: 40px 0 58px;
  }

  .home-copy {
    gap: 26px;
  }

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

  .collections-head,
  .approach-head,
  .collection-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .collections-summary {
    justify-self: start;
  }

  .approach-copy {
    max-width: 58ch;
  }

  .collection-aside {
    max-width: 58ch;
  }

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

  .pdp-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 34px;
  }

  .pdp-figure {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* Mobile header and layout */

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

  .header-inner {
    gap: 14px;
  }

  .brand-word {
    font-size: 1.8rem;
  }

  .brand-orbit {
    width: 9px;
    height: 9px;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 12px var(--gutter) 30px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 260ms var(--ease), visibility 200ms;
  }

  .site-header.is-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 66px;
    font-family: var(--sans);
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
    text-transform: none;
  }

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

  .nav-list a::before {
    order: 2;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 400;
    content: "↗";
  }

  .nav-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: auto;
    padding-top: 24px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    line-height: 1.6;
    text-transform: uppercase;
  }

  .header-shop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .home-hero {
    padding-block: 26px 32px;
  }

  .home-hero-inner {
    gap: 0;
  }

  .home-title {
    margin-top: 14px;
    font-size: clamp(2.55rem, 12vw, 3.2rem);
  }

  .home-lede {
    font-size: 0.95rem;
  }

  .home-actions {
    gap: 12px 18px;
  }

  .home-actions .btn {
    flex: 1 1 auto;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding-block: 44px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-heading {
    max-width: 22ch;
    font-size: 1.9rem;
  }

  .section-aside {
    width: 100%;
    gap: 8px;
  }

  .section-note {
    font-size: 0.87rem;
  }

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

  .home-grid .product-card:nth-child(n + 7) {
    display: none;
  }

  .product-copy {
    display: block;
    padding-top: 9px;
  }

  .product-kicker {
    font-size: 0.52rem;
  }

  .product-title {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .product-price {
    padding-top: 5px;
    font-size: 0.64rem;
  }

  .collections-band {
    padding-block: 44px;
  }

  .collections-title {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .collections-summary {
    font-size: 0.88rem;
  }

  .collection-row {
    grid-template-columns: 32px minmax(0, 1fr) 34px;
    gap: 10px;
    min-height: 78px;
    padding-inline: 2px;
  }

  .collection-row:hover,
  .collection-row:focus-visible {
    padding-inline: 8px;
  }

  .collection-row::before {
    font-size: 0.56rem;
  }

  .collection-name {
    font-size: clamp(1.9rem, 10.5vw, 2.7rem);
  }

  .collection-meta {
    display: none;
  }

  .collection-arrow {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .approach {
    padding-block: 46px;
  }

  .approach-title {
    font-size: clamp(2.15rem, 10.5vw, 2.9rem);
  }

  .approach-stats {
    gap: 12px;
  }

  .stat strong {
    font-size: 1.9rem;
  }

  .stat span {
    font-size: 0.51rem;
  }

  .family-row {
    grid-template-columns: 28px minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 10px;
    min-height: 68px;
    padding: 12px 2px;
  }

  .family-arrow {
    display: none;
  }

  .family-name {
    font-size: 1rem;
  }

  .family-items {
    font-size: 0.75rem;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer-main {
    gap: 36px;
    padding-bottom: 36px;
  }

  .footer-wordmark {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  .footer-statement {
    margin-top: 20px;
    font-size: 0.85rem;
  }

  .footer-nav {
    gap: 26px 18px;
  }

  .footer-links a {
    min-height: 40px;
    font-size: 0.86rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
    padding-block: 16px;
  }

  .collection-hero {
    padding-block: 30px;
  }

  .collection-title {
    margin-top: 14px;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .collection-aside {
    gap: 10px;
  }

  .collection-aside p {
    font-size: 0.9rem;
  }

  .controls-primary {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .controls-secondary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .price-filter {
    gap: 5px;
  }

  .price-filter legend {
    flex: 0 0 100%;
    margin-bottom: 4px;
  }

  .filter-chip span {
    min-height: 44px;
    padding: 0 11px;
    font-size: 0.57rem;
  }

  .controls-note-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .catalog-products {
    padding-top: 24px;
  }

  .pagination-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .pagination {
    width: 100%;
    align-items: flex-start;
  }

  .page-numbers {
    flex: 1 1 100%;
    order: 3;
    margin-top: 2px;
  }

  .page-btn {
    flex: 0 0 auto;
  }

  .page-number {
    min-width: 44px;
    padding: 0 8px;
  }

  .pdp-main {
    padding-block: 22px 44px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .pdp-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .pdp-note {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 0.94rem;
  }

  .pdp-actions {
    margin-top: 22px;
  }

  .pdp-actions .btn {
    flex: 1 1 auto;
  }

  .pdp-specs {
    margin-top: 30px;
  }

  .pdp-story {
    margin-top: 30px;
  }

  .pdp-return {
    padding-block: 38px;
  }

  .pdp-return-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .pdp-return h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

/* Small phones */

@media (max-width: 400px) {
  .home-title {
    font-size: 2.5rem;
  }

  .btn {
    min-height: 48px;
  }

  .collection-name {
    font-size: 1.9rem;
  }

  .filter-chip span {
    padding: 0 9px;
    font-size: 0.54rem;
  }

  .page-btn {
    padding-inline: 9px;
  }
}

@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;
  }
}
