/* ==========================================================================
   PREACH CLOSET - storefront styles. Tokens live in tokens.css.
   ========================================================================== */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--fs-body)/var(--lh-body) var(--font-body); font-stretch: var(--stretch-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--fg); color: var(--bg); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-4); }

/* ---------- type voices ---------- */
.loud {
  word-spacing: .08em;
  font-family: var(--font-loud); font-weight: 900; font-stretch: var(--stretch-loud);
  line-height: var(--lh-loud); letter-spacing: var(--track-loud); text-transform: lowercase; margin: 0;
}
.tender { font-family: var(--font-tender); font-weight: 400; font-size: var(--fs-script); line-height: 1.05; color: var(--accent); margin: 0; }
.meta { font-size: var(--fs-sm); color: var(--fg-muted); }
.price { font-variant-numeric: tabular-nums; font-weight: 600; }
.price s { color: var(--fg-faint); font-weight: 400; margin-right: .4em; }
.price .now-sale { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.6em; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), border-color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-press, var(--accent)); }
.btn--ghost { border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn--block { width: 100%; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; font-weight: 600; font-size: var(--fs-sm); }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.hdr {
  position: absolute; inset: 0 0 auto 0; z-index: var(--z-header);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6);
  padding: var(--s-5) var(--gutter);
}
.hdr__logo img { height: 30px; width: auto; }
.hdr__nav { display: flex; gap: var(--s-5); }
.hdr__nav a, .hdr__tools a, .hdr__tools button { text-decoration: none; font-size: var(--fs-sm); font-weight: 600; }
.hdr__nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hdr__tools { display: flex; align-items: center; gap: var(--s-4); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: none; border: 0; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.bag-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 1.1em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: none; cursor: pointer; }
.bag-btn .count { font-variant-numeric: tabular-nums; }
.hdr__menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(100svh, 640px); overflow: hidden;
  display: grid; grid-template-columns: 7fr 5fr;
}
.hero__photo {
  position: absolute; top: 0; bottom: 0; right: 0; width: calc(41.6667% + 10vw);
  display: flex; justify-content: flex-end; align-items: flex-end; gap: 2px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero__walk { flex: 0 0 auto; height: 100%; }
.hero__photo::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 28%; background: linear-gradient(180deg, var(--ink-900), transparent); pointer-events: none; }
.hero__walk, .hero__walk img { display: block; height: 100%; width: auto; aspect-ratio: 480 / 1600; object-fit: cover; }
.hero__copy {
  grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-5);
  padding: calc(var(--s-9) + 2.25rem) var(--gutter) clamp(2.5rem, 8vh, 5.5rem);
}
.hero__lead { max-width: 30ch; color: var(--fg-muted); font-size: var(--fs-body); margin: 0; }
.hero__lead a { color: var(--fg); }
.hero .loud { font-size: var(--fs-mega); white-space: nowrap; }
.hero .tender { margin-bottom: -.35em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }

/* ---------- AW26 colourway band ---------- */
.band { padding: var(--section-y) var(--gutter); }
.drop { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: end; }
.drop__stage { position: relative; aspect-ratio: 4 / 5; background: var(--bg-raised); border-radius: var(--r-md); overflow: hidden; }
.drop__stage { background: var(--bone-100); }
.drop__stage img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; } /* white studio wall -> bone: grades every product shot to the page */
.drop__info { display: flex; flex-direction: column; gap: var(--s-5); padding-bottom: var(--s-4); }
.drop__info .loud { font-size: var(--fs-xl); }
.drop__verse { margin: 0; }
.drop__verse cite { display: block; font: 600 var(--fs-xs)/1.4 var(--font-body); color: var(--fg-muted); font-style: normal; margin-top: var(--s-2); }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s-3); padding: 0; margin: 0; list-style: none; }
.swatch {
  width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); cursor: pointer;
  background: var(--c); position: relative; transition: transform var(--t-fast) var(--ease-out);
}
.swatch:active { transform: scale(.94); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--fg); }
.sizes { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; margin: 0; padding: 0; }
.sizes legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s-3); padding: 0; }
.size {
  min-width: 52px; min-height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
}
.size[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.size:disabled { color: var(--fg-faint); text-decoration: line-through; cursor: not-allowed; }
.drop__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; color: var(--fg-muted); font-size: var(--fs-sm); }

