/* XHIGH v4 skin: the Notch identity on the storefront model.
   Quiet frame (Ink, White, Fog, Concrete, Graphite), product on Fog, one display headline per surface,
   Select (#2F4BFF) only for the selected state: it rises one notch (2 px) and turns Select. Square everything. */

html, body { background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: var(--t-body); line-height: 1.5; font-weight: 400; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button { background: none; border: 0; padding: 0; border-radius: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }

/* ---------- type roles ---------- */
.display { font-family: var(--font); font-stretch: var(--d-stretch); font-weight: var(--d-weight); text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
.d-xl { font-size: clamp(56px, 6.8vw, 104px); }
.d-l { font-size: clamp(40px, 5.3vw, 76px); }
.d-m { font-size: clamp(40px, 3.4vw, 48px); }
.t1 { font-size: var(--t-1); line-height: 1.2; font-weight: 500; }
.t2 { font-size: var(--t-2); line-height: 1.2; font-weight: 500; }
.t3 { font-size: var(--t-3); line-height: 1.2; font-weight: 500; }
.sub, .lede { font-size: 16px; line-height: 24px; max-width: 34em; }
.lede { font-size: 20px; line-height: 30px; }
.muted { color: var(--text-2); font-size: 14px; }
.lab, .tag-k, .tag-rows dt, .tag-sizes, .tag-sku { font-stretch: var(--l-stretch); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------- buttons: square (radius 0, like the woven size tabs) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 20px; background: var(--btn); color: var(--btn-text);
  font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none; border: 0; white-space: nowrap; transition: background-color var(--d1) var(--ease-ui), color var(--d1) var(--ease-ui), box-shadow var(--d1) var(--ease-ui); }
.pill:hover { background: var(--btn-hover); }
.pill-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pill-ghost:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--text); }
.pill-s { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.pill-l { min-height: 52px; width: 100%; }
.pill .ic { width: 18px; height: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }
.ctas-2 { display: grid; grid-template-columns: 1fr 1fr; }
.lnk { font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--text); }
.lnk:hover { color: var(--text-2); }
.lnk-i { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; color: var(--text-2); }
.lnk-i .ic { width: 20px; height: 20px; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--bg-alt); color: var(--text); transition: background-color var(--d1) var(--ease-ui); }
.round:hover { background: var(--line); }
.round:disabled { opacity: .4; cursor: default; }
.round .ic { width: 22px; height: 22px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--text); }
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn .ic { width: 24px; height: 24px; }
.ic { display: block; flex: none; }

