/* ============================================================
   FUCK EM' NYC — v3 "RUNWAY"
   Monochrome. Archivo Expanded display / Space Grotesk body /
   Space Mono technical layer / Bodoni Moda editorial accents.
   One geometry: the -7° wipe. Sharp corners. 1px rules.
   ============================================================ */

:root {
  --ivory: #f1efe9;
  --ivory-rgb: 241, 239, 233; /* rgba(var(--ivory-rgb), a) — one ivory, any alpha */
  --ivory-2: #e7e4dc;
  --black: #0b0b0a;
  --black-rgb: 11, 11, 10;
  --char: #232320;
  --grey: #67645c; /* AA on ivory at 10px mono — was #7b786f (3.85:1) */
  --well: #161614; /* dark-section media well */
  --error: #b3261e; /* the only chromatic color in the system */
  --line: rgba(var(--black-rgb), 0.9);
  --line-soft: rgba(var(--black-rgb), 0.14);
  --serif: "Bodoni Moda", "Didot", serif;
  --sans: "Space Grotesk", "Helvetica Neue", sans-serif;
  --disp: "Archivo", "Arial Black", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --pad: clamp(18px, 4vw, 64px);
  --nav-h: 64px;
  --angle: -7deg;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; overflow-x: clip; }

body {
  background: var(--ivory);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* links inside running copy always carry their affordance */
.pagehead p a, .twocol__txt p a, .drops p a, .pdp__body a, .empty a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* one keyboard-focus voice for the whole system */
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

/* CTA rows — one gap, no inline styles */
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; }
.btnrow--end { align-items: flex-end; gap: 16px; }

::selection { background: var(--black); color: var(--ivory); }

/* type utilities */
.disp {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.9;
}
.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.mono b { color: var(--black); font-weight: 700; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 500; }

h1, h2, h3 {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.9;
}
h1 em, h2 em, h3 em, .disp em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-stretch: normal;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
  transition: color 0.4s ease;
}
.outline:hover { color: var(--black); }

/* ---------------- top bar ---------------- */
.topbar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
  background: var(--black);
  overflow: hidden;
  white-space: nowrap;
}
.topbar span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(var(--ivory-rgb),0.75); }
.topbar span b { color: var(--ivory); font-weight: 400; }
.topbar a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: rgba(var(--ivory-rgb), 0.35);
  text-underline-offset: 3px;
}
.topbar a:hover { text-decoration-color: var(--ivory); }
@media (max-width: 780px) {
  .topbar { justify-content: center; }
  .topbar span:nth-child(1), .topbar span:nth-child(2) { display: none; }
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  background: rgba(var(--ivory-rgb), 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); margin-left: auto; }
.nav__links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--char);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--black);
  transition: right 0.3s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.nav__cta {
  background: var(--black);
  color: var(--ivory);
  padding: 9px 20px;
}
.nav__links a.nav__cta::after { display: none; }
.nav__burger { display: none; }
@media (max-width: 780px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 16px var(--pad); border-top: 1px solid var(--line-soft); }
  .nav__burger {
    display: block;
    margin-left: auto;
    padding: 14px;
    margin-right: -14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h) - 30px); /* fallback */
  height: calc(100svh - var(--nav-h) - 30px);
  min-height: 580px;
  overflow: hidden;
  background: var(--black);
}
.hero__media { position: absolute; inset: -6% 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: grayscale(1) contrast(1.06) brightness(0.85);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.05) 46%, rgba(5,5,5,0.3) 100%);
}
.hero__hud {
  position: absolute;
  top: 22px; left: var(--pad); right: var(--pad);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hero__hud span, .hero__hud a { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(var(--ivory-rgb),0.85); text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
@media (max-width: 780px) { .hero__hud span:nth-child(2) { display: none; } }
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: var(--pad);
  padding-bottom: clamp(30px, 4.5vw, 64px);
  color: var(--ivory);
}
.hero__title {
  font-size: clamp(52px, 11.5vw, 176px);
  color: var(--ivory);
  margin-bottom: 22px;
}
.hero__title em { color: var(--ivory); }
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__sub {
  font-size: 15px;
  max-width: 44ch;
  color: rgba(var(--ivory-rgb),0.85);
}
/* the atelier portal opens on the garment, not the crowd */
.hero--atelier .hero__media img { object-position: center 45%; }


/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ivory);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:hover { background: transparent; color: var(--ivory); }
.btn--ink { background: var(--black); color: var(--ivory); border-color: var(--black); }
.btn--ink:hover { background: transparent; color: var(--black); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(var(--ivory-rgb),0.45); }
.btn--ghost:hover { border-color: var(--ivory); background: var(--ivory); color: var(--black); }
.btn--ghost-ink { background: transparent; color: var(--black); border-color: rgba(var(--black-rgb),0.4); }
.btn--ghost-ink:hover { border-color: var(--black); background: var(--black); color: var(--ivory); }