/* ---------- entrance (one orchestrated moment: the hero) ---------- */
.js .reveal-line { display: block; overflow: hidden; }
.js .reveal-line > span { display: block; transform: translateY(105%); }
.js.is-loaded .reveal-line > span { transform: none; transition: transform var(--t-slow) var(--ease-expo); }
.js.is-loaded .reveal-line:nth-child(2) > span { transition-delay: 90ms; }
.js .hero__walk { transform: translateY(3%); opacity: 0; }
.js.is-loaded .hero__walk { transform: none; opacity: 1; transition: transform 1.6s var(--ease-expo), opacity 1.2s var(--ease-out); }
.js.is-loaded .hero__walk:nth-child(2) { transition-delay: 120ms; }
.js.is-loaded .hero__walk:nth-child(3) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal-line > span, .js .hero__walk { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hdr { grid-template-columns: auto 1fr auto; gap: var(--s-3); padding: var(--s-4) var(--gutter); }
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-grid; }
  .hdr__logo { justify-self: center; grid-column: 2; }
  .hdr__logo img { height: 24px; }
  .hdr__tools .icon-btn--search, .hdr__tools .icon-btn--account { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero__photo { width: auto; inset: 0 0 44% 0; justify-content: center;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero__walk--side { display: none; }
  .hero__photo .hero__walk { width: 100%; aspect-ratio: auto; }
  .hero__photo .hero__walk img { width: 100%; object-position: 50% 42%; aspect-ratio: auto; }
  .hero__photo::after { height: 22%; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .hero__copy { padding-bottom: var(--s-6); }
  .hero .loud { font-size: clamp(4.5rem, 24vw, 7rem); }
  .drop { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SHELL: announcement, header modes, footer
   ========================================================================== */
.ann { background: var(--bg); color: var(--fg); text-align: center; font-size: var(--fs-xs); font-weight: 600; line-height: 1.25rem; padding: .5rem var(--gutter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: calc(var(--z-header) + 1); }
.ann p { margin: 0; }
.hdr--solid { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding-block: var(--s-3); }
.hdr--over { color: var(--bone-100); }
.tone-ink .ann + .hdr--over { top: 2.25rem; }
.hdr--over .bag-btn { border-color: rgb(234 229 220 / .32); }
html.is-locked { overflow: hidden; }

.ftr { background: var(--bg); color: var(--fg); padding: var(--section-y) var(--gutter) var(--s-6); }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: .25em; }
.ftr__top { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: end; padding-bottom: var(--s-8); border-bottom: 1px solid var(--line); }
.ftr__brand img { width: min(560px, 100%); height: auto; }
.ftr__brand .tender { margin-top: var(--s-4); }
.ftr__join label { display: block; font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--s-3); }
.ftr__cols { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 2fr 2fr 2fr 1fr; gap: var(--s-6); padding: var(--s-7) 0; }
.ftr__cols nav { display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-sm); }
.ftr__cols h2 { font-size: var(--fs-xs); font-weight: 700; color: var(--fg-muted); margin: 0 0 var(--s-2); }
.ftr__social { display: flex; gap: var(--s-1); justify-content: flex-end; align-items: flex-start; }
.ftr__base { max-width: var(--w-wide); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-xs); color: var(--fg-muted); }
.ftr__base p { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-4); }
.ftr .fine { color: var(--fg-muted); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field label, .summary__code label { font-size: var(--fs-sm); font-weight: 600; }
input[type=email], input[type=text], input[type=tel], input[type=search], input:not([type]), select, textarea {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg-raised); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); min-height: 48px; padding: .7em .9em; width: 100%;
}
.on-ink input { background: var(--ink-800); }
input::placeholder, textarea::placeholder { color: var(--fg-faint); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field.has-err input, .field.has-err select { border-color: var(--accent); }
.field__err { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }
.field__err:empty { display: none; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); } /* paired inputs, not a content split */
.field-row { display: flex; gap: var(--s-2); }
.field-row input { flex: 1; min-width: 0; }
.form-msg { margin: var(--s-2) 0 0; font-size: var(--fs-sm); font-weight: 600; }
.form-msg:empty { margin: 0; }
.fine { font-size: var(--fs-xs); color: var(--fg-muted); margin: var(--s-3) 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-6); min-width: 0; }
.checkout fieldset legend { font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--s-4); padding: 0; }
.check, .radio, .toggle { display: flex; align-items: center; gap: var(--s-3); cursor: pointer; font-size: var(--fs-sm); min-height: 44px; }
.check input, .radio input, .toggle input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.radio { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-2); }
.radio > span:nth-child(2) { flex: 1; }
.radio:has(input:checked) { border-color: var(--fg); }
.notice { background: var(--bg-raised); border: 1px solid var(--line-strong); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); margin: 0 0 var(--s-5); border-radius: var(--r-sm); }
.notice--test { border-color: var(--fg); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: var(--fs-xs); color: var(--fg-muted); min-height: 32px; }
.btn--ghost-light { border-color: rgb(234 229 220 / .5); color: var(--bone-100); background: transparent; }
.btn--ghost-light:hover { border-color: var(--bone-100); background: rgb(234 229 220 / .08); }
.btn--lg { --h: 3.75rem; font-size: var(--fs-body); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.label-sm { font-size: var(--fs-sm); font-weight: 600; margin: 0 0 var(--s-3); }
.low { color: var(--accent); font-weight: 700; margin-left: .5em; font-size: var(--fs-xs); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); margin-top: var(--s-6); }

