/* ==========================================================================
   Silvia Gómez · Complementos & Moda — v1
   Editorial retail language: warm paper, graphite ink, light serif display
   (Cormorant Garamond) over a quiet grotesque (Hanken Grotesk), hairlines,
   square corners, generous photography. Catalogue photos: AI studio stills
   and AI shots on a model (catalogue/images/) only.
   ========================================================================== */

/* ── Fonts (self-hosted, OFL) ─────────────────────────────────────────── */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("fonts/mrs-saint-delafield-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --paper:   #F7F5F1;
  --paper-2: #EEEAE3;
  --wall:    #DAD5D0;   /* matches the studio backdrop of the catalogue photos */
  --ink:     #1C1A18;
  --ink-2:   #55504A;
  --ink-3:   #736D64;   /* ≥ 4.5:1 on --paper */
  --line:    rgba(28, 26, 24, 0.12);
  --line-2:  rgba(28, 26, 24, 0.24);

  --dark:      #1E1C1A;
  --on-dark:   #F2EDE6;
  --on-dark-2: rgba(242, 237, 230, 0.68);
  --line-dark: rgba(242, 237, 230, 0.14);

  --brand: #4A342A;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", "Brush Script MT", cursive;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);

  --hdr-h:  72px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --max:    1680px;
}
@media (max-width: 900px) { :root { --hdr-h: 60px; } }

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  background: var(--paper);
}
html.is-loading, html.has-dialog { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; object-position: var(--focus, 50% 50%); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
input { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.icon { width: 18px; height: 18px; flex: none; display: block; }
.sr-only {
  position: absolute !important; 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: 2000;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-title {
  font: 300 clamp(40px, 5vw, 84px)/.98 var(--serif);
  letter-spacing: -.01em;
  margin-top: .3em;
}
.section-title em { font-weight: 300; }
.nowrap { white-space: nowrap; }
.lede { color: var(--ink-2); max-width: 40ch; margin-top: 22px; font-size: 15px; }

/* ── Buttons & links ──────────────────────────────────────────────────── */
.btn {
  --btn-fg: var(--ink); --btn-bg: var(--ink); --btn-hover-fg: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 50px; padding: 0 30px;
  border: 1px solid var(--btn-bg);
  color: var(--btn-fg);
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--btn-hover-fg); }
.btn:hover::before { transform: scaleY(1); }
.btn--solid { --btn-fg: var(--paper); --btn-hover-fg: var(--ink); background: var(--ink); }
.btn--solid::before { background: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .8em;
  padding: 6px 0;
  font: 500 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover .icon { transform: translateX(6px); }

/* ── Split text helpers ───────────────────────────────────────────────── */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
.w__i { display: inline-block; }
.js [data-split] .w__i { transform: translateY(108%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-split].is-in .w__i { transform: none; }

.js [data-reveal="up"] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"].is-in { opacity: 1; transform: none; }

.frame { position: relative; display: block; overflow: hidden; background: var(--wall); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.js [data-reveal="clip"] .frame { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"] .frame img { transform: scale(1.16); transition: transform 2.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"].is-in .frame { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in .frame img { transform: none; }

/* ── Loader ───────────────────────────────────────────────────────────── */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
  background: var(--paper);
  transition: transform 1.2s var(--ease-io);
  animation: loader-failsafe 0s linear 8s forwards;
}
.js .loader.is-done { transform: translateY(-100%); pointer-events: none; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__inner { text-align: center; }
.loader__word {
  font: 300 clamp(44px, 7.4vw, 112px)/1 var(--serif);
  letter-spacing: .02em;
  overflow: hidden;
  padding-bottom: .08em;
}
.loader__word .ch { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 40ms); }
.loader__bar { display: block; width: min(220px, 50vw); height: 1px; margin: 26px auto 18px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.loader__sub { font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); opacity: 0; animation: fade .8s var(--ease) .6s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ── Cursor label ─────────────────────────────────────────────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1400;
  width: 86px; height: 86px; margin: -43px 0 0 -43px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font: 500 10px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  pointer-events: none;
  scale: 0; opacity: 0;
  transition: scale .5s var(--ease), opacity .3s var(--ease);
  will-change: transform;
}
.cursor.is-on { scale: 1; opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── Header ───────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hdr-h);
  background: rgba(247, 245, 241, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform .6s var(--ease);
}
html.hdr-hidden .hdr { transform: translateY(-101%); }
.hdr__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
}
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.hdr__nav a, .hdr__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding-block: 8px;
  font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__menu { display: none; width: 40px; height: 40px; align-items: center; }
.hdr__burger { display: grid; gap: 6px; width: 22px; }
.hdr__burger i { display: block; height: 1px; background: currentColor; }
.hdr__burger i:last-child { width: 14px; }

.wordmark { display: grid; justify-items: center; gap: 5px; text-align: center; }
.wordmark__name {
  font: 500 23px/1 var(--serif);
  letter-spacing: .32em; margin-right: -.32em;
  text-transform: uppercase;
}
.wordmark__tag {
  font: 500 8.5px/1 var(--sans);
  letter-spacing: .38em; margin-right: -.38em;
  text-transform: uppercase; color: var(--ink-2);
}
.wordmark--sm .wordmark__name { font-size: 18px; }

.hdr__actions { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.hdr__fav .icon { width: 17px; height: 17px; }
.hdr__count {
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-grid; place-items: center;
  border-radius: 9px; background: var(--ink); color: var(--paper);
  font: 500 10px/1 var(--sans); letter-spacing: 0;
  transition: transform .5s var(--ease);
}
.hdr__count.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (max-width: 900px) {
  .hdr__nav, .hdr__ig, .hdr__fav-label { display: none; }
  .hdr__menu { display: inline-flex; }
  .wordmark__name { font-size: 18px; letter-spacing: .26em; margin-right: -.26em; }
  .wordmark__tag { font-size: 7.5px; }
}

main { padding-top: var(--hdr-h); }

/* ── Opener ───────────────────────────────────────────────────────────────
   The real shop full-screen under a dark veil (like marabiertomoda.com),
   then Silvia. The header floats over it transparent, with light text,
   until the page scrolls past (html.over-opener, set in app.js).
   ──────────────────────────────────────────────────────────────────────── */
.opener {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--hdr-h) * -1);
  height: 100svh; min-height: 560px; max-height: 1100px;
  background: #15120F; color: #F7F3EE;
  touch-action: pan-y;
}
.opener__slides { position: absolute; inset: 0; }
.opener__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s var(--ease), visibility 0s linear 1.6s; }
.opener__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.6s var(--ease), visibility 0s; }
.opener__slide picture, .opener__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.opener__slide img { object-fit: cover; object-position: 50% 45%; transform: scale(1.1); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.opener__slide.is-active img { transform: scale(1.02); }
/* Dark veil: darker at the top (header) and bottom (text), like Marabierto. */
.opener__slides::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 11, 9, .62) 0%, rgba(14, 11, 9, .26) 26%, rgba(14, 11, 9, .34) 52%, rgba(14, 11, 9, .86) 100%),
    rgba(14, 11, 9, .22);
}

