.catalogue { padding-top: clamp(26px, 3.9vw, 64px); }
.catalogue-mast {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding-bottom: clamp(16px, 2.3vw, 34px);
  color: var(--ink);
  overflow: clip;
}
.catalogue-mast h1 {
  font-size: clamp(52px, 10.7vw, 170px);
  line-height: .97;
  font-weight: 800;
  letter-spacing: -.034em;
  margin-left: -.053em;
}
.catalogue-mast p {
  font-size: clamp(10px, 1.1vw, 16px);
  font-weight: 625;
  line-height: 1.5;
  text-align: right;
  margin-bottom: .35em;
}

.category-matrix {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-card);
  background: #f1f0eb;
  border: 1px solid #e5e4de;
}
.category-matrix a {
  display: grid;
  place-items: center;
  min-height: clamp(49px, 4.6vw, 66px);
  padding: 8px 4px;
  border-radius: var(--radius-control);
  text-align: center;
  background: #f8f7f3;
  color: var(--ink);
  font-size: clamp(11px, 1.1vw, 16px);
  font-weight: 680;
  line-height: 1.2;
  transition: background 260ms ease, color 240ms ease;
}
.category-matrix a:hover { background: #dcdad1; }
.category-matrix a[aria-current="page"] { background: var(--ink); color: white; }
.category-matrix a:focus-visible { z-index: 1; outline-offset: -3px; }
.category-matrix a[aria-current="page"]:focus-visible { outline-color: white; }

.collection { margin-top: clamp(30px, 3.9vw, 64px); }
.collection-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}
.collection-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; color: var(--ink); }
.collection-label h2 { font-size: clamp(25px, 3.3vw, 52px); font-weight: 730; letter-spacing: -.032em; line-height: 1.05; }
.collection-label p { font-size: 12px; font-weight: 610; color: var(--muted); }
.collection-tools { display: grid; grid-template-columns: minmax(135px, 205px) minmax(120px, 166px); gap: 6px; }
.search-control, .sort-control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}
.search-control .icon { width: 16px; height: 16px; margin-left: 11px; pointer-events: none; }
.search-control input, .sort-control select {
  min-width: 0;
  width: 100%;
  min-height: 43px;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}
.search-control input::placeholder { color: #52514a; opacity: 1; }
.sort-control select { cursor: pointer; }
.search-control:focus-within, .sort-control:focus-within { border-color: var(--ink); }
.collection-message {
  padding: 35px 18px;
  background: var(--pale);
  border-radius: var(--radius-card);
  color: var(--ink);
  font-weight: 550;
  line-height: 1.5;
}
.collection-message a { text-decoration: underline; text-underline-offset: 4px; }

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(23px, 3.8vw, 55px) 9px;
}
.product-card {
  position: relative;
  min-width: 0;
  --peek: 0;
  --crop-scale: 1.72;
  --crop-origin: 50% 31%;
}
.product-card[data-category="pants"] { --crop-scale: 1.56; --crop-origin: 50% 27%; }
.product-card[data-category="jackets"],
.product-card[data-category="blouses"] { --crop-scale: 1.56; --crop-origin: 50% 43%; }
.product-card--preview-active,
.product-card > a:focus-visible { --peek: 1; }
@media (hover: hover) {
  .product-card:not(.product-card--preview-active) > a:hover { --peek: 1; }
}
.product-card--lead { grid-column: span 2; }
.product-card a { display: block; }
.product-photo-pair {
  aspect-ratio: .78;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  background: #dcdad1;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.product-card--lead .product-photo-pair { aspect-ratio: 1.56; }
.product-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e5e4de;
}
.product-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 24%;
  transition: transform 620ms cubic-bezier(.19, .94, .31, 1), opacity 300ms ease;
}
.product-photo .product-photo-alt {
  opacity: 0;
  transform: scale(calc(1.025 - .025 * var(--peek)));
}
.product-photo .product-photo-alt.is-ready { opacity: var(--peek); }
.product-photo[data-crop] img { transform-origin: var(--crop-origin); }
.product-photo[data-crop="preview"] img { transform: scale(calc(1 + (var(--crop-scale) - 1) * var(--peek))); }
.product-photo[data-crop="cover"] img { transform: scale(calc(var(--crop-scale) - (var(--crop-scale) - 1) * var(--peek))); }