/* ==========================================================================
   PRODUCT CARD + RAIL + LISTING GRID
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--bone-100); border-radius: var(--r-sm); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity var(--t-med) var(--ease-out), transform 900ms var(--ease-expo); }
.card__alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__media img:first-child { transform: scale(1.03); }
}
.card__noimg { position: absolute; inset: 0; background: var(--bg-sunk); }
.card.is-soldout .card__media img { opacity: .55; }
.tag { position: absolute; left: var(--s-3); top: var(--s-3); background: var(--ink-900); color: var(--bone-100); font-size: var(--fs-xs); font-weight: 700; padding: .3em .7em; border-radius: var(--r-pill); }
.tag--sale { background: var(--cherry-500); }
.card__body { display: flex; flex-direction: column; gap: 2px; }
.card__name { font-size: var(--fs-sm); font-weight: 700; margin: 0; line-height: 1.3; }
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; text-underline-offset: .2em; }
.card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-3); font-size: var(--fs-sm); color: var(--fg-muted); }
.card__meta .price { color: var(--fg); }
.card__add {
  margin-top: var(--s-2); min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; font-weight: 700; font-size: var(--fs-xs); display: flex; justify-content: center; align-items: center; gap: .6em;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.card__add:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.card__add:active { transform: scale(.97); }
.card__sizes { font-weight: 500; opacity: .7; font-variant-numeric: tabular-nums; }

.band--tight { padding-block: calc(var(--section-y) * .7); }
.row-head { max-width: var(--w-wide); margin: 0 auto var(--s-6); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.loud--lg { font-size: var(--fs-xl); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 320px); gap: var(--s-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-4); scrollbar-width: thin; overscroll-behavior-x: contain;
}
.rail > * { scroll-snap-align: start; }

.listing { max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding-top: var(--s-7); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-5); font-size: var(--fs-xs); color: var(--fg-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--fg-faint); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.listing__head { margin-bottom: var(--s-7); }
.listing__head .loud { font-size: var(--fs-mega); }
.listing__head .tender { margin-bottom: -.2em; }
.listing__intro { max-width: var(--w-text); color: var(--fg-muted); margin-top: var(--s-5); }
.filters { position: sticky; top: 61px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.chip { min-height: 40px; padding: 0 1.1em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.select select { min-height: 40px; padding: .4em 2.4em .4em 1em; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; width: auto; appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e1716' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1em center / 10px; }
.listing__count { font-size: var(--fs-sm); color: var(--fg-muted); margin: var(--s-4) 0 var(--s-5); }
/* Four columns; every 7th in-stock piece is a 2x2 feature tile: an editorial rhythm, not a uniform grid. */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); grid-auto-flow: dense; }
.grid__item--feature { grid-column: span 2; grid-row: span 2; }
.grid__item--feature .card__name { font-size: var(--fs-md); }
.empty-state { padding: var(--s-8) 0; max-width: var(--w-text); }
.empty-state .loud { font-size: var(--fs-xl); margin: var(--s-2) 0 var(--s-5); }
.empty-state p { margin: 0 0 var(--s-4); }
section.empty-state { padding: var(--section-y) var(--gutter); max-width: none; min-height: 60vh; }