/* ---------------- big marquee ---------------- */
.bigmq {
  padding: clamp(26px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.bigmq .mq__track span {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.01em;
  padding-right: 0.5em;
}
.bigmq .mq__track span.outline { -webkit-text-stroke: 2px var(--black); }
.bigmq .mq__track em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-stretch: normal;
}

/* ---------------- section head ---------------- */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 90px) var(--pad) clamp(24px, 3vw, 44px);
  flex-wrap: wrap;
}
.shead h2 { font-size: clamp(38px, 6vw, 96px); }
.shead .mono { display: block; margin-bottom: 14px; }
.shead__more {
  font-family: var(--mono);
  font-size: 10px;
  padding-top: 12px;
  margin-top: -12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  margin-bottom: 8px;
  white-space: nowrap;
}
.shead__more:hover { color: var(--grey); border-color: var(--grey); }

/* ---------------- RUNWAY: pinned horizontal archive ---------------- */
.runway { background: var(--black); color: var(--ivory); overflow: hidden; }
.runway__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.runway__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px var(--pad) 18px;
}
.runway__head h2 { font-size: clamp(26px, 3.6vw, 54px); color: var(--ivory); }
.runway__head .mono { color: rgba(var(--ivory-rgb),0.55); }
.runway__track {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--pad);
  will-change: transform;
  align-items: center;
}
.rw-card { flex: 0 0 clamp(280px, 30vw, 460px); position: relative; }
.rw-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--well);
}
.rw-card__media img {
  position: absolute; inset: -8% 0;
  width: 100%; height: 116%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
  will-change: transform;
}
.rw-card:hover .rw-card__media img { filter: grayscale(0); }
.rw-card__num {
  position: absolute;
  top: -22px; right: -6px;
  z-index: 3;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(44px, 5vw, 76px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--ivory-rgb),0.8);
  pointer-events: none;
}
.rw-card__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.rw-card__meta h3 { font-size: 13px; color: var(--ivory); }
.rw-card__meta .mono { color: rgba(var(--ivory-rgb),0.5); white-space: nowrap; }
.rw-card__meta .gone { color: var(--ivory); border: 1px solid rgba(var(--ivory-rgb),0.4); padding: 2px 7px; }
.rw-end {
  flex: 0 0 clamp(320px, 34vw, 520px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.rw-end h3 { font-size: clamp(24px, 2.6vw, 40px); color: var(--ivory); }
.rw-end h3 em { color: var(--ivory); }
.rw-end p { font-size: 13px; color: rgba(var(--ivory-rgb),0.7); max-width: 40ch; }
.runway__bar {
  height: 1px;
  background: rgba(var(--ivory-rgb),0.2);
  margin: 26px var(--pad) 20px;
  position: relative;
}
.runway__bar i {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: 0%;
  background: var(--ivory);
}

/* ---------------- seen on (co-sign wall) ---------------- */
.seenon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.seenon__grid a {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--ivory-2);
}
.seenon__grid a:last-child { border-right: 0; }
.seenon__grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease, transform 0.9s ease;
}
.seenon__grid a:hover img { filter: grayscale(0); transform: scale(1.03); }
.seenon__grid span {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--black);
  color: var(--ivory);
}
.seenon__names {
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--char);
  padding: 22px var(--pad);
  border-top: 1px solid var(--line-soft);
}
.seenon__names b { color: var(--grey); font-weight: 400; }
@media (max-width: 700px) {
  .seenon__grid { grid-template-columns: 1fr; }
  .seenon__grid a { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
}

/* manifesto signature */
.manifesto__sign {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(var(--ivory-rgb),0.55);
}

/* ---------------- WORLD chapter ---------------- */
.world {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.world__img {
  border-right: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  min-height: 72vh;
}
.world__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.world__txt { padding: clamp(40px, 6vw, 100px); align-self: center; }
.world__txt h3 { font-size: clamp(30px, 4vw, 60px); margin: 18px 0 24px; }
.world__txt p { color: var(--char); font-size: 14px; max-width: 52ch; margin-bottom: 14px; }
.world__stats {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  margin: 30px 0;
  flex-wrap: wrap;
}
.world__stats div b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .world { grid-template-columns: 1fr; }
  .world__img { border-right: 0; border-bottom: 1px solid var(--line); min-height: 54vh; }
}

/* ---------------- manifesto ---------------- */
.manifesto {
  background: var(--black);
  color: var(--ivory);
  padding: clamp(70px, 11vw, 170px) var(--pad);
  text-align: center;
}
.manifesto .mono { display: block; margin-bottom: 30px; color: rgba(var(--ivory-rgb),0.5); }
.manifesto blockquote {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(26px, 4.8vw, 76px);
  line-height: 1.02;
  max-width: 20ch;
  margin: 0 auto;
  color: var(--ivory);
}
.manifesto blockquote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-stretch: normal;
}
.manifesto .btn { margin-top: 44px; }

