/* Olympeah v3: v2's system on a white page, v1's full-bleed film as the homepage hero, and every storefront page.
   Sections, in order: base, buttons and links, header, search, hero, homepage sections, cards and prices, The cut,
   shop pages, product page, bag drawer and dialogs, bag page, checkout, order received, account, content pages,
   about, contact, footer, motion and scroll lock. Class names keep WooCommerce's where a template will reuse them
   (see CONVERSION-MAP.md). */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
.woocommerce-shop, .tax-product_cat { scroll-padding-top: calc(var(--bar-h) + var(--filter-h) + 16px); }

body {
  margin: 0;
  background: var(--studio);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, address { margin: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px;
  background: var(--ink); color: var(--on-ink); transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------------------------------------------------------------- buttons and links */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 500; text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.button:active:not(:disabled) { transform: scale(0.97); }
.button svg { flex: none; transition: transform 0.3s var(--ease); }
.button:hover svg { transform: translateX(4px); }
.button--primary { background: var(--ink); color: var(--on-ink); }
.button--primary:hover:not(:disabled) { background: var(--ink-2); }
.button--primary:disabled { background: var(--line); color: var(--muted); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--ink); color: var(--on-ink); }
.button--quiet { border-color: var(--line-strong); color: var(--ink); }
.button--quiet:hover { border-color: var(--ink); }
.button--block { width: 100%; }
.button--large { min-height: 56px; font-size: var(--t-base); }
.link-button { min-height: 40px; font-size: var(--t-sm); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: color 0.2s var(--ease); }
.link-button:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: var(--t-sm); font-weight: 500;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow__count { font-size: var(--t-xs); color: var(--muted); font-weight: 400; }
.link-arrow--back { margin-top: 12px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hero__eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }

.tag {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.tag--sale { background: var(--sale); color: #fff; }

/* Prices: WooCommerce markup. A sale shows the regular price struck through, then the sale price in red. */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-variant-numeric: tabular-nums; }
.price del { color: var(--muted); font-weight: 400; text-decoration-thickness: 1px; }
.price ins { text-decoration: none; color: var(--sale); }

/* ---------------------------------------------------------------- header: slim, small logo */

.top {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--studio) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__logo { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.top__logo img { width: 148px; height: auto; }
.top__nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.top__nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--t-sm); color: var(--ink); white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}
.top__nav a:hover { opacity: 0.55; }
.top__nav a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; }
.top__nav .top__sale { color: var(--sale); }
.top__actions { justify-self: end; display: flex; align-items: center; gap: clamp(2px, 0.6vw, 10px); margin-inline-end: -10px; }
.top__icon {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--ink); border-radius: 50%;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.top__icon:hover { background: var(--studio-2); }
.top__icon:active { transform: scale(0.94); }
.top__icon .bag-pill { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 0.8125rem; box-shadow: 0 0 0 2px var(--studio); }
.menu-icon__short { transform-box: fill-box; transform-origin: left center; transition: transform 0.35s var(--ease); }
@media (hover: hover) { .menu-button:hover .menu-icon__short { transform: scaleX(1.545); } }

.bag-pill {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--ink); color: var(--on-ink);
  font-size: var(--t-xs); font-weight: 500; line-height: 1;
}

@media (max-width: 1099px) {
  .top { grid-template-columns: auto 1fr; }
  .top__nav { display: none; }
}
@media (max-width: 899px) {
  .top__link--wide { display: none; }
  .top__logo img { width: 126px; }
}

/* ---------------------------------------------------------------- search bar: drops under the header */

.search-bar {
  position: fixed; inset: var(--bar-h) 0 auto; z-index: 39;
  max-height: calc(100svh - var(--bar-h)); overflow: auto;
  background: var(--white); padding: 4px var(--gutter) 20px;
  box-shadow: 0 24px 48px -32px rgb(0 0 0 / 0.35);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.search-bar.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.search-bar__form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.search-bar__input {
  flex: 1; min-width: 0; min-height: 64px; border: 0; background: transparent; color: var(--ink);
  font: 300 var(--t-xl) / 1.2 var(--font); letter-spacing: -0.02em;
}
.search-bar__input::placeholder { color: var(--muted); }
.search-bar__input:focus { outline: none; }
.search-bar__input::-webkit-search-cancel-button { display: none; }
.search-bar__close, .sheet__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color 0.2s var(--ease); }
.search-bar__close:hover, .sheet__close:hover { background: var(--studio-2); }
.search-bar__count { margin-top: 16px; color: var(--muted); font-size: var(--t-sm); }
.search-bar__all { margin-inline-start: 12px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.search-bar__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; margin-top: 8px; }
.result {
  width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px;
  padding: 8px; margin-inline: -8px; border-radius: 6px; text-align: start;
  transition: background-color 0.2s var(--ease);
}
.result:hover { background: var(--studio-2); }
.result__thumb { width: 48px; height: 64px; object-fit: cover; background: var(--studio-2); }
.result__text { display: grid; }
.result__name { font-weight: 500; font-size: var(--t-sm); }
.result__meta, .result__price { color: var(--muted); font-size: var(--t-sm); }
.result__price .price { flex-direction: column; gap: 0; text-align: end; }
.empty--results { margin-top: 16px; color: var(--muted); }

/* ---------------------------------------------------------------- hero (from v1): the film fills the screen
   under the header; on desktop the words sit on its right half, bottom aligned; on phones over the lower part
   of a portrait still. Black and white, as in v1. */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: min(calc(100svh - var(--bar-h)), 860px);
  background: var(--ink); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.06);
}
.hero__video { object-position: 30% 30%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.25) 45%, rgb(0 0 0 / 0) 70%);
}

.hero__text {
  display: grid; gap: 18px; justify-items: start;
  padding: 0 var(--gutter) clamp(28px, 6vw, 40px);
  animation: hero-rise 1s var(--ease) both;
}
.hero .hero__eyebrow { color: rgb(255 255 255 / 0.78); }
.hero__title {
  font-size: clamp(2.75rem, 9vw, 4rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.05em;
  max-width: 12ch; text-wrap: balance;
}
.hero__lede { max-width: 38ch; font-size: var(--t-base); color: rgb(255 255 255 / 0.82); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.hero__action { min-width: 220px; }
.hero__secondary {
  display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); color: #fff;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(255 255 255 / 0.45);
  transition: text-decoration-color 0.2s var(--ease);
}
.hero__secondary:hover { text-decoration-color: #fff; }

.hero__pause {
  position: absolute; right: var(--gutter); top: 20px; z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / 0.16); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.2s var(--ease);
}
.hero__pause:hover { background: rgb(255 255 255 / 0.3); }
.hero__pause .icon-play { display: none; }
.hero__pause[aria-pressed='true'] .icon-play { display: block; }
.hero__pause[aria-pressed='true'] .icon-pause { display: none; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .hero { min-height: max(620px, min(calc(100svh - var(--bar-h)), 1000px)); }
  .hero__media img { object-position: 40% 0%; }
  .hero__media::after { background: linear-gradient(to right, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / 0.5) 100%), linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 50%); }
  .hero__text { width: min(640px, 48%); margin-inline-start: 51%; padding: 0 0 clamp(40px, 6vw, 72px); gap: 22px; }
  .hero__title { font-size: clamp(3.5rem, 5.6vw, 6rem); line-height: 0.95; letter-spacing: -0.055em; }
  .hero__lede { font-size: var(--t-lg); line-height: 1.45; }
}

/* ---------------------------------------------------------------- homepage sections */

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.section-head__title { font-size: var(--t-lg); font-weight: 400; letter-spacing: -0.015em; }
.section-head__title--large { font-size: var(--t-display); font-weight: 300; line-height: 0.95; letter-spacing: -0.05em; margin-top: 12px; }
.section-head__side { display: grid; gap: 8px; justify-items: start; max-width: 36ch; }
.section-head__lede { color: var(--muted); }
.section-head__kicker { color: var(--sale); }

/* Selected pieces: a row of four. */
.selected { padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(48px, 6vw, 96px); }
.pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
@media (min-width: 900px) { .pieces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pieces__all {
  display: flex; align-items: center; gap: 12px; min-height: 72px; margin-top: 32px;
  border-top: 1px solid var(--line);
  font-size: var(--t-lg); font-weight: 300; letter-spacing: -0.01em;
}
.pieces__count { font-size: var(--t-xs); color: var(--muted); align-self: flex-start; padding-top: 22px; }
.pieces__all svg { margin-inline-start: auto; transition: transform 0.3s var(--ease); }
.pieces__all:hover svg { transform: translateX(6px); }

/* Sale: a rail of cards that scrolls sideways. */
.sale-band { padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 6vw, 96px); }
.sale-band .section-head { padding: 0 var(--gutter); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62vw); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 12px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -2px; }
@media (min-width: 700px) { .rail { grid-auto-columns: minmax(220px, 34vw); } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * var(--gap)) / 4.3); } }

/* Story: the brand, beside a wide photograph. */
.story { display: grid; gap: 28px; padding: 0 var(--gutter) clamp(64px, 8vw, 128px); }
.story__image { overflow: hidden; border-radius: 2px; background: var(--studio-2); }
.story__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.story__text { display: grid; gap: 16px; justify-items: start; align-content: center; }
.story__title { font-size: var(--t-xl); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; text-wrap: balance; }
.story__lede { color: var(--muted); max-width: 40ch; margin-bottom: 8px; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
  .story__image img { aspect-ratio: 1600 / 900; }
  .story__title { font-size: clamp(2.5rem, 2.6vw + 1rem, 4rem); }
}

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

