/* Home page */

/* ---------- shared bits ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .h2 { margin-top: 12px; }
/* Stacked eyebrow / title / lead: the same 12-14px rhythm as the left-aligned heads (no flex gap on top of margins). */
.section-head-center { flex-direction: column; align-items: center; gap: 0; text-align: center; }
.section-head-center .lead { margin-top: 14px; max-width: 54ch; }
.section-sub { margin-top: 12px; color: var(--ink-600); max-width: 62ch; }
/* Text links get a 44px-tall hit area; the negative margin keeps their place in the layout unchanged. */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 11px; margin-block: -11px; font-size: 15px; font-weight: 650; color: var(--ink-900); white-space: nowrap; }
.arrow-link svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.arrow-link:hover { color: var(--brand-600); }
.arrow-link:hover svg { transform: translateX(3px); }
.sk-line { display: block; height: 14px; width: 70%; }
.sk-line.short { width: 40%; margin-top: 8px; }
.load-error { grid-column: 1 / -1; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); color: var(--ink-600); }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--photo-bg); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 72px);
  align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 64px);
}
.hero-copy { min-width: 0; }
/* Top-aligned so the patch stays beside the first line when the eyebrow wraps on narrow phones. */
.hero-eyebrow { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--ink-700); }
.patch { flex: none; width: 11px; height: 11px; margin-top: 4px; border-radius: 3px; background: var(--brand-600); box-shadow: 0 0 0 3px rgba(35, 67, 240, 0.14); }
.hero-title {
  margin-top: 20px; font-size: clamp(42px, 5.1vw, 72px); line-height: 0.98; letter-spacing: -0.032em; word-spacing: 0.06em;
  font-weight: 900; font-stretch: 106%;
}
.hero-title-accent { display: block; color: var(--brand-600); }
.hero-lead { margin-top: 22px; max-width: 48ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-600); }
.hero-lead strong { color: var(--ink-900); font-weight: 650; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* example size run */
.size-run { margin: 38px 0 0; padding-top: 22px; border-top: 1px solid rgba(11, 18, 32, 0.1); max-width: 540px; }
.size-run-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.size-run-product { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-700); }
.size-run-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
/* Cells keep 46px when there is room and shrink together (never past the edge) on the narrowest phones. */
.size-run-cells { list-style: none; display: flex; gap: 6px; flex: 0 1 auto; min-width: 0; }
.size-run-cells li {
  display: grid; grid-template-rows: auto 1fr; place-items: center; flex: 0 1 auto; width: 46px; min-width: 32px; height: 56px; padding-top: 7px;
  border-radius: 9px; background: #fff; border: 1px solid rgba(11, 18, 32, 0.07); box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
}
.size-run-cells li.skeleton { border: 0; box-shadow: none; }
.size-run-cells .sz { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-500); line-height: 1; }
.size-run-cells .qty { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--ink-900); font-variant-numeric: tabular-nums; line-height: 1; }
.size-run-cells li.is-zero { background: transparent; box-shadow: none; }
.size-run-cells li.is-zero .qty { color: var(--ink-300); }
.size-run-total { display: grid; gap: 3px; font-size: 14px; color: var(--ink-600); }
.size-run-sum b { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.size-run-sum .eq { color: var(--ink-400); font-weight: 600; margin-right: 2px; }
.size-run-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--success-600); font-size: 13px; font-weight: 650; }
.size-run-ok svg { width: 15px; height: 15px; }