/* ---------------- drops signup band ---------------- */
.drops {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(36px, 5vw, 70px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.drops h3 { font-size: clamp(24px, 3.4vw, 52px); }
.drops p { font-size: 13px; color: var(--grey); margin-top: 8px; max-width: 46ch; }

/* ---------------- footer ---------------- */
.footer { background: var(--black); color: var(--ivory); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: clamp(44px, 6vw, 84px) var(--pad);
}
.footer h4 { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(var(--ivory-rgb),0.6); margin-bottom: 18px; }
.footer a { display: block; font-size: 13px; padding: 5px 0; color: rgba(var(--ivory-rgb),0.75); }
.footer a:hover { color: var(--ivory); }
.footer__brand p { font-size: 13px; color: rgba(var(--ivory-rgb),0.6); max-width: 320px; margin-top: 14px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 18px var(--pad);
  border-top: 1px solid rgba(var(--ivory-rgb),0.12);
}
.footer__bottom span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--ivory-rgb),0.6); }
.footer a.footer__wordmark,
.footer__wordmark {
  display: block;
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(54px, 13.5vw, 220px);
  line-height: 0.95;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--ivory-rgb),0.25);
  padding: 10px 8px 0;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.6s ease;
}
.footer__wordmark:hover { color: rgba(var(--ivory-rgb),0.9); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------------- interior page head ---------------- */
.pagehead {
  padding: clamp(52px, 8vw, 120px) var(--pad) clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.pagehead .mono { display: block; margin-bottom: 16px; }
.pagehead h1 { font-size: clamp(44px, 9vw, 150px); }
.pagehead p { max-width: 58ch; margin-top: 20px; color: var(--char); font-size: 14px; }

/* ---------------- shop grid ---------------- */
/* shorts lab banner */
.labbanner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px var(--pad);
  background: var(--black);
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.labbanner .mono {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.6);
  white-space: nowrap;
}
.labbanner .mono b { color: var(--ivory); }
.labbanner__line {
  flex: 1;
  font-size: 13px;
  color: rgba(var(--ivory-rgb), 0.85);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.labbanner__cta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.labbanner:hover .labbanner__cta { text-decoration-thickness: 2px; }
@media (max-width: 900px) {
  .labbanner__line { display: none; }
  .labbanner { justify-content: space-between; }
}

.filters {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: flex;
  align-items: center;
  overflow-x: auto;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  padding: 0 calc(var(--pad) - 14px);
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  padding: 15px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--grey);
  transition: color 0.15s;
}
.filters button:hover { color: var(--black); }
.filters button.is-on { color: var(--black); text-decoration: underline; text-underline-offset: 6px; }
.filters .spacer { flex: 1; min-width: 12px; padding: 0; }
.filters select {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--black);
  border: 0;
  padding: 15px 14px;
  cursor: pointer;
}
@media (max-width: 780px) {
  /* wrap the sort select onto its own row so it's never clipped off-screen */
  .filters { flex-wrap: wrap; overflow-x: hidden; }
  .filters .spacer { flex: 0 0 100%; min-width: 0; }
  .filters select { margin-left: auto; padding-top: 4px; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 44vw), 1fr));
}
.card {
  position: relative;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(14px, 1.6vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__idx { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--grey); display: flex; justify-content: space-between; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-2);
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__media img.alt { opacity: 0; }
.card:hover .card__media img.alt { opacity: 1; }
.card:hover .card__media img.main { transform: scale(1.04); }
.card__body { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.card__title { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.35; }
.card__price { font-family: var(--mono); font-size: 11px; white-space: nowrap; color: var(--char); }
.card--sold .card__media img { filter: grayscale(1); opacity: 0.72; transition: opacity 0.4s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease; }
.card--sold:hover .card__media img { filter: grayscale(0); opacity: 1; }
.card--sold .card__price { text-decoration: line-through; color: var(--grey); }
.gonechip {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: var(--ivory);
  border: 1px solid var(--black);
}
.newchip {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: var(--black);
  color: var(--ivory);
}
.empty {
  grid-column: 1 / -1;
  padding: 80px var(--pad);
  text-align: center;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------------- product detail ---------------- */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  border-bottom: 1px solid var(--line);
}
.pdp__gallery {
  border-right: 1px solid var(--line);
  position: sticky;
  top: var(--nav-h);
  align-self: start;
}
.pdp__main { position: relative; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__gallery, .pdp__info { min-width: 0; }
.pdp__thumbs { display: flex; overflow-x: auto; max-width: 100%; border-top: 1px solid var(--line); scrollbar-width: thin; }
.pdp__thumbs button {
  flex: 0 0 76px; height: 76px;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  opacity: 0.45;
  transition: opacity 0.15s;
  padding: 0;
}
.pdp__thumbs button:hover, .pdp__thumbs button.is-on { opacity: 1; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { padding: clamp(28px, 3.6vw, 56px); }
.pdp__info h1 { font-size: clamp(30px, 3.6vw, 52px); margin: 14px 0 16px; }
.pdp__price { font-family: var(--mono); font-size: 16px; }
.pdp__price .soldout {
  margin-left: 12px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 5px 9px;
  vertical-align: 2px;
}
.pdp__opts { margin: 26px 0 4px; }
.pdp__opts h3 { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.pdp__variants { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.pdp__variants span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  color: var(--char);
}
.pdp__variants span.off { color: var(--grey); text-decoration: line-through; opacity: 0.7; }
.pdp__body { margin-top: 24px; font-size: 14px; color: var(--char); }
.pdp__body p { margin-bottom: 10px; }
.pdp__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.pdp__cta .btn { width: 100%; padding: 18px; }
.pdp__assure { margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 18px; display: grid; gap: 8px; }
.pdp__assure span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--char); }
.pdp__assure span::before { content: "—"; color: var(--grey); margin-right: 10px; }
.pdp__pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.pdp__pn a { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.pdp__pn a:hover { color: var(--black); }
.pdp__pn a:last-child { text-align: right; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { border-right: 0; border-bottom: 1px solid var(--line); position: static; }
}

/* ---------------- THE REGISTRY: placed 1-of-1 ledger ---------------- */
.registry-page { background: var(--black); }
.registry-page .pagehead { border-bottom-color: rgba(var(--ivory-rgb), 0.22); }
.registry-page .pagehead .mono { color: rgba(var(--ivory-rgb), 0.55); }
.registry-page .pagehead .mono b { color: var(--ivory); }
.registry-page .pagehead h1, .registry-page .pagehead h1 em { color: var(--ivory); }
.registry-page .pagehead p { color: rgba(var(--ivory-rgb), 0.7); }
.registry { color: var(--ivory); }
.reg-row {
  display: grid;
  grid-template-columns: clamp(90px, 12vw, 160px) clamp(64px, 7vw, 96px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: 14px var(--pad);
  border-bottom: 1px solid rgba(var(--ivory-rgb), 0.14);
  transition: background 0.25s ease;
}
.reg-row:hover { background: var(--well); }
.reg-row__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 34px);
  color: rgba(var(--ivory-rgb), 0.55);
  white-space: nowrap;
}
.reg-row:hover .reg-row__num { color: var(--ivory); }
.reg-row__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--well);
}
.reg-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
}
.reg-row:hover .reg-row__media img { filter: grayscale(0); }
.reg-row__title {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 0.01em;
  min-width: 0;
}
.reg-row__state {
  color: var(--ivory);
  border: 1px solid rgba(var(--ivory-rgb), 0.4);
  padding: 4px 10px;
  white-space: nowrap;
}
.registry .empty { color: rgba(var(--ivory-rgb), 0.6); }
.registry__end {
  padding: clamp(40px, 6vw, 80px) var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ivory);
}
.registry__end p { font-size: 13px; color: rgba(var(--ivory-rgb), 0.7); max-width: 48ch; }
@media (max-width: 640px) {
  .reg-row { grid-template-columns: auto clamp(64px, 18vw, 96px) 1fr; }
  .reg-row__state { display: none; }
}