.opener__content {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(96px, 15vh, 150px);
  max-width: 760px;
}
.opener__text { display: grid; gap: 16px; }
.opener__text[hidden] { display: none; }
.opener__kicker { color: rgba(247, 243, 238, .82); }
.opener__title { margin: 0; font: 300 clamp(48px, 6.6vw, 104px)/.98 var(--serif); letter-spacing: -.02em; color: #FFFDFA; }
.opener__title em { font-style: italic; }
.opener__lede { max-width: 34ch; font: 300 clamp(18px, 1.5vw, 23px)/1.42 var(--serif); color: rgba(247, 243, 238, .9); }
.opener__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 30px; }
.btn--light { --btn-fg: var(--ink); --btn-bg: #F7F3EE; --btn-hover-fg: #F7F3EE; background: #F7F3EE; border-color: #F7F3EE; }
.btn--light::before { background: var(--ink); }
.opener__link { color: #F7F3EE; }

/* Each text line rises in when its photo comes up. */
.opener__text [data-opener-line] { opacity: 0; transform: translateY(26px); }
.opener__text.is-in [data-opener-line] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.opener__text.is-in [data-opener-line]:nth-child(2) { transition-delay: .12s; }
.opener__text.is-in [data-opener-line]:nth-child(3) { transition-delay: .24s; }
.js .opener__actions { opacity: 0; transform: translateY(20px); }
html.is-ready .opener__actions { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) .5s, transform 1.3s var(--ease) .5s; }

/* Dots with a fill bar that shows the time to the next photo, plus arrows. */
.opener__nav {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(30px, 5vh, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.opener__dots { display: flex; gap: 10px; }
.opener__dot { position: relative; width: 56px; height: 24px; display: grid; align-items: center; }
.opener__dot::before { content: ""; height: 2px; background: rgba(247, 243, 238, .32); }
.opener__dot i { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: #F7F3EE; transform-origin: 0 50%; transform: scaleX(0); }
.opener__dot[aria-current="true"] i { transform: scaleX(var(--prog, 1)); }
.opener__arrows { display: flex; gap: 4px; }
.opener__arrow {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(247, 243, 238, .4); color: #F7F3EE; transition: background-color .4s, color .4s, border-color .4s;
}
.opener__arrow:hover { background: #F7F3EE; color: var(--ink); border-color: #F7F3EE; }
.opener__arrow .icon { width: 16px; height: 16px; }
.opener__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: clamp(30px, 5vh, 52px); transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(247, 243, 238, .5); border-radius: 13px;
}
.opener__scroll i { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 1px; background: #F7F3EE; animation: wheel 2s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Header over the opener: transparent, light text. */
html.over-opener:not(.has-dialog) .hdr { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #F7F3EE; }
html.over-opener:not(.has-dialog) .hdr .wordmark__tag { color: rgba(247, 243, 238, .78); }
html.over-opener:not(.has-dialog) .hdr .hdr__count { background: #F7F3EE; color: var(--ink); }
html.over-opener:not(.has-dialog) .hdr::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 11, 9, .5), rgba(14, 11, 9, 0));
}
.hdr { transition: transform .6s var(--ease), background-color .5s, color .5s, border-color .5s; }

/* Phones: tall crops, text and buttons sized for thumbs. */
@media (max-width: 760px) {
  .opener { min-height: 520px; max-height: none; }
  .opener__slide img { object-position: 50% 40%; }
  .opener__content { bottom: 88px; }
  .opener__text { gap: 12px; }
  .opener__kicker { font-size: 10px; letter-spacing: .16em; }
  .opener__title { font-size: clamp(44px, 12.4vw, 60px); }
  .opener__lede { font-size: 17px; }
  .opener__actions { margin-top: 24px; gap: 12px 24px; }
  .opener__actions .btn { min-height: 52px; padding: 0 26px; }
  .opener__nav { bottom: 26px; }
  .opener__arrows, .opener__scroll { display: none; }
  .opener__dot { width: 48px; height: 32px; }
  .opener__dot i { top: 15px; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .opener__lede { display: none; }
}

/* ── New arrivals filmstrip ───────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(64px, 7vw, 120px); padding-bottom: clamp(14px, 2.2vh, 26px); border-bottom: 1px solid var(--line); }
.hero__top {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 48px; padding-bottom: clamp(24px, 3vw, 44px);
}
.hero__title { font: 300 clamp(44px, 5vw, 84px)/.95 var(--serif); letter-spacing: -.016em; }
.hero__title em { font-style: italic; }
.hero__lede { color: var(--ink-2); max-width: 36ch; font-size: 15px; }

/* Card width follows the viewport height too, so the whole hero fits one screen. */
.hero__strip {
  --card-w: clamp(200px, min(21vw, calc((100svh - var(--hdr-h) - 400px) * .75)), 380px);
  position: relative; overflow: clip;
}
.hero__track { display: flex; width: max-content; will-change: transform; }
.hero__group { display: flex; gap: 6px; padding-right: 6px; }
.hero__card { position: relative; flex: none; display: block; width: var(--card-w); }
.js .hero__card { opacity: 0; transform: translateY(48px); }
html.is-ready .hero__card { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.4s var(--ease); transition-delay: calc(250ms + var(--i, 0) * 70ms); }
.hero__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--wall); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.hero__media img.is-loaded { opacity: 1; }
/* Hover shows the studio still of the same garment (mouse/trackpad only). */
.hero__media .hero__alt { z-index: 1; }
.hero__media .hero__alt.is-loaded { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .hero__card:hover .hero__media img { transform: scale(1.035); }
  .hero__card:hover .hero__media .hero__alt.is-loaded { opacity: 1; }
}
.hero__cap { display: grid; gap: 3px; padding: 12px 4px 0; }
.hero__brand { font: 500 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hero__name { font-size: 13.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__price { font-size: 13px; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero__card:hover .hero__name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Touch and reduced motion: a native swipeable row, no drifting. */
.hero.is-native .hero__strip { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hero.is-native .hero__strip::-webkit-scrollbar { display: none; }
.hero.is-native .hero__track { padding-inline: var(--gutter); }
.hero.is-native .hero__group + .hero__group { display: none; }
.hero.is-native .hero__card { scroll-snap-align: start; }

.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.hero__note { font: 500 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero__controls { display: flex; align-items: center; gap: 2px; flex: none; }
.hero__ctrl { width: 40px; height: 40px; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.hero__ctrl:hover { background: var(--ink); color: var(--paper); }
.hero__ctrl .icon { width: 16px; height: 16px; }
.hero__ctrl[hidden] { display: none; }

@media (max-width: 860px) {
  .hero__top { grid-template-columns: 1fr; gap: 22px; }
  .hero__strip { --card-w: 62vw; }
  .hero__note { max-width: 30ch; }
}

/* Text swap (palette colour name) */
.swap { display: inline-block; animation: swap-in 1.1s var(--ease) both; }
@keyframes swap-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Silvia: who runs the shop ────────────────────────────────────────── */
.owner { background: var(--paper-2); padding-block: clamp(72px, 9vw, 150px); }
.owner__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.owner__portrait .frame { aspect-ratio: 4 / 5; }
.owner__caption { margin-top: 14px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.owner__text { display: grid; justify-items: start; max-width: 560px; }
.owner__title { font: 300 clamp(48px, 6vw, 104px)/.95 var(--serif); letter-spacing: -.02em; margin: 18px 0 30px; }
.owner__title em { font-style: italic; }
.owner__story { display: grid; gap: 1em; font: 300 clamp(19px, 1.5vw, 23px)/1.5 var(--serif); color: var(--ink); }
/* Handwritten signature. It "writes" itself from left to right when it scrolls into view. */
.owner__sign {
  margin-top: 22px; padding: .12em .3em .28em .06em;
  font: 400 clamp(62px, 6vw, 96px)/1.05 var(--script); word-spacing: .2em;
  color: var(--brand); transform: rotate(-3deg); transform-origin: 0 60%;
}
/* The clip sits on the inner span: a fully clipped element never counts as visible to the observer. */
.owner__ink { display: inline-block; padding: 0 .3em .1em .06em; margin: 0 -.3em -.1em -.06em; }
.js .owner__ink { clip-path: inset(-30% 100% -30% 0); }
.js .owner__sign.is-in .owner__ink { clip-path: inset(-30% 0 -30% 0); transition: clip-path 2.4s cubic-bezier(.45, .05, .35, 1) .2s; }
.owner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 36px; }
@media (max-width: 900px) {
  .owner__grid { grid-template-columns: minmax(0, 1fr); }
  .owner__portrait { max-width: 520px; }
}

/* ── Shop by garment ──────────────────────────────────────────────────── */
.shopcats { padding-top: clamp(56px, 6vw, 96px); }
.shopcats__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(20px, 2.2vw, 34px); }
.shopcats__title { font: 300 clamp(34px, 3.4vw, 56px)/1 var(--serif); letter-spacing: -.012em; }
.shopcats__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cat { display: block; width: 100%; text-align: left; }
.cat__media { aspect-ratio: 3 / 4; }
.cat__media img { transition: transform 1.4s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 2px 0; }
.cat__name {
  font: 400 clamp(20px, 1.6vw, 26px)/1.15 var(--serif);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.cat:hover .cat__name { background-size: 100% 1px; }
.cat__count { font: 500 10.5px/1 var(--sans); letter-spacing: .12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .shopcats__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(150px, 26vw, 230px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .shopcats__grid::-webkit-scrollbar { display: none; }
  .shopcats__item { scroll-snap-align: start; }
}
@media (max-width: 760px) { .shopcats__grid { grid-auto-columns: 40vw; } }

/* ── Collection ───────────────────────────────────────────────────────── */
.collection { padding-top: clamp(64px, 7vw, 112px); padding-bottom: clamp(80px, 10vw, 150px); }
.collection__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 20px 48px; margin-bottom: clamp(28px, 3.4vw, 52px); }
.collection__title { font: 300 clamp(42px, 4.8vw, 84px)/.95 var(--serif); letter-spacing: -.018em; margin-top: .25em; }
.collection__lede { color: var(--ink-2); font-size: 14px; }
@media (max-width: 760px) { .collection__head { grid-template-columns: 1fr; } }

.toolbar {
  position: sticky; top: var(--hdr-h); z-index: 40;
  background: rgba(247, 245, 241, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-block: 1px solid var(--line);
  transition: top .6s var(--ease);
}
html.hdr-hidden .toolbar { top: 0; }
.toolbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding-inline: var(--gutter); }
.tabs { position: relative; display: flex; gap: clamp(18px, 2.2vw, 34px); overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 20px 0; white-space: nowrap;
  font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); transition: color .4s var(--ease);
}
.tab sup { font-size: 9px; letter-spacing: .04em; margin-left: 4px; vertical-align: .5em; }
.tab:hover, .tab[aria-pressed="true"] { color: var(--ink); }
.tab[data-empty="true"] { opacity: .45; }
.tabs__ink { position: absolute; left: 0; bottom: 12px; height: 1px; width: 0; background: var(--ink); transition: transform .7s var(--ease), width .7s var(--ease); pointer-events: none; }
.toolbar__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex: none; }
.search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); padding: 6px 0; }
.search .icon { width: 15px; height: 15px; color: var(--ink-2); }
.search input { width: 130px; border: 0; background: transparent; padding: 0; font-size: 12px; letter-spacing: .04em; outline: none; transition: width .6s var(--ease); }
.search input:focus { width: 190px; }
.search:focus-within { border-color: var(--ink); }
.search input::placeholder { color: var(--ink-3); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.toolbar__btn { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 0; }
.toolbar__badge[hidden] { display: none; }
.toolbar__badge { min-width: 17px; height: 17px; border-radius: 9px; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; font-size: 10px; letter-spacing: 0; padding: 0 5px; }
.density { display: flex; gap: 6px; }
.density button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-3); transition: color .3s; }
.density button[aria-pressed="true"], .density button:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter) 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border: 1px solid var(--line-2);
  font: 500 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .3s, color .3s;
}
.chip .icon { width: 12px; height: 12px; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.chip--clear { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.chip--clear:hover { background: none; color: var(--ink); border-color: transparent; }
@media (max-width: 760px) {
  .toolbar__inner { flex-wrap: wrap; gap: 0 16px; padding-block: 0 10px; }
  .tabs { order: 0; width: 100%; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .search { flex: 1; }
  .search input, .search input:focus { width: 100%; }
}

.collection__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) 16px; }
.collection__count { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sort { display: inline-flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sort select {
  appearance: none; -webkit-appearance: none;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 8px 22px 8px 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231C1A18' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center / 10px 6px;
  font: inherit; letter-spacing: inherit; text-transform: uppercase; color: var(--ink);
  cursor: pointer;
}
.sort select:hover, .sort select:focus-visible { border-color: var(--ink); }
.sort select:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
@media (max-width: 760px) {
  .sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.more { display: grid; justify-items: center; gap: 18px; padding: clamp(56px, 6vw, 96px) var(--gutter) 0; text-align: center; }
.more[hidden] { display: none; }
.more__count { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.more__bar { position: relative; display: block; width: min(260px, 60vw); height: 1px; background: var(--line-2); }
.more__bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.more .btn { margin-top: 6px; min-width: 240px; }

.grid {
  --cols: 4;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 42px 4px;
  padding-inline: 4px;
}
.grid[data-layout="comfortable"] { --cols: 2; gap: 56px 4px; }
@media (max-width: 1180px) { .grid { --cols: 3; } }
@media (max-width: 760px)  { .grid { --cols: 2; gap: 30px 3px; } .grid[data-layout="comfortable"] { --cols: 1; gap: 40px; } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card__inner { display: flex; flex-direction: column; height: 100%; }
.js .card__inner { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .card.is-in .card__inner { opacity: 1; transform: none; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--wall); }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.card__media img.is-loaded { opacity: 1; transform: none; }
.card:hover .card__media img.is-loaded { transform: scale(1.045); }
/* The card's other photo (on a model in the tile grid, the studio still in the
   large layout) sits on top and fades in on hover, mouse/trackpad only. */
.card__media .card__alt { z-index: 1; }
.card__media .card__alt.is-loaded { opacity: 0; transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media .card__alt.is-loaded { opacity: 1; }
}
.card__quick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 46px;
  display: grid; place-items: center;
  background: rgba(247, 245, 241, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.card:hover .card__quick, .card__media:focus-visible .card__quick { transform: none; }
.card__fav {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.card__fav .icon { width: 19px; height: 19px; transition: transform .5s var(--ease); }
.card__fav[aria-pressed="true"] { --heart-fill: currentColor; opacity: 1; }
.card__fav.is-pop .icon { animation: bump .6s var(--ease); }
.card:hover .card__fav, .card__fav:focus-visible { opacity: 1; }
@media (hover: none) { .card__fav { opacity: 1; } .card__quick { display: none; } }
.card__info { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 3px 14px; padding: 13px 10px 0; }
.card__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 500 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.card__swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.card__name { font: 400 13.5px/1.35 var(--sans); }
.card__price { font: 400 13px/1.35 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__price.is-muted { color: var(--ink-3); font-size: 11.5px; }
.card__sizes { grid-column: 1 / -1; font: 400 11px/1.4 var(--sans); letter-spacing: .1em; color: var(--ink-3); }
.card__badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 5px 9px; background: rgba(247, 245, 241, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.card__badge--out { color: var(--ink-3); }

.card--feature { grid-column: span 2; grid-row: span 2; }
.card--feature .card__media { aspect-ratio: auto; flex: 1; min-height: 0; }
.card--feature .card__name { font: 300 26px/1.1 var(--serif); }

.grid-empty { display: grid; justify-items: center; gap: 24px; padding: 80px var(--gutter); text-align: center; }
.grid-empty[hidden] { display: none; }
.grid-empty__title { font: 300 italic 34px/1.1 var(--serif); }

/* ── Palette ──────────────────────────────────────────────────────────── */
.palette { background: var(--paper-2); padding-block: clamp(80px, 9vw, 150px); }
.palette__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 110px); align-items: center; }
.palette__stage { position: relative; aspect-ratio: 5 / 6; max-height: 86vh; overflow: hidden; background: #2A2724; touch-action: pan-y; }
.palette__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.palette__caption {
  position: absolute; left: clamp(18px, 2.4vw, 36px); bottom: clamp(16px, 2.2vw, 32px);
  display: grid; gap: 6px; color: var(--cap, var(--on-dark)); pointer-events: none;
  transition: color .8s var(--ease);
}
.palette__name { font: 300 italic clamp(50px, 6.6vw, 110px)/.95 var(--serif); overflow: hidden; padding-bottom: .06em; }
.palette__hint {
  position: absolute; top: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px);
  font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--cap, var(--on-dark)); opacity: .75; pointer-events: none; transition: opacity .6s;
}
.palette__stage.is-touched .palette__hint { opacity: 0; }
.swatches { margin-top: 36px; border-top: 1px solid var(--line-2); }
.swatch {
  width: 100%; display: grid; grid-template-columns: 30px 1fr auto 18px; align-items: center; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left;
}
.swatch__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: transform .6s var(--ease); }
.swatch__name { font: 300 clamp(24px, 2vw, 32px)/1 var(--serif); transition: transform .6s var(--ease); }
.swatch__count { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.swatch .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .6s var(--ease); }
.swatch:hover .swatch__dot, .swatch.is-active .swatch__dot { transform: scale(1.22); }
.swatch:hover .swatch__name, .swatch.is-active .swatch__name { transform: translateX(6px); }
.swatch:hover .icon, .swatch.is-active .icon { opacity: 1; transform: none; }
.palette__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 26px; }
.palette__thumbs .frame { aspect-ratio: 3 / 4; }
.palette__thumbs img { opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.palette__thumbs img.is-loaded { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .palette__grid { grid-template-columns: 1fr; }
  .palette__stage { aspect-ratio: 4 / 5; }
}

/* ── Brands index ─────────────────────────────────────────────────────── */
.brands { background: var(--dark); color: var(--on-dark); padding-block: clamp(80px, 9vw, 150px); }
.brands__head { display: grid; grid-template-columns: 1fr minmax(0, 400px); align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 60px); }
.brands__title { font: 300 clamp(44px, 5vw, 88px)/.95 var(--serif); letter-spacing: -.016em; margin-top: .25em; }
.brands__lede { color: var(--on-dark-2); font-size: 14px; }
.brand-index { border-top: 1px solid var(--line-dark); }
.brand-row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 44px minmax(0, 3fr) minmax(0, 4fr) 96px auto 20px; align-items: center;
  gap: clamp(16px, 2vw, 36px);
  padding: 16px 0; border-bottom: 1px solid var(--line-dark);
}
.brand-row:focus-visible { outline-offset: -2px; }
.brand-row__num { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.brand-row__name { font: 300 clamp(30px, 3vw, 52px)/1 var(--serif); letter-spacing: -.01em; transition: transform .7s var(--ease); }
.brand-row__about { display: grid; gap: 6px; }
.brand-row__kicker { font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.brand-row__line { color: var(--on-dark-2); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-row__count { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; }
.brand-row__thumbs { display: grid; grid-template-columns: repeat(3, clamp(52px, 4.4vw, 70px)); gap: 4px; }
.brand-row__thumbs .frame { aspect-ratio: 3 / 4; background: #2E2B28; }
.brand-row__thumbs img { opacity: .85; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.brand-row__arrow { width: 18px; height: 18px; opacity: .45; transition: transform .6s var(--ease), opacity .4s; }
.brand-row:hover .brand-row__name { transform: translateX(10px); }
.brand-row:hover .brand-row__thumbs img { opacity: 1; transform: scale(1.06); }
.brand-row:hover .brand-row__arrow { opacity: 1; transform: translateX(4px); }
@media (max-width: 1100px) {
  .brand-row { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) auto auto 18px; }
  .brand-row__line { display: none; }
}
@media (max-width: 900px) {
  .brands__head { grid-template-columns: 1fr; }
  .brand-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name thumbs" "about thumbs" "count thumbs";
    gap: 6px 16px; padding: 16px 0;
  }
  .brand-row__num, .brand-row__arrow { display: none; }
  .brand-row__name { grid-area: name; font-size: 30px; align-self: end; }
  .brand-row__about { grid-area: about; }
  .brand-row__count { grid-area: count; align-self: start; }
  .brand-row__thumbs { grid-area: thumbs; grid-template-columns: repeat(3, 46px); }
}

/* ── Store ────────────────────────────────────────────────────────────── */
.store { padding-block: clamp(96px, 12vw, 190px); }
.store__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 120px); align-items: center; }
.store__text { display: grid; justify-items: start; }
.store__address { font: 300 clamp(54px, 6.6vw, 118px)/.92 var(--serif); letter-spacing: -.02em; margin: 18px 0 22px; }
.store__area { font-size: 15px; }
.store__coords { margin-top: 8px; font: 500 10.5px/1 var(--sans); letter-spacing: .2em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.store__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); width: 100%; }
.store__cols p { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.store__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.store__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-items: start; }
.store__fig .frame { aspect-ratio: 3 / 4; }
.store__fig--wide { grid-column: 1 / -1; }
.store__fig--wide .frame { aspect-ratio: 16 / 9; }
.store__fig:nth-child(2) { --d: 120ms; } .store__fig:nth-child(3) { --d: 240ms; } .store__fig:nth-child(4) { --d: 360ms; }
.store__caption { grid-column: 1 / -1; margin-top: 16px; font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) {
  .store__grid { grid-template-columns: minmax(0, 1fr); }
  .store__cols { grid-template-columns: 1fr; gap: 20px; }
  .store__actions .btn { white-space: normal; text-align: center; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 110px); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 36px var(--gutter); }
.footer__about p:last-child { margin-top: 14px; color: var(--ink-2); max-width: 30ch; }
.footer__list { margin-top: 16px; display: grid; gap: 9px; }
.footer__list a, .footer__list button {
  font-size: 14px; color: var(--ink-2); text-align: left;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
}
.footer__list a:hover, .footer__list button:hover { color: var(--ink); background-size: 100% 1px; }
.footer__mark {
  margin-top: clamp(56px, 7vw, 120px);
  font: 300 15.6vw/.78 var(--serif); letter-spacing: -.035em;
  white-space: nowrap; text-align: center; overflow: hidden;
  padding-bottom: .04em;
}
.footer__mark .ch { display: inline-block; }
.js .footer__mark .ch { transform: translateY(100%); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .footer__mark.is-in .ch { transform: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px 26px; border-top: 1px solid var(--line); font: 500 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ── Dialogs (shared) ─────────────────────────────────────────────────── */
dialog { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; overflow: visible; }
dialog::backdrop { background: rgba(28, 26, 24, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background-color .6s var(--ease), backdrop-filter .6s var(--ease); }
dialog.is-open::backdrop { background: rgba(28, 26, 24, .44); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* Quick view */
.qv { width: min(1260px, calc(100vw - 48px)); height: min(880px, calc(100vh - 48px)); margin: auto; }
.qv__box {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: var(--paper);
  opacity: 0; transform: translateY(30px) scale(.985);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.qv.is-open .qv__box { opacity: 1; transform: none; }
.qv__media { position: relative; overflow: hidden; background: var(--wall); cursor: zoom-in; touch-action: pan-y; }
.qv__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s var(--ease); }
.qv__media > img.is-swapping { opacity: 0; }
.qv__media.is-zoomed { cursor: zoom-out; }
.qv__media.is-zoomed > img { transform: scale(2.1); transition: transform .6s var(--ease), opacity .45s var(--ease); }
/* Photo rail: studio still · on a model */
.qv__thumbs { position: absolute; left: 18px; top: 50%; z-index: 2; display: grid; gap: 6px; transform: translateY(-50%); transition: opacity .4s; }
.qv__thumbs[hidden] { display: none; }
.qv__thumb { position: relative; display: block; width: 52px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--wall); cursor: pointer; opacity: .7; transition: opacity .3s var(--ease); }
.qv__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s var(--ease); }
.qv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv__thumb:hover, .qv__thumb[aria-pressed="true"] { opacity: 1; }
.qv__thumb[aria-pressed="true"]::after { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qv__thumb:focus-visible { outline-offset: 2px; }
@media (max-width: 860px) { .qv__thumbs { left: 12px; gap: 5px; } .qv__thumb { width: 44px; } }
.qv__nav {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: rgba(247, 245, 241, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 10.5px/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums;
  transition: opacity .4s;
}
.qv__nav button { width: 44px; height: 42px; display: grid; place-items: center; }
.qv__nav button:hover { background: var(--ink); color: var(--paper); }
.qv__nav span { min-width: 58px; text-align: center; }
/* Hidden while zoomed but still hoverable, so pointing at them ends the zoom. */
.qv__media.is-zoomed .qv__nav, .qv__media.is-zoomed .qv__caption, .qv__media.is-zoomed .qv__thumbs { opacity: 0; }
.qv__caption {
  position: absolute; top: 18px; left: 18px; z-index: 2; display: grid; gap: 8px; padding: 10px 12px;
  background: rgba(247, 245, 241, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none; transition: opacity .4s;
}
@media (max-width: 860px) { .qv__caption { top: 14px; left: 12px; } }
.qv__tag { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.qv__tag[hidden] { display: none; }
.qv__hint { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
@media (hover: none) { .qv__hint { display: none; } }
.qv__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  background: var(--paper);
}
.qv__close .icon { width: 15px; height: 15px; transition: transform .6s var(--ease); }
.qv__close:hover .icon { transform: rotate(90deg); }
.qv__info { overflow-y: auto; overscroll-behavior: contain; padding: clamp(64px, 6vw, 88px) clamp(26px, 3.4vw, 60px) 40px; display: grid; align-content: start; gap: 22px; }
.qv__info > * { animation: swap-in .9s var(--ease) both; }
.qv__info > :nth-child(2) { animation-delay: .04s; } .qv__info > :nth-child(3) { animation-delay: .08s; }
.qv__info > :nth-child(4) { animation-delay: .12s; } .qv__info > :nth-child(n+5) { animation-delay: .16s; }
.qv__brand button { font: inherit; letter-spacing: inherit; text-transform: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.qv__brand button:hover { background-size: 100% 1px; }
.qv__name { font: 300 clamp(40px, 3.6vw, 60px)/.98 var(--serif); letter-spacing: -.012em; margin-top: -8px; }
.qv__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font-size: 17px; font-variant-numeric: tabular-nums; }
.qv__price small { font: 500 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.qv__price.is-muted { font-size: 14px; color: var(--ink-2); }
.qv__color { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding-block: 16px; border-block: 1px solid var(--line); }
.qv__color i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.qv__desc { color: var(--ink-2); max-width: 52ch; }
.qv__details { display: grid; gap: 6px; font-size: 13.5px; }
.qv__details li { display: flex; gap: 12px; }
.qv__details li::before { content: ""; width: 14px; height: 1px; margin-top: .75em; background: var(--ink-3); flex: none; }
.qv__label { font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.qv__sizes ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.qv__sizes li { min-width: 44px; height: 36px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 12px; letter-spacing: .06em; }
.qv__sizes li small { margin-left: 5px; font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); }
.qv__sizes ul ~ p { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.qv__sizes > p:not(.qv__label):first-of-type { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.qv__specs { display: grid; gap: 12px; font-size: 13px; }
.qv__specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.qv__specs dt { color: var(--ink-3); }
.qv__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 6px; }
.qv__actions .btn[aria-pressed="true"] { --heart-fill: currentColor; }
.qv__actions .icon { width: 16px; height: 16px; }
.qv__help { font-size: 12.5px; color: var(--ink-3); margin-top: -10px; }

/* ── Buy area: breadcrumbs, size picker, add to basket ─────────────────── */
.qv__crumbs { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.qv__crumbs a, .qv__crumbs button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.qv__crumbs a:hover, .qv__crumbs button:hover { color: var(--ink); }

.buy { display: grid; gap: 16px; padding: 20px; margin-block: 2px; background: var(--paper-2, #FBFAF8); border: 1px solid var(--line); }
.qv__stock { display: flex; align-items: center; gap: 8px; font: 500 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ok, #1E6B34); }
.qv__stock .icon { width: 14px; height: 14px; }
.qv__stock.is-out { color: var(--ink-3); }
.buy__sizes { display: grid; gap: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { min-width: 48px; min-height: 46px; padding: 4px 10px; display: grid; place-items: center; gap: 1px; border: 1px solid var(--line-2); background: var(--paper); font: inherit; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.size__n { font-size: 13px; letter-spacing: .06em; }
.size__es { font-size: 9.5px; letter-spacing: .08em; color: var(--ink-3); }
.size:hover:not(.is-out) { border-color: var(--ink-2); }
.size.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size.is-on .size__es { color: rgba(255,255,255,.7); }
.size.is-out { cursor: not-allowed; color: var(--ink-3); border-style: dashed; background: transparent; }
.size.is-out .size__n { text-decoration: line-through; }
.qv__sizenote { font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.buy__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.btn--wide { width: 100%; justify-content: center; }
.btn--icon { padding-inline: 14px; }
.btn--icon[aria-pressed="true"] { --heart-fill: currentColor; }
.btn--icon .icon { width: 16px; height: 16px; }
/* Sold out: the button stays readable but clearly cannot be pressed. */
.btn:disabled { cursor: not-allowed; --btn-hover-fg: var(--btn-fg); background: var(--line-2); color: var(--ink-3); border-color: transparent; }
.btn:disabled::before { display: none; }
.btn.is-waiting { opacity: .82; }
.btn.is-shake { animation: shake .4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.buy__hint { font-size: 12px; line-height: 1.55; color: var(--ink-3); }

/* ── Size guide ───────────────────────────────────────────────────────── */
.buy__guide { display: grid; justify-items: start; gap: 8px; }
.guide-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0;
  font: 500 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease);
}
.guide-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.guide-link .icon { width: 16px; height: 16px; }
.qv__sizes .guide-link { margin-top: 10px; }
.fset__guide { margin-top: 14px; }

.drawer.drawer--guide { width: min(640px, 100vw); }
/* minmax(0, 1fr): the column may shrink below the tables' width, so they scroll inside their box. */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; }
.guide > * { min-width: 0; }
.guide__top { display: grid; gap: 14px; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.guide__brand { display: grid; gap: 8px; }
.guide__brand .eyebrow { color: var(--ink-2); }
.guide__brand select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: 0 44px 0 14px;
  font: 300 22px/1 var(--serif); color: var(--ink); background: var(--paper-2) no-repeat right 14px center / 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10l6 6 6-6' fill='none' stroke='%231C1A18' stroke-width='1.4'/%3E%3C/svg%3E");
  border: 1px solid var(--line-2); border-radius: 0; cursor: pointer;
}
.guide__for { display: grid; gap: 2px; font-size: 13.5px; color: var(--ink-2); }
.guide__for span { font: 300 21px/1.2 var(--serif); color: var(--ink); }
.guide__for strong { font-weight: 500; color: var(--ink); }
.guide__sec { padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide__h { font: 300 28px/1.1 var(--serif); }
.guide__h small { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-left: 8px; }
.guide__note { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.guide__scroll { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.guide__table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.guide__table th, .guide__table td { padding: 12px 10px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); }
.guide__table thead th { font: 500 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); }
.guide__table tbody th { font-weight: 500; position: relative; }
.guide__table tbody tr:last-child > * { border-bottom: 0; }
/* Solid row colours, so the sticky first column covers what scrolls under it. */
.guide__table tbody tr { background: var(--paper); }
.guide__table tbody tr:nth-child(even) { background: #F2EFEA; }
.guide__table tbody tr.is-stock { background: #EADFD6; }
.guide__table tr.is-stock th { color: var(--brand); }
.guide__table tr.is-out { color: var(--ink-3); }
.guide__table tr.is-out th { text-decoration: line-through; }
.guide__table tr.is-letter th { font-style: italic; }
.guide__table th:first-child, .guide__table td:first-child { position: sticky; left: 0; background: inherit; }
.guide__table thead th:first-child { background: var(--paper-2); }
.guide__dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--brand); vertical-align: 1px; }
.guide__legend { display: flex; align-items: center; gap: 2px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.guide__legend .guide__dot { margin: 0 8px 0 0; }
.guide__how { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.guide__figure { width: 96px; height: auto; color: var(--ink-2); }
.guide__steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.guide__steps li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.guide__steps li::before { content: counter(step); grid-row: span 2; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font: 600 11px/1 var(--sans); }
.guide__steps strong { font-weight: 500; color: var(--ink); }
.guide__tips { display: grid; gap: 8px; margin-top: 22px; padding: 16px 18px; background: var(--paper-2); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.guide__tips li { display: flex; gap: 10px; }
.guide__tips li::before { content: ""; width: 12px; height: 1px; margin-top: .75em; background: var(--ink-3); flex: none; }
.guide__help { padding: 22px 0 6px; font-size: 13px; color: var(--ink-2); }
.guide__help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .drawer--guide .drawer__head { padding: 18px 20px; }
  .drawer--guide .drawer__body { padding: 4px 20px 24px; }
  .guide__table { font-size: 13px; }
  .guide__table th, .guide__table td { padding: 11px 7px; }
  .guide__table thead th { letter-spacing: .06em; font-size: 9.5px; }
  .guide__table--intl th, .guide__table--intl td { padding: 11px 4px; }
  .guide__how { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; }
  .guide__figure { width: 70px; }
}

/* ── Shop terms accordion ─────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .icon { width: 16px; height: 16px; flex: none; color: var(--ink-3); transition: transform .3s var(--ease); }
.acc__item[open] summary .icon { transform: rotate(180deg); }
.acc__item p { padding-bottom: 16px; font-size: 13px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.qv__ai { font-size: 12px; line-height: 1.55; color: var(--ink-3); max-width: 52ch; }
.qv__related { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.qv__rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.qv__rel a { display: block; }
.qv__rel .frame { aspect-ratio: 3 / 4; }
.qv__rel img { transition: transform 1s var(--ease); }
.qv__rel a:hover img { transform: scale(1.06); }
.qv__rel span.qv__rel-name { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 860px) {
  .qv { width: 100vw; height: 100dvh; max-height: none; margin: 0; }
  .qv__box { grid-template-columns: 1fr; grid-template-rows: auto; overflow-y: auto; transform: translateY(40px); }
  .qv__media { height: 68svh; }
  .qv__info { overflow: visible; padding: 30px 22px 48px; }
}

/* Drawers */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(460px, 100vw); height: 100%; height: 100dvh; }
.drawer__box {
  height: 100%; display: flex; flex-direction: column;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .7s var(--ease);
}
.drawer.is-open .drawer__box { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer__title { font: 300 32px/1 var(--serif); display: flex; align-items: center; gap: 12px; }
.drawer__count { font: 500 11px/1 var(--sans); letter-spacing: .1em; color: var(--ink-3); }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -10px; }
.drawer__close .icon { transition: transform .6s var(--ease); }
.drawer__close:hover .icon { transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 26px 26px; }
.drawer__foot { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 18px 26px 22px; border-top: 1px solid var(--line); }
.drawer__foot--stack { grid-template-columns: 1fr; }
.drawer__foot[hidden] { display: none; }
.drawer__note { font-size: 12.5px; color: var(--ink-3); text-align: center; }

.fset { border: 0; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fset legend { float: left; width: 100%; margin-bottom: 18px; color: var(--ink-2); }
.checks { display: grid; gap: 4px; clear: both; }
.check { display: flex; align-items: center; gap: 14px; padding: 8px 0; cursor: pointer; font-size: 15px; }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.check input::after { content: ""; width: 8px; height: 8px; background: var(--paper); transform: scale(0); transition: transform .3s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.check small { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 16px 8px; clear: both; }
.color-opt { display: grid; justify-items: center; gap: 10px; padding: 6px 0; font-size: 12px; }
.color-opt i { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 0 var(--paper), 0 0 0 0 var(--ink); transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.color-opt:hover i { transform: scale(1.08); }
.color-opt[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.color-opt small { color: var(--ink-3); font-size: 10.5px; margin-top: -8px; }

.favs { display: grid; }
.fav-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fav-item .frame { aspect-ratio: 3 / 4; }
.fav-item__brand { font: 500 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.fav-item__name { font-size: 14px; text-align: left; }
.fav-item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.fav-item__price { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.fav-item__remove { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-3); }
.fav-item__remove:hover { color: var(--ink); }
.fav-item__remove .icon { width: 14px; height: 14px; }
.favs-empty { padding: 40px 0; color: var(--ink-2); display: grid; gap: 14px; }
.favs-empty[hidden] { display: none; }
.favs-empty__title { font: 300 italic 30px/1.1 var(--serif); color: var(--ink); }

/* Size filter */
/* clear: both, like .colors — the fieldset's legend is floated. */
.sizechecks { display: flex; flex-wrap: wrap; gap: 6px; clear: both; }
.size-opt { min-width: 52px; min-height: 44px; padding: 4px 10px; display: grid; place-items: center; gap: 1px; border: 1px solid var(--line-2); font-size: 13px; letter-spacing: .06em; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.size-opt small { font-size: 10px; color: var(--ink-3); }
.size-opt:hover { border-color: var(--ink-2); }
.size-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size-opt[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
.size-opt[data-empty="true"] { opacity: .4; }
.fset__note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

/* Basket */
.cart { display: grid; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .frame { aspect-ratio: 3 / 4; }
.cart-item__main { display: grid; gap: 4px; }
.cart-item__meta { font-size: 12.5px; color: var(--ink-2); }
.cart-item__max { font-size: 11.5px; color: var(--ink-3); }
.cart-item__side { display: grid; justify-items: end; gap: 8px; }
.cart-item__price { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--line-2); width: max-content; }
.qty button { width: 34px; height: 32px; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover:not(:disabled) { color: var(--ink); background: var(--line); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty .icon { width: 13px; height: 13px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.cart__sum strong { font: 400 20px/1 var(--sans); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.cart__sumnote { font-size: 12px; color: var(--ink-3); margin-top: -6px; }
.cart__clear { font-size: 12px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; justify-self: center; }
.cart__clear:hover { color: var(--ink); }
.hdr__count--bag[hidden] { display: none; }

/* Mobile menu */
.menu { width: 100vw; height: 100dvh; margin: 0; }
.menu__box { height: 100%; background: var(--paper); display: flex; flex-direction: column; opacity: 0; transition: opacity .5s var(--ease); }
.menu.is-open .menu__box { opacity: 1; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.menu__nav { flex: 1; display: grid; align-content: center; gap: 4px; padding-inline: var(--gutter); }
.menu__nav a { font: 300 clamp(48px, 13vw, 84px)/1.05 var(--serif); overflow: hidden; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(120ms + var(--i) * 70ms); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__foot { padding: 22px var(--gutter) 30px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 1600;
  max-width: calc(100vw - 32px);
  padding: 15px 22px;
  background: var(--ink); color: var(--paper);
  font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }

.noscript { padding: 40px var(--gutter); text-align: center; }
.fatal { padding: 120px var(--gutter); text-align: center; display: grid; gap: 16px; justify-items: center; }
.fatal p:first-child { font: 300 italic 40px/1.1 var(--serif); }
.fatal code { font-size: 13px; background: var(--paper-2); padding: 6px 10px; }

/* ── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .loader { display: none; }
}