/* collections page */
.col-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.col-cards li:nth-child(5n + 1) { grid-column: span 2; }
.col-cards a { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; }
.col-cards__img { display: block; aspect-ratio: 4 / 3; background: var(--bone-100); overflow: hidden; border-radius: var(--r-sm); }
.col-cards li:nth-child(5n + 1) .col-cards__img { aspect-ratio: auto; height: calc(100% - 4.5rem); min-height: 280px; }
.col-cards__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 900ms var(--ease-expo); }
.col-cards a:hover img { transform: scale(1.03); }
.col-cards__name { font: 900 var(--fs-md)/1 var(--font-loud); font-stretch: var(--stretch-loud); text-transform: lowercase; letter-spacing: var(--track-loud); margin-top: var(--s-2); }

/* ==========================================================================
   HOME: mission (the bold moment), collections list, films
   ========================================================================== */
.mission { background: var(--bg); color: var(--fg); padding: calc(var(--section-y) * 1.3) var(--gutter); }
.mission__inner { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6) var(--s-8); align-items: end; }
.mission__script { grid-column: 1 / -1; color: var(--bone-100); font-size: clamp(3rem, 8.5vw, 9rem); line-height: .95; max-width: 14ch; }
.mission__figures { grid-column: 1 / -1; list-style: none; padding: 0; margin: var(--s-5) 0; display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-8); }
.mission__figures li { display: flex; flex-direction: column; gap: var(--s-2); }
.mission__num { font-size: var(--fs-xl); font-variant-numeric: tabular-nums; }
.mission__label { font-size: var(--fs-sm); color: var(--fg-muted); max-width: 22ch; }
.mission__body { margin: 0; font-size: var(--fs-md); line-height: 1.4; max-width: 36ch; }
.mission .btn { justify-self: start; }
.mission__figures--page { margin: var(--s-7) 0; }

