/* ==========================================================
   CRYSTAL HUNT — Simple (light) theme · core styles
   Palette:  Red #ED1C24 · Ink #111114 · Paper #FFFFFF · Sand #F6F5F2
   Type:     Barlow Condensed (headings) · Barlow (body & labels)
   ========================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --red: #ED1C24;
  --red-dark: #C8111A;
  --red-soft: #FDECEC;
  --ink: #111114;
  --ink-2: #34343B;
  --muted: #6B6B74;
  --paper: #FFFFFF;
  --sand: #F6F5F2;
  --sand-2: #EFEDE8;
  --line: #E7E5E0;
  --line-2: #D9D6CF;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17,17,20,.05);
  --shadow: 0 1px 2px rgba(17,17,20,.04), 0 12px 32px -16px rgba(17,17,20,.18);
  --shadow-lg: 0 2px 4px rgba(17,17,20,.04), 0 30px 60px -24px rgba(17,17,20,.28);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-body); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.red { color: var(--red); }
.italic { font-style: normal; }
.muted { color: var(--muted); }
.outline { color: var(--muted); }
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }

/* section rhythm — sand panels between white ones */
.products, .caps, .why, .contact { background: var(--sand); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.eyebrow .idx { display: none; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow:has(.dot)::before { display: none; }

.section-title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: 0;
}
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.section-more { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  color: #fff; background: var(--ink); white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(17,17,20,.45); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--red-dark); box-shadow: 0 10px 22px -10px rgba(237,28,36,.55); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #26262c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
/* The frosted-glass look lives on a pseudo-element instead of directly on
   .header: backdrop-filter on an ancestor becomes the containing block for
   any position:fixed descendant (per spec), which on mobile turned #nav's
   fixed top/bottom:0 into offsets from the header's own tiny bar height
   instead of the viewport — collapsing/misplacing the open mobile menu. */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.header.is-scrolled, .header.is-solid { border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }

/* Account for the WordPress admin toolbar (also position:fixed at top:0) so it
   doesn't sit on top of / overlap our own fixed header when logged in. */
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { height: 34px; width: auto; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__name b { color: var(--red); margin-left: 4px; }

.nav { display: flex; gap: 2px; }
.nav__link { position: relative; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); background: var(--sand); }
.nav__link.is-active { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.quote-pill { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: border-color .2s, color .2s; }
.quote-pill:hover { border-color: var(--ink); color: var(--ink); }
.quote-pill__count {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: #fff; background: var(--red);
  transform: scale(0); transition: transform .3s var(--ease);
}
.quote-pill__count.has-items { transform: scale(1); }
.quote-pill__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.burger { display: none; width: 42px; height: 42px; position: relative; border-radius: 50%; border: 1px solid var(--line); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
  overflow: hidden;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.2rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.005em; margin-bottom: 24px;
}
.hero__title .line { display: block; }
.hero__title .line > span, .page-hero__title .line > span { display: inline-block; opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-ready .hero__title .line > span, .is-ready .page-hero__title .line > span { opacity: 1; transform: none; }
.is-ready .hero__title .line:nth-child(2) > span, .is-ready .page-hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span, .is-ready .page-hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__lead { max-width: 520px; font-size: 1.15rem; color: var(--ink-2); margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 620px; }
.hero__stats li { padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.hero__stats strong { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.hero__stats small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; }
.crystal { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.crystal::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--red-soft) 0%, rgba(253,236,236,0) 70%); }
.crystal__garment { position: relative; width: 58%; filter: drop-shadow(0 22px 26px rgba(17,17,20,.18)); }
.crystal__garment .garment { transition: opacity .4s, transform .5s var(--ease); }
.crystal__garment.is-swapping .garment { opacity: 0; transform: scale(.94); }

.chip {
  position: absolute; z-index: 3; display: grid; gap: 1px; padding: 10px 16px; border-radius: var(--r);
  font-weight: 600; font-size: .95rem; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.chip .mono { color: var(--muted); font-size: .64rem; }
.chip--a { top: 8%; left: -6%; }
.chip--b { top: 62%; right: -6%; }
.hero__swatches { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; padding: 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.hero__swatches button { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17,17,20,.15); transition: transform .25s var(--ease), box-shadow .25s; }
.hero__swatches[hidden] { display: none; }
.hero__swatches button { background: var(--line-2); }
.hero__swatches button.is-active { background: var(--red); transform: scale(1.15); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.crystal__garment {
    position: absolute;
    inset: 0;
    /* padding: 6% 6% 14%; */
    transition: transform .4s var(--ease);
}

.crystal__garment {
    position: relative;
    width: 100%;
    height: 100%;
    /* width: 58%; */
    filter: drop-shadow(0 22px 26px rgba(17, 17, 20, .18));
}
.hero__slide { position: absolute; left: 6%; top: 6%; width: 88%; height: 80%; object-fit: contain; border-radius: var(--r); opacity: 0; transition: opacity .7s var(--ease); }
.hero__slide.is-active { opacity: 1; }

/* ---------- Banner slider (homepage featured products) ---------- */
.banner-slider { padding: 0 0 clamp(48px, 6vw, 72px); background: var(--paper); }
.banner-slider__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.banner-slider__track { display: flex; transition: transform .6s var(--ease); }
.banner-slide {
  flex: 0 0 100%; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  min-height: clamp(280px, 38vw, 420px); padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px);
  background: linear-gradient(120deg, var(--sand) 0%, var(--paper) 100%);
}
.banner-slide__art { display: grid; place-items: center; }
.banner-slide__art .garment { width: min(78%, 260px); filter: drop-shadow(0 26px 30px rgba(17,17,20,.2)); }
.banner-slide__art img { width: 100%; max-width: 420px; max-height: 340px; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(17,17,20,.2)); border-radius: var(--r); }
.banner-slide__copy .mono { color: var(--red); margin-bottom: 10px; display: block; }
.banner-slide__copy h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: 1.02; margin-bottom: 14px; }
.banner-slide__copy p:not(.mono) { color: var(--ink-2); font-size: 1.02rem; max-width: 46ch; margin-bottom: 22px; }
.banner-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: background .2s, color .2s, border-color .2s;
}
.banner-slider__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.banner-slider__arrow--prev { left: 18px; }
.banner-slider__arrow--next { right: 18px; }
.banner-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.banner-slider__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
.banner-slider__dots button.is-active { background: var(--red); transform: scale(1.3); }
@media (max-width: 760px) {
  .banner-slide { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; min-height: 0; }
  .banner-slide__art .garment { width: 46%; margin: 0 auto; }
  .banner-slide__copy p:not(.mono) { margin-left: auto; margin-right: auto; }
  .banner-slider__arrow { width: 38px; height: 38px; }
  .banner-slider__arrow--prev { left: 8px; } .banner-slider__arrow--next { right: 8px; }
}

/* ---------- Sports strip ---------- */
.marquee { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; }
.marquee span { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }

/* ---------- Categories (card grid) ---------- */
.cat-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat__num { position: absolute; top: 16px; left: 18px; z-index: 2; color: var(--muted); }
.cat__label { display: none; }
.cat__art { display: grid; place-items: center; aspect-ratio: 1.1; background: var(--sand); padding: 14% 18%; overflow: hidden; }
.cat__art .garment { width: 100%; filter: drop-shadow(0 14px 16px rgba(17,17,20,.14)); transition: transform .5s var(--ease); }
.cat:hover .cat__art .garment { transform: scale(1.05); }
.cat__art:has(img) { padding: 0; }
.cat__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.cat:hover .cat__art img { transform: scale(1.05); }
.cat__info { padding: 20px 20px 22px; display: grid; gap: 6px; flex: 1; }
.cat__info h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; font-weight: 700; text-transform: uppercase; }
.cat__info p { color: var(--muted); font-size: .94rem; }
.cat__go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--red); font-size: .95rem; }

