/* On catalogue storefront — shared visual system */

:root {
  --header-h: 68px;
  --paper: #f2f0e8;
  --paper-deep: #e7e3d6;
  --ink: #10110d;
  --ink-soft: #5f6057;
  --line: rgba(16, 17, 13, 0.16);
  --line-strong: rgba(16, 17, 13, 0.55);
  --accent: #d7ff3f;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --pad: clamp(18px, 4.2vw, 64px);
  --maxw: 1600px;
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  border-radius: 0;
}

button {
  color: inherit;
}

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

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

/* Shared type and controls */

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

.eyebrow::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--accent);
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

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

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

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

.button__arrow {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.25s var(--ease), background 0.25s var(--ease);
}

.text-link:hover {
  gap: 16px;
}

/* Header */

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

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: var(--maxw);
  height: 100%;
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wordmark {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.8;
  text-decoration: none;
}

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

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-note {
  display: none;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.header__stat {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: right;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--paper-deep);
}

.menu-toggle__lines {
  display: flex;
  width: 20px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

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

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

/* Home hero */

.hero {
  display: grid;
  width: 100%;
  max-width: var(--maxw);
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.45fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: stretch;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 76px) var(--pad) clamp(40px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.hero__title {
  max-width: 12ch;
  margin: clamp(36px, 6vh, 78px) 0 clamp(28px, 4vh, 48px);
  font-size: clamp(50px, 10.3vw, 156px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.84;
  overflow-wrap: anywhere;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  width: fit-content;
  padding-right: 0.04em;
  background: linear-gradient(
    transparent 64%,
    var(--accent) 64%,
    var(--accent) 96%,
    transparent 96%
  );
}

.hero__lede {
  max-width: 44ch;
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

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

.hero__side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-top: 2px;
  border-top: 1px solid var(--line-strong);
}

.hero__side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__figure {
  position: relative;
  display: grid;
  min-height: 170px;
  flex: 1 1 auto;
  place-items: center;
  overflow: hidden;
}

.hero__figure::before,
.hero__figure::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.hero__figure::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.hero__figure::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.hero__ring {
  position: relative;
  width: min(72%, 224px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.hero__ring::before {
  position: absolute;
  inset: 15%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero__ring::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.hero__dot {
  position: absolute;
  top: 23%;
  right: 17%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.hero__figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__figures > div {
  min-width: 0;
  padding: 13px 0 15px;
}

.hero__figures > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero__figures strong {
  display: block;
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero__figures span {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__side .hero__actions {
  margin-top: 18px;
}

/* Shared sections */

.section {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) var(--pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 16px clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head > .eyebrow {
  grid-column: 1 / -1;
}

.section-head h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 5px;
}

.section-head__aside p {
  max-width: 34ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* Product cards */

.product-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px) clamp(10px, 1.6vw, 22px);
}

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

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.product-card__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 0.25s var(--ease);
}

.product-card__link:hover .product-card__media::after,
.product-card__link:focus-visible .product-card__media::after {
  border-color: var(--ink);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  padding: 4%;
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}

.product-card__link:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 20px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.product-card__view {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.product-card__body {
  padding-top: 11px;
}

.product-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: clamp(13px, 1.02vw, 16px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__price {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

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

/* Collections index */

.collections {
  width: 100%;
  padding: clamp(54px, 7vw, 100px) 0;
  background: var(--ink);
  color: var(--paper);
}

.collections__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-head--inverse h2 {
  color: var(--paper);
}

.section-head--inverse .section-head__aside p {
  color: rgba(242, 240, 232, 0.66);
}

.collection-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(242, 240, 232, 0.24);
  list-style: none;
  counter-reset: collection;
}

.collection-item {
  border-bottom: 1px solid rgba(242, 240, 232, 0.24);
  counter-increment: collection;
}

.collection-row {
  display: grid;
  min-height: clamp(92px, 10vw, 144px);
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: 0 10px 0 0;
  color: inherit;
  text-decoration: none;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.collection-row:hover,
.collection-row:focus-visible {
  padding-left: 14px;
  background: var(--accent);
  color: var(--ink);
}

.collection-row__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

.collection-row__index::before {
  content: counter(collection, decimal-leading-zero);
}

.collection-row__name {
  min-width: 0;
  font-size: clamp(38px, 6.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.collection-row__action {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.collection-row__action span {
  font-size: 16px;
  line-height: 1;
}

.collections__note {
  max-width: 48ch;
  margin: 26px 0 0 auto;
  color: rgba(242, 240, 232, 0.6);
  font-size: 14px;
  line-height: 1.55;
}

/* Catalogue notes */

.ledger {
  display: grid;
  width: 100%;
  max-width: var(--maxw);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 100px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 118px) var(--pad);
}

.ledger__head {
  min-width: 0;
}

.ledger__head h2 {
  max-width: 10ch;
  margin: clamp(24px, 4vw, 48px) 0 0;
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.ledger__body {
  min-width: 0;
  align-self: end;
}

.ledger__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line-strong);
}

.ledger-stat {
  min-width: 0;
  padding: 15px 12px 24px 0;
}

.ledger-stat + .ledger-stat {
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--line);
}

.ledger-stat strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.ledger-stat span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ledger__copy {
  max-width: 52ch;
}

.ledger__copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.ledger__copy .button {
  margin-top: 10px;
}

/* Full-width closing action */

.endcap {
  display: block;
  padding: clamp(34px, 5vw, 62px) var(--pad);
  border-top: 1px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

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

.endcap__inner {
  display: grid;
  width: 100%;
  max-width: var(--maxw);
  gap: 18px;
  margin: 0 auto;
}

.endcap__kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.endcap__title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px clamp(20px, 4vw, 60px);
  font-size: clamp(40px, 7.5vw, 116px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.endcap__arrow {
  flex: 0 0 auto;
  font-size: 0.62em;
  font-weight: 400;
  line-height: 0.9;
  transition: transform 0.35s var(--ease);
}

.endcap:hover .endcap__arrow {
  transform: translateX(8px);
}

/* Footer */

.site-footer {
  overflow: hidden;
  padding: clamp(42px, 6vw, 82px) var(--pad) 0;
  background: var(--ink);
  color: var(--paper);
}

.footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(130px, 0.55fr) minmax(160px, 0.8fr);
  gap: clamp(28px, 5vw, 80px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.footer__brand {
  min-width: 0;
}

.footer__brand .wordmark {
  color: var(--paper);
}

.footer__brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: rgba(242, 240, 232, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.footer__label {
  margin: 0 0 12px;
  color: rgba(242, 240, 232, 0.46);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__nav,
.footer__collections {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.footer__nav a,
.footer__collections a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__nav a:hover,
.footer__collections a:hover {
  color: var(--accent);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(242, 240, 232, 0.2);
  color: rgba(242, 240, 232, 0.56);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer__mark {
  margin-top: 8px;
  padding-top: 12px;
  color: var(--paper);
  font-size: clamp(130px, 31vw, 430px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.66;
  white-space: nowrap;
}

/* Breadcrumb */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  line-height: 1.5;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

/* Collection page */

.catalog-hero {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) var(--pad) clamp(30px, 4vw, 48px);
}

.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 350px);
  gap: clamp(26px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(28px, 5vw, 64px);
}

.catalog-hero__title {
  min-width: 0;
}

.catalog-hero h1 {
  max-width: 12ch;
  margin: 12px 0 0;
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.82;
  overflow-wrap: anywhere;
}

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

.catalog-hero__aside p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.catalog {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(48px, 6vw, 88px);
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 1.8fr) minmax(120px, 0.75fr) minmax(140px, 0.85fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 240, 232, 0.96);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.field label {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

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

.field input:focus,
.field select:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.field select {
  padding-right: 30px;
  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;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.button--reset {
  min-width: 96px;
  justify-content: center;
  padding: 0 14px;
  white-space: nowrap;
}

.catalog__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 28px;
  padding: clamp(26px, 4vw, 46px) 0 18px;
}

.catalog__heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.catalog__heading h2:focus {
  outline: none;
}

.catalog-count {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(28px, 6vw, 74px);
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.empty-state h3 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.empty-state .button {
  margin-top: 8px;
  background: var(--ink);
  color: var(--paper);
}

.pagination {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(36px, 5vw, 62px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.pagination__pages {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
}

.page-btn {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

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

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

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

.page-btn--step {
  padding: 0 14px;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Product detail page */

.pdp {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 32px) var(--pad) 0;
}

.product-view {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding: clamp(26px, 4vw, 48px) 0 clamp(52px, 7vw, 98px);
}

.product-view__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.product-view__media img {
  width: 100%;
  height: 100%;
  padding: clamp(16px, 4vw, 58px);
  object-fit: contain;
}

.product-view__fallback {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 30px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.product-view__rail {
  position: absolute;
  top: 16px;
  right: 14px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.product-view__ref {
  position: absolute;
  bottom: 13px;
  left: 15px;
  max-width: calc(100% - 80px);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-view__info {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  min-width: 0;
  padding-top: clamp(0px, 1vw, 14px);
}

.product-view__info h1 {
  margin: 16px 0 20px;
  font-size: clamp(38px, 4.7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.product-view__price {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.product-view__lede {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.product-facts {
  margin: clamp(26px, 4vw, 40px) 0;
  border-top: 1px solid var(--line-strong);
}

.product-facts > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

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

.product-facts dd {
  min-width: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-view__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.product-view__note {
  max-width: 43ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.pdp-context {
  padding: clamp(48px, 7vw, 104px) var(--pad);
  background: var(--ink);
  color: var(--paper);
}

.pdp-context__inner {
  display: grid;
  width: 100%;
  max-width: var(--maxw);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(30px, 6vw, 100px);
  margin: 0 auto;
}

.pdp-context__head {
  min-width: 0;
}

.pdp-context__head h2 {
  max-width: 12ch;
  margin: clamp(24px, 4vw, 42px) 0 20px;
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.pdp-context__head p {
  max-width: 48ch;
  margin: 0;
  color: rgba(242, 240, 232, 0.64);
  font-size: 15px;
  line-height: 1.6;
}

.pdp-context__side {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 240, 232, 0.28);
}

.pdp-context__side .footer__label {
  color: rgba(242, 240, 232, 0.48);
}

.pdp-context__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 26px;
}

.pdp-context__links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.pdp-context__links a:hover {
  color: var(--accent);
}

.pdp-context .button {
  border-color: var(--paper);
  color: var(--paper);
}

.pdp-context .button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

/* Responsive */

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

  .hero__title {
    font-size: clamp(50px, 9.4vw, 108px);
  }
}

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

  .hero__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
  }

  .hero__side-top {
    grid-column: 1 / -1;
  }

  .hero__figure {
    min-height: 214px;
    grid-row: span 2;
  }

  .hero__figures {
    align-self: end;
  }

  .hero__side .hero__actions {
    align-self: start;
    margin-top: 0;
  }

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

  .section-head > .eyebrow {
    grid-column: auto;
  }

  .section-head__aside {
    max-width: 48ch;
    padding-top: 4px;
  }

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

  .ledger__head h2 {
    max-width: 13ch;
  }

  .catalog-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .catalog-hero__aside {
    max-width: 440px;
  }

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

  .button--reset {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .product-view__info {
    position: static;
  }

  .product-view__media {
    aspect-ratio: 1 / 1.08;
  }

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

@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.8fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: clamp(17px, 4.6vw, 26px);
  }

  .site-header {
    height: var(--header-h);
  }

  .header__inner {
    gap: 14px;
    padding-right: var(--pad);
    padding-left: var(--pad);
  }

  .wordmark {
    font-size: 27px;
  }

  .header__meta {
    gap: 0;
  }

  .header__stat {
    display: none;
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    padding: 10px var(--pad) 34px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

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

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

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

  .nav-link {
    width: 100%;
    min-height: 62px;
    padding: 12px 0;
    font-family: var(--display);
    font-size: clamp(25px, 7.2vw, 34px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
  }

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

  .nav-note {
    display: block;
    padding-top: 22px;
  }

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

  .hero__title {
    margin-top: 32px;
    font-size: clamp(46px, 14.4vw, 96px);
  }

  .hero__lede {
    max-width: 36ch;
    font-size: 15px;
  }

  .hero__side {
    display: flex;
    gap: 0;
  }

  .hero__figure {
    min-height: 164px;
  }

  .hero__side .hero__actions {
    margin-top: 18px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(36px, 10.6vw, 58px);
  }

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

  .product-card__title {
    font-size: 13px;
  }

  .collections {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .collection-row {
    min-height: 86px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    padding-right: 4px;
  }

  .collection-row:hover,
  .collection-row:focus-visible {
    padding-left: 6px;
  }

  .collection-row__name {
    font-size: clamp(34px, 10vw, 52px);
  }

  .collection-row__action {
    font-size: 8px;
  }

  .collections__note {
    margin-top: 22px;
  }

  .ledger {
    gap: 30px;
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .ledger__head h2 {
    margin-top: 22px;
    font-size: clamp(40px, 11.5vw, 66px);
  }

  .ledger-stat {
    padding-right: 8px;
  }

  .ledger-stat + .ledger-stat {
    padding-left: 10px;
  }

  .ledger-stat span {
    font-size: 8px;
  }

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

  .endcap__arrow {
    align-self: flex-end;
  }

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

  .footer__brand {
    grid-column: auto;
  }

  .footer__legal {
    justify-content: flex-start;
  }

  .catalog-hero {
    padding-top: 18px;
  }

  .catalog-hero__grid {
    margin-top: 26px;
  }

  .catalog-hero h1 {
    font-size: clamp(52px, 15.5vw, 96px);
  }

  .catalog-toolbar {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 12px 0;
  }

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

  .button--reset {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }

  .catalog__heading {
    padding-top: 26px;
  }

  .catalog__heading h2 {
    font-size: 32px;
  }

  .pagination {
    gap: 8px;
  }

  .pagination__pages {
    flex: 1 1 100%;
    gap: 5px;
  }

  .page-btn {
    min-width: 44px;
    padding: 0 9px;
  }

  .page-btn--step {
    flex: 1 1 auto;
  }

  .pdp {
    padding-top: 16px;
  }

  .product-view {
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .product-view__media {
    aspect-ratio: 1 / 1.1;
  }

  .product-view__info h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .product-view__actions .button {
    width: 100%;
  }

  .product-view__actions {
    align-items: stretch;
  }

  .pdp-context {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .pdp-context__head h2 {
    font-size: clamp(38px, 11vw, 64px);
  }

  .footer__mark {
    font-size: clamp(116px, 34vw, 250px);
  }
}

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

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

  .collection-row__action {
    display: none;
  }
}

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

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