.card { display: grid; align-content: start; gap: 12px; }
.card__media { position: relative; display: block; overflow: hidden; background: var(--studio-2); border-radius: 2px; aspect-ratio: 4 / 5; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.9s var(--ease), opacity 0.5s var(--ease); }
.card__img--alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img--alt { opacity: 1; }
  .card:hover .card__img { transform: scale(1.025); }
}
.card__media .tag { position: absolute; top: 10px; left: 10px; }
.card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.card__name { grid-column: 1; grid-row: 1; font-size: var(--t-sm); font-weight: 500; line-height: 1.35; }
.card__name a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__name a:focus-visible { outline: none; }
.card:has(.card__name a:focus-visible) .card__media { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.card__price { grid-column: 2; grid-row: 1; font-size: var(--t-sm); white-space: nowrap; }
.card__price .price { flex-direction: column; align-items: end; gap: 0; }
.card__desc { grid-column: 1 / -1; grid-row: 2; font-size: var(--t-sm); color: var(--muted); }
.card__more { color: var(--muted); }
.card__size {
  position: relative; z-index: 1;
  grid-column: 1 / -1; grid-row: 3; justify-self: start;
  min-height: 40px; padding: 0 16px; margin-top: 6px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: var(--t-xs); font-weight: 500;
  transition: opacity 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card__size:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .card__size { opacity: 0; }
  .card:hover .card__size, .card:focus-within .card__size { opacity: 1; }
}

/* ---------------------------------------------------------------- categories: a shop index with a single stage (v2) */

.cats { padding: clamp(48px, 6vw, 112px) var(--gutter) clamp(24px, 3vw, 48px); }
.cats__stage { display: none; }
.cats__index { border-top: 1px solid var(--line); }
.cats__index li { border-bottom: 1px solid var(--line); }
.cats__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  width: 100%; min-height: 72px; padding: 12px 0; text-align: start;
}
.cats__row:focus-visible { outline-offset: -2px; }
.cats__thumb { grid-row: 1 / span 2; width: 54px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: 2px; background: var(--studio-2); }
.cats__name {
  display: inline-flex; align-items: flex-start; gap: 8px;
  font-size: clamp(1.75rem, 1.6vw + 1.25rem, 2.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.045em;
}
.cats__count { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.25em; }
.cats__from { grid-column: 2; font-size: var(--t-sm); color: var(--muted); }
.cats__price { color: var(--ink); font-weight: 600; }
.cats__badge {
  grid-column: 3; grid-row: 1 / span 2;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.cats__row--all { grid-template-columns: minmax(0, 1fr) auto; }
.cats__row--all .cats__name { font-size: var(--t-lg); letter-spacing: -0.01em; }
.cats__row--all .cats__badge { grid-column: 2; grid-row: 1; }
.cats__row:hover .cats__badge { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

@media (min-width: 900px) {
  .cats { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(48px, 7vw, 140px); }
  .cats__stage { display: grid; gap: 14px; }
  .cats__frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--studio-2); height: min(72svh, 760px); aspect-ratio: 3 / 4; }
  .cats__shot {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
    opacity: 0; transform: scale(1.04);
    transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
  }
  .cats__shot.is-active { opacity: 1; transform: none; }
  .cats__captions { display: grid; }
  .cats__caption { grid-area: 1 / 1; display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-sm); color: var(--muted); opacity: 0; transition: opacity 0.5s var(--ease); }
  .cats__caption.is-active { opacity: 1; }
  .cats__caption-price { color: var(--ink); font-weight: 600; }
  .cats__thumb { display: none; }
  .cats__row { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 0; padding: clamp(14px, 1.6vw, 24px) 0; gap: 24px; }
  .cats__name { font-size: clamp(2.75rem, 4vw + 0.5rem, 5.5rem); line-height: 0.9; letter-spacing: -0.055em; color: var(--muted); transition: color 0.4s var(--ease), transform 0.5s var(--ease); }
  .cats__count { font-size: var(--t-sm); padding-top: 0.5em; }
  .cats__from { grid-column: 2; grid-row: 1; align-self: center; opacity: 0.55; transition: opacity 0.4s var(--ease); }
  .cats__badge { grid-column: 3; grid-row: 1; width: 48px; height: 48px; }
  .cats__row.is-active .cats__name { color: var(--ink); transform: translateX(10px); }
  .cats__row.is-active .cats__from { opacity: 1; }
  .cats__row.is-active .cats__badge { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
  .cats__row--all { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; }
  .cats__row--all .cats__name { font-size: var(--t-lg); color: var(--ink); }
  .cats__row--all:hover .cats__name { transform: none; }
}

/* ---------------------------------------------------------------- the cut: an annotated garment on a black band (v2) */

.cut { display: grid; gap: 32px; padding: clamp(56px, 7vw, 120px) var(--gutter); background: var(--ink); color: var(--on-ink); }
.cut__intro { display: grid; gap: 20px; align-content: start; }
.cut__eyebrow { color: var(--on-ink-muted); }
.cut__quote p { font-size: var(--t-xl); font-weight: 300; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; max-width: 13ch; }
.cut__stage { position: relative; justify-self: center; width: min(100%, 560px); background: var(--studio-2); }
.cut__stage img { width: 100%; height: auto; }

.pin { position: absolute; top: var(--y); left: var(--x); height: 0; display: flex; align-items: center; }
.pin__dot {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); font-size: 0.8125rem; font-weight: 500;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 6px rgb(255 255 255 / 0.22);
}
.pin__line, .pin__label { display: none; }
.cut__notes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.cut__notes li { padding: 12px 0; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: var(--t-sm); }
.pin__num { font-size: var(--t-xs); color: var(--on-ink-muted); margin-inline-end: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.cut { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "intro intro" "stage stage" "notes notes" "loupe buy"; column-gap: 20px; }
.cut__intro { grid-area: intro; }
.cut__stage { grid-area: stage; }
.cut__notes { grid-area: notes; }
.cut__loupe { grid-area: loupe; align-self: center; display: grid; justify-items: center; gap: 10px; }
.cut__lens {
  display: block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--studio-2);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.28), 0 0 0 6px var(--ink), 0 0 0 7px rgb(255 255 255 / 0.12);
}
.cut__lens img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transform-origin: 55% 26%; }
.cut__loupe figcaption { font-size: var(--t-xs); color: var(--on-ink-muted); letter-spacing: 0.02em; }
.cut__buy { grid-area: buy; display: grid; gap: 8px; justify-items: start; align-self: center; }
.cut__name { min-height: 32px; font-size: var(--t-lg); font-weight: 300; letter-spacing: -0.02em; text-align: start; transition: opacity 0.2s var(--ease); }
.cut__name:hover { opacity: 0.65; }
.cut__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: var(--t-sm); color: var(--on-ink-muted); }
.cut__price { color: var(--on-ink); font-size: var(--t-base); }
.cut__action { margin-top: 14px; }