/* ---------- Filters ---------- */
.filters { position: relative; display: inline-flex; flex-wrap: wrap; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.filter { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: color .3s; }
.filter.is-active { color: #fff; }
.filter:hover:not(.is-active) { color: var(--ink); }
.filters__glider { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--ink); transition: transform .4s var(--ease), width .4s var(--ease); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.product.is-hidden { display: none; }
.product.is-filtering { opacity: 0; transform: scale(.97); }
.product__card {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.product__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product__media { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; background: var(--sand); margin: 8px 8px 0; border-radius: var(--r); overflow: hidden; }
.product__art { display: block; width: 68%; filter: drop-shadow(0 14px 16px rgba(17,17,20,.14)); transition: transform .5s var(--ease); }
.product__art .garment { transition: opacity .3s; }
.product__art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); display: block; }
.product__media:has(.product__art img) .product__art { width: 100%; height: 100%; }
.product__art.is-swapping .garment { opacity: 0; }
.product__card:hover .product__art { transform: scale(1.05); }

.product__badge { position: absolute; top: 12px; left: 12px; z-index: 4; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product__badge--dark { background: var(--ink); }
.product__actions { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.product__card:hover .product__actions, .product__card:focus-within .product__actions { opacity: 1; transform: none; }
.product__actions button { padding: 9px 6px; border-radius: 999px; font-weight: 600; font-size: .84rem; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); transition: background .2s, color .2s; }
.product__actions button:last-child { background: var(--ink); color: #fff; }
.product__actions button:hover { background: var(--red); color: #fff; }

.product__body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; }
.product__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); }
.product__meta .mono { font-size: .66rem; }
.product__title { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.product__title a { transition: color .2s; }
.product__title a:hover { color: var(--red); }
.product__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.product__price { font-size: .85rem; color: var(--muted); }
.product__price b { color: var(--ink); font-weight: 600; }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 20px; height: 20px; border-radius: 50%; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(17,17,20,.15); transition: transform .2s var(--ease), box-shadow .2s; }
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.swatch span { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }

.products__foot { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.products__foot p { font-size: 1.1rem; font-weight: 500; max-width: 560px; }

/* ---------- Customizer ---------- */
.customizer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.customizer__stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.stage__bg { position: absolute; inset: 0; border-radius: 28px; background: var(--sand); border: 1px solid var(--line); overflow: hidden; }
.stage__bg::after { content: ''; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 15%; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(237,28,36,.18)), transparent 68%); opacity: .55; transition: background .5s; }
.stage__garment { position: relative; width: 62%; filter: drop-shadow(0 26px 30px rgba(17,17,20,.2)); }
.stage__garment .garment { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.96); opacity: .4; } }
.stage__tag { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: .64rem; }
.customizer__panel .muted { margin: 16px 0 28px; max-width: 500px; }
.builder { display: grid; gap: 22px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.builder__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.builder__label { display: block; color: var(--muted); margin-bottom: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); transition: all .2s; }
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.customizer .swatch { width: 24px; height: 24px; }
.input { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sand); border: 1px solid var(--line); color: var(--ink); font: inherit; outline: none; transition: border-color .2s, background .2s; }
.input:focus { border-color: var(--ink); background: var(--paper); }
.input--num { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; width: 100px; text-align: center; padding: 8px; }
.builder__cta { display: flex; justify-content: flex-end; }