/* ---------------- lookbook ---------------- */
.masonry { columns: 3; gap: 0; }
.masonry a {
  display: block;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--ivory-2);
}
.masonry img {
  width: 100%;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.5s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.masonry a:hover img { filter: grayscale(0); transform: scale(1.02); }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }

/* ---------------- world page two-col ---------------- */
.twocol { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.twocol__img { border-right: 1px solid var(--line); overflow: hidden; }
.twocol__img img { width: 100%; height: 100%; object-fit: cover; min-height: 58vh; filter: grayscale(1) contrast(1.05); transition: filter 0.6s; }
.twocol:hover .twocol__img img { filter: grayscale(0.15); }
.twocol__txt { padding: clamp(36px, 5vw, 80px); align-self: center; }
.twocol__txt h2 { font-size: clamp(26px, 3.2vw, 44px); margin-bottom: 24px; }
.twocol__txt p { margin-bottom: 15px; color: var(--char); max-width: 54ch; font-size: 14px; }
.twocol__txt strong { color: var(--black); }
.twocol--flip .twocol__img { order: 2; border-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .twocol { grid-template-columns: 1fr; }
  .twocol__img { border-right: 0; border-bottom: 1px solid var(--line); }
  .twocol--flip .twocol__img { order: 0; border-left: 0; }
}

/* ---------------- shorts builder (The Lab) ---------------- */
.builder {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
  border-bottom: 1px solid var(--line);
}
.builder__stage {
  border-right: 1px solid var(--line);
  position: sticky;
  top: var(--nav-h);
  align-self: start;
}
.builder__preview {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ivory-2);
  overflow: hidden;
}
.builder__preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.builder__preview img.on { opacity: 1; }
.builder__readout {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.builder__readout b { font-weight: 700; }
.builder__panel { padding: clamp(24px, 3vw, 48px); }
.builder__panel h1 { font-size: clamp(30px, 3.6vw, 50px); margin: 12px 0 8px; }
.builder__panel > p { font-size: 13px; color: var(--char); max-width: 46ch; margin-bottom: 8px; }
.b-step { margin-top: 26px; }
.b-step h3 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.b-step h3 b { color: var(--black); font-weight: 700; }
.b-washes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.b-washes button {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  padding: 0;
  transition: border-color 0.15s;
}
.b-washes button img { width: 100%; height: 100%; object-fit: cover; }
.b-washes button span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 2px;
  background: rgba(var(--ivory-rgb),0.9);
  text-align: center;
}
.b-washes button.on { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.b-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.b-chips button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 13px;
  border: 1px solid var(--line-soft);
  color: var(--char);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.b-chips button:hover { border-color: var(--black); }
.b-chips button.on { background: var(--black); color: var(--ivory); border-color: var(--black); }
.b-chips button.off { color: var(--grey); text-decoration: line-through; opacity: 0.55; pointer-events: none; }
.builder__cta { margin-top: 34px; display: flex; flex-direction: column; gap: 10px; }
.builder__cta .btn { width: 100%; padding: 18px; }
.builder__note { margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 16px; display: grid; gap: 8px; }
.builder__note span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--char); }
.builder__note span::before { content: "—"; color: var(--grey); margin-right: 10px; }
@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .builder__stage { border-right: 0; border-bottom: 1px solid var(--line); position: static; }
  .b-washes { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------- private commissions ---------------- */
.cform { max-width: 860px; margin: 0 auto; padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.cform .b-step { margin-top: 42px; }
.c-canvas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c-canvas button {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  padding: 0;
  transition: border-color 0.2s;
}
.c-canvas button img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.4s ease, transform 0.8s ease;
}
.c-canvas button:hover img, .c-canvas button.on img { filter: grayscale(0); }
.c-canvas button.on { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.c-canvas button span {
  position: absolute;
  left: 0; bottom: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--black);
  color: var(--ivory);
}
.c-fields { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
.c-fields label { display: block; }
.c-fields label span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.c-fields input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 8px 0 10px;
  outline: none;
  border-radius: 0;
  color: var(--black);
}
.c-fields input:focus { border-bottom-width: 2px; }
.c-fields input.err { border-color: var(--error); }
.c-time { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-time button {
  text-align: left;
  border: 1px solid var(--line-soft);
  padding: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.c-time button.on { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); background: rgba(var(--black-rgb), 0.03); }
.c-time b {
  display: block;
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 6px;
}
.c-time small { display: block; font-size: 12px; color: var(--char); line-height: 1.5; }
.c-time .c-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 4px 8px;
}
.cform__cta { margin-top: 44px; display: grid; gap: 10px; }
.cform__cta .btn { width: 100%; padding: 18px; }
.cform__fine { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--grey); line-height: 1.8; }
.c-done { text-align: center; padding: clamp(60px, 10vw, 140px) var(--pad); }
.c-done h2 { font-size: clamp(30px, 5vw, 64px); margin: 16px 0 18px; }
.c-done p { color: var(--char); font-size: 14px; max-width: 48ch; margin: 0 auto 26px; }
@media (max-width: 700px) {
  .c-canvas { grid-template-columns: 1fr; }
  .c-canvas button { aspect-ratio: 16 / 7; }
  .c-fields, .c-time { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .rw-card__media img { transition: none !important; }
}

/* ============================================================
   Conversion additions — variant selection, claim bar,
   drop list, footer policies, atelier micro-line
   ============================================================ */

/* selectable variants (PDP) — mirrors the display spans */
.pdp__variants button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  color: var(--char);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pdp__variants button:hover { border-color: var(--black); }
.pdp__variants button.is-on { background: var(--black); border-color: var(--black); color: var(--ivory); }

/* one-of-one size fact line */
.pdp__fact { display: block; margin-top: 20px; }

/* sticky claim bar — mobile only, slides in when the CTA leaves view */
.claimbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 0 var(--pad);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 54px;
  background: var(--black);
  color: var(--ivory);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.claimbar.show { transform: none; }
.claimbar__name { min-width: 0; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.claimbar__price { font-family: var(--mono); font-size: 11px; color: rgba(var(--ivory-rgb), 0.7); white-space: nowrap; }
.claimbar a {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--black);
  padding: 11px 20px;
  white-space: nowrap;
}
.claimbar a:hover { background: var(--ivory); }
@media (max-width: 900px) { .claimbar { display: flex; } }
@media (prefers-reduced-motion: reduce) { .claimbar { transition: none; } }

/* the drop list — email capture, no discounts */
.droplist { margin-top: 26px; width: 100%; max-width: 420px; }
.droplist__kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.droplist__row { display: flex; border: 1px solid var(--line); background: transparent; }
.droplist input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 14px;
}
.droplist input[type="email"]::placeholder { color: var(--grey); }
.droplist__row:focus-within { outline: 1px solid var(--black); outline-offset: 2px; }
.droplist button {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--ivory);
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.droplist button:hover { background: var(--char); }
.pdp__info .droplist { margin-top: 18px; }
.drops .droplist { margin-top: 0; min-width: 280px; }

