/* ВОРС — ателье пальто, Новосибирск. Демо NXAI.
   Direction «Стена тканей»: oat paper, charcoal ink, rust, cool sky, hairlines, condensed numerals.
   Sections: 1 tokens · 2 base · 3 type · 4 layout · 5 buttons · 6 header/menu · 7 hero/rail ·
   8 picker · 9 layers · 10 works · 11 fit table · 12 fabrics · 13 prices · 14 reviews ·
   15 contacts/map/form · 16 footer/mobile bar · 17 docs pages · 18 motion · 19 breakpoints */

/* 1. TOKENS ------------------------------------------------------------ */
:root {
  --paper: #EDE6DA;      /* oat, page background */
  --paper-2: #E3DACB;    /* darker oat panels */
  --paper-3: #F6F2EA;    /* light card / label */
  --ink: #232323;        /* charcoal text, dark sections */
  --ink-2: #4A4743;      /* secondary text */
  --ink-3: #66625C;      /* tertiary text, captions (AA on paper) */
  --rust: #A4452C;       /* accent: CTA, warmth */
  --rust-2: #86361F;     /* rust hover */
  --rust-soft: #E6CBBB;
  --sky: #8FA7B8;        /* cold: frost scale, lining */
  --sky-2: #4E6B80;      /* sky as text on paper */
  --sky-soft: #D9E2E8;
  --stone: #CFC6B6;      /* hairline panels, inactive */
  --line: rgba(35, 35, 35, .16);
  --line-2: rgba(35, 35, 35, .34);
  --line-dark: rgba(237, 230, 218, .18);

  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Golos Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-mega: clamp(50px, 8.6vw, 136px);
  --fs-h1: clamp(46px, 7.2vw, 112px);
  --fs-h2: clamp(40px, 5.6vw, 86px);
  --fs-h3: clamp(26px, 2.5vw, 38px);
  --fs-h4: clamp(19px, 1.5vw, 23px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  --gutter: 16px;
  --gap: 16px;
  --maxw: 1440px;
  --head-h: 60px;
  --sp-section: clamp(72px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  /* fibre noise for paper and cloth swatches (inline SVG, no external file) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .8 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. BASE -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background-color: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, li, dt, dd, th, td, figcaption, blockquote, label, legend, summary { overflow-wrap: break-word; }
@media (max-width: 420px) { p, li, dd, td, th, figcaption, summary, label { -webkit-hyphens: auto; hyphens: auto; } .mono, .eyebrow, .num, .btn { -webkit-hyphens: manual; hyphens: manual; } }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--rust); color: #fff; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.is-dark :focus-visible { outline-color: var(--paper); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 46px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 3. TYPE -------------------------------------------------------------- */
.display, .h-mega, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .88; }
.h-mega { font-size: var(--fs-mega); line-height: .84; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); font-weight: 800; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: .95; }
.h4 { font: 600 var(--fs-h4)/1.25 var(--f-body); letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.small { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
.mono, .eyebrow { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 400; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.eyebrow { color: var(--ink-3); }
.num { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.rust { color: var(--rust); }
.link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s, color .2s; }
.link:hover { color: var(--rust); text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.arrow-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.arrow-link:hover { color: var(--rust); }
.arrow-link:hover svg { transform: translateX(4px); }

/* 4. LAYOUT ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-section); }
.section--tight { padding-block: calc(var(--sp-section) * .6); }
.is-dark { background: var(--ink); color: var(--paper); }
.is-dark .lead, .is-dark .small { color: rgba(237, 230, 218, .78); }
.is-dark .eyebrow { color: rgba(237, 230, 218, .62); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 28px; }
.mb-2 { margin-bottom: 22px; }

/* chapter head: number · title · aside, sitting on a full ink rule */
.chap { display: grid; gap: 14px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: clamp(36px, 5vw, 72px); }
.is-dark .chap { border-top-color: var(--paper); }
.chap__no { display: flex; gap: 12px; align-items: baseline; }
.chap__no b { font-weight: 500; color: var(--rust); }
.is-dark .chap__no b { color: #E08A6E; }
.chap__title { max-width: 14ch; }
.chap__aside { max-width: 46ch; }
.chap--wide .chap__title { max-width: 20ch; }
.chap--stack { grid-template-columns: minmax(0, 1fr) !important; }
.chap--stack > * { grid-column: auto !important; }
.fabrics__text .chap--stack { margin-bottom: 22px; }

/* framed photo with numbered caption */
.frame { position: relative; }
.frame__img { position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; color: var(--ink-3); }
.is-dark .frame__cap { color: rgba(237, 230, 218, .62); }
.is-dark .frame__img { border-color: var(--line-dark); background: #2e2d2b; }

/* hairline ledger: rows of label · description · value — prices, specs */
.ledger { border-top: 1px solid var(--ink); }
.ledger__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0 17px; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger__name { font-weight: 600; font-size: 17px; line-height: 1.35; }
.ledger__note { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.45; }
.ledger__val { text-align: right; white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1; letter-spacing: .01em; }
.ledger__val small { display: block; margin-top: 6px; font: 400 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

/* 5. BUTTONS ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 0;
  font: 600 15px/1.1 var(--f-body); letter-spacing: .005em; text-decoration: none; text-align: center;
  background: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--rust); }
.btn--rust { background: var(--rust); color: #fff; }
.btn--rust:hover { background: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(237, 230, 218, .55); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--rust); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* messenger buttons: always Telegram, MAX, WhatsApp in this order */
.msgr { display: flex; flex-wrap: wrap; gap: 8px; }
.msgr .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
@media (max-width: 420px) { .msgr .btn { flex: 1 1 auto; padding: 0 10px; } }

/* 6. HEADER + MENU ----------------------------------------------------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(237, 230, 218, .9); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease); }
.head.is-hidden { transform: translateY(-100%); }
.head__in { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand__mark { width: 20px; height: 22px; color: var(--rust); }
.brand__word { font: 800 30px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.head__meta { color: var(--ink-3); display: none; }
.nav { display: none; margin-left: auto; gap: 26px; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.head__cta { display: none; }
.burger { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px 0 10px; background: none; border: 0; font: 600 14px/1 var(--f-body); }
.burger__icon { width: 22px; height: 10px; position: relative; }
.burger__icon::before, .burger__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger__icon::before { top: 0; }
.burger__icon::after { top: 8px; }
.burger[aria-expanded="true"] .burger__icon::before { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__icon::after { top: 4px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(var(--head-h) + 92px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; border-top: 1px solid var(--ink); }
.menu__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 44px/.95 var(--f-display); text-transform: uppercase; }
.menu__nav a span { font: 400 12px/1 var(--f-mono); color: var(--ink-3); }
.menu__nav a[aria-current="page"] { color: var(--rust); }
.menu .msgr { margin-top: auto; }
html.menu-open { overflow: hidden; }

/* 7. HERO + SILHOUETTE RAIL ------------------------------------------- */
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.hero__meta b { font-weight: 500; color: var(--ink); }
.hero__grid { display: grid; gap: 22px; padding-top: clamp(18px, 2.6vw, 34px); }
.hero__title { font: 800 var(--fs-mega)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.012em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .02em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--rust); }
.hero__aside { display: grid; gap: 18px; align-content: end; }
.hero__aside .lead { max-width: 40ch; }

.rail { position: relative; margin-top: clamp(26px, 3.4vw, 44px); padding-bottom: clamp(40px, 5vw, 72px); }
.rail__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.rail__bar .mono { color: var(--ink-3); }
.rail__nav { display: flex; gap: 6px; }
.rail__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; transition: background .2s, color .2s, opacity .2s; }
.rail__btn svg { width: 18px; height: 18px; }
.rail__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.rail__btn:disabled { opacity: .28; cursor: default; }
.rail__track {
  --rail-pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad);
  padding: 2px var(--rail-pad) 4px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.rail__track.is-drag * { pointer-events: none; }
.rail__item { flex: 0 0 auto; width: min(78vw, 300px); scroll-snap-align: start; display: flex; }
.rail__item--cover { width: min(84vw, 380px); }

.cover { display: flex; flex-direction: column; width: 100%; }
.cover .frame__img { flex: 1 1 auto; min-height: 380px; }
.cover .frame__img img { position: absolute; inset: 0; }
.cover__badge { position: absolute; left: 12px; top: 12px; background: var(--paper); padding: 6px 9px; color: var(--ink); }

.sil { position: relative; width: 100%; display: flex; flex-direction: column; background: var(--paper-3); border: 1px solid var(--line); padding: 14px 16px 16px; transition: border-color .3s, box-shadow .3s; }
.sil:hover, .sil.is-active { border-color: var(--line-2); }
.sil__top { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); }
.sil__name { margin-top: 8px; font: 800 clamp(34px, 3vw, 44px)/.86 var(--f-display); text-transform: uppercase; }
.sil__art { position: relative; width: 66%; margin: 10px auto 6px; aspect-ratio: 2 / 3; }
.sil__art svg { width: 100%; height: 100%; overflow: visible; }
.sil__fill { opacity: 0; transition: opacity .7s var(--ease); }
.sil:hover .sil__fill, .sil.is-active .sil__fill, .sil:focus-within .sil__fill { opacity: 1; }
.sil__desc { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); min-height: 4.5em; }
.sil__spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-top: 1px solid var(--line); }
.sil__spec div { padding: 8px 6px 0 0; }
.sil__spec div + div { padding-left: 8px; border-left: 1px solid var(--line); }
.sil__spec dt { font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.sil__spec dd { font-size: 13px; font-weight: 500; line-height: 1.3; margin-top: 2px; }
.sil__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.sil__price { font: 700 24px/1 var(--f-display); letter-spacing: .01em; }
.sil__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--rust); }
.sil__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sil__go:hover svg { transform: translateX(3px); }
.sil__go::after { content: ""; position: absolute; inset: 0; }

/* coat line drawings (inline <use href="#d-…">) */
.coat-ln { color: var(--ink); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.sil:hover .coat-ln, .sil.is-active .coat-ln, .sil:focus-within .coat-ln { color: var(--ln-on, var(--ink)); }
.coat-ln { transition: color .5s var(--ease); }
.rail.can-draw .sil .coat-ln { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.rail.can-draw .sil.is-drawn .coat-ln { animation: draw 2.4s var(--ease-io) var(--draw-delay, 0ms) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* tape-measure progress under the rail */
.tape { position: relative; height: 30px; margin-top: 16px; background: #E8D9B5; border-top: 1px solid rgba(35,35,35,.2); border-bottom: 1px solid rgba(35,35,35,.2); overflow: hidden; }
.tape::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; background: repeating-linear-gradient(90deg, rgba(35,35,35,.55) 0 1px, transparent 1px 8px); }
.tape::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(35,35,35,.75) 0 1px, transparent 1px 40px); }
.tape__nums { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; font: 500 10px/1 var(--f-mono); color: rgba(35,35,35,.7); }
.tape__nums span { flex: 0 0 40px; padding-left: 3px; }
.tape__needle { position: absolute; top: 0; bottom: 0; left: 0; width: var(--tape-w, 20%); background: rgba(164, 69, 44, .18); border-right: 2px solid var(--rust); transform: translateX(var(--tape-x, 0)); transition: transform .15s linear; }
.tape-wrap { padding-inline: var(--gutter); max-width: var(--maxw); margin: 0 auto; }

/* 8. WARMTH PICKER ----------------------------------------------------- */
.picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.picker__controls, .picker__stage { min-width: 0; }
.pk-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.pk-step + .pk-step { margin-top: 30px; }
.pk-step legend { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 0 0 12px; font: 800 30px/.9 var(--f-display); text-transform: uppercase; }
.pk-step legend .mono { color: var(--rust); font-size: 12px; }
.pk-sils { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.pk-sil { position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; cursor: pointer; text-align: center; transition: background .2s; }
.pk-sil + .pk-sil { border-left: 1px solid var(--line); }
.pk-sil input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pk-sil svg { width: 26px; height: 39px; color: var(--stone); transition: color .25s; }
.pk-sil span { font-size: 13px; font-weight: 500; line-height: 1.2; }
.pk-sil:hover svg { color: var(--ink-3); }
.pk-sil:has(input:checked) { background: var(--paper-3); }
.pk-sil:has(input:checked) svg { color: var(--ink); }
.pk-sil:has(input:checked)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rust); }
.pk-sil:has(input:focus-visible) { outline: 2px solid var(--rust); outline-offset: -2px; }

.pk-frost { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.pk-frost .mono { margin-right: 6px; color: var(--ink-3); }
.chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; font: 500 14px/1 var(--f-body); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .cold { color: var(--sky-2); }
.chip[aria-pressed="true"] .cold { color: var(--sky); }

.pk-cloths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
.pk-cloth { position: relative; display: grid; gap: 7px; cursor: pointer; transition: opacity .35s, filter .35s; }
.pk-cloth input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-cloth .swatch { aspect-ratio: 4 / 3; transition: transform .35s var(--ease); }
.pk-cloth:hover .swatch { transform: translateY(-3px); }
.pk-cloth__code { display: flex; justify-content: space-between; color: var(--ink-3); }
.pk-cloth__name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.pk-cloth__spec { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
/* the swatch is masked (pinked edge), so an outline on it would be clipped: mark the choice with a rust bar above it */
.pk-cloth::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 3px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pk-cloth:has(input:checked)::before { transform: none; }
.pk-cloth:has(input:checked) .pk-cloth__code b { color: var(--rust); }
.pk-cloth:has(input:checked) .pk-cloth__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pk-cloth:has(input:focus-visible) { outline: 2px solid var(--rust); outline-offset: 5px; }
.pk-cloths[data-frost] .pk-cloth.is-out { opacity: .32; filter: saturate(.4); }

/* swatch: cloth sample with pinked (zigzag) bottom edge; set --c and a texture class */
.swatch { --c: #b9a17c; position: relative; display: block; background-color: var(--c); background-image: var(--noise), var(--weave, none); background-size: 180px 180px, auto;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%; }
.swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%, rgba(0,0,0,.12)); }
.tx-twill   { --weave: repeating-linear-gradient(-40deg, rgba(0,0,0,.13) 0 1px, transparent 1px 3px); }
.tx-gab     { --weave: repeating-linear-gradient(-62deg, rgba(0,0,0,.11) 0 1px, transparent 1px 2.5px); }
.tx-fine    { --weave: repeating-linear-gradient(-40deg, rgba(255,255,255,.06) 0 1px, transparent 1px 2px); }
.tx-herring { --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 8 4'%3E%3Cpath d='M0 4L4 0L8 4' fill='none' stroke='%23000' stroke-opacity='.24' stroke-width='.9'/%3E%3Cpath d='M0 2L2 0M6 0L8 2' fill='none' stroke='%23fff' stroke-opacity='.14' stroke-width='.6'/%3E%3C/svg%3E"); }
.tx-boucle  { --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 6 6'%3E%3Ccircle cx='1.6' cy='1.6' r='1.3' fill='none' stroke='%23fff' stroke-opacity='.6' stroke-width='.8'/%3E%3Ccircle cx='4.6' cy='4.4' r='1.2' fill='none' stroke='%23000' stroke-opacity='.16' stroke-width='.7'/%3E%3Ccircle cx='4.4' cy='1.2' r='.7' fill='%23fff' fill-opacity='.4'/%3E%3C/svg%3E"); }
.tx-felt    { --weave: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.08), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(0,0,0,.12), transparent 60%); }
.tx-plain   { --weave: none; }
.tx-velour  { --weave: linear-gradient(160deg, rgba(255,255,255,.12), transparent 45%, rgba(0,0,0,.14)); }

/* warmth mini scale: three cells −5 / −15 / −30, filled up to data-w */
.warmth { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; align-items: center; }
.warmth i { display: block; height: 4px; background: var(--stone); }
.warmth[data-w="1"] i:nth-child(-n+1), .warmth[data-w="2"] i:nth-child(-n+2), .warmth[data-w="3"] i:nth-child(-n+3) { background: var(--rust); }
.warmth-l { display: flex; justify-content: space-between; font: 400 10px/1 var(--f-mono); color: var(--ink-3); margin-top: 4px; }

/* stage: drawing board with cm grid, coat and thermometer */
.stage { position: relative; aspect-ratio: 5 / 6; min-height: 380px; background-color: var(--paper-3); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; border: 1px solid var(--line-2); overflow: hidden; }
.stage__label { position: absolute; left: 12px; top: 10px; color: var(--ink-3); }
.stage__coat { position: absolute; left: 4%; top: 7%; bottom: 5%; width: 58%; }
.stage__coat svg { width: 100%; height: 100%; overflow: visible; transition: opacity .25s, transform .45s var(--ease); }
.stage__coat.is-swap svg { opacity: 0; transform: translateY(8px) scale(.98); }
.stage__coat .pk-base { transition: fill .6s var(--ease); }
.stage__coat .pk-noise { mix-blend-mode: multiply; }
.stage__block { position: absolute; left: 12px; bottom: 10px; display: grid; grid-template-columns: auto auto; border: 1px solid var(--line-2); background: var(--paper-3); font: 400 10px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.stage__block span { padding: 4px 8px; }
.stage__block span:nth-child(odd) { color: var(--ink-3); border-right: 1px solid var(--line); }
.stage__block span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

.thermo { position: absolute; right: 6%; top: 8%; bottom: 8%; width: 34%; }
.thermo__tube { position: absolute; right: 0; top: 0; bottom: 0; width: 12px; background: repeating-linear-gradient(-45deg, var(--sky-soft) 0 3px, var(--paper-3) 3px 6px); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.thermo__fill { position: absolute; left: 0; right: 0; top: 0; height: var(--h, 50%); background: linear-gradient(var(--rust-soft), var(--rust)); transition: height .8s var(--ease); }
.thermo__ticks { position: absolute; right: 18px; top: 0; bottom: 0; width: 36px; }
.thermo__ticks span { position: absolute; right: 0; top: var(--y); transform: translateY(-50%); font: 500 10px/1 var(--f-mono); color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.thermo__ticks span::after { content: ""; width: 6px; height: 1px; background: var(--ink-3); }
.thermo__ref { position: absolute; right: 60px; top: var(--y); transform: translateY(-50%); text-align: right; font-size: 11.5px; line-height: 1.25; color: var(--ink-3); max-width: 9.5em; }
.thermo__ref b { display: block; font: 700 15px/1 var(--f-display); color: var(--sky-2); letter-spacing: .02em; }
.thermo__mark { position: absolute; right: -4px; top: var(--h, 50%); transform: translateY(-50%); transition: top .8s var(--ease); display: flex; align-items: center; }
.thermo__mark::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--rust); border: 3px solid var(--paper-3); box-shadow: 0 0 0 1px var(--rust); }

/* sewn-in label: picker result */
.tag-label { position: relative; margin-top: 14px; padding: 18px 18px 16px; background: var(--paper-3); background-image: repeating-linear-gradient(0deg, rgba(35,35,35,.025) 0 1px, transparent 1px 3px); border: 1px solid var(--line-2); }
.tag-label::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(35,35,35,.22); pointer-events: none; }
.tag-label__top { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); }
.tag-label__title { margin-top: 10px; font: 800 clamp(28px, 2.6vw, 38px)/.92 var(--f-display); text-transform: uppercase; }
.tag-label__spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tag-label__spec dt { font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.tag-label__spec dd { font-size: 14px; font-weight: 500; line-height: 1.35; }
.tag-label__sum { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 17px; line-height: 1.45; }
.tag-label__sum b { font: 800 30px/1 var(--f-display); letter-spacing: .01em; }
.tag-label__hint { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.pk-send { margin-top: 14px; }
.pk-send > p { margin-bottom: 8px; color: var(--ink-3); }
.pk-foot { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* 9. LAYERS DIAGRAM ---------------------------------------------------- */
.layers-sec { background: var(--paper-2); }
.layers { display: grid; gap: 28px; }
.layers__art { position: relative; }
.layers__art svg { width: 100%; height: auto; overflow: visible; }
.layer { --gap: 58px; transform: translateY(calc(var(--i) * var(--gap))); transition: transform 1.2s var(--ease), opacity .4s; }
.ml-ready .layers__art:not(.is-in) .layer { --gap: 9px; }
.layers__art[data-active] .layer { opacity: .35; }
.layers__art[data-active="0"] .layer[data-l="0"], .layers__art[data-active="1"] .layer[data-l="1"],
.layers__art[data-active="2"] .layer[data-l="2"], .layers__art[data-active="3"] .layer[data-l="3"] { opacity: 1; }
.layer text { font: 500 11px var(--f-mono); fill: var(--ink); }
.layers__list { border-top: 1px solid var(--ink); counter-reset: none; }
.lyr { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); cursor: default; transition: background .25s; }
.lyr__no { grid-row: span 2; font: 700 28px/1 var(--f-display); color: var(--ink-3); transition: color .25s; }
.lyr__name { font: 800 26px/.95 var(--f-display); text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.lyr__name .mono { font-family: var(--f-mono); font-weight: 400; text-transform: uppercase; color: var(--ink-3); }
.lyr p { font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 52ch; }
.lyr.is-on .lyr__no, .lyr:hover .lyr__no { color: var(--rust); }
.lyr:focus-visible { outline-offset: -2px; }
.trifles { margin-top: clamp(44px, 6vw, 88px); }
.trifles__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 18px; }
.trifles__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line); }
.trifle { padding: 14px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trifle svg { width: 44px; height: 44px; color: var(--ink); margin-bottom: 14px; }
.trifle h3 { font: 600 16px/1.25 var(--f-body); }
.trifle p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

/* 10. WORKS (horizontal) ---------------------------------------------- */
.works { position: relative; }
.works__sticky { padding-block: var(--sp-section); }
.works__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.works__track::-webkit-scrollbar { display: none; }
.works__intro, .work, .works__end { flex: 0 0 auto; scroll-snap-align: start; }
.works__intro { width: min(86vw, 520px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.works__intro .chap { margin-bottom: 0; }
.works__count { display: flex; align-items: baseline; gap: 10px; }
.works__count .num { font-size: clamp(64px, 8vw, 120px); line-height: .8; color: var(--paper); }
.work { width: min(78vw, 400px); }
.work .frame__img { aspect-ratio: 3 / 4; }
.work figcaption { padding-top: 14px; display: grid; gap: 8px; }
.work__title { font: 800 clamp(28px, 2.4vw, 36px)/.92 var(--f-display); text-transform: uppercase; }
.work__story { font-size: 15px; line-height: 1.5; color: rgba(237, 230, 218, .78); max-width: 42ch; }
.work__spec { display: flex; flex-wrap: wrap; gap: 4px 0; color: rgba(237, 230, 218, .62); }
.work__spec span + span::before { content: "·"; padding: 0 8px; }
.work--sketch .frame__img { background: var(--paper-3); background-image: linear-gradient(rgba(35,35,35,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(35,35,35,.08) 1px, transparent 1px); background-size: 20px 20px; }
.work--sketch svg { position: absolute; inset: 6% 8%; width: 84%; height: 88%; overflow: visible; }
.chalk { fill: none; stroke: #C4513A; stroke-width: 1.2; stroke-dasharray: 4 3; }
.chalk-t { font: 500 9px var(--f-mono); fill: #A4452C; letter-spacing: .03em; }
.works__end { width: min(80vw, 360px); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-bottom: 8px; }
.works__end .h3 { color: var(--paper); }
.works__progress { position: relative; height: 1px; margin: 28px var(--gutter) 0; background: var(--line-dark); max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.works__progress span { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(var(--p, 0)); }
.works.is-pinned .works__sticky { position: sticky; top: 0; height: 100vh; padding-block: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.works.is-pinned .works__track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-top: calc(var(--head-h) + 8px); }
.works.is-pinned .work .frame__img { height: min(56vh, 600px); width: auto; aspect-ratio: 3 / 4; }
.works.is-pinned .work { width: auto; }
.works.is-pinned .work figcaption { width: calc(min(56vh, 600px) * .75); }

/* 11. FIT TABLE (models teaser) --------------------------------------- */
.fit { border-top: 1px solid var(--ink); }
.fit__head { display: none; }
.fit__row { position: relative; display: grid; gap: 10px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.fit__row::before { content: ""; position: absolute; left: -16px; top: 20px; bottom: 22px; width: 3px; background: var(--rust); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.fit__row:hover::before { transform: scaleY(1); }
.fit__life { font: 800 clamp(26px, 2.4vw, 34px)/.95 var(--f-display); text-transform: uppercase; }
.fit__sils { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.fit__sil { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.fit__sil svg { width: 22px; height: 33px; color: var(--ink); }
.fit__cloth { font-size: 14px; color: var(--ink-2); }
.fit__why { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.fit-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }

/* 12. FABRICS teaser -------------------------------------------------- */
.fabrics { display: grid; gap: 28px; }
.fabrics__photo .frame__img { aspect-ratio: 4 / 5; }
.plx { position: absolute; left: 0; right: 0; top: -7%; bottom: -7%; }
.plx img { width: 100%; height: 100%; object-fit: cover; }
.fabrics__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fabrics__pair .frame__img { aspect-ratio: 4 / 3; }
.fabrics__pair .frame__cap { font-size: 11px; }
.families { margin-top: 22px; }
.families .ledger__val { font-size: 20px; }
.fabrics-sec { padding-bottom: 0; }
.marquee { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; --ml-gap: 0px; --ml-speed: 46s; }
.marquee span { display: inline-flex; align-items: baseline; gap: 12px; padding-right: 40px; font: 800 clamp(30px, 3.6vw, 52px)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.marquee span i { font: 400 12px/1 var(--f-mono); font-style: normal; color: var(--ink-3); letter-spacing: .04em; }
.marquee span::after { content: ""; width: 10px; height: 10px; margin-left: 28px; background: var(--rust); transform: rotate(45deg) translateY(-6px); align-self: center; }

/* 13. PRICES + VISITS -------------------------------------------------- */
.prices { display: grid; gap: 44px; }
.visits { position: relative; }
.visit { position: relative; padding: 0 0 24px 34px; }
.visit::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 1px; background: var(--line-2); }
.visit:last-child::before { display: none; }
.visit__dot { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.visit:last-child .visit__dot { background: var(--rust); border-color: var(--rust); }
.visit__when { font: 400 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.visit__when b { font-weight: 500; color: var(--rust); }
.visit h3 { margin-top: 4px; font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.visit p:last-child { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.ready-box { margin-top: 10px; padding: 16px 18px; background: var(--ink); color: var(--paper); }
.ready-box p { font-size: 15px; line-height: 1.5; }
.ready-box b { color: #F0B49E; font-weight: 600; }

/* 14. REVIEWS ---------------------------------------------------------- */
.reviews { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.review { display: flex; flex-direction: column; gap: 18px; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.review blockquote p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }
.review::before { content: "«"; display: block; height: 34px; font: 800 64px/1 var(--f-display); color: var(--rust); }
.review blockquote p::before { content: "«"; } .review blockquote p::after { content: "»"; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review cite { font: 800 22px/1 var(--f-display); font-style: normal; text-transform: uppercase; }
.review .mono { color: var(--ink-3); text-align: right; }

/* 15. CONTACTS, MAP, FORM --------------------------------------------- */
.contacts { display: grid; gap: 28px; }
.map { position: relative; border: 1px solid var(--line-2); background: var(--paper-3); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map__note { position: absolute; right: 10px; bottom: 8px; color: var(--ink-3); font-size: 10px; }
.map .st { fill: none; stroke: #fff; stroke-linecap: round; }
.map .st-edge { fill: none; stroke: var(--stone); stroke-linecap: round; }
.map .blk { fill: var(--paper-2); }
.map .park { fill: #D5D3BE; }
.map .lbl { font: 500 10.5px var(--f-mono); fill: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.map .lbl-main { font: 600 11px var(--f-mono); fill: var(--ink-2); }
.map-tag { transform: translate(22px, -64px); }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.info { display: grid; gap: 22px; align-content: start; }
.info__addr { font: 800 clamp(30px, 3vw, 44px)/.95 var(--f-display); text-transform: uppercase; }
.info__addr small { display: block; margin-top: 10px; font: 400 15px/1.5 var(--f-body); text-transform: none; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start; min-height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; background: var(--paper-3); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.status.is-open::before { background: #4F8A55; box-shadow: 0 0 0 4px rgba(79, 138, 85, .18); }
.status.is-closed::before { background: var(--rust); }
.status small { font-weight: 400; color: var(--ink-3); }
.status { flex-wrap: wrap; white-space: nowrap; row-gap: 2px; padding-block: 6px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " · сегодня"; font: 400 11px var(--f-mono); color: var(--rust); text-transform: uppercase; }
.phone { font: 800 clamp(30px, 3vw, 42px)/1 var(--f-display); text-decoration: none; letter-spacing: .01em; display: inline-block; padding: 4px 0; }
.phone:hover { color: var(--rust); }

.book { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 96px); }
.book__photo .frame__img { aspect-ratio: 4 / 3; }
.form { display: grid; gap: 16px; }
.form__grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .mono { color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--paper-3); border: 1px solid var(--line-2); border-radius: 0; font-size: 16px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.field--calc input, .field--calc textarea { background: transparent; border-style: dashed; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.field--calc textarea { min-height: 0; resize: none; overflow: hidden; }
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--rust); cursor: pointer; }
.form__note { font-size: 13px; color: var(--ink-3); }

/* 16. FOOTER + MOBILE BAR --------------------------------------------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__word { font: 800 clamp(96px, 29vw, 440px)/.76 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: #3A3836; margin: 0 0 clamp(28px, 4vw, 56px) -.03em; white-space: nowrap; user-select: none; }
.foot__grid { display: grid; gap: 28px; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.foot__motto { font: 800 clamp(30px, 3.2vw, 48px)/.95 var(--f-display); text-transform: uppercase; max-width: 14ch; }
.foot h2 { font: 400 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(237, 230, 218, .55); margin-bottom: 12px; }
.foot ul { display: grid; gap: 2px; }
.foot a { text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; }
.foot a:hover { color: #F0B49E; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line-dark); font: 400 11px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(237, 230, 218, .55); }
.foot__bottom a { min-height: 0; text-decoration: underline; text-underline-offset: 3px; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(237, 230, 218, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; padding: 0 10px; }
/* keep the footer's last line clear of the fixed bar */
@media (max-width: 767px) { body:has(.mbar) .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
body.has-mbar { padding-bottom: 0; }

/* 17. DOC PAGES (privacy, consent) ------------------------------------ */
.doc { max-width: 760px; padding-block: clamp(48px, 7vw, 96px); }
.doc .eyebrow { margin-bottom: 16px; }
.doc h1 { font: 800 clamp(44px, 6vw, 80px)/.9 var(--f-display); text-transform: uppercase; margin-bottom: 24px; }
.doc h2 { font: 800 26px/1 var(--f-display); text-transform: uppercase; margin: 36px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.doc li + li { margin-top: 6px; }
.doc__demo { padding: 14px 16px; border: 1px dashed var(--line-2); background: var(--paper-3); font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }

/* 18. MOTION ----------------------------------------------------------- */
.js .hero__title .ln > span { animation: rise 1.05s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { transform: translate3d(0, 104%, 0); } to { transform: none; } }
.js .hero__meta, .js .hero__aside { animation: fade-in .9s var(--ease) .5s both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rail.can-draw .sil .coat-ln { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .pin-pulse { display: none; }
}

/* 19. BREAKPOINTS ------------------------------------------------------ */
@media (min-width: 560px) {
  .pk-cloths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trifles__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__grid .field--full { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  :root { --gutter: 28px; --gap: 20px; --head-h: 66px; }
  .chap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .chap__no { grid-column: 1 / span 3; }
  .chap__title { grid-column: 4 / span 9; }
  .chap__aside { grid-column: 4 / span 6; }
  .rail__item { width: 300px; }
  .rail__item--cover { width: 380px; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 0; }
  .review { border-top: 1px solid var(--ink); border-bottom: 0; padding-right: 8px; }
  .fit__head { display: grid; grid-template-columns: 4fr 3fr 5fr; gap: var(--gap); padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
  .fit__row { grid-template-columns: 4fr 3fr 5fr; gap: var(--gap); align-items: start; }
  .fit__mid { display: grid; gap: 8px; }
  .trifles__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .mbar { display: none; }
  .work { width: 380px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --gap: 24px; }
  .head__meta { display: block; }
  .nav { display: flex; }
  .head__cta { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none !important; }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .hero__title { grid-column: 1 / span 9; }
  .hero__aside { grid-column: 10 / span 3; padding-bottom: 6px; }
  .picker { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .picker__controls { grid-column: 1 / span 6; }
  .picker__stage { grid-column: 7 / span 6; position: sticky; top: calc(var(--head-h) + 16px); }
  .stage { aspect-ratio: 16 / 13; min-height: 0; }
  .layers { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .layers__art { grid-column: 1 / span 6; }
  .layers__list { grid-column: 8 / span 5; }
  .fabrics { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .fabrics__photo { grid-column: 1 / span 6; }
  .fabrics__text { grid-column: 8 / span 5; }
  .prices { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .prices__list { grid-column: 1 / span 7; }
  .prices__visits { grid-column: 9 / span 4; }
  .contacts { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .contacts .map { grid-column: 1 / span 7; }
  .contacts .info { grid-column: 9 / span 4; }
  .book { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .book__photo { grid-column: 1 / span 5; }
  .book__form { grid-column: 7 / span 6; }
  .works__intro { width: 34vw; max-width: 500px; }
  .works__track { gap: 32px; }
}
@media (min-width: 1280px) {
  .rail__item { width: 316px; }
  .rail__item--cover { width: 400px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .hero__title { font-size: min(var(--fs-mega), 15vh); }
  .rail__item--cover { width: 340px; }
  .sil__art { width: 56%; }
}
@media (max-width: 559px) {
  .stage { aspect-ratio: 4 / 5; }
  .stage__coat { width: 60%; }
  .thermo { width: 30%; right: 5%; }
  .thermo__ref { font-size: 0; right: 52px; max-width: none; white-space: nowrap; overflow-wrap: normal; }
  .thermo__ref b { font-size: 13px; }
  .thermo__ticks span { font-size: 0; gap: 0; }
  .thermo__ticks span::after { width: 8px; }
  /* cloths as a sideways strip, so the result sits right under the choice */
  .pk-cloths { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pk-cloths::-webkit-scrollbar { display: none; }
  .pk-cloth { flex: 0 0 42%; scroll-snap-align: start; }
  .pk-cloths[data-frost] .pk-cloth.is-out { display: none; }
  .pk-cloth:has(input:focus-visible) { outline-offset: 2px; }
  /* map: bigger street names, address tag above the pin, note under the map */
  .map .lbl { font-size: 17px; }
  .map .lbl-main { font-size: 18px; }
  .map-tag { transform: translate(-120px, -124px) scale(1.6); }
  .map .lbl-kr { transform: translate(146px, 218px) rotate(87deg); }
  .map .lbl-km { transform: translate(546px, 248px) rotate(88deg); }
  .map__note { position: static; display: block; padding: 8px 10px; border-top: 1px solid var(--line); }
}
@media (max-width: 1023px) {
  .works__intro { justify-content: flex-start; }
  .foot a { min-height: 44px; }
  .phone { padding: 8px 0; }
  .brand { min-height: 44px; }
}
@media (hover: none) {
  .pk-cloth:hover .swatch { transform: none; }
}
.book__lead { margin: 10px 0 22px; max-width: 52ch; }
.reviews-sec { padding-top: 0; }

/* =====================================================================
   20. INNER PAGES — models.html, fabrics.html, prices.html
   Same tokens and hairline grammar as the home page. Prefixes:
   .phero page head · .sub sticky index · .msheet model sheet · .hs hotspots ·
   .cmp comparison table · .cw cloth wall · .wscale weight ruler · .pr prices ·
   .dl deadline planner · .season month strip · .faq
   ===================================================================== */

/* 20.1 page head ------------------------------------------------------ */
.phero { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 72px); }
.crumbs { display: flex; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--rust); }
.crumbs span[aria-hidden] { color: var(--stone); }
.phero__grid { display: grid; gap: 22px; padding-top: clamp(22px, 3vw, 40px); }
.phero .hero__title { font-size: var(--fs-h1); }
.phero__aside { display: grid; gap: 18px; align-content: end; }
.phero__aside .lead { max-width: 44ch; }
.phero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: clamp(28px, 4vw, 56px); }
.phero__facts div { padding: 12px 12px 0 0; }
.phero__facts div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.phero__facts b { display: block; font: 700 clamp(34px, 4.4vw, 64px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.phero__facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }

/* 20.2 sticky silhouette index (models) ------------------------------- */
.sub { position: sticky; top: 0; z-index: 30; background: rgba(237, 230, 218, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
.head:not(.is-hidden) ~ main .sub { top: var(--head-h); }
.sub__list { display: flex; overflow-x: auto; scrollbar-width: none; }
.sub__list::-webkit-scrollbar { display: none; }
.sub__list li { flex: 1 0 auto; }
.sub__list li + li { border-left: 1px solid var(--line); }
.sub a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 14px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.sub a svg { width: 18px; height: 27px; color: var(--stone); transition: color .25s; flex: none; }
.sub a b { font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.sub a small { font: 400 11px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; }
.sub a:hover { background: var(--paper-3); }
.sub a:hover svg, .sub a[aria-current="true"] svg { color: var(--ink); }
.sub a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rust); }
.sub__txt { display: grid; gap: 3px; }

/* 20.3 model sheet ---------------------------------------------------- */
.msheet { padding-block: clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.msheet:nth-of-type(even) { background: var(--paper-2); }
.msheet__grid { display: grid; gap: 28px; }
.msheet__head { display: flex; align-items: flex-end; gap: 14px 22px; flex-wrap: wrap; border-top: 1px solid var(--ink); padding-top: 12px; }
.msheet__no { font: 700 clamp(64px, 9vw, 140px)/.78 var(--f-display); color: var(--rust); font-variant-numeric: tabular-nums; }
.msheet__name { font: 800 clamp(52px, 7vw, 108px)/.82 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.msheet__tag { flex-basis: 100%; color: var(--ink-3); }
.msheet__intro { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch; margin-top: 18px; }

.board { position: relative; aspect-ratio: 4 / 5; background-color: var(--paper-3); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; border: 1px solid var(--line-2); overflow: hidden; }
.board__label { position: absolute; left: 12px; top: 10px; color: var(--ink-3); z-index: 2; }
.board__scale { position: absolute; right: 12px; top: 10px; color: var(--ink-3); z-index: 2; }
.board__coat { position: absolute; left: 50%; top: 8%; bottom: 6%; aspect-ratio: 2 / 3; transform: translateX(-50%); max-width: 92%; }
.board__coat svg { width: 100%; height: 100%; overflow: visible; }
.board__coat .ms-base { transition: fill .6s var(--ease); }
.board__coat .ms-noise { mix-blend-mode: multiply; }
.board__foot { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); z-index: 2; }

/* hotspots: numbered pins over the drawing, list beside it */
.hs { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper-3); font: 500 11px/1 var(--f-mono); color: var(--ink); transition: background .2s, color .2s, transform .3s var(--ease); }
.hs::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.hs::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--rust); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.hs:hover, .hs.is-on { background: var(--rust); border-color: var(--rust); color: #fff; transform: scale(1.08); }
.hs.is-on::after { opacity: 1; transform: none; }
.ms-details { border-top: 1px solid var(--ink); counter-reset: d; }
.ms-details li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); transition: background .25s; cursor: default; }
.ms-details li::before { counter-increment: d; content: counter(d, decimal-leading-zero); grid-row: span 2; font: 500 12px/1.6 var(--f-mono); color: var(--ink-3); }
.ms-details b { font-weight: 600; font-size: 15.5px; }
.ms-details p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ms-details li.is-on::before { color: var(--rust); }
.ms-details li.is-on b { color: var(--rust); }

.ms-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 22px; }
.ms-spec div { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.ms-spec div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.ms-spec dt { font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ms-spec dd { margin-top: 3px; font-size: 14.5px; font-weight: 500; line-height: 1.35; }

.ms-cloths { margin-top: 22px; }
.ms-cloths > p { color: var(--ink-3); margin-bottom: 10px; }
.ms-cloths__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ms-cl { position: relative; display: grid; gap: 6px; padding: 0 0 8px; background: none; border: 0; text-align: left; cursor: pointer; min-height: 44px; }
.ms-cl .swatch { aspect-ratio: 3 / 2; transition: transform .3s var(--ease); }
.ms-cl:hover .swatch { transform: translateY(-2px); }
.ms-cl span:last-child { font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.ms-cl span b { display: block; font: 500 11px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; }
.ms-cl[aria-pressed="true"] .swatch { outline: 2px solid var(--ink); outline-offset: 3px; }
.ms-cl[aria-pressed="true"] span b { color: var(--rust); }
.ms-cl:focus-visible { outline: none; }
.ms-cl:focus-visible .swatch { outline: 2px solid var(--rust); outline-offset: 3px; }

.ms-price { margin-top: 22px; padding: 16px 18px; background: var(--paper-3); border: 1px solid var(--line-2); display: grid; gap: 6px; }
.msheet:nth-of-type(even) .ms-price { background: var(--paper); }
.ms-price__from { font: 800 clamp(34px, 3.4vw, 48px)/1 var(--f-display); letter-spacing: .01em; }
.ms-price__line { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.ms-price__line b { color: var(--ink); font-weight: 600; }
.ms-actions { margin-top: 14px; }

/* 20.4 comparison table ---------------------------------------------- */
.scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.scroller:focus-visible { outline-offset: -2px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.cmp caption { text-align: left; }
.cmp th, .cmp td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.cmp thead th { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); vertical-align: bottom; padding-top: 14px; }
.cmp thead th svg { width: 22px; height: 33px; margin-bottom: 8px; color: var(--ink); }
.cmp thead th b { font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.cmp tbody th { font: 400 11px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); width: 17%; }
.cmp tr:hover td { background: rgba(246, 242, 234, .6); }
.cmp .yes { color: var(--ink); font-weight: 600; }
.cmp .no { color: var(--ink-3); }
.cmp .num { font-size: 22px; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 8px; }
.dots i { width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; }
.dots[data-v="1"] i:nth-child(-n+1), .dots[data-v="2"] i:nth-child(-n+2), .dots[data-v="3"] i:nth-child(-n+3) { background: var(--ink); }

/* 20.5 fit checkpoints (models) -------------------------------------- */
.fitck { display: grid; gap: 28px; }
.fitck__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fitck__photos .frame:first-child { grid-row: span 2; }
.fitck__photos .frame:first-child .frame__img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.fitck__photos .frame:first-child .frame__img img { position: absolute; inset: 0; }
.fitck__photos .frame__img { aspect-ratio: 4 / 3; }
.fitck__photos .frame:nth-child(3) .frame__img { aspect-ratio: 3 / 4; }
.fitck__photos .frame__cap { font-size: 11px; }
.checks { border-top: 1px solid var(--ink); }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.checks li > span { grid-row: span 2; font: 700 28px/1 var(--f-display); color: var(--rust); }
.checks h3 { font: 600 17px/1.3 var(--f-body); }
.checks p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--ink); }
.dg { padding: 16px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.dg svg { width: 44px; height: 44px; margin-bottom: 8px; }
.dg h3 { font: 600 16px/1.25 var(--f-body); }
.dg p { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.dg .mono { color: var(--rust); }

/* dark call band */
.band { padding-block: clamp(56px, 8vw, 112px); }
.band__grid { display: grid; gap: 24px; border-top: 1px solid var(--paper); padding-top: 14px; }
.band__grid .h2 { max-width: 16ch; }
.band .chap__no b { color: #E08A6E; }
.band .msgr { max-width: 520px; }
.band .msgr .btn--line { border-color: rgba(237, 230, 218, .55); color: var(--paper); }
.band .msgr .btn--line:hover { background: var(--paper); color: var(--ink); }
.band .msgr .btn--ink { background: var(--paper); color: var(--ink); }
.band .msgr .btn--ink:hover { background: var(--rust); color: #fff; }

/* 20.6 cloth wall (fabrics) ------------------------------------------ */
.phero__photo .frame__img { aspect-ratio: 16 / 9; }
.cw-sec { padding-top: 0; }
.cw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.cw-bar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cw-bar__group > .mono { margin-right: 4px; color: var(--ink-3); }
.cw-bar__count { margin-left: auto; color: var(--ink-3); }
.cw-bar select { min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line-2); background: transparent; border-radius: 0; -webkit-appearance: none; appearance: none; font-size: 14px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.cw-bar select:hover { border-color: var(--ink); }
.cw { display: grid; gap: 28px; }
.cw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
.cw-sw { position: relative; display: grid; gap: 6px; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; transition: opacity .35s, filter .35s; }
.cw-sw .swatch { aspect-ratio: 1 / 1; transition: transform .35s var(--ease); }
.cw-sw:hover .swatch { transform: translateY(-3px); }
.cw-sw__code { display: flex; justify-content: space-between; gap: 6px; color: var(--ink-3); }
.cw-sw__name { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.cw-sw__gm { font-size: 12.5px; color: var(--ink-3); }
.cw-sw[aria-pressed="true"] .swatch { outline: 2px solid var(--ink); outline-offset: 3px; }
.cw-sw[aria-pressed="true"] .cw-sw__code b { color: var(--rust); }
.cw-sw:focus-visible { outline: none; }
.cw-sw:focus-visible .swatch { outline: 2px solid var(--rust); outline-offset: 3px; }
.cw-sw.is-out { opacity: .26; filter: saturate(.3); }
.cw-sw.is-hidden { display: none; }
.cw-sw .in-env { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; display: none; place-items: center; background: var(--paper-3); border: 1px solid var(--ink); font: 500 12px/1 var(--f-mono); }
.cw-sw.is-env .in-env { display: grid; }

.cw-panel { display: grid; gap: 16px; align-content: start; scroll-margin-top: 90px; }
.cw-back { display: none; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0 14px 0 10px; border: 1px solid var(--line-2); background: transparent; font: 500 14px/1 var(--f-body); }
.cw-back svg { width: 18px; height: 18px; }
.cw-back:hover { border-color: var(--ink); }
@media (max-width: 1023px) { .cw-back { display: inline-flex; } }
@media (max-width: 559px) { .cw-sw .swatch { aspect-ratio: 4 / 3; } }
.cw-panel__sw { aspect-ratio: 16 / 9; }
.cw-panel__top { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); }
.cw-panel__name { font: 800 clamp(34px, 3.4vw, 50px)/.9 var(--f-display); text-transform: uppercase; }
.cw-panel__note { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.cw-panel .warmth { max-width: 180px; }
.cw-panel .warmth i { height: 6px; }
.cw-panel .warmth-l { max-width: 180px; }
.cw-sils { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.cw-sil { position: relative; display: grid; justify-items: center; gap: 4px; min-height: 64px; padding: 8px 2px; background: none; border: 0; cursor: pointer; font-size: 12px; line-height: 1.2; transition: background .2s; }
.cw-sil + .cw-sil { border-left: 1px solid var(--line); }
.cw-sil, .pk-sil span { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; min-width: 0; max-width: 100%; }
.cw-sil svg { width: 20px; height: 30px; color: var(--stone); transition: color .2s; }
.cw-sil:hover svg { color: var(--ink-3); }
.cw-sil[aria-pressed="true"] { background: var(--paper-3); }
.cw-sil[aria-pressed="true"] svg { color: var(--ink); }
.cw-sil[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rust); }
.cw-sil:focus-visible { outline-offset: -2px; }
.cw-sil .rec { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.cw-panel .tag-label { margin-top: 0; }

.envelope { padding: 16px 18px 18px; border: 1px dashed var(--line-2); background: var(--paper-2); display: grid; gap: 12px; }
.envelope__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.envelope__head h3 { font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.envelope__list { display: flex; flex-wrap: wrap; gap: 6px; }
.envelope__list:empty { display: none; }
.env-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 6px 0 4px; border: 1px solid var(--line-2); background: var(--paper-3); font: 500 12px/1 var(--f-mono); }
.env-chip i { width: 26px; height: 26px; display: block; background: var(--c); border: 1px solid rgba(0,0,0,.08); }
.env-chip button { width: 28px; height: 28px; border: 0; background: none; font-size: 16px; line-height: 1; color: var(--ink-3); }
.env-chip button:hover { color: var(--rust); }
.envelope__empty { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* weight ruler: all cloths on one scale */
.wscale { position: relative; margin-top: 8px; padding: 70px 0 0; }
.wscale__track { position: relative; height: 54px; border-top: 1px solid var(--ink); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 55)); background-size: 100% 10px; background-repeat: no-repeat; }
.wscale__ticks { position: relative; height: 22px; }
.wscale__ticks span { position: absolute; top: 14px; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.wscale__ticks span::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 10px; background: var(--ink); }
.wscale__zones { display: grid; grid-template-columns: 25.45fr 32.73fr 41.82fr; margin-top: 18px; border-top: 1px solid var(--line); }
.wscale__zones p { padding: 10px 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.wscale__zones p + p { padding-left: 10px; border-left: 1px solid var(--line); }
.wscale__zones b { display: block; font: 700 18px/1 var(--f-display); color: var(--sky-2); letter-spacing: .02em; margin-bottom: 4px; }
.wdot { position: absolute; bottom: calc(100% + 2px); left: var(--x); transform: translateX(-50%); width: 18px; height: calc(18px + var(--row, 0) * 20px); padding: 0; border: 0; background: none; cursor: pointer; }
.wdot::before { content: ""; position: absolute; left: 50%; bottom: 0; top: 16px; width: 1px; background: var(--line-2); }
.wdot i { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid rgba(35,35,35,.35); transition: transform .25s var(--ease), box-shadow .25s; }
.wdot::after { content: ""; position: absolute; inset: -10px -6px; }
.wdot:hover i, .wdot.is-on i { transform: scale(1.3); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--rust); }
.wdot__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 4px 7px; background: var(--ink); color: var(--paper); font: 400 11px/1.2 var(--f-mono); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 2; }
.wdot:hover .wdot__tip, .wdot:focus-visible .wdot__tip { opacity: 1; }
/* keep edge tooltips inside the viewport */
.wscale__track .wdot:nth-child(-n+2) .wdot__tip { left: -4px; transform: none; }
.wscale__track .wdot:nth-last-child(-n+3) .wdot__tip { left: auto; right: -4px; transform: none; }

/* label anatomy */
.anat { display: grid; gap: 28px; align-items: start; }
.anat__label { position: relative; max-width: 460px; }
.anat__label .tag-label { margin-top: 0; }
.anat__pin { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--rust); color: #fff; font: 500 10.5px/1 var(--f-mono); vertical-align: 1px; }
.anat__list li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.anat__list { border-top: 1px solid var(--ink); }
.anat__list li > span { grid-row: span 2; }
.anat__list b { font-weight: 600; font-size: 16px; }
.anat__list p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

.lining { display: grid; gap: 28px; }
.lining__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lining__photos .frame:first-child { grid-column: 1 / -1; }
.lining__photos .frame__img { aspect-ratio: 4 / 3; }
.lining__photos .frame:first-child .frame__img { aspect-ratio: 16 / 10; }
.lining__photos .frame__cap { font-size: 11px; }

.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.care li { padding: 16px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.care li > span { display: block; font: 700 30px/1 var(--f-display); color: var(--rust); margin-bottom: 10px; }
.care h3 { font: 600 16px/1.3 var(--f-body); }
.care p { margin-top: 6px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* 20.7 prices ---------------------------------------------------------- */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--ink); max-width: 100%; }
.seg__short { display: none; }
@media (max-width: 559px) { .seg { display: grid; width: 100%; } .seg__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .seg__short { display: inline; } .seg button { position: relative; padding: 6px 8px; } }
.seg button { min-height: 48px; padding: 6px 14px; border: 0; background: none; font: 600 14px/1.15 var(--f-body); transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:hover:not([aria-pressed="true"]) { background: var(--paper-3); }
.seg button:focus-visible { outline-offset: -4px; }
.pr-mode-note { margin-top: 12px; max-width: 64ch; }

.ptable { border-top: 1px solid var(--ink); margin-top: 22px; }
.ptable__head { display: none; }
.prow { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 14px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); align-items: start; }
.prow svg { grid-row: span 2; width: 26px; height: 39px; color: var(--ink); }
.prow__name { font: 800 clamp(26px, 2.4vw, 34px)/.95 var(--f-display); text-transform: uppercase; }
.prow__note { grid-column: 2 / -1; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.prow__val { text-align: right; white-space: nowrap; font: 700 clamp(24px, 2.2vw, 32px)/1 var(--f-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.prow__val small { display: block; margin-top: 6px; font: 400 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.prow__val [data-pv] { transition: opacity .25s; }
.ptable.is-swap [data-pv], .ptable.is-swap [data-pt] { opacity: .2; }

.incl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.incl li::before { content: ""; width: 14px; height: 8px; margin-top: 5px; border-left: 1.5px solid var(--rust); border-bottom: 1.5px solid var(--rust); transform: rotate(-45deg); }
.incl li.is-off { color: var(--ink-3); }
.incl li.is-off::before { width: 12px; height: 0; margin-top: 10px; border-left: 0; border-bottom-color: var(--ink-3); transform: none; }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.group { padding: 14px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.group__sw { display: flex; gap: 4px; }
.group__sw .swatch { flex: 1; height: 44px; }
.group h3 { font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.group__add { font: 700 22px/1 var(--f-display); color: var(--rust); }
.group p { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }

.pr-cols { display: grid; gap: 44px; }
.pr-cols .ledger__val { font-size: clamp(20px, 1.8vw, 25px); }

/* deadline planner */
.dl { display: grid; gap: 28px; background: var(--paper-3); border: 1px solid var(--line-2); padding: clamp(18px, 3vw, 36px); }
.dl__form { display: grid; gap: 16px; align-content: start; }
.dl__form .field input, .dl__form .field select { background: var(--paper); }
.dl__send .msgr { margin-top: 8px; }
.dl__warm { display: flex; flex-wrap: wrap; gap: 6px; }
.dl__warm label { position: relative; }
.dl__warm input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dl__warm span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--sky-2); transition: background .2s, color .2s, border-color .2s; }
.dl__warm label:hover span { border-color: var(--ink); }
.dl__warm input:checked + span { background: var(--ink); color: var(--sky); border-color: var(--ink); }
.dl__warm input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.dl__verdict { padding: 14px 16px; border-left: 3px solid var(--ink-3); background: var(--paper); font-size: 16px; line-height: 1.5; }
.dl__verdict b { font-weight: 600; }
.dl__verdict.is-ok { border-left-color: #4F8A55; }
.dl__verdict.is-tight { border-left-color: #C0892F; }
.dl__verdict.is-late { border-left-color: var(--rust); }
.dl__verdict strong { display: block; font: 800 26px/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.dl__line { position: relative; margin-top: 18px; display: grid; gap: 0; }
.dl__step { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.dl__step time { font: 700 22px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.dl__step time small { display: block; margin-top: 4px; font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.dl__step b { font-weight: 600; display: block; }
.dl__step span { font-size: 13.5px; color: var(--ink-3); }
.dl__step:last-child time { color: var(--rust); }
.dl__step.is-event { background: var(--ink); color: var(--paper); padding-inline: 12px; border-bottom: 0; }
.dl__step.is-event span, .dl__step.is-event time small { color: rgba(237, 230, 218, .7); }
.dl__step.is-event time { color: #F0B49E; }

/* season strip */
.season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.season li { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 150px; padding: 8px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.season li > span { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.season li i { align-self: end; display: block; height: calc(var(--l) * 30%); min-height: 6px; background: var(--sky); transition: height .6s var(--ease); }
.season li[data-l="3"] i { background: var(--rust); }
.season li[data-l="2"] i { background: #C9A48C; }
.season li small { margin-top: 6px; font-size: 11px; line-height: 1.25; color: var(--ink-2); }
.season li.is-now { background: var(--paper-3); }
.season li.is-now > span { color: var(--rust); font-weight: 600; }
.season li.is-now::after { content: "сейчас"; position: absolute; top: -22px; left: 6px; font: 500 10.5px/1 var(--f-mono); color: var(--rust); text-transform: uppercase; letter-spacing: .04em; }
.season-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.season-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; background: var(--c); }

.terms { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.term { padding: 18px 0 20px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.term h3 { font: 800 28px/1 var(--f-display); text-transform: uppercase; }
.term p, .term li { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.term ul { display: grid; gap: 4px; }
.term li { padding-left: 16px; position: relative; }
.term li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--rust); }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rust); }
.faq details p { padding: 0 0 18px; max-width: 70ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.smeta { display: grid; gap: 28px; }
.smeta__photo .frame__img { aspect-ratio: 4 / 3; }

/* 20.8 inner breakpoints ------------------------------------------------ */
@media (min-width: 560px) {
  .cw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .care { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .phero__facts div { padding-right: 20px; }
  .phero__facts div + div { padding-left: 20px; }
  .ms-spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-spec div:nth-child(even) { padding-left: 0; border-left: 0; }
  .ms-spec div:not(:nth-child(3n+1)) { padding-left: 12px; border-left: 1px solid var(--line); }
  .cw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ptable__head { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
  .ptable__head span:last-child { text-align: right; }
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 0; }
  .term { border-top: 1px solid var(--ink); border-bottom: 0; }
  .dl__step { grid-template-columns: 120px 1fr; }
}
@media (min-width: 1024px) {
  .phero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .phero__grid .hero__title { grid-column: 1 / span 8; }
  .phero__aside { grid-column: 9 / span 4; padding-bottom: 6px; }
  .msheet__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .msheet__head { grid-column: 1 / -1; margin-bottom: 18px; }
  .msheet__art { grid-column: 1 / span 6; position: sticky; top: calc(var(--head-h) + 76px); }
  .board { max-height: calc(100vh - var(--head-h) - 100px); min-height: 520px; margin-inline: auto; }
  .msheet__info { grid-column: 8 / span 5; }
  .msheet--flip .msheet__art { grid-column: 7 / span 6; grid-row: 2; }
  .msheet--flip .msheet__info { grid-column: 1 / span 5; grid-row: 2; }
  .fitck { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .fitck__photos { grid-column: 1 / span 6; }
  .fitck__list { grid-column: 8 / span 5; }
  .details-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .band__grid > header { grid-column: 1 / span 7; }
  .band__grid > div { grid-column: 8 / span 5; display: grid; gap: 16px; }
  .cw { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .cw-wall { grid-column: 1 / span 7; }
  .cw-side { grid-column: 8 / span 5; position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; }
  .cw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .anat { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .anat__label { grid-column: 1 / span 5; position: sticky; top: calc(var(--head-h) + 24px); }
  .anat__list { grid-column: 7 / span 6; }
  .lining { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .lining__photos { grid-column: 1 / span 7; }
  .lining__text { grid-column: 9 / span 4; }
  .pr-cols { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .pr-cols > :first-child { grid-column: 1 / span 7; }
  .pr-cols > :last-child { grid-column: 9 / span 4; }
  .dl { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .dl__form { grid-column: 1 / span 5; }
  .dl__out { grid-column: 7 / span 6; }
  .smeta { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .smeta__photo { grid-column: 1 / span 5; }
  .smeta__form { grid-column: 7 / span 6; }
}
@media (max-width: 767px) {
  .season { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .season li { min-height: 120px; }
  .season li.is-now::after { display: none; }
  .wscale__zones p { font-size: 12px; }
  .wscale__ticks span:nth-child(even) { display: none; }
  .sub a { padding: 6px 12px; }
  .sub a small { display: none; }
}
@media (max-width: 559px) {
  .phero__facts span { font-size: 12px; }
  .msheet__no { font-size: 56px; }
  .dl__step { grid-template-columns: 84px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hs::after { transition: none; }
}

/* 20.9 selection marks: swatches are masked (pinked edge), so outlines are clipped — mark with a rust bar instead */
.cw-sw::before, .ms-cl::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 3px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cw-sw[aria-pressed="true"]::before, .ms-cl[aria-pressed="true"]::before { transform: scaleX(1); }
.cw-sw:focus-visible, .ms-cl:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
@media (min-width: 1024px) {
  .cw-side { max-height: calc(100vh - var(--head-h) - 32px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
  .cw-panel__sw { aspect-ratio: 16 / 6; }
}
.doc h1 { font-size: clamp(34px, 10vw, 80px); overflow-wrap: break-word; hyphens: auto; }
.phero__photo .plx { top: -20%; bottom: -20%; }

.tx-hound { --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 0h2l2 2v2H2L0 2zM4 4h2l2 2v2H6L4 6zM4 0h1L4 1zM0 4h1L0 5z' fill='%23000' fill-opacity='.32'/%3E%3C/svg%3E"); }
.tx-check { --weave: repeating-linear-gradient(0deg, rgba(255,255,255,.28) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 22px); }
