/* On — performance apparel catalogue
   Shared styling for the On storefront. */

:root {
  --paper: #f3f1ea;
  --paper-deep: #e8e4d9;
  --paper-raised: #faf9f4;
  --ink: #151510;
  --ink-soft: #5f5d54;
  --line: rgba(21, 21, 16, 0.16);
  --line-soft: rgba(21, 21, 16, 0.09);
  --line-dark: rgba(243, 241, 234, 0.2);
  --acid: #d9f24d;
  --acid-deep: #b7d02c;
  --white: #fffef9;
  --header-h: 66px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --page-max: 1600px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

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

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

.site-footer :focus-visible,
.pdp-note :focus-visible,
.site-header.menu-open :focus-visible {
  outline-color: var(--acid);
}

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

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

.eyebrow,
.field-label,
.section-rail,
.footer-label,
.hero-kicker,
.archive-kicker,
.empty-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-dot {
  width: 7px;
  height: 7px;
  margin-top: 13px;
  border-radius: 50%;
  background: var(--acid-deep);
  transition: background-color 180ms ease, transform 180ms ease;
}

.brand:hover .brand-dot {
  background: var(--ink);
  transform: scale(1.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin-left: auto;
  margin-right: clamp(12px, 3vw, 44px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  border-color: currentColor;
}

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

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

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

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.menu-line {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-line:first-child {
  transform: translateY(-4px);
}

.menu-line:last-child {
  transform: translateY(4px);
}

.site-header.menu-open .menu-line:first-child {
  transform: rotate(45deg);
}

.site-header.menu-open .menu-line:last-child {
  transform: rotate(-45deg);
}

/* Shared buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button--solid:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

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

.button--line:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.button--acid:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.text-link span {
  transition: transform 180ms ease;
}

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

/* Home hero */

.hero {
  padding-block: clamp(34px, 5vw, 72px) clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: end;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(24px, 3.5vw, 44px);
  color: var(--ink-soft);
}

.hero-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero-title {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 10.7vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.84;
  text-transform: uppercase;
  text-wrap: balance;
}

.title-dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--acid-deep);
  vertical-align: 0.08em;
}

.hero-lede {
  max-width: 47ch;
  margin: clamp(24px, 3.5vw, 40px) 0 0;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}

.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: clamp(300px, 34vw, 480px);
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line);
}