/* slim-footer policy line */
.footer__policies {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  padding: 0 var(--pad) 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.4);
}
.footer .footer__policies a { display: inline; padding: 0; font-size: 9px; color: rgba(var(--ivory-rgb), 0.55); }
.footer .footer__policies a:hover { color: var(--ivory); }

/* atelier card micro-line */
.card__once {
  margin-top: -6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------------- store/atelier mode ---------------- */
.modeswitch {
  display: inline-flex;
  border: 1px solid var(--line);
}
.modeswitch a {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  color: var(--grey);
}
.modeswitch a.is-on { background: var(--black); color: var(--ivory); }
.modeswitch a:not(.is-on):hover { color: var(--black); }
@media (max-width: 780px) {
  .modeswitch { margin: 12px var(--pad); align-self: flex-start; }
}

/* the atelier teaser band on the store homepage */
.atelierband {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  background: var(--black);
  color: var(--ivory);
  padding: clamp(50px, 8vw, 120px) var(--pad);
}
.atelierband__imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.atelierband__imgs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
}
.atelierband__imgs img:nth-child(2) { transform: translateY(clamp(12px, 2vw, 34px)); }
.atelierband:hover .atelierband__imgs img { filter: grayscale(0.1); }
.atelierband__txt .mono { display: block; margin-bottom: 14px; color: rgba(var(--ivory-rgb),0.55); }
.atelierband__txt h2 { font-size: clamp(38px, 5.5vw, 84px); margin-bottom: 18px; }
.atelierband__txt p { color: rgba(var(--ivory-rgb),0.8); font-size: 14px; max-width: 46ch; margin-bottom: 26px; }
@media (max-width: 860px) {
  .atelierband { grid-template-columns: 1fr; }
  .atelierband__txt { order: -1; }
}