.cols { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6) var(--s-8); align-items: start; }
.cols > .loud { grid-column: 1 / -1; }
.cols__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cols__list a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cols__name, .cols__n { transition: transform var(--t-med) var(--ease-out), color var(--t-fast); }
.cols__name { font: 900 var(--fs-lg)/1 var(--font-loud); font-stretch: var(--stretch-loud); text-transform: lowercase; letter-spacing: var(--track-loud); transition: color var(--t-fast); }
.cols__n { font-size: var(--fs-sm); color: var(--fg-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) { .cols__list a:hover .cols__name { transform: translateX(var(--s-4)); } .cols__list a:hover .cols__name { color: var(--accent); } }
.cols__preview { position: sticky; top: 96px; aspect-ratio: 3 / 4; background: var(--bone-100); border-radius: var(--r-md); overflow: hidden; }
.cols__preview img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.films-band, .films-page { background: var(--bg); color: var(--fg); }
.films-page { min-height: 70vh; padding-top: var(--s-8); }
.films-page .loud { font-size: var(--fs-mega); margin-bottom: var(--s-7); }
.films-grid { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: 5fr 4fr 3fr; gap: var(--s-5); align-items: start; }
.films-page .films-grid { grid-template-columns: 3fr 2fr; }
.film h3 { font-size: var(--fs-body); margin: var(--s-3) 0 var(--s-1); }
.film p { margin: 0; font-size: var(--fs-sm); color: var(--fg-muted); }
.film__play, .film__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-800); cursor: pointer; }
.film__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-expo); }
.film__play:hover img { transform: scale(1.03); }
.film__btn { position: absolute; left: var(--s-4); bottom: var(--s-4); width: 56px; height: 56px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--cherry-500); color: var(--bone-100); }
.film__btn svg { width: 22px; height: 22px; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp { max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-5) var(--gutter) var(--section-y); display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: start; }
.pdp__gallery { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-3); }
.pdp__track { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.pdp__track:focus-visible { outline-offset: 4px; }
.pdp__shot { margin: 0; background: var(--bone-100); border-radius: var(--r-sm); overflow: hidden; }
.pdp__shot img { width: 100%; height: auto; mix-blend-mode: multiply; }
.pdp__thumbs { grid-column: 1; grid-row: 1; position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-2); align-self: start; }
.pdp__thumbs button { padding: 0; border: 1px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--bone-100); cursor: pointer; }
.pdp__thumbs button[aria-current] { border-color: var(--fg); }
.pdp__thumbs img { width: 100%; height: auto; mix-blend-mode: multiply; }
.pdp__dots { display: none; }
.pdp__info { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--s-5); }
.pdp__info .crumbs ol { margin: 0; }
.pdp__name { font-size: var(--fs-lg); line-height: .9; }
.pdp__price { margin: 0; font-size: var(--fs-md); display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.pdp__price .meta { font-size: var(--fs-sm); font-weight: 400; }
.swatch-group .label-sm { margin-bottom: var(--s-3); }
.swatches--links .swatch { display: block; }
.swatches--links .swatch[aria-current]::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--fg); }
.swatch.is-out { opacity: .45; }
.pdp__verse { margin: 0; padding: var(--s-5) 0; border-block: 1px solid var(--line); }
.pdp__verse .tender { font-size: var(--fs-md); }
.pdp__verse cite { display: block; font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--fg-muted); margin-top: var(--s-2); }
.pdp__desc { color: var(--fg-muted); font-size: var(--fs-sm); max-width: 60ch; }
.pdp__desc p { margin: 0 0 var(--s-3); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.facts li { font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: .35em .9em; }
.acc { border-top: 1px solid var(--line); }
.acc + .acc { margin-top: calc(var(--s-5) * -1); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 700; font-size: var(--fs-sm); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3em; font-weight: 400; transition: transform var(--t-fast) var(--ease-out); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc > div { padding-bottom: var(--s-4); font-size: var(--fs-sm); color: var(--fg-muted); }
.acc p { margin: 0 0 var(--s-2); }
.restock { background: var(--bg-raised); border-radius: var(--r-md); padding: var(--s-5); }
.restock p { margin: 0 0 var(--s-3); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--z-header) - 1); display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform var(--t-med) var(--ease-out); }
.buybar.is-on { transform: none; }
.buybar__name { flex: 1; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   DRAWERS, SEARCH, TOAST
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgb(30 23 22 / .5); opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.overlay.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: var(--z-drawer); width: min(440px, 92vw); background: var(--bone-50); color: var(--ink-900);
  --bg: var(--bone-50); --fg: var(--ink-900); --fg-muted: rgb(30 23 22 / .68); --line: rgb(30 23 22 / .14); --line-strong: rgb(30 23 22 / .28); --accent: var(--cherry-500); --on-accent: var(--bone-100);
  display: flex; flex-direction: column; transition: transform var(--t-med) var(--ease-out); overscroll-behavior: contain; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--bottom { left: 0; right: 0; top: auto; width: auto; max-height: 85svh; border-radius: var(--r-md) var(--r-md) 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 861px) { .drawer--bottom { left: 50%; right: auto; width: 480px; margin-left: -240px; bottom: var(--s-6); border-radius: var(--r-md); transform: translateY(calc(100% + var(--s-6))); } }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.drawer__head img { height: 24px; width: auto; }
.drawer__foot { margin-top: auto; padding: var(--s-5); border-top: 1px solid var(--line); display: flex; gap: var(--s-5); font-size: var(--fs-sm); }
.menu-list { display: flex; flex-direction: column; padding: var(--s-5); gap: var(--s-1); overflow-y: auto; }
.menu-list a { font-size: clamp(2.6rem, 11vw, 3.6rem); text-decoration: none; padding: var(--s-1) 0; }
.bag__title { font-size: var(--fs-md); margin: 0; }
.bag__free { padding: 0 var(--s-5); font-size: var(--fs-sm); }
.bag__free:not(:empty) { padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.bag__free p { margin: 0 0 var(--s-2); }
.meter { height: 4px; background: var(--bone-200); border-radius: var(--r-pill); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; background: var(--cherry-500); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform var(--t-med) var(--ease-out); }
.bag__lines { flex: 1; overflow-y: auto; padding: var(--s-2) var(--s-5); }
.bag__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.bag__line img { width: 72px; height: 96px; object-fit: cover; background: var(--bone-100); border-radius: var(--r-sm); mix-blend-mode: multiply; }
.bag__info { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.bag__name { font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.bag__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); margin-top: var(--s-2); align-self: flex-start; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty button:disabled { color: var(--fg-faint); cursor: not-allowed; }
.qty span { min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bag__empty { padding: var(--s-8) 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.bag__empty p { margin: 0; font-size: var(--fs-md); font-weight: 700; }
.bag__foot { padding: var(--s-5); border-top: 1px solid var(--line); }
.bag__row { display: flex; justify-content: space-between; font-weight: 700; }
.bag__foot .fine { margin-bottom: var(--s-4); }
.sheet__prod { display: flex; gap: var(--s-3); align-items: center; }
.sheet__prod img { width: 56px; height: 75px; object-fit: cover; mix-blend-mode: multiply; background: var(--bone-100); border-radius: var(--r-sm); }
.sheet__name { margin: 0; font-weight: 700; font-size: var(--fs-sm); }
.sheet__prod .price { margin: 0; font-size: var(--fs-sm); }
.sheet__sizes { padding: var(--s-5) var(--s-5) 0; margin: 0; }
.sheet__sizes .size { flex: 1 0 64px; }
.sheet__link { padding: 0 var(--s-5) var(--s-5); }

.search { position: fixed; inset: 0 0 auto 0; z-index: var(--z-drawer); background: var(--bone-50); color: var(--ink-900); max-height: 80svh; display: flex; flex-direction: column;
  --fg: var(--ink-900); --fg-muted: rgb(30 23 22 / .68); --line: rgb(30 23 22 / .14);
  transform: translateY(-100%); transition: transform var(--t-med) var(--ease-out); box-shadow: 0 20px 40px rgb(30 23 22 / .18); }
.search.is-open { transform: none; }
.search__bar { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--gutter); border-bottom: 1px solid var(--line); }
.search__bar > svg { width: 22px; height: 22px; flex: none; }
.search__bar input { border: 0; background: transparent; font-size: var(--fs-md); font-weight: 600; min-height: 56px; padding: 0; }
.search__bar input:focus-visible { outline: none; }
.search__results { overflow-y: auto; padding: 0 var(--gutter); }
.search__results:not(:empty) { padding-block: var(--s-4); }
.search__results ul { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.search__results a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-2) 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.search__results img { width: 48px; height: 64px; object-fit: cover; mix-blend-mode: multiply; background: var(--bone-100); border-radius: var(--r-sm); }
.search__results a > span:nth-child(2) { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.search__results p { max-width: 760px; margin: 0 auto; }

.toast { position: fixed; left: 50%; bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); z-index: var(--z-toast); transform: translate(-50%, 16px); opacity: 0;
  background: var(--ink-900); color: var(--bone-100); padding: var(--s-3) var(--s-5); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; max-width: calc(100vw - 2 * var(--gutter));
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med) var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   CHECKOUT, ORDER, CONTENT PAGES
   ========================================================================== */
.checkout { max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-7) var(--gutter) var(--section-y); display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: start; }
.checkout__form { max-width: 640px; }
.checkout__form .loud { margin-bottom: var(--s-6); }
.summary { position: sticky; top: 88px; background: var(--bg-raised); border-radius: var(--r-md); padding: var(--s-6); }
.summary__title { font-size: var(--fs-md); margin: 0 0 var(--s-4); }
.summary__lines { display: flex; flex-direction: column; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.sum-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; font-size: var(--fs-sm); }
.sum-line > span:nth-child(2) { display: flex; flex-direction: column; }
.sum-line__img { position: relative; }
.sum-line__img img { width: 56px; height: 75px; object-fit: cover; mix-blend-mode: multiply; background: var(--bone-100); border-radius: var(--r-sm); }
.sum-line__qty { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--ink-900); color: var(--bone-100); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.summary__code { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-2); }
.summary__totals { margin: var(--s-5) 0 0; display: flex; flex-direction: column; gap: var(--s-2); }
.summary__totals > div { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-sm); }
.summary__totals dt { color: var(--fg-muted); } .summary__totals dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.summary__totals > .summary__total { padding-top: var(--s-3); margin-top: var(--s-2); border-top: 1px solid var(--line); font-size: var(--fs-md); }
.summary__total dt { color: var(--fg); font-weight: 800; } .summary__total dd { font-weight: 800; }

.order { max-width: 1100px; margin: 0 auto; }
.order .loud { font-size: var(--fs-mega); }
.order__lead { font-size: var(--fs-md); max-width: 40ch; margin: var(--s-5) 0; }
.steps { list-style: none; padding: 0; margin: var(--s-6) 0; display: flex; gap: var(--s-2); }
.steps li { flex: 1; padding-top: var(--s-3); border-top: 4px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--fg-muted); }
.steps li.done { border-color: var(--accent); color: var(--fg); }
.order__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); margin-top: var(--s-7); }
.order__lines { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.order__lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.order__lines li > span:nth-child(2) { display: flex; flex-direction: column; }
.order__lines img { width: 64px; height: 85px; object-fit: cover; mix-blend-mode: multiply; background: var(--bone-200); border-radius: var(--r-sm); }
.order address { font-style: normal; line-height: 1.6; margin-bottom: var(--s-4); }

.prose-page { max-width: calc(var(--w-text) + 2 * var(--gutter) + 20ch); margin: 0 auto; padding-top: var(--s-8); }
.prose-page .loud { font-size: var(--fs-xl); margin-bottom: var(--s-7); }
.prose { max-width: var(--w-text); }
.prose h2 { font-size: var(--fs-md); margin: var(--s-7) 0 var(--s-3); }
.prose h3 { font-size: var(--fs-body); margin: var(--s-6) 0 var(--s-2); }
.prose p { margin: 0 0 var(--s-4); }
.prose a { text-underline-offset: .2em; }
.prose blockquote { margin: var(--s-6) 0; font-family: var(--font-tender); font-size: var(--fs-script); line-height: 1.1; color: var(--accent); }
.track { max-width: 420px; margin-top: var(--s-6); }
.contact-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-direction: column; gap: var(--s-4); }
.contact-list li { display: flex; flex-direction: column; }
.contact-list a { font-size: var(--fs-md); font-weight: 700; }