/* interactive stage */
.hero-stage { position: relative; min-width: 0; }
.stage-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.stage-tabs button {
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid transparent; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--ink-600); transition: background-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.stage-tabs button:hover { color: var(--ink-900); background: rgba(255, 255, 255, 0.6); }
.stage-tabs button[aria-pressed="true"] { background: #fff; color: var(--ink-900); border-color: rgba(11, 18, 32, 0.08); box-shadow: var(--shadow-xs); }
.stage-frame { position: relative; width: 100%; aspect-ratio: 1 / 0.9; margin-top: 6px; }
.stage-canvas { width: 100%; height: 100%; transition: opacity 0.3s var(--ease); }
.stage-frame.is-loading .stage-canvas { opacity: 0; }
.stage-frame.is-loading::before {
  content: ""; position: absolute; inset: 8% 16%; border-radius: 28px;
  background: linear-gradient(90deg, #e6e6e6 25%, #f2f2f2 37%, #e6e6e6 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
}
.stage-frame.is-busy:not(.is-loading) .stage-canvas { opacity: 0.55; }
.stage-frame.is-error::after { content: "Preview unavailable. Open the shop to start designing."; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-500); font-size: 14px; }

.stage-zone {
  position: absolute; pointer-events: none; border: 1px dashed rgba(35, 67, 240, 0.9); border-radius: 4px;
  transition: left 0.35s var(--ease), top 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
}
.stage-zone .tick { position: absolute; width: 8px; height: 8px; border: 0 solid var(--brand-600); }
.stage-zone .tl { left: -3px; top: -3px; border-width: 2px 0 0 2px; border-top-left-radius: 3px; }
.stage-zone .tr { right: -3px; top: -3px; border-width: 2px 2px 0 0; border-top-right-radius: 3px; }
.stage-zone .bl { left: -3px; bottom: -3px; border-width: 0 0 2px 2px; border-bottom-left-radius: 3px; }
.stage-zone .br { right: -3px; bottom: -3px; border-width: 0 2px 2px 0; border-bottom-right-radius: 3px; }
.stage-tag { position: absolute; display: flex; align-items: center; pointer-events: none; transform: translateY(-50%); transition: left 0.35s var(--ease), top 0.35s var(--ease); }
.stage-tag.is-left { flex-direction: row-reverse; }
.stage-tag-line { width: 26px; height: 1px; background: var(--brand-600); flex: none; }
.stage-tag-text {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 11px; border-radius: var(--radius-pill);
  background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08), 0 4px 14px rgba(11, 18, 32, 0.08); white-space: nowrap;
  font-size: 12.5px; font-weight: 500; color: var(--ink-600); line-height: 1;
}
.stage-tag-text b { font-size: 11px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-700); }
.stage-loupe {
  position: absolute; left: 3%; bottom: 7%; width: clamp(104px, 24%, 164px); aspect-ratio: 1; padding: 4px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(11, 18, 32, 0.08), 0 14px 36px rgba(11, 18, 32, 0.14);
}
.stage-loupe canvas { width: 100%; height: 100%; border-radius: 50%; }
.stage-loupe-label {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); padding: 5px 10px; border-radius: var(--radius-pill);
  background: var(--ink-900); color: #fff; font-size: 11.5px; font-weight: 650; white-space: nowrap; line-height: 1;
}

.stage-controls { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-top: 14px; }
.stage-label { display: block; margin-bottom: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.stage-label b { margin-left: 6px; font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-900); }
.stage-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-swatches .swatch { width: 30px; height: 30px; box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.14); border-color: #efefef; }
.stage-swatches .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink-900); }
.segmented { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(11, 18, 32, 0.07); }
.segmented button {
  height: 34px; padding: 0 15px; border: 0; border-radius: 8px; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--ink-600); transition: background-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.segmented button:hover { color: var(--ink-900); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink-900); box-shadow: 0 1px 2px rgba(11, 18, 32, 0.1); }