@media (min-width: 1000px) {
  .cut {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "intro stage ." ".     stage loupe" ".     stage buy";
    column-gap: clamp(48px, 5vw, 96px); row-gap: 0;
  }
  .cut__quote p { font-size: clamp(2.5rem, 2.6vw + 1rem, 4rem); }
  .cut__stage { width: auto; height: min(800px, calc(100svh - 140px)); aspect-ratio: var(--ratio, 3 / 4); }
  .cut__stage img { height: 100%; width: 100%; object-fit: cover; }
  .cut__notes { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cut__loupe { align-self: end; justify-self: end; margin-bottom: 40px; }
  .cut__lens { width: clamp(132px, 11vw, 176px); height: clamp(132px, 11vw, 176px); }
  .cut__buy { justify-self: end; justify-items: end; text-align: end; }
  .cut__meta { justify-content: flex-end; }
  .pin__dot { width: 9px; height: 9px; font-size: 0; box-shadow: 0 0 0 1.5px #fff, 0 0 0 7px rgb(255 255 255 / 0.2); }
  .pin__line, .pin__label { display: block; }
  .pin--right { width: calc(100% - var(--x) + 56px); }
  .pin--left { left: auto; right: calc(100% - var(--x)); width: calc(var(--x) + 56px); justify-content: flex-end; }
  .pin--left .pin__dot { left: auto; right: 0; transform: translate(50%, -50%); }
  .pin__line { flex: 1; height: 1px; background: #fff; mix-blend-mode: difference; opacity: 0.9; }
  .pin--right .pin__line { margin-left: 14px; }
  .pin--left .pin__line { margin-right: 14px; }
  .pin__label { position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; color: var(--on-ink); font-size: var(--t-sm); }
  .pin--right .pin__label { left: calc(100% + 14px); }
  .pin--left .pin__label { right: calc(100% + 14px); text-align: end; }
}

/* ---------------------------------------------------------------- breadcrumbs and page heads */

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: var(--t-xs); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: '/'; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.page-head, .shop-head { display: grid; gap: 12px; padding: clamp(16px, 2vw, 28px) var(--gutter) clamp(24px, 3vw, 40px); }
.page-head__title, .shop-head__title {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--t-display); font-weight: 300; line-height: 0.95; letter-spacing: -0.055em; margin-top: 8px;
}
.page-head__count, .shop-head__count { font-size: var(--t-sm); font-weight: 500; letter-spacing: 0; color: var(--muted); padding-top: 0.4em; font-variant-numeric: tabular-nums; }
.page-head__lede, .shop-head__lede { max-width: 52ch; color: var(--muted); font-size: var(--t-base); }
.page-head--doc .page-head__lede { font-size: var(--t-lg); line-height: 1.45; color: var(--ink-2); font-weight: 300; }

/* ---------------------------------------------------------------- shop and category pages: sticky filter, dense grid */

.catalogue { padding-bottom: clamp(48px, 6vw, 96px); }
.filterbar {
  position: sticky; top: var(--bar-h); z-index: 30;
  min-height: var(--filter-h);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 6px var(--gutter); margin-bottom: 24px;
  background: color-mix(in srgb, var(--studio) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.filter { min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1) 0; padding-inline: var(--gutter) 0; mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.filter::-webkit-scrollbar { display: none; }
.index { display: flex; gap: 4px; width: max-content; padding-inline-end: 32px; }
.index__item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: var(--t-sm); white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.index__item:hover { background: var(--studio-2); }
.index__item[aria-current='page'] { background: var(--ink); color: var(--on-ink); }
.index__item--sale { color: var(--sale); }
.index__item--sale[aria-current='page'] { background: var(--sale); color: #fff; }
.index__count { font-size: var(--t-xs); opacity: 0.6; }
.filterbar__end { display: flex; align-items: center; gap: 16px; flex: none; }
.catalogue__count { font-size: var(--t-sm); color: var(--muted); white-space: nowrap; }
.ordering__select {
  appearance: none; -webkit-appearance: none;
  min-height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
  font-size: var(--t-sm); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ordering__select:hover { border-color: var(--ink); }
@media (max-width: 699px) {
  .filterbar { flex-wrap: wrap; padding-block: 8px; }
  .filter { flex-basis: 100%; }
  .filterbar__end { width: 100%; justify-content: space-between; }
}

.search-note { padding: 0 var(--gutter) 20px; font-size: var(--t-sm); color: var(--muted); }
.search-note a { margin-inline-start: 12px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--gap); padding: 0 var(--gutter); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.more { display: grid; justify-items: center; gap: 14px; margin-top: clamp(40px, 5vw, 64px); padding: 0 var(--gutter); }
.more__count { font-size: var(--t-sm); color: var(--muted); }
.more__bar { width: min(240px, 60vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.more__bar span { display: block; height: 100%; background: var(--ink); transition: width 0.5s var(--ease); }
.more .button { min-width: 200px; }
.empty--catalogue { padding: 24px var(--gutter); display: grid; gap: 8px; justify-items: start; color: var(--muted); }

/* ---------------------------------------------------------------- product page */

.pdp { padding: clamp(8px, 1vw, 16px) 0 clamp(48px, 6vw, 96px); }
.pdp > .crumbs { padding: 0 var(--gutter) 12px; }
.pdp__grid { display: grid; }
.pdp__media { position: relative; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -2px; }
.gallery__item { scroll-snap-align: start; background: var(--studio-2); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.gallery__count {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 0.9); font-size: var(--t-xs); font-weight: 500; font-variant-numeric: tabular-nums;
}
.pdp__summary { display: grid; gap: 16px; align-content: start; padding: 24px var(--gutter) 0; }
.pdp__cat { display: flex; align-items: center; gap: 12px; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pdp__cat a { display: inline-flex; align-items: center; min-height: 32px; transition: color 0.2s var(--ease); }
.pdp__cat a:hover { color: var(--ink); }
.pdp__title { font-size: var(--t-xl); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.pdp__price { font-size: var(--t-lg); font-weight: 600; }
.pdp__lede { color: var(--muted); max-width: 42ch; }
.pdp__label { font-size: var(--t-sm); font-weight: 500; }
.pdp__value { color: var(--muted); font-weight: 400; margin-inline-start: 8px; }
.pdp__colour { display: grid; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; display: block; width: 52px; border-radius: 4px; overflow: hidden; outline: 1px solid var(--line); outline-offset: 0; transition: outline-color 0.2s var(--ease), transform 0.2s var(--ease); }
.swatch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.swatch:hover { outline-color: var(--ink-2); transform: translateY(-2px); }
.swatch[aria-current='true'] { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch__name {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--on-ink); font-size: 0.8125rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s var(--ease);
}
.swatches li { position: relative; }
.swatch { overflow: visible; }
.swatch img { border-radius: 4px; }
.swatch:hover .swatch__name, .swatch:focus-visible .swatch__name { opacity: 1; }
.pdp__form { display: grid; gap: 14px; }
.pdp__form .sizes { margin: 0; }
.pdp__add-price { font-weight: 600; }
.pdp__fit { font-size: var(--t-sm); color: var(--muted); }
.assure { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--t-sm); color: var(--ink-2); }
.assure li { display: inline-flex; align-items: center; gap: 10px; }
.assure svg { flex: none; color: var(--muted); }
.assure--stack { display: grid; gap: 12px; margin-top: 20px; font-size: var(--t-xs); color: var(--muted); }
.assure--stack li { align-items: flex-start; }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__title {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px;
  font-size: var(--t-sm); font-weight: 500; cursor: pointer; list-style: none;
}
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title svg { transition: transform 0.3s var(--ease); }
.accordion__item[open] .accordion__title svg { transform: rotate(45deg); }
.accordion__body { display: grid; gap: 10px; padding-bottom: 20px; font-size: var(--t-sm); color: var(--ink-2); max-width: 60ch; }
.accordion__body a { text-decoration: underline; text-underline-offset: 3px; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--t-xs); color: var(--muted); }
.pdp__meta a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.pdp__meta a:hover { color: var(--ink); }

.related { padding: clamp(48px, 6vw, 96px) var(--gutter) 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 96px); }

@media (min-width: 1000px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); gap: clamp(32px, 4vw, 72px); padding: 0 var(--gutter); align-items: start; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; gap: var(--gap); overflow: visible; }
  .gallery__item:first-child:nth-last-child(odd), .gallery__item:first-child:only-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .gallery__item:first-child:nth-last-child(odd) img { object-position: 50% 12%; }
  .gallery__count { display: none; }
  .pdp__summary { position: sticky; top: calc(var(--bar-h) + 24px); padding: 8px 0 0; max-width: 520px; }
}

/* ---------------------------------------------------------------- sizes (product page and quick panel) */

.sizes { border: 0; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.sizes__legend { padding: 0; margin-bottom: 10px; font-size: var(--t-sm); font-weight: 500; }
.sizes__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.size {
  min-height: 52px; display: grid; place-items: center; align-content: center;
  border: 1px solid var(--line-strong); border-radius: 8px; font-size: var(--t-sm); font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.size__hint { font-size: 0.8125rem; font-weight: 400; opacity: 0.75; }
.size--unavailable { color: var(--muted); background: var(--soft); }
.size--unavailable .size__label { text-decoration: line-through; }
.field-error { font-size: var(--t-sm); color: var(--sale); }

/* ---------------------------------------------------------------- dialogs: menu, quick size panel, bag */

dialog { padding: 0; border: 0; color: var(--ink); background: var(--white); max-width: none; max-height: none; }
dialog::backdrop { background: rgb(17 17 17 / 0.4); }
.sheet { overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--bar-h); padding: 0 var(--gutter); flex: none; }
.sheet__title { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 500; }
.sheet__body { flex: 1; overflow: auto; padding: 4px var(--gutter) 28px; }
.sheet__footer { flex: none; display: grid; gap: 10px; padding: 18px var(--gutter) 22px; border-top: 1px solid var(--line); }
.sheet, dialog::backdrop {
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}
dialog:not([open])::backdrop { opacity: 0; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }

.sheet--menu { position: fixed; inset: 0 0 auto; width: 100%; max-height: 100svh; height: auto; }
.sheet--menu:not([open]) { transform: translateY(-100%); }
@starting-style { .sheet--menu[open] { transform: translateY(-100%); } }
.menu-panel { display: grid; gap: 36px; padding-top: 12px; padding-bottom: 40px; }
.menu-panel__label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.menu { display: grid; gap: 2px; }
.menu__item {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--t-xl); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1;
  transition: opacity 0.2s var(--ease), transform 0.35s var(--ease);
}
.menu--pages .menu__item { font-size: var(--t-lg); letter-spacing: -0.01em; }
.menu__item:hover { opacity: 0.55; transform: translateX(6px); }
.menu__item--sale { color: var(--sale); }
.menu-panel__image { display: none; }
@media (min-width: 900px) {
  .menu-panel { grid-template-columns: 1fr 1fr minmax(0, 0.7fr); gap: clamp(32px, 4vw, 72px); }
  .menu-panel__image { display: grid; gap: 10px; align-content: start; }
  .menu-panel__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; max-height: 60svh; background: var(--studio-2); }
  .menu-panel__caption { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); }
  .menu-panel__caption span:last-child { font-weight: 600; }
}

.sheet--product { position: fixed; inset: 0 0 0 auto; width: 100%; height: 100%; }
.sheet--product:not([open]) { transform: translateX(100%); }
@starting-style { .sheet--product[open] { transform: translateX(100%); } }
.quick { flex: 1; overflow: auto; display: grid; grid-template-rows: auto 1fr; }
.product__figure { background: var(--studio-2); order: 2; }
.product__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.product__side { display: flex; flex-direction: column; order: 1; }
.product__info { display: grid; gap: 10px; align-content: start; padding: 8px var(--gutter) 28px; }
.product__name { font-size: var(--t-xl); font-weight: 300; line-height: 1.05; letter-spacing: -0.035em; outline: none; }
.product__price { font-size: var(--t-base); }
.product__colour { font-size: var(--t-sm); color: var(--muted); }
#product-add { margin-top: 10px; }
#product-link { justify-self: start; }
@media (min-width: 900px) {
  .sheet--product { width: min(1040px, 78vw); }
  .quick { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 100%; overflow: hidden; }
  .product__figure { order: 1; height: 100%; }
  .product__figure img { height: 100%; aspect-ratio: auto; }
  .product__side { order: 2; overflow: auto; }
  .product__info { padding: 24px clamp(24px, 3vw, 48px) 40px; }
}

.sheet--bag { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); height: 100%; }
.sheet--bag:not([open]) { transform: translateX(100%); }
@starting-style { .sheet--bag[open] { transform: translateX(100%); } }
.bag-lines { display: grid; }
.bag-line { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-line img { width: 88px; height: 110px; object-fit: cover; object-position: 50% 15%; background: var(--studio-2); }
.bag-line__info { display: grid; gap: 2px; align-content: start; }
.bag-line__name { font-size: var(--t-sm); font-weight: 500; }
.bag-line__meta, .bag-line__price { font-size: var(--t-sm); color: var(--muted); }
.bag-line__price del { margin-inline-end: 4px; }
.bag-line__price ins { text-decoration: none; color: var(--sale); }
.bag-line__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.bag-line__total { font-size: var(--t-sm); font-weight: 600; }
.bag-line .link-button { justify-self: start; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; }
.qty button:hover:not(:disabled) { background: var(--studio-2); }
.qty button:disabled { color: var(--line-strong); }
.qty output { min-width: 24px; text-align: center; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.empty { display: grid; gap: 8px; justify-items: start; padding: 24px 0; color: var(--muted); }
.empty .link-arrow { color: var(--ink); }
.bag-subtotal { display: flex; justify-content: space-between; font-weight: 500; }
.bag-note { font-size: var(--t-xs); color: var(--muted); margin-bottom: 6px; }

/* ---------------------------------------------------------------- bag page */

.wc-page { padding-bottom: clamp(56px, 7vw, 112px); }
.cart-layout, .checkout-layout { display: grid; gap: 32px; padding: 0 var(--gutter); }
.cart-table__head { display: none; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img price total" "img qty qty";
  gap: 6px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-line__image { grid-area: img; align-self: start; }
.cart-line__image img { width: 96px; height: 120px; object-fit: cover; object-position: 50% 15%; background: var(--studio-2); }
.cart-line__info { grid-area: info; display: grid; gap: 2px; justify-items: start; }
.cart-line__name { font-weight: 500; }
.cart-line__meta { font-size: var(--t-sm); color: var(--muted); }
.cart-line__sku { color: var(--muted); }
.cart-line__price { grid-area: price; font-size: var(--t-sm); }
.cart-line__price ins { text-decoration: none; color: var(--sale); }
.cart-line__price del { color: var(--muted); margin-inline-end: 4px; }
.cart-line__qty { grid-area: qty; }
.cart-line__total { grid-area: total; font-weight: 600; text-align: end; }
.cart-line__cap { display: none; }
.cart-empty { display: grid; gap: 10px; justify-items: start; padding: 8px var(--gutter) 0; color: var(--muted); }
.cart-empty__title { font-size: var(--t-xl); font-weight: 300; letter-spacing: -0.04em; color: var(--ink); }
.cart-empty .button { margin-top: 10px; }
.cart-empty--inline { padding: 0; }
.cart-empty--inline .link-arrow { color: var(--ink); }

.totals { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--soft); border-radius: 12px; }
.totals__title { font-size: var(--t-sm); font-weight: 500; }
.totals__rows { display: grid; gap: 10px; font-size: var(--t-sm); }
.totals__rows > div { display: flex; justify-content: space-between; gap: 16px; }
.totals__rows dd { font-variant-numeric: tabular-nums; text-align: end; }
.totals__muted { color: var(--muted); font-size: var(--t-sm); }
.totals__save { color: var(--sale); }
.totals__total { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-weight: 600; }
.totals .button { margin-top: 6px; }

@media (min-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .totals { position: sticky; top: calc(var(--bar-h) + 24px); }
  /* The heading row shares the line's columns; "Piece" spans the photograph and the name. */
  .cart-table__head {
    display: grid; grid-template-columns: 96px minmax(0, 1fr) 120px 140px 100px; gap: 24px; padding: 0 0 12px;
    font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
  }
  .cart-table__head span:first-child { grid-column: span 2; }
  .cart-table__head span:nth-child(n + 2) { text-align: end; }
  .cart-line { grid-template-columns: 96px minmax(0, 1fr) 120px 140px 100px; grid-template-areas: "img info price qty total"; gap: 0 24px; }
  .cart-line__price { text-align: end; }
  .cart-line__qty { justify-self: end; }
}

/* ---------------------------------------------------------------- checkout */

.checkout-fields { display: grid; gap: 28px; }
.form-alert { padding: 14px 16px; border-radius: 8px; background: #fbeaea; color: var(--sale); font-size: var(--t-sm); }
.form-section { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.form-section__title { display: flex; align-items: center; gap: 12px; padding: 0; font-size: var(--t-lg); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 4px; }
.form-section__num { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: var(--t-xs); font-weight: 500; }
.form-section__note { font-size: var(--t-sm); color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; grid-column: span 2; }
@media (min-width: 600px) { .field { grid-column: span 1; } }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 500; }
.field__optional { color: var(--muted); font-weight: 400; }
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field input[type='password'], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white);
  font-size: 1.125rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(17 17 17 / 0.1); }
.field [aria-invalid='true'] { border-color: var(--sale); }
.field__hint { font-size: var(--t-xs); color: var(--muted); }
.field__error { font-size: var(--t-xs); color: var(--sale); }
.field--check { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--t-sm); font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.choices { display: grid; gap: 8px; }
.choice {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.choice__text { display: grid; gap: 2px; }
.choice__name { font-size: var(--t-sm); font-weight: 500; }
.choice__note { font-size: var(--t-xs); color: var(--muted); }
.choice__price { font-size: var(--t-sm); color: var(--muted); }
.form-legal { font-size: var(--t-xs); color: var(--muted); }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.form-done { padding: 14px 16px; border-radius: 8px; background: #e9f3ed; color: var(--ok); font-size: var(--t-sm); }

.review-lines { display: grid; gap: 14px; }
.review-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.review-line__image { position: relative; }
.review-line__image img { width: 64px; height: 80px; object-fit: cover; object-position: 50% 15%; border-radius: 4px; background: var(--studio-2); }
.review-line__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 0.8125rem; font-weight: 500; }
.review-line__text { display: grid; gap: 2px; }
.review-line__name { font-size: var(--t-sm); font-weight: 500; }
.review-line__meta { font-size: var(--t-xs); color: var(--muted); }
.review-line__total { font-size: var(--t-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.totals--checkout .totals__rows { padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- order received */

.received { display: grid; gap: 24px; padding: clamp(24px, 4vw, 56px) var(--gutter) 0; max-width: 1100px; }
.received__title { font-size: var(--t-display); font-weight: 300; line-height: 0.98; letter-spacing: -0.055em; max-width: 16ch; outline: none; }
.received__overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--line); border-radius: 12px; }
.received__overview li { display: grid; gap: 4px; padding: 18px 20px; font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.received__overview li + li { border-inline-start: 1px solid var(--line); }
.received__overview strong { font-size: var(--t-base); color: var(--ink); font-weight: 500; letter-spacing: 0; text-transform: none; word-break: break-word; }
.received__note { color: var(--muted); max-width: 60ch; }
.received__grid { display: grid; gap: 32px; }
.received__grid section { display: grid; gap: 14px; align-content: start; }
.received__address { line-height: 1.7; }
.received__method { font-size: var(--t-sm); color: var(--muted); }
.received__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (min-width: 900px) { .received__grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
@media (max-width: 599px) { .received__overview li + li { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* ---------------------------------------------------------------- account */

.account-forms { display: grid; gap: 24px; padding: 0 var(--gutter); }
.account-form { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 12px; }
.account-form + .account-form { background: var(--soft); border-color: var(--soft); }
.account-form__title { font-size: var(--t-xl); font-weight: 300; letter-spacing: -0.04em; line-height: 1.05; }
.account-form__lede, .account-form__legal { color: var(--muted); font-size: var(--t-sm); }
.account-form__legal a, .account-form__alt a { text-decoration: underline; text-underline-offset: 3px; }
.account-form__alt { font-size: var(--t-sm); }
.account-form .field { grid-column: 1 / -1; }
@media (min-width: 900px) { .account-forms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); max-width: 1200px; } }

.account { display: grid; gap: 28px; padding: 0 var(--gutter); }
.account__nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.account__tab { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: var(--t-sm); transition: background-color 0.2s var(--ease); }
.account__tab:hover { background: var(--studio-2); }
.account__tab[aria-current='page'] { background: var(--ink); color: var(--on-ink); }
.account__content { display: grid; gap: 16px; max-width: 760px; }
.account__content section { display: grid; gap: 14px; justify-items: start; }
.account__hello { font-size: var(--t-lg); font-weight: 300; }
.orders { display: grid; width: 100%; border-top: 1px solid var(--line); }
.order-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.order-row__num { font-weight: 500; }
.order-row__date, .order-row__items { color: var(--muted); }
.order-row__total { font-weight: 600; text-align: end; }
@media (min-width: 700px) { .order-row { grid-template-columns: 1.2fr 1fr 1fr auto; } }
@media (min-width: 900px) { .account { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } .account__nav ul { display: grid; } .account__tab { width: 100%; text-align: start; } }

/* ---------------------------------------------------------------- content pages: shipping, returns, privacy, terms */

.doc { padding-bottom: clamp(56px, 7vw, 112px); }
.page-head--doc { max-width: 1100px; }
.doc__body { padding: 0 var(--gutter); }
.toc { display: none; }
.prose { max-width: var(--measure); font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--t-lg); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin-top: 2.2em; scroll-margin-top: calc(var(--bar-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.25em; list-style: disc; }
.prose li + li { margin-top: 0.6em; }
.prose li::marker { color: var(--muted); }
.doc__help { margin: clamp(40px, 5vw, 64px) var(--gutter) 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: var(--measure); font-size: var(--t-sm); color: var(--muted); }
.doc__help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1000px) {
  .doc__body--toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); }
  .doc__body--toc + .doc__help { margin-inline-start: calc(var(--gutter) + 240px + clamp(40px, 6vw, 120px)); }
  .toc { display: grid; gap: 12px; align-content: start; position: sticky; top: calc(var(--bar-h) + 24px); }
  .toc__label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .toc ol { display: grid; gap: 2px; counter-reset: toc; }
  .toc li { counter-increment: toc; }
  .toc a { display: grid; grid-template-columns: 24px 1fr; padding: 6px 0; font-size: var(--t-sm); color: var(--muted); transition: color 0.2s var(--ease); }
  .toc a::before { content: counter(toc, upper-roman); font-size: var(--t-xs); padding-top: 2px; }
  .toc a:hover { color: var(--ink); }
}

/* ---------------------------------------------------------------- about */

.about__head { display: grid; gap: 12px; padding: clamp(16px, 2vw, 28px) var(--gutter) clamp(28px, 4vw, 56px); }
.about__head .crumbs { margin-bottom: 8px; }
.about__title { font-size: clamp(3rem, 7.5vw, 8.5rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.06em; max-width: 12ch; text-wrap: balance; }
.about__wide { margin: 0 var(--gutter); overflow: hidden; border-radius: 2px; background: var(--studio-2); }
.about__wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about__intro { display: grid; gap: 20px; padding: clamp(48px, 7vw, 120px) var(--gutter); }
.about__lede { font-size: var(--t-xl); font-weight: 300; line-height: 1.12; letter-spacing: -0.04em; max-width: 24ch; text-wrap: balance; }
.about__text { max-width: 52ch; color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; font-weight: 300; }
.founder { display: grid; gap: 28px; padding: 0 var(--gutter) clamp(56px, 7vw, 120px); }
.founder__image { overflow: hidden; border-radius: 2px; background: var(--studio-2); max-width: 420px; }
.founder__image img { width: 100%; aspect-ratio: 647 / 900; object-fit: cover; object-position: 50% 10%; }
.founder__text { display: grid; gap: 16px; align-content: center; max-width: 56ch; color: var(--ink-2); }
.founder__name { font-size: var(--t-xl); font-weight: 300; letter-spacing: -0.045em; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.about__pair { display: grid; gap: var(--gap); padding: 0 var(--gutter); }
.about__pair figure { overflow: hidden; border-radius: 2px; background: var(--studio-2); position: relative; }
.about__pair img { width: 100%; height: 100%; object-fit: cover; }
.about__pair-wide img { aspect-ratio: 16 / 9; }
.about__pair-tall img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
.about__pair figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: var(--t-sm); text-shadow: 0 1px 12px rgb(0 0 0 / 0.5); }
@media (min-width: 900px) {
  .about__intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: clamp(40px, 6vw, 120px); }
  .about__lede { font-size: clamp(2.5rem, 2.8vw + 1rem, 4.25rem); }
  .founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 140px); align-items: center; }
  .founder__image { max-width: none; }
  .about__pair { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
  .about__pair-wide img, .about__pair-tall img { aspect-ratio: auto; height: 100%; max-height: 720px; }
  .about__pair-wide { aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- contact */

.contact { padding-bottom: clamp(56px, 7vw, 112px); }
.contact__grid { display: grid; gap: 32px; padding: 0 var(--gutter); }
.contact__side { display: grid; gap: 12px; align-content: start; }
.contact__card { display: grid; gap: 6px; padding: 20px 22px; border-radius: 12px; background: var(--soft); font-size: var(--t-sm); color: var(--ink-2); }
.contact__card a { text-decoration: underline; text-underline-offset: 3px; }
.contact__label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__big { font-size: var(--t-lg); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); text-decoration: none !important; word-break: break-word; }
.contact__big:hover { text-decoration: underline !important; }
.contact__form { display: grid; gap: 20px; align-content: start; justify-items: start; max-width: 720px; }
.contact__form .fields { width: 100%; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); } }

/* ---------------------------------------------------------------- 404 */

.notfound { display: grid; gap: 18px; justify-items: start; padding: clamp(56px, 10vw, 160px) var(--gutter); color: var(--muted); }
.notfound__title { font-size: var(--t-display); font-weight: 300; line-height: 0.98; letter-spacing: -0.055em; max-width: 16ch; color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.foot { padding: clamp(48px, 6vw, 80px) var(--gutter) 24px; border-top: 1px solid var(--line); display: grid; gap: 40px; }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot__logo { width: 132px; height: auto; }
.foot__line { color: var(--muted); font-size: var(--t-sm); max-width: 34ch; }
.foot__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: var(--t-sm); }
.foot__mail span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.foot__mail:hover span { text-decoration-color: var(--ink); }
.foot__label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--t-sm); transition: opacity 0.2s var(--ease); }
.foot__col a:hover { opacity: 0.55; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--muted); }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
  .foot__brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- prices: SemiBold everywhere
   Every price except the hero and product-page display sizes is set in Inter SemiBold. */