/* ==========================================================================
   COMPONENTS: smaller screens
   ========================================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__cols { grid-template-columns: repeat(3, 1fr); }
  .ftr__social { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px) {
  .hdr--solid { padding-block: var(--s-2); }
  .filters { top: 61px; }
  .filters__group:first-child { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); }
  .grid__item--feature { grid-row: span 1; }
  .grid__item--feature .card__media { aspect-ratio: 4 / 3; }
  .card__sizes { display: none; }
  .col-cards { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-3); }
  .col-cards li:nth-child(5n + 1) { grid-column: 1 / -1; }
  .col-cards li:nth-child(5n + 1) .col-cards__img { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .mission__inner, .cols, .ftr__top, .order__grid, .checkout, .pdp { grid-template-columns: minmax(0, 1fr); }
  .mission__script { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .cols__preview { display: none; }
  .cols__name { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .films-grid, .films-page .films-grid { grid-template-columns: minmax(0, 1fr); }
  .ftr__top { gap: var(--s-6); }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .pdp { padding: 0 0 var(--section-y); gap: var(--s-5); }
  .pdp__gallery { display: block; }
  .pdp__track { flex-direction: row; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp__track::-webkit-scrollbar { display: none; }
  .pdp__shot { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
  .pdp__thumbs { display: none; }
  .pdp__dots { display: flex; justify-content: center; gap: 6px; padding: var(--s-3) 0 0; }
  .pdp__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-strong); transition: background-color var(--t-fast); }
  .pdp__dots span.on { background: var(--fg); width: 18px; }
  .pdp__info { position: static; padding: 0 var(--gutter); }
  .pdp__name { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .checkout { padding-top: var(--s-5); gap: var(--s-6); }
  .summary { position: static; order: -1; padding: var(--s-5); }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .order .loud, .listing__head .loud, .films-page .loud { font-size: clamp(3.4rem, 17vw, 5.5rem); white-space: normal; }
  .steps li { font-size: var(--fs-xs); }
  .rail { grid-auto-columns: 62vw; gap: var(--s-3); }
  .row-head { margin-bottom: var(--s-5); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
}
.is-locked .toast { bottom: auto; top: calc(var(--s-5) + env(safe-area-inset-top)); transform: translate(-50%, -16px); }
.is-locked .toast.is-on { transform: translate(-50%, 0); }