.stage-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(11, 18, 32, 0.1); font-size: 14px; }
.stage-product { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-block: 11px; margin-block: -11px; color: var(--ink-600); }
.stage-product b { color: var(--ink-900); font-weight: 650; }
.stage-product:hover b { color: var(--brand-600); }
.stage-caption .arrow-link { font-size: 14px; color: var(--brand-600); }
/* When the caption wraps, its two links stack 12px apart: 6px of extra hit area each, so the targets never overlap. */
.stage-caption { row-gap: 12px; }
.stage-caption .stage-product, .stage-caption .arrow-link { padding-block: 6px; margin-block: -6px; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px) clamp(12px, 1.6vw, 20px); }
/* Size container: the tile's text and the "all products" tile scale with the tile, whatever the column count. */
.cat-tile { display: flex; flex-direction: column; gap: 12px; min-width: 0; container-type: inline-size; }
.cat-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--photo-bg); }
.cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-front { transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--k, 1)); transition: transform 0.6s var(--ease), opacity 0.45s var(--ease); }
.cat-life { opacity: 0; object-position: 50% 18%; transform: scale(1.04); transition: opacity 0.45s var(--ease), transform 0.8s var(--ease); }
.cat-life:not([src]) { display: none; }
a.cat-tile:hover .cat-front { transform: translate(var(--tx, 0), var(--ty, 0)) scale(calc(var(--k, 1) * 1.04)); }
@media (hover: hover) {
  a.cat-tile:hover .cat-life[src] { opacity: 1; transform: scale(1); }
}
.cat-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-inline: 2px; }
/* Narrow tiles: the count goes under the name instead of squeezing it ("Hoodies & / Sweatshirts   23 styles"). */
@container (max-width: 259px) {
  .cat-meta { flex-direction: column; align-items: flex-start; gap: 1px; }
}
.cat-name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
a.cat-tile:hover .cat-name { color: var(--brand-600); }
.cat-count { flex: none; font-size: 13.5px; color: var(--ink-500); }
.cat-tile.is-skeleton .cat-media { background: none; }
.cat-tile-all .cat-media { background: var(--ink-900); color: #fff; }
/* Sized in container units (cqi = 1% of the tile's width) so the number, label and link always fit inside the tile. */
.cat-all-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(12px, 9cqi, 26px); }
.cat-all-num { font-family: var(--font-display); font-size: clamp(40px, 31cqi, 96px); font-weight: 900; font-stretch: 110%; line-height: 0.9; letter-spacing: -0.04em; }
.cat-all-label { margin-top: clamp(6px, 3cqi, 8px); font-size: clamp(12.5px, 8cqi, 15px); line-height: 1.4; color: #c3c9d6; text-wrap: balance; }
.cat-all-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(8px, 7cqi, 18px); font-weight: 650; font-size: clamp(13px, 8.5cqi, 15px); }
.cat-all-cta svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.cat-tile-all:hover .cat-all-cta svg { transform: translateX(4px); }
.cat-tile-all:hover .cat-media { background: var(--brand-600); }
.cat-tile-all .cat-media { transition: background-color 0.25s var(--ease); }

/* ---------- how it works ---------- */
.steps-sec { background: var(--bg-soft); }
.steps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.steps-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.steps-intro .h2 { margin-top: 12px; }
.steps-intro .lead { margin-top: 16px; font-size: 17.5px; max-width: 42ch; }
.steps-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
/* example proof sheet */
.proof-sheet {
  margin: 36px 0 0; max-width: 440px; padding: 18px 18px 16px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 18px 40px rgba(11, 18, 32, 0.07);
}
.ps-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.ps-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-800); }
.ps-tag { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--warning-50); color: var(--warning-600); font-size: 11.5px; font-weight: 650; }
.ps-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 14px; }
.ps-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--photo-bg); overflow: hidden; }
.ps-media canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s var(--ease); }
.ps-media.is-ready canvas { opacity: 1; }
.ps-specs { display: grid; gap: 7px; margin: 0; }
.ps-specs div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.35; }
.ps-specs dt { color: var(--ink-500); }
.ps-specs dd { margin: 0; color: var(--ink-900); font-weight: 600; }
.ps-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.ps-sizes span { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 8px; border-radius: 6px; background: var(--bg-soft); font-size: 12.5px; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.ps-sizes span b { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-500); }
.ps-sizes span.is-zero { opacity: 0.5; }
.ps-options { list-style: none; display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ps-options li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-700); }
.ps-options li.is-on { border-color: var(--brand-600); background: var(--brand-50); color: var(--ink-900); box-shadow: 0 0 0 1px var(--brand-600) inset; }
.ps-radio { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-300); background: #fff; }
.is-on .ps-radio { border: 4.5px solid var(--brand-600); }
@media (max-width: 960px) { .proof-sheet { display: none; } }

