/* SORTIE storefront. White ground, black ink, colour from the garments only.
   Header and hero are sized in vw against the approved 1536px comp so the first
   viewport holds its proportions at every desktop width; everything below uses rem. */

:root {
  --ink: #000;
  --ink-2: #1c1b19;
  --paper: #fff;
  --stone: #e8e3de;          /* product photo ground */
  --stone-2: #f3f1ee;        /* quiet panels */
  --line: #d8d5d0;
  --line-strong: #0000001f;
  --muted: #5c5953;          /* 6.9:1 on white */
  --signal: #f05a1e;         /* rescue orange, the rare accent */
  --ok: #2f6b3f;

  --f-button: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --f-display: 'Bebas Neue', 'Oswald', sans-serif;
  --f-label: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'SN Pro', system-ui, sans-serif;

  /* measured from the comp at 1536px */
  --ann-h: clamp(34px, 2.93vw, 45px);
  --nav-h: clamp(60px, 5.664vw, 87px);
  --hdr-h: calc(var(--ann-h) + var(--nav-h));
  --gutter: clamp(16px, 2.734vw, 42px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --z-header: 50;
  --z-mega: 45;
  --z-scrim: 80;
  --z-drawer: 90;
}

html { background: var(--paper); color: var(--ink); scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: 'tnum' 0;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a { text-decoration: none; }
img { height: auto; }

.visually-hidden {
  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 {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper);
  padding: 12px 16px; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.skip:focus { top: 12px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ------------------------------------------------------------------ */
/* Announcement bar                                                    */
/* ------------------------------------------------------------------ */
.announce {
  height: var(--ann-h);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 6px var(--gutter);
}
.announce p {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(13px, 1.237vw, 19px);
  line-height: 1;
  letter-spacing: 0.015em;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--paper);
}
.nav-bar {
  position: relative;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(16px, 1.6vw, 25px) 0 var(--gutter);
  background: var(--paper);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.is-stuck .nav-bar { box-shadow: 0 1px 0 var(--line); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.52vw, 39px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: clamp(15px, 1.4974vw, 23px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: calc(50% - 0.95em);
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after,
.nav-link[aria-expanded='true']::after,
.nav-link[aria-current='page']::after { transform: scaleX(1); }

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  line-height: 0;
}
.wm { display: block; width: auto; height: clamp(22px, 2.48vw, 38px); aspect-ratio: 259.75 / 38.12; fill: currentColor; overflow: visible; }

.nav-utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 0.78vw, 12px);
}
.util-btn {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  width: clamp(44px, 2.865vw, 44px);
  height: 44px;
  color: var(--ink);
  font-size: clamp(22px, 1.76vw, 27px);
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
}
.util-currency {
  display: inline-grid;
  place-items: center;
  height: 44px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 18.5px);
  letter-spacing: 0.01em;
  width: auto;
  padding: 0 clamp(6px, 1.2vw, 18px) 0 8px;
}
.bag-count {
  position: absolute;
  top: 6px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bag-count[hidden] { display: none; }
.menu-btn, .util-mobile { display: none; }
@media (max-width: 1023.98px) { .util-desktop { display: none; } }

/* Mega menu */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: var(--z-mega);
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgb(0 0 0 / 0.35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.has-mega.is-open .mega,
.has-mega:focus-within .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.22s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
}
.has-mega.is-suppressed .mega { visibility: hidden; opacity: 0; }
.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, max-content) 1fr;
  gap: 3.5rem;
  padding: 2rem var(--gutter) 2.5rem;
}
.mega h3 {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.mega li a {
  display: inline-flex;
  white-space: nowrap;
  min-height: 36px;
  align-items: center;
  font-size: 1rem;
  color: var(--ink);
}
.mega li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-feature {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, 13rem);
  gap: 1rem;
}
.mega-feature a { display: grid; gap: 0.6rem; color: var(--ink); }
.mega-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.mega-feature span {
  font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: calc(100svh - var(--hdr-h));
  min-height: 520px;
  max-height: calc(66vw);
  overflow: hidden;
  background: #2a241c;
  color: var(--paper);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-copy {
  position: absolute;
  left: clamp(20px, 3.06vw, 47px);
  bottom: clamp(28px, 4.1vw, 63px);
  display: grid;
  justify-items: start;
  gap: clamp(16px, 1.302vw, 20px);
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 3.776vw, 64px);
  line-height: 0.9;
  letter-spacing: 0.024em;
  text-transform: uppercase;
}
.btn-outline-light {
  display: inline-grid;
  place-items: center;
  width: clamp(168px, 13.87vw, 213px);
  height: clamp(52px, 4.62vw, 71px);
  border: 2px solid var(--paper);
  color: var(--paper);
  font-family: var(--f-button);
  font-weight: 600;
  font-size: clamp(21px, 2.12vw, 32.5px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.06em 0 0 0.06em;
  background: rgb(0 0 0 / 0);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline-light:focus-visible { outline-color: var(--paper); }

/* ------------------------------------------------------------------ */
/* Mobile header + hero                                                */
/* ------------------------------------------------------------------ */
@media (max-width: 1023.98px) {
  :root { --ann-h: 34px; --nav-h: 56px; --gutter: 16px; }
  .nav-bar { grid-template-columns: 1fr auto 1fr; padding: 0 6px; }
  .nav-primary { display: none; }
  .menu-btn, .util-mobile { display: inline-grid; }
  .nav-left { display: flex; align-items: center; }
  .util-currency, .util-account { display: none; }
  .nav-bar > .wordmark { justify-self: center; }
  .nav-bar > .wordmark .wm { height: 19px; }
  .util-btn { font-size: 23px; }
  .hero { height: calc(100svh - var(--hdr-h)); min-height: 520px; max-height: none; }
  .hero-media img { object-position: 38% 40%; }
}
@media (min-width: 1024px) {
  .nav-left .menu-btn, .nav-left .util-mobile { display: none; }
  /* the approved comp sets the wordmark between the nav cluster and the utilities,
     its centre at 53.84% of the bar, not at the geometric centre */
  .nav-bar { grid-template-columns: 1fr 1fr; }
  .nav-bar > .wordmark { position: absolute; left: 53.84%; top: 50%; transform: translate(-50%, calc(-50% + 0.13vw)); }
}

/* ================================================================== */
/* Shared atoms                                                        */
/* ================================================================== */
.sec-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 3.4vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.sec-title--xl { font-size: clamp(3rem, 5vw, 5.25rem); }
.sec-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.25s var(--ease-out);
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--icon .icon { font-size: 1.15em; }

.btn-outline, .btn-solid {
  display: inline-grid;
  grid-auto-flow: column;
  place-items: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.08em 1.6em 0;
  font-family: var(--f-button);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.15s var(--ease-out);
  touch-action: manipulation;
}
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--ink-2); }
.btn-outline:active, .btn-solid:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0.1em 1.1em 0; font-size: 1.05rem; }
.btn-solid[aria-busy='true'] { cursor: progress; }