.card__price, .cut__price, .product__price, .bag-line__price, .bag-line__total, #bag-subtotal, .result__price, .cart-line__price, .pdp__price { font-weight: 600; }
.price del { font-weight: 400; }

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, dialog::backdrop {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .card:hover .card__img { transform: none; }
  .cats__shot { transform: none; }
  .cats__row.is-active .cats__name { transform: none; }
}

/* ---------------------------------------------------------------- scroll lock while a panel is open */

html:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.sheet, .sheet__body, .quick, .product__side { overscroll-behavior: contain; }

/* ================================================================ v4: v1's style on white
   Everything above is v3's system. This layer gives every page v1's look: Neue Haas Grotesk, square buttons, fields and
   panels, v1's product cards and grids, and the homepage's v1 sections (hero type, category index, Selected
   pieces, The cut, catalogue line). */

body { font-size: 1.125rem; letter-spacing: 0; }

/* Square corners, as v1. */
.button, .card__size, .index__item, .ordering__select, .qty, .qty button, .size, .choice, .totals, .account-form,
.contact__card, .form-alert, .form-done, .tag, .account__tab, .received__overview, .bag-pill, .gallery__count,
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field input[type='password'],
.field select, .field textarea, .swatch, .swatch img, .review-line__image img, .top__icon, .sheet__close, .search-bar__close,
.result, .hero__pause { border-radius: var(--radius); }
.button { min-height: 52px; font-size: 1.0625rem; font-weight: 500; padding: 0 32px; }
.button svg { display: none; }
.button--light { background: #f4f4f1; }

/* ---------------------------------------------------------------- v1 product cards and grids */

.grid { gap: 48px 8px; padding: 0; }
.card { gap: 18px; }
.card__media { border-radius: 0; aspect-ratio: 3 / 4; }
.card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 0 var(--gutter); }
.card__name { grid-column: 1 / -1; grid-row: auto; font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.25rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.card__desc { grid-column: 1 / -1; grid-row: auto; font-size: 1rem; color: var(--muted); }
.card__desc:empty { display: none; }
.card__price { grid-column: 1 / -1; grid-row: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.0625rem; white-space: normal; }
.card__price .price { flex-direction: row; align-items: baseline; gap: 0 8px; }
.card__colour { display: inline; font-weight: 400; color: var(--muted); font-size: 1rem; }
.card__size {
  grid-column: 1 / -1; grid-row: auto; justify-self: start; opacity: 1 !important;
  min-height: 44px; padding: 0 16px; margin-top: 10px; border: 1px solid var(--line-strong); background: transparent; font-size: 1rem;
}
.card__size:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.card__media .tag { top: 12px; left: 12px; }
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pieces { gap: 48px 8px; }
.selected, .related { padding-inline: 0; }
.selected .section-head, .related .section-head { padding-inline: var(--gutter); }
.pieces__all { margin-inline: var(--gutter); }

/* ---------------------------------------------------------------- homepage hero, v1's type */

.hero__kicker { font-size: 1.0625rem; color: rgb(255 255 255 / 0.78); }
.hero__title { font-weight: 300; letter-spacing: -0.045em; }
@media (min-width: 900px) {
  .hero__title { font-size: clamp(3.5rem, 5.4vw, 5.75rem); line-height: 0.98; }
  .hero__text { gap: 24px; }
}
.hero__action { min-width: 240px; }

/* ---------------------------------------------------------------- category index (v1) */

.categories { border-top: 1px solid var(--line); }
.categories__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  min-height: 120px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line);
}
.categories__name {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: clamp(2.5rem, 6.4vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: -0.05em;
  transition: transform 0.4s var(--ease);
}
.categories__count { font-size: 1rem; letter-spacing: 0; color: var(--muted); padding-top: 0.3em; font-variant-numeric: tabular-nums; }
.categories__thumbs { display: flex; gap: 6px; }
.categories__thumbs img, .categories__more { width: auto; height: clamp(72px, 8vw, 116px); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; background: var(--studio-2); opacity: 0.9; transition: opacity 0.3s var(--ease); }
.categories__more { display: grid; place-items: center; border: 1px solid var(--line-strong); background: none; font-size: 1.125rem; color: var(--muted); }
.categories__row:hover .categories__thumbs > *, .categories__row:focus-visible .categories__thumbs > * { opacity: 1; }
.categories__row:hover .categories__name, .categories__row:focus-visible .categories__name { transform: translateX(12px); }
@media (max-width: 699px) {
  .categories__row { min-height: 88px; }
  .categories__thumbs img:nth-child(n + 2) { display: none; }
}

/* ---------------------------------------------------------------- Selected pieces (v1) */

.feature { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.feature__bar { display: flex; justify-content: flex-end; padding: 0 var(--gutter) 28px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: transparent; transition: text-decoration-color 0.2s var(--ease); }
.text-link:hover { text-decoration-color: currentColor; }
.grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .grid--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- The cut (v1) */

.cutv { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cutv__figure { background: var(--studio-2); }
.cutv__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; aspect-ratio: 3 / 4; }
.cutv__panel { display: grid; gap: 32px; align-content: space-between; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.cutv__observation { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.75rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.cutv__details { border-top: 1px solid var(--line-strong); }
.cutv__details li { display: flex; align-items: center; gap: 18px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink-2); }
.cutv__details li::before { content: ''; width: 16px; height: 1px; background: var(--muted); }
.cutv__buy { display: grid; gap: 18px; justify-items: start; }
.cutv__product { display: grid; gap: 6px; }
.cutv__name { font-size: var(--t-lg); font-weight: 500; letter-spacing: -0.015em; }
.cutv__name:hover { text-decoration: underline; text-underline-offset: 5px; }
.cutv__meta { display: flex; align-items: baseline; gap: 14px; color: var(--muted); }
.cutv__meta span + span::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--line-strong); vertical-align: middle; margin-inline-end: 14px; }
.cutv__price { color: var(--ink); font-weight: 600; }
.cutv__action { min-width: 200px; }
@media (min-width: 900px) {
  .cutv { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); min-height: min(88svh, 860px); }
  .cutv__figure img { aspect-ratio: auto; }
  .cutv__panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr); grid-template-rows: auto 1fr auto;
    grid-template-areas: "obs details" ". details" "buy details"; column-gap: clamp(32px, 5vw, 96px);
    padding: clamp(48px, 5vw, 80px) clamp(32px, 5vw, 80px);
  }
  .cutv__observation { grid-area: obs; }
  .cutv__details { grid-area: details; align-self: center; }
  .cutv__buy { grid-area: buy; }
}

