/* On — shared storefront stylesheet
   Swiss editorial system: paper canvas, hard rule, signal accent. */

:root {
  --ink: #111310;
  --ink-soft: #2b2d28;
  --paper: #f2efe7;
  --paper-deep: #e3dfd4;
  --paper-light: #faf8f2;
  --muted: #686a5f;
  --line: rgba(17, 19, 16, 0.16);
  --line-strong: rgba(17, 19, 16, 0.38);
  --signal: #d9ff3f;
  --header-h: 68px;
  --gutter: clamp(18px, 3.8vw, 56px);
  --max: 1600px;
  --sans: "Helvetica Neue", "Arial Nova", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  min-width: 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 {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--signal);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 12px 16px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

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

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.u-mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sr-only {
  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;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

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

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

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

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: var(--header-h);
  padding-inline: var(--gutter);
  background: rgba(242, 239, 231, 0.96);
  border-bottom: 1px solid var(--line-strong);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(242, 239, 231, 0.86);
    backdrop-filter: blur(12px);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  padding-right: clamp(10px, 2vw, 28px);
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.1em;
}

.brand-meta {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(2px, 1.1vw, 16px);
  min-width: 0;
}

.nav-list li {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(5px, 0.7vw, 10px);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-link:hover::after,
.nav-link.is-current::after {
  transform: scaleX(1);
}

.nav-link.is-current {
  color: var(--ink);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  margin-left: clamp(10px, 1.8vw, 26px);
  padding-left: clamp(12px, 1.8vw, 24px);
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-search:hover {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 92px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-glyph {
  position: relative;
  display: block;
  width: 15px;
  height: 10px;
}

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

.menu-glyph span:first-child {
  top: 1px;
}

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

.menu-toggle[aria-expanded="true"] .menu-glyph span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-glyph span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(17, 19, 16, 0.44);
}

/* Shared page furniture */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: clamp(18px, 2.4vw, 30px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.breadcrumb .crumb-sep {
  color: var(--line-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

/* Home — masthead and rail */

.page-home {
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line) calc(100% - 1px)) 0 0 / 25% 100%,
    var(--paper);
}

.home-intro {
  padding-top: clamp(38px, 6vw, 94px);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  padding-bottom: clamp(26px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}

.home-intro .eyebrow {
  margin-bottom: clamp(16px, 2vw, 28px);
}

.home-title {
  max-width: 12ch;
  font-size: clamp(3.6rem, 8.6vw, 9.4rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.075em;
  overflow-wrap: break-word;
}

.home-title span {
  display: inline-block;
  margin-left: clamp(18px, 5vw, 86px);
}

.home-aside {
  max-width: 38ch;
  padding-bottom: 6px;
}

.home-lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.home-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-rail-section {
  padding-top: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(38px, 5vw, 72px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.rail-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rail-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rail-controls {
  display: flex;
  gap: 6px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  transition: background 180ms var(--ease), color 180ms var(--ease), opacity 180ms var(--ease);
}

.icon-button:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.rail {
  min-width: 0;
}

.rail-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  width: 100%;
  min-width: 0;
  padding-bottom: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.rail-track::-webkit-scrollbar {
  height: 4px;
}

.rail-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}

.rail-card {
  flex: 0 0 clamp(224px, 23vw, 338px);
  min-width: 0;
  scroll-snap-align: start;
}

.rail-card > a {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.media-frame--rail {
  aspect-ratio: 3 / 4;
}

.media-frame--card {
  aspect-ratio: 4 / 5;
}

.media-frame--pdp {
  aspect-ratio: 4 / 5;
}

.rail-card:hover .media-frame img,
.product-card:hover .media-frame img {
  transform: scale(1.025);
}

.media-fallback {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: 240px;
  padding: 18px;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(17, 19, 16, 0.06) 12px 13px),
    var(--paper-deep);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rail-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid transparent;
}

.rail-card:hover .rail-card-meta {
  border-top-color: var(--line);
}

.rail-card h3 {
  max-width: 26ch;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}

.rail-card p {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(10px, 1.6vw, 20px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rail-foot .text-link {
  color: var(--ink);
}

/* Home — category index */

.home-index {
  padding-block: clamp(48px, 7vw, 110px);
  border-top: 1px solid var(--line);
}

.index-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 118px);
  align-items: start;
}

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

.index-lede .eyebrow {
  margin-bottom: clamp(18px, 2vw, 30px);
}

.index-lede h2 {
  font-size: clamp(2.5rem, 4.8vw, 5.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
  overflow-wrap: break-word;
}

.index-lede > p:not(.eyebrow) {
  max-width: 34ch;
  margin-top: clamp(20px, 3vw, 36px);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.data-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 52px);
  border-block: 1px solid var(--line);
}

.data-ledger > div {
  min-width: 0;
  padding: 16px 12px 14px 0;
}

.data-ledger > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.data-ledger dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-ledger dd {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

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

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

.collection-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: clamp(74px, 7vw, 102px);
  padding: 10px 4px;
  text-decoration: none;
  transition: background 180ms var(--ease), padding 240ms var(--ease);
}

.collection-row::before {
  content: counter(collection-index, decimal-leading-zero);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.collection-row:hover {
  padding-left: 12px;
  padding-right: 8px;
  background: rgba(17, 19, 16, 0.045);
}

.collection-name {
  font-size: clamp(1.4rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.collection-arrow {
  font-size: 22px;
  line-height: 1;
  transform: translate(-4px, 4px);
  transition: transform 220ms var(--ease);
}

.collection-row:hover .collection-arrow {
  transform: translate(2px, -2px);
}

.index-all-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

/* Home — manifesto / close */

.home-manifesto {
  padding-block: clamp(54px, 8vw, 120px);
  background: var(--ink);
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(242, 239, 231, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(242, 239, 231, 0.05) 1px, transparent 1px);
  background-size: 25% 100%, 100% 92px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: end;
}

.home-manifesto .eyebrow {
  color: rgba(242, 239, 231, 0.56);
}

.home-manifesto h2 {
  max-width: 12ch;
  margin-top: clamp(18px, 2.6vw, 34px);
  font-size: clamp(2.8rem, 5.7vw, 6.7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.07em;
  overflow-wrap: break-word;
}

.manifesto-copy {
  max-width: 40ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  color: rgba(242, 239, 231, 0.8);
}

.manifesto-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(242, 239, 231, 0.24);
}

.manifesto-facts > div {
  min-width: 0;
  padding: 14px 10px 0 0;
}

.manifesto-facts > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(242, 239, 231, 0.2);
}

.manifesto-facts dt {
  color: rgba(242, 239, 231, 0.52);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto-facts dd {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.home-close {
  padding-block: clamp(46px, 7vw, 100px);
}

.close-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(22px, 3vw, 38px);
  padding-block: clamp(16px, 2vw, 28px);
  border-block: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: clamp(2rem, 5.3vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
  transition: padding 260ms var(--ease);
}

.close-link:hover {
  padding-inline: 10px;
}

.close-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(50px, 7vw, 88px);
  height: clamp(50px, 7vw, 88px);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.close-link:hover .close-arrow {
  background: var(--ink);
  color: var(--paper);
}

/* Collection */

.collection-hero {
  padding-bottom: clamp(26px, 3.5vw, 46px);
}

.collection-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(26px, 5vw, 84px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 54px);
}

.collection-title {
  margin-top: 12px;
  font-size: clamp(3.2rem, 7vw, 7.8rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}

.collection-note {
  max-width: 36ch;
  padding-bottom: 4px;
}

.collection-note p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.collection-count {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.collection-count strong {
  color: var(--ink);
  font-weight: 500;
}

.catalog {
  padding-bottom: clamp(48px, 7vw, 100px);
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin-inline: calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 13px;
  background: rgba(242, 239, 231, 0.96);
  border-block: 1px solid var(--line-strong);
}

@supports (backdrop-filter: blur(10px)) {
  .catalog-toolbar {
    background: rgba(242, 239, 231, 0.9);
    backdrop-filter: blur(12px);
  }
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr) minmax(170px, 0.65fr);
  gap: clamp(14px, 2.2vw, 32px);
  align-items: end;
}

.toolbar-grid > * {
  min-width: 0;
}

.field {
  min-width: 0;
}

.field > label,
.filter-field legend {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.search-input {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 10px 46px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(250, 248, 242, 0.62);
  font-size: 14px;
  line-height: 1.3;
}

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

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

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

.filter-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.price-option {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

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

.price-option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.price-option input:checked + span {
  background: var(--ink);
  color: var(--paper-light);
}

.price-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--signal);
}

.price-option span:hover {
  background: var(--paper-deep);
}

.price-option input:checked + span:hover {
  background: var(--ink-soft);
}

.select-wrap {
  position: relative;
  min-width: 0;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
}

.sort-select {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(250, 248, 242, 0.62);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  appearance: none;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  min-height: 48px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.results-count {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.results-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 38px) clamp(10px, 1.4vw, 20px);
  padding-top: clamp(20px, 2.4vw, 34px);
}

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

.product-card > a {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.product-card .media-frame {
  background: var(--paper-deep);
}

.card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid transparent;
  transition: border-color 160ms var(--ease);
}

.product-card:hover .card-body {
  border-top-color: var(--line);
}

.card-title {
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}

.card-price {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.empty-state {
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(17, 19, 16, 0.035) 16px 17px),
    var(--paper-light);
}

.empty-state h2 {
  max-width: 18ch;
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.empty-state p:not(.eyebrow) {
  max-width: 42ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line-strong);
}

.pager-prev,
.pager-next,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pager-prev:hover:not(:disabled),
.pager-next:hover:not(:disabled),
.page-number:hover {
  background: var(--paper-deep);
}

.pager-prev:disabled,
.pager-next:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.pager-prev {
  order: 1;
}

.pager-next {
  order: 3;
}

.pager-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
  order: 2;
}

.page-number {
  padding-inline: 8px;
}

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

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

/* Product detail */

.product-shell {
  padding-bottom: clamp(48px, 7vw, 100px);
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(26px, 5.5vw, 96px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 42px);
}

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

.pdp-media .media-frame {
  background: var(--paper-deep);
}

.pdp-media .media-frame img {
  object-fit: cover;
}

.pdp-media-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-panel {
  min-width: 0;
  padding-top: clamp(2px, 1.5vw, 18px);
}

.pdp-panel .eyebrow {
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.pdp-title {
  max-width: 14ch;
  font-size: clamp(2.7rem, 5.7vw, 6.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.07em;
  overflow-wrap: anywhere;
}

.pdp-price {
  margin-top: clamp(18px, 2.4vw, 30px);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.pdp-summary {
  max-width: 39ch;
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(24px, 3.4vw, 38px);
}

.pdp-actions .button {
  flex: 0 1 auto;
}

.pdp-facts {
  margin-top: clamp(34px, 4.6vw, 58px);
  border-top: 1px solid var(--line-strong);
}

.pdp-facts > div {
  display: grid;
  grid-template-columns: minmax(78px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.pdp-facts dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdp-facts dd {
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pdp-facts a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.pdp-facts a:hover {
  text-decoration-color: var(--ink);
}

.pdp-note {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-record {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 110px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}

.pdp-record h2 {
  max-width: 13ch;
  margin-top: 16px;
  font-size: clamp(2.3rem, 4.7vw, 5.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.pdp-record-copy {
  max-width: 40ch;
}

.pdp-record-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pdp-record-copy .text-link {
  margin-top: 20px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding-top: clamp(34px, 4.5vw, 64px);
  padding-bottom: clamp(30px, 4vw, 50px);
}

.footer-mark {
  font-size: clamp(5.2rem, 15vw, 14.5rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.11em;
}

.footer-tagline {
  max-width: 28ch;
  margin-top: clamp(18px, 2vw, 28px);
  font-size: 15px;
  line-height: 1.5;
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.footer-nav-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  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;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: var(--line-strong);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  min-height: 54px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Responsive */

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

  .toolbar-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(160px, 0.65fr);
  }

  .pdp-title {
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  }
}

@media (max-width: 940px) {
  .brand-meta {
    display: none;
  }

  .header-search span:first-child {
    display: none;
  }

  .header-search {
    padding-left: 10px;
    margin-left: 6px;
    font-size: 15px;
  }

  .nav-link {
    padding-inline: 5px;
    font-size: 8px;
  }

  .nav-link::after {
    right: 5px;
    left: 5px;
  }

  .home-intro-grid,
  .collection-heading-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
    gap: 32px;
  }

  .index-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }

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

  .sort-field {
    grid-column: 1 / -1;
  }

  .sort-field .select-wrap {
    max-width: 320px;
  }

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

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

@media (max-width: 860px) {
  .home-intro-grid,
  .collection-heading-grid,
  .index-grid,
  .manifesto-grid,
  .pdp-grid,
  .pdp-record,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-aside,
  .collection-note,
  .pdp-panel {
    max-width: 620px;
  }

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

  .pdp-media {
    position: static;
  }

  .pdp-media .media-frame {
    max-height: 72vh;
  }

  .pdp-title {
    max-width: 18ch;
    font-size: clamp(2.7rem, 7vw, 5.2rem);
  }

  .footer-nav-wrap {
    max-width: 480px;
  }
}

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

  .site-header {
    padding-inline: 16px;
  }

  .brand {
    padding-right: 10px;
  }

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

  .header-search {
    display: none;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 99;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: min(92vw, 430px);
    max-width: 100%;
    margin: 0;
    padding: 22px 20px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--ink);
    color: var(--paper);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: transform 280ms var(--ease), opacity 220ms var(--ease), visibility 280ms var(--ease);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 0;
  }

  .nav-list li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(242, 239, 231, 0.18);
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 10px 0;
    color: var(--paper);
    font-family: var(--sans);
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .nav-link::before {
    content: "↗";
    order: 2;
    margin-left: 18px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    opacity: 0.55;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-current {
    color: var(--signal);
  }

  .site-nav:focus-within {
    outline: none;
  }

  .page-home {
    background: var(--paper);
  }

  .home-intro {
    padding-top: 30px;
  }

  .home-intro-grid {
    gap: 24px;
    padding-bottom: 28px;
  }

  .home-title {
    max-width: 9ch;
    font-size: clamp(3.25rem, 15vw, 5.6rem);
    line-height: 0.88;
  }

  .home-title span {
    margin-left: clamp(12px, 7vw, 46px);
  }

  .home-aside {
    max-width: 100%;
  }

  .home-meta {
    margin-top: 20px;
  }

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

  .rail-tools {
    width: 100%;
    justify-content: space-between;
  }

  .rail-note {
    max-width: 20ch;
  }

  .rail-card {
    flex-basis: min(78vw, 310px);
  }

  .rail-card-meta {
    display: block;
  }

  .rail-card p {
    margin-top: 4px;
  }

  .rail-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .rail-foot > span {
    display: none;
  }

  .home-index {
    padding-block: 46px;
  }

  .index-lede h2 {
    font-size: clamp(2.5rem, 10.5vw, 4.2rem);
  }

  .home-manifesto {
    padding-block: 50px;
    background-size: 50% 100%, 100% 80px;
  }

  .home-manifesto h2 {
    font-size: clamp(2.6rem, 11vw, 4.8rem);
  }

  .close-link {
    font-size: clamp(1.9rem, 8vw, 3.4rem);
  }

  .collection-heading-grid {
    gap: 22px;
    margin-top: 24px;
  }

  .collection-title {
    font-size: clamp(3rem, 14vw, 5.3rem);
  }

  .catalog-toolbar {
    position: static;
    margin-inline: -18px;
    padding-inline: 18px;
  }

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

  .sort-field {
    grid-column: auto;
  }

  .sort-field .select-wrap {
    max-width: none;
  }

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

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

  .card-price {
    font-size: 9px;
  }

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

  .pager-numbers {
    grid-column: 1 / -1;
    grid-row: 1;
    order: 0;
    width: 100%;
    flex: none;
  }

  .pager-prev,
  .pager-next {
    width: 100%;
    order: 2;
  }

  .pager-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .pager-next {
    grid-column: 2;
    grid-row: 2;
  }

  .page-number {
    flex: 0 0 44px;
    padding-inline: 0;
  }

  .pdp-grid {
    gap: 24px;
    margin-top: 18px;
  }

  .pdp-media .media-frame {
    max-height: none;
  }

  .pdp-title {
    font-size: clamp(2.6rem, 11.5vw, 4.6rem);
  }

  .pdp-record {
    margin-top: 52px;
  }

  .pdp-record h2 {
    font-size: clamp(2.3rem, 9vw, 4rem);
  }

  .footer-main {
    gap: 30px;
  }

  .footer-mark {
    font-size: clamp(5.5rem, 26vw, 9.5rem);
  }

  .footer-nav-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    font-size: 9px;
  }

  .home-title {
    font-size: clamp(3rem, 14.4vw, 4.2rem);
  }

  .home-lede {
    font-size: 16px;
  }

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

  .section-head h2 {
    font-size: 1.7rem;
  }

  .rail-note {
    display: none;
  }

  .rail-controls {
    margin-left: auto;
  }

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

  .data-ledger > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .manifesto-facts > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .collection-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 70px;
  }

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

  .collection-arrow {
    font-size: 18px;
  }

  .results-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

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

  .pdp-actions .text-link {
    align-self: flex-start;
  }

  .pdp-facts > div {
    grid-template-columns: minmax(70px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
  }

  .footer-nav-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

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