/* TextileZilla shared shell: tokens, header, mega menu, mobile nav, cards, FAQ, CTA, footer and floating UI.
   Copied from the homepage so inner pages match it exactly. In WordPress these become Elementor global styles and Theme Builder templates. */

:root {
  --ink-950: #0C0C0E;
  --ink-900: #131315;
  --ink-850: #1A1A1D;
  --ink-800: #232327;
  --ink-700: #313137;
  --steel-200: #E4E3E0;
  --steel-300: #C4C3C0;
  --steel-400: #A09FA5;
  --chalk: #EFEEEB;
  --chalk-line: #DCDBD7;
  --paper: #FFFFFF;
  --ink-text: #141416;
  --muted-light: #55555C;
  --flame-800: #8E1406;
  --flame-700: #B51F0D;
  --flame-600: #D42A12;
  --flame-500: #EE4A1F;
  --flame-400: #FF7038;
  --ember-300: #FF9A4D;
  --wa: #25D366;
  --note: #1F5BFF;
  --grad-flame: linear-gradient(115deg, var(--flame-800) 0%, var(--flame-600) 38%, var(--flame-400) 78%, var(--ember-300) 100%);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --head-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --cut: 12px;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink-900);
  color: var(--steel-200);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink-950); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--flame-400); outline-offset: 3px; }
.sec--light :focus-visible, .sec--white :focus-visible { outline-color: var(--flame-700); }
svg.i { width: 20px; height: 20px; flex: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--flame-400);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 850; font-stretch: 108%;
  font-size: clamp(2.1rem, 4.4vw, 4.25rem); line-height: .94; letter-spacing: -.012em;
  text-transform: uppercase; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--flame-400); }