/* cross-document view transitions live inline on index/atelier only —
   scoping the crossfade to the store↔atelier swap keeps every other
   navigation transition-free (and the console free of skip noise) */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* anchor landings clear the sticky nav */
section[id], a[id], div[id].grid { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* ---------------- atelier chrome — you can feel which side you're on ---------------- */
.nav, .filters { transition: background-color 0.35s ease, border-color 0.35s ease; }
.mode-atelier .nav {
  background: rgba(var(--black-rgb), 0.92);
  border-bottom-color: rgba(var(--ivory-rgb), 0.22);
}
.mode-atelier .nav__brand { color: var(--ivory); }
.mode-atelier .nav__links a { color: rgba(var(--ivory-rgb), 0.78); }
.mode-atelier .nav__links a::after { background: var(--ivory); }
.mode-atelier .nav__links a.nav__cta { background: var(--ivory); color: var(--black); }
.mode-atelier .nav__burger { color: var(--ivory); }
@media (max-width: 780px) {
  .mode-atelier .nav__links { background: var(--black); }
  .mode-atelier .nav__links a { border-top-color: rgba(var(--ivory-rgb), 0.12); }
}
.mode-atelier .modeswitch { border-color: rgba(var(--ivory-rgb), 0.35); }
.mode-atelier .modeswitch a { color: rgba(var(--ivory-rgb), 0.5); }
.mode-atelier .modeswitch a.is-on { background: var(--ivory); color: var(--black); }
.mode-atelier .modeswitch a:not(.is-on):hover { color: var(--ivory); }
.mode-atelier .filters {
  background: var(--black);
  border-bottom-color: rgba(var(--ivory-rgb), 0.22);
}
.mode-atelier .filters button { color: rgba(var(--ivory-rgb), 0.5); }
.mode-atelier .filters button:hover, .mode-atelier .filters button.is-on { color: var(--ivory); }
.mode-atelier .filters select { background: var(--black); color: var(--ivory); }
/* serif money — the quiet tell */
.mode-atelier .card__price { font-family: var(--serif); font-style: italic; font-size: 14.5px; }
.mode-atelier .pagehead .mono { letter-spacing: 0.34em; }

/* ---------------- skeleton cards — the grid never renders blank ---------------- */
.card-ghost {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}
.card-ghost i {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--ivory-2);
  animation: ghostpulse 1.1s ease-in-out infinite;
}
.card-ghost b { display: block; height: 44px; }
@keyframes ghostpulse { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .card-ghost i { animation: none; } }