.steps { list-style: none; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display); font-size: 30px; font-weight: 800; font-stretch: 112%; line-height: 1;
  letter-spacing: -0.02em; color: #7b8496; /* 3:1+ large-text contrast on white and --bg-soft */ font-variant-numeric: tabular-nums; transition: color 0.2s var(--ease);
}
.step:hover .step-num { color: var(--brand-600); }
.step-title { font-family: var(--font-sans); font-size: 18.5px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
.step p { margin-top: 6px; max-width: 58ch; color: var(--ink-600); }

/* ---------- decoration methods ---------- */
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.method { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); container-type: inline-size; }
.method-visual { position: relative; aspect-ratio: 16 / 10; background: var(--photo-bg); }
.method-visual canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s var(--ease); }
.method-visual.is-ready canvas { opacity: 1; }
.method-visual:not(.is-ready)::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #e9e9e9 25%, #f3f3f3 37%, #e9e9e9 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
}
.method-chip {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 11px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92); font-size: 12.5px; font-weight: 650; color: var(--ink-800); box-shadow: var(--shadow-xs);
}
.method-body { padding: clamp(22px, 2.6vw, 34px); }
.method-title { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.025em; }
.method-hint { margin-top: 8px; font-size: 16.5px; color: var(--ink-600); }
.method-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.method-cols h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.method-list { list-style: none; display: grid; gap: 9px; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink-700); }
.method-list li { display: flex; gap: 9px; align-items: flex-start; }
.method-list svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.method-list.is-good svg { color: var(--success-600); }
.method-list.is-mind svg { color: var(--ink-400); }
/* "Choose it for" and "Keep in mind" side by side only when each list gets a readable column. */
@container (max-width: 419px) {
  .method-cols { grid-template-columns: minmax(0, 1fr); }
}
.method-recommend {
  display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(16px, 2vw, 24px); padding: 18px 22px;
  border-radius: var(--radius); background: var(--brand-50); color: var(--ink-800); font-size: 15px;
}
.method-recommend b { color: var(--ink-900); }
.method-rec-icon { flex: none; color: var(--brand-600); }
.method-rec-icon svg { width: 22px; height: 22px; }