/* ---------- header ---------- */
.site-header { background: var(--bg); }
.util { height: var(--util); background: var(--bg-alt); font-size: 12px; line-height: 18px; font-weight: 500; }
.util-in { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.util-l { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util-r { display: flex; gap: 12px; align-items: center; }
.util-r a { text-decoration: none; }
.util-r a:hover { color: var(--text-2); }
.util-r span { color: var(--text-3); }
.bar { height: var(--hdr); background: var(--bg); }
.site-header.is-scrolled .bar { box-shadow: 0 1px 0 var(--line); }
.bar-in { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; color: var(--text); justify-self: start; }
.logo-mk { display: block; height: 28px; width: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 18px 12px; font-size: 14px; line-height: 24px; font-stretch: var(--l-stretch); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--d1) var(--ease-ui); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; }
.tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.search-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; width: 180px; padding: 0 12px 0 8px; background: var(--bg-alt); color: var(--text-2); font-size: 16px; }
.search-pill .ic { width: 24px; height: 24px; color: var(--text); }
.search-pill:hover { background: var(--line); color: var(--text); }
.bag-btn .bag-n { position: absolute; left: 0; right: 0; top: 15px; text-align: center; font-size: 9px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.bag-btn.bump .bag-n { animation: xh-bump var(--d2) var(--ease-ui); }
@keyframes xh-bump { 50% { transform: translateY(-2px); } }
.menu-btn { display: none; }
@media (max-width: 1099px) { .nav a { padding-inline: 8px; } .nav a::after { left: 8px; right: 8px; } .search-pill { width: 40px; padding: 0 8px; background: none; } .search-pill-t { display: none; } }
@media (max-width: 959px) {
  :root { --util: 0px; }
  .util { display: none; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .bar-in { grid-template-columns: 1fr auto; }
  .logo-mk { height: 24px; }
}

/* ---------- drawers and layers ---------- */
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 24px; min-height: 64px; }
.drawer-sub { font-size: 14px; color: var(--text-2); }
.drawer-body { padding: 0 24px 24px; }
.drawer-foot:not(:empty) { padding: 16px 24px 24px; box-shadow: 0 -1px 0 var(--line); }
.added { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 4px 0 16px; }
.added .ic { width: 20px; height: 20px; }
.menu { width: min(400px, 100vw); }
.drawer-logo { color: var(--text); }
.mk-s { display: block; height: 20px; width: auto; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 24px; line-height: 29px; font-weight: 500; text-decoration: none; }
.menu-nav a .ic { width: 24px; height: 24px; }
.menu-nav a[aria-current="page"] span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-util { display: grid; gap: 12px; margin-top: 36px; padding-top: 24px; box-shadow: 0 -1px 0 var(--line); }
.menu-util a { font-size: 16px; font-weight: 500; text-decoration: none; }
.menu-note { margin-top: 36px; color: var(--text-2); font-size: 14px; }
.sheet { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg); transform: translateY(101%); transition: transform var(--d2) var(--ease-ui); }
.sheet.is-open { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 24px; min-height: 64px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 24px 24px; overscroll-behavior: contain; }
.sheet-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 24px 24px; box-shadow: 0 -1px 0 var(--line); }
.search-layer { position: fixed; left: 0; right: 0; top: 0; max-height: 100vh; overflow-y: auto; background: var(--bg); transform: translateY(-101%); transition: transform var(--d2) var(--ease-ui); padding-bottom: 36px; }
.search-layer.is-open { transform: none; }
.search-top { display: grid; grid-template-columns: 1fr minmax(0, 680px) 1fr; align-items: center; gap: 16px; height: 72px; }
.search-logo { color: var(--text); }
.search-f { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: var(--bg-alt); }
.search-f .ic { width: 24px; height: 24px; }
.search-f input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px; outline: none; }
.search-f:focus-within { box-shadow: inset 0 0 0 2px var(--sel); }
.search-x { justify-self: end; }
.search-h { font-size: 14px; color: var(--text-2); margin: 16px 0; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 959px) { .search-top { grid-template-columns: minmax(0, 1fr) auto; } .search-logo { display: none; } }

/* ---------- media, cards ---------- */
.media { background: var(--plate); }
.media img { object-fit: contain; mix-blend-mode: multiply; }
.media .v-lifestyle img, .media.v-lifestyle img, img[data-v="lifestyle"] { object-fit: cover; mix-blend-mode: normal; }
.plate { position: absolute; inset: 0; }
.plate svg { display: block; width: 100%; height: 100%; }
.plate-d { font-family: var(--font); font-stretch: 62%; font-weight: 900; font-size: 64px; letter-spacing: -.005em; }
.card { min-width: 0; }
.card-a { display: block; text-decoration: none; color: inherit; }
.card-m .media { aspect-ratio: var(--card-ar); }
.card-t { padding: 12px 0 0; font-size: 16px; line-height: 24px; }
.card-s { font-weight: 600; }
.card-n { font-weight: 500; }
.card-d { color: var(--text-2); }
.card-p { font-weight: 500; margin-top: 4px; }
.card-a:hover .card-n { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 12px; }
.grid-6 .card-t { font-size: 14px; line-height: 20px; }
@media (max-width: 959px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 6px; }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-t { font-size: 14px; line-height: 20px; }
}
@media (max-width: 599px) { .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- sections ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: var(--s5); }
.sec-tools { display: flex; align-items: center; gap: 12px; }
.sec-tools .lnk { margin-right: 12px; font-size: 16px; }
.rail-sec { margin-top: var(--s9); }
@media (max-width: 959px) { .sec-tools .round { display: none; } }