.hero-figure-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orbit-stage {
  position: relative;
  width: min(100%, clamp(190px, 23vw, 350px));
  aspect-ratio: 1;
  margin: auto 0;
  align-self: flex-end;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring:nth-child(1) {
  inset: 0;
}

.orbit-ring:nth-child(2) {
  inset: 11%;
  border-color: var(--line-soft);
}

.orbit-ring:nth-child(3) {
  inset: 22%;
  border-style: dashed;
}

.orbit-disc {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-arm {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  transform-origin: 50% 50%;
  animation: orbit-spin 24s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 2px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

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

.hero-fact-number {
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-fact-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Sections */

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.section-rail {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  color: var(--ink-soft);
}

.section-rail span:first-child {
  color: var(--ink);
}

.section-body {
  min-width: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-head p {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.section-head--edit {
  align-items: flex-end;
}

.section-head--edit > div {
  min-width: 0;
}

/* Collection index */

.collection-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  counter-reset: collection-count;
}

.collection-list li {
  border-bottom: 1px solid var(--line);
  counter-increment: collection-count;
}

.collection-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  min-height: clamp(76px, 8vw, 112px);
  margin-inline: -12px;
  padding: 6px 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.collection-list a::before {
  content: counter(collection-count, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.collection-name {
  min-width: 0;
  font-size: clamp(2.1rem, 4.7vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.collection-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.collection-list a:hover {
  background: var(--ink);
  color: var(--paper);
}

.collection-list a:hover::before {
  color: var(--paper);
}

.collection-list a:hover .collection-arrow {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

/* Product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 34px) clamp(10px, 1.5vw, 22px);
}

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

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

.product-link {
  display: block;
  min-width: 0;
}

.product-media {
  position: relative;
  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, 1, 0.36, 1);
}

.product-media::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-raised);
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-media--empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, transparent 49.7%, var(--line-soft) 49.7%, var(--line-soft) 50.3%, transparent 50.3%),
    var(--paper-deep);
}

.product-media--empty::before {
  content: "On";
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  color: var(--ink-soft);
}

.product-media--empty::after {
  display: none;
}

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

.product-link:hover .product-media::after,
.product-link:focus-visible .product-media::after {
  opacity: 1;
  transform: translateY(0);
}

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

.product-title {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-wrap: pretty;
}

.product-price {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}

/* Home closing band */

.archive-band {
  background: var(--acid);
  border-top: 1px solid var(--ink);
  padding-block: clamp(42px, 6vw, 80px);
}

.archive-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
}

.archive-kicker {
  margin: 0 0 14px;
}

.archive-copy {
  max-width: 28ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.archive-link {
  display: inline-flex;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 64px);
  min-width: 0;
}

.archive-title {
  margin: 0;
  font-size: clamp(2.8rem, 6.8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
  text-wrap: balance;
}

.archive-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(58px, 7vw, 92px);
  height: clamp(58px, 7vw, 92px);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: clamp(20px, 2.4vw, 30px);
  transition: background-color 180ms ease, color 180ms ease;
}

.archive-link:hover .archive-arrow {
  background: var(--ink);
  color: var(--acid);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(44px, 6vw, 82px);
  padding-bottom: 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 140px);
  padding-bottom: clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-label {
  margin: 0 0 16px;
  color: rgba(243, 241, 234, 0.52);
}

.footer-copy {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

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

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: currentColor;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, 0.7);
}

.footer-wordmark-link {
  display: block;
  margin-top: clamp(20px, 4vw, 46px);
}

.footer-wordmark {
  display: block;
  margin: 0;
  font-size: clamp(9rem, 25vw, 24rem);
  font-weight: 700;
  letter-spacing: -0.105em;
  line-height: 0.72;
  color: var(--paper);
  transition: color 220ms ease;
}

.footer-wordmark span {
  color: var(--acid);
}

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

.footer-wordmark-link:hover .footer-wordmark span {
  color: var(--paper);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: rgba(243, 241, 234, 0.55);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Collection page */

.collection-page {
  padding-top: clamp(26px, 3.5vw, 48px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: clamp(28px, 4vw, 52px);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  border-color: currentColor;
}

.breadcrumb .current {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.collection-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 350px);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(26px, 4vw, 48px);
  border-bottom: 1px solid var(--ink);
}

.collection-title-block {
  min-width: 0;
}

.collection-header h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.8;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.collection-intro {
  max-width: 40ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}

.catalog {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(56px, 8vw, 110px);
}

.catalog-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 20px;
}

.catalog-top h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.catalog-note {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: right;
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  margin-top: 8px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(0, 1.65fr) minmax(160px, 0.65fr);
  gap: 16px;
  align-items: end;
  min-width: 0;
}

.toolbar-field {
  min-width: 0;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
}

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

.search-input,
.sort-field select {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-input {
  padding: 0 42px 0 12px;
}

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

.search-input:focus,
.sort-field select:focus {
  border-color: var(--ink);
}

.search-clear {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 19px;
  line-height: 1;
}

.search-clear:hover {
  background: var(--paper-deep);
}

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

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

.filter-btn:hover {
  border-color: var(--ink);
}

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

.sort-field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 36px 0 12px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 20px,
    calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.catalog-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  min-height: 44px;
  padding-block: 10px;
}

.catalog-summary {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.reset-btn {
  min-height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reset-btn:hover {
  color: var(--ink-soft);
  border-color: var(--ink-soft);
}

.catalog .product-grid {
  margin-top: 6px;
}

.empty-state {
  padding: clamp(52px, 8vw, 100px) 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-kicker {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.empty-state h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.empty-state p:not(.empty-kicker) {
  max-width: 36ch;
  margin: 16px auto 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.noscript-note {
  margin: 28px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.pagination {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.pagination-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

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

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

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

.page-btn--direction {
  gap: 8px;
  padding-inline: 15px;
}

.page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

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

/* Product detail */

.pdp-page {
  padding-top: clamp(26px, 3.5vw, 48px);
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

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

.pdp-media img {
  width: 100%;
  height: 100%;
  padding: clamp(16px, 4vw, 52px);
  object-fit: contain;
}

.pdp-media-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  color: var(--ink-soft);
}

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

.pdp-info h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4.6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.pdp-price {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.pdp-intro {
  max-width: 44ch;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.62;
}

.pdp-facts {
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}

.pdp-fact {
  display: grid;
  grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.pdp-fact dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pdp-fact dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.pdp-fact a {
  border-bottom: 1px solid var(--ink);
}

.pdp-fact a:hover {
  color: var(--ink-soft);
  border-color: var(--ink-soft);
}

.pdp-button {
  width: 100%;
}

.pdp-small {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pdp-note {
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(52px, 8vw, 100px);
  background: var(--ink);
  color: var(--paper);
}

.pdp-note-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.pdp-note .eyebrow {
  margin: 0;
  color: rgba(243, 241, 234, 0.55);
}

.pdp-note h2 {
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.pdp-note p:not(.eyebrow) {
  max-width: 45ch;
  margin: 24px 0 30px;
  color: rgba(243, 241, 234, 0.68);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}

/* Tablet */

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

  .toolbar-grid {
    grid-template-columns: minmax(190px, 1fr) minmax(0, 1.45fr);
  }

  .sort-field {
    grid-column: 1 / -1;
    max-width: 280px;
  }

  .toolbar-grid {
    align-items: end;
  }

  .pdp {
    grid-template-columns: minmax(0, 6fr) minmax(300px, 5fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-figure {
    min-height: 0;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-figure-top {
    order: 1;
  }

  .orbit-stage {
    order: 2;
    width: min(58vw, 250px);
    margin: 4px 0;
    align-self: flex-end;
  }

  .hero-facts {
    order: 3;
    width: 100%;
  }

  .section-grid,
  .pdp-note-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .section-rail {
    position: static;
    width: 100%;
    padding-top: 8px;
  }

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

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

  .collection-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .collection-intro {
    max-width: 52ch;
  }
}

/* Mobile navigation breakpoint */

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

  .brand {
    font-size: 27px;
  }

  .header-inner {
    gap: 12px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 79;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--ink);
    color: var(--paper);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--sans);
    font-size: clamp(2rem, 11vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-transform: none;
  }

  .site-nav a:hover {
    color: var(--acid);
    border-color: var(--line-dark);
  }

  .site-nav a::after {
    content: "↗";
    align-self: center;
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 400;
    color: var(--acid);
  }

  .header-shop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-title {
    font-size: clamp(4rem, 19vw, 6.6rem);
  }

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

  .hero-figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-rows: auto auto;
    gap: 18px;
    align-items: end;
  }

  .hero-figure-top {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .orbit-stage {
    grid-column: 2;
    grid-row: 2;
    width: 132px;
    margin: 0;
    align-self: end;
  }

  .orbit-disc {
    font-size: 8px;
  }

  .hero-facts {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
    padding-top: 12px;
    border-top: 0;
  }

  .hero-fact-number {
    font-size: 17px;
  }

  .section {
    padding-block: 52px;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .section-head p {
    margin-top: 14px;
    font-size: 15px;
  }

  .section-head--edit .text-link {
    margin-top: 16px;
  }

  .section-rail {
    border-top-color: var(--line);
    color: var(--ink-soft);
  }

  .collection-list a {
    grid-template-columns: 30px minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: 72px;
    margin-inline: -6px;
    padding-inline: 6px;
  }

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

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

  .product-media::after {
    display: none;
  }

  .product-title {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .product-price {
    grid-column: 1;
    grid-row: 2;
    padding-top: 1px;
    font-size: 10px;
  }

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

  .archive-inner {
    display: block;
  }

  .archive-copy {
    margin-bottom: 28px;
  }

  .archive-link {
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
  }

  .archive-title {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .archive-arrow {
    width: 58px;
    height: 58px;
  }

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

  .footer-columns {
    gap: 22px;
  }

  .footer-wordmark {
    font-size: clamp(9rem, 42vw, 15rem);
  }

  .footer-base {
    justify-content: flex-start;
    gap: 7px 20px;
  }

  .collection-page,
  .pdp-page {
    padding-top: 24px;
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

  .collection-header h1 {
    font-size: clamp(4rem, 19vw, 6.8rem);
  }

  .catalog-top {
    display: block;
    margin-bottom: 14px;
  }

  .catalog-note {
    margin-top: 8px;
    text-align: left;
  }

  .catalog-toolbar {
    position: static;
    padding-block: 12px;
  }

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

  .sort-field {
    grid-column: auto;
    max-width: none;
  }

  .filter-buttons {
    gap: 5px;
  }

  .filter-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 10px;
  }

  .catalog-status {
    align-items: flex-start;
  }

  .catalog-summary {
    flex: 1 1 200px;
    min-width: 0;
  }

  .page-btn {
    min-width: 42px;
    height: 42px;
    padding-inline: 9px;
  }

  .pagination-inner {
    justify-content: center;
    gap: 9px;
  }

  .page-list {
    justify-content: center;
    order: 3;
    width: 100%;
  }

  .page-btn--direction {
    flex: 1 1 0;
    max-width: 130px;
  }

  .pdp-media {
    aspect-ratio: 1 / 1;
  }

  .pdp-info h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.8rem);
  }

  .pdp-fact {
    grid-template-columns: minmax(94px, 0.8fr) minmax(0, 1.2fr);
  }

  .pdp-note {
    margin-top: 48px;
    padding-block: 52px;
  }

  .pdp-note h2 {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
  }

  .pdp-note .eyebrow {
    margin-bottom: 8px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: clamp(3.55rem, 18.4vw, 4.8rem);
  }

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

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

  .hero-figure {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .orbit-stage {
    width: 112px;
  }

  .archive-title {
    font-size: clamp(2.45rem, 12.4vw, 3.4rem);
  }

  .archive-arrow {
    width: 50px;
    height: 50px;
  }

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

@media (hover: none) {
  .product-link:hover .product-media img {
    transform: none;
  }
}

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

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

  .orbit-arm {
    animation: none;
  }
}