/* ---------------------------------------------------------------- catalogue (v1): a filter line over the grid */

.home-cat { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 128px); }
.home-cat__bar { padding: 0 var(--gutter); margin-bottom: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.home-cat__bar::-webkit-scrollbar { display: none; }
.home-cat__index { display: flex; align-items: baseline; gap: 0 18px; width: max-content; padding-bottom: 20px; }
.home-cat__index li { display: flex; align-items: baseline; gap: 18px; }
.home-cat__index li + li::before { content: '/'; color: var(--line-strong); font-size: 1.125rem; }
.home-cat__tab {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px;
  font-size: clamp(1.0625rem, 0.6vw + 0.9rem, 1.375rem); color: var(--muted); transition: color 0.2s var(--ease);
}
.home-cat__tab:hover { color: var(--ink); }
.home-cat__tab[aria-pressed='true'] { color: var(--ink); font-weight: 500; }
.home-cat__count { font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.home-cat__more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--gutter); }
.home-cat__all { min-width: 280px; gap: 10px; }
.home-cat__all svg { display: block; }
.home-cat__all-count { font-size: 0.875rem; color: var(--muted); }
.home-cat__all:hover .home-cat__all-count { color: var(--on-ink-muted); }

/* ---------------------------------------------------------------- inner pages: v1's type weights */