/* hero: product-led until the shoot. Garments on Fog, the founder line bottom-left */
.hero { position: relative; background: var(--plate); color: var(--xh-ink); --text: var(--xh-ink); --text-2: #55554F; --btn: var(--xh-ink); --btn-text: #fff; --btn-hover: var(--xh-grey-500); --line-strong: rgba(11, 11, 11, .35);
  min-height: clamp(620px, 50vw, 760px); display: grid; align-items: end; overflow: hidden; }
/* the uniform as a lineup across the top right; the founder line below it, bottom left. No z-index on the items:
   the photographs multiply onto the Fog ground, so white drops out */
.hero-stage { position: absolute; top: 32px; right: var(--margin); bottom: clamp(280px, 23vw, 340px); display: flex; justify-content: flex-end; gap: 12px; }
.hero-item { position: relative; display: block; height: 100%; aspect-ratio: 1; flex: none; }
.hero-item .media { background: transparent; width: 100%; height: 100%; aspect-ratio: 1; }
.hero-copy { position: relative; z-index: 3; width: 100%; padding-block: 48px; pointer-events: none; }
.hero-copy .ctas, .hero-copy a { pointer-events: auto; }
.hero-copy .sub { margin-top: var(--s4); }
@media (max-width: 959px) {
  .hero { min-height: 0; display: block; }
  .hero-stage { position: relative; inset: auto; padding: 24px var(--margin) 0; justify-content: center; gap: 8px; }
  .hero-item { height: auto; flex: 0 0 calc((100% - 16px) / 3); }
  .hero-item .media { width: 100%; height: auto; }
  .hero-copy { padding-block: 24px 36px; }
}
@media (max-width: 599px) {
  .hero-stage { padding-top: 28px; gap: 0; }
  .hero-item { flex-basis: 50%; }
  .hero-item.hide-s { display: none; }
}

/* shop by activity: three tiles, label below */
.tiles-sec { margin-top: var(--s7); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile a { display: block; text-decoration: none; }
.tile-m .media { aspect-ratio: 1; }
.tile-t { margin-top: 16px; font-size: 20px; line-height: 24px; font-weight: 500; }
.tile-s { color: var(--text-2); font-size: 14px; }
.tile a:hover .tile-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 599px) {
  .tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--margin); scroll-padding-inline: var(--margin); max-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}