/* ---------- featured products ---------- */
.featured { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(14px, 1.8vw, 24px); }
.pcard { min-width: 0; display: flex; flex-direction: column; container-type: inline-size; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--photo-bg); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--k, 1)); transition: transform 0.6s var(--ease); }
.pcard:hover .pcard-media img { transform: translate(var(--tx, 0), var(--ty, 0)) scale(calc(var(--k, 1) * 1.04)); }
.pcard.is-skeleton .pcard-media { background: none; }
.pcard-body { padding: 14px 2px 0; }
.pcard-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-left: -3px; min-height: 26px; }
/* 26px touch target around a 20px dot (same look as before: white ring, 1px outline, dark ring when chosen). */
.hswatch { position: relative; display: grid; place-items: center; flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.hswatch::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: var(--paint, #888);
  box-shadow: 0 0 0 1px var(--line-strong); transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.hswatch:hover::before { transform: scale(1.06); }
.hswatch[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--ink-900); }
.pcard-more { font-size: 12.5px; font-weight: 600; color: var(--ink-500); margin-left: 4px; }
.pcard-name { margin-top: 8px; font-family: var(--font-sans); font-size: 15.5px; font-weight: 650; letter-spacing: -0.008em; line-height: 1.35; }
.pcard-name a { padding-block: 4px; }
.pcard-name a:hover { color: var(--brand-600); }
.pcard-name a::after { content: ""; }
/* "Cloudy Grey · 4 colors": when the count wraps, its dot is clipped at the left edge instead of dangling. */
.pcard-color { display: flex; flex-wrap: wrap; column-gap: 17px; overflow: hidden; margin-top: 2px; font-size: 13.5px; color: var(--ink-500); }
.pcard-color > span { position: relative; min-width: 0; }
.pcard-color > span + span::before { content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.pcard-price { margin-top: 6px; font-size: 14px; color: var(--ink-600); }
.pcard-price b { color: var(--ink-900); font-weight: 700; font-variant-numeric: tabular-nums; }
.pcard-price span { color: var(--ink-500); }
/* Card widths on phones: about 117px (280), 137 (320), 157 (360), 172 (390). */
@container (max-width: 160px) {
  .pcard-swatches .hswatch:nth-child(n + 6), .pcard-swatches .pcard-more { display: none; }
}
@container (max-width: 149px) {
  .pcard-name { font-size: 14.5px; }
  .pcard-price .pcard-unit { display: none; } /* "From $39.83"; the section intro says prices are per piece */
}
@container (max-width: 130px) {
  .pcard-swatches .hswatch:nth-child(n + 5) { display: none; }
}
.featured-note { margin-top: 28px; font-size: 14.5px; color: var(--ink-600); }

/* ---------- value props ---------- */
.why { background: var(--ink-950); color: #b8bfcc; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why .eyebrow { color: #8ea2ff; }
.why-intro .h2 { margin-top: 12px; color: #fff; }
.why-intro p:last-child { margin-top: 16px; font-size: 17.5px; line-height: 1.6; max-width: 40ch; }
.why-list { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.why-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; }
.why-icon svg { width: 26px; height: 26px; }
.why-item h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #fff; line-height: 1.3; }
.why-item p { margin-top: 6px; max-width: 56ch; color: #aab2c1; }

/* ---------- FAQ teaser ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.faq-grid .h2 { margin-top: 12px; }
.faq-grid .section-sub a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-600); }
.faq-item summary:focus-visible { box-shadow: var(--ring); border-radius: var(--radius-xs); }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-800); transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-icon { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.faq-item[open]:not(.is-closing) .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 52px 22px 2px; color: var(--ink-600); max-width: 64ch; }

/* ---------- closing CTA ---------- */
.cta-band { background: var(--photo-bg); overflow: hidden; }
.cta-inner { display: flex; justify-content: center; text-align: center; padding-top: clamp(64px, 8vw, 112px); }
.cta-copy { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.cta-title { font-size: clamp(36px, 5vw, 66px); font-weight: 900; font-stretch: 106%; letter-spacing: -0.035em; word-spacing: 0.05em; line-height: 0.98; }
.cta-copy p { margin-top: 20px; max-width: 50ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-600); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.lineup-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(8px, 2vw, 24px); }
.lineup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; margin-top: clamp(16px, 3vw, 40px); }
.lineup-item { position: relative; aspect-ratio: 4 / 5; }
.lineup-item canvas { width: 100%; height: 100%; opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.lineup-item.is-ready canvas { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lineup-item:nth-child(n + 4) { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-copy { max-width: 680px; }
  /* Left-aligned with the copy above it (centering it left the two blocks on different edges on tablets). */
  .hero-stage { max-width: 680px; width: 100%; }
  .steps-grid, .why-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-intro, .why-intro { position: static; }
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid > .pcard:nth-child(n + 7) { display: none; }
}
/* Landscape phones and small tablets: two method cards side by side instead of one card taller than the screen. */
@media (min-width: 640px) and (max-width: 960px) {
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cat-tile { gap: 10px; }
}
/* Two category columns only where four would be too small; 560px and up keeps the 4 x 2 grid. */
@media (max-width: 559.98px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* "Any size mix." stays on one line from 280px up (34px there, 48px by 445px). */
  .hero-title { font-size: clamp(34px, calc(8.33vw + 11px), 48px); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .size-run-cells { gap: 4px; }
  .size-run-cells li { width: 40px; height: 52px; }
  .size-run-cells .qty { font-size: 19px; }
  .stage-frame { aspect-ratio: 1 / 0.98; }
  .stage-loupe { left: 2%; }
  .stage-loupe-label { left: 0; transform: none; }
  .stage-tabs { gap: 2px; }
  .stage-tabs button { padding: 0 11px; font-size: 13.5px; }
  .stage-controls { align-items: flex-start; }
  .section-head:not(.section-head-center) { align-items: flex-start; }
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .step-num { font-size: 24px; }
  .why-item { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .why-icon { width: 40px; height: 40px; border-radius: 10px; }
  .why-icon svg { width: 22px; height: 22px; }
  .faq-a p { padding-right: 8px; }
  /* Three balanced lines on small phones instead of one word per line. */
  .cta-title { font-size: clamp(28px, calc(7vw + 9px), 44px); }
  .cta-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
  .step-num { font-size: 22px; }
}
@media (max-width: 380px) {
  .stage-tabs { gap: 0; }
  .stage-tabs button { padding: 0 8px; font-size: 13px; }
}
/* Below ~340px the five garment tabs no longer fit on one line: a deliberate 3 + 2 grid instead of a lone "Jacket". */
@media (max-width: 339.98px) {
  .stage-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .stage-tabs button { grid-column: span 2; padding: 0 4px; }
  .stage-tabs button:nth-child(n + 4) { grid-column: span 3; }
}
/* Landscape phones: keep the preview within one screen so the garment and its controls can be seen together. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 960px) {
  .stage-frame { aspect-ratio: auto; height: max(240px, calc(100svh - var(--header-h) - 56px)); }
  .stage-loupe { width: auto; height: clamp(88px, 40%, 164px); }
}