.page-head__title, .shop-head__title, .pdp__title, .received__title, .notfound__title, .about__title { font-weight: 400; letter-spacing: -0.045em; }
.shop-head__title, .page-head__title { font-size: clamp(2.5rem, 4.4vw + 1rem, 5rem); }

/* ---------------------------------------------------------------- footer: v2's, exactly */

.foot { padding: 40px var(--gutter) 28px; border-top: 1px solid var(--line); display: grid; gap: 32px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.foot__logo { width: 112px; height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--t-sm); transition: opacity 0.2s var(--ease); }
.foot__links a:hover { opacity: 0.55; }
.foot__legal { font-size: var(--t-xs); color: var(--muted); }

/* Space before the footer: the related pieces close the product page, so they carry the page's bottom space. */
.related { padding-bottom: clamp(56px, 7vw, 112px); }

/* ================================================================ v4: page frame and the extra pages */

/* The footer sits at the bottom of the window on short pages: the page is a column at least a screen tall and
   the main content takes the free space. */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.foot { flex: none; }

/* ---------------------------------------------------------------- page heads for help, legal and contact */

.doc-head { display: grid; gap: 14px; padding: clamp(16px, 2vw, 28px) var(--gutter) clamp(32px, 4vw, 56px); max-width: 1180px; }
.doc-head .crumbs { margin-bottom: clamp(16px, 3vw, 40px); }
.doc-head__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.doc-head__kicker::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.doc-head__title { font-size: clamp(2.75rem, 5vw + 1rem, 6rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.05em; }
.doc-head__lede { max-width: 46ch; font-size: clamp(1.125rem, 0.6vw + 1rem, 1.5rem); line-height: 1.4; color: var(--ink-2); font-weight: 300; }

/* Facts: three answers at a glance, between hairlines. */
.facts { display: grid; margin: 0 var(--gutter) clamp(40px, 5vw, 72px); border-block: 1px solid var(--ink); }
.facts__item { display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 32px) 0; }
.facts__item + .facts__item { border-top: 1px solid var(--line); }
.facts__label { font-size: 0.9375rem; color: var(--muted); }
.facts__value { font-size: clamp(1.375rem, 1.2vw + 1rem, 2rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__item { padding-inline: 0 24px; }
  .facts__item + .facts__item { border-top: 0; border-left: 1px solid var(--line); padding-inline: 24px; }
}

/* Help and legal pages: a side column (help links, then the page's contents) beside the text. */
.doc { padding-bottom: clamp(56px, 7vw, 112px); }
.doc__layout { display: grid; gap: 40px; padding: 0 var(--gutter); }
.doc__side { display: grid; gap: 32px; align-content: start; }
.helpnav__label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.helpnav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.helpnav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1.0625rem; color: var(--muted); transition: color 0.2s var(--ease); }
.helpnav a:hover { color: var(--ink); }
.helpnav a[aria-current='page'] { color: var(--ink); font-weight: 500; }
.doc__side .toc { display: none; }
.prose { max-width: 70ch; font-size: 1.1875rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.375rem, 0.8vw + 1.1rem, 1.75rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.2; padding-top: 1.4em; margin-top: 1.4em; border-top: 1px solid var(--line); }
.prose h2:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
@media (min-width: 1000px) {
  .doc__layout { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(48px, 7vw, 140px); }
  .doc__side { position: sticky; top: calc(var(--bar-h) + 32px); }
  .helpnav ul { display: grid; gap: 0; }
  .helpnav a { min-height: 38px; border-left: 1px solid var(--line); padding-left: 16px; }
  .helpnav a[aria-current='page'] { border-left-color: var(--ink); }
  .doc__side .toc { display: grid; gap: 0; position: static; }
  .toc ol { display: grid; counter-reset: toc; }
  .toc li { counter-increment: toc; }
  .toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; font-size: 1rem; color: var(--muted); }
  .toc a::before { content: counter(toc, upper-roman); font-size: 0.875rem; padding-top: 2px; }
  .toc a:hover { color: var(--ink); }
}

/* The band under help pages: one question, the email, and the contact page. */
.help-band {
  display: grid; gap: 20px; align-items: center; justify-items: start;
  margin: 0 var(--gutter) clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 56px);
  background: var(--soft);
}
.help-band__title { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); font-weight: 400; letter-spacing: -0.035em; }
.help-band__text p { color: var(--muted); margin-top: 6px; }
.help-band__mail { font-size: clamp(1.125rem, 0.8vw + 1rem, 1.5rem); font-weight: 300; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line-strong); word-break: break-word; }
.help-band__mail:hover { text-decoration-color: var(--ink); }
@media (min-width: 900px) { .help-band { grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px; } }

/* ---------------------------------------------------------------- my account: sign in and create account */