/* iOS focus-zoom guard — form text hits 16px where the thumb rules */
@media (max-width: 780px) {
  .droplist input[type="email"] { font-size: 16px; }
  .filters select { font-size: 16px; }
}

/* ---------------- THE BAG: slide-over drawer ---------------- */
html.bag-open { overflow: hidden; }
.bagdrawer { position: fixed; inset: 0; z-index: 300; }
.bagdrawer__scrim {
  position: absolute; inset: 0;
  background: rgba(var(--black-rgb), 0.55);
  backdrop-filter: blur(2px);
}
.bagdrawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--ivory);
  border-left: 1px solid rgba(var(--ivory-rgb), 0.18);
  animation: bagslide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bagslide { from { transform: translateX(40px); opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .bagdrawer__panel { animation: none; } }
.bagdrawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(var(--ivory-rgb), 0.14);
}
.bagdrawer__head .mono, .bagdrawer__foot .mono { color: rgba(var(--ivory-rgb), 0.6); }
.bagdrawer__head .mono b, .bagdrawer__foot .mono b { color: var(--ivory); }
.bagdrawer__close {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 8px 0 8px 16px;
}
.bagdrawer__items { flex: 1; overflow-y: auto; padding: 6px 22px; }
.bagdrawer__empty {
  padding: 70px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.55);
  line-height: 2.2;
}
.bagrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--ivory-rgb), 0.1);
}
.bagrow--gone { opacity: 0.55; }
.bagrow__media { flex: 0 0 56px; }
.bagrow__media img { width: 56px; height: 70px; object-fit: cover; background: var(--well); }
.bagrow__body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.bagrow__title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.bagrow__variant { font-size: 9px; color: rgba(var(--ivory-rgb), 0.55); }
.bagrow__qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid rgba(var(--ivory-rgb), 0.3); width: max-content; }
.bagrow__qty button { width: 26px; height: 24px; color: var(--ivory); font-size: 13px; line-height: 1; }
.bagrow__qty span { min-width: 22px; text-align: center; font-family: var(--mono); font-size: 11px; }
.bagrow__side { display: grid; justify-items: end; gap: 8px; }
.bagrow__side .mono { color: var(--ivory); font-size: 11px; }
.bagrow__remove { color: rgba(var(--ivory-rgb), 0.5); font-size: 15px; padding: 2px 4px; }
.bagrow__remove:hover { color: var(--ivory); }
.bagdrawer__foot {
  padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(var(--ivory-rgb), 0.14);
  display: grid;
  gap: 12px;
}
.bagdrawer__ship { font-size: 9px; letter-spacing: 0.14em; }
.bagdrawer__ship:empty { display: none; }
.bagdrawer__row { display: flex; justify-content: space-between; font-size: 11px; }
.bagdrawer__row b { font-size: 14px; }
.bagdrawer__checkout { width: 100%; padding: 17px; }
.bagdrawer__fine { font-size: 8px; letter-spacing: 0.12em; text-align: center; color: rgba(var(--ivory-rgb), 0.45); }

