/* 1Loom homepage: "warp and weft".
   The scrollcraft engine drives scroll state (assets/vendor/scrollcraft); everything here is page-local.
   Colours come from site.css tokens, so both themes work without redefinition. */

:root {
  --sc-canvas: var(--ground);
  --sc-surface: var(--surface);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--muted);
  --sc-accent: var(--accent-text);
  --sc-accent-ink: var(--ground);
  --sc-font-display: var(--display);
  --sc-font-text: var(--body);
  --codeatlas: #3159bd;
  --onechat-ground: #160b4a;
  --onechat-glow: #b9a8ff;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
:root[data-theme="dark"] { --codeatlas: #a9bfff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --codeatlas: #a9bfff; } }

.home .button { transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease); }
.home .button:active { transform: translateY(1px); }

/* ---- The loom (hero) -------------------------------------------------- */
.loom-stage { display: flex; align-items: center; padding-block: 24px 80px; }
.loom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.loom-copy h1 { font-size: clamp(48px, 6.4vw, 84px); line-height: 1; letter-spacing: -.04em; }
.loom-copy .lead { margin-top: 28px; max-width: 30em; }
.loom-copy .actions { margin-top: 36px; }

.loom-scene { position: relative; justify-self: center; width: min(100%, calc(72svh * 100 / 105)); aspect-ratio: 100 / 105; }
.loom-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-text) 16%, transparent), transparent); }
.loom-warp { position: absolute; inset: -8% 0; width: 100%; height: 116%; max-width: none; overflow: visible; }
.loom-warp line { stroke: var(--accent-text); stroke-opacity: .28; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.loom-plane { position: absolute; }
.loom-plane img { width: 100%; height: auto; max-width: none; border-radius: clamp(12px, 2.2vw, 24px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plane-back { left: 1%; top: 8%; width: 37%; }
.plane-back img { rotate: -6deg; scale: .95; filter: saturate(.85); }
.plane-focal { left: 30%; top: 2%; width: 40%; }
.plane-near { left: 60%; top: 20%; width: 36%; }
.plane-weft { inset: 0; pointer-events: none; }
.plane-weft svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
/* The second copy of the thread is clipped to the near phone, so the weft reads over, under, over. */
.plane-weft-over { clip-path: inset(20% 4% 3.6% 60% round clamp(12px, 2.2vw, 24px)); }
/* The thread is whole at every scroll position. Scroll pulls it through the phones by exactly one
   wave period and draws it taut, so it moves only under the visitor's hand and never shows a loose end.
   Both copies share the transform, so the clipped "over" segment stays in step with the one beneath. */
.plane-weft svg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.weft {
  fill: none; stroke: var(--accent-text); stroke-width: .7; stroke-linecap: round;
  transform-box: view-box; transform-origin: 0 62px;
  transform: translateX(calc(var(--weft, 0) * -40px)) scaleY(calc(1 - .6 * var(--weft, 0)));
  filter: drop-shadow(0 .4px .5px rgba(25, 23, 18, .35));
}

/* ---- Tally (the silence before the peak) ------------------------------ */
.tally { padding-block: 40px 104px; }
.tally p { font: 600 clamp(28px, 3.4vw, 44px)/1.15 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.tally span { color: var(--muted); }

/* ---- 1Chat (the peak) ------------------------------------------------- */
.peak { background: var(--onechat-ground); color: #fff; }
.peak-stage { display: flex; align-items: center; }
.peak-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.peak-id { display: flex; align-items: center; gap: 14px; }
.peak-id .app-tile { width: 56px; height: 56px; border-radius: 15px; }
.peak-id .status { background: rgba(255, 255, 255, .12); color: #fff; }
.peak h2 { margin-top: 28px; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -.04em; }
.peak-a, .peak-b { display: block; }
.peak-b { font-style: italic; color: var(--onechat-glow); margin-top: .12em; }
.peak-more p { margin-top: 28px; max-width: 30em; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.peak .actions { margin-top: 28px; }
.peak .button { background: #fff; color: var(--onechat-ground); }
.peak .button:hover { background: #e9e4ff; }
.peak .button-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.peak .button-line:hover { background: rgba(255, 255, 255, .1); }
.peak :focus-visible { outline-color: #fff; }
.peak-phone { position: relative; justify-self: center; width: min(360px, calc(76svh * 720 / 1280)); aspect-ratio: 720 / 1280; perspective: 1600px; }
/* The card turns over with the scroll: chat on the front, the private promise on the back. Any
   resting angle is a real card at an angle, never two screens blended together. */
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(calc(var(--lift, 0) * -16px)) rotateY(calc(var(--flip, 0) * 180deg)) scale(calc(1 - var(--lift, 0) * .04)); }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; background: var(--onechat-ground); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }
.face-back { transform: rotateY(180deg); }
/* Words light as the visitor scrolls (JS sets each word's opacity). The details and buttons arrive
   once the line is complete, and stay out of the tab order until then. */
.lw { transition: none; }
.peak-lit .peak-more { opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity 420ms var(--ease), transform 520ms var(--ease), visibility 0s linear 420ms; }
.peak-lit.is-lit .peak-more { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }


/* ---- Catalog ---------------------------------------------------------- */
.catalog { padding-top: 120px; }
.catalog-head { margin-bottom: 24px; }
.app-index ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.app-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color 160ms var(--ease); }
.app-index a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--app); }
.app-index a:hover { border-color: var(--app); }
.app-index [data-app="codeatlas"] { --app: var(--codeatlas); }

.pick { padding-block: 72px; scroll-margin-top: 24px; }
.pick-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding-top: 56px; }
/* The pick's weft: solid for live apps, broken for apps still on the loom. */
.pick-grid::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 3px; border-radius: 2px; background: var(--app); }
.pick[data-stage="dev"] .pick-grid::before { background: repeating-linear-gradient(90deg, var(--app) 0 18px, transparent 18px 28px); }
.pick-flip .pick-media { order: -1; }
.pick-name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pick h3 { margin-top: 22px; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.035em; }
.pick-pitch { margin: 16px 0 26px; font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 30em; }
.pick .facts { max-width: 34em; }
.pick .actions { margin-top: 30px; }
.pick-media { margin: 0; }
.pick-media img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* OpenNote, the supporting moment. */
.pick-feature { padding-block: 32px 120px; }
.pick-feature h3 { font-size: clamp(52px, 6.4vw, 88px); }
.ink-title { position: relative; display: inline-block; }
.ink { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .3em; max-width: none; overflow: visible; }
.ink path { fill: none; stroke: var(--app); stroke-width: 5px; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* Played once on entry, never scrubbed, so the page can never rest on a half-drawn line or half-wiped page. */
/* Armed by JS only, so no-JS and reduced motion see the finished page. Resetting happens off screen
   with no transition; only the write-in itself animates. */
.write-armed .ink path { stroke-dashoffset: 1; }
.write-armed [data-write-in] { clip-path: inset(0 100% 0 0); }
.write-armed.is-inked .ink path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) 450ms; }
.write-armed.is-written [data-write-in] { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease) 150ms; }
.pages { position: relative; height: clamp(460px, 52vw, 680px); }
.page { position: absolute; margin: 0; }
.page-back { right: 2%; top: 0; width: 44%; }
.page-back img { rotate: 5deg; }
.page-front { left: 6%; top: 8%; width: 50%; }

.phones { position: relative; height: clamp(440px, 46vw, 600px); }
.phones .phone { position: absolute; width: 42%; }
.phone-a { left: 8%; top: 8%; rotate: -4deg; }
.phone-b { left: 46%; top: 0; rotate: 3deg; }

/* A small lift on interaction; screenshots keep their original layout and rotation. */
@media (prefers-reduced-motion: no-preference) {
  #app-connections .phone { transition: translate 280ms var(--ease); }
  #app-connections:focus-within .phone { translate: 0 -6px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #app-connections .phones:hover .phone { translate: 0 -6px; }
}

.dev-head { margin-top: 48px; font-size: 28px; color: var(--muted); letter-spacing: -.02em; }
.pick-wide .pick-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.pick-wide .pick-media img { border-radius: 14px; }
/* Screens settle from a rounded inset to full size as they scroll in (--s goes 0 to 1). */
.pick-media.screen { clip-path: inset(calc((1 - var(--s, 1)) * 7%) calc((1 - var(--s, 1)) * 10%) round calc(14px + (1 - var(--s, 1)) * 18px)); }
.pick-media.screen img { transform: scale(calc(1.12 - .12 * var(--s, 1))); transform-origin: 50% 40%; }

/* Background parallax: a faint loom frame in the left margin, warp threads with app-coloured picks,
   drifting slower than the page. Kept out from behind the copy so it never costs contrast. */
.warp-band { position: fixed; z-index: 0; top: 0; left: max(12px, calc((100vw - var(--max)) / 2 - 64px)); width: 44px; height: calc(100vh + 1320px); pointer-events: none; display: none; opacity: .5;
  background:
    repeating-linear-gradient(90deg, var(--accent-text) 0 2px, transparent 2px 14px) 0 0 / 44px 100%,
    linear-gradient(transparent 120px, var(--opennote) 120px 128px, transparent 128px) 0 0 / 100% 1320px,
    linear-gradient(transparent 340px, var(--connections) 340px 348px, transparent 348px) 0 0 / 100% 1320px,
    linear-gradient(transparent 560px, var(--onechat) 560px 568px, transparent 568px) 0 0 / 100% 1320px,
    linear-gradient(transparent 780px, var(--libraryz) 780px 788px, transparent 788px) 0 0 / 100% 1320px,
    linear-gradient(transparent 1000px, var(--avplayer) 1000px 1008px, transparent 1008px) 0 0 / 100% 1320px,
    linear-gradient(transparent 1220px, var(--codeatlas) 1220px 1228px, transparent 1228px) 0 0 / 100% 1320px;
  background-repeat: no-repeat, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y;
  will-change: transform; }
@media (min-width: 1360px) { .warp-band { display: block; } }
.home, .site-footer, .site-header { position: relative; z-index: 1; }
.pick[data-app="codeatlas"] { --app: var(--codeatlas); --app-ink: var(--codeatlas); }

/* ---- Selvedge (how 1Loom works) --------------------------------------- */
.selvedge { padding-block: 96px 128px; }
.tenets { margin: 48px 0 0; }
.tenets div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding-block: 28px; border-top: 1px solid var(--line); }
.tenets div:last-child { border-bottom: 1px solid var(--line); }
.tenets dt { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -.025em; }
.tenets dd { margin: 0; font-size: 18px; color: var(--muted); max-width: 36em; }