/* chapters: headline, one sentence, one or two buttons; Ink chapters flip the tokens locally */
.chapter { margin-top: var(--s10); }
.chapter-copy { text-align: center; display: grid; justify-items: center; margin-bottom: var(--s7); }
.chapter-copy .sub { margin-top: var(--s4); }
.chapter-copy .ctas { justify-content: center; }
.on-ink { --sw-ring: rgba(255, 255, 255, .28); background: var(--xh-ink); color: #fff; --bg: var(--xh-ink); --bg-alt: #1C1C1B; --text: #fff; --text-2: #A8A8A4; --text-3: #75756F; --line: #2E2E2C; --line-strong: #5A5A56;
  --btn: #fff; --btn-text: var(--xh-ink); --btn-hover: #C9C9C5; }
.chapter.on-ink { padding-block: var(--s9); }
.film { margin-top: var(--s10); padding-bottom: var(--s9); }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; background: var(--xh-ink); overflow: hidden; }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-btn { position: absolute; right: var(--margin); bottom: 24px; }
.round-ink { background: rgba(255, 255, 255, .12); color: #fff; }
.round-ink:hover { background: rgba(255, 255, 255, .24); }
.film-btn .i-pause, .film-btn[aria-pressed="true"] .i-play { display: none; }
.film-btn[aria-pressed="true"] .i-pause { display: block; }
.film .chapter-copy { margin: var(--s7) auto 0; }
/* two Ink chapters in a row read as one band */
.chapter.on-ink + .film { margin-top: 0; }
@media (max-width: 599px) { .film-frame { aspect-ratio: 1; } }

/* ---------- product wall ---------- */
.wall-head { padding-top: var(--s5); }
.crumb { display: flex; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: var(--s4); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--text); }
.crumb [aria-current] { color: var(--text); }
.wall-sub { margin-top: 12px; color: var(--text-2); max-width: 40em; }
.wall-bar { position: sticky; top: var(--hdr); z-index: 20; background: var(--bg); transition: top var(--d1) var(--ease-ui); margin-top: var(--s5); }
html.hdr-hidden .wall-bar { top: 0; }
.wall-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.wall-count { font-size: 16px; color: var(--text-2); }
.wall-tools { display: flex; align-items: center; gap: 24px; }
.tool { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; cursor: pointer; list-style: none; }
.tool::-webkit-details-marker { display: none; }
.tool .ic { width: 22px; height: 22px; }
.sort { position: relative; }
.sort-v { color: var(--text-2); }
.sort-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; gap: 4px; padding: 16px 0 16px 24px; background: var(--bg); text-align: right; min-width: 220px; }
.sort-menu button { padding: 6px 0; font-size: 16px; text-align: right; }
.sort-menu button:hover { color: var(--text-2); }
.sort-menu button[aria-checked="true"] { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.wall-body { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: var(--s2); }
.wall.is-hide .wall-body { grid-template-columns: minmax(0, 1fr); }
.wall.is-hide .facets { display: none; }
.facets { position: sticky; top: calc(var(--hdr) + 60px); max-height: calc(100vh - var(--hdr) - 76px); overflow-y: auto; padding-bottom: 24px; scrollbar-width: thin; transition: top var(--d1) var(--ease-ui); }
html.hdr-hidden .facets { top: 60px; }
.fg { box-shadow: 0 1px 0 var(--line); }
.fg summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.fg summary::-webkit-details-marker { display: none; }
.fg-n { color: var(--text-2); font-weight: 400; }
.fg-chev { width: 20px; height: 20px; transition: transform var(--d2) var(--ease-ui); }
.fg[open] .fg-chev { transform: rotate(180deg); }
.fg-b { padding-bottom: 20px; }
.checks { display: grid; gap: 4px; }
.check, .swatch-b { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 32px; font-size: 16px; text-align: left; }
.check:hover, .swatch-b:hover { color: var(--text-2); }
.check-n { margin-left: auto; color: var(--text-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.box { position: relative; flex: none; width: 18px; height: 18px; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--bg); transition: background-color var(--d2) var(--ease-ui), transform var(--d2) var(--ease-ui); }
.check[aria-checked="true"] .box { background: var(--sel); box-shadow: none; transform: translateY(calc(-1 * var(--notch))); }
.check[aria-checked="true"] .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-r .box { border-radius: 999px; }
.check-r[aria-checked="true"] .box::after { left: 6px; top: 6px; width: 6px; height: 6px; border: 0; background: #fff; border-radius: 999px; transform: none; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip { height: 40px; min-width: 0; padding: 0 8px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); color: var(--text); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: transform var(--d2) var(--ease-ui), background-color var(--d2) var(--ease-ui), color var(--d2) var(--ease-ui), box-shadow var(--d2) var(--ease-ui); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--text); }
.chip[aria-checked="true"] { background: var(--sel); color: var(--on-sel); box-shadow: none; transform: translateY(calc(-1 * var(--notch))); }
.swatch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.swatch-b { flex-direction: column; align-items: center; gap: 6px; font-size: 12px; min-height: 0; }
.sw { width: 28px; height: 28px; background: var(--sw); box-shadow: inset 0 0 0 1px var(--sw-ring, rgba(11, 11, 11, .14)); transition: transform var(--d2) var(--ease-ui), box-shadow var(--d2) var(--ease-ui); }
.swatch-b[aria-checked="true"] .sw { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sel); transform: translateY(calc(-1 * var(--notch))); }
.swatch-b[aria-checked="true"] span:last-child { font-weight: 600; }
.chips-x { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-x:not(:empty) { margin-bottom: 16px; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; background: var(--bg-alt); font-size: 14px; }
.chip-x .ic { width: 16px; height: 16px; }
.chip-x:hover { background: var(--line); }
.empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 16px; padding: 48px 0; }
.show-s { display: none; }
.wall-ink { padding-bottom: var(--s9); margin-bottom: calc(-1 * var(--s10)); }
.wall-ink .wall-bar { background: var(--bg); }
@media (max-width: 959px) {
  .hide-s { display: none !important; }
  .show-s { display: inline-flex; }
  .wall-body { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .facets { display: none; }
  .wall-main .chips-x { padding-inline: var(--margin); }
  .wall-main .grid .card-t, .wall-main .empty { padding-inline: 8px; }
  .wall-main .empty { padding-inline: var(--margin); }
}

/* ---------- product page ---------- */
.pdp { padding-top: var(--s5); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--buy); gap: 48px; align-items: start; max-width: 1280px; }
.pdp-phead { display: none; }
.pdp-gal { position: sticky; top: 24px; min-width: 0; }
.buy { position: sticky; top: 24px; min-width: 0; }
.gal .media { background: var(--plate); }
.gal-stage { position: relative; }
.gal-count { display: none; }
@media (min-width: 960px) {
  .gal { --gal-mode: stack; }
  .gal-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; scroll-snap-type: none; }
  .gal-slide:first-child { grid-column: span 2; }
  .gal-slide:last-child:nth-child(even) { grid-column: span 2; }
}
.gal-ui { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
@media (min-width: 960px) { .gal .gal-thumbs, .gal .gal-ui { display: none; } }
.gal-ui .round { background: var(--bg); }
.buy-line { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-2); }
.buy-line a { text-decoration: none; }
.buy-line a:hover { color: var(--text); }
.buy-status { color: var(--text); font-weight: 600; }
.buy-name { font-size: 24px; line-height: 1.2; font-weight: 500; margin-top: 4px; }
.buy-desc { color: var(--text-2); margin-top: 2px; }
.buy-price { font-weight: 500; margin-top: 12px; font-size: 16px; font-variant-numeric: tabular-nums; }
.opt { margin-top: var(--s6); }
.opt-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 12px; }
.opt-h b { font-weight: 400; color: var(--text-2); margin-right: auto; }
.colours { display: flex; flex-wrap: wrap; gap: 8px; }
.colour { position: relative; width: 56px; height: 56px; padding: 0; background: var(--plate); transition: transform var(--d2) var(--ease-ui), box-shadow var(--d2) var(--ease-ui); }
.colour.has-thumb { width: 70px; height: 70px; }
.colour .media { position: absolute; inset: 0; aspect-ratio: auto; }
.colour-sw { position: absolute; inset: 10px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .12); }
.colour:hover { box-shadow: inset 0 0 0 1px var(--text); }
.colour[aria-checked="true"] { box-shadow: 0 0 0 2px var(--sel); transform: translateY(calc(-1 * var(--notch))); }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sizes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.size { height: 48px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); font-size: 16px; font-weight: 400; font-variant-numeric: tabular-nums;
  transition: transform var(--d2) var(--ease-ui), background-color var(--d2) var(--ease-ui), color var(--d2) var(--ease-ui), box-shadow var(--d2) var(--ease-ui); }