.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0 2.4rem 0 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}
.select .icon { position: absolute; right: 0.8rem; pointer-events: none; font-size: 0.95rem; }
.select--sm select { min-height: 44px; padding-left: 0.7rem; }

.field label, .popover label {
  display: block;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field-row { display: flex; gap: 0; }
input[type='email'], input[type='search'], input[type='text'] {
  min-height: 52px;
  width: 100%;
  padding: 0 1rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
}
input::placeholder { color: #75716a; }
input[aria-invalid='true'] { border-color: #b3261e; }
.field-row input { border-right: 0; }
.field-msg { min-height: 1.5em; margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.field-msg.is-error { color: #b3261e; }
.field-msg.is-ok { color: var(--ok); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: #a9a59e; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 24px; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

/* ================================================================== */
/* Product cards (home row, category grid)                             */
/* ================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card-link { display: grid; gap: 0.9rem; color: var(--ink); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: opacity 0.45s var(--ease-out), transform 0.9s var(--ease-out);
}
.card-img--alt { opacity: 0; object-position: 50% 30%; transform: scale(1.03); }
@media (hover: hover) {
  .card-link:hover .card-img--alt, .card-link:focus-visible .card-img--alt { opacity: 1; transform: scale(1); }
}
.card-meta { display: grid; gap: 0.2rem; }
.card-name { font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.card-colour { font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.card-price { font-weight: 500; font-size: 1rem; font-variant-numeric: tabular-nums; margin-top: 0.2rem; }
.card-note { font-size: 0.8rem; color: var(--muted); }
.card-link:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }

/* ================================================================== */
/* Home sections                                                       */
/* ================================================================== */
main > section { scroll-margin-top: var(--nav-h); }

.cats { padding: 6.5rem var(--gutter) 0; }
.cats .sec-title { margin-bottom: 2rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #2a241c;
  color: var(--paper);
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.cat::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0));
  pointer-events: none;
}
.cat-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cat-label .icon { font-size: 0.55em; transform: translateX(0); transition: transform 0.35s var(--ease-out); }
@media (hover: hover) {
  .cat:hover img { transform: scale(1.035); }
  .cat:hover .cat-label .icon { transform: translateX(0.3em); }
}

.arrivals { padding: 7rem var(--gutter) 0; }

.look {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 7.5rem;
  background: var(--stone-2);
}
.look figure { margin: 0; }
.look-main { position: relative; }
.look-main img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.look-main figcaption { padding: 0.9rem var(--gutter) 0; font-size: 0.875rem; color: var(--muted); }
.look-main figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.look-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 3rem;
  padding: 5rem clamp(1.5rem, 5vw, 5.5rem) 5rem;
}
.look-copy { max-width: 30rem; display: grid; gap: 1.5rem; justify-items: start; }
.look-copy p { font-size: 1.0625rem; color: var(--ink-2); max-width: 34ch; }
.look-second { align-self: end; justify-self: end; width: min(70%, 26rem); }
.look-second img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.look-second figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.look-second figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.story { position: relative; margin-top: 7.5rem; }
.story-media { height: min(78vh, 52vw); overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.story-panel {
  position: relative;
  margin: -9rem var(--gutter) 0;
  padding: 3rem 3rem 3.25rem;
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  grid-template-areas: 'title facts' 'lede facts';
  align-content: start;
  column-gap: clamp(2.5rem, 5vw, 6rem);
  row-gap: 1.5rem;
}
.story-panel .sec-title { grid-area: title; }
.story-lede { grid-area: lede; font-size: 1.125rem; line-height: 1.6; max-width: 36rem; }
.story-facts { grid-area: facts; display: grid; gap: 1.25rem; margin: 0; align-self: start; }
.story-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.story-facts div:first-child { border-top-color: var(--ink); }
.story-facts dt {
  font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
}
.story-facts dd { margin: 0; color: var(--ink-2); max-width: 44ch; }

.signup { padding: 7rem var(--gutter) 7.5rem; }
.signup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  align-items: end;
  gap: 1.25rem 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--ink);
}
.signup .sec-title { grid-column: 1; }
.signup-sub { grid-column: 1; color: var(--muted); font-size: 1.0625rem; }
.signup-form { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

/* ================================================================== */
/* Footer                                                              */
/* ================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding: 4.5rem var(--gutter) 2rem; }
.footer-top { display: grid; gap: 1.25rem; max-width: 34rem; }
.wordmark--footer { color: var(--paper); }
.wordmark--footer .wm { height: clamp(26px, 2.6vw, 40px); }
.footer-note { color: #c9c6c0; max-width: 40ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 14rem));
  gap: 2rem;
  margin-top: 3.5rem;
}
.footer-cols .footer-h {
  font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #a8a49d; margin-bottom: 0.75rem;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.footer-cols a { display: inline-flex; min-height: 36px; align-items: center; color: var(--paper); }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid #2c2b29;
  font-size: 0.85rem; color: #a8a49d;
}
.site-footer :focus-visible { outline-color: var(--paper); }

/* ================================================================== */
/* Overlays: scrim, drawers, search, popover, toast                    */
/* ================================================================== */
.scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim);
  background: rgb(0 0 0 / 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(28rem, 100vw);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 40px rgb(0 0 0 / 0.18);
  transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
  visibility: hidden;
}
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--ease-out), visibility 0s; }
.drawer[hidden] { display: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 0 0.5rem 0 1.5rem; border-bottom: 1px solid var(--line);
}
.drawer-title { font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.drawer-title span { font-family: var(--f-body); font-size: 1rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 0.5rem 1.5rem 1.5rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 0.9rem; }
.drawer-foot:empty { display: none; }

.cart-flash {
  margin: 0;
  display: grid;
  grid-template-rows: 0fr;
  font-size: 0.9rem;
  background: var(--stone-2);
  transition: grid-template-rows 0.4s var(--ease-out);
}
.cart-flash > span { min-height: 0; overflow: hidden; display: flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem; }
.cart-flash > span > span { padding: 0.85rem 0; }
.cart-flash.is-on { grid-template-rows: 1fr; }
.cart-flash .icon { color: var(--ok); font-size: 1.1rem; }

.line { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.line.is-new { animation: line-in 1.4s var(--ease-out); }
@keyframes line-in { from { background: var(--stone-2); } to { background: transparent; } }
.line img { width: 5.5rem; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.line-name { font-weight: 600; line-height: 1.3; }
.line-sub { font-size: 0.875rem; color: var(--muted); }
.line-price { font-weight: 500; font-variant-numeric: tabular-nums; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.6rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 40px; height: 40px; display: grid; place-items: center; font-size: 0.9rem; }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty output { min-width: 1.75rem; text-align: center; font-variant-numeric: tabular-nums; }
.line-remove { font-size: 0.85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }
.line-remove:hover { color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum-row--total { font-weight: 600; font-size: 1.1rem; }
.sum-note { font-size: 0.85rem; color: var(--muted); }
.cart-empty { display: grid; gap: 1rem; justify-items: start; padding: 2rem 0; }
.cart-empty p { color: var(--muted); }
.cart-done { display: grid; gap: 0.9rem; padding: 1.5rem 0; }
.cart-done h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.cart-done .order-no { font-variant-numeric: tabular-nums; font-weight: 600; }

.menu-body { padding-top: 1rem; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 2rem; text-transform: uppercase; color: var(--ink); line-height: 1;
}
.menu-sub { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.25rem; }
.menu-sub a, .menu-sub button, .menu-sub span { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--ink); padding: 0; }
.menu-sub span { color: var(--muted); }
.wordmark--drawer .wm { height: 18px; }

.search {
  position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-drawer);
  background: var(--paper);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.3);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  visibility: hidden;
}
.search.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease-out), visibility 0s; }
.search[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 0.75rem; max-width: 60rem; margin: 0 auto; border-bottom: 2px solid var(--ink); }
.search-form > .icon { font-size: 1.4rem; }
.search-form input { border: 0; padding: 0; font-size: 1.25rem; min-height: 60px; }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-bottom-color: var(--signal); }
.search-results { max-width: 60rem; margin: 1.25rem auto 0; }
.search-results ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.search-results a { display: grid; gap: 0.5rem; color: var(--ink); font-size: 0.9rem; }
.search-results img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--stone); }
.search-results .muted { color: var(--muted); }