/* ---- The cloth (close) ------------------------------------------------ */
.cloth { background: var(--invert-bg); color: var(--invert-ink); }
.cloth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 120px; }
.cloth-swatch { margin: 0; }
.cloth-swatch svg { width: 100%; max-width: 520px; height: auto; }
.cloth-swatch figcaption { margin-top: 18px; font-size: 15px; color: var(--invert-muted); max-width: 34em; }
.cloth-swatch a { color: var(--invert-ink); font-weight: 600; }
.cloth-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.cloth-legend a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; text-decoration: none; font-weight: 500; }
.cloth-legend a:hover { text-decoration: underline; }
.cloth-legend a::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--legend); }
.cloth-legend [data-app="opennote"] { --legend: var(--opennote); }
.cloth-legend [data-app="connections"] { --legend: var(--connections); }
.cloth-legend [data-app="onechat"] { --legend: var(--onechat); }
.cloth-legend [data-app="libraryz"] { --legend: var(--libraryz); }
.cloth-legend [data-app="avplayer"] { --legend: var(--avplayer); }
.cloth-legend [data-app="codeatlas"] { --legend: #3159bd; }
.cloth-copy img { width: 88px; height: 88px; border-radius: 50%; background: var(--invert-muted); }
.cloth-copy h2 { margin-top: 24px; font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.035em; }
.cloth-copy p { margin-top: 16px; font-size: 18px; color: var(--invert-muted); max-width: 32em; }
.cloth .actions { margin-top: 30px; }
.cloth .button-solid { background: var(--invert-ink); color: var(--invert-bg); }
.cloth .button-solid:hover { background: color-mix(in srgb, var(--invert-ink) 82%, var(--invert-bg)); }
.cloth .button-line { color: var(--invert-ink); border-color: color-mix(in srgb, var(--invert-ink) 45%, transparent); }
.cloth .button-line:hover { border-color: var(--invert-ink); }
.cloth :focus-visible { outline-color: var(--invert-ink); }

/* ---- The cloth weave --------------------------------------------------- */
.w-warp rect, .w-under { fill: var(--weave-warp, var(--accent-text)); }
.w-weft { fill: var(--pick); transform: scaleX(0); transform-origin: left; transform-box: fill-box; transition: transform 700ms var(--ease); }
.w-under { opacity: 0; transition: opacity 260ms var(--ease) 380ms; }
.is-woven .w-weft { transform: none; }
.is-woven .w-under { opacity: 1; }
.cloth-swatch { --weave-warp: var(--invert-accent); }
.cloth-swatch .w-warp rect { opacity: .55; }



/* ---- Phones and tablets ----------------------------------------------- */
@media (max-width: 860px) {
  .loom-stage { padding-block: 40px 56px; }
  .loom-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .loom-copy h1 { font-size: clamp(42px, 12vw, 60px); }
  .loom-scene { width: min(100%, 440px); }
  .tally { padding-block: 24px 72px; }

  .peak-stage { padding-block: 64px; }
  .peak-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .peak-lit .peak-more { opacity: 1; transform: none; visibility: visible; transition: none; }
  .peak h2 { margin-top: 18px; font-size: clamp(32px, 9vw, 44px); }
  .peak-more p { margin-top: 14px; font-size: 16px; }
  .peak .actions { margin-top: 18px; }
  .peak .button { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .face { border-radius: 16px; }
  .peak-phone { justify-self: center; width: min(64vw, 280px); }

  .catalog { padding-top: 80px; }
  .pick, .pick-feature { padding-block: 48px; }
  .pick-grid, .pick-wide .pick-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; }
  .pick-flip .pick-media { order: 0; }
  /* Height follows the column width so the tall screenshots always fit inside. */
  .pages, .phones { height: auto; aspect-ratio: 1 / 1; }
  .tenets div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cloth-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 80px; }
}

