/* LOT 410
   One family (Archivo) used at two widths: ultra-condensed for display, wide and tracked for product names.
   The grid is the store: hairline cells, price top-right, name bottom-center. */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --line: #dededb;
  --mute: #6b6b68;
  --faint: #b3b3af;
  --wash: #f3f3f1;
  --tag: #ffe14d;
  --gutter: clamp(16px, 3.2vw, 44px);
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
/* Archivo's word space collapses at 62% width; open it up on every condensed display line. */
.hero-name, .sec-title, .page-title, .pdp-name, .cat-name, .empty-cat h2, .m-name, .ftr-mark, .search-form input { word-spacing: .1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  font-size: 15px; font-weight: 600;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2b2b; }
.btn-ink:disabled { background: #e6e6e3; color: #85857f; }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 30;
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
}
.hdr-in .hdr-menu { display: none; }
.logo {
  justify-self: start;
  font-stretch: 62%; font-weight: 900; font-size: 31px; line-height: 1; letter-spacing: .005em;
  padding: 6px 0;
}
.nav { display: flex; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 15px; font-size: 14px; font-weight: 500; }
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform .2s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hdr-search {
  display: flex; align-items: center; gap: 10px;
  height: 38px; min-width: 230px; padding: 0 8px 0 12px;
  border: 1px solid var(--line); color: var(--mute); font-size: 14px;
  transition: border-color .15s, color .15s;
}
.hdr-search:hover { border-color: var(--ink); color: var(--ink); }
.hdr-search kbd {
  margin-left: auto; font: inherit; font-size: 12px; line-height: 20px;
  padding: 0 7px; border: 1px solid var(--line); color: var(--mute);
}
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; position: relative; }
.bag-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}

/* ---------- hero ---------- */
.hero {
  --tint: #cde3f1; --ghost: #b6d6ec;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto;
  min-height: clamp(560px, calc(100vh - var(--hdr) - 48px), 800px);
  background: var(--tint);
  transition: background-color .6s var(--ease);
}
.hero-ghost {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: flex-end;
  pointer-events: none; user-select: none;
}
.hero-ghost span {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(150px, min(30vw, calc(92vw / (var(--len, 4) * .53))), 560px); line-height: .74; letter-spacing: -.01em;
  color: var(--ghost);
  margin-right: calc(var(--gutter) - .02em);
  transform: translateY(-.05em);
  transition: color .6s var(--ease), opacity .22s var(--ease), transform .22s var(--ease);
}
.hero-copy {
  grid-column: 1; grid-row: 1 / span 2; align-self: center;
  position: relative; z-index: 2;
  padding: 64px 0 64px var(--gutter);
}
.hero-brand { font-size: 15px; font-weight: 600; }
.hero-name {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(66px, 8.6vw, 140px); line-height: .84; letter-spacing: -.005em;
  margin: 12px 0 30px; text-wrap: balance;
}
.hero-spec { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-bottom: 34px; }
.hero-spec dt { font-size: 12px; color: rgb(0 0 0 / .55); }
.hero-spec dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-stage {
  grid-column: 2; grid-row: 1;
  position: relative; z-index: 1;
  display: grid; place-items: center;
  padding: 44px var(--gutter) 0;
}
.hero-stage img {
  width: auto; height: auto;
  max-width: min(100%, 620px); max-height: min(58vh, 560px);
  filter: drop-shadow(0 34px 30px rgb(0 0 0 / .16)) drop-shadow(0 4px 6px rgb(0 0 0 / .07));
}
.hero-thumbs {
  grid-column: 2; grid-row: 2; justify-self: end;
  position: relative; z-index: 2;
  display: flex; gap: 8px; padding: 0 var(--gutter) 28px;
}
.hero-thumb {
  width: 74px; height: 74px; padding: 9px;
  background: rgb(255 255 255 / .45); border: 1px solid rgb(0 0 0 / .08);
  transition: background-color .2s, border-color .2s;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hero-thumb:hover { background: rgb(255 255 255 / .8); }
.hero-thumb[aria-pressed="true"] { background: #fff; border-color: var(--ink); }

.hero-stage img, .hero-copy > * { transition: opacity .22s var(--ease), transform .22s var(--ease); }
.hero.is-swapping .hero-stage img { opacity: 0; transform: translateY(14px); }
.hero.is-swapping .hero-copy > * { opacity: 0; }
.hero.is-swapping .hero-ghost span { opacity: 0; transform: translate(-3%, -.05em); }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ghost-in { from { opacity: 0; transform: translate(-8%, -.05em); } to { opacity: 1; transform: translateY(-.05em); } }
.hero.is-intro .hero-ghost span { animation: ghost-in 1.1s var(--ease) both; }
.hero.is-intro .hero-stage img { animation: rise .9s var(--ease) .12s both; }
.hero.is-intro .hero-name { animation: rise .7s var(--ease) .04s both; }

/* ---------- section heads ---------- */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 72px var(--gutter) 22px;
}
.sec-title {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(42px, 4.8vw, 68px); line-height: .86;
}
.sec-link { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; white-space: nowrap; }

/* ---------- category row ---------- */
.cats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cat {
  display: flex; flex-direction: column;
  min-height: clamp(250px, 24vw, 340px); padding: 18px 20px 18px;
  border-right: 1px solid var(--line);
  transition: background-color .2s;
}
.cat:last-child { border-right: 0; }
.cat:hover { background: var(--wash); }
.cat-media { position: relative; flex: 1; min-height: 150px; }
.cat-media > img, .cat-media > svg {
  position: absolute; inset: 6% 12% 10%; width: 76%; height: 84%;
  object-fit: contain; mix-blend-mode: multiply;
}
.cat-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cat-name { font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; }
.cat-count { font-size: 13px; color: var(--mute); white-space: nowrap; }

/* ---------- GOAT-style mode tabs ---------- */
.tabs {
  display: flex; gap: clamp(20px, 4vw, 56px);
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tab {
  position: relative; padding: 19px 0 17px;
  font-stretch: 120%; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute);
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); }
.tab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }

/* ---------- filter bar ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 14px var(--gutter);
  border-top: 1px solid var(--line);
}
.tabs + .bar { border-top: 0; }
.bar-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.bar-sep { width: 1px; height: 22px; background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bar-right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.count { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.sort select {
  appearance: none; -webkit-appearance: none; border-radius: 0; cursor: pointer;
  height: 34px; padding: 0 32px 0 11px;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 11px center;
}
.sort select:hover { border-color: var(--ink); }

/* ---------- product grid ---------- */
.grid-wrap { overflow: hidden; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 -1px -1px 0; }
.tile {
  position: relative; display: flex; flex-direction: column;
  padding: 16px 18px 22px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .2s;
}
.tile:hover { background: #f8f8f6; }
.tile-price { align-self: flex-end; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile-media { position: relative; aspect-ratio: 1; margin: 2px 0 12px; }
.tile-media > img, .tile-media > svg {
  position: absolute; inset: 9%; width: 82%; height: 82%;
  object-fit: contain; mix-blend-mode: multiply;
}
.tile-name {
  display: block; min-height: 3.2em;
  text-align: center; text-transform: uppercase; text-wrap: balance;
  font-stretch: 120%; font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: 1.6;
}
.run {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 10px;
  margin-top: 10px; font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.run s { color: var(--faint); text-decoration-thickness: 1px; }
.run-os { color: var(--mute); font-weight: 400; }
.sticker {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 7px 5px; background: var(--tag);
  font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .02em;
}
.empty {
  grid-column: 1 / -1; display: grid; justify-items: center; gap: 18px;
  padding: 88px var(--gutter); text-align: center; color: var(--mute);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ---------- category page ---------- */
.cat-head { padding: 26px var(--gutter) 34px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13px; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 7px; color: var(--faint); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.cat-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; }
.page-title {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 11.5vw, 184px); line-height: .78; letter-spacing: -.01em;
}
.cat-head-count { font-size: 14px; color: var(--mute); padding-bottom: 6px; white-space: nowrap; }
.empty-cat {
  display: grid; justify-items: center; text-align: center;
  padding: 24px var(--gutter) 40px; border-top: 1px solid var(--line);
}
.empty-art { width: min(360px, 78vw); }
.empty-cat h2 { font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: 42px; line-height: .9; }
.empty-cat p { color: var(--mute); margin: 12px 0 26px; max-width: 38ch; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- product page ---------- */
.pdp-crumbs { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); border-bottom: 1px solid var(--line); }
.pdp-media {
  position: relative;
  height: min(calc(100vh - var(--hdr) - 54px), 800px); min-height: 460px;
  background: var(--wash); border-right: 1px solid var(--line);
}
.pdp-media > img, .pdp-media > svg {
  position: absolute; inset: 11%; width: 78%; height: 78%;
  object-fit: contain; mix-blend-mode: multiply;
}
.pdp-info { position: sticky; top: var(--hdr); align-self: start; padding: 38px var(--gutter) 48px clamp(24px, 3vw, 48px); }
.pdp-brand { font-size: 15px; font-weight: 600; }
.pdp-name {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(50px, 4.8vw, 80px); line-height: .85; margin: 10px 0 12px; text-wrap: balance;
}
.pdp-sub { font-size: 15px; color: var(--mute); }
.pdp-price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 20px 0 28px; }
.pdp-block { margin-bottom: 24px; }
.pdp-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.pdp-picked { color: var(--mute); font-weight: 400; }
.sizes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sizes-os { grid-template-columns: 1fr; }
.size {
  height: 54px; font-size: 14px; font-weight: 500;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .12s, color .12s;
}
.size:hover:not(:disabled) { background: var(--wash); }
.size[aria-checked="true"] { background: var(--ink); color: #fff; }
.size:disabled {
  color: var(--faint);
  background: linear-gradient(to top right, transparent calc(50% - .7px), var(--line) 50%, transparent calc(50% + .7px));
}
.stock { min-height: 1.5em; margin-top: 10px; font-size: 13px; color: var(--mute); }
.stock.is-low { color: var(--ink); }
.stock.is-low::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px;
  background: var(--tag); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18);
}
.pdp-colors { margin-top: 28px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 70px; height: 70px; background: var(--wash); border: 1px solid transparent; transition: border-color .15s; }
.swatch > img, .swatch > svg { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.swatch:hover { border-color: var(--faint); }
.swatch[aria-current] { border-color: var(--ink); }
.specs { margin-top: 30px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--mute); }
.specs dd { font-weight: 500; text-align: right; }

/* ---------- panels ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .32); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.is-open { opacity: 1; }
.panel { position: fixed; z-index: 60; display: flex; flex-direction: column; background: var(--paper); transition: transform .32s var(--ease); }
.panel-right { top: 0; right: 0; bottom: 0; width: min(440px, 100vw); transform: translateX(100%); }
.panel-left { top: 0; left: 0; bottom: 0; width: min(380px, 88vw); transform: translateX(-100%); }
.panel-top { top: 0; left: 0; right: 0; max-height: min(84vh, 760px); transform: translateY(-100%); }
.panel-bottom { left: 0; right: 0; bottom: 0; max-height: 86vh; transform: translateY(100%); }
.panel.is-open { transform: none; }
.panel-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  height: var(--hdr); padding: 0 12px 0 var(--gutter); border-bottom: 1px solid var(--line);
}
.panel-head h2 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; }
.panel-body { flex: 1; overflow: auto; overscroll-behavior: contain; }
.panel-foot { flex: none; padding: 18px var(--gutter) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* bag */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.line-media { position: relative; width: 84px; height: 84px; background: var(--wash); }
.line-media > img, .line-media > svg { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.line-name { display: block; font-stretch: 120%; font-size: 11.5px; font-weight: 500; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.line-meta { margin-top: 4px; font-size: 13px; color: var(--mute); }
.qty { display: inline-flex; align-items: center; height: 32px; margin-top: 10px; border: 1px solid var(--line); }
.qty button { width: 32px; height: 30px; font-size: 16px; }
.qty button:disabled { color: var(--faint); }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.line-remove { font-size: 12.5px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--ink); }
.subtotal { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fine { margin: 4px 0 16px; font-size: 12.5px; color: var(--mute); }
.checkout-note { margin-top: 12px; padding: 10px 12px; background: var(--wash); font-size: 13px; }
.bag-empty { display: grid; justify-items: start; gap: 18px; padding: 48px var(--gutter); color: var(--mute); }

/* search */
.search-form {
  flex: none; display: flex; align-items: center; gap: 14px;
  height: 80px; padding: 0 12px 0 var(--gutter); border-bottom: 1px solid var(--line);
}
.search-form input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-stretch: 62%; font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase;
}
.search-form input::placeholder { color: var(--faint); }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-results { overflow: auto; overscroll-behavior: contain; padding: 18px var(--gutter) 30px; }
.search-suggest p, .search-count { font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.search-none { color: var(--mute); padding: 8px 0; }
.search-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.search-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.search-list a:hover .sr-name { text-decoration: underline; text-underline-offset: 3px; }
.sr-media { position: relative; width: 56px; height: 56px; background: var(--wash); }
.sr-media > img, .sr-media > svg { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.sr-name { font-stretch: 120%; font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; line-height: 1.5; }
.sr-price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* menu */
.menu-list a { display: flex; align-items: baseline; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.menu-list a[aria-current] .m-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.m-name { font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: 42px; line-height: .9; }
.m-count { font-size: 13px; color: var(--mute); }

/* filter sheet */
.fgroup { margin: 0; padding: 18px var(--gutter); border: 0; border-bottom: 1px solid var(--line); }
.fgroup legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.fgroup legend + .chips { clear: both; }

/* GOAT-style floating filter button (phones) */
.pill {
  display: none; position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 25;
  transform: translateX(-50%);
  height: 46px; padding: 0 36px; background: var(--ink); color: #fff;
  font-stretch: 120%; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- footer ---------- */
.ftr { margin-top: 112px; background: var(--ink); color: #fff; overflow: hidden; }
.ftr-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 32px;
  padding: 60px var(--gutter) 48px;
}
.ftr h3 { margin-bottom: 14px; font-size: 13px; font-weight: 500; color: #8e8e89; }
.ftr li + li { margin-top: 8px; }
.ftr a { font-size: 15px; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr-about { font-size: 15px; color: #c9c9c4; max-width: 40ch; }
.ftr-mark {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: 33.4vw; line-height: .74; letter-spacing: -.012em;
  padding-left: calc(var(--gutter) - .035em);
  transform: translateY(.05em);
}
.ftr-base {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter) 22px; border-top: 1px solid #2c2c2c;
  font-size: 13px; color: #8e8e89;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-more > :nth-child(4) { display: none; }
  .hdr-search { min-width: 0; }
  .hdr-search kbd { display: none; }
}

@media (max-width: 960px) {
  .hdr-in { grid-template-columns: 1fr auto 1fr; }
  .hdr-in .hdr-menu { display: grid; justify-self: start; margin-left: -8px; }
  .nav { display: none; }
  .logo { justify-self: center; }
  .hdr-search { width: 40px; height: 40px; padding: 0; border: 0; justify-content: center; color: var(--ink); }
  .hdr-search span { display: none; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .hero-stage { grid-column: 1; grid-row: 1; padding: 30px var(--gutter) 0; }
  .hero-stage img { max-height: min(38vh, 300px); }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 22px var(--gutter) 6px; }
  .hero-thumbs { grid-column: 1; grid-row: 3; justify-self: start; padding: 18px var(--gutter) 26px; }
  .hero-ghost { top: 0; bottom: auto; padding-top: 3vw; }
  .hero-ghost span { font-size: min(44vw, calc(94vw / (var(--len, 4) * .53))); }
  .hero-name { font-size: clamp(56px, 15vw, 110px); margin-bottom: 22px; }

  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(190px, 38vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; min-height: 250px; }
  .cat:last-child { border-right: 1px solid var(--line); }

  .pdp { grid-template-columns: 1fr; }
  .pdp-media { height: auto; min-height: 0; aspect-ratio: 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .pdp-info { position: static; padding: 28px var(--gutter) 40px; }

  .ftr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-about-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --hdr: 58px; }
  .logo { font-size: 27px; }
  .sec-head { padding: 52px var(--gutter) 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-more > :nth-child(4) { display: flex; }
  .tile { padding: 12px 12px 16px; }
  .tile-price { font-size: 13px; }
  .tile-name { font-size: 10.5px; letter-spacing: .06em; }
  .run { font-size: 10.5px; gap: 2px 7px; }
  .sticker { top: 10px; left: 10px; font-size: 10px; padding: 5px 6px 4px; }
  .tabs { gap: 0; padding: 0; }
  .tab { flex: 1; text-align: center; font-size: 10.5px; letter-spacing: .1em; }
  .bar { min-height: 46px; padding: 10px var(--gutter); }
  .bar-filters, .sort { display: none; }
  body.has-grid.grid-in-view .pill { display: block; }
  .page-title { font-size: 23vw; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.noanim *, .noanim *::before, .noanim *::after { animation: none !important; transition: none !important; }

/* ---------- checkout ---------- */
.test-note { margin-top: 12px; padding: 10px 12px; background: var(--tag); font-size: 12.5px; line-height: 1.45; }
.checkout-note { margin-top: 12px; padding: 10px 12px; background: var(--wash); font-size: 13px; }
.btn-ink:disabled:not(#add) { cursor: progress; }
.order { max-width: 760px; padding: 48px var(--gutter) 24px; }
.order-sub { margin: 18px 0 30px; font-size: 16px; color: var(--mute); }
.order-body:empty { display: none; }
.order-body { margin-bottom: 32px; }
.order-lines { border-top: 1px solid var(--line); }
.order-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-name { display: block; font-stretch: 120%; font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.order-detail { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.order-amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: space-between; padding: 16px 0 6px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-meta { font-size: 13px; color: var(--mute); }
.line { grid-template-columns: 84px minmax(0, 1fr) auto; }
.line-name { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  .line-media { width: 64px; height: 64px; }
}

/* ---------- logo (drawn in brand/build_logo.py, served from brand/sprite.svg) ---------- */
.logo { display: block; padding: 0; color: var(--ink); }
.logo svg { display: block; height: 24px; width: auto; }
.ftr-mark { padding: 8px var(--gutter) 0; transform: none; line-height: 0; }
.ftr-mark svg { display: block; width: 100%; height: auto; color: #fff; transform: translateY(1px); }
@media (max-width: 760px) {
  .logo svg { height: 21px; }
}

/* ---------- trust lines on the product page ---------- */
.assure { display: grid; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--mute); }
.assure li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.assure svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-top: 1px; }
.assure a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 2px; }

/* ---------- help pages ---------- */
.help { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 36px var(--gutter) 24px; }
.help-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.help-nav a { padding: 8px 0; font-size: 15px; color: var(--mute); border-bottom: 1px solid var(--line); }
.help-nav a:hover, .help-nav a[aria-current] { color: var(--ink); }
.help-nav a[aria-current] { font-weight: 600; }
.help-body { max-width: 640px; }
.help-body .page-title { font-size: clamp(64px, 8vw, 112px); margin-bottom: 26px; }
.help-body h2 { font-size: 16px; font-weight: 600; margin: 26px 0 6px; }
.help-body p { font-size: 16px; line-height: 1.65; }
.help-body p + p { margin-top: 12px; }
.help-body a { text-decoration: underline; text-underline-offset: 3px; }
.draft { margin-bottom: 20px; padding: 10px 12px; background: var(--tag); font-size: 13.5px !important; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; margin-top: 26px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--mute); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; padding: 12px 13px; transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-note { min-height: 1.4em; font-size: 13.5px; }
.form-note.is-error { color: #b42318; }
.sent { padding: 16px 18px; background: var(--wash); font-size: 16px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer signup ---------- */
.ftr-signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end;
  padding: 56px var(--gutter) 48px; border-bottom: 1px solid #2c2c2c;
}
.ftr-signup h2 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .88; word-spacing: .1em; }
.ftr-signup-copy p { margin-top: 12px; color: #c9c9c4; font-size: 15px; }
.signup-row { display: flex; border: 1px solid #5a5a57; }
.signup-row:focus-within { border-color: #fff; }
.signup-row input {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px; border: 0; outline: 0;
  background: transparent; color: #fff; font: inherit; font-size: 16px;
}
.signup-row input::placeholder { color: #8e8e89; }
.signup-row .btn { height: 54px; background: #fff; color: #000; flex: none; }
.signup-row .btn:hover { background: var(--tag); }
.signup-row .btn:disabled { background: #8e8e89; }
.signup-legal { margin-top: 10px; font-size: 12.5px; color: #8e8e89; }
.signup-legal a { color: #c9c9c4; text-decoration: underline; text-underline-offset: 3px; }
.ftr .form-note { margin-top: 8px; color: #fff; }
.ftr .form-note.is-error { color: #ff9b8f; }
.ftr .btn:focus-visible, .ftr a:focus-visible { outline-color: #fff; }

@media (max-width: 960px) {
  .ftr-signup { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .help { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .help-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .help-nav a { padding: 6px 12px; border: 1px solid var(--line); font-size: 13px; }
  .help-nav a[aria-current] { border-color: var(--ink); }
  .signup-row .btn { padding: 0 18px; }
}