/* ---------- Capabilities (home tabs) ---------- */
.caps__grid { display: grid; grid-template-columns: 320px 1fr; gap: 18px; }
.caps__tabs { display: grid; gap: 6px; align-content: start; }
.cap-tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; text-align: left; border-radius: var(--r);
  font-weight: 600; font-size: 1.05rem; color: var(--muted); border: 1px solid transparent; transition: all .25s;
}
.cap-tab .mono { color: inherit; opacity: .7; }
.cap-tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.cap-tab.is-active { color: var(--ink); background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.cap-tab.is-active .mono { color: var(--red); opacity: 1; }
.caps__panel { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: flex; align-items: flex-end; }
.caps__pattern { position: absolute; inset: 0 0 45% 0; transition: opacity .3s; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.caps__pattern.is-out { opacity: 0; }
.caps__content { position: relative; z-index: 2; padding: clamp(26px, 4vw, 48px); max-width: 620px; }
.caps__content > * { transition: opacity .3s, transform .4s var(--ease); }
.caps__content.is-out > * { opacity: 0; transform: translateY(10px); }
.caps__big { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: .72rem; }
.caps__content h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.caps__content p { color: var(--ink-2); margin-bottom: 20px; }
.caps__specs { display: flex; flex-wrap: wrap; gap: 8px; }
.caps__specs li { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; background: var(--sand); border: 1px solid var(--line); }

/* ---------- Process ---------- */
.process__intro { max-width: 380px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps__line { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); border-radius: 2px; }
.steps__line span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.step { position: relative; }
.step__n {
  position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; background: var(--paper); border: 2px solid var(--line); color: var(--muted);
  transition: background .4s, color .4s, border-color .4s;
}
.step.is-on .step__n { background: var(--red); border-color: var(--red); color: #fff; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { position: relative; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__n { position: absolute; top: 24px; right: 24px; color: var(--line-2); }
.why-card__icon { display: grid; place-items: center; width: 52px; height: 52px; padding: 12px; margin-bottom: 22px; border-radius: var(--r); background: var(--red-soft); color: var(--red); fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.why-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Stats band ---------- */
.band { background: var(--red); color: #fff; padding: clamp(52px, 6vw, 72px) 0; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band__grid > div { display: grid; gap: 4px; }
.band__grid > div + div { border-left: 1px solid rgba(255,255,255,.25); padding-left: 24px; }
.band__grid strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.band__grid > div > span { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .88; }

/* ---------- FAQ (accordion) ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__side .muted { margin: 16px 0 26px; max-width: 380px; }
.faq__side .btn { margin-top: 20px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer;
  font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.35; transition: color .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--red); }
.acc summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.acc summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] summary i { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(180deg); }
.acc[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 52px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__copy .muted { margin: 16px 0 30px; max-width: 440px; }
.contact__list { display: grid; border-top: 1px solid var(--line-2); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.contact__list .mono { color: var(--muted); padding-top: 3px; }
.contact__list a:hover { color: var(--red); }
.quote-list { margin-top: 28px; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.quote-list > .mono { color: var(--red); margin-bottom: 12px; }
.quote-list__items { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-list__items span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--sand); font-size: .88rem; animation: pop .35s var(--ease); }
.quote-list__items button { width: 20px; height: 20px; border-radius: 50%; line-height: 1; color: var(--muted); }
.quote-list__items button:hover { color: #fff; background: var(--red); }

.form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 10px; border-radius: var(--r-sm); background: var(--sand); border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-size: 1rem; outline: none; resize: vertical; transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field--select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); font-size: 1rem; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 3px rgba(17,17,20,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { top: 7px; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.field.is-error input, .field.is-error select { border-color: var(--red); background: var(--red-soft); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.upload { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); border: 1.5px dashed var(--line-2); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.upload:hover { border-color: var(--red); color: var(--ink); background: var(--red-soft); }
.upload input { display: none; }
.upload.is-error { border-color: var(--red); background: var(--red-soft); animation: shake .35s; }
.upload small { opacity: .7; }
.form__note { text-align: center; color: var(--muted); font-size: .66rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer__logo { width: 120px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.62); max-width: 340px; margin-bottom: 22px; font-size: .95rem; }
.footer h4 { color: #fff; margin-bottom: 16px; }
.footer__grid > div:not(.footer__brand) { display: grid; align-content: start; gap: 10px; }
.footer__grid a, .footer__grid span { color: rgba(255,255,255,.62); font-size: .95rem; width: fit-content; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 26px; color: rgba(255,255,255,.5); font-size: .88rem; flex-wrap: wrap; }
.footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.1); }
.footer__bottom a:hover { color: #fff; }
.to-top { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.to-top:hover { background: var(--red); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,17,20,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; background: var(--sand); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__visual { display: grid; place-items: center; padding: 40px; margin: 10px; border-radius: 18px; background: var(--sand); }
.modal__visual .garment { width: 78%; margin: 0 auto; filter: drop-shadow(0 22px 26px rgba(17,17,20,.18)); animation: pop .45s var(--ease); }
.modal__info { padding: 40px 34px 34px 24px; display: grid; gap: 14px; align-content: start; }
.modal__cat { color: var(--red); }
.modal__info h3 { font-family: var(--f-display); font-weight: 700; font-size: 2.3rem; line-height: 1; text-transform: uppercase; }
.modal__specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.modal__specs dt { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 600; padding: 12px 20px 12px 16px; display: flex; align-items: center; gap: 10px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-lg);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; max-width: calc(100vw - 32px);
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }

/* ---------- Scroll reveal (subtle) ---------- */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-up.is-in { opacity: 1; transform: none; }
.hero .reveal-up.is-in { opacity: 0; }
.is-ready .hero .reveal-up.is-in { opacity: 1; transform: none; transition-delay: calc(.15s + var(--d, 0s)); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 9px; font-size: .9rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: -1; flex-direction: column; gap: 0;
    padding: 20px var(--gutter) 40px; background: var(--paper); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); z-index: 5; }
  .nav__link { font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__link:hover { background: none; color: var(--red); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; }
  .cat-rail { grid-template-columns: repeat(2, 1fr); }
  .customizer__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .customizer__stage { max-width: 500px; width: 100%; margin: 0 auto; }
  .faq__side { position: static; }
  .caps__grid { grid-template-columns: 1fr; }
  .caps__tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .cap-tab { flex: none; white-space: nowrap; padding: 12px 16px; font-size: .95rem; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(0); width: 100%; height: 100%; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step__n { grid-row: span 2; margin-bottom: 0; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__visual { padding: 26px; }
  .modal__visual .garment { width: 50%; }
  .modal__info { padding: 10px 24px 28px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand__name { font-size: 1.2rem; }
  .brand__mark { height: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product__body { padding: 12px 12px 14px; }
  .product__meta .mono:last-child { display: none; }
  .product__title { font-size: 1.1rem; }
  .product__actions { grid-template-columns: 1fr; left: 6px; right: 6px; bottom: 6px; gap: 4px; }
  .product__actions button { padding: 7px 4px; font-size: .76rem; }
  .product__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .chip { font-size: .82rem; padding: 7px 12px; }
  .chip--a { left: 0; } .chip--b { right: 0; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filter { white-space: nowrap; padding: 9px 14px; }
  .builder { padding: 18px; }
  .builder__row--2 { grid-template-columns: 1fr; }
  .builder__cta { justify-content: stretch; } .builder__cta .btn { width: 100%; }
  .why__grid { grid-template-columns: 1fr; }
  .cat-rail { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat__info { padding: 14px; }
  .cat__info h3 { font-size: 1.25rem; }
  .cat__info p { display: none; }
  .band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .band__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .products__foot { padding: 22px; }
  .caps__panel { min-height: 380px; }
  .acc__body p { padding-right: 0; }
  .marquee__track { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .marquee span { white-space: nowrap; font-size: 1.05rem; }
}
@media (hover: none) {
  .product__actions { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