.account-page { padding-bottom: 0; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr); }
.auth__image { position: relative; overflow: hidden; background: var(--studio-2); min-height: 280px; max-height: 46svh; }
.auth__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.auth__caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20px;
  display: flex; justify-content: space-between; gap: 16px; color: #fff; font-size: 1rem; text-shadow: 0 1px 14px rgb(0 0 0 / 0.45);
}
.auth__panel { display: grid; gap: 20px; align-content: start; padding: 20px var(--gutter) clamp(56px, 7vw, 96px); width: 100%; max-width: 560px; }
.auth__title { font-size: clamp(2.5rem, 3vw + 1.25rem, 4.25rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.05em; margin-top: 12px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth__tab {
  min-height: 52px; font-size: 1.125rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.auth__tab:hover { color: var(--ink); }
.auth__tab[aria-selected='true'] { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.auth__form { display: grid; gap: 18px; }
.auth__form + .auth__form { padding-top: 32px; border-top: 1px solid var(--line); }
.auth__tabs:not([hidden]) ~ .auth__form + .auth__form { padding-top: 0; border-top: 0; }
.auth__heading { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.1; }
.auth__lede { color: var(--muted); margin-top: -8px; }
.auth__form .field { grid-column: 1 / -1; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.auth__link { font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.auth__link:hover { text-decoration-color: var(--ink); }
.auth__switch { font-size: 1.0625rem; color: var(--muted); text-align: center; }
.auth__switch .auth__link { font-size: 1.0625rem; color: var(--ink); }
.auth__perks { display: grid; border-top: 1px solid var(--line); }
.auth__perks li { display: flex; align-items: center; gap: 14px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.auth__perks li::before { content: ''; width: 16px; height: 1px; background: var(--ink); }
.auth__legal { font-size: 0.9375rem; color: var(--muted); }
.auth__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--bar-h)); }
  .auth__image { max-height: none; height: auto; }
  .auth__image img { position: absolute; inset: 0; }
  .auth__caption { bottom: 28px; font-size: 1.0625rem; }
  .auth__panel { align-self: center; justify-self: center; padding: 40px clamp(32px, 5vw, 80px); max-width: 600px; }
}

/* Signed in: the dashboard. */
.account-wrap { padding-bottom: clamp(56px, 7vw, 112px); }
.account__heading { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); font-weight: 400; letter-spacing: -0.035em; }
.account__hello { font-size: clamp(1.5rem, 1.2vw + 1rem, 2.25rem); font-weight: 300; letter-spacing: -0.03em; }
.account__text { color: var(--muted); }
.account__cards { display: grid; gap: 8px; width: 100%; margin-top: 12px; }
.account__card {
  display: grid; gap: 6px; padding: 24px; text-align: start; border: 1px solid var(--line); background: var(--white);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.account__card:hover { border-color: var(--ink); }
.account__card-title { font-size: 1.125rem; font-weight: 500; }
.account__card-text { font-size: 1rem; color: var(--muted); }
@media (min-width: 700px) { .account__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- about */

.about__head { display: grid; gap: 12px; padding: clamp(16px, 2vw, 28px) var(--gutter) clamp(40px, 5vw, 72px); }
.about__head .crumbs { margin-bottom: clamp(16px, 3vw, 40px); }
.about__head-grid { display: grid; gap: 24px; align-items: end; }
.about__title { margin-top: 14px; font-size: clamp(3rem, 7vw, 8rem); line-height: 0.9; max-width: 11ch; }
.about__headlede { max-width: 36ch; font-size: clamp(1.125rem, 0.6vw + 1rem, 1.5rem); line-height: 1.4; font-weight: 300; color: var(--ink-2); }
@media (min-width: 1000px) { .about__head-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); } }
.about__wide { margin: 0; border-radius: 0; }
.about__wide img { aspect-ratio: 21 / 9; object-position: 50% 40%; }
@media (max-width: 699px) { .about__wide img { aspect-ratio: 4 / 3; } }
.about__intro { display: block; padding: clamp(64px, 9vw, 160px) var(--gutter); }
.about__statement { max-width: 28ch; font-size: clamp(1.75rem, 2.6vw + 1rem, 3.75rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.founder { background: var(--soft); padding: clamp(48px, 7vw, 120px) var(--gutter); margin-bottom: var(--gap); }
.founder__image { border-radius: 0; max-width: 460px; }
.founder__name { font-size: clamp(2rem, 2.4vw + 1rem, 3.5rem); font-weight: 400; letter-spacing: -0.045em; margin: 6px 0 12px; }
.founder__text { gap: 18px; font-size: 1.1875rem; line-height: 1.7; }
.founder__first { font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem); line-height: 1.5; color: var(--ink); }
.about__pair { padding: 0; gap: var(--gap); }
.about__pair figure { border-radius: 0; }
.feature__bar--split { justify-content: space-between; align-items: center; }
.feature__title { font-size: clamp(1.375rem, 0.8vw + 1.1rem, 1.75rem); font-weight: 400; letter-spacing: -0.025em; }
.about .feature { padding-top: clamp(64px, 8vw, 128px); }

/* ---------------------------------------------------------------- contact */

.contact { padding-bottom: clamp(56px, 7vw, 112px); }
.contact__grid { display: grid; gap: 40px; padding: 0 var(--gutter); }
.contact__side { display: grid; gap: 32px; align-content: start; }
.contact__mail { display: grid; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.contact__label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__big { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; word-break: break-word; }
.contact__mail:hover .contact__big { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact__list { display: grid; }
.contact__list > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-size: 1.0625rem; font-weight: 500; }
.contact__list dd { font-size: 1.0625rem; color: var(--muted); line-height: 1.6; }
.contact__list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__form { display: grid; gap: 22px; align-content: start; justify-items: start; padding: clamp(24px, 4vw, 56px); background: var(--soft); max-width: none; }
.contact__form-title { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); font-weight: 400; letter-spacing: -0.035em; }
.contact__form .fields { width: 100%; }
.contact__form .field input, .contact__form .field select, .contact__form .field textarea { background: var(--white); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 140px); } }

/* ---------------------------------------------------------------- 404 */

.notfound { display: grid; gap: 0; padding: 0; color: var(--ink); justify-items: stretch; }
.notfound__text { display: grid; gap: 18px; justify-items: center; text-align: center; padding: clamp(56px, 9vw, 140px) var(--gutter) clamp(48px, 6vw, 96px); }
.notfound__code { font-size: clamp(5rem, 14vw, 13rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.06em; color: var(--line-strong); }
.notfound__title { font-size: clamp(1.75rem, 2.2vw + 1rem, 3rem); max-width: 20ch; line-height: 1.05; }
.notfound__lede { color: var(--muted); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.feature--tight { padding-top: 0; border-top: 1px solid var(--line); padding-block-start: clamp(32px, 4vw, 56px); }

/* The cut: the photograph opens the product page, and "View details" sits beside Choose size. */
.cutv__figure { display: block; overflow: hidden; }
.cutv__figure img { transition: transform 0.9s var(--ease); }
.cutv__figure:hover img { transform: scale(1.02); }
.cutv__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cutv__details-link { gap: 10px; }
.cutv__details-link svg { display: block; }
.cutv__details-link:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* Category index: a clear gap between "From" and the price. */
.cats__price { margin-inline-start: 0.35em; }

/* ---------------------------------------------------------------- my account: dashboard, orders, order, address, details */

.account-wrap { padding-bottom: clamp(56px, 7vw, 112px); }
.account-head { gap: 10px; }
.account-head__who { font-size: 1.0625rem; color: var(--muted); }
.account-head__who span { color: var(--ink); }
.account { display: grid; gap: 28px; padding: 0 var(--gutter); }
.account__nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.account__tab {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-size: 1.0625rem; color: var(--muted); border: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.account__tab:hover { color: var(--ink); border-color: var(--ink); }
.account__tab[aria-current='page'] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.account__tab--out { color: var(--muted); }
@media (min-width: 900px) {
  .account { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
  .account__nav { position: sticky; top: calc(var(--bar-h) + 24px); }
  .account__nav ul { display: grid; gap: 0; border-top: 1px solid var(--line); }
  .account__tab { display: flex; width: 100%; min-height: 52px; padding: 0 0 0 16px; border: 0; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; background: none; }
  .account__tab:hover { border-left-color: var(--line-strong); }
  .account__tab[aria-current='page'] { background: none; color: var(--ink); font-weight: 500; border-left-color: var(--ink); }
}
.account__content { display: grid; gap: 24px; max-width: 920px; }
.account__panel { display: grid; gap: 18px; justify-items: stretch; }
.account__label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.account__heading--small { font-size: 1.25rem; padding: 0; margin-bottom: 4px; }

/* Latest order, on the dashboard. */
.order-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 20px;
  padding: 18px 20px; border: 1px solid var(--line); transition: border-color 0.2s var(--ease);
}
.order-card:hover { border-color: var(--ink); }
.order-card__thumbs { display: flex; }
.order-card__thumbs img { width: 44px; height: 58px; object-fit: cover; object-position: 50% 15%; background: var(--studio-2); border: 2px solid var(--white); margin-inline-start: -10px; }
.order-card__thumbs img:first-child { margin-inline-start: 0; }
.order-card__text { display: grid; gap: 2px; }
.order-card__num { font-weight: 500; }
.order-card__meta { font-size: 1rem; color: var(--muted); }
.order-card__total { font-weight: 600; }
.status-pill, .order-card__status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; background: #e9f3ed; color: var(--ok); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; }
@media (max-width: 599px) {
  .order-card { grid-template-columns: auto minmax(0, 1fr); }
  .order-card__status, .order-card__total { grid-column: 2; justify-self: start; }
}

/* Orders: a table on desktop, stacked rows on phones. */
.orders-table__head, .orders-table__row { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1.4fr auto; gap: 16px; align-items: center; }
.orders-table__head { padding: 0 0 12px; border-bottom: 1px solid var(--ink); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.orders-table__row { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.orders-table__num a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.orders-table__num a:hover { text-decoration-color: var(--ink); }
.orders-table__total { font-weight: 600; }
.orders-table__pieces { font-weight: 400; color: var(--muted); font-size: 1rem; }
.orders-table__action .button { min-height: 40px; padding: 0 18px; font-size: 1rem; }
.orders-table__cap { display: none; }
@media (max-width: 699px) {
  .orders-table__head { display: none; }
  .orders-table__row { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .orders-table__cap { display: block; font-size: 0.875rem; color: var(--muted); }
  .orders-table__action { grid-column: 1 / -1; }
}

.account-empty { display: grid; gap: 10px; justify-items: start; padding: clamp(28px, 4vw, 48px); background: var(--soft); color: var(--muted); }
.account-empty__title { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); font-weight: 400; letter-spacing: -0.03em; color: var(--ink); }
.account-empty .button { margin-top: 8px; }

/* A single order. */
.order-view { display: grid; gap: 32px; }
.order-view__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.order-view__line { font-size: 1.1875rem; }
.order-view__status { color: var(--ok); }
.order-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.order-steps li { counter-increment: step; display: grid; gap: 10px; padding-top: 14px; border-top: 2px solid var(--line); font-size: 0.9375rem; color: var(--muted); padding-inline-end: 12px; }
.order-steps li::before { content: counter(step, decimal-leading-zero); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.order-steps .is-done { border-top-color: var(--ink); color: var(--ink); font-weight: 500; }
.order-view__grid { display: grid; gap: 32px; }
.order-items { display: grid; border-top: 1px solid var(--line); margin-top: 14px; }
.order-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-item__image img { width: 72px; height: 96px; object-fit: cover; object-position: 50% 15%; background: var(--studio-2); }
.order-item__text { display: grid; gap: 2px; }
.order-item__name { font-weight: 500; }
.order-item__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.order-item__meta { font-size: 1rem; color: var(--muted); }
.order-item__total { font-weight: 600; }
.order-view__totals { margin-top: 16px; font-size: 1.0625rem; }
.order-view__side { display: grid; gap: 24px; align-content: start; padding: 24px; background: var(--soft); }
.order-view__side p, .order-view__side address { font-size: 1.0625rem; }
@media (min-width: 1000px) { .order-view__grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 48px; } }

/* Addresses and account details. */
.address-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px; border: 1px solid var(--line); }
.account-form-panel { display: grid; gap: 18px; }
.account-form-panel .fields { margin-top: 4px; }
.account-form-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.account-password { margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); gap: 12px; }
.account__content section { justify-items: stretch; }
.account__content .account-empty, .account__content .account__panel > .button { justify-items: start; }
.account-head__who { margin-top: 6px; }

/* Small badges: the sale tag and the colour name over a swatch, at the site's smallest size. */
.tag, .swatch__name { font-size: 0.875rem; }
.tag { min-height: 26px; padding: 0 9px; }

/* With the larger text, the shop's category chips sit a little closer so the whole row fits at desktop widths. */
.index { gap: 2px; }
.index__item { padding: 0 11px; gap: 5px; }
.filterbar__end { gap: 12px; }

/* Phones play the portrait cut of the film, already framed on the model, so it sits centred. */
@media (max-width: 899px) { .hero__video { object-position: 50% 30%; } }

/* ================================================================ client feedback, 19 November 2026
   Product names in bold capitals, as on ysl.com: name and colour in capitals, name bold. The menu's links are
   smaller. */

.card__name, .cutv__name, .result__name, .bag-line__name, .cart-line__name, .review-line__name, .pdp__title, .product__name {
  text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em;
}
.card__name { font-size: 0.875rem; line-height: 1.35; }
.card__colour { text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.02em; }
.cutv__name { font-size: 1rem; }
.pdp__title, .product__name { font-size: clamp(1.125rem, 0.5vw + 1rem, 1.5rem); line-height: 1.2; }

.menu__item { font-size: 1.125rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.menu--pages .menu__item { font-size: 1rem; letter-spacing: 0; }
@media (min-width: 900px) { .menu__item { font-size: 1.375rem; } }
.card__desc { font-size: 0.875rem; line-height: 1.4; }
.card__price { font-size: 0.9375rem; }

/* Phones: name, colour under it (as on ysl.com), then price and Choose size pinned to the bottom of the card so
   both cards in a row line up. The description shows on the product page. */
@media (max-width: 699px) {
  .card { display: flex; flex-direction: column; gap: 14px; }
  .card__info { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 0 14px; }
  .card__name { font-size: 0.8125rem; line-height: 1.3; }
  .card__desc { display: none; }
  .card__price { display: contents; }
  .card__colour { order: 2; font-size: 0.75rem; letter-spacing: 0.04em; }
  .card__price .price { order: 3; margin-top: auto; padding-top: 10px; font-size: 0.875rem; }
  .card__size { order: 4; align-self: stretch; margin-top: 12px; min-height: 44px; font-size: 0.875rem; padding: 0 12px; }
}

/* ================================================================ client feedback, 24 November 2026
   The menu's links in capitals, in the product names' style (bold capitals). The shop and category pages open
   on the breadcrumb and the category line: no title, no intro line and no piece counts anywhere. A size guide
   (a side panel from the size pickers, and its own page). */

.menu__item { text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; }

.shop-head { padding-bottom: clamp(12px, 1.5vw, 20px); }

.sizes { position: relative; }
.sizes__guide {
  position: absolute; top: 0; right: 0; font-size: var(--t-xs); color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  padding-block: 12px; margin-block: -12px; /* a 44px tap area without moving the text */
}
.sizes__guide:hover { color: var(--ink); }

.sheet--guide { position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); height: 100%; }
.sheet--guide:not([open]) { transform: translateX(100%); }
@starting-style { .sheet--guide[open] { transform: translateX(100%); } }
.sheet--guide .sheet__title { text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; }
.sheet--guide .sheet__body { padding-top: 16px; }

.size-table__scroll { overflow-x: auto; }
.size-table { width: 100%; min-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th { text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; font-size: 0.875rem; }
.size-table th[scope='row'] { text-align: start; padding-left: 0; white-space: nowrap; }
.size-table thead th { border-bottom-color: var(--ink); }
.size-table thead th:first-child { text-align: start; padding-left: 0; }
.size-table td { font-size: 0.9375rem; }
.size-guide { min-width: 0; }
@media (max-width: 559px) {
  .size-table { min-width: 0; }
  .size-table th, .size-table td { padding: 14px 4px; }
  .size-table th { font-size: 0.75rem; }
  .size-table td { font-size: 0.875rem; }
  .size-table th[scope='row'] { white-space: normal; padding-right: 8px; }
}

/* ================================================================ one type system, 24 November 2026
   Every heading, every category link and every button uses the product names' style: bold capitals with a
   hair of tracking. Three heading sizes only (page, section, small). Small grey labels keep their wide
   tracking. Body copy, prices and form text stay in sentence case. */

:root {
  --caps-track: 0.01em;
  --h-page: clamp(1.75rem, 1.8vw + 1.1rem, 2.75rem);   /* page titles */
  --h-section: clamp(1.125rem, 0.5vw + 1rem, 1.375rem); /* section titles */
  --h-small: 0.9375rem;                                  /* panel titles, accordions, small headings */
}

/* page titles */
.hero__title, .doc-head__title, .page-head__title, .shop-head__title, .about__title, .auth__title,
.received__title, .notfound__title, .cart-empty__title {
  text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track);
  font-size: var(--h-page); line-height: 1.05; max-width: 22ch; text-wrap: balance;
}
.hero__title { font-size: clamp(2rem, 2.6vw + 1.2rem, 3.5rem); line-height: 1; }
@media (min-width: 900px) { .hero__title { font-size: clamp(2.25rem, 3vw, 3.75rem); } }

/* section titles */
.section-head__title, .section-head__title--large, .help-band__title, .feature__title, .founder__name,
.account__heading, .auth__heading, .account-form__title, .account-empty__title, .contact__form-title,
.story__title, .prose h2, .form-section__title {
  text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track);
  font-size: var(--h-section); line-height: 1.2;
}
.section-head__title--large { margin-top: 8px; }

/* small headings */
.sheet__title, .accordion__title, .totals__title, .account__heading--small, .sizes__legend {
  text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track); font-size: var(--h-small);
}
.sizes__guide { text-transform: none; }

/* categories, wherever they appear */
.top__nav a, .home-cat__tab, .index__item, .helpnav a, .account__tab, .auth__tab {
  text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track);
}
.top__nav a { font-size: 0.8125rem; }
.home-cat__tab { font-size: 0.9375rem; font-weight: 700; color: var(--muted); }
.home-cat__tab[aria-pressed='true'] { color: var(--ink); font-weight: 700; }
.home-cat__index, .home-cat__index li { gap: 0 14px; }
.home-cat__index li + li::before { font-size: 0.9375rem; }
.index__item { font-size: 0.8125rem; padding: 0 14px; }
.helpnav a { font-size: 0.875rem; font-weight: 500; }
.helpnav a[aria-current='page'] { font-weight: 700; }

/* buttons: short commands in the same capitals */
.button, .card__size {
  text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; font-size: 0.875rem;
}
.card__size { font-size: 0.8125rem; }

/* the menu: two lists the same size, close together, with the photograph pushed to the far edge */
.menu { gap: 0; }
.menu__item, .menu--pages .menu__item { min-height: 40px; font-size: 1rem; line-height: 1.2; }
.menu-panel__label { margin-bottom: 8px; }
.menu-panel { gap: 32px; }
@media (min-width: 900px) {
  .menu-panel { grid-template-columns: max-content max-content minmax(0, 1fr); column-gap: clamp(72px, 9vw, 160px); padding-top: 20px; }
  .menu__item, .menu--pages .menu__item { font-size: 1.0625rem; }
  .menu-panel__image { justify-self: end; width: min(320px, 100%); }
  .menu-panel__caption span:first-child { text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track); font-size: 0.875rem; }
}