.lede { margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.2rem); line-height: 1.55; max-width: 56ch; color: var(--steel-300); }
.mono { font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(76px, 10vw, 140px); }
.sec--dark { background: var(--ink-900); color: var(--steel-200); }
.sec--ink { background: var(--ink-950); color: var(--steel-200); }
.sec--light { background: var(--chalk); color: var(--ink-text); color-scheme: light; }
.sec--white { background: var(--paper); color: var(--ink-text); color-scheme: light; }
.sec--light .eyebrow, .sec--white .eyebrow { color: var(--flame-700); }
.sec--light .lede, .sec--white .lede { color: var(--muted-light); }
.sec--light .h2 em, .sec--white .h2 em { color: var(--flame-700); }
.mesh { background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.4px); background-size: 7px 7px; }
.mesh-light { background-image: radial-gradient(rgba(20, 20, 22, .07) 1px, transparent 1.4px); background-size: 7px 7px; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head > div { display: grid; gap: 18px; justify-items: start; }
.sec-head__side { display: grid; gap: 20px; justify-items: start; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 .85rem/1 var(--f-display); font-stretch: 110%; letter-spacing: .05em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 2px solid currentColor;
}
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.sec--light .link-arrow, .sec--white .link-arrow { color: var(--ink-text); }

/* Scroll-linked reveal: state follows scroll position, so nothing is stuck hidden. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes reveal { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05rem 1.55rem;
  font: 700 .86rem/1 var(--f-display); font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  white-space: nowrap; will-change: transform;
  transition: color .3s, background-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn svg { flex: none; width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--flame { background: var(--flame-600); color: #fff; }
.btn--flame::before { background: var(--flame-800); }
.btn--ghost { background: rgba(255, 255, 255, .09); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost::before { background: rgba(255, 255, 255, .16); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark::before { background: var(--flame-700); }
.btn--paper { background: #fff; color: var(--ink-text); }
.btn--paper::before { background: var(--ink-950); }
.btn--paper:hover { color: #fff; }
.btn--sm { padding: .8rem 1.1rem; font-size: .78rem; --cut: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .55s var(--ease-out);
}
.topbar { background: var(--ink-950); border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--steel-400); }
.topbar .wrap { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg.i { width: 15px; height: 15px; color: var(--flame-400); }
.navbar { position: relative; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.navbar > .wrap { height: var(--head-h); display: flex; align-items: center; gap: 20px; }
.site-header.is-scrolled { transform: translateY(-36px); }
.site-header.is-scrolled .navbar,
.site-header.menu-open .navbar {
  background: rgba(15, 15, 17, .88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 44px; height: auto; }
.logo__word {
  font-family: var(--f-display); font-weight: 900; font-stretch: 122%;
  font-size: 1.12rem; letter-spacing: .01em; line-height: 1;
  background: linear-gradient(180deg, #F4F4F2 0%, #C9C8C5 55%, #8F8E93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: static; }
.menu__top {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 10px; white-space: nowrap;
  font: 600 .8rem/1 var(--f-display); font-stretch: 104%; letter-spacing: .035em; text-transform: uppercase;
  color: var(--steel-200); transition: color .25s;
}
.menu__top::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--flame-500); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.menu > li:hover .menu__top::after, .menu > li.is-open .menu__top::after { transform: scaleX(1); }
.menu__top svg { width: 13px; height: 13px; transition: transform .35s var(--ease-out); }
.menu > li.is-open .menu__top svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(15, 15, 17, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s, transform .45s var(--ease-out), visibility 0s .3s;
}
.menu > li.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease-out), visibility 0s; }
.mega > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 34px 40px; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mega__head .mono { color: var(--steel-400); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 28px; }
.mega__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-weight: 500; font-size: .98rem; color: var(--steel-200); transition: color .2s, padding .35s var(--ease-out);
}
.mega__links a svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: .35s var(--ease-out); color: var(--flame-400); }
.mega__links a:hover { color: #fff; padding-left: 6px; }
.mega__links a:hover svg { opacity: 1; transform: none; }
.mega__promo { position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; isolation: isolate; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.mega__promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 12, 14, .05) 20%, rgba(12, 12, 14, .9)); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo b { font: 800 1.35rem/1.05 var(--f-display); font-stretch: 112%; text-transform: uppercase; color: #fff; }
.mega__promo span { color: var(--steel-300); font-size: .92rem; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 14px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); transition: background-color .25s; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--flame-600); color: #fff; font: 600 .66rem/1 var(--f-mono);
}
.count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: none; }
.pop {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(360px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink-text); color-scheme: light;
  padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.pop__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pop__title b { font: 800 1rem/1 var(--f-display); text-transform: uppercase; font-stretch: 110%; }
.pop__title .mono { color: var(--muted-light); }
.qitems { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; max-height: 280px; overflow-y: auto; }
.qitems li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: var(--chalk); }
.qitems .dot2 { width: 34px; height: 34px; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.qitems b { display: block; font-size: .9rem; line-height: 1.2; }
.qitems span { font: 500 .66rem/1.3 var(--f-mono); color: var(--muted-light); letter-spacing: .06em; }
.qitems button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted-light); }
.qitems button:hover { color: var(--flame-700); }
.qempty { margin: 0 0 14px; color: var(--muted-light); font-size: .95rem; }
.search-pop label { display: block; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.search-pop input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink-text); font: 500 1rem var(--f-body); background: #fff; color: var(--ink-text); }
.search-pop .chips { margin-top: 12px; }

/* ---------- Mobile nav ---------- */
.mnav {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink-950);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s .6s;
}
.mnav.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.mnav__head { display: flex; justify-content: space-between; align-items: center; }
.mnav__search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink-850); border: 1px solid rgba(255, 255, 255, .1); }
.mnav__search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 500 1rem var(--f-body); outline: none; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav__toggle, .mnav__link {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0;
  font: 800 1.45rem/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; color: #fff; text-align: left;
}
.mnav__toggle .mono { color: var(--steel-400); margin-left: auto; margin-right: 8px; }
.mnav__toggle svg { width: 22px; height: 22px; transition: transform .35s var(--ease-out); color: var(--flame-400); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mnav__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 0 0 18px; }
.mnav__panel[hidden] { display: none !important; }
.mnav__panel a { padding: 9px 0; color: var(--steel-300); font-size: .98rem; }
.mnav__panel a.all { grid-column: 1 / -1; color: var(--flame-400); font-weight: 600; }
.mnav__small { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--steel-300); }
.mnav__foot { margin-top: auto; display: grid; gap: 14px; }
.mnav__foot .btn { justify-content: center; }
.mnav__contact { font: 500 .75rem/1.6 var(--f-mono); color: var(--steel-400); letter-spacing: .05em; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.chips a, .chips button {
  display: inline-block; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15); font-size: .84rem; line-height: 1.2; color: var(--steel-300);
  transition: border-color .25s, color .25s, background-color .25s;
}
.chips a:hover, .chips button:hover { border-color: var(--flame-400); color: #fff; background: rgba(212, 42, 18, .16); }
.pop .chips a, .sec--light .chips a { border-color: var(--chalk-line); color: var(--ink-text); }
.pop .chips a:hover, .sec--light .chips a:hover { border-color: var(--flame-700); color: var(--flame-700); background: rgba(212, 42, 18, .06); }

/* ---------- Products ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #E2E1DD; border-radius: 999px; }
.tab { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted-light); transition: background-color .3s, color .3s; }
.tab[aria-selected="true"] { background: var(--ink-900); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid #E3E2DE; transition: transform .5s var(--ease-out), box-shadow .5s, opacity .4s; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -28px rgba(20, 20, 22, .45); }
.pcard[hidden] { display: none !important; }
.pcard__stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; perspective: 900px; background-color: #F3F2EF; }
.pcard__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 62%); }
.pcard__kit { position: absolute; inset: 9% 13% 7%; transition: transform .6s var(--ease-out); transform-style: preserve-3d; }
.pcard__kit svg { width: 100%; height: 100%; filter: drop-shadow(0 18px 16px rgba(20, 20, 22, .22)); }
.badge { position: absolute; z-index: 2; top: 12px; left: 12px; font: 500 .64rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; background: var(--ink-900); color: #fff; }
.badge--flame { background: var(--flame-600); }
.pcard__body { display: flex; flex-direction: column; gap: 9px; padding: 16px 16px 18px; flex: 1; }
.sku { font: 500 .68rem/1 var(--f-mono); letter-spacing: .1em; color: var(--muted-light); }
.pcard h3 { margin: 0; font: 700 1.06rem/1.2 var(--f-display); font-stretch: 100%; }
.pcard h3 a:hover { color: var(--flame-700); }
.pcard__spec { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--muted-light); }
.swatches { display: flex; gap: 7px; }
.sw { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline-offset: 2px; }
.sw[aria-pressed="true"] { outline: 2px solid var(--ink-text); }
.pcard__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--chalk-line); font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted-light); }
.pcard__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 12px; font: 700 .76rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .05em; text-transform: uppercase; transition: background-color .25s, color .25s, border-color .25s; }
.pbtn svg { width: 15px; height: 15px; }
.pbtn--dark { background: var(--ink-900); color: #fff; }
.pbtn--dark:hover { background: var(--flame-700); }
.pbtn--dark.is-added { background: var(--flame-700); }
.pbtn--line { border: 1.5px solid var(--ink-text); color: var(--ink-text); }
.pbtn--line:hover { background: var(--ink-text); color: #fff; }

.ctrl { display: grid; gap: 22px; margin-top: 30px; }
.ctrl fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctrl legend, .field > label, .field > .label { display: block; margin-bottom: 10px; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-400); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input, .swatch-row input, .pick input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: .95rem; color: var(--steel-200);
  transition: background-color .25s, color .25s, border-color .25s;
}
.seg label:hover { border-color: rgba(255, 255, 255, .4); }
.seg input:checked + label { background: #fff; color: var(--ink-text); border-color: #fff; }
.seg input:focus-visible + label, .swatch-row input:focus-visible + label, .pick input:focus-visible + label { outline: 2px solid var(--flame-400); outline-offset: 3px; }
.pat-ico { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-row label { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .3s var(--ease-out), box-shadow .3s; }
.swatch-row label:hover { transform: scale(1.1); }
.swatch-row input:checked + label { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 3px var(--ink-900), 0 0 0 5px var(--flame-400); }
.row2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 14px; }
.inp {
  width: 100%; padding: 13px 14px; border-radius: 0;
  background: var(--ink-950); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  font: 600 1rem/1.2 var(--f-body); transition: border-color .25s;
}
.inp:focus { outline: none; border-color: var(--flame-400); }
.inp::placeholder { color: #807F86; }
textarea.inp { min-height: 96px; resize: vertical; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel-400) 50%), linear-gradient(135deg, var(--steel-400) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }

.ph { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px dashed currentColor; font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--note); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 112px; display: grid; gap: 20px; justify-items: start; }
.faq details { border-bottom: 1px solid var(--chalk-line); }
.faq details:first-child { border-top: 2px solid var(--ink-text); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 700 clamp(1.05rem, 1.5vw, 1.28rem)/1.25 var(--f-display); font-stretch: 100%; }
.faq summary:hover h3 { color: var(--flame-700); }
.faq .pm { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink-text); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.faq .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--ink-text); color: #fff; }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: var(--muted-light); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

.seo-copy { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--chalk-line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); }
.seo-copy h2 { margin: 0; font: 850 clamp(1.5rem, 2.4vw, 2.2rem)/1.02 var(--f-display); font-stretch: 106%; text-transform: uppercase; text-wrap: balance; }
.seo-copy__text { columns: 2 300px; column-gap: 40px; color: var(--muted-light); font-size: 1rem; }
.seo-copy__text p { margin: 0 0 1em; break-inside: avoid; }
.seo-copy__text a { color: var(--flame-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(90px, 12vw, 170px) clamp(130px, 16vw, 230px); background: linear-gradient(115deg, #6F1004 0%, var(--flame-700) 42%, var(--flame-600) 100%); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px circle at 85% 0%, rgba(255, 154, 77, .35), transparent 60%); }
.cta__word { position: absolute; z-index: -1; left: 0; bottom: -.1em; font: 900 clamp(6rem, 21vw, 21rem)/.8 var(--f-display); font-stretch: 125%; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); pointer-events: none; user-select: none; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta h2 { margin: 0; font: 900 clamp(2.6rem, 7vw, 6.6rem)/.88 var(--f-display); font-stretch: 104%; text-transform: uppercase; text-wrap: balance; }
.cta p { margin: 18px 0 0; font-size: 1.2rem; max-width: 40ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--steel-300); padding-block: clamp(64px, 8vw, 96px) 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) repeat(3, minmax(0, .85fr)); gap: 40px 32px; }
.footer__brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer__brand .logo img { width: 56px; }
.footer__brand .logo__word { font-size: 1.35rem; }
.tagline { margin-top: -10px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--steel-400); }
.footer__brand p { margin: 0; max-width: 40ch; font-size: .98rem; }
.nap { font-style: normal; display: grid; gap: 10px; font-size: .95rem; }
.nap div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.nap svg { width: 18px; height: 18px; color: var(--flame-400); margin-top: 3px; }
.fcol h3 { margin: 0 0 16px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcol--2 ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.fcol a { font-size: .95rem; transition: color .2s; }
.fcol a:hover { color: var(--flame-400); }
.footer__mid { margin-top: 56px; padding-block: 28px; border-block: 1px solid rgba(255, 255, 255, .08); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.footer__mid h3 { margin: 0; font: 800 1.3rem/1.1 var(--f-display); font-stretch: 110%; text-transform: uppercase; color: #fff; }
.footer__mid p { margin: 6px 0 0; font-size: .95rem; }
.news { display: flex; gap: 0; }
.news input { flex: 1; min-width: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: .88rem; color: var(--steel-400); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); transition: background-color .25s; }
.social a:hover { background: var(--flame-600); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* ---------- Floating UI ---------- */
.wa-fab {
  position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #0B2E17;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }
.notes-btn {
  position: fixed; z-index: 45; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px 11px 12px;
  background: var(--note); color: #fff; font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(31, 91, 255, .6);
}
.notes-btn .sw2 { width: 30px; height: 17px; border-radius: 9px; background: rgba(255, 255, 255, .3); position: relative; transition: background-color .25s; }
.notes-btn .sw2::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); }
.notes-btn[aria-pressed="true"] .sw2 { background: #0B1F66; }
.notes-btn[aria-pressed="true"] .sw2::after { transform: translateX(13px); }
.note-badge {
  position: absolute; z-index: 30; top: 16px; left: max(var(--gutter), env(safe-area-inset-left, 0px));
  max-width: min(440px, calc(100% - 32px)); display: grid; gap: 6px; padding: 12px 14px;
  background: var(--note); color: #fff; font: 400 .78rem/1.45 var(--f-mono); letter-spacing: .01em;
  box-shadow: 0 16px 40px -12px rgba(31, 91, 255, .55);
}
.note-badge b { font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.note-badge button { justify-self: start; font: 600 .68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.hero > .note-badge { top: calc(124px + env(safe-area-inset-top, 0px)); left: auto; right: max(var(--gutter), env(safe-area-inset-right, 0px)); max-width: min(400px, calc(50% - 24px)); }
.hero > .note-badge--header { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: auto; }
.drawer {
  position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(600px, 100%);
  background: #0E0E10; color: var(--steel-200); border-left: 1px solid rgba(255, 255, 255, .1);
  transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s .55s;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer__head b { font: 800 1.1rem/1 var(--f-display); font-stretch: 110%; text-transform: uppercase; color: #fff; }
.dtabs { display: flex; gap: 4px; padding: 12px 22px 0; flex-wrap: wrap; }
.dtab { padding: 9px 12px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); border-bottom: 2px solid transparent; }
.dtab[aria-selected="true"] { color: #fff; border-bottom-color: var(--note); }
.dbody { flex: 1; overflow-y: auto; padding: 22px; }
.dpanel[hidden] { display: none !important; }
.dpanel { display: grid; gap: 22px; font-size: .95rem; }
.dpanel h4 { margin: 0 0 8px; font: 800 .95rem/1.2 var(--f-display); font-stretch: 108%; text-transform: uppercase; color: #fff; }
.dpanel p, .dpanel li { color: var(--steel-300); }
.dpanel p { margin: 0; }
.dpanel ul, .dpanel ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.dpanel code { font: 500 .82rem var(--f-mono); color: var(--ember-300); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.kv dt { font: 500 .72rem/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-400); }
.kv dd { margin: 0; color: var(--steel-200); }
.ctable { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ctable th, .ctable td { padding: 9px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: left; vertical-align: middle; }
.ctable th { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.cpair { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; padding: 7px 8px; font-weight: 700; font-size: .8rem; }
.pass { color: #5BE38E; font: 600 .7rem/1 var(--f-mono); }
.fail { color: var(--ember-300); font: 600 .7rem/1 var(--f-mono); }
.tokens { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.token { display: grid; gap: 4px; }
.token i { height: 44px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.token span { font: 500 .66rem/1.3 var(--f-mono); color: var(--steel-400); }
.toast {
  position: fixed; z-index: 95; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px);
  transform: translate(-50%, calc(100% + 40px)); padding: 13px 18px; background: #fff; color: var(--ink-text);
  font: 500 .76rem/1.4 var(--f-mono); letter-spacing: .03em; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .3s, visibility 0s .5s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .3s, visibility 0s; }
.toast a { display: inline-block; margin-left: 10px; color: var(--flame-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.flyer { position: fixed; z-index: 96; width: 16px; height: 16px; border-radius: 50%; background: var(--flame-500); pointer-events: none; box-shadow: 0 0 0 4px rgba(238, 74, 31, .25); }

/* ---------- Garment drawing (shared by every page that shows a kit) ---------- */
.k-trim { fill: none; stroke: var(--c2); }
.k-seam { fill: none; stroke: rgba(0, 0, 0, .18); stroke-width: 2; }
.k-pocket { fill: rgba(0, 0, 0, .08); stroke: rgba(0, 0, 0, .2); stroke-width: 2; }
.k-name { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; fill: var(--c3); stroke: var(--c1); stroke-width: 4; stroke-linejoin: round; paint-order: stroke; letter-spacing: .06em; }
.k-num { font-family: var(--f-display); font-weight: 900; font-stretch: 100%; fill: var(--c3); stroke: var(--c1); stroke-width: 7; stroke-linejoin: round; paint-order: stroke; letter-spacing: -.02em; }
.k-num--sm { stroke-width: 4; }

/* ---------- Inner-page shell ---------- */
/* Cross-page morph: the kit on a category card glides into the product page gallery (Chrome, Edge, Safari 18.2+). */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.site-header--solid .navbar {
  background: rgba(15, 15, 17, .94);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); }
.crumbs li { display: inline-flex; align-items: center; gap: 12px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; background: var(--flame-500); transform: rotate(45deg); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--steel-200); }
.sec--light .crumbs, .sec--white .crumbs { color: var(--muted-light); }
.sec--light .crumbs a:hover, .sec--white .crumbs a:hover { color: var(--flame-700); }
.sec--light .crumbs [aria-current], .sec--white .crumbs [aria-current] { color: var(--ink-text); }
.price { font: 800 1.05rem/1 var(--f-display); font-stretch: 104%; font-variant-numeric: tabular-nums; }
.price small { font: 500 .62rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); margin-left: 4px; }
.ex { font: 500 .6rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--note); border: 1px dashed currentColor; padding: 3px 5px; vertical-align: 2px; white-space: nowrap; }
.sec--dark .ex, .sec--ink .ex { color: #8FB0FF; }

/* Scrim shared by drawers and sheets */
.scrim { position: fixed; inset: 0; z-index: 78; background: rgba(8, 8, 10, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }

/* Quote list drawer (inner pages). In WordPress this is the YITH "Request a quote" page. */
.qd { position: fixed; z-index: 82; top: 0; right: 0; bottom: 0; width: min(480px, 100%); display: flex; flex-direction: column;
  background: var(--ink-900); color: var(--steel-200); border-left: 1px solid rgba(255, 255, 255, .1);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; }
.qd.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.qd__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.qd__head b { font: 850 1.25rem/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; color: #fff; }
.qd__head .mono { color: var(--steel-400); margin-left: 10px; }
.qd__body { flex: 1; overflow-y: auto; padding: 20px 22px 28px; display: grid; gap: 22px; align-content: start; }
.qd .qitems { max-height: none; margin: 0; overflow: visible; }
.qd .qitems li { background: var(--ink-850); border: 1px solid rgba(255, 255, 255, .07); grid-template-columns: 54px 1fr auto; }
.qd .qitems .thumb { width: 54px; height: 54px; background: #F3F2EF; display: grid; place-items: center; padding: 4px; }
.qd .qitems .thumb svg { width: 100%; height: 100%; }
.qd .qitems b { color: #fff; }
.qd .qitems span { color: var(--steel-400); }
.qd .qitems button { color: var(--steel-400); }
.qd .qitems button:hover { color: var(--flame-400); }
.qd .qempty { color: var(--steel-300); margin: 0; }
.qd form { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.qd form h3 { margin: 0; font: 800 1.05rem/1.1 var(--f-display); font-stretch: 110%; text-transform: uppercase; color: #fff; }
.qd .field > label { margin-bottom: 7px; }
.qd .qerr { color: var(--ember-300); }
.qd .btn { justify-content: center; }
.qd__done { display: grid; gap: 14px; justify-items: start; padding-top: 10px; }
.qd__done[hidden] { display: none !important; }
.qd__done .big { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--flame-600); color: #fff; }
.qd__done .big svg { width: 26px; height: 26px; }
.qd__done h3 { margin: 0; font: 850 1.7rem/1 var(--f-display); font-stretch: 110%; text-transform: uppercase; color: #fff; }
.qd__done p { margin: 0; color: var(--steel-300); }
.qitems .qmeta { display: block; margin-top: 3px; }

/* Note badges sit inside sections; on inner pages the header note goes in the first section */
.note-badge--header { top: calc(124px + env(safe-area-inset-top, 0px)); }

/* ---------- Shared components: form fields, skip link, segmented toggles, tier prices ---------- */
.field { display: grid; min-width: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.qerr { margin: 0; min-height: 1.4em; color: var(--ember-300); font-size: .92rem; }
.skip { position: fixed; z-index: 120; left: 12px; top: -80px; padding: 12px 16px; background: #fff; color: var(--ink-text); font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.segs { display: inline-flex; gap: 4px; padding: 4px; background: #E2E1DD; border-radius: 999px; }
.segs button { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; line-height: 1.1; color: var(--muted-light); transition: background-color .25s, color .25s; }
.segs button[aria-pressed="true"] { background: var(--ink-900); color: #fff; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink-text); background: var(--paper); }
.tiers > div { display: grid; gap: 7px; padding: 12px 12px 13px; border-left: 1px solid var(--chalk-line); transition: background-color .35s, color .35s; }
.tiers > div:first-child { border-left: 0; }
.tiers span { font: 500 .6rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.tiers b { font: 850 1.35rem/1 var(--f-display); font-stretch: 106%; font-variant-numeric: tabular-nums; }
.tiers b small { font: 500 .6rem/1 var(--f-mono); letter-spacing: .06em; margin-left: 2px; color: inherit; opacity: .7; }
.tiers .is-on { background: var(--ink-900); color: #fff; }
.tiers .is-on span { color: var(--steel-400); }
.dpanel pre.code { margin: 0; padding: 14px; max-height: 460px; overflow: auto; background: #060607; border: 1px solid rgba(255, 255, 255, .08); font: 500 .72rem/1.55 var(--f-mono); color: var(--steel-300); white-space: pre; }

/* ---------- Light form controls (quote and contact pages) ---------- */
.lfield { display: grid; gap: 7px; min-width: 0; }
.lfield > label, .lbl { display: flex; justify-content: space-between; gap: 10px; font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.lbl b { color: var(--ink-text); font-weight: 600; letter-spacing: .05em; }
.linp { width: 100%; padding: 13px 14px; border: 1.5px solid var(--chalk-line); border-radius: 0; background: #fff; color: var(--ink-text); font: 500 1rem/1.3 var(--f-body); transition: border-color .25s, box-shadow .25s; }
.linp:hover { border-color: #C9C8C3; }
.linp:focus { outline: none; border-color: var(--ink-text); box-shadow: 0 0 0 3px rgba(20, 20, 22, .08); }
.linp::placeholder { color: #8B8A90; }
.linp[aria-invalid="true"] { border-color: var(--flame-700); }
textarea.linp { min-height: 110px; resize: vertical; }
select.linp { appearance: none; padding-right: 38px; background: #fff linear-gradient(45deg, transparent 50%, var(--ink-text) 50%) calc(100% - 20px) 52% / 6px 6px no-repeat, #fff linear-gradient(135deg, var(--ink-text) 50%, transparent 50%) calc(100% - 14px) 52% / 6px 6px no-repeat; cursor: pointer; }
.lchips { display: flex; flex-wrap: wrap; gap: 7px; }
.lchips input { position: absolute; opacity: 0; pointer-events: none; }
.lchips label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--chalk-line); background: #fff; font-weight: 600; font-size: .93rem; line-height: 1.1; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.lchips label:hover { border-color: var(--muted-light); }
.lchips input:checked + label { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.lchips input:focus-visible + label { outline: 2px solid var(--flame-700); outline-offset: 3px; }
.ldrop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; text-align: center; border: 1.5px dashed #BDBBB5; background: #fff; color: var(--muted-light); cursor: pointer; transition: border-color .25s, background-color .25s; }
.ldrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ldrop svg { width: 28px; height: 28px; color: var(--flame-700); }
.ldrop b { color: var(--ink-text); }
.ldrop:hover, .ldrop.is-over { border-color: var(--flame-700); background: rgba(212, 42, 18, .04); }
.ldrop:focus-within { outline: 2px solid var(--flame-700); outline-offset: 3px; }
.files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.files:empty { display: none; }
.files li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border: 1px solid var(--chalk-line); }
.files .fthumb { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; background: var(--chalk); font: 600 .6rem/1 var(--f-mono); text-transform: uppercase; color: var(--muted-light); }
.files .fthumb img { width: 100%; height: 100%; object-fit: cover; }
.files b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.files span { font: 500 .6rem/1.2 var(--f-mono); color: var(--muted-light); letter-spacing: .06em; }
.files button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted-light); }
.files button:hover { color: var(--flame-700); }
.lcheck { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .96rem; color: var(--muted-light); }
.lcheck input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1.5px solid var(--ink-text); background: #fff center / 14px no-repeat; cursor: pointer; transition: background-color .2s; }
.lcheck input:checked { background-color: var(--ink-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12.5 5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E"); }
.lcheck input:focus-visible { outline: 2px solid var(--flame-700); outline-offset: 3px; }
.lcheck a { color: var(--ink-text); text-decoration: underline; text-underline-offset: 3px; }
.lerr { margin: 0; min-height: 1.4em; color: var(--flame-700); font-size: .93rem; font-weight: 500; }
.stp { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; align-items: center; }
.stp button { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--chalk); transition: background-color .2s, color .2s; }
.stp button:hover { background: var(--ink-900); color: #fff; }
.stp button svg { width: 12px; height: 12px; }
.stp input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: center; color: var(--ink-text); font: 700 1rem/1 var(--f-body); -moz-appearance: textfield; appearance: textfield; }
.stp input::-webkit-inner-spin-button, .stp input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.copyb { flex: none; padding: 7px 10px; border: 1px solid currentColor; font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .2s, background-color .2s; }
.copyb:hover { opacity: 1; }

/* ---------- Product card with front/back flip (category grid and rails) ---------- */
.pcard { color: var(--ink-text); color-scheme: light; }
.pcard :focus-visible { outline-color: var(--flame-700); }
.ccard__stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; perspective: 1100px; background-color: #F3F2EF; }
.ccard__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 64%); }
.ccard__kit { position: absolute; inset: 9% 8% 10%; display: block; }
.ccard__spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s var(--ease-out); }
.face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 14px rgba(20, 20, 22, .2)); }
.face--back { transform: rotateY(180deg); }
.ccard.is-flipped .ccard__spin { transform: rotateY(180deg); }
.ccard__badges { position: absolute; z-index: 2; top: 12px; left: 12px; right: 56px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__badges .badge { position: static; }
.ccard__flip { position: absolute; z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink-text); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .3); transition: transform .6s var(--ease-out), background-color .25s, color .25s; }
.ccard__flip svg { width: 18px; height: 18px; }
.ccard__flip:hover { transform: rotate(-180deg); }
.ccard__flip[aria-pressed="true"] { background: var(--ink-900); color: #fff; }
.ccard__qv { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; background: rgba(19, 19, 21, .92); color: #fff; font: 700 .74rem/1 var(--f-display); font-stretch: 110%; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(calc(100% + 16px)); transition: transform .55s var(--ease-out), background-color .25s; }
.ccard__qv svg { width: 16px; height: 16px; }
.ccard__qv:hover { background: var(--flame-700); }
.ccard__stage:hover .ccard__qv, .ccard__qv:focus-visible { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .ccard__stage:hover .ccard__spin { transform: rotateY(180deg); }
  .ccard.is-flipped .ccard__stage:hover .ccard__spin { transform: none; }
}
@media (hover: none) { .ccard__qv { display: none; } }
.ccard__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ccard__fits { font: 500 .62rem/1 var(--f-mono); letter-spacing: .08em; color: var(--muted-light); padding: 4px 6px; border: 1px solid var(--chalk-line); white-space: nowrap; }
.ccard .pcard__meta { align-items: baseline; }
.ccard .pcard__meta .price { color: var(--ink-text); text-transform: none; letter-spacing: 0; }
.ccard .pcard__actions { grid-template-columns: minmax(0, 1fr) auto; }

/* ---------- Size chart + how to measure ---------- */
.sz { display: grid; gap: 14px; }
.sz__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.sz__wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--chalk-line); }
.sz table { width: 100%; min-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sz th, .sz td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--chalk-line); }
.sz thead th { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.sz tbody th { font: 800 .98rem/1 var(--f-display); font-stretch: 108%; }
.sz tbody tr { transition: background-color .2s; }
.sz tbody tr:hover { background: rgba(212, 42, 18, .05); }
.sz tbody tr:last-child th, .sz tbody tr:last-child td { border-bottom: 0; }
.sz__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .92rem; color: var(--muted-light); }
.measure { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; background: var(--chalk); border: 1px solid var(--chalk-line); }
.measure svg { width: 100%; height: auto; overflow: visible; }
.measure .m-shape { fill: #fff; stroke: var(--ink-text); stroke-width: 2.5; }
.measure .m-line { fill: none; stroke: var(--flame-700); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.measure .m-lbl { font: 800 30px var(--f-display); fill: var(--flame-700); }
.measure dl { margin: 0; display: grid; gap: 12px; }
.measure dt { font: 800 .95rem/1.2 var(--f-display); font-stretch: 106%; text-transform: uppercase; }
.measure dt b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--flame-700); color: #fff; font-size: .78rem; }
.measure dd { margin: 4px 0 0; color: var(--muted-light); font-size: .95rem; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .measure .m-line { stroke-dasharray: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}

/* ---------- Shell responsive ---------- */
@media (max-width: 1280px) {
  .menu { display: none; }
  .burger { display: grid; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .sec-head, .faq-grid, .seo-copy, .footer__mid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid > div:first-child { position: static; }
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tab { white-space: nowrap; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .site-header.is-scrolled { transform: none; }
  .nav-actions .btn { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__actions { grid-template-columns: minmax(0, 1fr); }
  .grid2, .row2 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    background: rgba(12, 12, 14, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .mbar button, .mbar a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 4px; font: 500 .62rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-300); }
  .mbar svg { width: 22px; height: 22px; }
  .mbar .wa { color: var(--wa); }
  .mbar .count { top: 2px; right: calc(50% - 24px); }
  .notes-btn { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .note-badge--header { top: calc(88px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 560px) {
  .ccard .pcard__body { padding: 12px 12px 14px; gap: 7px; }
  .ccard h3 { font-size: .96rem; }
  .ccard .pcard__spec, .ccard .pcard__meta span:last-child, .ccard .pcard__actions .pbtn--line, .ccard__fits { display: none; }
  .ccard .pcard__actions { grid-template-columns: minmax(0, 1fr); }
  .ccard .pbtn { padding: 10px 6px; font-size: .7rem; white-space: nowrap; }
  .ccard .sw { width: 21px; height: 21px; }
  .ccard__flip { width: 32px; height: 32px; top: 8px; right: 8px; }
  .ccard__badges { top: 8px; left: 8px; right: 44px; }
  .ccard__badges .badge { font-size: .56rem; padding: 5px 6px; }
}
@media (max-width: 520px) {
  .measure { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .tiers b { font-size: 1.12rem; }
  .tiers > div { padding: 10px 8px 11px; }
  .nav-search { display: none; }
  .navbar > .wrap { gap: 10px; }
  .nav-actions { gap: 6px; }
  .notes-btn { padding: 9px 11px 9px 10px; font-size: .64rem; }
  .logo__word { font-size: .98rem; }
  .logo img { width: 38px; }
  .note-badge { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Live site: prototype-only helpers are hidden ---------- */
.tz-live .notes-btn, .tz-live .drawer, .tz-live .note-badge { display: none !important; }