.popover {
  position: fixed; z-index: var(--z-drawer);
  top: calc(var(--hdr-h) + 8px); right: var(--gutter);
  width: min(22rem, calc(100vw - 2rem));
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: grid; gap: 0.75rem;
}
.popover[hidden] { display: none; }
.popover h2 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.popover p { font-size: 0.9rem; color: var(--muted); }
.popover-close { position: absolute; top: 0.5rem; right: 0.5rem; }
.site-header.is-stuck ~ .popover { top: calc(var(--nav-h) + 8px); }

body.is-locked { overflow: hidden; }

/* ================================================================== */
/* Category page                                                       */
/* ================================================================== */
.page-head { padding: 2rem var(--gutter) 0; display: grid; gap: 1rem; }
.page-title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(3.5rem, 6.5vw, 6rem);
  line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; margin-top: 1.25rem;
}
.page-intro { max-width: 52ch; color: var(--ink-2); font-size: 1.0625rem; }
.toolbar {
  position: sticky; top: var(--nav-h); z-index: 20;
  display: grid; grid-template-columns: 17rem 1fr auto; align-items: center; gap: 1rem;
  margin-top: 2.5rem; padding: 0.75rem var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.btn-filter {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0;
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.btn-filter .icon { font-size: 1.3rem; }
.filter-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--ink); color: var(--paper); font-family: var(--f-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0;
}
.filter-count[hidden] { display: none; }
.result-count { color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.sort { display: flex; align-items: center; gap: 0.75rem; }
.sort label { font-size: 0.9rem; color: var(--muted); }

.cat-layout {
  display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 2.5rem;
  padding: 2rem var(--gutter) 7rem;
  align-items: start;
}
.filters { position: sticky; top: calc(var(--nav-h) + 5.5rem); }
.filters-head, .filters-foot { display: none; }
.f-group { border: 0; padding: 0 0 1.75rem; margin: 0 0 1.75rem; border-bottom: 1px solid var(--line); min-width: 0; }
.f-group legend {
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem; padding: 0;
}
.f-hint { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.chip, .size { position: relative; display: block; cursor: pointer; }
.chip input, .size input, .swatch input, .check input {
  position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer;
}
.chip span, .size > span:not(.visually-hidden) {
  display: grid; place-items: center; min-height: 44px;
  border: 1px solid var(--line);
  font-family: var(--f-body); font-weight: 500; font-size: 0.9rem;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.chip:hover span, .size:hover > span:first-of-type { border-color: var(--ink); }
.chip input:checked + span, .size input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span, .size input:focus-visible + span, .check input:focus-visible ~ .box, .swatch input:focus-visible + .sw {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
.swatches { display: grid; gap: 0.15rem; }
.swatch { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 40px; cursor: pointer; }
.sw { width: 22px; height: 22px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); position: relative; flex: none; }
.sw::after { content: ''; position: absolute; inset: -4px; border: 1.5px solid var(--ink); opacity: 0; transform: scale(0.8); transition: opacity 0.2s, transform 0.25s var(--ease-out); }
.swatch input:checked + .sw::after { opacity: 1; transform: none; }
.sw-label { font-size: 0.95rem; }
.checks { display: grid; gap: 0.15rem; }
.check { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 40px; cursor: pointer; font-size: 0.95rem; }
.box { width: 20px; height: 20px; border: 1.5px solid var(--ink); display: grid; place-items: center; flex: none; transition: background-color 0.2s; }
.box .icon { font-size: 14px; color: var(--paper); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.25s var(--ease-out); }
.check input:checked ~ .box { background: var(--ink); }
.check input:checked ~ .box .icon { opacity: 1; transform: none; }
.check-n { margin-left: auto; color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.results { min-width: 0; }
.results .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.25rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.active-filters[hidden] { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.7rem 0 0.9rem;
  border: 1px solid var(--ink); font-size: 0.875rem;
}
.pill .icon { font-size: 0.8rem; }
.pill:hover { background: var(--ink); color: var(--paper); }
.pill--clear { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.pill--clear:hover { background: none; color: var(--ink); }
.card.is-hidden { display: none; }
.empty, .soon { display: grid; gap: 1rem; justify-items: start; padding: 3rem 0; max-width: 34rem; }
.empty[hidden], .soon[hidden] { display: none; }
.empty h2, .soon h2 { font-family: var(--f-display); font-weight: 400; font-size: 2.75rem; line-height: 0.95; text-transform: uppercase; }
.empty p, .soon p { color: var(--ink-2); }
.soon .signup-form { width: 100%; }
.cat-page.is-soon .toolbar, .cat-page.is-soon .filters { display: none; }
.cat-page.is-soon .cat-layout { grid-template-columns: minmax(0, 1fr); }

/* ================================================================== */
/* Product page                                                        */
/* ================================================================== */
.pdp > .crumbs { padding: 1.5rem var(--gutter) 1.25rem; }
.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, 1fr);
  gap: 3.5rem;
  padding: 0 var(--gutter);
  align-items: start;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem;
  list-style: none; margin: 0; padding: 0;
}
.gallery-grid li { background: var(--stone); aspect-ratio: 2 / 3; overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid[data-count='2'] li, .gallery-grid[data-count='3'] li:first-child { grid-column: auto; }
.gallery-dots { display: none; }
.pdp-sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: 1rem; padding-bottom: 2rem; }
.pdp-title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 3.6vw, 3.75rem);
  line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance;
}
.pdp-colour { color: var(--muted); margin-top: -0.25rem; }
.pdp-price { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp-summary { color: var(--ink-2); max-width: 44ch; }
.pdp-form { display: grid; gap: 1rem; margin-top: 0.5rem; }
.size-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.size-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.size-head legend {
  float: left; padding: 0;
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.size-chosen { font-family: var(--f-body); font-weight: 400; font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 0.4rem; }
.size-head .text-link { font-size: 1rem; }
.size-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; clear: both; }
.size > span:first-of-type { min-height: 52px; font-size: 1rem; }
.size.is-out > span:first-of-type {
  color: #6f6b65; border-color: var(--line); cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px), var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.size.is-out input { cursor: not-allowed; }
.size-set.is-invalid .size > span:first-of-type { border-color: #b3261e; }
.fit-note { font-size: 0.9rem; color: var(--muted); }
.btn-add { min-height: 60px; font-size: 1.45rem; }
.btn-add.is-done { background: var(--ok); border-color: var(--ok); }
.pdp-assure { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.pdp-assure li { display: flex; gap: 0.75rem; align-items: flex-start; }
.pdp-assure .icon { font-size: 1.3rem; margin-top: 0.05rem; }
.accordions { margin-top: 1rem; border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary .icon { font-size: 1rem; transition: transform 0.35s var(--ease-out); }
.accordions summary .icon-open { display: none; }
.accordions details[open] summary .icon-closed { display: none; }
.accordions details[open] summary .icon-open { display: block; }
@supports selector(::details-content) {
  .accordions { interpolate-size: allow-keywords; }
  .accordions details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }
  .accordions details[open]::details-content { block-size: auto; }
}
.acc-body { padding: 0 0 1.25rem; display: grid; gap: 0.75rem; color: var(--ink-2); font-size: 0.95rem; }
.acc-list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }
.acc-meta { font-size: 0.85rem; color: var(--muted); }

.ctl {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem;
  margin: 7rem var(--gutter) 7.5rem; align-items: start;
}
.ctl-figure { margin: 0; background: var(--stone); }
.ctl-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.ctl.no-figure { grid-template-columns: minmax(0, 1fr); }
.ctl.no-figure .ctl-figure { display: none; }
.ctl-side .sec-title { margin-bottom: 1.5rem; }
.ctl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ctl-item {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.ctl-item img { width: 7rem; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.ctl-meta h3 { font-weight: 600; font-size: 1rem; }
.ctl-colour { color: var(--muted); font-size: 0.9rem; }
.ctl-price { font-weight: 500; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.ctl-form { display: flex; align-items: center; gap: 0.5rem; }
.ctl-onesize { font-size: 0.9rem; color: var(--muted); padding-right: 0.5rem; }

.guide {
  width: min(40rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 1.5rem 1.75rem 2rem; border: 0; border-radius: 0; color: var(--ink);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45);
}
.guide::backdrop { background: rgb(0 0 0 / 0.45); }
.guide[open] { animation: guide-in 0.4s var(--ease-out); }
@keyframes guide-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.guide-head { display: flex; justify-content: space-between; align-items: center; }
.guide-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 2.5rem; line-height: 1; text-transform: uppercase; }
.guide-sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.guide-units { display: inline-flex; margin: 1.25rem 0 1rem; border: 1px solid var(--ink); }
.guide-units button { min-width: 56px; min-height: 40px; font-weight: 600; }
.guide-units button[aria-checked='true'] { background: var(--ink); color: var(--paper); }
.guide-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.guide-table th, .guide-table td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); }
.guide-table thead th { font-family: var(--f-label); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.guide-table tbody th { font-weight: 600; }
.guide-table tr.is-mine { background: var(--stone-2); }
.guide-how { margin-top: 1.5rem; display: grid; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-2); }
.guide-how h3 { font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

/* ================================================================== */
/* Responsive                                                          */
/* ================================================================== */
@media (max-width: 1279.98px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arrivals .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .results .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
  .cats { padding-top: 4rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arrivals { padding-top: 4.5rem; }
  .arrivals .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0.75rem; }
  .look { grid-template-columns: minmax(0, 1fr); margin-top: 4.5rem; }
  .look-main img { aspect-ratio: 4 / 5; }
  .look-side { padding: 2.5rem var(--gutter) 3rem; gap: 2rem; }
  .look-second { width: 70%; }
  .story { margin-top: 4.5rem; }
  .story-media { height: 62vw; }
  .story-panel { margin: -3rem var(--gutter) 0; padding: 1.75rem 1.25rem 2rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'lede' 'facts'; }
  .story-facts div { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .signup { padding: 4.5rem var(--gutter); }
  .signup-inner { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
  .signup-form { grid-column: 1; grid-row: auto; }
  .site-footer { padding-top: 3rem; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }

  .toolbar { grid-template-columns: auto 1fr auto; top: var(--nav-h); margin-top: 1.5rem; }
  .result-count { text-align: center; }
  .sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cat-layout { grid-template-columns: minmax(0, 1fr); padding-top: 1.25rem; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: var(--z-drawer);
    width: min(24rem, 100vw);
    display: grid; grid-template-rows: auto 1fr auto;
    background: var(--paper);
    transform: translateX(-100%); visibility: hidden;
    transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--ease-out), visibility 0s; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 0.5rem 0 1.25rem; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
  .filters-form { overflow-y: auto; padding: 1.5rem 1.25rem 0; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }
  .filters-foot .btn-outline, .filters-foot .btn-solid { padding-inline: 0.5em; font-size: 1.1rem; }
  .results .card-grid { gap: 2rem 0.75rem; }

  .pdp-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 0; }
  .pdp > .crumbs { padding: 1rem var(--gutter); }
  .gallery { position: relative; }
  .gallery-grid {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid li { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .gallery-dots { display: flex; gap: 4px; justify-content: center; padding: 0.75rem 0 0; }
  .gallery-dots span { width: 28px; height: 3px; background: var(--line); transition: background-color 0.3s; }
  .gallery-dots span.is-on { background: var(--ink); }
  .pdp-info { padding: 0 var(--gutter); }
  .pdp-sticky { position: static; }
  .ctl { grid-template-columns: minmax(0, 1fr); gap: 2rem; margin: 4.5rem var(--gutter); }
  .ctl-figure img { aspect-ratio: 4 / 5; }
  .ctl-item { grid-template-columns: 5.5rem minmax(0, 1fr); row-gap: 0.75rem; }
  .ctl-item img { width: 5.5rem; grid-row: span 2; }
  .ctl-form { grid-column: 2; }
  .search-results ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .sec-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .cat-label { left: 0.85rem; bottom: 0.75rem; font-size: 1.75rem; }
  .card-name { font-size: 0.95rem; }
  .card-colour { font-size: 0.85rem; }
  .look-second { width: 82%; }
  .story-panel { margin: -2rem 0.75rem 0; }
  .field-row { flex-direction: column; gap: 0.5rem; }
  .field-row input { border-right: 2px solid var(--ink); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .toolbar { gap: 0.5rem; padding-inline: var(--gutter); }
  .result-count { font-size: 0.85rem; }
  .select select { padding-right: 2.1rem; font-size: 0.9rem; }
  .size-grid, .chips { gap: 0.3rem; }
  .guide { padding: 1.25rem 1rem 1.5rem; }
  .guide-table th, .guide-table td { padding: 0.6rem 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