.size:hover { box-shadow: inset 0 0 0 1px var(--text); }
.size[aria-checked="true"] { background: var(--sel); color: var(--on-sel); box-shadow: none; font-weight: 500; transform: translateY(calc(-1 * var(--notch))); }
.sizes[data-need] .size { box-shadow: inset 0 0 0 1px var(--err); }
.buy-msg { min-height: 24px; margin-top: 12px; font-size: 14px; }
.buy-msg[data-err] { color: var(--err); }
.btn-buy { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; margin-top: 4px; background: var(--btn); color: var(--btn-text); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color var(--d1) var(--ease-ui); }
.btn-buy:hover { background: var(--btn-hover); }
.btn-buy:disabled { background: var(--bg-alt); color: var(--text-2); cursor: default; }
.btn-buy[aria-busy="true"] { opacity: .7; }
.buy-note { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.buy-copy { margin-top: var(--s6); }
.buy-h { font-size: 16px; font-weight: 500; margin-top: var(--s5); }
.comfort-line { margin-top: 4px; }
.accs { margin-top: var(--s6); }
.acc { box-shadow: 0 -1px 0 var(--line); }
.acc:last-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 72px; font-size: 20px; line-height: 24px; font-weight: 500; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-chev { width: 24px; height: 24px; transition: transform var(--d2) var(--ease-ui); }
.acc[open] .acc-chev { transform: rotate(180deg); }
.acc-b { padding-bottom: 28px; display: grid; gap: 12px; }
.facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.facts > div.f1 { grid-template-columns: 1fr; }
.facts dt { color: var(--text-2); font-size: 14px; }
.facts dd { font-size: 14px; }
.place { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
.place-svg { width: 120px; height: 150px; background: var(--plate); display: block; }
.place-rows > div { padding: 6px 0; }
.place-rows dt { font-weight: 500; font-size: 14px; }
.place-rows dd { font-size: 14px; color: var(--text-2); }
.parts { margin-top: var(--s9); }
.parts .t2 { margin-bottom: var(--s5); }

/* the spec card: the #3 tag as UI. White card on Concrete, stepped top edge (right side one notch taller, 2:1),
   the selected size in Select, rising one notch */
.tag { margin: var(--s6) 0 0; padding: 36px 24px 24px; background: var(--xh-grey-200); }
.tag-card { --n: 10px; position: relative; background: #fff; color: var(--xh-ink); padding: 28px 22px 20px;
  clip-path: polygon(0 var(--n), 56% var(--n), calc(56% + var(--n) / 2) 0, 100% 0, 100% 100%, 0 100%); }
.tag-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tag-wm { display: block; height: 22px; width: auto; }
.tag-hole { width: 12px; height: 12px; border-radius: 999px; background: var(--xh-grey-200); }
.tag-rows > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid #E6E6E2; }
.tag-rows dt { font-size: 10px; line-height: 18px; color: #6B6B68; }
.tag-rows dd { font-size: 13px; line-height: 18px; }
.tag-sizes { display: flex; flex-wrap: wrap; gap: 2px; font-size: 11px; line-height: 1; }
.tag-sizes li { display: grid; place-items: center; min-width: 24px; height: 22px; padding: 0 4px; color: #6B6B68; transition: transform var(--d2) var(--ease-ui), background-color var(--d2) var(--ease-ui), color var(--d2) var(--ease-ui); }
.tag-sizes li[aria-checked="true"] { background: var(--xh-select); color: #fff; transform: translateY(calc(-1 * var(--notch))); }
.tag-close { font-size: 17px; line-height: 1.2; font-weight: 500; margin: 20px 0 16px; }
.tag-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.tag-foot > div { display: grid; gap: 2px; }
.tag-k { font-size: 9px; color: #6B6B68; }
.tag-sku { font-size: 11px; }
.tag-bars { width: 104px; height: 26px; flex: none; background: repeating-linear-gradient(90deg, #0B0B0B 0 1px, transparent 1px 3px, #0B0B0B 3px 5px, transparent 5px 6px, #0B0B0B 6px 7px, transparent 7px 10px); }

/* phone buy bar */
.buybar { background: var(--bg); box-shadow: 0 -1px 0 var(--line); }
.buybar-in { display: flex; align-items: center; gap: 12px; padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom, 0px)); }
.buybar-t { display: grid; min-width: 0; font-size: 14px; line-height: 20px; }
.buybar-t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-buy-s { width: auto; flex: 1; height: 52px; margin: 0; max-width: 220px; margin-left: auto; }
@media (max-width: 959px) {
  .pdp { padding-top: 0; }
  .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-inline: 0; }
  .pdp-phead { display: block; padding: 16px var(--margin) 20px; }
  .buy-head { display: none; }
  .pdp-gal, .buy { position: static; }
  .buy { padding-inline: var(--margin); }
  .gal-thumbs { display: none; }
  .gal-count { display: block; position: absolute; left: 16px; bottom: 16px; font-size: 14px; background: var(--bg); padding: 2px 8px; }
  .opt { margin-top: var(--s5); }
}

/* ---------- size guide ---------- */
.sg { display: grid; gap: 16px; }
.sg-fit { font-size: 14px; }
.seg { display: inline-flex; gap: 8px; }
.seg .chip { width: 56px; }
.size-tables { display: grid; gap: 36px; }
.size-b { min-width: 0; }
.size-bt { font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
.size-t { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-t th, .size-t td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-t thead th { color: var(--text-2); font-weight: 500; }
.size-t tbody th { font-weight: 400; color: var(--text-2); white-space: normal; min-width: 140px; }

/* ---------- bag, checkout ---------- */
.bagp { padding-top: var(--s6); }
.bagp .t1 { margin-bottom: var(--s5); }
.bag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.bag-sum { position: sticky; top: 24px; }
.lines { display: grid; }
.bl { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; padding: 24px 0; box-shadow: 0 1px 0 var(--line); }
.bl-c { grid-template-columns: 88px minmax(0, 1fr) auto; padding: 16px 0; }
.bl-m .media { aspect-ratio: 1; }
.bl-n { font-weight: 500; text-decoration: none; }
.bl-n:hover { text-decoration: underline; }
.bl-d { color: var(--text-2); font-size: 14px; }
.bl-q { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.bl-c .bl-q { margin-top: 8px; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { display: grid; place-items: center; width: 36px; height: 36px; }
.qty button:disabled { color: var(--text-3); cursor: default; }
.qty button .ic { width: 18px; height: 18px; }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.bl-rm { font-size: 14px; }
.bl-p { font-weight: 500; font-variant-numeric: tabular-nums; }
.sum { margin-top: 20px; }
.sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.sum dt { color: var(--text); }
.sum .sum-t { margin-top: 8px; padding: 16px 0; box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); font-weight: 500; }
.sum-row { display: flex; justify-content: space-between; font-size: 16px; }
.sum-note { font-size: 14px; color: var(--text-2); margin-top: 12px; }
.bag-sum .btn-buy { margin-top: 20px; }
.bag-empty { display: grid; gap: 8px; justify-items: start; padding: 24px 0 48px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; padding-top: var(--s7); }
.co .lede { margin-top: var(--s5); }
.steps { margin-top: var(--s6); display: grid; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 16px; align-items: start; padding: 20px 0; box-shadow: 0 1px 0 var(--line); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; font-variant-numeric: tabular-nums; }
.step-t { font-size: 20px; line-height: 24px; font-weight: 500; }
.step-d { color: var(--text-2); margin-top: 4px; }
.step-lock { width: 22px; height: 22px; color: var(--text-2); margin-top: 6px; }
.co-notes { margin-top: var(--s5); display: grid; gap: 6px; color: var(--text-2); font-size: 14px; }
.co-sum { background: var(--bg-alt); padding: 24px; position: sticky; top: 24px; }
.lines-s { margin-top: 16px; }
@media (max-width: 959px) {
  .bag-grid, .co { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bl { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; }
  .co-sum, .bag-sum { position: static; }
}

/* ---------- text pages ---------- */
.page { padding-top: var(--s7); }
.page-h .lede { margin-top: var(--s5); }
.page-h .seg { margin-top: var(--s5); }
.page-b { margin-top: var(--s7); max-width: 666px; display: grid; gap: 36px; }
.page-s p { margin-top: 8px; font-size: 18px; line-height: 28px; }
.page > .size-tables { margin-top: var(--s7); max-width: 900px; }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--s10); box-shadow: 0 -1px 0 var(--line); background: var(--bg); }
.foot { padding-block: 40px 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.foot-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-h { font-size: 14px; line-height: 21px; font-weight: 500; }
.foot-chev { display: none; width: 20px; height: 20px; }
.foot-col ul { display: grid; gap: 10px; margin-top: 16px; }
.foot-col a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.foot-col a:hover { color: var(--text); }
.foot-legal { display: flex; align-items: center; gap: 12px; margin-top: 48px; font-size: 12px; color: var(--text-2); }
.mk-xs { display: block; height: 12px; width: auto; color: var(--text); }
@media (max-width: 599px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-col { box-shadow: 0 1px 0 var(--line); }
  .foot-col summary { pointer-events: auto; min-height: 56px; cursor: pointer; }
  .foot-chev { display: block; }
  .foot-col[open] .foot-chev { transform: rotate(180deg); }
  .foot-col ul { margin: 0 0 20px; }
}

/* v4.1 (review 27.09): option groups beyond size (Top, Liner, Inseam, Bottom size, Length) use the size chip */
.sizes-opt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.size-d { display: block; font-size: 12px; line-height: 1; margin-top: 2px; color: var(--text-2); }
.size[aria-checked="true"] .size-d { color: inherit; }
.size:has(.size-d) { height: 56px; }
/* the Next band: pre-order and next-drop pieces under the launch grid, never mixed into it */
.wall-next { margin-top: var(--s9); padding-top: var(--s6); border-top: 1px solid var(--line); }
.wall-next[hidden] { display: none; }
.wall-next-h { margin-bottom: var(--s6); }
.wall-next-s { margin-top: var(--s2); color: var(--text-2); max-width: 56ch; }
.grid:empty { display: none; }
@media (max-width: 599px) { .wall-next { margin-top: var(--s8); } }
/* v4.1 hero (review 27.09): the on-body lead is the largest piece; the flats sit lower and smaller beside it.
   The lead photograph multiplies onto Fog like the flats, so its white ground drops out */
.hero-item img[data-v="lifestyle"] { object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 960px) {
  .hero-stage { align-items: flex-end; }
  .hero-item:not(.hero-item-0) { height: 72%; }
}

/* Supplier-backed campaign, with an explicit visualization disclosure. */
.hero-campaign { background:#161615; color:#fff; --text:#fff; --text-2:#eee; --btn:#fff; --btn-text:#111; --btn-hover:#e8e3d6; --line-strong:rgba(255,255,255,.65); }
.hero-campaign .hero-stage { inset:0; display:block; padding:0; }
.hero-campaign .hero-stage img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.hero-campaign .hero-stage::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.1) 55%,transparent 80%); }
.hero-campaign .display { max-width:55%; font-size:clamp(42px,5.5vw,84px); }
.hero-campaign .sub { max-width:420px; }
.campaign-credit { margin-top:24px; font-size:10px; opacity:.8; letter-spacing:.04em; }
.gal-slide,.g-slide { position:relative; }
.campaign-caption { position:absolute; top:12px; right:12px; max-width:220px; padding:6px 8px; background:rgba(20,20,20,.78); color:#fff; font-size:10px; line-height:1.4; text-align:right; }
@media(max-width:959px) { .hero-campaign .hero-stage { position:relative; height:460px; } .hero-campaign .hero-stage img { object-position:72% center; } .hero-campaign .hero-stage::after { display:none; } .hero-campaign .display { max-width:none; } .hero-campaign .hero-copy { background:#161615; } }
@media(max-width:599px) { .hero-campaign .hero-stage { height:390px; } .campaign-caption { max-width:180px; font-size:9px; } }

.viewer-disclosure { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 5; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 8px 12px; background: #111e; color: #fff; font-size: 12px; line-height: 1.4; text-align: center; pointer-events: none; }
.viewer-disclosure[hidden] { display: none; }