/* bag: optional shipping protection toggle */
.bagdrawer__protect {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(var(--ivory-rgb), 0.22);
  background: rgba(var(--ivory-rgb), 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bagdrawer__protect:hover { border-color: rgba(var(--ivory-rgb), 0.5); }
.bagdrawer__protect.is-on { border-color: var(--ivory); background: rgba(var(--ivory-rgb), 0.07); }
.bagdrawer__protect input {
  appearance: none;
  width: 17px; height: 17px;
  margin-top: 1px;
  border: 1px solid rgba(var(--ivory-rgb), 0.55);
  background: transparent center / 13px no-repeat;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.bagdrawer__protect input:hover { border-color: var(--ivory); }
.bagdrawer__protect input:checked {
  background-color: var(--ivory);
  border-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.6 6.6 12 12.8 4.6' fill='none' stroke='%230b0b0a' stroke-width='2.2'/%3E%3C/svg%3E");
}
.bagdrawer__protect-txt { display: grid; gap: 5px; min-width: 0; }
.bagdrawer__protect-txt .mono { color: rgba(var(--ivory-rgb), 0.85); letter-spacing: 0.12em; }
.bagdrawer__protect-txt .mono b { color: var(--ivory); }
.bagdrawer__protect-sub {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(var(--ivory-rgb), 0.55);
}