/* ---- Very tall viewports: the pinned scenes run in natural flow -------- */
.is-roomy .loom-stage { padding-block: 120px 120px; }
.is-roomy .peak-stage { padding-block: 160px; }

/* ---- Reduced motion: the complete static composition ------------------ */
.is-static .loom-stage { padding-block: 64px 80px; }
.is-static .weft { transform: none; }
.is-static .peak-stage { padding-block: 96px; }
.is-static .face-front { display: none; }
.is-static .flip, .is-static .face-back { position: static; transform: none; }
.is-static .w-weft, .is-static .w-under { transition: none; }

/* The cloth sits on the inverted ground, so it borrows the other theme's app colours to stay vivid. */
.cloth { --opennote: #a9b6ff; --connections: #5cd6cb; --libraryz: #98d1bb; --avplayer: #bba8ff; --onechat: #ff9c6e; --codeatlas: #a9bfff; }
.cloth .cloth-legend [data-app="codeatlas"], .cloth .w-pick { --legend: var(--codeatlas); }
:root[data-theme="dark"] .cloth { --opennote: #3451d1; --connections: #0e7c7b; --libraryz: #2e5e4e; --avplayer: #6d4ae0; --onechat: #c2410c; --codeatlas: #3159bd; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cloth { --opennote: #3451d1; --connections: #0e7c7b; --libraryz: #2e5e4e; --avplayer: #6d4ae0; --onechat: #c2410c; --codeatlas: #3159bd; } }

/* ---- The woven label (QR for the maker's card) ------------------------ */
/* Self-contained: matches only .woven-label and .cloth-art, so it is inert once the label's <a> is
   removed from index.html. The code itself is assets/images/woven-label.svg.
   A cream maker's label pinned to the middle of the finished cloth. It stays cream in both themes
   and its code uses the deep (light-theme) app colours, because dark-on-light is what every scanner
   reads best; the finder squares are ink, like the loom's frame posts. It zooms in once the cloth's last
   band has settled, whole and still, so it can be scanned the moment it lands. */
.cloth-art { position: relative; container-type: inline-size; }
.woven-label {
  /* The woven area is 4:3 and at most 520px wide (see .cloth-swatch svg), so its centre is known. */
  --cloth-w: min(100cqw, 520px);
  position: absolute; left: calc(var(--cloth-w) / 2); top: calc(var(--cloth-w) * .375); z-index: 2;
  display: block; width: clamp(140px, calc(var(--cloth-w) * .38), 188px); padding: 9px 9px 11px;
  border-radius: 5px; background: #f6f4ef; color: #191712; text-decoration: none;
  translate: -50% -50%; rotate: -3deg;
  /* The ink edge ring separates the label from the cloth in the dark theme, where the band is light. */
  box-shadow: 0 0 0 1.5px rgba(25, 23, 18, .55), 0 22px 40px -12px rgba(0, 0, 0, .6);
  transition: rotate 380ms var(--ease), translate 380ms var(--ease), box-shadow 380ms var(--ease); overflow: hidden; }
/* Brass stitching just inside the edge, in the thread colour. */
.woven-label::before { content: ""; position: absolute; inset: 4px; border: 1.5px dashed #a8823f; border-radius: 3px; pointer-events: none; }
/* A sheen that crosses the fabric on hover. */
.woven-label::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); translate: -70% 0; pointer-events: none; }
.woven-label:hover, .woven-label:focus-visible { rotate: 0deg; translate: -50% calc(-50% - 4px); box-shadow: 0 0 0 1.5px rgba(25, 23, 18, .55), 0 30px 50px -14px rgba(0, 0, 0, .65); }
.woven-label:hover::after { translate: 70% 0; transition: translate 900ms var(--ease); }
/* Crisp squares at any size: the code is drawn on an exact module grid. */
.label-code { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.label-text { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 2px; text-align: center; }
.label-text strong { font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.label-text small { font: 500 11px/1.3 var(--body); color: #5d594f; }
.label-text .on-touch { display: none; }
@media (hover: none) { .label-text .on-pointer { display: none; } .label-text .on-touch { display: inline; } }
/* No JS: the cloth is hidden (it is drawn by script), so the label sits in the flow on its own. */
.cloth-art:has(> .cloth-swatch[hidden]) .woven-label { position: static; translate: none; rotate: none; margin-inline: auto; }

/* Armed by JS (never for reduced motion): hidden until the cloth is done, then it zooms in with a
   small overshoot and settles at its tilt. Resetting happens off screen, with no transition. */
@keyframes label-in {
  0% { opacity: 0; scale: .35; rotate: -14deg; }
  60% { opacity: 1; scale: 1.06; rotate: 1deg; }
  100% { opacity: 1; scale: 1; rotate: -3deg; }
}
.label-armed { opacity: 0; visibility: hidden; }
.label-armed.is-woven { opacity: 1; visibility: visible; animation: label-in 620ms cubic-bezier(.2, .8, .3, 1) both; }
.label-armed.is-woven:hover, .label-armed.is-woven:focus-visible { animation: none; }

/* The hero thread and the settling catalogue screenshots reach past their columns on purpose (the
   thread fades out, the screenshots are clipped while they settle), but they still count towards
   the page's width; clip them so the page never scrolls sideways (it did on foldable widths). */
.home { overflow-x: clip; }

/* ---- Foldables and dual screens: keep content off the hinge (see site.css) */
@media (horizontal-viewport-segments: 2) and (max-width: 1200px) {
  .loom-grid, .peak-grid, .pick-grid, .pick-wide .pick-grid, .cloth-grid, .tenets div {
    grid-template-columns: var(--seg-a) var(--seg-b); column-gap: var(--seg-gap);
  }
  .tally p { padding-right: calc(100vw - env(viewport-segment-right 0 0) + 24px); }
  .catalog-head > *, .selvedge .wrap > :not(.tenets) { max-width: var(--seg-a); }
}