.card-photo-toggle {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 7px;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cccac1;
  border-radius: var(--radius-control);
  background: #f8f7f3ed;
  color: var(--ink);
  cursor: pointer;
}
.card-photo-toggle .icon { width: 19px; height: 19px; }
.card-photo-toggle[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
@media (hover: none), (any-pointer: coarse), (max-width: 800px) {
  .card-photo-toggle { display: grid; }
}
.product-photo-count {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 7px 8px;
  max-width: calc(100% - 18px);
  background: #f8f7f3f1;
  border-radius: 6px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 660;
  line-height: 1;
}
.photo-detail-label { transition: opacity 280ms ease; }
.product-photo[data-crop="preview"] .photo-detail-label { opacity: var(--peek); }
.product-photo[data-crop="preview"] .gallery-photo-count { opacity: calc(1 - var(--peek)); transition: opacity 280ms ease; }
.product-photo[data-crop="cover"] .photo-detail-label { opacity: calc(1 - var(--peek)); }
.product-card-copy {
  padding: 10px 2px 0;
  color: var(--ink);
}
.product-card-copy h3 { font-size: clamp(12px, 1.25vw, 18px); font-weight: 690; line-height: 1.27; letter-spacing: -.023em; }
.product-card--lead .product-card-copy h3 { font-size: clamp(16px, 1.5vw, 24px); }
.product-card-copy p { margin-top: 5px; font-size: clamp(11px, 1.08vw, 14px); line-height: 1.45; font-weight: 565; }
.product-card a:hover h3 { color: #262623; }
.will-reveal { opacity: .18; transform: translateY(14px); }
.will-reveal:focus-within { opacity: 1; transform: none; }
.is-fresh {
  animation: card-in 720ms cubic-bezier(.21, .98, .36, 1) both;
  animation-delay: var(--card-delay, 0ms);
}
@keyframes card-in {
  from { opacity: .18; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.load-more { margin-top: clamp(27px, 4.4vw, 60px); }
.load-more:hover .icon { transform: translateY(3px); }

.product-page { padding-top: clamp(22px, 4vw, 57px); }
.product-breadcrumb { margin-bottom: clamp(18px, 2.1vw, 30px); color: var(--ink); }
.product-breadcrumb .text-link:hover .icon { transform: translateX(-3px); }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "viewer title" "viewer details";
  column-gap: clamp(24px, 5.3vw, 96px);
  row-gap: 24px;
  align-items: start;
}
.product-heading { grid-area: title; padding-top: 8px; color: var(--ink); }
.product-category { font-size: 11px; line-height: 1.45; font-weight: 720; text-transform: uppercase; letter-spacing: .075em; margin-bottom: 14px; }
.product-heading h1 {
  font-size: clamp(30px, 4.1vw, 69px);
  line-height: 1;
  font-weight: 755;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
.product-details { grid-area: details; min-width: 0; }
.product-price { color: var(--ink); font-weight: 680; font-size: clamp(23px, 2.4vw, 37px); letter-spacing: -.04em; }
.product-facts { margin: 22px 0 26px; border-top: 1px solid var(--border); }
.product-facts:empty { display: none; }
.product-facts .fact {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) 3fr;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  font-size: 13px;
  line-height: 1.55;
}
.product-facts dt { color: var(--muted); font-weight: 600; }
.product-facts dd { margin: 0; color: var(--ink); font-weight: 630; }
.product-note { margin-top: 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-price + .product-facts:empty + .button { margin-top: 24px; }

.gallery { grid-area: viewer; min-width: 0; }
.gallery-screen { position: relative; background: #f1f0eb; overflow: hidden; border-radius: var(--radius-card); }
.gallery-track {
  height: clamp(386px, 49vw, 720px);
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: -3px; }
.gallery-frame {
  margin: 0;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
  min-height: 0;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: contain; }
.gallery-control {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid #cccac1;
  border-radius: var(--radius-control);
  background: #f8f7f3ed;
  color: var(--ink);
  cursor: pointer;
  transition: background 190ms ease, scale 460ms cubic-bezier(.2, 1.35, .42, 1);
}
.gallery-control:hover { background: white; }
.gallery-control:active { scale: .91; }
.gallery-prev, .gallery-next { top: 50%; translate: 0 -50%; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-expand, .dialog-close { top: 12px; right: 12px; }
.gallery-count {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: var(--ink);
  background: #f8f7f3ee;
  border: 1px solid #cccac1;
  border-radius: 6px;
  padding: 8px 11px;
  font-weight: 675;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}
.gallery-thumbs { display: flex; gap: 5px; overflow-x: auto; padding: 5px 0; scrollbar-width: thin; }
.gallery-thumb {
  display: block;
  flex: 0 0 clamp(46px, 5vw, 72px);
  aspect-ratio: .82;
  background: #f1f0eb;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 2px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.gallery-thumb[aria-current="true"] { border-color: var(--ink); }
.gallery-thumb:focus-visible { outline-offset: -3px; }

.photo-dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: #f1f0eb;
  overflow: hidden;
  width: min(960px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
}
.photo-dialog::backdrop { background: #262623d9; backdrop-filter: blur(8px); }
.enlarged-view { position: relative; height: min(940px, calc(100dvh - 32px)); }
.enlarged-view > img { width: 100%; height: 100%; object-fit: contain; }
html:has(.photo-dialog[open]) { overflow: hidden; }

@media (max-width: 1000px) {
  .category-matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-matrix a { min-height: 55px; }
}
@media (max-width: 800px) {
  .catalogue-mast h1 { font-size: clamp(49px, 12vw, 86px); }
  .catalogue-mast { gap: 12px; }
  .category-matrix a { min-height: 50px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 6px; }
  .collection-bar { grid-template-columns: 1fr; gap: 13px; }
  .collection-tools { grid-template-columns: 1fr 1fr; gap: 5px; }
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "title" "viewer" "details";
    gap: 17px;
  }
  .product-heading { padding-top: 0; }
  .product-category { margin-bottom: 8px; }
  .gallery-track { height: clamp(322px, 111vw, 510px); }
  .gallery-control { width: 42px; height: 42px; }
  .gallery-control .icon { width: 17px; height: 17px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-expand, .dialog-close { top: 8px; right: 8px; }
  .gallery-count { bottom: 8px; left: 8px; }
}
@media (max-width: 430px) {
  .catalogue-mast p { font-size: 9px; }
  .category-matrix a { min-width: 0; padding: 8px 3px; font-size: clamp(9px, 2.65vw, 11.5px); }
  .product-card-copy { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-fresh, .will-reveal { animation: none; opacity: 1; transform: none; }
}
.gallery-thumbs { position: relative; }

.model-alternatives { margin-top:clamp(52px,7vw,105px); }
.model-alternatives h2 { font-size:clamp(28px,4vw,59px); }
#alternative-list { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(10px,2vw,30px); margin:22px 0 0; padding:0; }
#alternative-list img { width:100%; aspect-ratio:.85; object-fit:cover; object-position:center 20%; border-radius:var(--radius-card); }
#alternative-list h3 { font-size:clamp(12px,1.3vw,19px); line-height:1.4; margin:12px 0 6px; }
#alternative-list p { color:var(--ink); font-weight:650; font-size:14px; }
#alternative-list a:hover h3 { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:590px) {
  #alternative-list { grid-template-columns:repeat(3,minmax(145px,1fr)); overflow-x:auto; scroll-snap-type:x proximity; padding:4px 4px 14px; }
  #alternative-list li { scroll-snap-align:start; }
  .model-alternatives .section-head { align-items:center; }
}

/* Category portraits stay inside each link, including both rows on phones. */
.category-matrix a:has(img) {
  position:relative; overflow:hidden; isolation:isolate; min-height:86px;
  align-items:end; justify-items:start; padding:10px; text-align:left;
  color:white; background:#262623;
}
.category-matrix a img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 25%; transition:transform 440ms ease; }
.category-matrix a:has(img)::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#262623e8,transparent 83%); }
.category-matrix a[aria-current]:has(img)::before { background:linear-gradient(0deg,#262623,#26262354); }
.category-matrix a[aria-current]:has(img) { outline:2px solid var(--ink); outline-offset:-2px; }
.category-matrix a:hover img { transform:scale(1.045); }
@media(max-width:590px) { .category-matrix a:has(img) { min-height:64px; padding:7px 6px; font-size:11px; } }