/* the Cut's line reads as a page title; small links and the footer follow the same capitals */
.cutv__observation { text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track); font-size: var(--h-page); line-height: 1.05; max-width: 18ch; }
.hero__kicker { text-transform: uppercase; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; }
.text-link, .link-arrow { text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; font-size: 0.8125rem; }
.foot__links a { text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track); font-size: 0.75rem; }
.facts__value { text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track); line-height: 1.15; }
.facts__value { font-size: var(--h-section); }
@media (max-width: 699px) {
  .home-cat__tab { font-size: 0.8125rem; }
  .home-cat__index { padding-bottom: 8px; }
}

/* breadcrumbs: the same capitals, small and quiet; the current page in the product names' weight */
.crumbs ol { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }
.crumbs [aria-current] { font-weight: 700; }

/* ================================================================ images: placeholder, then a fade
   Every photograph sits on a warm grey frame of its final size (width and height are in the markup, so nothing
   jumps). While it loads, a soft light sweeps across the frame; once loaded the photograph fades in. The head
   script marks each image .is-loaded (or errored, so the frame never shimmers forever). Without JavaScript,
   images show as normal. */

:is(.card__media, .cutv__figure, .gallery__item, .product__figure, .swatch, .founder__image,
    .about__wide, .about__pair-tall, .about__pair-wide, .bag-line__image, .cart-line__image,
    .result__image, .order-card__image, .hero__media) { background-color: var(--studio-2); }

.js :is(.card__media, .cutv__figure, .gallery__item, .product__figure, .founder__image,
        .about__wide, .about__pair-tall, .about__pair-wide):has(> img:not(.is-loaded, .card__img--alt))::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.45) 50%, transparent 80%) 0 0 / 250% 100% no-repeat;
  animation: img-shimmer 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
:is(.cutv__figure, .gallery__item, .product__figure, .founder__image,
    .about__wide, .about__pair-tall, .about__pair-wide) { position: relative; }
@keyframes img-shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

.js main img:not(.top__logo img, .foot__logo), .js dialog img { transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.js img:not(.is-loaded):not(.top__logo img, .foot__logo, [src$='.svg'], [fetchpriority='high']) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js :is(.card__media, .cutv__figure, .gallery__item, .product__figure, .founder__image,
          .about__wide, .about__pair-tall, .about__pair-wide)::after { animation: none; }
}

/* 404: the big number at 3:1 on white (the large-text minimum), still a quiet grey */
.notfound__code { color: #8f8f8b; }

/* product page labels: Colour reads like Size (bold capitals); the size guide link small capitals; the category
   line above the name in the same tracking as the breadcrumb */
.pdp__label { text-transform: uppercase; font-weight: 700; letter-spacing: var(--caps-track, 0.01em); }

.sizes__guide { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; font-weight: 600; }
.pdp__cat { letter-spacing: 0.04em; font-size: 0.75rem; }
.pdp__value { text-transform: none; font-weight: 400; letter-spacing: 0; margin-left: 0.5em; color: var(--muted); }
.pdp .sizes__guide { top: 0.25em; }

/* page to page: a short cross-fade instead of a white flash (Chrome, Edge, Safari 18+; others just load) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: var(--ease); }
}

/* size guide: the table runs edge to edge of the panel's text column; numbers centred under their size, the last
   column ending on the same line as the close cross above it */
.sheet--guide .sheet__close { margin-right: -13px; }
.size-table th:last-child, .size-table td:last-child { padding-right: 0; }
.size-table thead th:not(:first-child), .size-table td { width: 13%; }

/* The menu's picture and the checkout thumbnails carry their grey well on the <img> itself: their wrappers also
   hold a caption or a quantity badge, which must sit on the page's white, not on a grey bar. */
.menu-panel__caption { padding-top: 2px; }

/* spacing pass, 24 November: card text on phones on the page's 16px line (was 14px, so names sat 2px off the
   breadcrumb and headings above them); the 404 number clear of the line under it */
@media (max-width: 699px) { .card__info { padding: 0 var(--gutter); } }
.notfound__code { margin-bottom: 0.08em; }

/* Help and legal pages on phones and tablets: the help links as one swipeable tab row across the screen (like the
   homepage categories), between hairlines, the current page underlined. Hover colours only where there is a mouse,
   so a tapped link doesn't stay dark. */
.helpnav a:hover { color: var(--muted); }
.helpnav a[aria-current='page']:hover { color: var(--ink); }
@media (hover: hover) { .helpnav a:hover { color: var(--ink); } }
@media (max-width: 999px) {
  .doc__layout { grid-template-columns: minmax(0, 1fr); }
  .doc__side { gap: 0; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .helpnav__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .helpnav ul {
    flex-wrap: nowrap; gap: 0 24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    border-block: 1px solid var(--line); scroll-padding-inline: var(--gutter);
    mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  }
  .helpnav ul::-webkit-scrollbar { display: none; }
  .helpnav li { flex: none; }
  .helpnav a { min-height: 48px; white-space: nowrap; font-size: 0.8125rem; box-shadow: inset 0 -2px 0 transparent; transition: color 0.2s var(--ease), box-shadow 0.25s var(--ease); }
  .helpnav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--ink); }
  .helpnav li:last-child { padding-right: var(--gutter); }
}

/* Tablets and desktops: price and Choose size pinned to the foot of the card, so every button in a row lines up
   whatever the length of the name and description (phones already do this above). */
@media (min-width: 700px) {
  .card { display: flex; flex-direction: column; }
  .card__info { display: flex; flex-direction: column; align-items: stretch; flex: 1; gap: 4px; }
  .card__price { margin-top: auto; padding-top: 6px; }
  .card__size { align-self: flex-start; }
}
